You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Een nieuwe class om helper tips af te beelden en een storage class zodat deze slechts 1x worden getoond
- Nieuwe documentatie rond het situatieschema
document.body.style.pointerEvents = 'none'; // Disable interactions with the background
1845
+
popupOverlay.style.pointerEvents = 'auto'; // Enable interactions with the popup
1846
+
};
1847
+
return HelperTip;
1848
+
}());
1738
1849
/* FUNCTION showFilePage
1739
1850
1740
1851
Shows the Documentation-Page.
1741
1852
1742
1853
*/
1743
1854
function showDocumentationPage() {
1744
-
var strleft = "\n <table border=\"1px\" style=\"border-collapse:collapse\" align=\"center\" width=\"100%\">\n <tr>\n <td width=\"100%\" align=\"center\" bgcolor=\"LightGrey\">\n <b>Handleiding</b>\n </td>\n </tr>\n <tr>\n <td width=\"100%\" align=\"left\">\n <table border=0>\n <tr>\n <td width=100 style=\"vertical-align:top;padding:5px\">\n <button style=\"font-size:14px\" id=\"Btn_downloadManual\">Download</button>\n </td>\n <td style=\"vertical-align:top;padding:7px\">\n Een volledige handleiding is beschikbaar in PDF formaat.\n Click link op \"Download\" om deze in een ander venster te openen.\n <br>\n Het programma is in volle ontwikkeling dus delen van de handleiding zijn\n mogelijk ietwat verouderd. \n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>";
1855
+
var strleft = "\n <table border=\"1px\" style=\"border-collapse:collapse\" align=\"center\" width=\"100%\">\n <tr>\n <td width=\"100%\" align=\"center\" bgcolor=\"LightGrey\">\n <b>Handleiding</b>\n </td>\n </tr>\n <tr>\n <td width=\"100%\" align=\"left\">\n <table border=0>\n <tr>\n <td width=100 style=\"vertical-align:top;padding:5px\">\n <button style=\"font-size:14px\" id=\"Btn_downloadManual\">E\u00E9ndraadschema</button>\n </td>\n <td style=\"vertical-align:top;padding:7px\">\n Een volledige handleiding is beschikbaar in PDF formaat.\n Klik links om deze in een ander venster te openen.\n <br>\n Het programma is in volle ontwikkeling dus delen van de handleiding zijn\n mogelijk ietwat verouderd. \n </td>\n </tr>\n <tr>\n <td width=100 style=\"vertical-align:top;padding:5px\">\n <button style=\"font-size:14px\" id=\"Btn_downloadSitPlanManual\">Situatieschema</button>\n </td>\n <td style=\"vertical-align:top;padding:7px\">\n Specifiek voor het werken met het situatieschema werd een ander korter document opgesteld.\n Klik link om deze in een ander venster te openen.\n </td>\n </tr>\n </table>\n </td>\n </tr>\n </table>";
document.getElementById('Btn_downloadManual').onclick = function () { window.open('Documentation/edsdoc.pdf', '_blank'); };
1859
+
document.getElementById('Btn_downloadSitPlanManual').onclick = function () { window.open('Documentation/sitplandoc.pdf', '_blank'); };
1748
1860
}
1749
1861
/**
1750
1862
* Class gebruikt in SituationPlanView om te zoeken naar electroitems op basis van de kringnaam.
@@ -3257,6 +3369,9 @@ function showSituationPlanPage() {
3257
3369
}
3258
3370
;
3259
3371
structure.sitplanview.redraw();
3372
+
// Initialize the HelperTip with the storage
3373
+
var helperTip = new HelperTip(appDocStorage);
3374
+
helperTip.show('sitplan.introductie', "<h3>Situatieschema</h3>\n <p>Op deze pagina kan u een situatieschema tekenen</p>\n <p>Laad een plattegrond met de knop \"Uit bestand\" en voeg symbolen toe met de knop \"Uit schema\".</p>\n <p>Klik <a href=\"Documentation/sitplandoc.pdf\" target=\"_blank\" rel=\"noopener noreferrer\">hier</a> om in een nieuw venster de documentatie te bekijken.</p>\n <p>Het situatieschema werd recent toegevoegd aan het programma en zal nog verder ontwikkeld worden over de komende weken. Opmerkingen zijn welkom in het \"contact\"-formulier.</p>");
3260
3375
}
3261
3376
/**
3262
3377
* Een serie functies om een formulier te tonen met edit-functionaliteiten voor symbolen in het situatieplan
@@ -3617,6 +3732,103 @@ function SituationPlanView_ElementPropertiesPopup(sitplanElement, callbackOK) {
3617
3732
document.body.appendChild(div);
3618
3733
showPopup();
3619
3734
}
3735
+
var MultiLevelStorage = /** @class */ (function () {
3736
+
function MultiLevelStorage(storageKey, initialData) {
3737
+
this.storageKey = storageKey;
3738
+
// Load data from storage or initialize with default data
0 commit comments