@spw-ds/spw-stencil-library 1.12.2-alpha.0 → 1.12.2
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/cem.json +40 -0
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/spw-header-navigation.cjs.entry.js +3 -1
- package/dist/cjs/spw-stencil-library.cjs.js +1 -1
- package/dist/cjs/spw-wizard.cjs.entry.js +5 -3
- package/dist/collection/components/spw-header/spw-header-navigation/spw-header-navigation.js +23 -1
- package/dist/collection/components/spw-wizard/spw-wizard.js +25 -3
- package/dist/components/spw-header-navigation.js +1 -1
- package/dist/components/spw-wizard.js +1 -1
- package/dist/components_json.json +59 -1
- package/dist/components_vscode.json +8 -0
- package/dist/esm/loader.js +1 -1
- package/dist/esm/spw-header-navigation.entry.js +3 -1
- package/dist/esm/spw-stencil-library.js +1 -1
- package/dist/esm/spw-wizard.entry.js +5 -3
- package/dist/spw-stencil-library/p-36e966b6.entry.js +1 -0
- package/dist/spw-stencil-library/p-d16208aa.entry.js +1 -0
- package/dist/spw-stencil-library/spw-stencil-library.esm.js +1 -1
- package/dist/stats.json +124 -16
- package/dist/types/components/spw-header/spw-header-navigation/spw-header-navigation.d.ts +2 -0
- package/dist/types/components/spw-wizard/spw-wizard.d.ts +2 -0
- package/dist/types/components.d.ts +22 -0
- package/hydrate/index.js +10 -4
- package/hydrate/index.mjs +10 -4
- package/package.json +1 -1
- package/dist/spw-stencil-library/p-5bdf3e69.entry.js +0 -1
- package/dist/spw-stencil-library/p-8491ce96.entry.js +0 -1
package/dist/stats.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"timestamp": "2026-05-
|
|
2
|
+
"timestamp": "2026-05-19T08:03:40",
|
|
3
3
|
"compiler": {
|
|
4
4
|
"name": "node",
|
|
5
5
|
"version": "18.19.1"
|
|
@@ -633,6 +633,7 @@
|
|
|
633
633
|
"./dist/spw-stencil-library/p-2aecf4aa.entry.js",
|
|
634
634
|
"./dist/spw-stencil-library/p-2c58d495.entry.js",
|
|
635
635
|
"./dist/spw-stencil-library/p-2cdffa52.entry.js",
|
|
636
|
+
"./dist/spw-stencil-library/p-36e966b6.entry.js",
|
|
636
637
|
"./dist/spw-stencil-library/p-3a5aa905.entry.js",
|
|
637
638
|
"./dist/spw-stencil-library/p-3e27dae3.entry.js",
|
|
638
639
|
"./dist/spw-stencil-library/p-41dac78f.entry.js",
|
|
@@ -642,7 +643,6 @@
|
|
|
642
643
|
"./dist/spw-stencil-library/p-548efe71.entry.js",
|
|
643
644
|
"./dist/spw-stencil-library/p-56898654.entry.js",
|
|
644
645
|
"./dist/spw-stencil-library/p-59b8ba01.entry.js",
|
|
645
|
-
"./dist/spw-stencil-library/p-5bdf3e69.entry.js",
|
|
646
646
|
"./dist/spw-stencil-library/p-5faae2e0.entry.js",
|
|
647
647
|
"./dist/spw-stencil-library/p-64741460.entry.js",
|
|
648
648
|
"./dist/spw-stencil-library/p-65dd5c74.entry.js",
|
|
@@ -656,7 +656,6 @@
|
|
|
656
656
|
"./dist/spw-stencil-library/p-7c2cbe6c.entry.js",
|
|
657
657
|
"./dist/spw-stencil-library/p-7c40f2d0.entry.js",
|
|
658
658
|
"./dist/spw-stencil-library/p-809bc00b.entry.js",
|
|
659
|
-
"./dist/spw-stencil-library/p-8491ce96.entry.js",
|
|
660
659
|
"./dist/spw-stencil-library/p-85d6d0d4.entry.js",
|
|
661
660
|
"./dist/spw-stencil-library/p-86737504.entry.js",
|
|
662
661
|
"./dist/spw-stencil-library/p-868af137.entry.js",
|
|
@@ -688,6 +687,7 @@
|
|
|
688
687
|
"./dist/spw-stencil-library/p-c778adaa.entry.js",
|
|
689
688
|
"./dist/spw-stencil-library/p-cdd86935.entry.js",
|
|
690
689
|
"./dist/spw-stencil-library/p-ceeb01c4.entry.js",
|
|
690
|
+
"./dist/spw-stencil-library/p-d16208aa.entry.js",
|
|
691
691
|
"./dist/spw-stencil-library/p-d38788c4.entry.js",
|
|
692
692
|
"./dist/spw-stencil-library/p-d3d7e4bf.entry.js",
|
|
693
693
|
"./dist/spw-stencil-library/p-d3e2f712.entry.js",
|
|
@@ -731,6 +731,7 @@
|
|
|
731
731
|
"./www/build/p-2aecf4aa.entry.js",
|
|
732
732
|
"./www/build/p-2c58d495.entry.js",
|
|
733
733
|
"./www/build/p-2cdffa52.entry.js",
|
|
734
|
+
"./www/build/p-36e966b6.entry.js",
|
|
734
735
|
"./www/build/p-3a5aa905.entry.js",
|
|
735
736
|
"./www/build/p-3e27dae3.entry.js",
|
|
736
737
|
"./www/build/p-41dac78f.entry.js",
|
|
@@ -740,7 +741,6 @@
|
|
|
740
741
|
"./www/build/p-548efe71.entry.js",
|
|
741
742
|
"./www/build/p-56898654.entry.js",
|
|
742
743
|
"./www/build/p-59b8ba01.entry.js",
|
|
743
|
-
"./www/build/p-5bdf3e69.entry.js",
|
|
744
744
|
"./www/build/p-5faae2e0.entry.js",
|
|
745
745
|
"./www/build/p-64741460.entry.js",
|
|
746
746
|
"./www/build/p-65dd5c74.entry.js",
|
|
@@ -754,7 +754,6 @@
|
|
|
754
754
|
"./www/build/p-7c2cbe6c.entry.js",
|
|
755
755
|
"./www/build/p-7c40f2d0.entry.js",
|
|
756
756
|
"./www/build/p-809bc00b.entry.js",
|
|
757
|
-
"./www/build/p-8491ce96.entry.js",
|
|
758
757
|
"./www/build/p-85d6d0d4.entry.js",
|
|
759
758
|
"./www/build/p-86737504.entry.js",
|
|
760
759
|
"./www/build/p-868af137.entry.js",
|
|
@@ -786,6 +785,7 @@
|
|
|
786
785
|
"./www/build/p-c778adaa.entry.js",
|
|
787
786
|
"./www/build/p-cdd86935.entry.js",
|
|
788
787
|
"./www/build/p-ceeb01c4.entry.js",
|
|
788
|
+
"./www/build/p-d16208aa.entry.js",
|
|
789
789
|
"./www/build/p-d38788c4.entry.js",
|
|
790
790
|
"./www/build/p-d3d7e4bf.entry.js",
|
|
791
791
|
"./www/build/p-d3e2f712.entry.js",
|
|
@@ -1166,12 +1166,12 @@
|
|
|
1166
1166
|
"components": [
|
|
1167
1167
|
"spw-header-navigation"
|
|
1168
1168
|
],
|
|
1169
|
-
"bundleId": "p-
|
|
1170
|
-
"fileName": "p-
|
|
1169
|
+
"bundleId": "p-36e966b6",
|
|
1170
|
+
"fileName": "p-36e966b6.entry.js",
|
|
1171
1171
|
"imports": [
|
|
1172
1172
|
"p-BvJ4Kko5.js"
|
|
1173
1173
|
],
|
|
1174
|
-
"originalByteSize":
|
|
1174
|
+
"originalByteSize": 9686
|
|
1175
1175
|
},
|
|
1176
1176
|
{
|
|
1177
1177
|
"key": "spw-header-navigation-dropdown.entry",
|
|
@@ -1779,12 +1779,12 @@
|
|
|
1779
1779
|
"components": [
|
|
1780
1780
|
"spw-wizard"
|
|
1781
1781
|
],
|
|
1782
|
-
"bundleId": "p-
|
|
1783
|
-
"fileName": "p-
|
|
1782
|
+
"bundleId": "p-d16208aa",
|
|
1783
|
+
"fileName": "p-d16208aa.entry.js",
|
|
1784
1784
|
"imports": [
|
|
1785
1785
|
"p-BvJ4Kko5.js"
|
|
1786
1786
|
],
|
|
1787
|
-
"originalByteSize":
|
|
1787
|
+
"originalByteSize": 6382
|
|
1788
1788
|
},
|
|
1789
1789
|
{
|
|
1790
1790
|
"key": "spw-wizard-item.entry",
|
|
@@ -2295,7 +2295,7 @@
|
|
|
2295
2295
|
"imports": [
|
|
2296
2296
|
"index-BvJ4Kko5.js"
|
|
2297
2297
|
],
|
|
2298
|
-
"originalByteSize":
|
|
2298
|
+
"originalByteSize": 9690
|
|
2299
2299
|
},
|
|
2300
2300
|
{
|
|
2301
2301
|
"key": "spw-header-navigation-dropdown.entry",
|
|
@@ -2908,7 +2908,7 @@
|
|
|
2908
2908
|
"imports": [
|
|
2909
2909
|
"index-BvJ4Kko5.js"
|
|
2910
2910
|
],
|
|
2911
|
-
"originalByteSize":
|
|
2911
|
+
"originalByteSize": 6386
|
|
2912
2912
|
},
|
|
2913
2913
|
{
|
|
2914
2914
|
"key": "spw-wizard-item.entry",
|
|
@@ -3421,7 +3421,7 @@
|
|
|
3421
3421
|
"imports": [
|
|
3422
3422
|
"index-id_AkABS.js"
|
|
3423
3423
|
],
|
|
3424
|
-
"originalByteSize":
|
|
3424
|
+
"originalByteSize": 9761
|
|
3425
3425
|
},
|
|
3426
3426
|
{
|
|
3427
3427
|
"key": "spw-header-navigation-dropdown.entry",
|
|
@@ -4034,7 +4034,7 @@
|
|
|
4034
4034
|
"imports": [
|
|
4035
4035
|
"index-id_AkABS.js"
|
|
4036
4036
|
],
|
|
4037
|
-
"originalByteSize":
|
|
4037
|
+
"originalByteSize": 6373
|
|
4038
4038
|
},
|
|
4039
4039
|
{
|
|
4040
4040
|
"key": "spw-wizard-item.entry",
|
|
@@ -13079,6 +13079,33 @@
|
|
|
13079
13079
|
"internal": false,
|
|
13080
13080
|
"getter": false,
|
|
13081
13081
|
"setter": false
|
|
13082
|
+
},
|
|
13083
|
+
{
|
|
13084
|
+
"name": "homepageLabel",
|
|
13085
|
+
"type": "string",
|
|
13086
|
+
"attribute": "homepage-label",
|
|
13087
|
+
"reflect": false,
|
|
13088
|
+
"mutable": false,
|
|
13089
|
+
"required": false,
|
|
13090
|
+
"optional": true,
|
|
13091
|
+
"defaultValue": "\"Page d'accueil\"",
|
|
13092
|
+
"complexType": {
|
|
13093
|
+
"original": "string",
|
|
13094
|
+
"resolved": "string",
|
|
13095
|
+
"references": {}
|
|
13096
|
+
},
|
|
13097
|
+
"docs": {
|
|
13098
|
+
"tags": [
|
|
13099
|
+
{
|
|
13100
|
+
"name": "default",
|
|
13101
|
+
"text": "\"Page d'accueil\""
|
|
13102
|
+
}
|
|
13103
|
+
],
|
|
13104
|
+
"text": "Texte du lien \"Page d'accueil\" dans la navigation mobile"
|
|
13105
|
+
},
|
|
13106
|
+
"internal": false,
|
|
13107
|
+
"getter": false,
|
|
13108
|
+
"setter": false
|
|
13082
13109
|
}
|
|
13083
13110
|
],
|
|
13084
13111
|
"shadowDelegatesFocus": false,
|
|
@@ -27348,6 +27375,33 @@
|
|
|
27348
27375
|
"internal": false,
|
|
27349
27376
|
"getter": false,
|
|
27350
27377
|
"setter": false
|
|
27378
|
+
},
|
|
27379
|
+
{
|
|
27380
|
+
"name": "canClickNextSteps",
|
|
27381
|
+
"type": "boolean",
|
|
27382
|
+
"attribute": "can-click-next-steps",
|
|
27383
|
+
"reflect": false,
|
|
27384
|
+
"mutable": false,
|
|
27385
|
+
"required": false,
|
|
27386
|
+
"optional": true,
|
|
27387
|
+
"defaultValue": "false",
|
|
27388
|
+
"complexType": {
|
|
27389
|
+
"original": "boolean",
|
|
27390
|
+
"resolved": "boolean",
|
|
27391
|
+
"references": {}
|
|
27392
|
+
},
|
|
27393
|
+
"docs": {
|
|
27394
|
+
"tags": [
|
|
27395
|
+
{
|
|
27396
|
+
"name": "default",
|
|
27397
|
+
"text": "false"
|
|
27398
|
+
}
|
|
27399
|
+
],
|
|
27400
|
+
"text": "Si `true`, les étapes suivantes sont également cliquables"
|
|
27401
|
+
},
|
|
27402
|
+
"internal": false,
|
|
27403
|
+
"getter": false,
|
|
27404
|
+
"setter": false
|
|
27351
27405
|
}
|
|
27352
27406
|
],
|
|
27353
27407
|
"shadowDelegatesFocus": false,
|
|
@@ -39902,6 +39956,33 @@
|
|
|
39902
39956
|
"internal": false,
|
|
39903
39957
|
"getter": false,
|
|
39904
39958
|
"setter": false
|
|
39959
|
+
},
|
|
39960
|
+
{
|
|
39961
|
+
"name": "homepageLabel",
|
|
39962
|
+
"type": "string",
|
|
39963
|
+
"attribute": "homepage-label",
|
|
39964
|
+
"reflect": false,
|
|
39965
|
+
"mutable": false,
|
|
39966
|
+
"required": false,
|
|
39967
|
+
"optional": true,
|
|
39968
|
+
"defaultValue": "\"Page d'accueil\"",
|
|
39969
|
+
"complexType": {
|
|
39970
|
+
"original": "string",
|
|
39971
|
+
"resolved": "string",
|
|
39972
|
+
"references": {}
|
|
39973
|
+
},
|
|
39974
|
+
"docs": {
|
|
39975
|
+
"tags": [
|
|
39976
|
+
{
|
|
39977
|
+
"name": "default",
|
|
39978
|
+
"text": "\"Page d'accueil\""
|
|
39979
|
+
}
|
|
39980
|
+
],
|
|
39981
|
+
"text": "Texte du lien \"Page d'accueil\" dans la navigation mobile"
|
|
39982
|
+
},
|
|
39983
|
+
"internal": false,
|
|
39984
|
+
"getter": false,
|
|
39985
|
+
"setter": false
|
|
39905
39986
|
}
|
|
39906
39987
|
],
|
|
39907
39988
|
"virtualProperties": [],
|
|
@@ -57082,6 +57163,33 @@
|
|
|
57082
57163
|
"internal": false,
|
|
57083
57164
|
"getter": false,
|
|
57084
57165
|
"setter": false
|
|
57166
|
+
},
|
|
57167
|
+
{
|
|
57168
|
+
"name": "canClickNextSteps",
|
|
57169
|
+
"type": "boolean",
|
|
57170
|
+
"attribute": "can-click-next-steps",
|
|
57171
|
+
"reflect": false,
|
|
57172
|
+
"mutable": false,
|
|
57173
|
+
"required": false,
|
|
57174
|
+
"optional": true,
|
|
57175
|
+
"defaultValue": "false",
|
|
57176
|
+
"complexType": {
|
|
57177
|
+
"original": "boolean",
|
|
57178
|
+
"resolved": "boolean",
|
|
57179
|
+
"references": {}
|
|
57180
|
+
},
|
|
57181
|
+
"docs": {
|
|
57182
|
+
"tags": [
|
|
57183
|
+
{
|
|
57184
|
+
"name": "default",
|
|
57185
|
+
"text": "false"
|
|
57186
|
+
}
|
|
57187
|
+
],
|
|
57188
|
+
"text": "Si `true`, les étapes suivantes sont également cliquables"
|
|
57189
|
+
},
|
|
57190
|
+
"internal": false,
|
|
57191
|
+
"getter": false,
|
|
57192
|
+
"setter": false
|
|
57085
57193
|
}
|
|
57086
57194
|
],
|
|
57087
57195
|
"virtualProperties": [],
|
|
@@ -57202,7 +57310,7 @@
|
|
|
57202
57310
|
"hasAttribute": true,
|
|
57203
57311
|
"hasProp": true,
|
|
57204
57312
|
"hasPropNumber": true,
|
|
57205
|
-
"hasPropBoolean":
|
|
57313
|
+
"hasPropBoolean": true,
|
|
57206
57314
|
"hasPropString": true,
|
|
57207
57315
|
"hasPropMutable": true,
|
|
57208
57316
|
"hasReflect": false,
|
|
@@ -21,6 +21,8 @@ export declare class SpwHeaderNavigation {
|
|
|
21
21
|
extraButtonVariant?: 'primary' | 'secondary';
|
|
22
22
|
/** Icône de l'extra button (référence font-awesome) */
|
|
23
23
|
extraButtonIcon?: string;
|
|
24
|
+
/** Texte du lien "Page d'accueil" dans la navigation mobile */
|
|
25
|
+
homepageLabel?: string;
|
|
24
26
|
private redirectToHome;
|
|
25
27
|
handleNavigation(event: CustomEvent<{
|
|
26
28
|
level: number;
|
|
@@ -5,6 +5,8 @@ export declare class SpwWizard {
|
|
|
5
5
|
currentStep: number;
|
|
6
6
|
/** Orientation du wizard */
|
|
7
7
|
variant?: 'horizontal' | 'vertical';
|
|
8
|
+
/** Si `true`, les étapes suivantes sont également cliquables */
|
|
9
|
+
canClickNextSteps?: boolean;
|
|
8
10
|
/** Événement émis lors du clic sur une étape antérieure */
|
|
9
11
|
stepClick: EventEmitter<number>;
|
|
10
12
|
componentWillLoad(): void;
|
|
@@ -1423,6 +1423,11 @@ export namespace Components {
|
|
|
1423
1423
|
* @default 'primary'
|
|
1424
1424
|
*/
|
|
1425
1425
|
"extraButtonVariant"?: 'primary' | 'secondary';
|
|
1426
|
+
/**
|
|
1427
|
+
* Texte du lien "Page d'accueil" dans la navigation mobile
|
|
1428
|
+
* @default "Page d'accueil"
|
|
1429
|
+
*/
|
|
1430
|
+
"homepageLabel"?: string;
|
|
1426
1431
|
}
|
|
1427
1432
|
interface SpwHeaderNavigationDropdown {
|
|
1428
1433
|
/**
|
|
@@ -3568,6 +3573,11 @@ export namespace Components {
|
|
|
3568
3573
|
"siteTitle"?: string;
|
|
3569
3574
|
}
|
|
3570
3575
|
interface SpwWizard {
|
|
3576
|
+
/**
|
|
3577
|
+
* Si `true`, les étapes suivantes sont également cliquables
|
|
3578
|
+
* @default false
|
|
3579
|
+
*/
|
|
3580
|
+
"canClickNextSteps"?: boolean;
|
|
3571
3581
|
/**
|
|
3572
3582
|
* Étape actuellement active (index basé sur 1)
|
|
3573
3583
|
* @default 1
|
|
@@ -6295,6 +6305,11 @@ declare namespace LocalJSX {
|
|
|
6295
6305
|
* @default 'primary'
|
|
6296
6306
|
*/
|
|
6297
6307
|
"extraButtonVariant"?: 'primary' | 'secondary';
|
|
6308
|
+
/**
|
|
6309
|
+
* Texte du lien "Page d'accueil" dans la navigation mobile
|
|
6310
|
+
* @default "Page d'accueil"
|
|
6311
|
+
*/
|
|
6312
|
+
"homepageLabel"?: string;
|
|
6298
6313
|
}
|
|
6299
6314
|
interface SpwHeaderNavigationDropdown {
|
|
6300
6315
|
/**
|
|
@@ -8439,6 +8454,11 @@ declare namespace LocalJSX {
|
|
|
8439
8454
|
"siteTitle"?: string;
|
|
8440
8455
|
}
|
|
8441
8456
|
interface SpwWizard {
|
|
8457
|
+
/**
|
|
8458
|
+
* Si `true`, les étapes suivantes sont également cliquables
|
|
8459
|
+
* @default false
|
|
8460
|
+
*/
|
|
8461
|
+
"canClickNextSteps"?: boolean;
|
|
8442
8462
|
/**
|
|
8443
8463
|
* Étape actuellement active (index basé sur 1)
|
|
8444
8464
|
* @default 1
|
|
@@ -8855,6 +8875,7 @@ declare namespace LocalJSX {
|
|
|
8855
8875
|
"extraButtonText": string;
|
|
8856
8876
|
"extraButtonVariant": 'primary' | 'secondary';
|
|
8857
8877
|
"extraButtonIcon": string;
|
|
8878
|
+
"homepageLabel": string;
|
|
8858
8879
|
}
|
|
8859
8880
|
interface SpwHeaderNavigationDropdownAttributes {
|
|
8860
8881
|
"viewMoreText": string;
|
|
@@ -9373,6 +9394,7 @@ declare namespace LocalJSX {
|
|
|
9373
9394
|
interface SpwWizardAttributes {
|
|
9374
9395
|
"currentStep": number;
|
|
9375
9396
|
"variant": 'horizontal' | 'vertical';
|
|
9397
|
+
"canClickNextSteps": boolean;
|
|
9376
9398
|
}
|
|
9377
9399
|
interface SpwWizardItemAttributes {
|
|
9378
9400
|
"label": string;
|
package/hydrate/index.js
CHANGED
|
@@ -9625,6 +9625,8 @@ class SpwHeaderNavigation {
|
|
|
9625
9625
|
this.extraButtonTarget = '_self';
|
|
9626
9626
|
/** Variant de l'extra button */
|
|
9627
9627
|
this.extraButtonVariant = 'primary';
|
|
9628
|
+
/** Texte du lien "Page d'accueil" dans la navigation mobile */
|
|
9629
|
+
this.homepageLabel = "Page d'accueil";
|
|
9628
9630
|
}
|
|
9629
9631
|
componentDidLoad() {
|
|
9630
9632
|
this.updateHeightVar();
|
|
@@ -9677,7 +9679,7 @@ class SpwHeaderNavigation {
|
|
|
9677
9679
|
};
|
|
9678
9680
|
}
|
|
9679
9681
|
render() {
|
|
9680
|
-
return (hAsync(Host, { key: '
|
|
9682
|
+
return (hAsync(Host, { key: 'cc8b36bb6c54587e51246dba2b2d564712884dde' }, hAsync("nav", { key: '8aabc608c255c4b9dc399598cf69835cef34b5da', class: this.elementClass, ref: el => (this.navEl = el) }, hAsync("div", { key: 'fac953ae5c2cde5bbae25935f0cb8d8b12ed8272', class: "spw-ds-container spw-tw-flex spw-tw-items-center spw-tw-justify-between" }, hAsync("div", { key: 'f4c37ea68a814ba7348b24b0f429621ad0b8caaf', class: "spw-header-navigation__list" }, hAsync("div", { key: '2498432ef6645dcb688310e4498ecbe0b75c8aa3', class: "spw-header-navigation__list-back" }, hAsync("a", { key: '770ff2e852900f662b09ff095173f96c2803c3d4', href: "#", onClick: event => this.redirectToHome(event) }, hAsync("spw-icon", { key: 'b1eda2204772067b8a8084bd4c2b3617e6912287', icon: "fa-chevron-left" }), " ", hAsync("span", { key: 'c0a05bde1b81645addde13496fa49c71944fef3d' }, this.homepageLabel))), hAsync("slot", { key: 'ce4bb4c4afd10d1835c3655ec080146d138babfd' })), this.extraButton && (hAsync("div", { key: '39f6796ce53a36d012bb0d93907359aaa2026780', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--desktop" }, hAsync("spw-button", { key: 'e19fa4ee5d998c292b91c695673b61fca0b93de0', variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText))))), this.extraButton && (hAsync("div", { key: '28d532d75dd97ecf9baa839ef82b45a10552a57c', class: "spw-header-navigation__extra-button-parent spw-header-navigation__extra-button--mobile" }, hAsync("div", { key: '2e2f457c7fd5bccb33e5230fc9c7bb3fb5de9e9c', class: "spw-ds-container" }, hAsync("div", { key: 'debb676659f4bf665fd54b97ba939cff3cd4bd91', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--mobile" }, hAsync("spw-button", { key: 'bbf06e4972a91addb151a33c03f13191149b725a', "is-full-width": "true", variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText)))))));
|
|
9681
9683
|
}
|
|
9682
9684
|
get el() { return getElement(this); }
|
|
9683
9685
|
static get style() { return spwHeaderNavigationCss(); }
|
|
@@ -9692,6 +9694,7 @@ class SpwHeaderNavigation {
|
|
|
9692
9694
|
"extraButtonText": [1, "extra-button-text"],
|
|
9693
9695
|
"extraButtonVariant": [1, "extra-button-variant"],
|
|
9694
9696
|
"extraButtonIcon": [1, "extra-button-icon"],
|
|
9697
|
+
"homepageLabel": [1, "homepage-label"],
|
|
9695
9698
|
"level": [32],
|
|
9696
9699
|
"element": [32]
|
|
9697
9700
|
},
|
|
@@ -22439,6 +22442,8 @@ class SpwWizard {
|
|
|
22439
22442
|
this.currentStep = 1;
|
|
22440
22443
|
/** Orientation du wizard */
|
|
22441
22444
|
this.variant = 'horizontal';
|
|
22445
|
+
/** Si `true`, les étapes suivantes sont également cliquables */
|
|
22446
|
+
this.canClickNextSteps = false;
|
|
22442
22447
|
}
|
|
22443
22448
|
componentWillLoad() {
|
|
22444
22449
|
this.updateStepsState();
|
|
@@ -22454,7 +22459,7 @@ class SpwWizard {
|
|
|
22454
22459
|
}
|
|
22455
22460
|
handleStepClick(event) {
|
|
22456
22461
|
const clickedStep = event.detail;
|
|
22457
|
-
if (clickedStep < this.currentStep) {
|
|
22462
|
+
if (clickedStep < this.currentStep || (this.canClickNextSteps && clickedStep > this.currentStep)) {
|
|
22458
22463
|
this.currentStep = clickedStep;
|
|
22459
22464
|
this.updateStepsState();
|
|
22460
22465
|
this.stepClick.emit(clickedStep);
|
|
@@ -22491,7 +22496,7 @@ class SpwWizard {
|
|
|
22491
22496
|
item.setAttribute('variant', this.variant);
|
|
22492
22497
|
item.setAttribute('step-number', stepNumber.toString());
|
|
22493
22498
|
item.setAttribute('is-last', (index === items.length - 1).toString());
|
|
22494
|
-
item.setAttribute('is-clickable', (stepNumber < this.currentStep).toString());
|
|
22499
|
+
item.setAttribute('is-clickable', (stepNumber !== this.currentStep && (stepNumber < this.currentStep || this.canClickNextSteps)).toString());
|
|
22495
22500
|
item.setAttribute('is-current', (stepNumber === this.currentStep).toString());
|
|
22496
22501
|
item.setAttribute('is-before-current', (stepNumber < this.currentStep).toString());
|
|
22497
22502
|
item.setAttribute('is-after-current', (stepNumber > this.currentStep).toString());
|
|
@@ -22505,7 +22510,7 @@ class SpwWizard {
|
|
|
22505
22510
|
};
|
|
22506
22511
|
}
|
|
22507
22512
|
render() {
|
|
22508
|
-
return (hAsync(Host, { key: '
|
|
22513
|
+
return (hAsync(Host, { key: 'a5eba43b0339adced1c10ba67a6fee404ab23ba7' }, hAsync("div", { key: 'f0df2e2aece93f90e94d00fa9830c111783f3b55', class: this.elementClass }, hAsync("slot", { key: '73a3daa9ba48010f31d71e200c5c2b4f1ef95cac' }))));
|
|
22509
22514
|
}
|
|
22510
22515
|
get el() { return getElement(this); }
|
|
22511
22516
|
static get style() { return spwWizardCss(); }
|
|
@@ -22515,6 +22520,7 @@ class SpwWizard {
|
|
|
22515
22520
|
"$members$": {
|
|
22516
22521
|
"currentStep": [1026, "current-step"],
|
|
22517
22522
|
"variant": [1],
|
|
22523
|
+
"canClickNextSteps": [4, "can-click-next-steps"],
|
|
22518
22524
|
"setStep": [64]
|
|
22519
22525
|
},
|
|
22520
22526
|
"$listeners$": [[0, "slotchange", "slotChanged"], [0, "wizardItemClick", "handleStepClick"]],
|
package/hydrate/index.mjs
CHANGED
|
@@ -9623,6 +9623,8 @@ class SpwHeaderNavigation {
|
|
|
9623
9623
|
this.extraButtonTarget = '_self';
|
|
9624
9624
|
/** Variant de l'extra button */
|
|
9625
9625
|
this.extraButtonVariant = 'primary';
|
|
9626
|
+
/** Texte du lien "Page d'accueil" dans la navigation mobile */
|
|
9627
|
+
this.homepageLabel = "Page d'accueil";
|
|
9626
9628
|
}
|
|
9627
9629
|
componentDidLoad() {
|
|
9628
9630
|
this.updateHeightVar();
|
|
@@ -9675,7 +9677,7 @@ class SpwHeaderNavigation {
|
|
|
9675
9677
|
};
|
|
9676
9678
|
}
|
|
9677
9679
|
render() {
|
|
9678
|
-
return (hAsync(Host, { key: '
|
|
9680
|
+
return (hAsync(Host, { key: 'cc8b36bb6c54587e51246dba2b2d564712884dde' }, hAsync("nav", { key: '8aabc608c255c4b9dc399598cf69835cef34b5da', class: this.elementClass, ref: el => (this.navEl = el) }, hAsync("div", { key: 'fac953ae5c2cde5bbae25935f0cb8d8b12ed8272', class: "spw-ds-container spw-tw-flex spw-tw-items-center spw-tw-justify-between" }, hAsync("div", { key: 'f4c37ea68a814ba7348b24b0f429621ad0b8caaf', class: "spw-header-navigation__list" }, hAsync("div", { key: '2498432ef6645dcb688310e4498ecbe0b75c8aa3', class: "spw-header-navigation__list-back" }, hAsync("a", { key: '770ff2e852900f662b09ff095173f96c2803c3d4', href: "#", onClick: event => this.redirectToHome(event) }, hAsync("spw-icon", { key: 'b1eda2204772067b8a8084bd4c2b3617e6912287', icon: "fa-chevron-left" }), " ", hAsync("span", { key: 'c0a05bde1b81645addde13496fa49c71944fef3d' }, this.homepageLabel))), hAsync("slot", { key: 'ce4bb4c4afd10d1835c3655ec080146d138babfd' })), this.extraButton && (hAsync("div", { key: '39f6796ce53a36d012bb0d93907359aaa2026780', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--desktop" }, hAsync("spw-button", { key: 'e19fa4ee5d998c292b91c695673b61fca0b93de0', variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText))))), this.extraButton && (hAsync("div", { key: '28d532d75dd97ecf9baa839ef82b45a10552a57c', class: "spw-header-navigation__extra-button-parent spw-header-navigation__extra-button--mobile" }, hAsync("div", { key: '2e2f457c7fd5bccb33e5230fc9c7bb3fb5de9e9c', class: "spw-ds-container" }, hAsync("div", { key: 'debb676659f4bf665fd54b97ba939cff3cd4bd91', class: "spw-header-navigation__extra-button spw-header-navigation__extra-button--mobile" }, hAsync("spw-button", { key: 'bbf06e4972a91addb151a33c03f13191149b725a', "is-full-width": "true", variant: this.extraButtonVariant, icon: this.extraButtonIcon, href: this.extraButtonHref, target: this.extraButtonTarget, size: "small" }, this.extraButtonText)))))));
|
|
9679
9681
|
}
|
|
9680
9682
|
get el() { return getElement(this); }
|
|
9681
9683
|
static get style() { return spwHeaderNavigationCss(); }
|
|
@@ -9690,6 +9692,7 @@ class SpwHeaderNavigation {
|
|
|
9690
9692
|
"extraButtonText": [1, "extra-button-text"],
|
|
9691
9693
|
"extraButtonVariant": [1, "extra-button-variant"],
|
|
9692
9694
|
"extraButtonIcon": [1, "extra-button-icon"],
|
|
9695
|
+
"homepageLabel": [1, "homepage-label"],
|
|
9693
9696
|
"level": [32],
|
|
9694
9697
|
"element": [32]
|
|
9695
9698
|
},
|
|
@@ -22437,6 +22440,8 @@ class SpwWizard {
|
|
|
22437
22440
|
this.currentStep = 1;
|
|
22438
22441
|
/** Orientation du wizard */
|
|
22439
22442
|
this.variant = 'horizontal';
|
|
22443
|
+
/** Si `true`, les étapes suivantes sont également cliquables */
|
|
22444
|
+
this.canClickNextSteps = false;
|
|
22440
22445
|
}
|
|
22441
22446
|
componentWillLoad() {
|
|
22442
22447
|
this.updateStepsState();
|
|
@@ -22452,7 +22457,7 @@ class SpwWizard {
|
|
|
22452
22457
|
}
|
|
22453
22458
|
handleStepClick(event) {
|
|
22454
22459
|
const clickedStep = event.detail;
|
|
22455
|
-
if (clickedStep < this.currentStep) {
|
|
22460
|
+
if (clickedStep < this.currentStep || (this.canClickNextSteps && clickedStep > this.currentStep)) {
|
|
22456
22461
|
this.currentStep = clickedStep;
|
|
22457
22462
|
this.updateStepsState();
|
|
22458
22463
|
this.stepClick.emit(clickedStep);
|
|
@@ -22489,7 +22494,7 @@ class SpwWizard {
|
|
|
22489
22494
|
item.setAttribute('variant', this.variant);
|
|
22490
22495
|
item.setAttribute('step-number', stepNumber.toString());
|
|
22491
22496
|
item.setAttribute('is-last', (index === items.length - 1).toString());
|
|
22492
|
-
item.setAttribute('is-clickable', (stepNumber < this.currentStep).toString());
|
|
22497
|
+
item.setAttribute('is-clickable', (stepNumber !== this.currentStep && (stepNumber < this.currentStep || this.canClickNextSteps)).toString());
|
|
22493
22498
|
item.setAttribute('is-current', (stepNumber === this.currentStep).toString());
|
|
22494
22499
|
item.setAttribute('is-before-current', (stepNumber < this.currentStep).toString());
|
|
22495
22500
|
item.setAttribute('is-after-current', (stepNumber > this.currentStep).toString());
|
|
@@ -22503,7 +22508,7 @@ class SpwWizard {
|
|
|
22503
22508
|
};
|
|
22504
22509
|
}
|
|
22505
22510
|
render() {
|
|
22506
|
-
return (hAsync(Host, { key: '
|
|
22511
|
+
return (hAsync(Host, { key: 'a5eba43b0339adced1c10ba67a6fee404ab23ba7' }, hAsync("div", { key: 'f0df2e2aece93f90e94d00fa9830c111783f3b55', class: this.elementClass }, hAsync("slot", { key: '73a3daa9ba48010f31d71e200c5c2b4f1ef95cac' }))));
|
|
22507
22512
|
}
|
|
22508
22513
|
get el() { return getElement(this); }
|
|
22509
22514
|
static get style() { return spwWizardCss(); }
|
|
@@ -22513,6 +22518,7 @@ class SpwWizard {
|
|
|
22513
22518
|
"$members$": {
|
|
22514
22519
|
"currentStep": [1026, "current-step"],
|
|
22515
22520
|
"variant": [1],
|
|
22521
|
+
"canClickNextSteps": [4, "can-click-next-steps"],
|
|
22516
22522
|
"setStep": [64]
|
|
22517
22523
|
},
|
|
22518
22524
|
"$listeners$": [[0, "slotchange", "slotChanged"], [0, "wizardItemClick", "handleStepClick"]],
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as t,c as e,h as i,H as s,a as n}from"./p-BvJ4Kko5.js";const o=class{constructor(i){t(this,i),this.stepClick=e(this,"stepClick",7),this.currentStep=1,this.variant="horizontal"}componentWillLoad(){this.updateStepsState()}slotChanged(){this.updateStepsState()}async setStep(t){this.currentStep=t,this.updateStepsState(),this.scrollToWizard()}handleStepClick(t){const e=t.detail;e<this.currentStep&&(this.currentStep=e,this.updateStepsState(),this.stepClick.emit(e),this.scrollToWizard())}scrollToWizard(){var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.host,i=(null==e?void 0:e.parentElement)||this.el;i&&i.scrollIntoView({behavior:"smooth",block:"start"})}updateStepsState(){requestAnimationFrame((()=>{const t=this.el.querySelectorAll("spw-wizard-item");t.forEach(((e,i)=>{const s=i+1;s>this.currentStep&&e.hasAttribute("status")&&e.removeAttribute("status"),e.hasAttribute("status")||e.setAttribute("state",s<this.currentStep?"completed":s===this.currentStep?"active":"inactive"),e.setAttribute("variant",this.variant),e.setAttribute("step-number",s.toString()),e.setAttribute("is-last",(i===t.length-1).toString()),e.setAttribute("is-clickable",(s<this.currentStep).toString()),e.setAttribute("is-current",(s===this.currentStep).toString()),e.setAttribute("is-before-current",(s<this.currentStep).toString()),e.setAttribute("is-after-current",(s>this.currentStep).toString())}))}))}get elementClass(){return{"spw-wizard":!0,[`spw-wizard--${this.variant}`]:!0}}render(){return i(s,{key:"4062f92d5d4de8c8ea59f3db5d2515a74f7348e2"},i("div",{key:"8508fd7c37b5f5efb3e05749dc16c65ba34bb762",class:this.elementClass},i("slot",{key:"054c4bf3e21d93526c34d6d6e25c3fad3b545658"})))}get el(){return n(this)}};o.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:var(--spw-ds-font-main)}body{margin:0}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:block}.spw-wizard{display:flex;gap:0}.spw-wizard--horizontal{flex-direction:row}.spw-wizard--vertical{flex-direction:column;align-items:flex-start}";export{o as spw_wizard}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{r as e,h as t,H as i,a}from"./p-BvJ4Kko5.js";const n=class{constructor(t){e(this,t),this.level=0,this.element=null,this.alignment="flex-start",this.extraButton=!1,this.extraButtonTarget="_self",this.extraButtonVariant="primary"}componentDidLoad(){this.updateHeightVar(),this.resizeObserver=new ResizeObserver((()=>this.updateHeightVar())),this.resizeObserver.observe(this.navEl)}disconnectedCallback(){var e;null===(e=this.resizeObserver)||void 0===e||e.disconnect()}updateHeightVar(){document.documentElement.style.setProperty("--spw-header-navigation-height",`${this.navEl.offsetHeight}px`)}redirectToHome(e){e.preventDefault(),window.location.href="/"}handleNavigation(e){e.stopPropagation(),this.element=e.detail.element,this.level=e.detail.level,setTimeout((()=>{this.updateNavigationItems()}),0)}updateNavigationItems(){this.getAllNavigationItems().forEach(((e,t)=>{e.setAttribute("data-id",`${t+1}`),e.setAttribute("data-level-visible",`${this.level}`)}))}getAllNavigationItems(){const e=[];return this.el.querySelectorAll("spw-header-navigation-item").forEach((t=>{e.push(t);const i=t.shadowRoot;i&&i.querySelectorAll("spw-header-navigation-item").forEach((t=>e.push(t)))})),e}get elementClass(){return{"spw-header-navigation":!0,[`spw-header-navigation--${this.alignment}`]:!0}}render(){return t(i,{key:"7e02a00c46b7de989dbd4a0d36249805a494c2bf"},t("nav",{key:"c596b8719bcda2890122ab6a490d2ea150153905",class:this.elementClass,ref:e=>this.navEl=e},t("div",{key:"42c2579e00a97af469c2a66731928741ed56390e",class:"spw-ds-container spw-tw-flex spw-tw-items-center spw-tw-justify-between"},t("div",{key:"9c8e5a295fb0e9f84227b512920306056ff0d1ea",class:"spw-header-navigation__list"},t("div",{key:"9da5ef2b5e1c8b95e1bde00a00634a90fde0bda2",class:"spw-header-navigation__list-back"},t("a",{key:"33c922fb8117da033fa637a3e62d9d3db07506dd",href:"#",onClick:e=>this.redirectToHome(e)},t("spw-icon",{key:"6f852439825b6876b2fd1bf1a9ff17c813a81406",icon:"fa-chevron-left"})," ",t("span",{key:"7551d645db0058b12143cc0372227fe698b9825e"},"Page d'accueil"))),t("slot",{key:"0deb7663476d76b6f68e00135c95ccef1bc2cb72"})),this.extraButton&&t("div",{key:"3e2aee21e622c5b12f0d9c888866a1f32ac1d008",class:"spw-header-navigation__extra-button spw-header-navigation__extra-button--desktop"},t("spw-button",{key:"5776b2f283fda296733c628463cfdebe8fd25cd1",variant:this.extraButtonVariant,icon:this.extraButtonIcon,href:this.extraButtonHref,target:this.extraButtonTarget,size:"small"},this.extraButtonText)))),this.extraButton&&t("div",{key:"d08a05c44a043ded59aaab0ddabd4f21d1fa77ff",class:"spw-header-navigation__extra-button-parent spw-header-navigation__extra-button--mobile"},t("div",{key:"4f350aae01ee1e5ce4e666a5941d7b20b13fc97b",class:"spw-ds-container"},t("div",{key:"ef7553fe6cf2e24470ee42936d184415667233da",class:"spw-header-navigation__extra-button spw-header-navigation__extra-button--mobile"},t("spw-button",{key:"2eb3cde318b2f5d6ba299375a2b6210dfec78f48","is-full-width":"true",variant:this.extraButtonVariant,icon:this.extraButtonIcon,href:this.extraButtonHref,target:this.extraButtonTarget,size:"small"},this.extraButtonText)))))}get el(){return a(this)}};n.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:var(--spw-ds-font-main)}body{margin:0}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:contents}.spw-header-navigation{display:none;left:0;width:100%;height:calc(100% - 80px);background:white;z-index:9999;overflow-y:auto;order:2;border-top:1px solid var(--spw-colors-support-grey-grey-300)}:host(.spw-ds-nav-open) .spw-header-navigation{display:flex;flex-direction:column}@media (min-width: 1024px){.spw-header-navigation{order:initial;display:block;height:auto;width:auto;overflow-y:initial;top:auto;left:auto;z-index:30}}@media (min-width: 1024px){:host(.spw-ds-search-open) .spw-header-navigation{display:none}}.spw-header-navigation__extra-button-parent{padding:16px;order:2;border-top:1px solid var(--spw-colors-support-grey-grey-300)}@media (min-width: 1024px){.spw-header-navigation__extra-button{padding-left:32px}}.spw-header-navigation__extra-button--desktop{display:none}@media (min-width: 1024px){.spw-header-navigation__extra-button--desktop{display:block}}.spw-header-navigation__extra-button--mobile{display:none}@media (max-width: 1023px){:host(.spw-ds-nav-open) .spw-header-navigation__extra-button--mobile{display:block}}.spw-header-navigation .spw-ds-container{position:relative}.spw-header-navigation__list{position:static;display:flex;flex:1;align-items:center;flex-direction:column;width:calc(100% + 32px);margin-left:-16px;margin-right:-16px}@media (min-width: 1024px){.spw-header-navigation__list{flex-direction:row}.spw-header-navigation--flex-start .spw-header-navigation__list{justify-content:flex-start}.spw-header-navigation--space-between .spw-header-navigation__list{justify-content:space-between}}@media (min-width: 1350px){.spw-header-navigation__list{gap:24px}}.spw-header-navigation__list-back{display:flex;justify-content:left;width:100%;padding:24px 16px;padding-bottom:0;position:relative;z-index:3}.spw-header-navigation__list-back:after{content:"";position:absolute;bottom:-1px;width:100%;left:0;height:1px;background:white}.spw-header-navigation__list-back a{gap:8px;display:flex;justify-content:left;align-items:center;font-weight:700;font-size:14px;text-decoration:none;color:var(--spw-colors-support-grey-grey-900)}.spw-header-navigation__list-back a span{text-decoration:underline}.spw-header-navigation__list-back a spw-icon{font-size:18px}@media (min-width: 1024px){.spw-header-navigation__list-back{display:none}}.spw-tw-flex{display:flex}.spw-tw-items-center{align-items:center}.spw-tw-justify-between{justify-content:space-between}';export{n as spw_header_navigation}
|