@genesislcap/design-system-configurator 14.120.2 → 14.121.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.
@@ -1,4 +1,4 @@
1
- "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[180],{34180:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>mg,ColorToken:()=>fg,ColorTokens:()=>kg,DesignSystemEditor:()=>tg,DesignSystemExport:()=>pg,DesignSystemPreview:()=>Dg,EventName:()=>Vl,PreviewComponents:()=>dg,PreviewForm:()=>jg,PreviewGrid:()=>Pg,TypographyTokens:()=>Ag,defaultBodyFont:()=>ql,fontFamilies:()=>Wl});var t={};r.r(t),r.d(t,{accentFillActive:()=>c.accentFillActive,accentFillActiveDelta:()=>c.accentFillActiveDelta,accentFillFocus:()=>c.accentFillFocus,accentFillFocusDelta:()=>c.accentFillFocusDelta,accentFillHover:()=>c.accentFillHover,accentFillHoverDelta:()=>c.accentFillHoverDelta,accentFillRest:()=>c.accentFillRest,accentFillRestDelta:()=>c.accentFillRestDelta,accentForegroundActive:()=>c.accentForegroundActive,accentForegroundActiveDelta:()=>c.accentForegroundActiveDelta,accentForegroundFocus:()=>c.accentForegroundFocus,accentForegroundFocusDelta:()=>c.accentForegroundFocusDelta,accentForegroundHover:()=>c.accentForegroundHover,accentForegroundHoverDelta:()=>c.accentForegroundHoverDelta,accentForegroundRest:()=>c.accentForegroundRest,accentForegroundRestDelta:()=>c.accentForegroundRestDelta,accentPalette:()=>c.accentPalette,baseHeightMultiplier:()=>c.baseHeightMultiplier,baseLayerLuminance:()=>c.baseLayerLuminance,bodyFont:()=>c.bodyFont,controlCornerRadius:()=>c.controlCornerRadius,density:()=>c.density,designUnit:()=>c.designUnit,direction:()=>c.direction,disabledOpacity:()=>c.disabledOpacity,fillColor:()=>c.fillColor,focusStrokeInner:()=>c.focusStrokeInner,focusStrokeOuter:()=>c.focusStrokeOuter,focusStrokeWidth:()=>c.focusStrokeWidth,foregroundOnAccentActive:()=>c.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>c.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>c.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>c.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>c.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>c.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>c.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>c.foregroundOnAccentRestLarge,neutralFillActive:()=>c.neutralFillActive,neutralFillActiveDelta:()=>c.neutralFillActiveDelta,neutralFillFocus:()=>c.neutralFillFocus,neutralFillFocusDelta:()=>c.neutralFillFocusDelta,neutralFillHover:()=>c.neutralFillHover,neutralFillHoverDelta:()=>c.neutralFillHoverDelta,neutralFillInputActive:()=>c.neutralFillInputActive,neutralFillInputActiveDelta:()=>c.neutralFillInputActiveDelta,neutralFillInputFocus:()=>c.neutralFillInputFocus,neutralFillInputFocusDelta:()=>c.neutralFillInputFocusDelta,neutralFillInputHover:()=>c.neutralFillInputHover,neutralFillInputHoverDelta:()=>c.neutralFillInputHoverDelta,neutralFillInputRest:()=>c.neutralFillInputRest,neutralFillInputRestDelta:()=>c.neutralFillInputRestDelta,neutralFillLayerRest:()=>c.neutralFillLayerRest,neutralFillLayerRestDelta:()=>c.neutralFillLayerRestDelta,neutralFillRest:()=>c.neutralFillRest,neutralFillRestDelta:()=>c.neutralFillRestDelta,neutralFillStealthActive:()=>c.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>c.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>c.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>c.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>c.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>c.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>c.neutralFillStealthRest,neutralFillStealthRestDelta:()=>c.neutralFillStealthRestDelta,neutralFillStrongActive:()=>c.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>c.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>c.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>c.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>c.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>c.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>c.neutralFillStrongRest,neutralFillStrongRestDelta:()=>c.neutralFillStrongRestDelta,neutralForegroundHint:()=>c.neutralForegroundHint,neutralForegroundRest:()=>c.neutralForegroundRest,neutralLayer1:()=>c.neutralLayer1,neutralLayer2:()=>c.neutralLayer2,neutralLayer3:()=>c.neutralLayer3,neutralLayer4:()=>c.neutralLayer4,neutralLayerCardContainer:()=>c.neutralLayerCardContainer,neutralLayerFloating:()=>c.neutralLayerFloating,neutralPalette:()=>c.neutralPalette,neutralStrokeActive:()=>c.neutralStrokeActive,neutralStrokeActiveDelta:()=>c.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>c.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>c.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>c.neutralStrokeFocus,neutralStrokeFocusDelta:()=>c.neutralStrokeFocusDelta,neutralStrokeHover:()=>c.neutralStrokeHover,neutralStrokeHoverDelta:()=>c.neutralStrokeHoverDelta,neutralStrokeRest:()=>c.neutralStrokeRest,neutralStrokeRestDelta:()=>c.neutralStrokeRestDelta,strokeWidth:()=>c.strokeWidth,typeRampBaseFontSize:()=>c.typeRampBaseFontSize,typeRampBaseLineHeight:()=>c.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>c.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>c.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>c.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>c.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>c.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>c.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>c.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>c.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>c.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>c.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>c.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>c.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>c.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>c.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>c.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>c.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>ve,baseLayerLuminanceValue:()=>fe,bodyFontValue:()=>Oe,controlCornerRadiusValue:()=>xe,densityValue:()=>ze,designTokens:()=>Fe,designUnitValue:()=>ke,directionValue:()=>we,neutralPaletteValue:()=>be,strokeWidthValue:()=>ye,typeRampBaseFontSizeValue:()=>De,typeRampBaseLineHeightValue:()=>Ne});var i=r(63347),n=r(92592),l=r(89074),g=r(60724),d=r(83147),s=r(75951),c=r(13896),p=r(67973);const u=d.css`
1
+ "use strict";(self.webpackChunk_genesislcap_design_system_configurator=self.webpackChunk_genesislcap_design_system_configurator||[]).push([[180],{34180:(e,a,r)=>{r.r(a),r.d(a,{ColorPalette:()=>mg,ColorToken:()=>fg,ColorTokens:()=>kg,DesignSystemEditor:()=>tg,DesignSystemExport:()=>pg,DesignSystemPreview:()=>Dg,EventName:()=>Vl,PreviewComponents:()=>dg,PreviewForm:()=>jg,PreviewGrid:()=>Pg,TypographyTokens:()=>Ag,defaultBodyFont:()=>ql,fontFamilies:()=>Wl});var t={};r.r(t),r.d(t,{accentFillActive:()=>c.accentFillActive,accentFillActiveDelta:()=>c.accentFillActiveDelta,accentFillFocus:()=>c.accentFillFocus,accentFillFocusDelta:()=>c.accentFillFocusDelta,accentFillHover:()=>c.accentFillHover,accentFillHoverDelta:()=>c.accentFillHoverDelta,accentFillRest:()=>c.accentFillRest,accentFillRestDelta:()=>c.accentFillRestDelta,accentForegroundActive:()=>c.accentForegroundActive,accentForegroundActiveDelta:()=>c.accentForegroundActiveDelta,accentForegroundFocus:()=>c.accentForegroundFocus,accentForegroundFocusDelta:()=>c.accentForegroundFocusDelta,accentForegroundHover:()=>c.accentForegroundHover,accentForegroundHoverDelta:()=>c.accentForegroundHoverDelta,accentForegroundRest:()=>c.accentForegroundRest,accentForegroundRestDelta:()=>c.accentForegroundRestDelta,accentPalette:()=>c.accentPalette,baseHeightMultiplier:()=>c.baseHeightMultiplier,baseLayerLuminance:()=>c.baseLayerLuminance,bodyFont:()=>c.bodyFont,controlCornerRadius:()=>c.controlCornerRadius,density:()=>c.density,designUnit:()=>c.designUnit,direction:()=>c.direction,disabledOpacity:()=>c.disabledOpacity,fillColor:()=>c.fillColor,focusStrokeInner:()=>c.focusStrokeInner,focusStrokeOuter:()=>c.focusStrokeOuter,focusStrokeWidth:()=>c.focusStrokeWidth,foregroundOnAccentActive:()=>c.foregroundOnAccentActive,foregroundOnAccentActiveLarge:()=>c.foregroundOnAccentActiveLarge,foregroundOnAccentFocus:()=>c.foregroundOnAccentFocus,foregroundOnAccentFocusLarge:()=>c.foregroundOnAccentFocusLarge,foregroundOnAccentHover:()=>c.foregroundOnAccentHover,foregroundOnAccentHoverLarge:()=>c.foregroundOnAccentHoverLarge,foregroundOnAccentRest:()=>c.foregroundOnAccentRest,foregroundOnAccentRestLarge:()=>c.foregroundOnAccentRestLarge,neutralFillActive:()=>c.neutralFillActive,neutralFillActiveDelta:()=>c.neutralFillActiveDelta,neutralFillFocus:()=>c.neutralFillFocus,neutralFillFocusDelta:()=>c.neutralFillFocusDelta,neutralFillHover:()=>c.neutralFillHover,neutralFillHoverDelta:()=>c.neutralFillHoverDelta,neutralFillInputActive:()=>c.neutralFillInputActive,neutralFillInputActiveDelta:()=>c.neutralFillInputActiveDelta,neutralFillInputFocus:()=>c.neutralFillInputFocus,neutralFillInputFocusDelta:()=>c.neutralFillInputFocusDelta,neutralFillInputHover:()=>c.neutralFillInputHover,neutralFillInputHoverDelta:()=>c.neutralFillInputHoverDelta,neutralFillInputRest:()=>c.neutralFillInputRest,neutralFillInputRestDelta:()=>c.neutralFillInputRestDelta,neutralFillLayerRest:()=>c.neutralFillLayerRest,neutralFillLayerRestDelta:()=>c.neutralFillLayerRestDelta,neutralFillRest:()=>c.neutralFillRest,neutralFillRestDelta:()=>c.neutralFillRestDelta,neutralFillStealthActive:()=>c.neutralFillStealthActive,neutralFillStealthActiveDelta:()=>c.neutralFillStealthActiveDelta,neutralFillStealthFocus:()=>c.neutralFillStealthFocus,neutralFillStealthFocusDelta:()=>c.neutralFillStealthFocusDelta,neutralFillStealthHover:()=>c.neutralFillStealthHover,neutralFillStealthHoverDelta:()=>c.neutralFillStealthHoverDelta,neutralFillStealthRest:()=>c.neutralFillStealthRest,neutralFillStealthRestDelta:()=>c.neutralFillStealthRestDelta,neutralFillStrongActive:()=>c.neutralFillStrongActive,neutralFillStrongActiveDelta:()=>c.neutralFillStrongActiveDelta,neutralFillStrongFocus:()=>c.neutralFillStrongFocus,neutralFillStrongFocusDelta:()=>c.neutralFillStrongFocusDelta,neutralFillStrongHover:()=>c.neutralFillStrongHover,neutralFillStrongHoverDelta:()=>c.neutralFillStrongHoverDelta,neutralFillStrongRest:()=>c.neutralFillStrongRest,neutralFillStrongRestDelta:()=>c.neutralFillStrongRestDelta,neutralForegroundHint:()=>c.neutralForegroundHint,neutralForegroundRest:()=>c.neutralForegroundRest,neutralLayer1:()=>c.neutralLayer1,neutralLayer2:()=>c.neutralLayer2,neutralLayer3:()=>c.neutralLayer3,neutralLayer4:()=>c.neutralLayer4,neutralLayerCardContainer:()=>c.neutralLayerCardContainer,neutralLayerFloating:()=>c.neutralLayerFloating,neutralPalette:()=>c.neutralPalette,neutralStrokeActive:()=>c.neutralStrokeActive,neutralStrokeActiveDelta:()=>c.neutralStrokeActiveDelta,neutralStrokeDividerRest:()=>c.neutralStrokeDividerRest,neutralStrokeDividerRestDelta:()=>c.neutralStrokeDividerRestDelta,neutralStrokeFocus:()=>c.neutralStrokeFocus,neutralStrokeFocusDelta:()=>c.neutralStrokeFocusDelta,neutralStrokeHover:()=>c.neutralStrokeHover,neutralStrokeHoverDelta:()=>c.neutralStrokeHoverDelta,neutralStrokeRest:()=>c.neutralStrokeRest,neutralStrokeRestDelta:()=>c.neutralStrokeRestDelta,strokeWidth:()=>c.strokeWidth,typeRampBaseFontSize:()=>c.typeRampBaseFontSize,typeRampBaseLineHeight:()=>c.typeRampBaseLineHeight,typeRampMinus1FontSize:()=>c.typeRampMinus1FontSize,typeRampMinus1LineHeight:()=>c.typeRampMinus1LineHeight,typeRampMinus2FontSize:()=>c.typeRampMinus2FontSize,typeRampMinus2LineHeight:()=>c.typeRampMinus2LineHeight,typeRampPlus1FontSize:()=>c.typeRampPlus1FontSize,typeRampPlus1LineHeight:()=>c.typeRampPlus1LineHeight,typeRampPlus2FontSize:()=>c.typeRampPlus2FontSize,typeRampPlus2LineHeight:()=>c.typeRampPlus2LineHeight,typeRampPlus3FontSize:()=>c.typeRampPlus3FontSize,typeRampPlus3LineHeight:()=>c.typeRampPlus3LineHeight,typeRampPlus4FontSize:()=>c.typeRampPlus4FontSize,typeRampPlus4LineHeight:()=>c.typeRampPlus4LineHeight,typeRampPlus5FontSize:()=>c.typeRampPlus5FontSize,typeRampPlus5LineHeight:()=>c.typeRampPlus5LineHeight,typeRampPlus6FontSize:()=>c.typeRampPlus6FontSize,typeRampPlus6LineHeight:()=>c.typeRampPlus6LineHeight});var o={};r.r(o),r.d(o,{accentPaletteValue:()=>ve,baseLayerLuminanceValue:()=>fe,bodyFontValue:()=>Oe,controlCornerRadiusValue:()=>xe,densityValue:()=>ze,designTokens:()=>Fe,designUnitValue:()=>ke,directionValue:()=>we,neutralPaletteValue:()=>be,strokeWidthValue:()=>ye,typeRampBaseFontSizeValue:()=>De,typeRampBaseLineHeightValue:()=>Ne});var i=r(52179),n=r(92592),l=r(89074),g=r(60724),d=r(83147),s=r(75951),c=r(13896),p=r(67973);const u=d.css`
2
2
  :host {
3
3
  border: calc(${c.strokeWidth} * 1px) solid transparent;
4
4
  margin: 0;
@@ -49,7 +49,7 @@
49
49
  background: ${p.H.Canvas};
50
50
  border-color: ${p.H.CanvasText};
51
51
  }
52
- `));var h=r(26688);const m=(0,h.createLogger)("foundation-form"),v={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},b=d.html`
52
+ `));var h=r(60210);const m=(0,h.createLogger)("foundation-form"),v={"^[\\+]?[(]?[0-9]{3}[)]?[-\\s\\.]?[0-9]{3}[-\\s\\.]?[0-9]{4,6}$":"Invalid phone number. Must match +###-###-######"},b=d.html`
53
53
  <template>
54
54
  ${(0,d.when)((e=>!1),d.html`
