@forsakringskassan/devindex-menu 2.1.7 → 2.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/dist/cjs/menu.js +12 -12
- package/dist/cjs/pageobjects.js +2 -3
- package/dist/esm/menu.js +12 -12
- package/dist/esm/pageobjects.js +2 -3
- package/package.json +13 -13
package/dist/cjs/menu.js
CHANGED
|
@@ -28,7 +28,7 @@ __export(menu_exports, {
|
|
|
28
28
|
module.exports = __toCommonJS(menu_exports);
|
|
29
29
|
|
|
30
30
|
// raw-loader:./client.js?raw
|
|
31
|
-
var client_default = '/**\n * @param {string} cookieName\n * @param {string} cookieValue\n * @param {number} exdays\n * @returns {void}\n */\nfunction setCookie(cookieName, cookieValue, exdays) {\n var d = new Date();\n d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000);\n var expires = "expires=".concat(d.toUTCString());\n document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";").concat(expires, ";path=/");\n}\n\n/**\n * @param {string} cookieName\n * @returns {string | undefined}\n */\nfunction getCookie(cookieName) {\n var name = "".concat(cookieName, "=");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(";");\n
|
|
31
|
+
var client_default = 'function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n/**\n * @param {string} cookieName\n * @param {string} cookieValue\n * @param {number} exdays\n * @returns {void}\n */\nfunction setCookie(cookieName, cookieValue, exdays) {\n var d = new Date();\n d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000);\n var expires = "expires=".concat(d.toUTCString());\n /* eslint-disable-next-line unicorn/no-document-cookie -- technical debt, should use CookieStore */\n document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";").concat(expires, ";path=/");\n}\n\n/**\n * @param {string} cookieName\n * @returns {string | undefined}\n */\nfunction getCookie(cookieName) {\n var name = "".concat(cookieName, "=");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(";");\n var _iterator = _createForOfIteratorHelper(ca),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var c = _step.value;\n while (c.charAt(0) === " ") {\n c = c.slice(1);\n }\n if (c.indexOf(name) === 0) {\n return c.slice(name.length);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return undefined;\n}\n(function () {\n /** @type {NodeListOf<HTMLSelectElement>} */\n var selections = document.querySelectorAll(".secret-menu select");\n var _iterator2 = _createForOfIteratorHelper(selections),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var select = _step2.value;\n select.value = getCookie(select.name) ? getCookie(select.name) : "default";\n if (select.dataset.sessionstorage === "true") {\n var cookieValue = getCookie(select.name);\n if (cookieValue) {\n sessionStorage.setItem(select.name, atob(cookieValue));\n }\n }\n select.addEventListener("change", function (event) {\n var element = event.target;\n setCookie(element.name, element.value, 30);\n if (element.dataset.execOnChange) {\n window[element.dataset.execOnChange]();\n }\n if (element.dataset.reload === "true") {\n location.reload(true);\n }\n if (element.dataset.sessionstorage === "true") {\n var sessionKey = element.id;\n if (element.value) {\n var value = atob(element.value);\n console.log("Laddar sessionstorage ".concat(sessionKey, " med \\n ").concat(value));\n sessionStorage.setItem(sessionKey, value);\n } else {\n console.log("T\\xF6mmer sessionstorage");\n sessionStorage.removeItem(sessionKey);\n }\n location.reload(true);\n }\n });\n }\n\n /* Forcerar att sidan laddas om, \xE4ven n\xE4r l\xE4nken \xE4r av typen: /#/granska/8 */\n /** @type {NodeListOf<HTMLAnchorElement>} */\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n var links = document.querySelectorAll(".secret-menu ul li a");\n var _iterator3 = _createForOfIteratorHelper(links),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var link = _step3.value;\n if (link.getAttribute("href").startsWith("/#")) {\n /**\n * @param {MouseEvent} event\n */\n link.addEventListener("click", function (event) {\n event.preventDefault();\n window.location.href = event.target.getAttribute("href");\n setTimeout(function () {\n console.log("Reload after click on hash-link.");\n location.reload();\n }, "500");\n });\n }\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n})();\nfunction toggleMenu() {\n var menu = document.querySelector(".secret-menu");\n menu.classList.toggle("open");\n}\nwindow.toggleMenu = toggleMenu;';
|
|
32
32
|
|
|
33
33
|
// node_modules/@fkui/logic/lib/esm/index.js
|
|
34
34
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
@@ -1101,7 +1101,7 @@ var ElementIdServiceImpl = class {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
generateElementId(prefix = "fkui") {
|
|
1103
1103
|
const id = this.nextId(prefix);
|
|
1104
|
-
if (document.
|
|
1104
|
+
if (document.querySelector(`#${id}`) === null) {
|
|
1105
1105
|
return id;
|
|
1106
1106
|
}
|
|
1107
1107
|
return this.generateElementId(prefix);
|
|
@@ -1134,7 +1134,7 @@ function createScreenReaderWrapper(options) {
|
|
|
1134
1134
|
wrapper.id = "fkui-alert-screen-reader";
|
|
1135
1135
|
wrapper.className = "sr-only";
|
|
1136
1136
|
updateProperties(options);
|
|
1137
|
-
document.body.
|
|
1137
|
+
document.body.append(wrapper);
|
|
1138
1138
|
}
|
|
1139
1139
|
}
|
|
1140
1140
|
function updateProperties(options) {
|
|
@@ -1326,20 +1326,20 @@ function generateOptionMarkupForSelect(setting) {
|
|
|
1326
1326
|
const description = setting.description ? `<p>${setting.description}</p>` : "";
|
|
1327
1327
|
const execOnChange = setting.execOnChange ? ` data-exec-on-change="${setting.execOnChange}"` : "";
|
|
1328
1328
|
let markup = `<label for="${setting.key}" class="label">${setting.title}</label>${description}<select id="${setting.key}" data-sessionStorage="${setting.sessionStorage}" data-reload="${reload}" ${execOnChange} name="${setting.key}" tabindex="-1">`;
|
|
1329
|
-
setting.options
|
|
1329
|
+
for (const option of setting.options) {
|
|
1330
1330
|
const stateJson = typeof option.value === "string" ? option.value : JSON.stringify(option.value, null, 2);
|
|
1331
1331
|
const optionValue = setting.sessionStorage ? btoa(stateJson) : option.value;
|
|
1332
1332
|
markup += `<option value="${optionValue}">${option.title}</option>`;
|
|
1333
|
-
}
|
|
1333
|
+
}
|
|
1334
1334
|
markup = `${markup}</select>`;
|
|
1335
1335
|
return markup;
|
|
1336
1336
|
}
|
|
1337
1337
|
function generateOptionMarkupForLink(setting) {
|
|
1338
1338
|
const description = setting.description ? `<p>${setting.description}</p>` : "";
|
|
1339
1339
|
let markup = `${setting.title} ${description}<ul>`;
|
|
1340
|
-
setting.options
|
|
1340
|
+
for (const option of setting.options) {
|
|
1341
1341
|
markup += `<li><a href="${option.href}" tabindex="-1">${option.title}</a></li>`;
|
|
1342
|
-
}
|
|
1342
|
+
}
|
|
1343
1343
|
markup = `${markup}</ul>`;
|
|
1344
1344
|
return markup;
|
|
1345
1345
|
}
|
|
@@ -1406,12 +1406,12 @@ var menu_default = (userSettingsAndMocks) => {
|
|
|
1406
1406
|
`
|
|
1407
1407
|
);
|
|
1408
1408
|
let settingsMarkup = "";
|
|
1409
|
-
userSettingsAndMocks.map(
|
|
1409
|
+
for (const userSetting of userSettingsAndMocks.map(
|
|
1410
1410
|
(userSettingOrMock) => isMock(userSettingOrMock) ? entryFromMock(userSettingOrMock) : userSettingOrMock
|
|
1411
|
-
)
|
|
1411
|
+
)) {
|
|
1412
1412
|
const setting = { ...defaultSetting, ...userSetting };
|
|
1413
1413
|
settingsMarkup = settingsMarkup + generateOptionMarkup(setting);
|
|
1414
|
-
}
|
|
1414
|
+
}
|
|
1415
1415
|
document.body.insertAdjacentHTML(
|
|
1416
1416
|
"beforeend",
|
|
1417
1417
|
`
|
|
@@ -1434,6 +1434,6 @@ var menu_default = (userSettingsAndMocks) => {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
}
|
|
1436
1436
|
const script = document.createElement("script");
|
|
1437
|
-
script.
|
|
1438
|
-
document.body.
|
|
1437
|
+
script.textContent = client_default;
|
|
1438
|
+
document.body.append(script);
|
|
1439
1439
|
};
|
package/dist/cjs/pageobjects.js
CHANGED
|
@@ -26,12 +26,11 @@ __export(pageobjects_exports, {
|
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(pageobjects_exports);
|
|
28
28
|
|
|
29
|
-
// src/pageobjects/
|
|
29
|
+
// src/pageobjects/devindex.pageobject.ts
|
|
30
30
|
var DevindexPageObject = class {
|
|
31
31
|
constructor() {
|
|
32
|
-
__publicField(this, "selector");
|
|
32
|
+
__publicField(this, "selector", ".secret-menu");
|
|
33
33
|
__publicField(this, "el");
|
|
34
|
-
this.selector = ".secret-menu";
|
|
35
34
|
this.el = () => cy.get(this.selector);
|
|
36
35
|
}
|
|
37
36
|
toggleMenu() {
|
package/dist/esm/menu.js
CHANGED
|
@@ -3,7 +3,7 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
|
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
|
|
5
5
|
// raw-loader:./client.js?raw
|
|
6
|
-
var client_default = '/**\n * @param {string} cookieName\n * @param {string} cookieValue\n * @param {number} exdays\n * @returns {void}\n */\nfunction setCookie(cookieName, cookieValue, exdays) {\n var d = new Date();\n d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000);\n var expires = "expires=".concat(d.toUTCString());\n document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";").concat(expires, ";path=/");\n}\n\n/**\n * @param {string} cookieName\n * @returns {string | undefined}\n */\nfunction getCookie(cookieName) {\n var name = "".concat(cookieName, "=");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(";");\n
|
|
6
|
+
var client_default = 'function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }\nfunction _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }\nfunction _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }\n/**\n * @param {string} cookieName\n * @param {string} cookieValue\n * @param {number} exdays\n * @returns {void}\n */\nfunction setCookie(cookieName, cookieValue, exdays) {\n var d = new Date();\n d.setTime(d.getTime() + exdays * 24 * 60 * 60 * 1000);\n var expires = "expires=".concat(d.toUTCString());\n /* eslint-disable-next-line unicorn/no-document-cookie -- technical debt, should use CookieStore */\n document.cookie = "".concat(cookieName, "=").concat(cookieValue, ";").concat(expires, ";path=/");\n}\n\n/**\n * @param {string} cookieName\n * @returns {string | undefined}\n */\nfunction getCookie(cookieName) {\n var name = "".concat(cookieName, "=");\n var decodedCookie = decodeURIComponent(document.cookie);\n var ca = decodedCookie.split(";");\n var _iterator = _createForOfIteratorHelper(ca),\n _step;\n try {\n for (_iterator.s(); !(_step = _iterator.n()).done;) {\n var c = _step.value;\n while (c.charAt(0) === " ") {\n c = c.slice(1);\n }\n if (c.indexOf(name) === 0) {\n return c.slice(name.length);\n }\n }\n } catch (err) {\n _iterator.e(err);\n } finally {\n _iterator.f();\n }\n return undefined;\n}\n(function () {\n /** @type {NodeListOf<HTMLSelectElement>} */\n var selections = document.querySelectorAll(".secret-menu select");\n var _iterator2 = _createForOfIteratorHelper(selections),\n _step2;\n try {\n for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {\n var select = _step2.value;\n select.value = getCookie(select.name) ? getCookie(select.name) : "default";\n if (select.dataset.sessionstorage === "true") {\n var cookieValue = getCookie(select.name);\n if (cookieValue) {\n sessionStorage.setItem(select.name, atob(cookieValue));\n }\n }\n select.addEventListener("change", function (event) {\n var element = event.target;\n setCookie(element.name, element.value, 30);\n if (element.dataset.execOnChange) {\n window[element.dataset.execOnChange]();\n }\n if (element.dataset.reload === "true") {\n location.reload(true);\n }\n if (element.dataset.sessionstorage === "true") {\n var sessionKey = element.id;\n if (element.value) {\n var value = atob(element.value);\n console.log("Laddar sessionstorage ".concat(sessionKey, " med \\n ").concat(value));\n sessionStorage.setItem(sessionKey, value);\n } else {\n console.log("T\\xF6mmer sessionstorage");\n sessionStorage.removeItem(sessionKey);\n }\n location.reload(true);\n }\n });\n }\n\n /* Forcerar att sidan laddas om, \xE4ven n\xE4r l\xE4nken \xE4r av typen: /#/granska/8 */\n /** @type {NodeListOf<HTMLAnchorElement>} */\n } catch (err) {\n _iterator2.e(err);\n } finally {\n _iterator2.f();\n }\n var links = document.querySelectorAll(".secret-menu ul li a");\n var _iterator3 = _createForOfIteratorHelper(links),\n _step3;\n try {\n for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {\n var link = _step3.value;\n if (link.getAttribute("href").startsWith("/#")) {\n /**\n * @param {MouseEvent} event\n */\n link.addEventListener("click", function (event) {\n event.preventDefault();\n window.location.href = event.target.getAttribute("href");\n setTimeout(function () {\n console.log("Reload after click on hash-link.");\n location.reload();\n }, "500");\n });\n }\n }\n } catch (err) {\n _iterator3.e(err);\n } finally {\n _iterator3.f();\n }\n})();\nfunction toggleMenu() {\n var menu = document.querySelector(".secret-menu");\n menu.classList.toggle("open");\n}\nwindow.toggleMenu = toggleMenu;';
|
|
7
7
|
|
|
8
8
|
// node_modules/@fkui/logic/lib/esm/index.js
|
|
9
9
|
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
@@ -1076,7 +1076,7 @@ var ElementIdServiceImpl = class {
|
|
|
1076
1076
|
}
|
|
1077
1077
|
generateElementId(prefix = "fkui") {
|
|
1078
1078
|
const id = this.nextId(prefix);
|
|
1079
|
-
if (document.
|
|
1079
|
+
if (document.querySelector(`#${id}`) === null) {
|
|
1080
1080
|
return id;
|
|
1081
1081
|
}
|
|
1082
1082
|
return this.generateElementId(prefix);
|
|
@@ -1109,7 +1109,7 @@ function createScreenReaderWrapper(options) {
|
|
|
1109
1109
|
wrapper.id = "fkui-alert-screen-reader";
|
|
1110
1110
|
wrapper.className = "sr-only";
|
|
1111
1111
|
updateProperties(options);
|
|
1112
|
-
document.body.
|
|
1112
|
+
document.body.append(wrapper);
|
|
1113
1113
|
}
|
|
1114
1114
|
}
|
|
1115
1115
|
function updateProperties(options) {
|
|
@@ -1301,20 +1301,20 @@ function generateOptionMarkupForSelect(setting) {
|
|
|
1301
1301
|
const description = setting.description ? `<p>${setting.description}</p>` : "";
|
|
1302
1302
|
const execOnChange = setting.execOnChange ? ` data-exec-on-change="${setting.execOnChange}"` : "";
|
|
1303
1303
|
let markup = `<label for="${setting.key}" class="label">${setting.title}</label>${description}<select id="${setting.key}" data-sessionStorage="${setting.sessionStorage}" data-reload="${reload}" ${execOnChange} name="${setting.key}" tabindex="-1">`;
|
|
1304
|
-
setting.options
|
|
1304
|
+
for (const option of setting.options) {
|
|
1305
1305
|
const stateJson = typeof option.value === "string" ? option.value : JSON.stringify(option.value, null, 2);
|
|
1306
1306
|
const optionValue = setting.sessionStorage ? btoa(stateJson) : option.value;
|
|
1307
1307
|
markup += `<option value="${optionValue}">${option.title}</option>`;
|
|
1308
|
-
}
|
|
1308
|
+
}
|
|
1309
1309
|
markup = `${markup}</select>`;
|
|
1310
1310
|
return markup;
|
|
1311
1311
|
}
|
|
1312
1312
|
function generateOptionMarkupForLink(setting) {
|
|
1313
1313
|
const description = setting.description ? `<p>${setting.description}</p>` : "";
|
|
1314
1314
|
let markup = `${setting.title} ${description}<ul>`;
|
|
1315
|
-
setting.options
|
|
1315
|
+
for (const option of setting.options) {
|
|
1316
1316
|
markup += `<li><a href="${option.href}" tabindex="-1">${option.title}</a></li>`;
|
|
1317
|
-
}
|
|
1317
|
+
}
|
|
1318
1318
|
markup = `${markup}</ul>`;
|
|
1319
1319
|
return markup;
|
|
1320
1320
|
}
|
|
@@ -1381,12 +1381,12 @@ var menu_default = (userSettingsAndMocks) => {
|
|
|
1381
1381
|
`
|
|
1382
1382
|
);
|
|
1383
1383
|
let settingsMarkup = "";
|
|
1384
|
-
userSettingsAndMocks.map(
|
|
1384
|
+
for (const userSetting of userSettingsAndMocks.map(
|
|
1385
1385
|
(userSettingOrMock) => isMock(userSettingOrMock) ? entryFromMock(userSettingOrMock) : userSettingOrMock
|
|
1386
|
-
)
|
|
1386
|
+
)) {
|
|
1387
1387
|
const setting = { ...defaultSetting, ...userSetting };
|
|
1388
1388
|
settingsMarkup = settingsMarkup + generateOptionMarkup(setting);
|
|
1389
|
-
}
|
|
1389
|
+
}
|
|
1390
1390
|
document.body.insertAdjacentHTML(
|
|
1391
1391
|
"beforeend",
|
|
1392
1392
|
`
|
|
@@ -1409,8 +1409,8 @@ var menu_default = (userSettingsAndMocks) => {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
}
|
|
1411
1411
|
const script = document.createElement("script");
|
|
1412
|
-
script.
|
|
1413
|
-
document.body.
|
|
1412
|
+
script.textContent = client_default;
|
|
1413
|
+
document.body.append(script);
|
|
1414
1414
|
};
|
|
1415
1415
|
export {
|
|
1416
1416
|
ONE_MONTH_IN_SECONDS,
|
package/dist/esm/pageobjects.js
CHANGED
|
@@ -2,12 +2,11 @@ var __defProp = Object.defineProperty;
|
|
|
2
2
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
3
3
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
4
4
|
|
|
5
|
-
// src/pageobjects/
|
|
5
|
+
// src/pageobjects/devindex.pageobject.ts
|
|
6
6
|
var DevindexPageObject = class {
|
|
7
7
|
constructor() {
|
|
8
|
-
__publicField(this, "selector");
|
|
8
|
+
__publicField(this, "selector", ".secret-menu");
|
|
9
9
|
__publicField(this, "el");
|
|
10
|
-
this.selector = ".secret-menu";
|
|
11
10
|
this.el = () => cy.get(this.selector);
|
|
12
11
|
}
|
|
13
12
|
toggleMenu() {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forsakringskassan/devindex-menu",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.8",
|
|
4
4
|
"description": "Menu for local development",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"development",
|
|
@@ -54,24 +54,24 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@babel/core": "7.29.0",
|
|
56
56
|
"@babel/preset-env": "7.29.0",
|
|
57
|
-
"@fkui/tsconfig": "6.
|
|
57
|
+
"@fkui/tsconfig": "6.39.0",
|
|
58
58
|
"@forsakringskassan/apimock-express": "2.14.1",
|
|
59
|
-
"@forsakringskassan/commitlint-config": "3.3.
|
|
60
|
-
"@forsakringskassan/eslint-config": "13.
|
|
61
|
-
"@forsakringskassan/eslint-config-cli": "13.
|
|
62
|
-
"@forsakringskassan/eslint-config-cypress": "13.
|
|
63
|
-
"@forsakringskassan/eslint-config-jest": "13.
|
|
64
|
-
"@forsakringskassan/eslint-config-typescript": "13.
|
|
65
|
-
"@forsakringskassan/eslint-config-typescript-typeinfo": "13.
|
|
59
|
+
"@forsakringskassan/commitlint-config": "3.3.7",
|
|
60
|
+
"@forsakringskassan/eslint-config": "13.5.2",
|
|
61
|
+
"@forsakringskassan/eslint-config-cli": "13.5.0",
|
|
62
|
+
"@forsakringskassan/eslint-config-cypress": "13.5.3",
|
|
63
|
+
"@forsakringskassan/eslint-config-jest": "13.5.3",
|
|
64
|
+
"@forsakringskassan/eslint-config-typescript": "13.5.0",
|
|
65
|
+
"@forsakringskassan/eslint-config-typescript-typeinfo": "13.5.0",
|
|
66
66
|
"@forsakringskassan/prettier-config": "3.3.5",
|
|
67
67
|
"@tsconfig/node22": "22.0.5",
|
|
68
|
-
"@types/node": "22.19.
|
|
68
|
+
"@types/node": "22.19.15",
|
|
69
69
|
"cypress": "15.11.0",
|
|
70
70
|
"cypress-html-validate": "8.1.0",
|
|
71
71
|
"dts-bundle-generator": "9.5.1",
|
|
72
72
|
"esbuild": "0.27.3",
|
|
73
|
-
"esbuild-sass-plugin": "3.
|
|
74
|
-
"npm-pkg-lint": "4.4.
|
|
73
|
+
"esbuild-sass-plugin": "3.7.0",
|
|
74
|
+
"npm-pkg-lint": "4.4.1",
|
|
75
75
|
"sass": "1.97.3",
|
|
76
76
|
"typescript": "5.9.3"
|
|
77
77
|
},
|
|
@@ -79,6 +79,6 @@
|
|
|
79
79
|
"node": ">= 22.0.0"
|
|
80
80
|
},
|
|
81
81
|
"dependencies": {
|
|
82
|
-
"@fkui/logic": "6.
|
|
82
|
+
"@fkui/logic": "6.39.0"
|
|
83
83
|
}
|
|
84
84
|
}
|