Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
178 changes: 94 additions & 84 deletions docs/compodoc/components-core/changelog.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ <h3 id="methods">
}
let providers &#x3D; [
{
provide: NAE_DEFAULT_HEADERS, useValue: this.dataField.component?.properties?.headers.split(&#x27;,&#x27;)
provide: NAE_DEFAULT_HEADERS, useValue: this.dataField.component?.properties?.headers?.split(&#x27;,&#x27;)
},
{
provide: NAE_CASE_REF_CREATE_CASE, useValue: this.dataField.component?.properties?.createCase &#x3D;&#x3D;&#x3D; &#x27;true&#x27;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[10, 20, 50]</code>
<i>Default value : </i><code>[10, 20, 50, 100]</code>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1823,7 +1823,7 @@ <h3 id="inputs">
public length: number;
public pageSize &#x3D; 20;
public pageIndex &#x3D; 0;
public pageSizeOptions: number[] &#x3D; [10, 20, 50];
public pageSizeOptions: number[] &#x3D; [10, 20, 50, 100];
@Input() public approval: boolean;
@Input() public disabled: boolean;

Expand Down
456 changes: 390 additions & 66 deletions docs/compodoc/components-core/components/AbstractHeaderComponent.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1305,7 +1305,7 @@ <h3 id="inputs">
</tr>
<tr>
<td class="col-md-4">
<i>Default value : </i><code>[10, 20, 50]</code>
<i>Default value : </i><code>[10, 20, 50, 100]</code>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -2023,7 +2023,7 @@ <h3 id="accessors">
public length: number;
public pageSize &#x3D; 20;
public pageIndex &#x3D; 0;
public pageSizeOptions: Array&lt;number&gt; &#x3D; [10, 20, 50];
public pageSizeOptions: Array&lt;number&gt; &#x3D; [10, 20, 50, 100];

@Input() public disabled: boolean;
@Input()
Expand Down
10 changes: 5 additions & 5 deletions docs/compodoc/components-core/coverage.html
Original file line number Diff line number Diff line change
Expand Up @@ -3672,9 +3672,9 @@
</td>
<td>component</td>
<td>AbstractHeaderComponent</td>
<td align="right" data-sort="4">
<span class="coverage-percent">4 %</span>
<span class="coverage-count">(2/48)</span>
<td align="right" data-sort="3">
<span class="coverage-percent">3 %</span>
<span class="coverage-count">(2/54)</span>
</td>
</tr>
<tr class="medium">
Expand Down Expand Up @@ -7442,7 +7442,7 @@
<td>SearchService</td>
<td align="right" data-sort="85">
<span class="coverage-percent">85 %</span>
<span class="coverage-count">(17/20)</span>
<span class="coverage-count">(18/21)</span>
</td>
</tr>
<tr class="good">
Expand Down Expand Up @@ -10130,7 +10130,7 @@
<td>CaseViewService</td>
<td align="right" data-sort="8">
<span class="coverage-percent">8 %</span>
<span class="coverage-count">(2/24)</span>
<span class="coverage-count">(2/25)</span>
</td>
</tr>
<tr class="low">
Expand Down
145 changes: 104 additions & 41 deletions docs/compodoc/components-core/injectables/CaseViewService.html

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ <h3 id="methods">
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>extractCompleteFilterFromData(dataSection: Array<DataGroup>, fieldId: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
<code>extractCompleteFilterFromData(dataSection?: Array<DataGroup>, filterData?: <a href="../classes/Filter.html" target="_self">Filter</a>, fieldId: <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank">string</a>)</code>
</td>
</tr>

Expand Down Expand Up @@ -421,7 +421,21 @@ <h3 id="methods">
</td>

<td>
No
Yes
</td>

<td>
</td>

</tr>
<tr>
<td>filterData</td>
<td>
<code><a href="../classes/Filter.html" target="_self" >Filter</a></code>
</td>

<td>
Yes
</td>

<td>
Expand Down Expand Up @@ -481,8 +495,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="96"
class="link-to-prism">projects/netgrif-components-core/src/lib/navigation/utility/filter-extraction.service.ts:96</a></div>
<div class="io-line">Defined in <a href="" data-line="100"
class="link-to-prism">projects/netgrif-components-core/src/lib/navigation/utility/filter-extraction.service.ts:100</a></div>
</td>
</tr>

Expand Down Expand Up @@ -635,7 +649,7 @@ <h3 id="inputs">
return this.extractCompleteFilterFromData(dataSection.slice(taskRefIndex.dataGroupIndex + 1));
}

public extractCompleteFilterFromData(dataSection: Array&lt;DataGroup&gt;, fieldId: string &#x3D; UserFilterConstants.FILTER_FIELD_ID): Filter | undefined {
public extractCompleteFilterFromData(dataSection?: Array&lt;DataGroup&gt;, filterData?: Filter, fieldId: string &#x3D; UserFilterConstants.FILTER_FIELD_ID): Filter | undefined {
const filterIndex &#x3D; getFieldIndexFromDataGroups(dataSection, fieldId);

if (filterIndex &#x3D;&#x3D;&#x3D; undefined) {
Expand All @@ -651,7 +665,11 @@ <h3 id="inputs">
throw new Error(&#x27;Filter segment could not be extracted from filter field&#x27;);
}

const parentFilter &#x3D; this.extractCompleteFilterFromData(dataSection.slice(filterIndex.dataGroupIndex + 1));
if (!!filterData) {
filterSegment &#x3D; filterSegment.merge(filterData, MergeOperator.AND);
}

const parentFilter &#x3D; this.extractCompleteFilterFromData(dataSection.slice(filterIndex.dataGroupIndex + 1), filterData);

if (parentFilter !&#x3D;&#x3D; undefined &amp;&amp; parentFilter.type &#x3D;&#x3D;&#x3D; filterSegment.type) {
return filterSegment.merge(parentFilter, MergeOperator.AND);
Expand Down
101 changes: 95 additions & 6 deletions docs/compodoc/components-core/injectables/SearchService.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,10 @@ <h6><b>Methods</b></h6>
<span class="modifier">Protected</span>
<a href="#updateActiveFilter" >updateActiveFilter</a>
</li>
<li>
<span class="modifier">Public</span>
<a href="#updateWithFullFilter" >updateWithFullFilter</a>
</li>
</ul>
</td>
</tr>
Expand Down Expand Up @@ -618,8 +622,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="367"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:367</a></div>
<div class="io-line">Defined in <a href="" data-line="375"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:375</a></div>
</td>
</tr>

Expand Down Expand Up @@ -663,8 +667,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="311"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:311</a></div>
<div class="io-line">Defined in <a href="" data-line="319"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:319</a></div>
</td>
</tr>

Expand Down Expand Up @@ -711,8 +715,8 @@ <h3 id="methods">

<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="324"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:324</a></div>
<div class="io-line">Defined in <a href="" data-line="332"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:332</a></div>
</td>
</tr>

Expand Down Expand Up @@ -1096,6 +1100,83 @@ <h3 id="methods">
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

</div>
</td>
</tr>
</tbody>
</table>
<table class="table table-sm table-bordered">
<tbody>
<tr>
<td class="col-md-4">
<a name="updateWithFullFilter"></a>
<span class="name">
<span class="modifier">Public</span>
<span ><b>updateWithFullFilter</b></span>
<a href="#updateWithFullFilter"><span class="icon ion-ios-link"></span></a>
</span>
</td>
</tr>
<tr>
<td class="col-md-4">
<span class="modifier-icon icon ion-ios-reset"></span>
<code>updateWithFullFilter(newFilter: <a href="../classes/Filter.html" target="_self">Filter</a>)</code>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="311"
class="link-to-prism">projects/netgrif-components-core/src/lib/search/search-service/search.service.ts:311</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">
<div class="io-description"><p>Loads whole new filter and search cases/tasks based on this filter</p>
</div>

<div class="io-description">
<b>Parameters :</b>
<table class="params">
<thead>
<tr>
<td>Name</td>
<td>Type</td>
<td>Optional</td>
<td>Description</td>
</tr>
</thead>
<tbody>
<tr>
<td>newFilter</td>
<td>
<code><a href="../classes/Filter.html" target="_self" >Filter</a></code>
</td>

<td>
No
</td>


<td>
<p>whole new filter that should be used for search</p>

</td>
</tr>
</tbody>
</table>
</div>
<div>
</div>
<div class="io-description">
<b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>

</div>
<div class="io-description">

</div>
</td>
</tr>
Expand Down Expand Up @@ -1979,6 +2060,14 @@ <h3 id="accessors">
}
}

/**
* Loads whole new filter and search cases/tasks based on this filter
* @param newFilter whole new filter that should be used for search
*/
public updateWithFullFilter(newFilter: Filter): void {
this._activeFilter.next(newFilter);
}

/**
* @returns &#x60;undefined&#x60; if the predicate tree contains no complete query.
* Otherwise returns the serialized form of the completed queries in the predicate tree.
Expand Down
2 changes: 1 addition & 1 deletion docs/compodoc/components-core/interfaces/Author.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ <h3 id="inputs">Properties</h3>

<tr>
<td class="col-md-4">
<div class="io-description"><p><strong>Example:</strong> <a href="mailto:&#101;&#120;&#97;&#109;&#112;&#x6c;&#x65;&#x40;&#110;&#101;&#116;&#x67;&#x72;&#105;&#x66;&#46;&#x63;&#x6f;&#109;">&#101;&#120;&#97;&#109;&#112;&#x6c;&#x65;&#x40;&#110;&#101;&#116;&#x67;&#x72;&#105;&#x66;&#46;&#x63;&#x6f;&#109;</a></p>
<div class="io-description"><p><strong>Example:</strong> <a href="mailto:&#x65;&#x78;&#x61;&#x6d;&#112;&#108;&#101;&#x40;&#110;&#x65;&#116;&#103;&#114;&#x69;&#x66;&#46;&#99;&#x6f;&#109;">&#x65;&#x78;&#x61;&#x6d;&#112;&#108;&#101;&#x40;&#110;&#x65;&#116;&#103;&#114;&#x69;&#x66;&#46;&#99;&#x6f;&#109;</a></p>
</div>
</td>
</tr>
Expand Down
2 changes: 1 addition & 1 deletion docs/compodoc/components-core/interfaces/Case.html
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ <h3 id="inputs">Properties</h3>
<tr>
<td class="col-md-4">
<div class="io-description"><p><strong>Example:</strong> {</p>
<p>&quot;email&quot;: &quot;<a href="mailto:&#x65;&#x78;&#97;&#109;&#x70;&#108;&#x65;&#x40;&#110;&#101;&#x74;&#x67;&#x72;&#x69;&#x66;&#x2e;&#x63;&#x6f;&#x6d;">&#x65;&#x78;&#97;&#109;&#x70;&#108;&#x65;&#x40;&#110;&#101;&#x74;&#x67;&#x72;&#x69;&#x66;&#x2e;&#x63;&#x6f;&#x6d;</a>&quot;,</p>
<p>&quot;email&quot;: &quot;<a href="mailto:&#101;&#120;&#x61;&#x6d;&#112;&#108;&#x65;&#x40;&#x6e;&#101;&#x74;&#103;&#114;&#x69;&#102;&#46;&#99;&#111;&#x6d;">&#101;&#120;&#x61;&#x6d;&#112;&#108;&#x65;&#x40;&#x6e;&#101;&#x74;&#103;&#114;&#x69;&#102;&#46;&#99;&#111;&#x6d;</a>&quot;,</p>
<p>&quot;fullName&quot;: &quot;Example Netgrif&quot;</p>
<p>}</p>
</div>
Expand Down
2 changes: 1 addition & 1 deletion docs/compodoc/components-core/interfaces/IUser.html
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ <h3 id="inputs">Properties</h3>

<tr>
<td class="col-md-4">
<div class="io-description"><p><strong>Example:</strong> <a href="mailto:&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#x65;&#64;&#110;&#x65;&#x74;&#103;&#114;&#x69;&#102;&#46;&#x63;&#111;&#x6d;">&#101;&#x78;&#97;&#x6d;&#x70;&#x6c;&#x65;&#64;&#110;&#x65;&#x74;&#103;&#114;&#x69;&#102;&#46;&#x63;&#111;&#x6d;</a></p>
<div class="io-description"><p><strong>Example:</strong> <a href="mailto:&#101;&#120;&#x61;&#109;&#x70;&#108;&#101;&#x40;&#x6e;&#x65;&#116;&#103;&#x72;&#105;&#102;&#x2e;&#x63;&#x6f;&#x6d;">&#101;&#120;&#x61;&#109;&#x70;&#108;&#101;&#x40;&#x6e;&#x65;&#116;&#103;&#x72;&#105;&#102;&#x2e;&#x63;&#x6f;&#x6d;</a></p>
</div>
</td>
</tr>
Expand Down
4 changes: 2 additions & 2 deletions docs/compodoc/components-core/js/search/search_index.js

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion docs/compodoc/components-core/miscellaneous/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -4827,7 +4827,7 @@ <h3></h3> <table class="table table-sm table-bordered">
</tr>
<tr>
<td class="col-md-4">
<code>navigationItemTaskFilterFactory(extractionService, navigationItemTaskData)</code>
<code>navigationItemTaskFilterFactory(extractionService, navigationItemTaskData, filterData?)</code>
</td>
</tr>

Expand Down Expand Up @@ -4874,6 +4874,17 @@ <h3></h3> <table class="table table-sm table-bordered">

</td>
</tr>
<tr>
<td>filterData</td>

<td>
Yes
</td>


<td>
</td>
</tr>
</tbody>
</table>
</div>
Expand Down
26 changes: 13 additions & 13 deletions docs/compodoc/components-core/modules/ConfirmDialogModule.html
Original file line number Diff line number Diff line change
Expand Up @@ -66,23 +66,23 @@
<title>cluster_ConfirmDialogModule</title>
<polygon fill="none" stroke="black" stroke-dasharray="1,5" points="84,-70 84,-268 412,-268 412,-70 84,-70"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_ConfirmDialogModule_declarations</title>
<polygon fill="none" stroke="black" points="222,-78 222,-130 404,-130 404,-78 222,-78"/>
</g>
<g id="clust5" class="cluster">
<title>cluster_ConfirmDialogModule_exports</title>
<polygon fill="none" stroke="black" points="155,-208 155,-260 341,-260 341,-208 155,-208"/>
</g>
<g id="clust4" class="cluster">
<title>cluster_ConfirmDialogModule_imports</title>
<polygon fill="none" stroke="black" points="282,-78 282,-130 404,-130 404,-78 282,-78"/>
</g>
<g id="clust2" class="cluster">
<title>cluster_ConfirmDialogModule_declarations</title>
<polygon fill="none" stroke="black" points="92,-78 92,-130 274,-130 274,-78 92,-78"/>
<polygon fill="none" stroke="black" points="92,-78 92,-130 214,-130 214,-78 92,-78"/>
</g>
<!-- ConfirmDialogComponent -->
<g id="node1" class="node">
<title>ConfirmDialogComponent</title>
<polygon fill="#ffffb3" stroke="black" points="266.37,-122 99.63,-122 99.63,-86 266.37,-86 266.37,-122"/>
<text text-anchor="middle" x="183" y="-99.8" font-family="Times,serif" font-size="14.00">ConfirmDialogComponent</text>
<polygon fill="#ffffb3" stroke="black" points="396.37,-122 229.63,-122 229.63,-86 396.37,-86 396.37,-122"/>
<text text-anchor="middle" x="313" y="-99.8" font-family="Times,serif" font-size="14.00">ConfirmDialogComponent</text>
</g>
<!-- ConfirmDialogModule -->
<g id="node2" class="node">
Expand All @@ -93,8 +93,8 @@
<!-- ConfirmDialogComponent&#45;&gt;ConfirmDialogModule -->
<g id="edge1" class="edge">
<title>ConfirmDialogComponent&#45;&gt;ConfirmDialogModule</title>
<path fill="none" stroke="black" d="M220.95,-122.11C220.95,-122.11 220.95,-140.99 220.95,-140.99"/>
<polygon fill="black" stroke="black" points="217.45,-140.99 220.95,-150.99 224.45,-140.99 217.45,-140.99"/>
<path fill="none" stroke="black" d="M275.05,-122.11C275.05,-122.11 275.05,-140.99 275.05,-140.99"/>
<polygon fill="black" stroke="black" points="271.55,-140.99 275.05,-150.99 278.55,-140.99 271.55,-140.99"/>
</g>
<!-- ConfirmDialogComponent -->
<g id="node4" class="node">
Expand All @@ -111,14 +111,14 @@
<!-- MaterialModule -->
<g id="node3" class="node">
<title>MaterialModule</title>
<polygon fill="#8dd3c7" stroke="black" points="396.47,-122 393.47,-126 372.47,-126 369.47,-122 289.53,-122 289.53,-86 396.47,-86 396.47,-122"/>
<text text-anchor="middle" x="343" y="-99.8" font-family="Times,serif" font-size="14.00">MaterialModule</text>
<polygon fill="#8dd3c7" stroke="black" points="206.47,-122 203.47,-126 182.47,-126 179.47,-122 99.53,-122 99.53,-86 206.47,-86 206.47,-122"/>
<text text-anchor="middle" x="153" y="-99.8" font-family="Times,serif" font-size="14.00">MaterialModule</text>
</g>
<!-- MaterialModule&#45;&gt;ConfirmDialogModule -->
<g id="edge2" class="edge">
<title>MaterialModule&#45;&gt;ConfirmDialogModule</title>
<path fill="none" stroke="black" d="M305.03,-122.11C305.03,-122.11 305.03,-140.99 305.03,-140.99"/>
<polygon fill="black" stroke="black" points="301.53,-140.99 305.03,-150.99 308.53,-140.99 301.53,-140.99"/>
<path fill="none" stroke="black" d="M190.97,-122.11C190.97,-122.11 190.97,-140.99 190.97,-140.99"/>
<polygon fill="black" stroke="black" points="187.47,-140.99 190.97,-150.99 194.47,-140.99 187.47,-140.99"/>
</g>
</g>
</svg>
Expand Down
Loading
Loading