55
55
  <zero-button class="clipboard-button" @click=${e=>e.copyUISchemaToClipboard()}>
@@ -277,7 +277,7 @@
277
277
  </control-wrapper>
278
278
  </template>
279
279
  `)(e.prefix)}
280
- `,tester:(0,g.yMz)(3,R),mapper:g.xq9};var I=r(24862);const E=e=>a=>{if(!a||!(0,g.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},P=(0,g.xDy)(E("allOptionsResourceName"),(0,g.or)((0,g.wcO)((e=>(0,g.ndu)(e,"array"))),(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,g.ndu)(e,"array")))))));I.MultiselectDatasource;const U={renderer:d.html`
280
+ `,tester:(0,g.yMz)(3,R),mapper:g.xq9};var I=r(6886);const E=e=>a=>{if(!a||!(0,g.DRl)(a))return!1;const r=a.options;return!(!r||!r[e])},P=(0,g.xDy)(E("allOptionsResourceName"),(0,g.or)((0,g.wcO)((e=>(0,g.ndu)(e,"array"))),(0,g.wcO)((e=>e.hasOwnProperty("oneOf")&&e.oneOf.some((e=>(0,g.ndu)(e,"array")))))));I.MultiselectDatasource;const U={renderer:d.html`
281
281
  ${e=>((e="zero")=>d.html`
282
282
  <template>
283
283
  <control-wrapper
@@ -11891,4 +11891,4 @@
11891
11891
  </template>
11892
11892
  `;var a}}
11893
11893
  `;let Pg=class extends d.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Vl.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Vl.DS_CHANGED,(e=>{this.handleDSChanges(e)})),d.DOM.queueUpdate((()=>{this.setGridOptions(),c.bodyFont.withDefault(ql)}))}handleStyleChanges(e){const a=e.detail;a&&d.DOM.queueUpdate((()=>{ng(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,d.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Ql.__decorate)([d.observable],Pg.prototype,"grid",void 0),(0,Ql.__decorate)([d.attr],Pg.prototype,"prefix",void 0),(0,Ql.__decorate)([d.observable],Pg.prototype,"provider",void 0),(0,Ql.__decorate)([d.observable],Pg.prototype,"rowData",void 0),(0,Ql.__decorate)([d.observable],Pg.prototype,"columnDefs",void 0),(0,Ql.__decorate)([d.observable],Pg.prototype,"gridOptions",void 0),Pg=(0,Ql.__decorate)([(0,d.customElement)({name:"preview-grid",template:Eg,styles:Ig})],Pg),((e,a="zero")=>{e&&(0,I.provideTokens)(t,o,e);const r=s.DesignSystem.getOrCreate(e).withPrefix(a);return(0,I.createDesignSystemProxy)(r)})().register(Xo,Hl),(0,i.provideDesignSystem)().register(i.baseComponents,Yl)}}]);
11894
- //# sourceMappingURL=180.47b15dc9db07064470fa85fc54ecbeff.js.map
11894
+ //# sourceMappingURL=180.c548e336faf6c546d270fcc702e88a43.js.map