@rxap/material-table-system
Version:
This package provides a set of Angular directives, components, and services to enhance and customize Angular Material tables. It includes features such as row selection, column filtering, expandable rows, table actions, and more. The goal is to simplify c
447 lines (389 loc) • 20.9 kB
HTML
<html class="no-js" lang="">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>angular-material-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-material-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 module">
<div class="content-data">
<ol class="breadcrumb">
<li class="breadcrumb-item">Modules</li>
<li class="breadcrumb-item" >TableRowActionsModule</li>
</ol>
<div class="text-center module-graph-container">
<div id="module-graph-svg">
<!-- Generated by graphviz version 2.47.0 (20210316.0004)
-->
<!-- Title: dependencies Pages: 1 -->
<svg width="855pt" height="284pt"
viewBox="0.00 0.00 855.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 851,-280 851,4 -4,4"/>
<text text-anchor="start" x="402.51" y="-42.4" font-family="Times-12" font-weight="bold" font-size="14.00">Legend</text>
<polygon fill="#ffffb3" stroke="transparent" points="189.5,-10 189.5,-30 209.5,-30 209.5,-10 189.5,-10"/>
<text text-anchor="start" x="213.13" y="-15.4" font-family="Times-12" font-size="14.00">  Declarations</text>
<polygon fill="#8dd3c7" stroke="transparent" points="302.5,-10 302.5,-30 322.5,-30 322.5,-10 302.5,-10"/>
<text text-anchor="start" x="326.23" y="-15.4" font-family="Times-12" font-size="14.00">  Module</text>
<polygon fill="#80b1d3" stroke="transparent" points="388.5,-10 388.5,-30 408.5,-30 408.5,-10 388.5,-10"/>
<text text-anchor="start" x="412.28" y="-15.4" font-family="Times-12" font-size="14.00">  Bootstrap</text>
<polygon fill="#fdb462" stroke="transparent" points="485.5,-10 485.5,-30 505.5,-30 505.5,-10 485.5,-10"/>
<text text-anchor="start" x="509.17" y="-15.4" font-family="Times-12" font-size="14.00">  Providers</text>
<polygon fill="#fb8072" stroke="transparent" points="581.5,-10 581.5,-30 601.5,-30 601.5,-10 581.5,-10"/>
<text text-anchor="start" x="605.23" y="-15.4" font-family="Times-12" font-size="14.00">  Exports</text>
<g id="clust1" class="cluster">
<title>cluster_TableRowActionsModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="8,-70 8,-268 839,-268 839,-70 8,-70"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_TableRowActionsModule_exports</title>
<polygon fill="none" stroke="black" points="16,-208 16,-260 831,-260 831,-208 16,-208"/>
</g>
<g id="clust3" class="cluster">
<title>cluster_TableRowActionsModule_imports</title>
<polygon fill="none" stroke="black" points="24,-78 24,-130 826,-130 826,-78 24,-78"/>
</g>
<!-- RowActionCheckPipe -->
<g id="node1" class="node">
<title>RowActionCheckPipe</title>
<polygon fill="#8dd3c7" stroke="black" points="817.7,-122 814.7,-126 793.7,-126 790.7,-122 676.3,-122 676.3,-86 817.7,-86 817.7,-122"/>
<text text-anchor="middle" x="747" y="-99.8" font-family="Times,serif" font-size="14.00">RowActionCheckPipe</text>
</g>
<!-- TableRowActionsModule -->
<g id="node5" class="node">
<title>TableRowActionsModule</title>
<polygon fill="#8dd3c7" stroke="black" points="448.91,-187 445.91,-191 424.91,-191 421.91,-187 287.09,-187 287.09,-151 448.91,-151 448.91,-187"/>
<text text-anchor="middle" x="368" y="-164.8" font-family="Times,serif" font-size="14.00">TableRowActionsModule</text>
</g>
<!-- RowActionCheckPipe->TableRowActionsModule -->
<g id="edge1" class="edge">
<title>RowActionCheckPipe->TableRowActionsModule</title>
<path fill="none" stroke="black" d="M771.28,-122.27C771.28,-140.56 771.28,-166 771.28,-166 771.28,-166 459.13,-166 459.13,-166"/>
<polygon fill="black" stroke="black" points="459.13,-162.5 449.13,-166 459.13,-169.5 459.13,-162.5"/>
</g>
<!-- TableRowActionDirective -->
<g id="node2" class="node">
<title>TableRowActionDirective</title>
<polygon fill="#8dd3c7" stroke="black" points="658,-122 655,-126 634,-126 631,-122 494,-122 494,-86 658,-86 658,-122"/>
<text text-anchor="middle" x="576" y="-99.8" font-family="Times,serif" font-size="14.00">TableRowActionDirective</text>
</g>
<!-- TableRowActionDirective->TableRowActionsModule -->
<g id="edge2" class="edge">
<title>TableRowActionDirective->TableRowActionsModule</title>
<path fill="none" stroke="black" d="M603.42,-122.01C603.42,-138.05 603.42,-159 603.42,-159 603.42,-159 459.02,-159 459.02,-159"/>
<polygon fill="black" stroke="black" points="459.02,-155.5 449.02,-159 459.02,-162.5 459.02,-155.5"/>
</g>
<!-- TableRowActionExecutingDirective -->
<g id="node3" class="node">
<title>TableRowActionExecutingDirective</title>
<polygon fill="#8dd3c7" stroke="black" points="475.76,-122 472.76,-126 451.76,-126 448.76,-122 254.24,-122 254.24,-86 475.76,-86 475.76,-122"/>
<text text-anchor="middle" x="365" y="-99.8" font-family="Times,serif" font-size="14.00">TableRowActionExecutingDirective</text>
</g>
<!-- TableRowActionExecutingDirective->TableRowActionsModule -->
<g id="edge3" class="edge">
<title>TableRowActionExecutingDirective->TableRowActionsModule</title>
<path fill="none" stroke="black" d="M368,-122.11C368,-122.11 368,-140.99 368,-140.99"/>
<polygon fill="black" stroke="black" points="364.5,-140.99 368,-150.99 371.5,-140.99 364.5,-140.99"/>
</g>
<!-- TableRowHeaderActionDirective -->
<g id="node4" class="node">
<title>TableRowHeaderActionDirective</title>
<polygon fill="#8dd3c7" stroke="black" points="236.41,-122 233.41,-126 212.41,-126 209.41,-122 31.59,-122 31.59,-86 236.41,-86 236.41,-122"/>
<text text-anchor="middle" x="134" y="-99.8" font-family="Times,serif" font-size="14.00">TableRowHeaderActionDirective</text>
</g>
<!-- TableRowHeaderActionDirective->TableRowActionsModule -->
<g id="edge4" class="edge">
<title>TableRowHeaderActionDirective->TableRowActionsModule</title>
<path fill="none" stroke="black" d="M165.32,-122.02C165.32,-139.37 165.32,-163 165.32,-163 165.32,-163 277.02,-163 277.02,-163"/>
<polygon fill="black" stroke="black" points="277.02,-166.5 287.02,-163 277.02,-159.5 277.02,-166.5"/>
</g>
<!-- RowActionCheckPipe -->
<g id="node6" class="node">
<title>RowActionCheckPipe </title>
<polygon fill="#fb8072" stroke="black" points="823.2,-252 678.8,-252 678.8,-216 823.2,-216 823.2,-252"/>
<text text-anchor="middle" x="751" y="-229.8" font-family="Times,serif" font-size="14.00">RowActionCheckPipe </text>
</g>
<!-- TableRowActionsModule->RowActionCheckPipe -->
<g id="edge5" class="edge">
<title>TableRowActionsModule->RowActionCheckPipe </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M449,-173C554.32,-173 724.97,-173 724.97,-173 724.97,-173 724.97,-205.7 724.97,-205.7"/>
<polygon fill="black" stroke="black" points="721.47,-205.7 724.97,-215.7 728.47,-205.7 721.47,-205.7"/>
</g>
<!-- TableRowActionDirective -->
<g id="node7" class="node">
<title>TableRowActionDirective </title>
<polygon fill="#fb8072" stroke="black" points="661,-252 493,-252 493,-216 661,-216 661,-252"/>
<text text-anchor="middle" x="577" y="-229.8" font-family="Times,serif" font-size="14.00">TableRowActionDirective </text>
</g>
<!-- TableRowActionsModule->TableRowActionDirective -->
<g id="edge6" class="edge">
<title>TableRowActionsModule->TableRowActionDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M448.78,-180C496.87,-180 548.58,-180 548.58,-180 548.58,-180 548.58,-205.72 548.58,-205.72"/>
<polygon fill="black" stroke="black" points="545.08,-205.72 548.58,-215.72 552.08,-205.72 545.08,-205.72"/>
</g>
<!-- TableRowActionExecutingDirective -->
<g id="node8" class="node">
<title>TableRowActionExecutingDirective </title>
<polygon fill="#fb8072" stroke="black" points="475.26,-252 250.74,-252 250.74,-216 475.26,-216 475.26,-252"/>
<text text-anchor="middle" x="363" y="-229.8" font-family="Times,serif" font-size="14.00">TableRowActionExecutingDirective </text>
</g>
<!-- TableRowActionsModule->TableRowActionExecutingDirective -->
<g id="edge7" class="edge">
<title>TableRowActionsModule->TableRowActionExecutingDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M368,-187.11C368,-187.11 368,-205.99 368,-205.99"/>
<polygon fill="black" stroke="black" points="364.5,-205.99 368,-215.99 371.5,-205.99 364.5,-205.99"/>
</g>
<!-- TableRowHeaderActionDirective -->
<g id="node9" class="node">
<title>TableRowHeaderActionDirective </title>
<polygon fill="#fb8072" stroke="black" points="232.41,-252 23.59,-252 23.59,-216 232.41,-216 232.41,-252"/>
<text text-anchor="middle" x="128" y="-229.8" font-family="Times,serif" font-size="14.00">TableRowHeaderActionDirective </text>
</g>
<!-- TableRowActionsModule->TableRowHeaderActionDirective -->
<g id="edge8" class="edge">
<title>TableRowActionsModule->TableRowHeaderActionDirective </title>
<path fill="none" stroke="black" stroke-dasharray="5,2" d="M287.12,-175C207.72,-175 98.43,-175 98.43,-175 98.43,-175 98.43,-205.98 98.43,-205.98"/>
<polygon fill="black" stroke="black" points="94.93,-205.98 98.43,-215.98 101.93,-205.98 94.93,-205.98"/>
</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>
<script src="../js/libs/svg-pan-zoom.min.js"></script>
<script src="../js/svg-pan-zoom.controls.js"></script>
<ul class="nav nav-tabs" role="tablist">
<li class="nav-item">
<a href="#info"
class="nav-link"
class="nav-link active"
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
</li>
<li class="nav-item">
<a href="#source"
class="nav-link"
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
</li>
</ul>
<div class="tab-content">
<div class="tab-pane fade active in" id="info">
<p class="comment">
<h3>File</h3>
</p>
<p class="comment">
<code>src/lib/table-row-actions/table-row-actions.module.ts</code>
</p>
<div class="container-fluid module">
<div class="row">
<div class="col-sm-3">
<h3>Imports<a href="https://angular.io/api/core/NgModule#imports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module imports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../modules/RowActionCheckPipe.html">RowActionCheckPipe</a>
</li>
<li class="list-group-item">
<a href="../modules/TableRowActionDirective.html">TableRowActionDirective</a>
</li>
<li class="list-group-item">
<a href="../modules/TableRowActionExecutingDirective.html">TableRowActionExecutingDirective</a>
</li>
<li class="list-group-item">
<a href="../modules/TableRowHeaderActionDirective.html">TableRowHeaderActionDirective</a>
</li>
</ul>
</div>
<div class="col-sm-3">
<h3>Exports<a href="https://angular.io/api/core/NgModule#exports" target="_blank" rel="noopener noreferrer"
title="Official documentation about module exports"><span
class="icon ion-ios-information-circle-outline"></a></h3>
<ul class="list-group">
<li class="list-group-item">
<a href="../pipes/RowActionCheckPipe.html">RowActionCheckPipe</a>
</li>
<li class="list-group-item">
<a href="../directives/TableRowActionDirective.html">TableRowActionDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/TableRowActionExecutingDirective.html">TableRowActionExecutingDirective</a>
</li>
<li class="list-group-item">
<a href="../directives/TableRowHeaderActionDirective.html">TableRowHeaderActionDirective</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { CommonModule } from '@angular/common';
import { NgModule } from '@angular/core';
import { MatButtonModule } from '@angular/material/button';
import { MatIconModule } from '@angular/material/icon';
import { MatProgressBarModule } from '@angular/material/progress-bar';
import { MatTooltipModule } from '@angular/material/tooltip';
import { ConfirmModule } from '@rxap/components';
import { TableRowActionExecutingDirective } from './table-row-action-executing.directive';
import { TableRowActionDirective } from './table-row-action.directive';
import { TableRowHeaderActionDirective } from './table-row-header-action.directive';
import { RowActionCheckPipe } from './row-action-check.pipe';
@NgModule({
imports: [
TableRowActionDirective,
TableRowActionExecutingDirective,
TableRowHeaderActionDirective,
RowActionCheckPipe,
ConfirmModule,
],
exports: [
TableRowActionDirective,
TableRowHeaderActionDirective,
TableRowActionExecutingDirective,
RowActionCheckPipe,
MatTooltipModule,
MatButtonModule,
ConfirmModule,
MatIconModule,
MatProgressBarModule,
CommonModule,
],
})
export class TableRowActionsModule {}
</code></pre>
</div>
</div>
</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 = 1;
var COMPODOC_CURRENT_PAGE_CONTEXT = 'module';
var COMPODOC_CURRENT_PAGE_URL = 'TableRowActionsModule.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>