@spw-ds/spw-stencil-library 1.6.0 → 1.6.1
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/cjs/spw-radio.cjs.entry.js +5 -2
- package/dist/collection/components/spw-radio/spw-radio.js +5 -2
- package/dist/components/spw-radio.js +1 -1
- package/dist/components_json.json +1 -1
- package/dist/esm/spw-radio.entry.js +5 -2
- package/dist/spw-stencil-library/p-f5764d1b.entry.js +1 -0
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +8 -8
- package/hydrate/index.js +5 -2
- package/hydrate/index.mjs +5 -2
- package/package.json +1 -1
- package/dist/spw-stencil-library/p-0c9ab486.entry.js +0 -1
|
@@ -35,7 +35,7 @@ const SpwRadio = class {
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
uncheckOthers() {
|
|
38
|
-
const form = this.el.closest('
|
|
38
|
+
const form = this.el.closest('form');
|
|
39
39
|
if (form) {
|
|
40
40
|
const radios = Array.from(form.querySelectorAll(`spw-radio[name="${this.name}"]`));
|
|
41
41
|
radios.forEach(radio => {
|
|
@@ -53,6 +53,9 @@ const SpwRadio = class {
|
|
|
53
53
|
}
|
|
54
54
|
checkedChanged(newValue) {
|
|
55
55
|
this.setCheckedState(newValue);
|
|
56
|
+
if (newValue) {
|
|
57
|
+
this.uncheckOthers();
|
|
58
|
+
}
|
|
56
59
|
}
|
|
57
60
|
setCheckedState(checked) {
|
|
58
61
|
this.internalChecked = checked;
|
|
@@ -103,7 +106,7 @@ const SpwRadio = class {
|
|
|
103
106
|
render() {
|
|
104
107
|
const slot = this.el.innerHTML;
|
|
105
108
|
const hasSlot = Boolean(slot);
|
|
106
|
-
return (index.h("div", { key: '
|
|
109
|
+
return (index.h("div", { key: '8375d26158d74154f8aab2be607076f31b9120f0', class: "spw-radio" }, index.h("input", { key: '019b00379e49fbacf66150f2a59e0f824e2bb3a0', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (index.h("label", { key: '7c99e54805eb2bb832a1412f76515b20db42b8af', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, index.h("slot", { key: '539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2' }))), index.h("div", { key: '7ef3df567d208a43afae286ae7d018228a312c4d', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && index.h("span", { key: '4ddfe0e0c0522804b040627ebce2f85bacbd7d66', class: "spw-radio__circle" }))));
|
|
107
110
|
}
|
|
108
111
|
static get formAssociated() { return true; }
|
|
109
112
|
get el() { return index.getElement(this); }
|
|
@@ -21,7 +21,7 @@ export class SpwRadio {
|
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
uncheckOthers() {
|
|
24
|
-
const form = this.el.closest('
|
|
24
|
+
const form = this.el.closest('form');
|
|
25
25
|
if (form) {
|
|
26
26
|
const radios = Array.from(form.querySelectorAll(`spw-radio[name="${this.name}"]`));
|
|
27
27
|
radios.forEach(radio => {
|
|
@@ -39,6 +39,9 @@ export class SpwRadio {
|
|
|
39
39
|
}
|
|
40
40
|
checkedChanged(newValue) {
|
|
41
41
|
this.setCheckedState(newValue);
|
|
42
|
+
if (newValue) {
|
|
43
|
+
this.uncheckOthers();
|
|
44
|
+
}
|
|
42
45
|
}
|
|
43
46
|
setCheckedState(checked) {
|
|
44
47
|
this.internalChecked = checked;
|
|
@@ -89,7 +92,7 @@ export class SpwRadio {
|
|
|
89
92
|
render() {
|
|
90
93
|
const slot = this.el.innerHTML;
|
|
91
94
|
const hasSlot = Boolean(slot);
|
|
92
|
-
return (h("div", { key: '
|
|
95
|
+
return (h("div", { key: '8375d26158d74154f8aab2be607076f31b9120f0', class: "spw-radio" }, h("input", { key: '019b00379e49fbacf66150f2a59e0f824e2bb3a0', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (h("label", { key: '7c99e54805eb2bb832a1412f76515b20db42b8af', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, h("slot", { key: '539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2' }))), h("div", { key: '7ef3df567d208a43afae286ae7d018228a312c4d', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && h("span", { key: '4ddfe0e0c0522804b040627ebce2f85bacbd7d66', class: "spw-radio__circle" }))));
|
|
93
96
|
}
|
|
94
97
|
static get is() { return "spw-radio"; }
|
|
95
98
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,H as t,c as i,h as r,t as s}from"./index.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spwChange=i(this,"spwChange",7),this.internals=this.attachInternals(),this.disabled=!1,this.checked=!1,this.error=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){const e=this.el.closest("
|
|
1
|
+
import{p as e,H as t,c as i,h as r,t as s}from"./index.js";const o=e(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.__attachShadow(),this.spwChange=i(this,"spwChange",7),this.internals=this.attachInternals(),this.disabled=!1,this.checked=!1,this.error=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){const e=this.el.closest("form");e&&Array.from(e.querySelectorAll(`spw-radio[name="${this.name}"]`)).forEach((e=>{e!==this.el&&e.setChecked(!1)}))}async setChecked(e){this.disabled||this.setCheckedState(e)}checkedChanged(e){this.setCheckedState(e),e&&this.uncheckOthers()}setCheckedState(e){this.internalChecked=e,this.checked=e,this.inputElement&&(this.inputElement.checked=e),this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}handleKeydown(e){" "!==e.key&&"Enter"!==e.key||(this.handleRadio(),e.preventDefault())}componentWillLoad(){this.internalChecked=this.checked,this.defaultChecked=this.checked}componentDidLoad(){var e;this.setCheckedState(this.internalChecked),null===(e=this.el.closest("form"))||void 0===e||e.addEventListener("formdata",(e=>{this.internalChecked&&e.formData.set(this.name,this.value)}))}formResetCallback(){this.setCheckedState(this.defaultChecked)}get elementClass(){return{"spw-radio__wrapper":!0,"spw-radio__wrapper--disabled":this.disabled,"spw-radio__wrapper--checked":this.internalChecked,"spw-radio__wrapper--error":this.error}}render(){const e=!!this.el.innerHTML;return r("div",{key:"8375d26158d74154f8aab2be607076f31b9120f0",class:"spw-radio"},r("input",{key:"019b00379e49fbacf66150f2a59e0f824e2bb3a0",type:"radio",ref:e=>this.inputElement=e,checked:this.internalChecked,"aria-checked":this.internalChecked?"true":"false",onChange:this.handleRadio.bind(this),name:this.name,value:this.value,disabled:this.disabled,style:{display:"none"}}),e&&r("label",{key:"7c99e54805eb2bb832a1412f76515b20db42b8af",class:"spw-radio__label "+(this.disabled?"spw-radio__label--disabled":""),onClick:e=>this.handleRadio(e)},r("slot",{key:"539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2"})),r("div",{key:"7ef3df567d208a43afae286ae7d018228a312c4d",tabIndex:this.disabled?-1:0,onClick:e=>this.handleRadio(e),onKeyDown:this.handleKeydown.bind(this),role:"radio","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled,"aria-label":this.accAriaLabel||this.name,class:this.elementClass},this.internalChecked&&r("span",{key:"4ddfe0e0c0522804b040627ebce2f85bacbd7d66",class:"spw-radio__circle"})))}static get formAssociated(){return!0}get el(){return this}static get watchers(){return{checked:[{checkedChanged:0}]}}static get style(){return'html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:"Nunito Sans"}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:inline-flex;vertical-align:top}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-colors-dark-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}'}},[321,"spw-radio",{disabled:[4],checked:[1540],error:[4],name:[1],value:[1],accAriaLabel:[1,"acc-aria-label"],internalChecked:[32],setChecked:[64]},void 0,{checked:[{checkedChanged:0}]}]),a=o,n=function(){"undefined"!=typeof customElements&&["spw-radio"].forEach((e=>{"spw-radio"===e&&(customElements.get(s(e))||customElements.define(s(e),o))}))};export{a as SpwRadio,n as defineCustomElement}
|
|
@@ -33,7 +33,7 @@ const SpwRadio = class {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
uncheckOthers() {
|
|
36
|
-
const form = this.el.closest('
|
|
36
|
+
const form = this.el.closest('form');
|
|
37
37
|
if (form) {
|
|
38
38
|
const radios = Array.from(form.querySelectorAll(`spw-radio[name="${this.name}"]`));
|
|
39
39
|
radios.forEach(radio => {
|
|
@@ -51,6 +51,9 @@ const SpwRadio = class {
|
|
|
51
51
|
}
|
|
52
52
|
checkedChanged(newValue) {
|
|
53
53
|
this.setCheckedState(newValue);
|
|
54
|
+
if (newValue) {
|
|
55
|
+
this.uncheckOthers();
|
|
56
|
+
}
|
|
54
57
|
}
|
|
55
58
|
setCheckedState(checked) {
|
|
56
59
|
this.internalChecked = checked;
|
|
@@ -101,7 +104,7 @@ const SpwRadio = class {
|
|
|
101
104
|
render() {
|
|
102
105
|
const slot = this.el.innerHTML;
|
|
103
106
|
const hasSlot = Boolean(slot);
|
|
104
|
-
return (h("div", { key: '
|
|
107
|
+
return (h("div", { key: '8375d26158d74154f8aab2be607076f31b9120f0', class: "spw-radio" }, h("input", { key: '019b00379e49fbacf66150f2a59e0f824e2bb3a0', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (h("label", { key: '7c99e54805eb2bb832a1412f76515b20db42b8af', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, h("slot", { key: '539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2' }))), h("div", { key: '7ef3df567d208a43afae286ae7d018228a312c4d', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && h("span", { key: '4ddfe0e0c0522804b040627ebce2f85bacbd7d66', class: "spw-radio__circle" }))));
|
|
105
108
|
}
|
|
106
109
|
static get formAssociated() { return true; }
|
|
107
110
|
get el() { return getElement(this); }
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{r as e,c as i,h as t,a as r}from"./p-zvPT2o70.js";const s=class{constructor(t){e(this,t),this.spwChange=i(this,"spwChange",7),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.disabled=!1,this.checked=!1,this.error=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){const e=this.el.closest("form");e&&Array.from(e.querySelectorAll(`spw-radio[name="${this.name}"]`)).forEach((e=>{e!==this.el&&e.setChecked(!1)}))}async setChecked(e){this.disabled||this.setCheckedState(e)}checkedChanged(e){this.setCheckedState(e),e&&this.uncheckOthers()}setCheckedState(e){this.internalChecked=e,this.checked=e,this.inputElement&&(this.inputElement.checked=e),this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}handleKeydown(e){" "!==e.key&&"Enter"!==e.key||(this.handleRadio(),e.preventDefault())}componentWillLoad(){this.internalChecked=this.checked,this.defaultChecked=this.checked}componentDidLoad(){var e;this.setCheckedState(this.internalChecked),null===(e=this.el.closest("form"))||void 0===e||e.addEventListener("formdata",(e=>{this.internalChecked&&e.formData.set(this.name,this.value)}))}formResetCallback(){this.setCheckedState(this.defaultChecked)}get elementClass(){return{"spw-radio__wrapper":!0,"spw-radio__wrapper--disabled":this.disabled,"spw-radio__wrapper--checked":this.internalChecked,"spw-radio__wrapper--error":this.error}}render(){const e=Boolean(this.el.innerHTML);return t("div",{key:"8375d26158d74154f8aab2be607076f31b9120f0",class:"spw-radio"},t("input",{key:"019b00379e49fbacf66150f2a59e0f824e2bb3a0",type:"radio",ref:e=>this.inputElement=e,checked:this.internalChecked,"aria-checked":this.internalChecked?"true":"false",onChange:this.handleRadio.bind(this),name:this.name,value:this.value,disabled:this.disabled,style:{display:"none"}}),e&&t("label",{key:"7c99e54805eb2bb832a1412f76515b20db42b8af",class:"spw-radio__label "+(this.disabled?"spw-radio__label--disabled":""),onClick:e=>this.handleRadio(e)},t("slot",{key:"539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2"})),t("div",{key:"7ef3df567d208a43afae286ae7d018228a312c4d",tabIndex:this.disabled?-1:0,onClick:e=>this.handleRadio(e),onKeyDown:this.handleKeydown.bind(this),role:"radio","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled,"aria-label":this.accAriaLabel||this.name,class:this.elementClass},this.internalChecked&&t("span",{key:"4ddfe0e0c0522804b040627ebce2f85bacbd7d66",class:"spw-radio__circle"})))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{checked:[{checkedChanged:0}]}}};s.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:"Nunito Sans"}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:inline-flex;vertical-align:top}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-colors-dark-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}';export{s as spw_radio}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{p as e,g as t,b as a}from"./p-zvPT2o70.js";export{s as setNonce}from"./p-zvPT2o70.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await t(),a(JSON.parse('[["p-59c92982",[[1,"spw-cookies",{"cookiesTitle":[1,"cookies-title"],"cookiesDescription":[1,"cookies-description"],"acceptAllButtonText":[1,"accept-all-button-text"],"acceptRequiredButtonText":[1,"accept-required-button-text"],"isVisible":[32],"analyticsEnabled":[32]}]]],["p-c75c65af",[[1,"spw-search-field",{"value":[1537],"items":[1],"placeholder":[1],"size":[1],"label":[1],"disabled":[4],"isRounded":[4,"is-rounded"],"name":[1],"required":[4],"assistiveText":[1,"assistive-text"],"viewAllResults":[1,"view-all-results"],"viewAllResultsLink":[1,"view-all-results-link"],"noResults":[1,"no-results"],"loadingText":[1,"loading-text"],"hasSubmitButton":[4,"has-submit-button"],"minCharacters":[2,"min-characters"],"isLoading":[4,"is-loading"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"filteredItems":[32],"parsedItems":[32],"searchText":[32],"isOpen":[32],"focusedItemIndex":[32],"dropdownDirection":[32],"resetInput":[64],"setValue":[64],"getValue":[64]},null,{"value":[{"handleValueChange":0}],"items":[{"parseItems":0}]}]]],["p-7b50b1f1",[[65,"spw-custom-select",{"value":[1544],"label":[1],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"noResultsText":[1,"no-results-text"],"disabled":[4],"name":[1],"required":[4],"items":[16],"size":[1],"multiple":[4],"isSearch":[4,"is-search"],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"fixedDropdown":[4,"fixed-dropdown"],"internalValue":[32],"isOpen":[32],"parsedOptions":[32],"focusedOptionIndex":[32],"searchText":[32],"dropdownDirection":[32],"hasSelectedValue":[32],"dropdownPosition":[32],"setFocus":[64],"resetSelect":[64],"setValue":[64],"getValue":[64]},null,{"items":[{"parseOptions":0}],"value":[{"valueChangedHandler":0}],"internalValue":[{"internalValueChanged":0}]}]]],["p-82f1f953",[[1,"spw-pagination",{"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"isDisabled":[4,"is-disabled"],"variant":[1],"currentPage":[1026,"current-page"],"nextButtonText":[1,"next-button-text"],"previousButtonText":[1,"previous-button-text"],"isDynamic":[4,"is-dynamic"],"inputPageValue":[32],"isMobile":[32],"setPage":[64]},null,{"totalItems":[{"calculateTotalPages":0},{"onTotalItemsChange":0}],"itemsPerPage":[{"calculateTotalPages":0},{"onItemsPerPageChange":0}],"currentPage":[{"calculateTotalPages":0},{"onCurrentPageChange":0}]}]]],["p-279791ec",[[65,"spw-date-picker",{"value":[1537],"placeholder":[1],"label":[1],"name":[1],"accAriaLabel":[1,"acc-aria-label"],"required":[4],"disabled":[4],"dateFormat":[1,"date-format"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabledDays":[1,"disabled-days"],"disabledDates":[16],"position":[1],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"assistiveText":[1,"assistive-text"],"isClear":[4,"is-clear"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"range":[4],"rangeId":[1,"range-id"],"isStart":[4,"is-start"],"isOpen":[32],"hasError":[32],"internalError":[32],"internalValue":[32],"isClearIconVisible":[32],"open":[64],"close":[64],"setDate":[64],"getDate":[64],"getRange":[64],"updateConstraints":[64],"resetInput":[64],"resetConstraints":[64]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"minDate":[{"watchMinDate":0}],"maxDate":[{"watchMaxDate":0}]}]]],["p-980b2f5d",[[65,"spw-input-slider",{"min":[2],"max":[2],"step":[2],"value":[1026],"range":[4],"disabled":[4],"name":[1],"orientation":[1],"hasTooltip":[4,"has-tooltip"],"label":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"required":[4],"accAriaLabel":[1,"acc-aria-label"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"isDragging":[32],"activeHandle":[32],"setValue":[64],"getValue":[64]},null,{"value":[{"handleValueChange":0}]}]]],["p-444645d7",[[321,"spw-select",{"value":[1544],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"required":[4],"size":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"items":[16],"itemLabel":[1,"item-label"],"itemValue":[1,"item-value"],"accAriaLabel":[1,"acc-aria-label"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"resetSelect":[64],"setValue":[64],"getValue":[64]},null,{"items":[{"handleItemsChange":0}],"value":[{"handleValueChange":0}]}]]],["p-ec201915",[[65,"spw-textarea",{"value":[1537],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"rows":[2],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"isSearch":[4,"is-search"],"required":[4],"size":[1],"indicator":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"setFocus":[64]},null,{"value":[{"valueChangedHandler":0}]}]]],["p-6c309661",[[65,"spw-file-upload",{"disabled":[4],"error":[4],"name":[1],"value":[16],"enableDropZone":[4,"enable-drop-zone"],"multiple":[4],"accept":[1],"refuse":[1],"maxFileSize":[2,"max-file-size"],"maxFileSizeUnit":[1,"max-file-size-unit"],"maxFiles":[2,"max-files"],"selectedFiles":[32],"fileTypeErrors":[32],"fileLimitErrors":[32],"isDragging":[32],"isMaxFilesReachedExact":[32],"resetInput":[64]},null,{"value":[{"watchValueHandler":0}]}]]],["p-81bf577e",[[257,"spw-header",{"siteTitle":[1,"site-title"],"borderColor":[1,"border-color"],"hasWallonieLogo":[4,"has-wallonie-logo"],"hasMaWallonie":[4,"has-ma-wallonie"],"maWallonieLabel":[1,"ma-wallonie-label"],"maWallonieLink":[1,"ma-wallonie-link"],"hasWallonieBe":[4,"has-wallonie-be"],"wallonieBeLabel":[1,"wallonie-be-label"],"wallonieBeLink":[1,"wallonie-be-link"],"hasSearch":[4,"has-search"],"searchType":[1,"search-type"],"searchDirectHref":[1,"search-direct-href"],"searchDirectTarget":[1,"search-direct-target"],"searchCloseLabel":[1,"search-close-label"],"searchOpenLabel":[1,"search-open-label"],"menuCloseLabel":[1,"menu-close-label"],"menuOpenLabel":[1,"menu-open-label"],"homepageLink":[1,"homepage-link"],"emitLogoClick":[4,"emit-logo-click"],"isMenuOpen":[32],"isSearchOpen":[32],"closeMenu":[64]}]]],["p-c1a62018",[[1,"spw-header-lang",{"accAriaLabel":[1,"acc-aria-label"],"activeLang":[32],"options":[32]}]]],["p-db4040ec",[[257,"spw-header-navigation",{"alignment":[1],"extraButton":[4,"extra-button"],"extraButtonHref":[1,"extra-button-href"],"extraButtonTarget":[1,"extra-button-target"],"extraButtonText":[1,"extra-button-text"],"extraButtonVariant":[1,"extra-button-variant"],"extraButtonIcon":[1,"extra-button-icon"],"level":[32],"element":[32]},[[2,"spwHeaderNavigationNavigate","handleNavigation"]]]]],["p-203dd0f4",[[257,"spw-table-sidebar",{"defaultExpanded":[4,"default-expanded"],"sidebarTitle":[1,"sidebar-title"],"sidebarIcon":[1,"sidebar-icon"],"sidebarWidth":[2,"sidebar-width"],"hasReset":[4,"has-reset"],"resetIcon":[1,"reset-icon"],"observedHeight":[32],"expanded":[32]}]]],["p-1c9ffd67",[[257,"spw-tabs-navigation-item",{"tabId":[1,"tab-id"],"active":[4],"disabled":[4],"bubble":[4],"hasEllipsis":[4,"has-ellipsis"],"icon":[1],"iconPosition":[1,"icon-position"],"tagText":[1,"tag-text"],"tagVariant":[1,"tag-variant"],"tagIcon":[4,"tag-icon"],"slotText":[32]},[[0,"slotchange","handleSlotChange"]]]]],["p-a64b1e27",[[257,"spw-breadcrumb-item",{"href":[1],"surface":[32]},null,{"surface":[{"surfaceChanged":0}]}]]],["p-dfeaa8e7",[[257,"spw-header-navigation-dropdown",{"viewMoreText":[1,"view-more-text"],"shouldShowViewMore":[32],"parentHref":[32],"parentTarget":[32],"dropdownLevel":[32]}]]],["p-36592bcf",[[257,"spw-message",{"variant":[1],"messageId":[1,"message-id"],"isDismissable":[4,"is-dismissable"],"dismissableText":[1,"dismissable-text"],"messageTitle":[1,"message-title"],"icon":[1],"isVisible":[32],"showMessage":[64],"hideMessage":[64]}]]],["p-dce4998a",[[260,"spw-sidebar-navigation-item",{"href":[1],"icon":[1],"active":[4],"disabled":[4],"bubble":[1],"tooltipTitle":[1,"tooltip-title"],"iconVariant":[1,"icon-variant"],"openOnClick":[4,"open-on-click"],"hasDropdown":[32],"dropdownOpen":[32],"navExpanded":[32],"hasActiveChild":[32]}]]],["p-e6f7ad4f",[[257,"spw-slider",{"showArrows":[4,"show-arrows"],"showDots":[4,"show-dots"],"showAutoplayToggle":[4,"show-autoplay-toggle"],"autoplayInterval":[2,"autoplay-interval"],"autoplayEnabled":[4,"autoplay-enabled"],"autoplayText":[1,"autoplay-text"],"arrowsPosition":[1,"arrows-position"],"nextSlideText":[1,"next-slide-text"],"previousSlideText":[1,"previous-slide-text"],"activeIndex":[32],"totalSlides":[32],"currentHeight":[32],"isAutoplayActive":[32]},[[1,"touchstart","handleTouchStart"],[0,"mousedown","handleMouseDown"],[1,"touchmove","handleTouchMove"],[1,"mousemove","handleMouseMove"],[1,"touchend","handleTouchEnd"],[1,"mouseup","handleMouseUp"],[1,"mouseleave","handleMouseLeave"]]]]],["p-b029321c",[[257,"spw-table-header",{"colspan":[2],"headers":[1],"rowspan":[2],"isHighlighted":[4,"is-highlighted"],"textAlign":[1,"text-align"],"verticalAlign":[1,"vertical-align"],"padding":[1],"columnId":[1,"column-id"],"sortable":[4],"sortDirection":[1,"sort-direction"],"isSorted":[4,"is-sorted"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"sticky":[4],"stickyPosition":[1,"sticky-position"],"stickyOffset":[2,"sticky-offset"]}]]],["p-260be79d",[[257,"spw-card-image",{"label":[1],"ratio":[1],"ratioMobile":[1,"ratio-mobile"],"ratioTablet":[1,"ratio-tablet"],"ratioDesktop":[1,"ratio-desktop"]}]]],["p-09cfb609",[[260,"spw-dropdown-item",{"href":[1],"disabled":[4],"icon":[1],"iconVariant":[1,"icon-variant"],"hasSubItems":[32],"subItemsOpen":[32]}]]],["p-4b1f2784",[[257,"spw-header-navigation-item",{"isActive":[4,"is-active"],"variant":[1],"internalIsActive":[32],"hasSubnav":[32],"level":[32],"isSubnavVisible":[32],"lastClickedLevel1Item":[32],"isMobile":[32]}]]],["p-d34c296b",[[1,"spw-header-persona",{"personaLabel":[1,"persona-label"],"accAriaLabel":[1,"acc-aria-label"],"activePersona":[32],"options":[32]}]]],["p-748cbe8d",[[257,"spw-hero",{"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"surface":[1],"hasPictureFull":[4,"has-picture-full"],"hasRadius":[4,"has-radius"],"hasShadow":[4,"has-shadow"],"hasVideo":[4,"has-video"],"modalVideoId":[1,"modal-video-id"],"variant":[1],"alignment":[1],"overlayOpacity":[2,"overlay-opacity"],"overlayColor":[1,"overlay-color"],"accPlayButtonAriaLabel":[1,"acc-play-button-aria-label"]}]]],["p-31242736",[[257,"spw-list-item",{"variant":[1],"href":[1],"target":[1],"icon":[1],"lineClamp":[1,"line-clamp"],"category":[1],"categoryLink":[1,"category-link"],"categoryIcon":[1,"category-icon"],"surface":[1]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"],[1,"mousedown","onMouseDown"],[1,"mouseup","onMouseUp"],[0,"blur","onBlur"],[0,"focus","onFocus"]]]]],["p-197b3d1b",[[257,"spw-list-title",{"icon":[1],"lineClamp":[1,"line-clamp"]}]]],["p-7371e275",[[257,"spw-modal",{"opened":[1540],"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"stickyButtons":[4,"sticky-buttons"],"size":[1],"alertIcon":[1,"alert-icon"],"showCloseButton":[4,"show-close-button"],"showModal":[32],"slotButtonsPresent":[32],"closeModal":[64],"openModal":[64]},null,{"opened":[{"openedChanged":0}]}]]],["p-455909fd",[[257,"spw-sidebar",{"defaultExpanded":[4,"default-expanded"],"expanded":[32],"hasTopbar":[32]}]]],["p-ba220b77",[[1,"spw-sidebar-navigation-separator"]]],["p-0a7c2f6c",[[257,"spw-tabs-navigation",{"accAriaLabel":[1,"acc-aria-label"],"isVerticalOnMobile":[4,"is-vertical-on-mobile"],"showLeftArrow":[32],"showRightArrow":[32]},[[9,"resize","onWindowResize"]]]]],["p-52df8cea",[[257,"spw-tile",{"variant":[1],"height":[1],"href":[1],"target":[1],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"overlayOpacity":[2,"overlay-opacity"]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]]],["p-1a6eec9b",[[257,"spw-timeline-item",{"label":[1],"description":[1],"state":[1],"isLast":[1,"is-last"],"variant":[1],"isDescriptionExpanded":[32],"showToggle":[32]}]]],["p-9bbd184f",[[1,"spw-wizard-item",{"label":[1],"description":[1],"additionalInfo":[1,"additional-info"],"icon":[1],"state":[1],"status":[1],"isLast":[1,"is-last"],"stepNumber":[2,"step-number"],"variant":[1],"isClickable":[1,"is-clickable"],"isBeforeCurrent":[1,"is-before-current"],"isAfterCurrent":[1,"is-after-current"],"isCurrent":[1,"is-current"]}]]],["p-063712e2",[[257,"spw-breadcrumb",{"variant":[1],"surface":[1],"fontSize":[1,"font-size"],"accAriaLabel":[1,"acc-aria-label"]}]]],["p-3486c104",[[257,"spw-card",{"variant":[1],"elementType":[1,"element-type"],"href":[1],"target":[1],"rel":[1],"dateStart":[1,"date-start"],"dateEnd":[1,"date-end"],"fullHeight":[4,"full-height"],"disabled":[4],"accAriaLabel":[1,"acc-aria-label"],"hasImage":[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]]],["p-d12e13cc",[[257,"spw-card-content",{"tag":[1],"date":[1],"hasImage":[32]}]]],["p-a71cd9a4",[[257,"spw-card-excerpt",{"lineClamp":[8,"line-clamp"]}]]],["p-46fa451e",[[257,"spw-card-subtag-item",{"link":[1]}]]],["p-86b6ee57",[[260,"spw-card-subtags",{"variant":[1]}]]],["p-9f1c56c4",[[257,"spw-card-title",{"borderColor":[1,"border-color"]}]]],["p-8f1ac377",[[257,"spw-dropdown",{"direction":[1],"hasPadding":[4,"has-padding"],"contentWidth":[2,"content-width"],"open":[1540],"isVisible":[32],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["p-eb78fa8d",[[257,"spw-dropdown-container"]]],["p-8a84ae0f",[[257,"spw-footer",{"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"]},null,{"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-5aab59d7",[[257,"spw-footer-bottom",{"siteTitle":[1,"site-title"],"hasWallonieLogo":[4,"has-wallonie-logo"]}]]],["p-f5667747",[[257,"spw-footer-content"]]],["p-37f97ddb",[[257,"spw-footer-content-col",{"colTitle":[1,"col-title"]}]]],["p-9697273b",[[257,"spw-footer-link",{"href":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["p-1bbbe0e7",[[257,"spw-grid",{"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"]},null,{"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-bbb6b242",[[257,"spw-grid-item",{"colSpanMobile":[2,"col-span-mobile"],"colSpanTablet":[2,"col-span-tablet"],"colSpanDesktop":[2,"col-span-desktop"],"rowSpanMobile":[2,"row-span-mobile"],"rowSpanTablet":[2,"row-span-tablet"],"rowSpanDesktop":[2,"row-span-desktop"]}]]],["p-485ef0b5",[[257,"spw-header-persona-item",{"active":[516]}]]],["p-ed458c7a",[[1,"spw-illustration",{"variant":[1],"width":[1],"height":[1],"alt":[1]}]]],["p-6b28d54b",[[257,"spw-list",{"gap":[1],"surface":[1]},[[0,"slotchange","slotChanged"]]]]],["p-5aaf6d7d",[[257,"spw-list-description",{"lineClamp":[1,"line-clamp"]}]]],["p-077ae062",[[257,"spw-mosaic",{"items":[8],"isMasonry":[4,"is-masonry"],"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"],"initialized":[32],"waitForImages":[64],"initializeMasonry":[64]},null,{"items":[{"itemsChanged":0}],"isMasonry":[{"isMasonryChanged":0}],"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-33d3303c",[[257,"spw-mosaic-item",{"colSpanMobile":[2,"col-span-mobile"],"colSpanTablet":[2,"col-span-tablet"],"colSpanDesktop":[2,"col-span-desktop"]},null,{"colSpanMobile":[{"colSpanChanged":0}],"colSpanTablet":[{"colSpanChanged":0}],"colSpanDesktop":[{"colSpanChanged":0}]}]]],["p-0c9ab486",[[321,"spw-radio",{"disabled":[4],"checked":[1540],"error":[4],"name":[1],"value":[1],"accAriaLabel":[1,"acc-aria-label"],"internalChecked":[32],"setChecked":[64]},null,{"checked":[{"checkedChanged":0}]}]]],["p-95f04df4",[[260,"spw-sidebar-navigation-dropdown",{"open":[1028]}]]],["p-16e47879",[[257,"spw-slider-item"]]],["p-b8ab2dc3",[[260,"spw-socials",{"mainTitle":[1,"main-title"]}]]],["p-4ee86ca2",[[257,"spw-table",{"accAriaLabel":[1,"acc-aria-label"],"isSticky":[4,"is-sticky"],"maxHeight":[1,"max-height"],"minWidth":[1,"min-width"],"tableLayout":[1,"table-layout"],"isZebra":[4,"is-zebra"],"disableSort":[4,"disable-sort"],"currentSort":[1040],"resizable":[4],"minHeight":[2,"min-height"],"currentHeight":[32]},[[0,"spwHeaderClick","handleHeaderClick"]],{"currentSort":[{"onCurrentSortChange":0}],"isSticky":[{"onIsStickyChange":0}]}]]],["p-0a089251",[[257,"spw-table-body",{"isZebra":[516,"is-zebra"],"updateZebraStyles":[64]}]]],["p-010e35c4",[[257,"spw-table-cell",{"colspan":[2],"headers":[1],"rowspan":[2],"isHighlighted":[4,"is-highlighted"],"textAlign":[1,"text-align"],"verticalAlign":[1,"vertical-align"],"width":[1],"padding":[1],"state":[1],"sticky":[4],"stickyPosition":[1,"sticky-position"],"stickyOffset":[2,"sticky-offset"],"isFirst":[32]}]]],["p-e37926f7",[[257,"spw-table-container"]]],["p-5145b7ec",[[257,"spw-table-footer"]]],["p-fca2d0f1",[[257,"spw-table-head"]]],["p-f6ab7a87",[[257,"spw-table-row",{"state":[1],"padding":[1]},[[0,"slotchange","slotChanged"]],{"state":[{"onStateChange":0}],"padding":[{"onPaddingChange":0}]}]]],["p-be9ccaa7",[[257,"spw-tabs",{"defaultActiveTab":[1,"default-active-tab"],"variant":[1],"hasEllipsis":[4,"has-ellipsis"],"maxWidth":[2,"max-width"],"size":[1],"activeTab":[1025,"active-tab"],"getSelectedTab":[64],"setSelectedTab":[64]},[[2,"tabSelected","handleTabSelected"],[0,"slotchange","slotChanged"]],{"activeTab":[{"activeTabChanged":0}],"maxWidth":[{"maxWidthChanged":0}],"hasEllipsis":[{"hasEllipsisChanged":0}]}]]],["p-cd302edb",[[257,"spw-tabs-content",{"tabId":[1,"tab-id"],"active":[4]}]]],["p-ecadc1fa",[[257,"spw-tile-description"]]],["p-1f5c878f",[[257,"spw-tile-title"]]],["p-f66b258b",[[257,"spw-timeline",{"visibleItems":[2,"visible-items"],"showMoreText":[1,"show-more-text"],"showLessText":[1,"show-less-text"],"showAll":[32]},[[0,"slotchange","slotChanged"]]]]],["p-ff50f612",[[260,"spw-toc"]]],["p-4f90e808",[[260,"spw-toc-container",{"getItems":[64]}]]],["p-c78fc24d",[[0,"spw-toc-navigation",{"items":[32],"currentItemIndex":[32],"currentH2Index":[32],"h2ProgressPercents":[32],"clickedH2Index":[32]},[[8,"tocItemsChanged","handleTocItemsChanged"]]]]],["p-bb76a52d",[[257,"spw-topbar",{"siteTitle":[1,"site-title"],"hasWallonieLogo":[4,"has-wallonie-logo"],"homepageLink":[1,"homepage-link"],"emitLogoClick":[4,"emit-logo-click"]}]]],["p-08ecae88",[[257,"spw-wizard",{"currentStep":[1026,"current-step"],"variant":[1],"setStep":[64]},[[0,"slotchange","slotChanged"],[0,"wizardItemClick","handleStepClick"]]]]],["p-7f7252b6",[[257,"spw-skeleton",{"blocks":[2],"variant":[1]}]]],["p-8fc435dc",[[260,"spw-group",{"type":[1],"orientation":[1],"alignment":[1],"disabled":[4],"label":[1],"required":[4],"isReversed":[4,"is-reversed"],"name":[1],"isFullWidth":[4,"is-full-width"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"]}],[260,"spw-theme-provider",{"theme":[1]}],[1,"spw-separator",{"surface":[1],"direction":[1],"thickness":[2],"width":[1],"height":[1]}],[257,"spw-link",{"href":[1],"target":[1],"rel":[1],"icon":[1],"iconPosition":[1,"icon-position"],"disabled":[4],"accAriaLabel":[1,"acc-aria-label"],"surface":[1]}],[1,"spw-field-label",{"name":[1],"label":[1],"required":[4],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"]}],[257,"spw-tooltip",{"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"maxWidth":[1,"max-width"],"direction":[1],"cursor":[1],"visible":[4],"isVisible":[32]}],[1,"spw-icon",{"icon":[1],"variant":[1]}]]],["p-d85950cf",[[257,"spw-tag",{"variant":[1],"surface":[1],"hasIcon":[4,"has-icon"],"icon":[1],"href":[1],"target":[1],"size":[1]}]]],["p-0096dc81",[[257,"spw-field-message",{"showIcon":[4,"show-icon"],"variant":[1]}]]],["p-c8a1890c",[[65,"spw-text-field",{"value":[1544],"type":[1],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"min":[2],"max":[2],"step":[2],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"isSearch":[4,"is-search"],"isClear":[4,"is-clear"],"required":[4],"size":[1],"indicator":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"accAriaLabel":[1,"acc-aria-label"],"accAriaLabelIncrement":[1,"acc-aria-label-increment"],"accAriaLabelDecrement":[1,"acc-aria-label-decrement"],"mask":[1],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"isClearIconVisible":[32],"setFocus":[64],"setValue":[64]},null,{"value":[{"valueChangedHandler":0}]}]]],["p-0b5feab8",[[321,"spw-checkbox",{"disabled":[4],"checked":[1540],"error":[4],"icon":[1],"name":[1],"variant":[1],"accAriaLabel":[1,"acc-aria-label"],"internalChecked":[32],"toggleCheckedState":[64]},null,{"checked":[{"checkedChanged":0}]}]]],["p-b7735c3b",[[257,"spw-accordion-title",{"tag":[1],"icon":[1]}],[257,"spw-accordion",{"background":[1],"variant":[1]},null,{"background":[{"backgroundChanged":0}],"variant":[{"variantChanged":0}]}],[257,"spw-accordion-content",{"isOpened":[32]},[[4,"accordionToggle","handleAccordionToggle"]]],[257,"spw-accordion-item",{"defaultOpen":[4,"default-open"],"variant":[513],"isOpen":[32],"isMobile":[32]},null,{"defaultOpen":[{"defaultOpenChanged":0}]}]]],["p-ce70f5bc",[[257,"spw-button",{"href":[1],"target":[1],"rel":[1],"download":[1],"name":[1],"value":[8],"type":[1],"form":[1],"variant":[1],"surface":[1],"disabled":[4],"size":[1],"accAriaLabel":[1,"acc-aria-label"],"isIconOnly":[4,"is-icon-only"],"icon":[1],"iconPosition":[1,"icon-position"],"isFullWidth":[4,"is-full-width"],"isFullWidthMobile":[516,"is-full-width-mobile"],"hideTextOnMobile":[4,"hide-text-on-mobile"],"isLoading":[4,"is-loading"]}],[1,"spw-loading",{"text":[1]}]]]]'),e))));
|
|
1
|
+
import{p as e,g as t,b as a}from"./p-zvPT2o70.js";export{s as setNonce}from"./p-zvPT2o70.js";(()=>{const t=import.meta.url,a={};return""!==t&&(a.resourcesUrl=new URL(".",t).href),e(a)})().then((async e=>(await t(),a(JSON.parse('[["p-59c92982",[[1,"spw-cookies",{"cookiesTitle":[1,"cookies-title"],"cookiesDescription":[1,"cookies-description"],"acceptAllButtonText":[1,"accept-all-button-text"],"acceptRequiredButtonText":[1,"accept-required-button-text"],"isVisible":[32],"analyticsEnabled":[32]}]]],["p-c75c65af",[[1,"spw-search-field",{"value":[1537],"items":[1],"placeholder":[1],"size":[1],"label":[1],"disabled":[4],"isRounded":[4,"is-rounded"],"name":[1],"required":[4],"assistiveText":[1,"assistive-text"],"viewAllResults":[1,"view-all-results"],"viewAllResultsLink":[1,"view-all-results-link"],"noResults":[1,"no-results"],"loadingText":[1,"loading-text"],"hasSubmitButton":[4,"has-submit-button"],"minCharacters":[2,"min-characters"],"isLoading":[4,"is-loading"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"filteredItems":[32],"parsedItems":[32],"searchText":[32],"isOpen":[32],"focusedItemIndex":[32],"dropdownDirection":[32],"resetInput":[64],"setValue":[64],"getValue":[64]},null,{"value":[{"handleValueChange":0}],"items":[{"parseItems":0}]}]]],["p-7b50b1f1",[[65,"spw-custom-select",{"value":[1544],"label":[1],"placeholder":[1],"searchPlaceholder":[1,"search-placeholder"],"noResultsText":[1,"no-results-text"],"disabled":[4],"name":[1],"required":[4],"items":[16],"size":[1],"multiple":[4],"isSearch":[4,"is-search"],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"fixedDropdown":[4,"fixed-dropdown"],"internalValue":[32],"isOpen":[32],"parsedOptions":[32],"focusedOptionIndex":[32],"searchText":[32],"dropdownDirection":[32],"hasSelectedValue":[32],"dropdownPosition":[32],"setFocus":[64],"resetSelect":[64],"setValue":[64],"getValue":[64]},null,{"items":[{"parseOptions":0}],"value":[{"valueChangedHandler":0}],"internalValue":[{"internalValueChanged":0}]}]]],["p-82f1f953",[[1,"spw-pagination",{"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"isDisabled":[4,"is-disabled"],"variant":[1],"currentPage":[1026,"current-page"],"nextButtonText":[1,"next-button-text"],"previousButtonText":[1,"previous-button-text"],"isDynamic":[4,"is-dynamic"],"inputPageValue":[32],"isMobile":[32],"setPage":[64]},null,{"totalItems":[{"calculateTotalPages":0},{"onTotalItemsChange":0}],"itemsPerPage":[{"calculateTotalPages":0},{"onItemsPerPageChange":0}],"currentPage":[{"calculateTotalPages":0},{"onCurrentPageChange":0}]}]]],["p-279791ec",[[65,"spw-date-picker",{"value":[1537],"placeholder":[1],"label":[1],"name":[1],"accAriaLabel":[1,"acc-aria-label"],"required":[4],"disabled":[4],"dateFormat":[1,"date-format"],"minDate":[1,"min-date"],"maxDate":[1,"max-date"],"disabledDays":[1,"disabled-days"],"disabledDates":[16],"position":[1],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"assistiveText":[1,"assistive-text"],"isClear":[4,"is-clear"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"range":[4],"rangeId":[1,"range-id"],"isStart":[4,"is-start"],"isOpen":[32],"hasError":[32],"internalError":[32],"internalValue":[32],"isClearIconVisible":[32],"open":[64],"close":[64],"setDate":[64],"getDate":[64],"getRange":[64],"updateConstraints":[64],"resetInput":[64],"resetConstraints":[64]},null,{"value":[{"watchValue":0}],"disabled":[{"watchDisabled":0}],"minDate":[{"watchMinDate":0}],"maxDate":[{"watchMaxDate":0}]}]]],["p-980b2f5d",[[65,"spw-input-slider",{"min":[2],"max":[2],"step":[2],"value":[1026],"range":[4],"disabled":[4],"name":[1],"orientation":[1],"hasTooltip":[4,"has-tooltip"],"label":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"required":[4],"accAriaLabel":[1,"acc-aria-label"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"isDragging":[32],"activeHandle":[32],"setValue":[64],"getValue":[64]},null,{"value":[{"handleValueChange":0}]}]]],["p-444645d7",[[321,"spw-select",{"value":[1544],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"required":[4],"size":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"items":[16],"itemLabel":[1,"item-label"],"itemValue":[1,"item-value"],"accAriaLabel":[1,"acc-aria-label"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"resetSelect":[64],"setValue":[64],"getValue":[64]},null,{"items":[{"handleItemsChange":0}],"value":[{"handleValueChange":0}]}]]],["p-ec201915",[[65,"spw-textarea",{"value":[1537],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"rows":[2],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"isSearch":[4,"is-search"],"required":[4],"size":[1],"indicator":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"internalValue":[32],"setFocus":[64]},null,{"value":[{"valueChangedHandler":0}]}]]],["p-6c309661",[[65,"spw-file-upload",{"disabled":[4],"error":[4],"name":[1],"value":[16],"enableDropZone":[4,"enable-drop-zone"],"multiple":[4],"accept":[1],"refuse":[1],"maxFileSize":[2,"max-file-size"],"maxFileSizeUnit":[1,"max-file-size-unit"],"maxFiles":[2,"max-files"],"selectedFiles":[32],"fileTypeErrors":[32],"fileLimitErrors":[32],"isDragging":[32],"isMaxFilesReachedExact":[32],"resetInput":[64]},null,{"value":[{"watchValueHandler":0}]}]]],["p-81bf577e",[[257,"spw-header",{"siteTitle":[1,"site-title"],"borderColor":[1,"border-color"],"hasWallonieLogo":[4,"has-wallonie-logo"],"hasMaWallonie":[4,"has-ma-wallonie"],"maWallonieLabel":[1,"ma-wallonie-label"],"maWallonieLink":[1,"ma-wallonie-link"],"hasWallonieBe":[4,"has-wallonie-be"],"wallonieBeLabel":[1,"wallonie-be-label"],"wallonieBeLink":[1,"wallonie-be-link"],"hasSearch":[4,"has-search"],"searchType":[1,"search-type"],"searchDirectHref":[1,"search-direct-href"],"searchDirectTarget":[1,"search-direct-target"],"searchCloseLabel":[1,"search-close-label"],"searchOpenLabel":[1,"search-open-label"],"menuCloseLabel":[1,"menu-close-label"],"menuOpenLabel":[1,"menu-open-label"],"homepageLink":[1,"homepage-link"],"emitLogoClick":[4,"emit-logo-click"],"isMenuOpen":[32],"isSearchOpen":[32],"closeMenu":[64]}]]],["p-c1a62018",[[1,"spw-header-lang",{"accAriaLabel":[1,"acc-aria-label"],"activeLang":[32],"options":[32]}]]],["p-db4040ec",[[257,"spw-header-navigation",{"alignment":[1],"extraButton":[4,"extra-button"],"extraButtonHref":[1,"extra-button-href"],"extraButtonTarget":[1,"extra-button-target"],"extraButtonText":[1,"extra-button-text"],"extraButtonVariant":[1,"extra-button-variant"],"extraButtonIcon":[1,"extra-button-icon"],"level":[32],"element":[32]},[[2,"spwHeaderNavigationNavigate","handleNavigation"]]]]],["p-203dd0f4",[[257,"spw-table-sidebar",{"defaultExpanded":[4,"default-expanded"],"sidebarTitle":[1,"sidebar-title"],"sidebarIcon":[1,"sidebar-icon"],"sidebarWidth":[2,"sidebar-width"],"hasReset":[4,"has-reset"],"resetIcon":[1,"reset-icon"],"observedHeight":[32],"expanded":[32]}]]],["p-1c9ffd67",[[257,"spw-tabs-navigation-item",{"tabId":[1,"tab-id"],"active":[4],"disabled":[4],"bubble":[4],"hasEllipsis":[4,"has-ellipsis"],"icon":[1],"iconPosition":[1,"icon-position"],"tagText":[1,"tag-text"],"tagVariant":[1,"tag-variant"],"tagIcon":[4,"tag-icon"],"slotText":[32]},[[0,"slotchange","handleSlotChange"]]]]],["p-a64b1e27",[[257,"spw-breadcrumb-item",{"href":[1],"surface":[32]},null,{"surface":[{"surfaceChanged":0}]}]]],["p-dfeaa8e7",[[257,"spw-header-navigation-dropdown",{"viewMoreText":[1,"view-more-text"],"shouldShowViewMore":[32],"parentHref":[32],"parentTarget":[32],"dropdownLevel":[32]}]]],["p-36592bcf",[[257,"spw-message",{"variant":[1],"messageId":[1,"message-id"],"isDismissable":[4,"is-dismissable"],"dismissableText":[1,"dismissable-text"],"messageTitle":[1,"message-title"],"icon":[1],"isVisible":[32],"showMessage":[64],"hideMessage":[64]}]]],["p-dce4998a",[[260,"spw-sidebar-navigation-item",{"href":[1],"icon":[1],"active":[4],"disabled":[4],"bubble":[1],"tooltipTitle":[1,"tooltip-title"],"iconVariant":[1,"icon-variant"],"openOnClick":[4,"open-on-click"],"hasDropdown":[32],"dropdownOpen":[32],"navExpanded":[32],"hasActiveChild":[32]}]]],["p-e6f7ad4f",[[257,"spw-slider",{"showArrows":[4,"show-arrows"],"showDots":[4,"show-dots"],"showAutoplayToggle":[4,"show-autoplay-toggle"],"autoplayInterval":[2,"autoplay-interval"],"autoplayEnabled":[4,"autoplay-enabled"],"autoplayText":[1,"autoplay-text"],"arrowsPosition":[1,"arrows-position"],"nextSlideText":[1,"next-slide-text"],"previousSlideText":[1,"previous-slide-text"],"activeIndex":[32],"totalSlides":[32],"currentHeight":[32],"isAutoplayActive":[32]},[[1,"touchstart","handleTouchStart"],[0,"mousedown","handleMouseDown"],[1,"touchmove","handleTouchMove"],[1,"mousemove","handleMouseMove"],[1,"touchend","handleTouchEnd"],[1,"mouseup","handleMouseUp"],[1,"mouseleave","handleMouseLeave"]]]]],["p-b029321c",[[257,"spw-table-header",{"colspan":[2],"headers":[1],"rowspan":[2],"isHighlighted":[4,"is-highlighted"],"textAlign":[1,"text-align"],"verticalAlign":[1,"vertical-align"],"padding":[1],"columnId":[1,"column-id"],"sortable":[4],"sortDirection":[1,"sort-direction"],"isSorted":[4,"is-sorted"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"sticky":[4],"stickyPosition":[1,"sticky-position"],"stickyOffset":[2,"sticky-offset"]}]]],["p-260be79d",[[257,"spw-card-image",{"label":[1],"ratio":[1],"ratioMobile":[1,"ratio-mobile"],"ratioTablet":[1,"ratio-tablet"],"ratioDesktop":[1,"ratio-desktop"]}]]],["p-09cfb609",[[260,"spw-dropdown-item",{"href":[1],"disabled":[4],"icon":[1],"iconVariant":[1,"icon-variant"],"hasSubItems":[32],"subItemsOpen":[32]}]]],["p-4b1f2784",[[257,"spw-header-navigation-item",{"isActive":[4,"is-active"],"variant":[1],"internalIsActive":[32],"hasSubnav":[32],"level":[32],"isSubnavVisible":[32],"lastClickedLevel1Item":[32],"isMobile":[32]}]]],["p-d34c296b",[[1,"spw-header-persona",{"personaLabel":[1,"persona-label"],"accAriaLabel":[1,"acc-aria-label"],"activePersona":[32],"options":[32]}]]],["p-748cbe8d",[[257,"spw-hero",{"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"surface":[1],"hasPictureFull":[4,"has-picture-full"],"hasRadius":[4,"has-radius"],"hasShadow":[4,"has-shadow"],"hasVideo":[4,"has-video"],"modalVideoId":[1,"modal-video-id"],"variant":[1],"alignment":[1],"overlayOpacity":[2,"overlay-opacity"],"overlayColor":[1,"overlay-color"],"accPlayButtonAriaLabel":[1,"acc-play-button-aria-label"]}]]],["p-31242736",[[257,"spw-list-item",{"variant":[1],"href":[1],"target":[1],"icon":[1],"lineClamp":[1,"line-clamp"],"category":[1],"categoryLink":[1,"category-link"],"categoryIcon":[1,"category-icon"],"surface":[1]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"],[1,"touchstart","onTouchStart"],[1,"touchend","onTouchEnd"],[1,"mousedown","onMouseDown"],[1,"mouseup","onMouseUp"],[0,"blur","onBlur"],[0,"focus","onFocus"]]]]],["p-197b3d1b",[[257,"spw-list-title",{"icon":[1],"lineClamp":[1,"line-clamp"]}]]],["p-7371e275",[[257,"spw-modal",{"opened":[1540],"caption":[1],"closeOnOverlayClick":[4,"close-on-overlay-click"],"stickyButtons":[4,"sticky-buttons"],"size":[1],"alertIcon":[1,"alert-icon"],"showCloseButton":[4,"show-close-button"],"showModal":[32],"slotButtonsPresent":[32],"closeModal":[64],"openModal":[64]},null,{"opened":[{"openedChanged":0}]}]]],["p-455909fd",[[257,"spw-sidebar",{"defaultExpanded":[4,"default-expanded"],"expanded":[32],"hasTopbar":[32]}]]],["p-ba220b77",[[1,"spw-sidebar-navigation-separator"]]],["p-0a7c2f6c",[[257,"spw-tabs-navigation",{"accAriaLabel":[1,"acc-aria-label"],"isVerticalOnMobile":[4,"is-vertical-on-mobile"],"showLeftArrow":[32],"showRightArrow":[32]},[[9,"resize","onWindowResize"]]]]],["p-52df8cea",[[257,"spw-tile",{"variant":[1],"height":[1],"href":[1],"target":[1],"imageSrc":[1,"image-src"],"imageAlt":[1,"image-alt"],"overlayOpacity":[2,"overlay-opacity"]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]]],["p-1a6eec9b",[[257,"spw-timeline-item",{"label":[1],"description":[1],"state":[1],"isLast":[1,"is-last"],"variant":[1],"isDescriptionExpanded":[32],"showToggle":[32]}]]],["p-9bbd184f",[[1,"spw-wizard-item",{"label":[1],"description":[1],"additionalInfo":[1,"additional-info"],"icon":[1],"state":[1],"status":[1],"isLast":[1,"is-last"],"stepNumber":[2,"step-number"],"variant":[1],"isClickable":[1,"is-clickable"],"isBeforeCurrent":[1,"is-before-current"],"isAfterCurrent":[1,"is-after-current"],"isCurrent":[1,"is-current"]}]]],["p-063712e2",[[257,"spw-breadcrumb",{"variant":[1],"surface":[1],"fontSize":[1,"font-size"],"accAriaLabel":[1,"acc-aria-label"]}]]],["p-3486c104",[[257,"spw-card",{"variant":[1],"elementType":[1,"element-type"],"href":[1],"target":[1],"rel":[1],"dateStart":[1,"date-start"],"dateEnd":[1,"date-end"],"fullHeight":[4,"full-height"],"disabled":[4],"accAriaLabel":[1,"acc-aria-label"],"hasImage":[32]},[[0,"slotchange","slotChanged"],[1,"mouseenter","onMouseEnter"],[1,"mouseleave","onMouseLeave"]]]]],["p-d12e13cc",[[257,"spw-card-content",{"tag":[1],"date":[1],"hasImage":[32]}]]],["p-a71cd9a4",[[257,"spw-card-excerpt",{"lineClamp":[8,"line-clamp"]}]]],["p-46fa451e",[[257,"spw-card-subtag-item",{"link":[1]}]]],["p-86b6ee57",[[260,"spw-card-subtags",{"variant":[1]}]]],["p-9f1c56c4",[[257,"spw-card-title",{"borderColor":[1,"border-color"]}]]],["p-8f1ac377",[[257,"spw-dropdown",{"direction":[1],"hasPadding":[4,"has-padding"],"contentWidth":[2,"content-width"],"open":[1540],"isVisible":[32],"close":[64]},null,{"open":[{"onOpenChange":0}]}]]],["p-eb78fa8d",[[257,"spw-dropdown-container"]]],["p-8a84ae0f",[[257,"spw-footer",{"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"]},null,{"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-5aab59d7",[[257,"spw-footer-bottom",{"siteTitle":[1,"site-title"],"hasWallonieLogo":[4,"has-wallonie-logo"]}]]],["p-f5667747",[[257,"spw-footer-content"]]],["p-37f97ddb",[[257,"spw-footer-content-col",{"colTitle":[1,"col-title"]}]]],["p-9697273b",[[257,"spw-footer-link",{"href":[1],"target":[1],"linkTitle":[1,"link-title"]}]]],["p-1bbbe0e7",[[257,"spw-grid",{"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"]},null,{"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-bbb6b242",[[257,"spw-grid-item",{"colSpanMobile":[2,"col-span-mobile"],"colSpanTablet":[2,"col-span-tablet"],"colSpanDesktop":[2,"col-span-desktop"],"rowSpanMobile":[2,"row-span-mobile"],"rowSpanTablet":[2,"row-span-tablet"],"rowSpanDesktop":[2,"row-span-desktop"]}]]],["p-485ef0b5",[[257,"spw-header-persona-item",{"active":[516]}]]],["p-ed458c7a",[[1,"spw-illustration",{"variant":[1],"width":[1],"height":[1],"alt":[1]}]]],["p-6b28d54b",[[257,"spw-list",{"gap":[1],"surface":[1]},[[0,"slotchange","slotChanged"]]]]],["p-5aaf6d7d",[[257,"spw-list-description",{"lineClamp":[1,"line-clamp"]}]]],["p-077ae062",[[257,"spw-mosaic",{"items":[8],"isMasonry":[4,"is-masonry"],"colsMobile":[2,"cols-mobile"],"colsTablet":[2,"cols-tablet"],"colsDesktop":[2,"cols-desktop"],"initialized":[32],"waitForImages":[64],"initializeMasonry":[64]},null,{"items":[{"itemsChanged":0}],"isMasonry":[{"isMasonryChanged":0}],"colsMobile":[{"configurationChanged":0}],"colsTablet":[{"configurationChanged":0}],"colsDesktop":[{"configurationChanged":0}]}]]],["p-33d3303c",[[257,"spw-mosaic-item",{"colSpanMobile":[2,"col-span-mobile"],"colSpanTablet":[2,"col-span-tablet"],"colSpanDesktop":[2,"col-span-desktop"]},null,{"colSpanMobile":[{"colSpanChanged":0}],"colSpanTablet":[{"colSpanChanged":0}],"colSpanDesktop":[{"colSpanChanged":0}]}]]],["p-f5764d1b",[[321,"spw-radio",{"disabled":[4],"checked":[1540],"error":[4],"name":[1],"value":[1],"accAriaLabel":[1,"acc-aria-label"],"internalChecked":[32],"setChecked":[64]},null,{"checked":[{"checkedChanged":0}]}]]],["p-95f04df4",[[260,"spw-sidebar-navigation-dropdown",{"open":[1028]}]]],["p-16e47879",[[257,"spw-slider-item"]]],["p-b8ab2dc3",[[260,"spw-socials",{"mainTitle":[1,"main-title"]}]]],["p-4ee86ca2",[[257,"spw-table",{"accAriaLabel":[1,"acc-aria-label"],"isSticky":[4,"is-sticky"],"maxHeight":[1,"max-height"],"minWidth":[1,"min-width"],"tableLayout":[1,"table-layout"],"isZebra":[4,"is-zebra"],"disableSort":[4,"disable-sort"],"currentSort":[1040],"resizable":[4],"minHeight":[2,"min-height"],"currentHeight":[32]},[[0,"spwHeaderClick","handleHeaderClick"]],{"currentSort":[{"onCurrentSortChange":0}],"isSticky":[{"onIsStickyChange":0}]}]]],["p-0a089251",[[257,"spw-table-body",{"isZebra":[516,"is-zebra"],"updateZebraStyles":[64]}]]],["p-010e35c4",[[257,"spw-table-cell",{"colspan":[2],"headers":[1],"rowspan":[2],"isHighlighted":[4,"is-highlighted"],"textAlign":[1,"text-align"],"verticalAlign":[1,"vertical-align"],"width":[1],"padding":[1],"state":[1],"sticky":[4],"stickyPosition":[1,"sticky-position"],"stickyOffset":[2,"sticky-offset"],"isFirst":[32]}]]],["p-e37926f7",[[257,"spw-table-container"]]],["p-5145b7ec",[[257,"spw-table-footer"]]],["p-fca2d0f1",[[257,"spw-table-head"]]],["p-f6ab7a87",[[257,"spw-table-row",{"state":[1],"padding":[1]},[[0,"slotchange","slotChanged"]],{"state":[{"onStateChange":0}],"padding":[{"onPaddingChange":0}]}]]],["p-be9ccaa7",[[257,"spw-tabs",{"defaultActiveTab":[1,"default-active-tab"],"variant":[1],"hasEllipsis":[4,"has-ellipsis"],"maxWidth":[2,"max-width"],"size":[1],"activeTab":[1025,"active-tab"],"getSelectedTab":[64],"setSelectedTab":[64]},[[2,"tabSelected","handleTabSelected"],[0,"slotchange","slotChanged"]],{"activeTab":[{"activeTabChanged":0}],"maxWidth":[{"maxWidthChanged":0}],"hasEllipsis":[{"hasEllipsisChanged":0}]}]]],["p-cd302edb",[[257,"spw-tabs-content",{"tabId":[1,"tab-id"],"active":[4]}]]],["p-ecadc1fa",[[257,"spw-tile-description"]]],["p-1f5c878f",[[257,"spw-tile-title"]]],["p-f66b258b",[[257,"spw-timeline",{"visibleItems":[2,"visible-items"],"showMoreText":[1,"show-more-text"],"showLessText":[1,"show-less-text"],"showAll":[32]},[[0,"slotchange","slotChanged"]]]]],["p-ff50f612",[[260,"spw-toc"]]],["p-4f90e808",[[260,"spw-toc-container",{"getItems":[64]}]]],["p-c78fc24d",[[0,"spw-toc-navigation",{"items":[32],"currentItemIndex":[32],"currentH2Index":[32],"h2ProgressPercents":[32],"clickedH2Index":[32]},[[8,"tocItemsChanged","handleTocItemsChanged"]]]]],["p-bb76a52d",[[257,"spw-topbar",{"siteTitle":[1,"site-title"],"hasWallonieLogo":[4,"has-wallonie-logo"],"homepageLink":[1,"homepage-link"],"emitLogoClick":[4,"emit-logo-click"]}]]],["p-08ecae88",[[257,"spw-wizard",{"currentStep":[1026,"current-step"],"variant":[1],"setStep":[64]},[[0,"slotchange","slotChanged"],[0,"wizardItemClick","handleStepClick"]]]]],["p-7f7252b6",[[257,"spw-skeleton",{"blocks":[2],"variant":[1]}]]],["p-8fc435dc",[[260,"spw-group",{"type":[1],"orientation":[1],"alignment":[1],"disabled":[4],"label":[1],"required":[4],"isReversed":[4,"is-reversed"],"name":[1],"isFullWidth":[4,"is-full-width"],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"]}],[260,"spw-theme-provider",{"theme":[1]}],[1,"spw-separator",{"surface":[1],"direction":[1],"thickness":[2],"width":[1],"height":[1]}],[257,"spw-link",{"href":[1],"target":[1],"rel":[1],"icon":[1],"iconPosition":[1,"icon-position"],"disabled":[4],"accAriaLabel":[1,"acc-aria-label"],"surface":[1]}],[1,"spw-field-label",{"name":[1],"label":[1],"required":[4],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"]}],[257,"spw-tooltip",{"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"maxWidth":[1,"max-width"],"direction":[1],"cursor":[1],"visible":[4],"isVisible":[32]}],[1,"spw-icon",{"icon":[1],"variant":[1]}]]],["p-d85950cf",[[257,"spw-tag",{"variant":[1],"surface":[1],"hasIcon":[4,"has-icon"],"icon":[1],"href":[1],"target":[1],"size":[1]}]]],["p-0096dc81",[[257,"spw-field-message",{"showIcon":[4,"show-icon"],"variant":[1]}]]],["p-c8a1890c",[[65,"spw-text-field",{"value":[1544],"type":[1],"label":[1],"placeholder":[1],"disabled":[4],"name":[1],"min":[2],"max":[2],"step":[2],"minLength":[2,"min-length"],"maxLength":[2,"max-length"],"isSearch":[4,"is-search"],"isClear":[4,"is-clear"],"required":[4],"size":[1],"indicator":[1],"assistiveText":[1,"assistive-text"],"error":[1],"hint":[1],"success":[1],"warning":[1],"showErrorIcon":[4,"show-error-icon"],"showHintIcon":[4,"show-hint-icon"],"showSuccessIcon":[4,"show-success-icon"],"showWarningIcon":[4,"show-warning-icon"],"accAriaLabel":[1,"acc-aria-label"],"accAriaLabelIncrement":[1,"acc-aria-label-increment"],"accAriaLabelDecrement":[1,"acc-aria-label-decrement"],"mask":[1],"tooltipTitle":[1,"tooltip-title"],"tooltipText":[1,"tooltip-text"],"tooltipMaxWidth":[1,"tooltip-max-width"],"tooltipDirection":[1,"tooltip-direction"],"tooltipCursor":[1,"tooltip-cursor"],"isClearIconVisible":[32],"setFocus":[64],"setValue":[64]},null,{"value":[{"valueChangedHandler":0}]}]]],["p-0b5feab8",[[321,"spw-checkbox",{"disabled":[4],"checked":[1540],"error":[4],"icon":[1],"name":[1],"variant":[1],"accAriaLabel":[1,"acc-aria-label"],"internalChecked":[32],"toggleCheckedState":[64]},null,{"checked":[{"checkedChanged":0}]}]]],["p-b7735c3b",[[257,"spw-accordion-title",{"tag":[1],"icon":[1]}],[257,"spw-accordion",{"background":[1],"variant":[1]},null,{"background":[{"backgroundChanged":0}],"variant":[{"variantChanged":0}]}],[257,"spw-accordion-content",{"isOpened":[32]},[[4,"accordionToggle","handleAccordionToggle"]]],[257,"spw-accordion-item",{"defaultOpen":[4,"default-open"],"variant":[513],"isOpen":[32],"isMobile":[32]},null,{"defaultOpen":[{"defaultOpenChanged":0}]}]]],["p-ce70f5bc",[[257,"spw-button",{"href":[1],"target":[1],"rel":[1],"download":[1],"name":[1],"value":[8],"type":[1],"form":[1],"variant":[1],"surface":[1],"disabled":[4],"size":[1],"accAriaLabel":[1,"acc-aria-label"],"isIconOnly":[4,"is-icon-only"],"icon":[1],"iconPosition":[1,"icon-position"],"isFullWidth":[4,"is-full-width"],"isFullWidthMobile":[516,"is-full-width-mobile"],"hideTextOnMobile":[4,"hide-text-on-mobile"],"isLoading":[4,"is-loading"]}],[1,"spw-loading",{"text":[1]}]]]]'),e))));
|
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-03-
|
|
2
|
+
"timestamp": "2026-03-05T15:33:48",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.19.1"
|
|
@@ -573,7 +573,6 @@
|
|
|
573
573
|
"./dist/spw-stencil-library/p-0a089251.entry.js",
|
|
574
574
|
"./dist/spw-stencil-library/p-0a7c2f6c.entry.js",
|
|
575
575
|
"./dist/spw-stencil-library/p-0b5feab8.entry.js",
|
|
576
|
-
"./dist/spw-stencil-library/p-0c9ab486.entry.js",
|
|
577
576
|
"./dist/spw-stencil-library/p-16e47879.entry.js",
|
|
578
577
|
"./dist/spw-stencil-library/p-197b3d1b.entry.js",
|
|
579
578
|
"./dist/spw-stencil-library/p-1a6eec9b.entry.js",
|
|
@@ -647,6 +646,7 @@
|
|
|
647
646
|
"./dist/spw-stencil-library/p-ecadc1fa.entry.js",
|
|
648
647
|
"./dist/spw-stencil-library/p-ed458c7a.entry.js",
|
|
649
648
|
"./dist/spw-stencil-library/p-f5667747.entry.js",
|
|
649
|
+
"./dist/spw-stencil-library/p-f5764d1b.entry.js",
|
|
650
650
|
"./dist/spw-stencil-library/p-f66b258b.entry.js",
|
|
651
651
|
"./dist/spw-stencil-library/p-f6ab7a87.entry.js",
|
|
652
652
|
"./dist/spw-stencil-library/p-fca2d0f1.entry.js",
|
|
@@ -663,7 +663,6 @@
|
|
|
663
663
|
"./www/build/p-0a089251.entry.js",
|
|
664
664
|
"./www/build/p-0a7c2f6c.entry.js",
|
|
665
665
|
"./www/build/p-0b5feab8.entry.js",
|
|
666
|
-
"./www/build/p-0c9ab486.entry.js",
|
|
667
666
|
"./www/build/p-16e47879.entry.js",
|
|
668
667
|
"./www/build/p-197b3d1b.entry.js",
|
|
669
668
|
"./www/build/p-1a6eec9b.entry.js",
|
|
@@ -737,6 +736,7 @@
|
|
|
737
736
|
"./www/build/p-ecadc1fa.entry.js",
|
|
738
737
|
"./www/build/p-ed458c7a.entry.js",
|
|
739
738
|
"./www/build/p-f5667747.entry.js",
|
|
739
|
+
"./www/build/p-f5764d1b.entry.js",
|
|
740
740
|
"./www/build/p-f66b258b.entry.js",
|
|
741
741
|
"./www/build/p-f6ab7a87.entry.js",
|
|
742
742
|
"./www/build/p-fca2d0f1.entry.js",
|
|
@@ -1234,12 +1234,12 @@
|
|
|
1234
1234
|
"components": [
|
|
1235
1235
|
"spw-radio"
|
|
1236
1236
|
],
|
|
1237
|
-
"bundleId": "p-
|
|
1238
|
-
"fileName": "p-
|
|
1237
|
+
"bundleId": "p-f5764d1b",
|
|
1238
|
+
"fileName": "p-f5764d1b.entry.js",
|
|
1239
1239
|
"imports": [
|
|
1240
1240
|
"p-zvPT2o70.js"
|
|
1241
1241
|
],
|
|
1242
|
-
"originalByteSize":
|
|
1242
|
+
"originalByteSize": 9613
|
|
1243
1243
|
},
|
|
1244
1244
|
{
|
|
1245
1245
|
"key": "spw-search-field.entry",
|
|
@@ -2275,7 +2275,7 @@
|
|
|
2275
2275
|
"imports": [
|
|
2276
2276
|
"index-zvPT2o70.js"
|
|
2277
2277
|
],
|
|
2278
|
-
"originalByteSize":
|
|
2278
|
+
"originalByteSize": 9617
|
|
2279
2279
|
},
|
|
2280
2280
|
{
|
|
2281
2281
|
"key": "spw-search-field.entry",
|
|
@@ -3313,7 +3313,7 @@
|
|
|
3313
3313
|
"imports": [
|
|
3314
3314
|
"index-BDhk9IqL.js"
|
|
3315
3315
|
],
|
|
3316
|
-
"originalByteSize":
|
|
3316
|
+
"originalByteSize": 9627
|
|
3317
3317
|
},
|
|
3318
3318
|
{
|
|
3319
3319
|
"key": "spw-search-field.entry",
|
package/hydrate/index.js
CHANGED
|
@@ -16353,7 +16353,7 @@ class SpwRadio {
|
|
|
16353
16353
|
}
|
|
16354
16354
|
}
|
|
16355
16355
|
uncheckOthers() {
|
|
16356
|
-
const form = this.el.closest('
|
|
16356
|
+
const form = this.el.closest('form');
|
|
16357
16357
|
if (form) {
|
|
16358
16358
|
const radios = Array.from(form.querySelectorAll(`spw-radio[name="${this.name}"]`));
|
|
16359
16359
|
radios.forEach(radio => {
|
|
@@ -16371,6 +16371,9 @@ class SpwRadio {
|
|
|
16371
16371
|
}
|
|
16372
16372
|
checkedChanged(newValue) {
|
|
16373
16373
|
this.setCheckedState(newValue);
|
|
16374
|
+
if (newValue) {
|
|
16375
|
+
this.uncheckOthers();
|
|
16376
|
+
}
|
|
16374
16377
|
}
|
|
16375
16378
|
setCheckedState(checked) {
|
|
16376
16379
|
this.internalChecked = checked;
|
|
@@ -16421,7 +16424,7 @@ class SpwRadio {
|
|
|
16421
16424
|
render() {
|
|
16422
16425
|
const slot = this.el.innerHTML;
|
|
16423
16426
|
const hasSlot = Boolean(slot);
|
|
16424
|
-
return (hAsync("div", { key: '
|
|
16427
|
+
return (hAsync("div", { key: '8375d26158d74154f8aab2be607076f31b9120f0', class: "spw-radio" }, hAsync("input", { key: '019b00379e49fbacf66150f2a59e0f824e2bb3a0', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (hAsync("label", { key: '7c99e54805eb2bb832a1412f76515b20db42b8af', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, hAsync("slot", { key: '539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2' }))), hAsync("div", { key: '7ef3df567d208a43afae286ae7d018228a312c4d', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && hAsync("span", { key: '4ddfe0e0c0522804b040627ebce2f85bacbd7d66', class: "spw-radio__circle" }))));
|
|
16425
16428
|
}
|
|
16426
16429
|
static get formAssociated() { return true; }
|
|
16427
16430
|
get el() { return getElement(this); }
|
package/hydrate/index.mjs
CHANGED
|
@@ -16351,7 +16351,7 @@ class SpwRadio {
|
|
|
16351
16351
|
}
|
|
16352
16352
|
}
|
|
16353
16353
|
uncheckOthers() {
|
|
16354
|
-
const form = this.el.closest('
|
|
16354
|
+
const form = this.el.closest('form');
|
|
16355
16355
|
if (form) {
|
|
16356
16356
|
const radios = Array.from(form.querySelectorAll(`spw-radio[name="${this.name}"]`));
|
|
16357
16357
|
radios.forEach(radio => {
|
|
@@ -16369,6 +16369,9 @@ class SpwRadio {
|
|
|
16369
16369
|
}
|
|
16370
16370
|
checkedChanged(newValue) {
|
|
16371
16371
|
this.setCheckedState(newValue);
|
|
16372
|
+
if (newValue) {
|
|
16373
|
+
this.uncheckOthers();
|
|
16374
|
+
}
|
|
16372
16375
|
}
|
|
16373
16376
|
setCheckedState(checked) {
|
|
16374
16377
|
this.internalChecked = checked;
|
|
@@ -16419,7 +16422,7 @@ class SpwRadio {
|
|
|
16419
16422
|
render() {
|
|
16420
16423
|
const slot = this.el.innerHTML;
|
|
16421
16424
|
const hasSlot = Boolean(slot);
|
|
16422
|
-
return (hAsync("div", { key: '
|
|
16425
|
+
return (hAsync("div", { key: '8375d26158d74154f8aab2be607076f31b9120f0', class: "spw-radio" }, hAsync("input", { key: '019b00379e49fbacf66150f2a59e0f824e2bb3a0', type: "radio", ref: el => (this.inputElement = el), checked: this.internalChecked, "aria-checked": this.internalChecked ? 'true' : 'false', onChange: this.handleRadio.bind(this), name: this.name, value: this.value, disabled: this.disabled, style: { display: 'none' } }), hasSlot && (hAsync("label", { key: '7c99e54805eb2bb832a1412f76515b20db42b8af', class: `spw-radio__label ${this.disabled ? 'spw-radio__label--disabled' : ''}`, onClick: e => this.handleRadio(e) }, hAsync("slot", { key: '539e796d3bf408b0b1cfdf8d24f8cde35c2a65e2' }))), hAsync("div", { key: '7ef3df567d208a43afae286ae7d018228a312c4d', tabIndex: this.disabled ? -1 : 0, onClick: e => this.handleRadio(e), onKeyDown: this.handleKeydown.bind(this), role: "radio", "aria-checked": this.internalChecked ? 'true' : 'false', "aria-disabled": this.disabled, "aria-label": this.accAriaLabel || this.name, class: this.elementClass }, this.internalChecked && hAsync("span", { key: '4ddfe0e0c0522804b040627ebce2f85bacbd7d66', class: "spw-radio__circle" }))));
|
|
16423
16426
|
}
|
|
16424
16427
|
static get formAssociated() { return true; }
|
|
16425
16428
|
get el() { return getElement(this); }
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,c as i,h as t,a as r}from"./p-zvPT2o70.js";const s=class{constructor(t){e(this,t),this.spwChange=i(this,"spwChange",7),t.$hostElement$["s-ei"]?this.internals=t.$hostElement$["s-ei"]:(this.internals=t.$hostElement$.attachInternals(),t.$hostElement$["s-ei"]=this.internals),this.disabled=!1,this.checked=!1,this.error=!1}handleRadio(e){if(this.disabled)return null==e||e.preventDefault(),void(null==e||e.stopPropagation());this.internalChecked||(this.setCheckedState(!0),this.spwChange.emit({checked:this.internalChecked,value:this.value}),this.uncheckOthers())}uncheckOthers(){const e=this.el.closest("body");e&&Array.from(e.querySelectorAll(`spw-radio[name="${this.name}"]`)).forEach((e=>{e!==this.el&&e.setChecked(!1)}))}async setChecked(e){this.disabled||this.setCheckedState(e)}checkedChanged(e){this.setCheckedState(e)}setCheckedState(e){this.internalChecked=e,this.checked=e,this.inputElement&&(this.inputElement.checked=e),this.updateFormValue()}updateFormValue(){this.internals.setFormValue(this.internalChecked?this.value:null)}handleKeydown(e){" "!==e.key&&"Enter"!==e.key||(this.handleRadio(),e.preventDefault())}componentWillLoad(){this.internalChecked=this.checked,this.defaultChecked=this.checked}componentDidLoad(){var e;this.setCheckedState(this.internalChecked),null===(e=this.el.closest("form"))||void 0===e||e.addEventListener("formdata",(e=>{this.internalChecked&&e.formData.set(this.name,this.value)}))}formResetCallback(){this.setCheckedState(this.defaultChecked)}get elementClass(){return{"spw-radio__wrapper":!0,"spw-radio__wrapper--disabled":this.disabled,"spw-radio__wrapper--checked":this.internalChecked,"spw-radio__wrapper--error":this.error}}render(){const e=Boolean(this.el.innerHTML);return t("div",{key:"125e8d21ce3b12259b0dbfc1ae49f7e42ed1a4fc",class:"spw-radio"},t("input",{key:"41a3c776fd6f51e731e8f47b2426af4ec5593d2f",type:"radio",ref:e=>this.inputElement=e,checked:this.internalChecked,"aria-checked":this.internalChecked?"true":"false",onChange:this.handleRadio.bind(this),name:this.name,value:this.value,disabled:this.disabled,style:{display:"none"}}),e&&t("label",{key:"1c27b75e32d22c84c87c2e4cd0f6be655f27a311",class:"spw-radio__label "+(this.disabled?"spw-radio__label--disabled":""),onClick:e=>this.handleRadio(e)},t("slot",{key:"ac4a00868cb2c5b051ed5505be28071f9713de29"})),t("div",{key:"6ae88297dc03e0167f8a60acf70df0b4ef70a9ff",tabIndex:this.disabled?-1:0,onClick:e=>this.handleRadio(e),onKeyDown:this.handleKeydown.bind(this),role:"radio","aria-checked":this.internalChecked?"true":"false","aria-disabled":this.disabled,"aria-label":this.accAriaLabel||this.name,class:this.elementClass},this.internalChecked&&t("span",{key:"48dd6ed607070b42c502fe6f1dbb6e4450cbc7b5",class:"spw-radio__circle"})))}static get formAssociated(){return!0}get el(){return r(this)}static get watchers(){return{checked:[{checkedChanged:0}]}}};s.style='html{line-height:1.3;-webkit-text-size-adjust:100%;}h1,h2,h3,h4,h5,h6,p,ul,li{padding:0;margin:0}ul{list-style:none}:host{box-sizing:border-box;line-height:1.3;-webkit-text-size-adjust:100%;font-size:100%}:host *,:host *::before,:host *::after{box-sizing:inherit;font-family:"Nunito Sans"}body{margin:0}main{display:block}h1{font-size:2em;margin:0.67em 0}hr{box-sizing:content-box;height:0;overflow:visible;}pre{font-family:monospace, monospace;font-size:1em;}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;text-decoration:underline dotted;}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace, monospace;font-size:1em;}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0;}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:0.35em 0.75em 0.625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal;}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0;}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px;}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit;}details{display:block}summary{display:list-item}template{display:none}[hidden]{display:none}:root{--spw-ds-container-xl:1232px;--spw-ds-container-lg:1024px;--spw-ds-container-md:768px;--spw-ds-container-sm:640px}.spw-ds-container{width:100%;padding-left:16px;padding-right:16px;margin-left:auto;margin-right:auto}@media (min-width: 460px){.spw-ds-container{max-width:var(--spw-ds-container-sm)}}@media (min-width: 768px){.spw-ds-container{max-width:var(--spw-ds-container-md)}}@media (min-width: 1024px){.spw-ds-container{max-width:var(--spw-ds-container-lg)}}@media (min-width: 1350px){.spw-ds-container{max-width:var(--spw-ds-container-xl)}}:host{display:inline-flex;vertical-align:top}.spw-radio{display:inline-flex;flex-direction:row;align-items:flex-start;padding:0}.spw-radio__wrapper{display:flex;position:relative;justify-content:center;align-items:center;width:20px;height:20px;background-color:var(--spw-ds-white);border:2px solid var(--spw-color-themes-grey-grey-900);border-radius:var(--spw-spacings-border-radius-full);font-size:var(--spw-typography-font-size-xs);flex:none;order:0;flex-grow:0}.spw-radio__wrapper--error{border-color:var(--spw-colors-dark-states-error-error-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):hover{outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-visible,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):active,.spw-radio__wrapper:not(.spw-radio__wrapper--disabled):focus-within{outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__wrapper--disabled{border-color:var(--spw-color-themes-grey-grey-500)}.spw-radio__wrapper--checked{border-color:var(--spw-ds-primary);color:var(--spw-ds-primary)}.spw-radio__wrapper--checked--disabled{color:var(--spw-color-themes-grey-grey-500)}.spw-radio__circle{width:10px;height:10px;position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);border-radius:var(--spw-spacings-border-radius-full);background:var(--spw-ds-primary);display:block}.spw-radio__label{color:var(--spw-color-themes-grey-grey-900);word-wrap:break-word;order:1;padding-top:1px;user-select:none;padding-left:var(--spw-spacings-spacing-sm)}.spw-radio__label:hover~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:4px solid var(--spw-color-themes-grey-grey-300)}.spw-radio__label:active~.spw-radio__wrapper:not(.spw-radio__wrapper--disabled){outline:2px solid white;outline-offset:0;box-shadow:0 0 0 4px black}.spw-radio__label--disabled{color:var(--spw-color-themes-grey-grey-600)}.spw-radio__wrapper:hover,.spw-radio__label:hover{cursor:pointer}.spw-radio__wrapper--disabled:hover,.spw-radio__label--disabled:hover{cursor:not-allowed}';export{s as spw_radio}
|