@designcrowd/library.brand-page 6.1.8-ast-header-nav-3 → 6.1.8
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/lib/src/{CreatedOnBrandCrowd-de-de-CRthXwLR.js → CreatedOnBrandCrowd-de-de-s5PgrS4k.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-en-us-B-gT4buG.js → CreatedOnBrandCrowd-en-us-DialvDTn.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-es-es-B1116sci.js → CreatedOnBrandCrowd-es-es-CkWPaELu.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-fr-DNycLrRY.js → CreatedOnBrandCrowd-fr-ca-DKsU-7B3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-fr-ca-DNycLrRY.js → CreatedOnBrandCrowd-fr-fr-DKsU-7B3.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-pt-DYZroL9u.js → CreatedOnBrandCrowd-pt-br-_nFRiTF7.js} +1 -1
- package/lib/src/{CreatedOnBrandCrowd-pt-br-DYZroL9u.js → CreatedOnBrandCrowd-pt-pt-_nFRiTF7.js} +1 -1
- package/lib/src/{CreatedOnDcom-de-de-vsVsq07f.js → CreatedOnDcom-de-de-E3RR9E-W.js} +1 -1
- package/lib/src/{CreatedOnDcom-en-us-CREf_4ot.js → CreatedOnDcom-en-us-BaKpfZyU.js} +1 -1
- package/lib/src/{CreatedOnDcom-es-es-CKZVBaZQ.js → CreatedOnDcom-es-es-DAKlDkym.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-ca-DnObW3TL.js → CreatedOnDcom-fr-ca-COcb6S6R.js} +1 -1
- package/lib/src/{CreatedOnDcom-fr-fr-CX_Bfqsh.js → CreatedOnDcom-fr-fr-kIujhHbs.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-br-BOGAmsjm.js → CreatedOnDcom-pt-br-q7aggQB7.js} +1 -1
- package/lib/src/{CreatedOnDcom-pt-pt-9Z-XhsHV.js → CreatedOnDcom-pt-pt-CWA39oCo.js} +1 -1
- package/lib/src/brand-page/constants/index.d.ts +0 -1
- package/lib/src/brand-page/constants/index.js +0 -1
- package/lib/src/brand-page/constants/sections/header-display.constants.d.ts +1 -2
- package/lib/src/brand-page/constants/sections/header-display.constants.js +24 -24
- package/lib/src/brand-page-maker/components/brand-page-maker/BrandPageMaker.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts +0 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.d.ts +0 -1
- package/lib/src/brand-page-maker/models/navigation-style-configs.js +7 -31
- package/lib/src/{bundled-translations-DSxE1Qgo.js → bundled-translations-B4__t_42.js} +9 -9
- package/lib/src/bundles/bundled-translations.json +0 -9
- package/lib/src/css/library.brand-page-brandCrowd.min.css +156 -141
- package/lib/src/css/library.brand-page-brandPage.min.css +156 -143
- package/lib/src/css/library.brand-page-designCom.min.css +156 -141
- package/lib/src/css/library.brand-page-preview.min.css +156 -141
- package/lib/src/index.mjs +1 -1
- package/lib/src/{lib-DTBhusgw.js → lib-21Llh7GA.js} +22881 -23493
- package/lib/src/shared/content-settings/components/content-settings/ContentSettings.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings/ReplaceImageSettingsForContent.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/content-settings-item/ContentSettingsItemField.mixin.d.ts +0 -1
- package/lib/src/shared/content-settings/components/payment-config-field/PaymentConfigField.mixin.d.ts +0 -1
- package/lib/src/shared/logo-settings/components/LogoSettings.mixin.d.ts +0 -1
- package/lib/src/shared/page-settings/components/new-page-modal/NewPageModal.mixin.d.ts +0 -1
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.d.ts +1 -4
- package/lib/src/shared/page-settings/components/page-settings/PageSettings.mixin.js +11 -23
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.d.ts +1 -4
- package/lib/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.js +1 -12
- package/lib/src/shared/page-settings/store/page-settings-store.d.ts +0 -5
- package/lib/src/shared/page-settings/store/page-settings-store.js +0 -14
- package/package.json +3 -3
- package/src/brand-page/constants/index.ts +0 -1
- package/src/brand-page/constants/sections/header-display.constants.ts +25 -26
- package/src/brand-page-maker/models/i18n/models.json +0 -3
- package/src/brand-page-maker/models/navigation-style-configs.ts +6 -32
- package/src/bundles/bundled-translations.json +0 -9
- package/src/shared/navigation-style-settings/components/navigation-style-settings/NavigationStyleSettings.vue +6 -0
- package/src/shared/page-settings/components/page-settings/PageSettings.mixin.ts +12 -27
- package/src/shared/page-settings/components/page-settings/PageSettings.vue +92 -113
- package/src/shared/page-settings/components/page-settings/i18n/page-settings.json +0 -4
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderNavigationType.vue +13 -16
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.mixin.ts +0 -27
- package/src/shared/page-settings/components/page-settings-section-styles/PageSettingsSectionStyles.vue +57 -1
- package/src/shared/page-settings/components/page-settings-section-styles/i18n/page-settings-section.json +0 -3
- package/src/shared/page-settings/store/page-settings-store.ts +0 -24
- package/lib/src/brand-page/constants/sections/navigation-type.constants.d.ts +0 -9
- package/lib/src/brand-page/constants/sections/navigation-type.constants.js +0 -31
- package/src/brand-page/constants/sections/navigation-type.constants.ts +0 -46
- package/src/shared/page-settings/components/header-settings-panel/HeaderSettingsPanel.vue +0 -213
- package/src/shared/page-settings/components/page-settings/PageSettings.header-settings-panel.test.ts +0 -97
- package/src/shared/page-settings/components/page-settings-section-styles/HeaderNavigationStyle.vue +0 -64
|
@@ -5,5 +5,4 @@ export * from './misc.constants';
|
|
|
5
5
|
export * from './logo.constants';
|
|
6
6
|
export * from './sections/header-display.constants';
|
|
7
7
|
export * from './sections/navigation-display.constants';
|
|
8
|
-
export * from './sections/navigation-type.constants';
|
|
9
8
|
export * from './sections/footer-display.constants';
|
|
@@ -5,5 +5,4 @@ export * from './misc.constants';
|
|
|
5
5
|
export * from './logo.constants';
|
|
6
6
|
export * from './sections/header-display.constants';
|
|
7
7
|
export * from './sections/navigation-display.constants';
|
|
8
|
-
export * from './sections/navigation-type.constants';
|
|
9
8
|
export * from './sections/footer-display.constants';
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { ButtonGroupOption } from '@brand-page-maker/models/button-group.model';
|
|
2
|
-
import type { NavigationType } from './navigation-type.constants';
|
|
3
2
|
export declare const HEADER_DISPLAY: {
|
|
4
3
|
/** @deprecated */
|
|
5
4
|
readonly ALIGN_CENTERED: "centered";
|
|
@@ -38,7 +37,7 @@ export type PageSectionDisplayStyle = (typeof HEADER_DISPLAY)[keyof typeof HEADE
|
|
|
38
37
|
export type HeaderDisplayStyle = PageSectionDisplayStyle;
|
|
39
38
|
interface HeaderDisplayStyleConfig {
|
|
40
39
|
viewMode: 'desktop' | 'mobile';
|
|
41
|
-
navType:
|
|
40
|
+
navType: 'tabs' | 'hamburger';
|
|
42
41
|
supportLogo: boolean;
|
|
43
42
|
supportedNavTypes: string[];
|
|
44
43
|
option: ButtonGroupOption;
|
|
@@ -44,7 +44,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
44
44
|
option: {
|
|
45
45
|
value: HEADER_DISPLAY.DESKTOP_TAB_1,
|
|
46
46
|
iconName: 'header-desktop-nav-style-tab-display-style-1',
|
|
47
|
-
iconViewBox: '0 0
|
|
47
|
+
iconViewBox: '0 0 169 57',
|
|
48
48
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_1,
|
|
49
49
|
isSelected: false,
|
|
50
50
|
},
|
|
@@ -57,7 +57,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
57
57
|
option: {
|
|
58
58
|
value: HEADER_DISPLAY.DESKTOP_TAB_2,
|
|
59
59
|
iconName: 'header-desktop-nav-style-tab-display-style-2',
|
|
60
|
-
iconViewBox: '0 0
|
|
60
|
+
iconViewBox: '0 0 169 57',
|
|
61
61
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_2,
|
|
62
62
|
isSelected: false,
|
|
63
63
|
},
|
|
@@ -70,7 +70,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
70
70
|
option: {
|
|
71
71
|
value: HEADER_DISPLAY.DESKTOP_TAB_3,
|
|
72
72
|
iconName: 'header-desktop-nav-style-tab-display-style-3',
|
|
73
|
-
iconViewBox: '0 0
|
|
73
|
+
iconViewBox: '0 0 169 57',
|
|
74
74
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_3,
|
|
75
75
|
isSelected: false,
|
|
76
76
|
},
|
|
@@ -83,7 +83,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
83
83
|
option: {
|
|
84
84
|
value: HEADER_DISPLAY.DESKTOP_TAB_4,
|
|
85
85
|
iconName: 'header-desktop-nav-style-tab-display-style-4',
|
|
86
|
-
iconViewBox: '0 0
|
|
86
|
+
iconViewBox: '0 0 169 57',
|
|
87
87
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_4,
|
|
88
88
|
isSelected: false,
|
|
89
89
|
},
|
|
@@ -96,7 +96,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
96
96
|
option: {
|
|
97
97
|
value: HEADER_DISPLAY.DESKTOP_TAB_5,
|
|
98
98
|
iconName: 'header-desktop-nav-style-tab-display-style-5',
|
|
99
|
-
iconViewBox: '0 0
|
|
99
|
+
iconViewBox: '0 0 169 57',
|
|
100
100
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_5,
|
|
101
101
|
isSelected: false,
|
|
102
102
|
},
|
|
@@ -109,7 +109,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
109
109
|
option: {
|
|
110
110
|
value: HEADER_DISPLAY.DESKTOP_TAB_6,
|
|
111
111
|
iconName: 'header-desktop-nav-style-tab-display-style-6',
|
|
112
|
-
iconViewBox: '0 0
|
|
112
|
+
iconViewBox: '0 0 169 57',
|
|
113
113
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_6,
|
|
114
114
|
isSelected: false,
|
|
115
115
|
},
|
|
@@ -123,7 +123,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
123
123
|
option: {
|
|
124
124
|
value: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_1,
|
|
125
125
|
iconName: 'header-nav-style-tab-display-style-no-logo-1',
|
|
126
|
-
iconViewBox: '0 0
|
|
126
|
+
iconViewBox: '0 0 169 75',
|
|
127
127
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_1,
|
|
128
128
|
isSelected: false,
|
|
129
129
|
},
|
|
@@ -136,7 +136,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
136
136
|
option: {
|
|
137
137
|
value: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_2,
|
|
138
138
|
iconName: 'header-nav-style-tab-display-style-no-logo-2',
|
|
139
|
-
iconViewBox: '0 0
|
|
139
|
+
iconViewBox: '0 0 169 75',
|
|
140
140
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_2,
|
|
141
141
|
isSelected: false,
|
|
142
142
|
},
|
|
@@ -149,7 +149,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
149
149
|
option: {
|
|
150
150
|
value: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_3,
|
|
151
151
|
iconName: 'header-nav-style-tab-display-style-no-logo-3',
|
|
152
|
-
iconViewBox: '0 0
|
|
152
|
+
iconViewBox: '0 0 169 75',
|
|
153
153
|
dataAttribute: HEADER_DISPLAY.DESKTOP_TAB_NO_LOGO_3,
|
|
154
154
|
isSelected: false,
|
|
155
155
|
},
|
|
@@ -168,7 +168,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
168
168
|
option: {
|
|
169
169
|
value: HEADER_DISPLAY.DESKTOP_HAMBURGER_1,
|
|
170
170
|
iconName: 'header-desktop-nav-style-hamburger-display-style-1',
|
|
171
|
-
iconViewBox: '0 0
|
|
171
|
+
iconViewBox: '0 0 169 57',
|
|
172
172
|
dataAttribute: HEADER_DISPLAY.DESKTOP_HAMBURGER_1,
|
|
173
173
|
isSelected: false,
|
|
174
174
|
},
|
|
@@ -186,7 +186,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
186
186
|
option: {
|
|
187
187
|
value: HEADER_DISPLAY.DESKTOP_HAMBURGER_2,
|
|
188
188
|
iconName: 'header-desktop-nav-style-hamburger-display-style-2',
|
|
189
|
-
iconViewBox: '0 0
|
|
189
|
+
iconViewBox: '0 0 169 57',
|
|
190
190
|
dataAttribute: HEADER_DISPLAY.DESKTOP_HAMBURGER_2,
|
|
191
191
|
isSelected: false,
|
|
192
192
|
},
|
|
@@ -205,7 +205,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
205
205
|
option: {
|
|
206
206
|
value: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_1,
|
|
207
207
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-1',
|
|
208
|
-
iconViewBox: '0 0
|
|
208
|
+
iconViewBox: '0 0 169 75',
|
|
209
209
|
dataAttribute: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_1,
|
|
210
210
|
isSelected: false,
|
|
211
211
|
},
|
|
@@ -223,7 +223,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
223
223
|
option: {
|
|
224
224
|
value: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_2,
|
|
225
225
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-2',
|
|
226
|
-
iconViewBox: '0 0
|
|
226
|
+
iconViewBox: '0 0 169 75',
|
|
227
227
|
dataAttribute: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_2,
|
|
228
228
|
isSelected: false,
|
|
229
229
|
},
|
|
@@ -241,7 +241,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
241
241
|
option: {
|
|
242
242
|
value: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_3,
|
|
243
243
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-3',
|
|
244
|
-
iconViewBox: '0 0
|
|
244
|
+
iconViewBox: '0 0 169 75',
|
|
245
245
|
dataAttribute: HEADER_DISPLAY.DESKTOP_HAMBURGER_NO_LOGO_3,
|
|
246
246
|
isSelected: false,
|
|
247
247
|
},
|
|
@@ -255,7 +255,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
255
255
|
option: {
|
|
256
256
|
value: HEADER_DISPLAY.MOBILE_TAB_1,
|
|
257
257
|
iconName: 'header-mobile-nav-style-tab-display-style-1',
|
|
258
|
-
iconViewBox: '0 0
|
|
258
|
+
iconViewBox: '0 0 169 57',
|
|
259
259
|
dataAttribute: HEADER_DISPLAY.MOBILE_TAB_1,
|
|
260
260
|
isSelected: false,
|
|
261
261
|
},
|
|
@@ -268,7 +268,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
268
268
|
option: {
|
|
269
269
|
value: HEADER_DISPLAY.MOBILE_TAB_2,
|
|
270
270
|
iconName: 'header-mobile-nav-style-tab-display-style-2',
|
|
271
|
-
iconViewBox: '0 0
|
|
271
|
+
iconViewBox: '0 0 169 57',
|
|
272
272
|
dataAttribute: HEADER_DISPLAY.MOBILE_TAB_2,
|
|
273
273
|
isSelected: false,
|
|
274
274
|
},
|
|
@@ -282,7 +282,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
282
282
|
option: {
|
|
283
283
|
value: HEADER_DISPLAY.MOBILE_TAB_NO_LOGO_1,
|
|
284
284
|
iconName: 'header-nav-style-tab-display-style-no-logo-2',
|
|
285
|
-
iconViewBox: '0 0
|
|
285
|
+
iconViewBox: '0 0 169 75',
|
|
286
286
|
dataAttribute: HEADER_DISPLAY.MOBILE_TAB_NO_LOGO_1,
|
|
287
287
|
isSelected: false,
|
|
288
288
|
},
|
|
@@ -301,7 +301,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
301
301
|
option: {
|
|
302
302
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_1,
|
|
303
303
|
iconName: 'header-mobile-nav-style-hamburger-display-style-1',
|
|
304
|
-
iconViewBox: '0 0
|
|
304
|
+
iconViewBox: '0 0 169 57',
|
|
305
305
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_1,
|
|
306
306
|
isSelected: false,
|
|
307
307
|
},
|
|
@@ -319,7 +319,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
319
319
|
option: {
|
|
320
320
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_2,
|
|
321
321
|
iconName: 'header-mobile-nav-style-hamburger-display-style-2',
|
|
322
|
-
iconViewBox: '0 0
|
|
322
|
+
iconViewBox: '0 0 169 57',
|
|
323
323
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_2,
|
|
324
324
|
isSelected: false,
|
|
325
325
|
},
|
|
@@ -337,7 +337,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
337
337
|
option: {
|
|
338
338
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_3,
|
|
339
339
|
iconName: 'header-mobile-nav-style-hamburger-display-style-3',
|
|
340
|
-
iconViewBox: '0 0
|
|
340
|
+
iconViewBox: '0 0 169 57',
|
|
341
341
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_3,
|
|
342
342
|
isSelected: false,
|
|
343
343
|
},
|
|
@@ -355,7 +355,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
355
355
|
option: {
|
|
356
356
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_4,
|
|
357
357
|
iconName: 'header-mobile-nav-style-hamburger-display-style-4',
|
|
358
|
-
iconViewBox: '0 0
|
|
358
|
+
iconViewBox: '0 0 169 57',
|
|
359
359
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_4,
|
|
360
360
|
isSelected: false,
|
|
361
361
|
},
|
|
@@ -374,7 +374,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
374
374
|
option: {
|
|
375
375
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_1,
|
|
376
376
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-1',
|
|
377
|
-
iconViewBox: '0 0
|
|
377
|
+
iconViewBox: '0 0 169 75',
|
|
378
378
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_1,
|
|
379
379
|
isSelected: false,
|
|
380
380
|
},
|
|
@@ -392,7 +392,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
392
392
|
option: {
|
|
393
393
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_2,
|
|
394
394
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-2',
|
|
395
|
-
iconViewBox: '0 0
|
|
395
|
+
iconViewBox: '0 0 169 75',
|
|
396
396
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_2,
|
|
397
397
|
isSelected: false,
|
|
398
398
|
},
|
|
@@ -410,7 +410,7 @@ export const HEADER_DISPLAY_STYLE_CONFIGS = [
|
|
|
410
410
|
option: {
|
|
411
411
|
value: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_3,
|
|
412
412
|
iconName: 'header-nav-style-hamburger-display-style-no-logo-3',
|
|
413
|
-
iconViewBox: '0 0
|
|
413
|
+
iconViewBox: '0 0 169 75',
|
|
414
414
|
dataAttribute: HEADER_DISPLAY.MOBILE_HAMBURGER_NO_LOGO_3,
|
|
415
415
|
isSelected: false,
|
|
416
416
|
},
|
|
@@ -1185,7 +1185,6 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
1185
1185
|
}): void;
|
|
1186
1186
|
collapseAllSections(): void;
|
|
1187
1187
|
setPreviousSelectedDisplayStyle(viewport: string, displayStyle: string): void;
|
|
1188
|
-
setPreviousSelectedNavigationDisplayType(viewport: string, displayType: string): void;
|
|
1189
1188
|
}>;
|
|
1190
1189
|
uiTemplateSettingsStore: import("pinia").Store<"uiTemplateSettings", import("@shared/template-settings/store").TemplatesSettingState, {
|
|
1191
1190
|
renderAsImage(): boolean;
|
package/lib/src/brand-page-maker/components/brandpage-maker-page/BrandPageMakerPage.mixin.d.ts
CHANGED
|
@@ -1197,7 +1197,6 @@ declare const _default: import("vue").DefineComponent<{}, {
|
|
|
1197
1197
|
}): void;
|
|
1198
1198
|
collapseAllSections(): void;
|
|
1199
1199
|
setPreviousSelectedDisplayStyle(viewport: string, displayStyle: string): void;
|
|
1200
|
-
setPreviousSelectedNavigationDisplayType(viewport: string, displayType: string): void;
|
|
1201
1200
|
}>;
|
|
1202
1201
|
eventTracker: {
|
|
1203
1202
|
sendShippingToggleEvent: (isEnabled: boolean) => void;
|
|
@@ -20,7 +20,6 @@ export interface NavigationStyleConfig extends Omit<NavigationDesktop | Navigati
|
|
|
20
20
|
options: NavigationStyleConfigOption[];
|
|
21
21
|
}
|
|
22
22
|
export declare const availableNavigationStyleConfigs: NavigationStyleConfig[];
|
|
23
|
-
export declare const navigationTypeOptions: () => ButtonGroupOption[];
|
|
24
23
|
export interface NavigationStylesTypeConfig {
|
|
25
24
|
type: PageSection;
|
|
26
25
|
isLogoFieldsOptional: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defaultHamburgerNavigation, NAVIGATION_DISPLAY,
|
|
1
|
+
import { defaultHamburgerNavigation, NAVIGATION_DISPLAY, FONT_FAMILY_CONFIGS, DEFAULT_FONT_FAMILY_KEY, FONT_SIZE_BODY, DEFAULT_TEXT_ALIGN, } from '@brand-page';
|
|
2
2
|
import { PAGE_SECTIONS } from '@shared/page-settings/models';
|
|
3
3
|
import { commonTr, modelsTr } from '@src/composables/useTranslate';
|
|
4
4
|
export const NavigationStyleConfigOptions = {
|
|
@@ -76,8 +76,7 @@ export const availableNavigationStyleConfigs = [
|
|
|
76
76
|
buttonGroupOption: {
|
|
77
77
|
value: NAVIGATION_DISPLAY.TAB_1,
|
|
78
78
|
iconName: 'nav-style-tab-display-style-1',
|
|
79
|
-
iconViewBox: '0 0
|
|
80
|
-
dataAttribute: 'data-nav-style-tab-1',
|
|
79
|
+
iconViewBox: '0 0 94 50',
|
|
81
80
|
isSelected: false,
|
|
82
81
|
},
|
|
83
82
|
renderAfterLogo: false,
|
|
@@ -114,8 +113,7 @@ export const availableNavigationStyleConfigs = [
|
|
|
114
113
|
buttonGroupOption: {
|
|
115
114
|
value: NAVIGATION_DISPLAY.TAB_2,
|
|
116
115
|
iconName: 'nav-style-tab-display-style-2',
|
|
117
|
-
iconViewBox: '0 0
|
|
118
|
-
dataAttribute: 'data-nav-style-tab-2',
|
|
116
|
+
iconViewBox: '0 0 94 50',
|
|
119
117
|
isSelected: false,
|
|
120
118
|
},
|
|
121
119
|
renderAfterLogo: false,
|
|
@@ -127,8 +125,7 @@ export const availableNavigationStyleConfigs = [
|
|
|
127
125
|
buttonGroupOption: {
|
|
128
126
|
value: NAVIGATION_DISPLAY.HAMBURGER_1,
|
|
129
127
|
iconName: 'nav-style-hamburger-display-style-1',
|
|
130
|
-
iconViewBox: '0 0
|
|
131
|
-
dataAttribute: 'data-nav-style-hamburger-1',
|
|
128
|
+
iconViewBox: '0 0 94 50',
|
|
132
129
|
isSelected: false,
|
|
133
130
|
},
|
|
134
131
|
renderAfterLogo: false,
|
|
@@ -139,8 +136,7 @@ export const availableNavigationStyleConfigs = [
|
|
|
139
136
|
buttonGroupOption: {
|
|
140
137
|
value: NAVIGATION_DISPLAY.HAMBURGER_2,
|
|
141
138
|
iconName: 'nav-style-hamburger-display-style-2',
|
|
142
|
-
iconViewBox: '0 0
|
|
143
|
-
dataAttribute: 'data-nav-style-hamburger-2',
|
|
139
|
+
iconViewBox: '0 0 94 50',
|
|
144
140
|
isSelected: false,
|
|
145
141
|
},
|
|
146
142
|
renderAfterLogo: false,
|
|
@@ -151,8 +147,7 @@ export const availableNavigationStyleConfigs = [
|
|
|
151
147
|
buttonGroupOption: {
|
|
152
148
|
value: NAVIGATION_DISPLAY.HAMBURGER_3,
|
|
153
149
|
iconName: 'nav-style-hamburger-display-style-3',
|
|
154
|
-
iconViewBox: '0 0
|
|
155
|
-
dataAttribute: 'data-nav-style-hamburger-3',
|
|
150
|
+
iconViewBox: '0 0 94 50',
|
|
156
151
|
isSelected: false,
|
|
157
152
|
},
|
|
158
153
|
renderAfterLogo: false,
|
|
@@ -163,31 +158,12 @@ export const availableNavigationStyleConfigs = [
|
|
|
163
158
|
buttonGroupOption: {
|
|
164
159
|
value: NAVIGATION_DISPLAY.HAMBURGER_4,
|
|
165
160
|
iconName: 'nav-style-hamburger-display-style-4',
|
|
166
|
-
iconViewBox: '0 0
|
|
167
|
-
dataAttribute: 'data-nav-style-hamburger-4',
|
|
161
|
+
iconViewBox: '0 0 94 50',
|
|
168
162
|
isSelected: false,
|
|
169
163
|
},
|
|
170
164
|
renderAfterLogo: false,
|
|
171
165
|
},
|
|
172
166
|
];
|
|
173
|
-
export const navigationTypeOptions = () => [
|
|
174
|
-
{
|
|
175
|
-
value: NAVIGATION_TYPE.bar,
|
|
176
|
-
iconName: 'nav-style-type-bar',
|
|
177
|
-
iconViewBox: '0 0 160 56',
|
|
178
|
-
title: modelsTr('navigationTypeBar'),
|
|
179
|
-
dataAttribute: 'data-nav-type-bar',
|
|
180
|
-
isSelected: false,
|
|
181
|
-
},
|
|
182
|
-
{
|
|
183
|
-
value: NAVIGATION_TYPE.hamburger,
|
|
184
|
-
iconName: 'nav-style-type-hamburger',
|
|
185
|
-
iconViewBox: '0 0 160 56',
|
|
186
|
-
title: modelsTr('navigationTypeHamburger'),
|
|
187
|
-
dataAttribute: 'data-nav-type-hamburger',
|
|
188
|
-
isSelected: false,
|
|
189
|
-
},
|
|
190
|
-
];
|
|
191
167
|
export const navigationStyleTypeConfigs = {
|
|
192
168
|
header: {
|
|
193
169
|
type: PAGE_SECTIONS.header,
|