diff --git a/sfGpsDs/main/default/lwc/sfGpsDsOnClickOutside/sfGpsDsOnClickOutside.js b/sfGpsDs/main/default/lwc/sfGpsDsOnClickOutside/sfGpsDsOnClickOutside.js index 075b63ce..bccb201a 100644 --- a/sfGpsDs/main/default/lwc/sfGpsDsOnClickOutside/sfGpsDsOnClickOutside.js +++ b/sfGpsDs/main/default/lwc/sfGpsDsOnClickOutside/sfGpsDsOnClickOutside.js @@ -69,6 +69,7 @@ export default class { if (!e._sfGpsDsOnClickOutside) e._sfGpsDsOnClickOutside = new Set(); e._sfGpsDsOnClickOutside.add(uuid); + console.log("tag", uuid); } }, handler: (e) => { @@ -92,13 +93,14 @@ export default class { } /* unbind must be called only once in the disconnectedCallback method */ + /* or whenever the referenced object disappears from the DOM */ unbind(pel, ref) { const el = pel.refs[ref]; if (this._sfGpsDsOnClickOutside[ref]) { this._sfGpsDsOnClickOutside[ref].forEach(({ event, tagger, handler }) => { document.removeEventListener(event, handler, false); - el.removeEventListener(event, tagger, false); + if (el) el.removeEventListener(event, tagger, false); }); delete this._sfGpsDsOnClickOutside[ref]; diff --git a/sfGpsDs/main/default/lwc/sfGpsDsOnWindowResize/sfGpsDsOnWindowResize.js b/sfGpsDs/main/default/lwc/sfGpsDsOnWindowResize/sfGpsDsOnWindowResize.js index 2faab7a9..80d52cf5 100644 --- a/sfGpsDs/main/default/lwc/sfGpsDsOnWindowResize/sfGpsDsOnWindowResize.js +++ b/sfGpsDs/main/default/lwc/sfGpsDsOnWindowResize/sfGpsDsOnWindowResize.js @@ -23,7 +23,7 @@ export default class { if (this._sfGpsDsOnWindowResize) { window.removeEventListener( "resize", - this._sfGpsDsOnWindowResizehandler.handler, + this._sfGpsDsOnWindowResize.handler, false ); delete this._sfGpsDsOnWindowResize; diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswAccordion/lwc/sfGpsDsAuNswAccordionComm/sfGpsDsAuNswAccordionComm.js b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswAccordion/lwc/sfGpsDsAuNswAccordionComm/sfGpsDsAuNswAccordionComm.js index ececb777..ffa65f64 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswAccordion/lwc/sfGpsDsAuNswAccordionComm/sfGpsDsAuNswAccordionComm.js +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswAccordion/lwc/sfGpsDsAuNswAccordionComm/sfGpsDsAuNswAccordionComm.js @@ -28,8 +28,6 @@ export default class SfGpsDsAuNswAccordionComm extends SfGpsDsLwc { @api content; @api className; - _rendered = false; - renderedCallback() { replaceInnerHtml(this.refs.markdown, this.content); } diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsComm/sfGpsDsAuNswBreadcrumbsComm.html b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsComm/sfGpsDsAuNswBreadcrumbsComm.html index e00c27c4..35f19a31 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsComm/sfGpsDsAuNswBreadcrumbsComm.html +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsComm/sfGpsDsAuNswBreadcrumbsComm.html @@ -9,6 +9,7 @@ lwc:else label={label} items={_itemsArray} + link-component={linkComponent} class-name={className} > diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsRecordComm/sfGpsDsAuNswBreadcrumbsRecordComm.html b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsRecordComm/sfGpsDsAuNswBreadcrumbsRecordComm.html index e00c27c4..35f19a31 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsRecordComm/sfGpsDsAuNswBreadcrumbsRecordComm.html +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswBreadcrumbs/lwc/sfGpsDsAuNswBreadcrumbsRecordComm/sfGpsDsAuNswBreadcrumbsRecordComm.html @@ -9,6 +9,7 @@ lwc:else label={label} items={_itemsArray} + link-component={linkComponent} class-name={className} > diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswButton/lwc/sfGpsDsAuNswButtonComm/sfGpsDsAuNswButtonComm.html b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswButton/lwc/sfGpsDsAuNswButtonComm/sfGpsDsAuNswButtonComm.html index 62680783..f3ee0eb3 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswButton/lwc/sfGpsDsAuNswButtonComm/sfGpsDsAuNswButtonComm.html +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswButton/lwc/sfGpsDsAuNswButtonComm/sfGpsDsAuNswButtonComm.html @@ -17,6 +17,7 @@ icon-name={iconName} mobile-full-width={_mobileFullWidth} class-name={className} + onclick={handleClick} > {_link.text} diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/.osfilegen.json b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/.osfilegen.json index 77cefc2b..e45b7d0d 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/.osfilegen.json +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/.osfilegen.json @@ -45,7 +45,7 @@ "target": "!Os", "!.html": { "target": "!Os.html", - "c-sf-gps-ds-spinner": "c-sf-gps-ds-spinner-os", + "c-sf-gps-ds-au-nsw-loader": "c-sf-gps-ds-au-nsw-loader-os", "c-sf-gps-ds-au-nsw-card-comm": "c-sf-gps-ds-au-nsw-card-comm-os", "c-sf-gps-ds-empty": "c-sf-gps-ds-empty-os", "c-sf-gps-ds-configuration-error": "c-sf-gps-ds-configuration-error-os" diff --git a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/sfGpsDsAuNswCardCollectionComm/sfGpsDsAuNswCardCollectionComm.html b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/sfGpsDsAuNswCardCollectionComm/sfGpsDsAuNswCardCollectionComm.html index 6c1d3b04..f1e0798d 100644 --- a/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/sfGpsDsAuNswCardCollectionComm/sfGpsDsAuNswCardCollectionComm.html +++ b/sfGpsDsAuNsw/main/default/lwc/sfGpsDsAuNswCard/lwc/sfGpsDsAuNswCardCollectionComm/sfGpsDsAuNswCardCollectionComm.html @@ -6,7 +6,7 @@