UNPKG

@rxap/table-system

Version:

This package provides a set of Angular directives, components, and services to enhance data tables with features like row expansion, full-text search, and row selection with checkboxes. It includes modules for easy integration of these features into exist

380 lines (335 loc) 17 kB
<!doctype html> <html class="no-js" lang=""> <head> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title>angular-table-system</title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="icon" type="image/x-icon" href="./images/favicon.ico"> <link rel="stylesheet" href="./styles/style.css"> <link rel="stylesheet" href="./styles/dark.css"> </head> <body> <script> // Blocking script to avoid flickering dark mode // Dark mode toggle button var useDark = window.matchMedia('(prefers-color-scheme: dark)'); var darkModeState = useDark.matches; var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input'); var $darkModeToggles = document.querySelectorAll('.dark-mode-switch'); var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state'); function checkToggle(check) { for (var i = 0; i < $darkModeToggleSwitchers.length; i++) { $darkModeToggleSwitchers[i].checked = check; } } function toggleDarkMode(state) { if (window.localStorage) { localStorage.setItem('compodoc_darkmode-state', state); } checkToggle(state); const hasClass = document.body.classList.contains('dark'); if (state) { for (var i = 0; i < $darkModeToggles.length; i++) { $darkModeToggles[i].classList.add('dark'); } if (!hasClass) { document.body.classList.add('dark'); } } else { for (var i = 0; i < $darkModeToggles.length; i++) { $darkModeToggles[i].classList.remove('dark'); } if (hasClass) { document.body.classList.remove('dark'); } } } useDark.addEventListener('change', function (evt) { toggleDarkMode(evt.matches); }); if (darkModeStateLocal) { darkModeState = darkModeStateLocal === 'true'; } toggleDarkMode(darkModeState); </script> <div class="navbar navbar-default navbar-fixed-top d-md-none p-0"> <div class="d-flex"> <a href="./" class="navbar-brand">angular-table-system</a> <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button> </div> </div> <div class="xs-menu menu" id="mobile-menu"> <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu> </div> <div class="container-fluid main"> <div class="row main"> <div class="d-none d-md-block menu"> <compodoc-menu mode="normal"></compodoc-menu> </div> <!-- START CONTENT --> <div class="content overview"> <div class="content-data"> <ol class="breadcrumb"> <li class="breadcrumb-item">Overview</li> </ol> <div class="text-center module-graph-container"> <div id="module-graph-svg"> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> <!-- Generated by graphviz version 2.47.0 (20210316.0004) --> <!-- Title: dependencies Pages: 1 --> <svg width="788pt" height="284pt" viewBox="0.00 0.00 788.00 284.00" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <g id="graph0" class="graph" transform="scale(1 1) rotate(0) translate(4 280)"> <title>dependencies</title> <polygon fill="white" stroke="transparent" points="-4,4 -4,-280 784,-280 784,4 -4,4"/> <text text-anchor="start" x="369.01" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text> <polygon fill="#ffffb3" stroke="transparent" points="156,-10 156,-30 176,-30 176,-10 156,-10"/> <text text-anchor="start" x="179.63" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Declarations</text> <polygon fill="#8dd3c7" stroke="transparent" points="269,-10 269,-30 289,-30 289,-10 269,-10"/> <text text-anchor="start" x="292.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Module</text> <polygon fill="#80b1d3" stroke="transparent" points="355,-10 355,-30 375,-30 375,-10 355,-10"/> <text text-anchor="start" x="378.78" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Bootstrap</text> <polygon fill="#fdb462" stroke="transparent" points="452,-10 452,-30 472,-30 472,-10 452,-10"/> <text text-anchor="start" x="475.67" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Providers</text> <polygon fill="#fb8072" stroke="transparent" points="548,-10 548,-30 568,-30 568,-10 548,-10"/> <text text-anchor="start" x="571.73" y="-15.4" font-family="Times-12" font-size="14.00"> &#160;Exports</text> <g id="clust1" class="cluster"> <title>cluster_ExpandRowModule</title> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 378,-268 378,-70 8,-70"/> </g> <g id="clust3" class="cluster"> <title>cluster_ExpandRowModule_imports</title> <polygon fill="none" stroke="black" points="216,-78 216,-130 370,-130 370,-78 216,-78"/> </g> <g id="clust4" class="cluster"> <title>cluster_ExpandRowModule_exports</title> <polygon fill="none" stroke="black" points="124,-208 124,-260 280,-260 280,-208 124,-208"/> </g> <g id="clust6" class="cluster"> <title>cluster_ExpandRowModule_providers</title> <polygon fill="none" stroke="black" points="16,-78 16,-130 208,-130 208,-78 16,-78"/> </g> <g id="clust7" class="cluster"> <title>cluster_SelectRowModule</title> <polygon fill="none" stroke="black" stroke-dasharray="1,5" points="386,-70 386,-268 772,-268 772,-70 386,-70"/> </g> <g id="clust9" class="cluster"> <title>cluster_SelectRowModule_imports</title> <polygon fill="none" stroke="black" points="582,-78 582,-130 764,-130 764,-78 582,-78"/> </g> <g id="clust10" class="cluster"> <title>cluster_SelectRowModule_exports</title> <polygon fill="none" stroke="black" points="487,-208 487,-260 671,-260 671,-208 487,-208"/> </g> <g id="clust12" class="cluster"> <title>cluster_SelectRowModule_providers</title> <polygon fill="none" stroke="black" points="394,-78 394,-130 574,-130 574,-78 394,-78"/> </g> <!-- ExpandRowDirective --> <g id="node1" class="node"> <title>ExpandRowDirective</title> <polygon fill="#8dd3c7" stroke="black" points="361.79,-122 358.79,-126 337.79,-126 334.79,-122 224.21,-122 224.21,-86 361.79,-86 361.79,-122"/> <text text-anchor="middle" x="293" y="-99.8" font-family="Times,serif" font-size="14.00">ExpandRowDirective</text> </g> <!-- ExpandRowModule --> <g id="node2" class="node"> <title>ExpandRowModule</title> <polygon fill="#8dd3c7" stroke="black" points="266.26,-187 263.26,-191 242.26,-191 239.26,-187 137.74,-187 137.74,-151 266.26,-151 266.26,-187"/> <text text-anchor="middle" x="202" y="-164.8" font-family="Times,serif" font-size="14.00">ExpandRowModule</text> </g> <!-- ExpandRowDirective&#45;&gt;ExpandRowModule --> <g id="edge1" class="edge"> <title>ExpandRowDirective&#45;&gt;ExpandRowModule</title> <path fill="none" stroke="black" d="M245.37,-122.11C245.37,-122.11 245.37,-140.99 245.37,-140.99"/> <polygon fill="black" stroke="black" points="241.87,-140.99 245.37,-150.99 248.87,-140.99 241.87,-140.99"/> </g> <!-- ExpandRowDirective --> <g id="node3" class="node"> <title>ExpandRowDirective </title> <polygon fill="#fb8072" stroke="black" points="272.29,-252 131.71,-252 131.71,-216 272.29,-216 272.29,-252"/> <text text-anchor="middle" x="202" y="-229.8" font-family="Times,serif" font-size="14.00">ExpandRowDirective </text> </g> <!-- ExpandRowModule&#45;&gt;ExpandRowDirective --> <g id="edge2" class="edge"> <title>ExpandRowModule&#45;&gt;ExpandRowDirective </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M202,-187.11C202,-187.11 202,-205.99 202,-205.99"/> <polygon fill="black" stroke="black" points="198.5,-205.99 202,-215.99 205.5,-205.99 198.5,-205.99"/> </g> <!-- ExpandRowService --> <g id="node4" class="node"> <title>ExpandRowService</title> <ellipse fill="#fdb462" stroke="black" cx="112" cy="-104" rx="87.96" ry="18"/> <text text-anchor="middle" x="112" y="-99.8" font-family="Times,serif" font-size="14.00">ExpandRowService</text> </g> <!-- ExpandRowService&#45;&gt;ExpandRowModule --> <g id="edge3" class="edge"> <title>ExpandRowService&#45;&gt;ExpandRowModule</title> <path fill="none" stroke="black" d="M168.68,-117.78C168.68,-117.78 168.68,-140.55 168.68,-140.55"/> <polygon fill="black" stroke="black" points="165.18,-140.55 168.68,-150.55 172.18,-140.55 165.18,-140.55"/> </g> <!-- AllRowsSelectedDirective --> <g id="node5" class="node"> <title>AllRowsSelectedDirective</title> <polygon fill="#8dd3c7" stroke="black" points="755.78,-122 752.78,-126 731.78,-126 728.78,-122 590.22,-122 590.22,-86 755.78,-86 755.78,-122"/> <text text-anchor="middle" x="673" y="-99.8" font-family="Times,serif" font-size="14.00">AllRowsSelectedDirective</text> </g> <!-- SelectRowModule --> <g id="node6" class="node"> <title>SelectRowModule</title> <polygon fill="#8dd3c7" stroke="black" points="639.2,-187 636.2,-191 615.2,-191 612.2,-187 518.8,-187 518.8,-151 639.2,-151 639.2,-187"/> <text text-anchor="middle" x="579" y="-164.8" font-family="Times,serif" font-size="14.00">SelectRowModule</text> </g> <!-- AllRowsSelectedDirective&#45;&gt;SelectRowModule --> <g id="edge4" class="edge"> <title>AllRowsSelectedDirective&#45;&gt;SelectRowModule</title> <path fill="none" stroke="black" d="M614.73,-122.11C614.73,-122.11 614.73,-140.99 614.73,-140.99"/> <polygon fill="black" stroke="black" points="611.23,-140.99 614.73,-150.99 618.23,-140.99 611.23,-140.99"/> </g> <!-- AllRowsSelectedDirective --> <g id="node7" class="node"> <title>AllRowsSelectedDirective </title> <polygon fill="#fb8072" stroke="black" points="663.28,-252 494.72,-252 494.72,-216 663.28,-216 663.28,-252"/> <text text-anchor="middle" x="579" y="-229.8" font-family="Times,serif" font-size="14.00">AllRowsSelectedDirective </text> </g> <!-- SelectRowModule&#45;&gt;AllRowsSelectedDirective --> <g id="edge5" class="edge"> <title>SelectRowModule&#45;&gt;AllRowsSelectedDirective </title> <path fill="none" stroke="black" stroke-dasharray="5,2" d="M579,-187.11C579,-187.11 579,-205.99 579,-205.99"/> <polygon fill="black" stroke="black" points="575.5,-205.99 579,-215.99 582.5,-205.99 575.5,-205.99"/> </g> <!-- SelectRowService --> <g id="node8" class="node"> <title>SelectRowService</title> <ellipse fill="#fdb462" stroke="black" cx="484" cy="-104" rx="81.66" ry="18"/> <text text-anchor="middle" x="484" y="-99.8" font-family="Times,serif" font-size="14.00">SelectRowService</text> </g> <!-- SelectRowService&#45;&gt;SelectRowModule --> <g id="edge6" class="edge"> <title>SelectRowService&#45;&gt;SelectRowModule</title> <path fill="none" stroke="black" d="M542.36,-116.84C542.36,-116.84 542.36,-140.52 542.36,-140.52"/> <polygon fill="black" stroke="black" points="538.86,-140.52 542.36,-150.52 545.86,-140.52 538.86,-140.52"/> </g> </g> </svg> </div> <i id="fullscreen" class="icon ion-ios-resize module-graph-fullscreen-btn" aria-hidden="true"></i> <div class="btn-group size-buttons"> <button id="zoom-in" class="btn btn-default btn-sm">Zoom in</button> <button id="reset" class="btn btn-default btn-sm">Reset</button> <button id="zoom-out" class="btn btn-default btn-sm">Zoom out</button> </div> </div> <div class="tab-content overview"> <div class="row"> <div class="col-sm-3"> <div class="card text-center"> <div class="card-block"> <h4 class="card-title"><span class="icon ion-ios-archive"></span></h4> <p class="card-text"> <a href="./modules.html">2 Modules</a> </p> </div> </div> </div> <div class="col-sm-3"> <div class="card text-center"> <div class="card-block"> <h4 class="card-title"><span class="icon ion-md-cog"></span></h4> <p class="card-text">4 Components</p> </div> </div> </div> <div class="col-sm-3"> <div class="card text-center"> <div class="card-block"> <h4 class="card-title"><span class="icon ion-md-code-working"></span></h4> <p class="card-text">4 Directives</p> </div> </div> </div> <div class="col-sm-3"> <div class="card text-center"> <div class="card-block"> <h4 class="card-title"><span class="icon ion-md-arrow-round-down"></span></h4> <p class="card-text">3 Injectables</p> </div> </div> </div> <div class="col-sm-3"> <div class="card text-center"> <div class="card-block"> <h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4> <p class="card-text">2 Interfaces</p> </div> </div> </div> </div> </div> <script src="js/libs/svg-pan-zoom.min.js"></script> <script src="js/svg-pan-zoom.controls.js"></script> </div><div class="search-results"> <div class="has-results"> <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1> <ul class="search-results-list"></ul> </div> <div class="no-results"> <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1> </div> </div> </div> <!-- END CONTENT --> </div> </div> <label class="dark-mode-switch"> <input type="checkbox"> <span class="slider"> <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg"> <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path> </svg> </span> </label> <script> var COMPODOC_CURRENT_PAGE_DEPTH = 0; var COMPODOC_CURRENT_PAGE_CONTEXT = 'overview'; var COMPODOC_CURRENT_PAGE_URL = 'overview.html'; var MAX_SEARCH_RESULTS = 15; </script> <script> $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input'); checkToggle(darkModeState); if ($darkModeToggleSwitchers.length > 0) { for (var i = 0; i < $darkModeToggleSwitchers.length; i++) { $darkModeToggleSwitchers[i].addEventListener('change', function (event) { darkModeState = !darkModeState; toggleDarkMode(darkModeState); }); } } </script> <script src="./js/libs/custom-elements.min.js"></script> <script src="./js/libs/lit-html.js"></script> <script src="./js/menu-wc.js" defer></script> <script nomodule src="./js/menu-wc_es5.js" defer></script> <script src="./js/libs/bootstrap-native.js"></script> <script src="./js/libs/es6-shim.min.js"></script> <script src="./js/libs/EventDispatcher.js"></script> <script src="./js/libs/promise.min.js"></script> <script src="./js/libs/zepto.min.js"></script> <script src="./js/compodoc.js"></script> <script src="./js/tabs.js"></script> <script src="./js/menu.js"></script> <script src="./js/libs/clipboard.min.js"></script> <script src="./js/libs/prism.js"></script> <script src="./js/sourceCode.js"></script> <script src="./js/search/search.js"></script> <script src="./js/search/lunr.min.js"></script> <script src="./js/search/search-lunr.js"></script> <script src="./js/search/search_index.js"></script> <script src="./js/lazy-load-graphs.js"></script> </body> </html>