@genesislcap/design-system-configurator 14.65.1 → 14.65.2-alpha-d8c8a07.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.
@@ -292,7 +292,7 @@
292
292
  ?submitted=${e=>e.submitted}
293
293
  >
294
294
  <${e}-text-field
295
- :value=${e=>void 0===e.control.data||null===e.control.data?"":new Intl.DateTimeFormat("fr-CA",{year:"numeric",month:"2-digit",day:"2-digit"}).format(e.control.data)}
295
+ :value=${e=>void 0===e.control.data||null===e.control.data?"":new Intl.DateTimeFormat("fr-CA",{year:"numeric",month:"2-digit",day:"2-digit",timeZone:"UTC"}).format(e.control.data)}
296
296
  id=${e=>e.control.path}
297
297
  type="date"
298
298
  data-test-id=${e=>e.control.path}
@@ -11780,4 +11780,4 @@
11780
11780
  </template>
11781
11781
  `;var a}}
11782
11782
  `;let Ml=class extends s.FASTElement{constructor(){super(...arguments),this.prefix="zero",this.rowData=[{make:"Toyota",model:"Celica",price:35e3,creationDate:1617624494293,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494295,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1619637452397,isCool:!1},{make:"Audi",model:"A6",price:8e4,creationDate:1617624494293,isCool:!0},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494295,isCool:!0},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1619637452397,isCool:!1},{make:"BMW",model:"Z8",price:9e4,creationDate:1617624494293,isCool:!1},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494295,isCool:!1},{make:"Toyota",model:"Celica",price:35e3,creationDate:1619637452397,isCool:!0},{make:"Ford",model:"Mondeo",price:32e3,creationDate:1617624494293,isCool:!1},{make:"Porsche",model:"Boxter",price:72e3,creationDate:1617624494295,isCool:!0},{make:"Audi",model:"A6",price:8e4,creationDate:1619637452397,isCool:!1},{make:"Renault",model:"Clio",price:2e4,creationDate:1617624494293,isCool:!1},{make:"Chevrolet",model:"Camaro",price:4e4,creationDate:1617624494295,isCool:!0},{make:"BMW",model:"Z8",price:9e4,creationDate:1619637452397,isCool:!0},{make:"Suzuki",model:"Jimny",price:23e3,creationDate:1617624494293,isCool:!0}],this.columnDefs=[{field:"make"},{field:"model"},{field:"price"},{field:"creationDate"},{field:"isCool"}],this.gridOptions={defaultColDef:{resizable:!0,filter:!0},debug:!1,columnDefs:this.columnDefs,rowData:this.rowData}}setGridOptions(){this.grid.gridOptions=this.gridOptions}connectedCallback(){super.connectedCallback(),document.body.addEventListener(Pn.STYLES_CHANGED,(e=>{this.handleStyleChanges(e)})),document.body.addEventListener(Pn.DS_CHANGED,(e=>{this.handleDSChanges(e)})),s.DOM.queueUpdate((()=>{this.setGridOptions(),p.bodyFont.withDefault(Gn)}))}handleStyleChanges(e){const a=e.detail;a&&s.DOM.queueUpdate((()=>{Xn(a,this.provider)}))}handleDSChanges(e){this.prefix=e.detail.prefix,s.DOM.queueUpdate((()=>{this.setGridOptions()}))}};(0,Un.__decorate)([s.observable],Ml.prototype,"grid",void 0),(0,Un.__decorate)([s.attr],Ml.prototype,"prefix",void 0),(0,Un.__decorate)([s.observable],Ml.prototype,"provider",void 0),(0,Un.__decorate)([s.observable],Ml.prototype,"rowData",void 0),(0,Un.__decorate)([s.observable],Ml.prototype,"columnDefs",void 0),(0,Un.__decorate)([s.observable],Ml.prototype,"gridOptions",void 0),Ml=(0,Un.__decorate)([(0,s.customElement)({name:"preview-grid",template:Fl,styles:Ol})],Ml),((e,a="zero")=>{e&&(0,$.provideTokens)(t,o,e);const r=c.DesignSystem.getOrCreate(e).withPrefix(a);return(0,$.createDesignSystemProxy)(r)})().register(Qo,In),(0,i.provideDesignSystem)().register(i.baseComponents,En)}}]);
11783
- //# sourceMappingURL=495.3095f1bec3bab061c095dc5e767db13d.js.map
11783
+ //# sourceMappingURL=495.779d26f0121553c770cf6e7887d00305.js.map