@telia/teddy 0.0.36 → 0.0.38
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/components/badge/badge.cjs +10 -10
- package/dist/components/badge/badge.js +10 -10
- package/dist/components/card/card-button.cjs +42 -0
- package/dist/components/card/card-button.d.ts +35 -0
- package/dist/components/card/card-button.js +42 -0
- package/dist/components/card/card-content.cjs +15 -0
- package/dist/components/card/card-content.d.ts +6 -0
- package/dist/components/card/card-content.js +15 -0
- package/dist/components/card/card-footer.cjs +15 -0
- package/dist/components/card/card-footer.d.ts +6 -0
- package/dist/components/card/card-footer.js +15 -0
- package/dist/components/card/card-heading.cjs +25 -0
- package/dist/components/card/card-heading.d.ts +6 -0
- package/dist/components/card/card-heading.js +25 -0
- package/dist/components/card/card-illustration.cjs +22 -0
- package/dist/components/card/card-illustration.d.ts +15 -0
- package/dist/components/card/card-illustration.js +22 -0
- package/dist/components/card/card-line.cjs +13 -0
- package/dist/components/card/card-line.d.ts +5 -0
- package/dist/components/card/card-line.js +13 -0
- package/dist/components/card/card-link.cjs +18 -0
- package/dist/components/card/card-link.d.ts +11 -0
- package/dist/components/card/card-link.js +18 -0
- package/dist/components/card/card-slot.cjs +36 -0
- package/dist/components/card/card-slot.d.ts +8 -0
- package/dist/components/card/card-slot.js +36 -0
- package/dist/components/card/card.cjs +56 -173
- package/dist/components/card/card.d.ts +16 -98
- package/dist/components/card/card.js +57 -174
- package/dist/components/card/index.cjs +28 -1
- package/dist/components/card/index.d.ts +64 -2
- package/dist/components/card/index.js +28 -1
- package/dist/components/card/utils.cjs +4 -0
- package/dist/components/card/utils.d.ts +2 -0
- package/dist/components/card/utils.js +4 -0
- package/dist/components/date-picker/css.cjs +59 -0
- package/dist/components/date-picker/css.d.ts +1 -0
- package/dist/components/date-picker/css.js +59 -0
- package/dist/components/date-picker/date-picker-day.cjs +67 -0
- package/dist/components/date-picker/date-picker-day.d.ts +13 -0
- package/dist/components/date-picker/date-picker-day.js +67 -0
- package/dist/components/date-picker/date-picker-input.cjs +89 -0
- package/dist/components/date-picker/date-picker-input.d.ts +27 -0
- package/dist/components/date-picker/date-picker-input.js +90 -0
- package/dist/components/date-picker/date-picker-localization.cjs +31 -0
- package/dist/components/date-picker/date-picker-localization.d.ts +20 -0
- package/dist/components/date-picker/date-picker-localization.js +32 -0
- package/dist/components/date-picker/date-picker-month.cjs +42 -0
- package/dist/components/date-picker/date-picker-month.d.ts +20 -0
- package/dist/components/date-picker/date-picker-month.js +43 -0
- package/dist/components/date-picker/date-picker-navigation-key.cjs +15 -0
- package/dist/components/date-picker/date-picker-navigation-key.d.ts +14 -0
- package/dist/components/date-picker/date-picker-navigation-key.js +16 -0
- package/dist/components/date-picker/date-picker-props.cjs +1 -0
- package/dist/components/date-picker/date-picker-props.d.ts +23 -0
- package/dist/components/date-picker/date-picker-props.js +1 -0
- package/dist/components/date-picker/date-picker-unique-id.cjs +4 -0
- package/dist/components/date-picker/date-picker-unique-id.d.ts +1 -0
- package/dist/components/date-picker/date-picker-unique-id.js +4 -0
- package/dist/components/date-picker/date-picker-year-print.cjs +61 -0
- package/dist/components/date-picker/date-picker-year-print.d.ts +12 -0
- package/dist/components/date-picker/date-picker-year-print.js +61 -0
- package/dist/components/date-picker/date-picker-year.cjs +36 -0
- package/dist/components/date-picker/date-picker-year.d.ts +16 -0
- package/dist/components/date-picker/date-picker-year.js +37 -0
- package/dist/components/date-picker/date-picker.cjs +597 -0
- package/dist/components/date-picker/date-picker.d.ts +5 -0
- package/dist/components/date-picker/date-picker.js +597 -0
- package/dist/components/date-picker/date-utils.cjs +340 -0
- package/dist/components/date-picker/date-utils.d.ts +29 -0
- package/dist/components/date-picker/date-utils.js +340 -0
- package/dist/components/date-picker/date-year-range.cjs +1 -0
- package/dist/components/date-picker/date-year-range.d.ts +4 -0
- package/dist/components/date-picker/date-year-range.js +1 -0
- package/dist/components/date-picker/dialog-utils.cjs +36 -0
- package/dist/components/date-picker/dialog-utils.d.ts +3 -0
- package/dist/components/date-picker/dialog-utils.js +36 -0
- package/dist/components/date-picker/index.cjs +4 -0
- package/dist/components/date-picker/index.d.ts +2 -0
- package/dist/components/date-picker/index.js +4 -0
- package/dist/components/drawer/drawer-close.cjs +1 -1
- package/dist/components/drawer/drawer-close.js +1 -1
- package/dist/components/drawer/drawer-content.cjs +2 -2
- package/dist/components/drawer/drawer-content.js +2 -2
- package/dist/components/drawer/drawer-description.cjs +1 -1
- package/dist/components/drawer/drawer-description.js +1 -1
- package/dist/components/drawer/drawer-footer.cjs +1 -1
- package/dist/components/drawer/drawer-footer.js +1 -1
- package/dist/components/drawer/drawer-overlay.cjs +1 -1
- package/dist/components/drawer/drawer-overlay.js +1 -1
- package/dist/components/drawer/drawer-title.cjs +1 -1
- package/dist/components/drawer/drawer-title.js +1 -1
- package/dist/components/expandable-card/expandable-card-root.cjs +15 -15
- package/dist/components/expandable-card/expandable-card-root.js +15 -15
- package/dist/components/image/image.cjs +1 -1
- package/dist/components/image/image.js +1 -1
- package/dist/components/index.cjs +4 -2
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +3 -1
- package/dist/components/modal/modal.cjs +4 -4
- package/dist/components/modal/modal.js +4 -4
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.cjs +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.d.ts +8 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-desktop-simplified.js +9 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.cjs +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.d.ts +7 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-mobile-simplified.js +12 -0
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.cjs +57 -7
- package/dist/components/navigation-menu/global-navigation/global-navigation-my-pages.js +58 -8
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.d.ts +2 -1
- package/dist/components/navigation-menu/global-navigation/global-navigation-root.js +2 -2
- package/dist/components/navigation-menu/global-navigation/utils.cjs +127 -126
- package/dist/components/navigation-menu/global-navigation/utils.d.ts +227 -219
- package/dist/components/navigation-menu/global-navigation/utils.js +127 -126
- package/dist/components/notification/notification.cjs +2 -2
- package/dist/components/notification/notification.d.ts +7 -4
- package/dist/components/notification/notification.js +1 -1
- package/dist/drawer.module-BNPErv-x.js +16 -0
- package/dist/drawer.module-CTowTFmf.cjs +15 -0
- package/dist/main.cjs +4 -2
- package/dist/main.js +3 -1
- package/dist/style.css +690 -227
- package/package.json +1 -1
- package/dist/drawer.module-BPXo6-Q2.js +0 -15
- package/dist/drawer.module-_pUdp_M1.cjs +0 -14
|
@@ -90,7 +90,7 @@ function LoggedInContent() {
|
|
|
90
90
|
/* @__PURE__ */ jsxRuntime.jsx(components_heading_heading.Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Bedrift" }),
|
|
91
91
|
components_navigationMenu_globalNavigation_utils.LOGGED_IN_LINKS_BUSINESS.map((link) => /* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsx("a", { href: link.link, children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: link.icon, children: link.name }) }) }, link.link))
|
|
92
92
|
] }),
|
|
93
|
-
/* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick, variant: "secondary", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "logout", children: "Logg ut" }) })
|
|
93
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_button_button.Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick(), variant: "secondary", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { name: "logout", children: "Logg ut" }) })
|
|
94
94
|
] })
|
|
95
95
|
] })
|
|
96
96
|
] });
|
|
@@ -327,6 +327,47 @@ function Mobile(props) {
|
|
|
327
327
|
] }) });
|
|
328
328
|
}
|
|
329
329
|
Mobile.displayName = "Mobile";
|
|
330
|
+
const DesktopSimplified = React.forwardRef(() => {
|
|
331
|
+
const rootContext = React.useContext(RootContext);
|
|
332
|
+
if (!rootContext)
|
|
333
|
+
return null;
|
|
334
|
+
const { setSelectedMenuItem, linkComponent: Link } = rootContext;
|
|
335
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
|
|
336
|
+
components_navigationMenu_globalNavigation_utils.LINKS.map((link) => /* @__PURE__ */ jsxRuntime.jsxs(components_navigationMenu_navigationMenu.NavigationMenu.List, { value: link.name, children: [
|
|
337
|
+
link.links.map((subLink) => /* @__PURE__ */ jsxRuntime.jsx(components_navigationMenu_navigationMenu.NavigationMenu.Item, { value: subLink.name, children: subLink.name === "Logo" && /* @__PURE__ */ jsxRuntime.jsx(components_navigationMenu_navigationMenu.NavigationMenu.Link, { asChild: true, variant: "button", children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsxRuntime.jsx(Link, { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
338
|
+
"img",
|
|
339
|
+
{
|
|
340
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
341
|
+
draggable: "false",
|
|
342
|
+
alt: "Telia logo"
|
|
343
|
+
}
|
|
344
|
+
) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
345
|
+
"img",
|
|
346
|
+
{
|
|
347
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
348
|
+
draggable: "false",
|
|
349
|
+
alt: "Telia logo"
|
|
350
|
+
}
|
|
351
|
+
) }) }) }, subLink.name)),
|
|
352
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { ml: "auto" }),
|
|
353
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_navigationMenu_navigationMenu.NavigationMenu.Item, { children: /* @__PURE__ */ jsxRuntime.jsx(ShoppingCart, {}) })
|
|
354
|
+
] }, link.name)),
|
|
355
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_navigationMenu_navigationMenu.NavigationMenu.Viewport, { className: styles[`${rootClassName}__viewport`] })
|
|
356
|
+
] });
|
|
357
|
+
});
|
|
358
|
+
DesktopSimplified.displayName = "DesktopSimplified";
|
|
359
|
+
function MobileSimplified(props) {
|
|
360
|
+
const rootContext = React.useContext(RootContext);
|
|
361
|
+
if (!rootContext)
|
|
362
|
+
return null;
|
|
363
|
+
const { linkComponent: NavLink } = rootContext;
|
|
364
|
+
const classes = clsx([styles[`${rootClassName}__mobile`]], props.className);
|
|
365
|
+
return /* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { ...props, className: classes, children: /* @__PURE__ */ jsxRuntime.jsxs(components_flex_flex.Flex, { flexGrow: "1", justify: "between", align: "center", gap: "200", children: [
|
|
366
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_box_box.Box, { flexShrink: "0", children: /* @__PURE__ */ jsxRuntime.jsx(components_navigationMenu_navigationMenu.NavigationMenu.Link, { asChild: true, variant: "button", children: rootContext.appKey === "open-pages" ? /* @__PURE__ */ jsxRuntime.jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) : /* @__PURE__ */ jsxRuntime.jsx("a", { href: "/", children: /* @__PURE__ */ jsxRuntime.jsx(components_icon_icon.Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) }) }),
|
|
367
|
+
/* @__PURE__ */ jsxRuntime.jsx(components_flex_flex.Flex, { flexBasis: "0", gap: { sm: "100", md: "200" }, children: /* @__PURE__ */ jsxRuntime.jsx(ShoppingCart, {}) })
|
|
368
|
+
] }) });
|
|
369
|
+
}
|
|
370
|
+
MobileSimplified.displayName = "MobileSimplified";
|
|
330
371
|
const rootClassName = "teddy-global-navigation";
|
|
331
372
|
const RootContext = React.createContext(null);
|
|
332
373
|
function Root({
|
|
@@ -341,6 +382,7 @@ function Root({
|
|
|
341
382
|
isCartOpen,
|
|
342
383
|
onCartOpenChange,
|
|
343
384
|
drawerSize = "md",
|
|
385
|
+
isSimplified,
|
|
344
386
|
...props
|
|
345
387
|
}) {
|
|
346
388
|
const [selectedMenuItem, setSelectedMenuItem] = React.useState(getInitialMenuItem());
|
|
@@ -380,8 +422,14 @@ function Root({
|
|
|
380
422
|
setSelectedMenuItem(v);
|
|
381
423
|
},
|
|
382
424
|
children: [
|
|
383
|
-
/* @__PURE__ */ jsxRuntime.
|
|
384
|
-
|
|
425
|
+
/* @__PURE__ */ jsxRuntime.jsxs(components_box_box.Box, { display: { sm: "none", lg: "block" }, children: [
|
|
426
|
+
isSimplified && /* @__PURE__ */ jsxRuntime.jsx(DesktopSimplified, {}),
|
|
427
|
+
!isSimplified && /* @__PURE__ */ jsxRuntime.jsx(Desktop, {})
|
|
428
|
+
] }),
|
|
429
|
+
/* @__PURE__ */ jsxRuntime.jsxs(components_box_box.Box, { display: { lg: "none" }, children: [
|
|
430
|
+
isSimplified && /* @__PURE__ */ jsxRuntime.jsx(MobileSimplified, {}),
|
|
431
|
+
!isSimplified && /* @__PURE__ */ jsxRuntime.jsx(Mobile, {})
|
|
432
|
+
] })
|
|
385
433
|
]
|
|
386
434
|
}
|
|
387
435
|
) })
|
|
@@ -394,7 +442,7 @@ function getInitialDomain() {
|
|
|
394
442
|
if (!currentLocation)
|
|
395
443
|
return components_navigationMenu_globalNavigation_utils.PRIVATE_LINKS.name;
|
|
396
444
|
const locationArray = currentLocation ? currentLocation.split("/") : [];
|
|
397
|
-
const domainPartOfLocation = `/${locationArray[1]}
|
|
445
|
+
const domainPartOfLocation = `/${locationArray[1]}/`;
|
|
398
446
|
const initDomain = domainPartOfLocation === components_navigationMenu_globalNavigation_utils.BUSINESS_LINKS.link ? components_navigationMenu_globalNavigation_utils.BUSINESS_LINKS.name : domainPartOfLocation === components_navigationMenu_globalNavigation_utils.MDU_LINKS.link ? components_navigationMenu_globalNavigation_utils.MDU_LINKS.name : components_navigationMenu_globalNavigation_utils.PRIVATE_LINKS.name;
|
|
399
447
|
return initDomain;
|
|
400
448
|
}
|
|
@@ -407,20 +455,22 @@ function getInitialMenuItem() {
|
|
|
407
455
|
const initialDomain = getInitialDomain();
|
|
408
456
|
if (initialDomain === "Bedrift") {
|
|
409
457
|
const mainMenuPartOfLocation2 = locationArray[2];
|
|
410
|
-
return (_a = components_navigationMenu_globalNavigation_utils.BUSINESS_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}
|
|
458
|
+
return (_a = components_navigationMenu_globalNavigation_utils.BUSINESS_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}/`)) == null ? void 0 : _a.name;
|
|
411
459
|
}
|
|
412
460
|
if (initialDomain === "Borettslag") {
|
|
413
461
|
const mainMenuPartOfLocation2 = locationArray[2];
|
|
414
|
-
return (_b = components_navigationMenu_globalNavigation_utils.MDU_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}
|
|
462
|
+
return (_b = components_navigationMenu_globalNavigation_utils.MDU_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}/`)) == null ? void 0 : _b.name;
|
|
415
463
|
}
|
|
416
464
|
const mainMenuPartOfLocation = locationArray[1];
|
|
417
|
-
return (_c = components_navigationMenu_globalNavigation_utils.PRIVATE_LINKS.links.find((link) => link.link === `/${mainMenuPartOfLocation}
|
|
465
|
+
return (_c = components_navigationMenu_globalNavigation_utils.PRIVATE_LINKS.links.find((link) => link.link === `/${mainMenuPartOfLocation}/`)) == null ? void 0 : _c.name;
|
|
418
466
|
}
|
|
419
467
|
Root.displayName = "GlobalNavigation";
|
|
420
468
|
const GlobalNavigation = Root;
|
|
421
469
|
exports.Desktop = Desktop;
|
|
470
|
+
exports.DesktopSimplified = DesktopSimplified;
|
|
422
471
|
exports.GlobalNavigation = GlobalNavigation;
|
|
423
472
|
exports.Mobile = Mobile;
|
|
473
|
+
exports.MobileSimplified = MobileSimplified;
|
|
424
474
|
exports.MyPages = MyPages;
|
|
425
475
|
exports.Root = Root;
|
|
426
476
|
exports.RootContext = RootContext;
|
|
@@ -88,7 +88,7 @@ function LoggedInContent() {
|
|
|
88
88
|
/* @__PURE__ */ jsx(Heading, { variant: "title-100", as: "h3", mb: "100", mt: "400", children: "Bedrift" }),
|
|
89
89
|
LOGGED_IN_LINKS_BUSINESS.map((link) => /* @__PURE__ */ jsx(Button, { variant: "list-item", fullWidth: true, asChild: true, children: /* @__PURE__ */ jsx("a", { href: link.link, children: /* @__PURE__ */ jsx(Icon, { name: link.icon, children: link.name }) }) }, link.link))
|
|
90
90
|
] }),
|
|
91
|
-
/* @__PURE__ */ jsx(Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick, variant: "secondary", children: /* @__PURE__ */ jsx(Icon, { name: "logout", children: "Logg ut" }) })
|
|
91
|
+
/* @__PURE__ */ jsx(Button, { mt: "200", onClick: () => rootContext == null ? void 0 : rootContext.onLogoutClick(), variant: "secondary", children: /* @__PURE__ */ jsx(Icon, { name: "logout", children: "Logg ut" }) })
|
|
92
92
|
] })
|
|
93
93
|
] })
|
|
94
94
|
] });
|
|
@@ -325,6 +325,47 @@ function Mobile(props) {
|
|
|
325
325
|
] }) });
|
|
326
326
|
}
|
|
327
327
|
Mobile.displayName = "Mobile";
|
|
328
|
+
const DesktopSimplified = React__default.forwardRef(() => {
|
|
329
|
+
const rootContext = React__default.useContext(RootContext);
|
|
330
|
+
if (!rootContext)
|
|
331
|
+
return null;
|
|
332
|
+
const { setSelectedMenuItem, linkComponent: Link2 } = rootContext;
|
|
333
|
+
return /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
334
|
+
LINKS.map((link) => /* @__PURE__ */ jsxs(NavigationMenu.List, { value: link.name, children: [
|
|
335
|
+
link.links.map((subLink) => /* @__PURE__ */ jsx(NavigationMenu.Item, { value: subLink.name, children: subLink.name === "Logo" && /* @__PURE__ */ jsx(NavigationMenu.Link, { asChild: true, variant: "button", children: subLink.appKey === rootContext.appKey || rootContext.appKey === "storybook" ? /* @__PURE__ */ jsx(Link2, { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsx(
|
|
336
|
+
"img",
|
|
337
|
+
{
|
|
338
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
339
|
+
draggable: "false",
|
|
340
|
+
alt: "Telia logo"
|
|
341
|
+
}
|
|
342
|
+
) }) : /* @__PURE__ */ jsx("a", { href: subLink.link, onClick: () => setSelectedMenuItem(""), children: /* @__PURE__ */ jsx(
|
|
343
|
+
"img",
|
|
344
|
+
{
|
|
345
|
+
src: "https://cdn.voca.teliacompany.com/logo/Telia-primary-default-v2.svg",
|
|
346
|
+
draggable: "false",
|
|
347
|
+
alt: "Telia logo"
|
|
348
|
+
}
|
|
349
|
+
) }) }) }, subLink.name)),
|
|
350
|
+
/* @__PURE__ */ jsx(Box, { ml: "auto" }),
|
|
351
|
+
/* @__PURE__ */ jsx(NavigationMenu.Item, { children: /* @__PURE__ */ jsx(ShoppingCart, {}) })
|
|
352
|
+
] }, link.name)),
|
|
353
|
+
/* @__PURE__ */ jsx(NavigationMenu.Viewport, { className: styles[`${rootClassName}__viewport`] })
|
|
354
|
+
] });
|
|
355
|
+
});
|
|
356
|
+
DesktopSimplified.displayName = "DesktopSimplified";
|
|
357
|
+
function MobileSimplified(props) {
|
|
358
|
+
const rootContext = React__default.useContext(RootContext);
|
|
359
|
+
if (!rootContext)
|
|
360
|
+
return null;
|
|
361
|
+
const { linkComponent: NavLink } = rootContext;
|
|
362
|
+
const classes = clsx([styles[`${rootClassName}__mobile`]], props.className);
|
|
363
|
+
return /* @__PURE__ */ jsx(Flex, { ...props, className: classes, children: /* @__PURE__ */ jsxs(Flex, { flexGrow: "1", justify: "between", align: "center", gap: "200", children: [
|
|
364
|
+
/* @__PURE__ */ jsx(Box, { flexShrink: "0", children: /* @__PURE__ */ jsx(NavigationMenu.Link, { asChild: true, variant: "button", children: rootContext.appKey === "open-pages" ? /* @__PURE__ */ jsx(NavLink, { href: "/", children: /* @__PURE__ */ jsx(Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) : /* @__PURE__ */ jsx("a", { href: "/", children: /* @__PURE__ */ jsx(Icon, { size: "lg", name: "telia-logo", "aria-label": "Telia logo" }) }) }) }),
|
|
365
|
+
/* @__PURE__ */ jsx(Flex, { flexBasis: "0", gap: { sm: "100", md: "200" }, children: /* @__PURE__ */ jsx(ShoppingCart, {}) })
|
|
366
|
+
] }) });
|
|
367
|
+
}
|
|
368
|
+
MobileSimplified.displayName = "MobileSimplified";
|
|
328
369
|
const rootClassName = "teddy-global-navigation";
|
|
329
370
|
const RootContext = React__default.createContext(null);
|
|
330
371
|
function Root({
|
|
@@ -339,6 +380,7 @@ function Root({
|
|
|
339
380
|
isCartOpen,
|
|
340
381
|
onCartOpenChange,
|
|
341
382
|
drawerSize = "md",
|
|
383
|
+
isSimplified,
|
|
342
384
|
...props
|
|
343
385
|
}) {
|
|
344
386
|
const [selectedMenuItem, setSelectedMenuItem] = React__default.useState(getInitialMenuItem());
|
|
@@ -378,8 +420,14 @@ function Root({
|
|
|
378
420
|
setSelectedMenuItem(v);
|
|
379
421
|
},
|
|
380
422
|
children: [
|
|
381
|
-
/* @__PURE__ */
|
|
382
|
-
|
|
423
|
+
/* @__PURE__ */ jsxs(Box, { display: { sm: "none", lg: "block" }, children: [
|
|
424
|
+
isSimplified && /* @__PURE__ */ jsx(DesktopSimplified, {}),
|
|
425
|
+
!isSimplified && /* @__PURE__ */ jsx(Desktop, {})
|
|
426
|
+
] }),
|
|
427
|
+
/* @__PURE__ */ jsxs(Box, { display: { lg: "none" }, children: [
|
|
428
|
+
isSimplified && /* @__PURE__ */ jsx(MobileSimplified, {}),
|
|
429
|
+
!isSimplified && /* @__PURE__ */ jsx(Mobile, {})
|
|
430
|
+
] })
|
|
383
431
|
]
|
|
384
432
|
}
|
|
385
433
|
) })
|
|
@@ -392,7 +440,7 @@ function getInitialDomain() {
|
|
|
392
440
|
if (!currentLocation)
|
|
393
441
|
return PRIVATE_LINKS.name;
|
|
394
442
|
const locationArray = currentLocation ? currentLocation.split("/") : [];
|
|
395
|
-
const domainPartOfLocation = `/${locationArray[1]}
|
|
443
|
+
const domainPartOfLocation = `/${locationArray[1]}/`;
|
|
396
444
|
const initDomain = domainPartOfLocation === BUSINESS_LINKS.link ? BUSINESS_LINKS.name : domainPartOfLocation === MDU_LINKS.link ? MDU_LINKS.name : PRIVATE_LINKS.name;
|
|
397
445
|
return initDomain;
|
|
398
446
|
}
|
|
@@ -405,14 +453,14 @@ function getInitialMenuItem() {
|
|
|
405
453
|
const initialDomain = getInitialDomain();
|
|
406
454
|
if (initialDomain === "Bedrift") {
|
|
407
455
|
const mainMenuPartOfLocation2 = locationArray[2];
|
|
408
|
-
return (_a = BUSINESS_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}
|
|
456
|
+
return (_a = BUSINESS_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}/`)) == null ? void 0 : _a.name;
|
|
409
457
|
}
|
|
410
458
|
if (initialDomain === "Borettslag") {
|
|
411
459
|
const mainMenuPartOfLocation2 = locationArray[2];
|
|
412
|
-
return (_b = MDU_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}
|
|
460
|
+
return (_b = MDU_LINKS.links.find((link) => link.link === `/${initialDomain.toLowerCase()}/${mainMenuPartOfLocation2}/`)) == null ? void 0 : _b.name;
|
|
413
461
|
}
|
|
414
462
|
const mainMenuPartOfLocation = locationArray[1];
|
|
415
|
-
return (_c = PRIVATE_LINKS.links.find((link) => link.link === `/${mainMenuPartOfLocation}
|
|
463
|
+
return (_c = PRIVATE_LINKS.links.find((link) => link.link === `/${mainMenuPartOfLocation}/`)) == null ? void 0 : _c.name;
|
|
416
464
|
}
|
|
417
465
|
Root.displayName = "GlobalNavigation";
|
|
418
466
|
const GlobalNavigation = Root;
|
|
@@ -425,6 +473,8 @@ export {
|
|
|
425
473
|
SearchField as S,
|
|
426
474
|
Search as a,
|
|
427
475
|
ShoppingCart as b,
|
|
428
|
-
|
|
476
|
+
DesktopSimplified as c,
|
|
477
|
+
MobileSimplified as d,
|
|
478
|
+
Root as e,
|
|
429
479
|
rootClassName as r
|
|
430
480
|
};
|
|
@@ -16,6 +16,7 @@ export type RootProps = React.ComponentPropsWithoutRef<'div'> & {
|
|
|
16
16
|
isCartOpen?: boolean;
|
|
17
17
|
onCartOpenChange?: (open: boolean) => void;
|
|
18
18
|
drawerSize: 'md' | 'lg';
|
|
19
|
+
isSimplified?: boolean;
|
|
19
20
|
};
|
|
20
21
|
type RootContext = {
|
|
21
22
|
selectedMenuItem: string | undefined;
|
|
@@ -26,7 +27,7 @@ type RootContext = {
|
|
|
26
27
|
setPathname: (v: string) => void;
|
|
27
28
|
} & Pick<RootProps, 'onSearchSubmit' | 'shoppingCart' | 'shoppingCartNumberOfItems' | 'loggedInUser' | 'appKey' | 'onLogoutClick' | 'linkComponent' | 'isCartOpen' | 'onCartOpenChange' | 'drawerSize'>;
|
|
28
29
|
export declare const RootContext: React.Context<RootContext | null>;
|
|
29
|
-
export declare function Root({ className, appKey, loggedInUser, linkComponent, onLogoutClick, shoppingCart, shoppingCartNumberOfItems, onSearchSubmit, isCartOpen, onCartOpenChange, drawerSize, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function Root({ className, appKey, loggedInUser, linkComponent, onLogoutClick, shoppingCart, shoppingCartNumberOfItems, onSearchSubmit, isCartOpen, onCartOpenChange, drawerSize, isSimplified, ...props }: RootProps): import("react/jsx-runtime").JSX.Element;
|
|
30
31
|
export declare namespace Root {
|
|
31
32
|
var displayName: string;
|
|
32
33
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
3
|
import "clsx";
|
|
4
|
-
import {
|
|
4
|
+
import { e, R, r } from "./global-navigation-my-pages.js";
|
|
5
5
|
import "./utils.js";
|
|
6
6
|
import "../../box/box.js";
|
|
7
7
|
import "../navigation-menu.js";
|
|
8
8
|
export {
|
|
9
|
-
|
|
9
|
+
e as Root,
|
|
10
10
|
R as RootContext,
|
|
11
11
|
r as rootClassName
|
|
12
12
|
};
|
|
@@ -42,21 +42,21 @@ const MY_PAGE_LINKS = {
|
|
|
42
42
|
};
|
|
43
43
|
const MY_BUSINESS_LINKS = {
|
|
44
44
|
name: "Min bedrift",
|
|
45
|
-
link: "https://beta.minbedrift.telia.no
|
|
45
|
+
link: "https://beta.minbedrift.telia.no",
|
|
46
46
|
appKey: APP_KEYS["my-business"],
|
|
47
47
|
links: [],
|
|
48
48
|
icon: "home"
|
|
49
49
|
};
|
|
50
50
|
const MY_PORTAL_LINKS = {
|
|
51
51
|
name: "Min portal",
|
|
52
|
-
link: "https://minportal.telia.no
|
|
52
|
+
link: "https://minportal.telia.no",
|
|
53
53
|
appKey: APP_KEYS["my-portal"],
|
|
54
54
|
links: [],
|
|
55
55
|
icon: "end-user"
|
|
56
56
|
};
|
|
57
57
|
const BUSINESS_NET_LINKS = {
|
|
58
58
|
name: "Bedriftsnett",
|
|
59
|
-
link: "https://sb.telia.no
|
|
59
|
+
link: "https://sb.telia.no",
|
|
60
60
|
appKey: APP_KEYS["business-net"],
|
|
61
61
|
links: [],
|
|
62
62
|
icon: "doc"
|
|
@@ -75,101 +75,149 @@ const PRIVATE_LINKS = {
|
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
name: "Mobil",
|
|
78
|
-
link: "/mobil",
|
|
78
|
+
link: "/mobil/",
|
|
79
79
|
appKey: APP_KEYS["open-pages"],
|
|
80
80
|
links: [
|
|
81
81
|
{
|
|
82
|
-
name: "
|
|
83
|
-
link: "/mobil/
|
|
82
|
+
name: "Mobilabonnement",
|
|
83
|
+
link: "/mobil/mobilabonnement/",
|
|
84
84
|
appKey: APP_KEYS["open-pages"]
|
|
85
85
|
},
|
|
86
86
|
{
|
|
87
|
-
name: "
|
|
88
|
-
link: "/mobil/
|
|
89
|
-
appKey: APP_KEYS["
|
|
87
|
+
name: "Mobiltelefoner",
|
|
88
|
+
link: "/mobil/mobiltelefoner/",
|
|
89
|
+
appKey: APP_KEYS["web-shop"]
|
|
90
90
|
},
|
|
91
91
|
{
|
|
92
|
-
name: "
|
|
93
|
-
link: "/mobil/
|
|
92
|
+
name: "Smartklokker",
|
|
93
|
+
link: "/mobil/smartklokker/",
|
|
94
94
|
appKey: APP_KEYS["web-shop"]
|
|
95
95
|
},
|
|
96
96
|
{
|
|
97
|
-
name: "
|
|
98
|
-
link: "/mobil/
|
|
99
|
-
appKey: APP_KEYS["
|
|
97
|
+
name: "Nettbrett",
|
|
98
|
+
link: "/mobil/nettbrett/",
|
|
99
|
+
appKey: APP_KEYS["web-shop"]
|
|
100
100
|
},
|
|
101
101
|
{
|
|
102
102
|
name: "Tilbehør",
|
|
103
|
-
link: "/mobil/tilbehor",
|
|
103
|
+
link: "/mobil/tilbehor/",
|
|
104
104
|
appKey: APP_KEYS["web-shop"]
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
name: "Påfyll kontantkort",
|
|
108
|
+
link: "/mobil/mobilabonnement/kontantkort/lade/",
|
|
109
|
+
appKey: APP_KEYS["open-pages"]
|
|
105
110
|
}
|
|
106
111
|
]
|
|
107
112
|
},
|
|
108
113
|
{
|
|
109
114
|
name: "TV",
|
|
110
|
-
link: "/tv",
|
|
115
|
+
link: "/tv/",
|
|
111
116
|
appKey: APP_KEYS["open-pages"],
|
|
112
117
|
links: [
|
|
113
118
|
{
|
|
114
|
-
name: "
|
|
115
|
-
link: "
|
|
119
|
+
name: "Se Telia Play",
|
|
120
|
+
link: "https://www.teliaplay.no",
|
|
116
121
|
appKey: APP_KEYS["open-pages"]
|
|
117
122
|
},
|
|
118
123
|
{
|
|
119
|
-
name: "
|
|
120
|
-
link: "/tv/
|
|
124
|
+
name: "Strømmetjenester",
|
|
125
|
+
link: "/tv/strommetjenester/",
|
|
121
126
|
appKey: APP_KEYS["open-pages"]
|
|
122
127
|
},
|
|
123
128
|
{
|
|
124
|
-
name: "
|
|
125
|
-
link: "/tv/
|
|
129
|
+
name: "TV-kanaler",
|
|
130
|
+
link: "/tv/tv-kanaler-og-kanalpakker/",
|
|
131
|
+
appKey: APP_KEYS["open-pages"]
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
name: "Premiumtjenester",
|
|
135
|
+
link: "/tv/premiumtjenester/",
|
|
136
|
+
appKey: APP_KEYS["open-pages"]
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
name: "Filmer",
|
|
140
|
+
link: "/tv/filmleie-og-filmkjop/",
|
|
141
|
+
appKey: APP_KEYS["open-pages"]
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
name: "TV-bokser",
|
|
145
|
+
link: "/tv/tv-bokser/",
|
|
126
146
|
appKey: APP_KEYS["open-pages"]
|
|
127
147
|
}
|
|
128
148
|
]
|
|
129
149
|
},
|
|
130
150
|
{
|
|
131
151
|
name: "Internett",
|
|
132
|
-
link: "/internett",
|
|
152
|
+
link: "/internett/",
|
|
133
153
|
appKey: APP_KEYS["open-pages"],
|
|
134
154
|
links: [
|
|
135
155
|
{
|
|
136
|
-
name: "
|
|
137
|
-
link: "/internett/
|
|
156
|
+
name: "Fast bredbånd",
|
|
157
|
+
link: "/internett/bredband/",
|
|
138
158
|
appKey: APP_KEYS["open-pages"]
|
|
139
159
|
},
|
|
140
160
|
{
|
|
141
|
-
name: "
|
|
142
|
-
link: "/internett/
|
|
161
|
+
name: "Trådløst bredbånd",
|
|
162
|
+
link: "/internett/tradlost-bredband/",
|
|
143
163
|
appKey: APP_KEYS["open-pages"]
|
|
144
164
|
},
|
|
145
165
|
{
|
|
146
|
-
name: "
|
|
147
|
-
link: "/internett/
|
|
166
|
+
name: "Mobilt bredbånd",
|
|
167
|
+
link: "/internett/mobilt-bredband/",
|
|
168
|
+
appKey: APP_KEYS["web-shop"]
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
name: "WiFi og hjemmenett",
|
|
172
|
+
link: "/internett/wifi/",
|
|
148
173
|
appKey: APP_KEYS["open-pages"]
|
|
149
174
|
},
|
|
150
175
|
{
|
|
151
|
-
name: "
|
|
152
|
-
link: "/
|
|
153
|
-
appKey: APP_KEYS["
|
|
176
|
+
name: "Driftsmeldinger",
|
|
177
|
+
link: "/hjelp/driftsmeldinger/",
|
|
178
|
+
appKey: APP_KEYS["open-pages"]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
name: "Speedtest",
|
|
182
|
+
link: "/internett/speedtest/",
|
|
183
|
+
appKey: APP_KEYS["open-pages"]
|
|
154
184
|
}
|
|
155
185
|
]
|
|
156
186
|
},
|
|
157
187
|
{
|
|
158
188
|
name: "Hjelp",
|
|
159
|
-
link: "/hjelp",
|
|
189
|
+
link: "/hjelp/",
|
|
160
190
|
appKey: APP_KEYS["open-pages"],
|
|
161
191
|
links: [
|
|
162
192
|
{
|
|
163
|
-
name: "
|
|
164
|
-
link: "/hjelp/
|
|
165
|
-
appKey: APP_KEYS["open-pages"]
|
|
166
|
-
|
|
193
|
+
name: "Hjelp Mobil",
|
|
194
|
+
link: "/mobil/hjelp/",
|
|
195
|
+
appKey: APP_KEYS["open-pages"]
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
name: "Hjelp Internett",
|
|
199
|
+
link: "/internett/hjelp/",
|
|
200
|
+
appKey: APP_KEYS["open-pages"]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
name: "Hjelp TV",
|
|
204
|
+
link: "/tv/hjelp/",
|
|
205
|
+
appKey: APP_KEYS["open-pages"]
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
name: "Flytting",
|
|
209
|
+
link: "/hjelp/flytting/",
|
|
210
|
+
appKey: APP_KEYS["open-pages"]
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
name: "Finn butikk",
|
|
214
|
+
link: "/hjelp/butikker/",
|
|
215
|
+
appKey: APP_KEYS["open-pages"]
|
|
167
216
|
},
|
|
168
217
|
{
|
|
169
218
|
name: "Kontakt oss",
|
|
170
|
-
link: "/hjelp/kontakt-oss",
|
|
171
|
-
appKey: APP_KEYS["open-pages"]
|
|
172
|
-
links: []
|
|
219
|
+
link: "/hjelp/kontakt-oss/",
|
|
220
|
+
appKey: APP_KEYS["open-pages"]
|
|
173
221
|
}
|
|
174
222
|
]
|
|
175
223
|
}
|
|
@@ -177,130 +225,83 @@ const PRIVATE_LINKS = {
|
|
|
177
225
|
};
|
|
178
226
|
const BUSINESS_LINKS = {
|
|
179
227
|
name: "Bedrift",
|
|
180
|
-
link: "/bedrift",
|
|
228
|
+
link: "/bedrift/",
|
|
181
229
|
links: [
|
|
182
230
|
{
|
|
183
231
|
name: "Logo",
|
|
184
|
-
link: "/bedrift",
|
|
232
|
+
link: "/bedrift/",
|
|
185
233
|
appKey: APP_KEYS["open-pages"],
|
|
186
234
|
links: []
|
|
187
235
|
},
|
|
188
236
|
{
|
|
189
237
|
name: "Produkter og tjenester",
|
|
190
|
-
link: "/bedrift/produkt-og-tjenester",
|
|
238
|
+
link: "/bedrift/produkt-og-tjenester/",
|
|
191
239
|
appKey: APP_KEYS["open-pages"],
|
|
192
|
-
links: [
|
|
193
|
-
{
|
|
194
|
-
name: "Tjenester",
|
|
195
|
-
link: "/bedrift/tjenester",
|
|
196
|
-
appKey: APP_KEYS["open-pages"]
|
|
197
|
-
},
|
|
198
|
-
{
|
|
199
|
-
name: "Mobil",
|
|
200
|
-
link: "/bedrift/mobil",
|
|
201
|
-
appKey: APP_KEYS["open-pages"]
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
name: "Internett",
|
|
205
|
-
link: "/bedrift/internett",
|
|
206
|
-
appKey: APP_KEYS["open-pages"]
|
|
207
|
-
},
|
|
208
|
-
{
|
|
209
|
-
name: "Tilbehør",
|
|
210
|
-
link: "/bedrift/tilbehor",
|
|
211
|
-
appKey: APP_KEYS["web-shop"]
|
|
212
|
-
}
|
|
213
|
-
]
|
|
240
|
+
links: []
|
|
214
241
|
},
|
|
215
242
|
{
|
|
216
243
|
name: "Innovasjon og startup",
|
|
217
|
-
link: "/bedrift/innovasjon-og-startup",
|
|
244
|
+
link: "/bedrift/innovasjon-og-startup/",
|
|
218
245
|
appKey: APP_KEYS["open-pages"],
|
|
246
|
+
links: []
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
name: "Nettbutikk",
|
|
250
|
+
link: "/bedrift/nettbutikk/",
|
|
251
|
+
appKey: APP_KEYS["web-shop"],
|
|
219
252
|
links: [
|
|
220
253
|
{
|
|
221
|
-
name: "
|
|
222
|
-
link: "/bedrift/
|
|
223
|
-
appKey: APP_KEYS["
|
|
254
|
+
name: "Mobiltelefoner",
|
|
255
|
+
link: "/bedrift/mobiltelefoner/",
|
|
256
|
+
appKey: APP_KEYS["web-shop"]
|
|
224
257
|
},
|
|
225
258
|
{
|
|
226
|
-
name: "
|
|
227
|
-
link: "/bedrift/
|
|
228
|
-
appKey: APP_KEYS["
|
|
259
|
+
name: "Mobilabonnement",
|
|
260
|
+
link: "/bedrift/mobilabonnement/",
|
|
261
|
+
appKey: APP_KEYS["web-shop"]
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
name: "Mobilt Bredbånd",
|
|
265
|
+
link: "/bedrift/mobilt-bredband/",
|
|
266
|
+
appKey: APP_KEYS["web-shop"]
|
|
229
267
|
}
|
|
230
268
|
]
|
|
231
269
|
},
|
|
232
270
|
{
|
|
233
|
-
name: "
|
|
234
|
-
link: "/bedrift/
|
|
271
|
+
name: "Kundeservice",
|
|
272
|
+
link: "/bedrift/kundeservice/",
|
|
235
273
|
appKey: APP_KEYS["open-pages"],
|
|
236
|
-
links: [
|
|
237
|
-
{
|
|
238
|
-
name: "FAQ",
|
|
239
|
-
link: "/bedrift/hjelp/faq",
|
|
240
|
-
appKey: APP_KEYS["open-pages"]
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
name: "Kontakt oss",
|
|
244
|
-
link: "/bedrift/hjelp/kontakt-oss",
|
|
245
|
-
appKey: APP_KEYS["open-pages"]
|
|
246
|
-
}
|
|
247
|
-
]
|
|
274
|
+
links: []
|
|
248
275
|
}
|
|
249
276
|
]
|
|
250
277
|
};
|
|
251
278
|
const MDU_LINKS = {
|
|
252
279
|
name: "Borettslag",
|
|
253
|
-
link: "/borettslag",
|
|
280
|
+
link: "/borettslag/",
|
|
254
281
|
links: [
|
|
255
282
|
{
|
|
256
283
|
name: "Logo",
|
|
257
|
-
link: "/borettslag",
|
|
284
|
+
link: "/borettslag/",
|
|
258
285
|
appKey: APP_KEYS["open-pages"],
|
|
259
286
|
links: []
|
|
260
287
|
},
|
|
261
288
|
{
|
|
262
|
-
name: "
|
|
263
|
-
link: "/borettslag/
|
|
289
|
+
name: "Beboer",
|
|
290
|
+
link: "/borettslag/beboer/",
|
|
264
291
|
appKey: APP_KEYS["open-pages"],
|
|
265
|
-
links: [
|
|
266
|
-
{
|
|
267
|
-
name: "Tjenester",
|
|
268
|
-
link: "/borettslag/tjenester",
|
|
269
|
-
appKey: APP_KEYS["open-pages"]
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
name: "Mobil",
|
|
273
|
-
link: "/borettslag/mobil",
|
|
274
|
-
appKey: APP_KEYS["open-pages"]
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
name: "Internett",
|
|
278
|
-
link: "/borettslag/internett",
|
|
279
|
-
appKey: APP_KEYS["open-pages"]
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
name: "Tilbehør",
|
|
283
|
-
link: "/borettslag/tilbehor",
|
|
284
|
-
appKey: APP_KEYS["web-shop"]
|
|
285
|
-
}
|
|
286
|
-
]
|
|
292
|
+
links: []
|
|
287
293
|
},
|
|
288
294
|
{
|
|
289
|
-
name: "
|
|
290
|
-
link: "/borettslag/
|
|
295
|
+
name: "Styre",
|
|
296
|
+
link: "/borettslag/styre/",
|
|
291
297
|
appKey: APP_KEYS["open-pages"],
|
|
292
|
-
links: [
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
name: "Kontakt oss",
|
|
300
|
-
link: "/borettslag/hjelp/kontakt-oss",
|
|
301
|
-
appKey: APP_KEYS["open-pages"]
|
|
302
|
-
}
|
|
303
|
-
]
|
|
298
|
+
links: []
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
name: "Utbygger",
|
|
302
|
+
link: "/borettslag/utbygger/",
|
|
303
|
+
appKey: APP_KEYS["open-pages"],
|
|
304
|
+
links: []
|
|
304
305
|
}
|
|
305
306
|
]
|
|
306
307
|
};
|