@myrmidon/cadmus-item-search 2.0.0 → 2.0.1
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/esm2020/lib/cadmus-item-search.module.mjs +9 -9
- package/esm2020/lib/item-query/item-query.component.mjs +3 -3
- package/esm2020/lib/item-search/item-search.component.mjs +8 -10
- package/esm2020/lib/state/item-search.repository.mjs +3 -3
- package/fesm2015/myrmidon-cadmus-item-search.mjs +20 -21
- package/fesm2015/myrmidon-cadmus-item-search.mjs.map +1 -1
- package/fesm2020/myrmidon-cadmus-item-search.mjs +20 -21
- package/fesm2020/myrmidon-cadmus-item-search.mjs.map +1 -1
- package/lib/cadmus-item-search.module.d.ts +5 -5
- package/lib/item-search/item-search.component.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,10 +10,10 @@ import { MatFormFieldModule } from '@angular/material/form-field';
|
|
|
10
10
|
import { MatIconModule } from '@angular/material/icon';
|
|
11
11
|
import { MatInputModule } from '@angular/material/input';
|
|
12
12
|
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
13
|
+
import { MatProgressBarModule } from '@angular/material/progress-bar';
|
|
13
14
|
import { MatProgressSpinnerModule } from '@angular/material/progress-spinner';
|
|
14
15
|
import { MatSelectModule } from '@angular/material/select';
|
|
15
16
|
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
16
|
-
import { FlexLayoutModule } from '@angular/flex-layout';
|
|
17
17
|
import { CadmusApiModule } from '@myrmidon/cadmus-api';
|
|
18
18
|
import { CadmusUiModule } from '@myrmidon/cadmus-ui';
|
|
19
19
|
import { CadmusStateModule } from '@myrmidon/cadmus-state';
|
|
@@ -29,8 +29,8 @@ export const RouterModuleForChild = RouterModule.forChild([
|
|
|
29
29
|
]);
|
|
30
30
|
export class CadmusItemSearchModule {
|
|
31
31
|
}
|
|
32
|
-
CadmusItemSearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
33
|
-
CadmusItemSearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.
|
|
32
|
+
CadmusItemSearchModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusItemSearchModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
33
|
+
CadmusItemSearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.0.1", ngImport: i0, type: CadmusItemSearchModule, declarations: [ItemQueryComponent, ItemSearchComponent], imports: [CommonModule,
|
|
34
34
|
ReactiveFormsModule,
|
|
35
35
|
FormsModule, i1.RouterModule,
|
|
36
36
|
// material
|
|
@@ -42,17 +42,17 @@ CadmusItemSearchModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0",
|
|
|
42
42
|
MatIconModule,
|
|
43
43
|
MatInputModule,
|
|
44
44
|
MatPaginatorModule,
|
|
45
|
+
MatProgressBarModule,
|
|
45
46
|
MatProgressSpinnerModule,
|
|
46
47
|
MatSelectModule,
|
|
47
48
|
MatTooltipModule,
|
|
48
|
-
FlexLayoutModule,
|
|
49
49
|
// cadmus
|
|
50
50
|
CadmusApiModule,
|
|
51
51
|
CadmusUiModule,
|
|
52
52
|
CadmusStateModule,
|
|
53
53
|
NgToolsModule,
|
|
54
54
|
NgMatToolsModule], exports: [ItemQueryComponent, ItemSearchComponent] });
|
|
55
|
-
CadmusItemSearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.
|
|
55
|
+
CadmusItemSearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusItemSearchModule, imports: [CommonModule,
|
|
56
56
|
ReactiveFormsModule,
|
|
57
57
|
FormsModule,
|
|
58
58
|
RouterModuleForChild,
|
|
@@ -65,17 +65,17 @@ CadmusItemSearchModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0",
|
|
|
65
65
|
MatIconModule,
|
|
66
66
|
MatInputModule,
|
|
67
67
|
MatPaginatorModule,
|
|
68
|
+
MatProgressBarModule,
|
|
68
69
|
MatProgressSpinnerModule,
|
|
69
70
|
MatSelectModule,
|
|
70
71
|
MatTooltipModule,
|
|
71
|
-
FlexLayoutModule,
|
|
72
72
|
// cadmus
|
|
73
73
|
CadmusApiModule,
|
|
74
74
|
CadmusUiModule,
|
|
75
75
|
CadmusStateModule,
|
|
76
76
|
NgToolsModule,
|
|
77
77
|
NgMatToolsModule] });
|
|
78
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
78
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: CadmusItemSearchModule, decorators: [{
|
|
79
79
|
type: NgModule,
|
|
80
80
|
args: [{
|
|
81
81
|
imports: [
|
|
@@ -92,10 +92,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
92
92
|
MatIconModule,
|
|
93
93
|
MatInputModule,
|
|
94
94
|
MatPaginatorModule,
|
|
95
|
+
MatProgressBarModule,
|
|
95
96
|
MatProgressSpinnerModule,
|
|
96
97
|
MatSelectModule,
|
|
97
98
|
MatTooltipModule,
|
|
98
|
-
FlexLayoutModule,
|
|
99
99
|
// cadmus
|
|
100
100
|
CadmusApiModule,
|
|
101
101
|
CadmusUiModule,
|
|
@@ -107,4 +107,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.0", ngImpor
|
|
|
107
107
|
exports: [ItemQueryComponent, ItemSearchComponent],
|
|
108
108
|
}]
|
|
109
109
|
}] });
|
|
110
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
110
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FkbXVzLWl0ZW0tc2VhcmNoLm1vZHVsZS5qcyIsInN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sIEl0ZW1TZWFyY2hDb21wb25lbnRdLFxyXG4gIGV4cG9ydHM6IFtJdGVtUXVlcnlDb21wb25lbnQsIEl0ZW1TZWFyY2hDb21wb25lbnRdLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgQ2FkbXVzSXRlbVNlYXJjaE1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -128,9 +128,9 @@ export class ItemQueryComponent {
|
|
|
128
128
|
this._clipboard.copy(text);
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
-
ItemQueryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
132
|
-
ItemQueryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: ItemQueryComponent, selector: "cadmus-item-query", inputs: { lastQueries: "lastQueries", disabled: "disabled" }, outputs: { querySubmit: "querySubmit" }, viewQueries: [{ propertyName: "queryElement", first: true, predicate: ["queryctl"], descendants: true }], ngImport: i0, template: "<mat-card appearance=\"outlined\">\r\n <mat-card-content>\r\n <form [formGroup]=\"form\" (submit)=\"submitQuery()\">\r\n <div>\r\n <!-- query -->\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>query</mat-label>\r\n <textarea\r\n #queryctl\r\n matInput\r\n rows=\"3\"\r\n formControlName=\"query\"\r\n spellcheck=\"false\"\r\n cdkTextareaAutosize\r\n cdkAutosizeMinRows=\"2\"\r\n cdkAutosizeMaxRows=\"4\"\r\n (keydown.enter)=\"submitQuery(); (false)\"\r\n ></textarea>\r\n <mat-error\r\n *ngIf=\"query.hasError('required') && (query.dirty || query.touched)\"\r\n >enter a query</mat-error\r\n >\r\n </mat-form-field>\r\n <button\r\n type=\"button\"\r\n color=\"warn\"\r\n mat-icon-button\r\n matTooltip=\"Clear query\"\r\n (click)=\"query.reset()\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n type=\"submit\"\r\n color=\"primary\"\r\n mat-button\r\n matTooltip=\"Search items\"\r\n [disabled]=\"disabled || form.invalid\"\r\n >\r\n <mat-icon>search</mat-icon>\r\n search\r\n </button>\r\n </div>\r\n <br />\r\n <!-- history -->\r\n <div *ngIf=\"lastQueries?.length\">\r\n <mat-form-field class=\"full-width\">\r\n <mat-label>history</mat-label>\r\n <mat-select [formControl]=\"history\">\r\n <mat-option *ngFor=\"let q of lastQueries\" [value]=\"q\">\r\n {{ q }}\r\n </mat-option>\r\n </mat-select>\r\n <button\r\n matSuffix\r\n type=\"button\"\r\n mat-icon-button\r\n matTooltip=\"Copy to query\"\r\n [disabled]=\"!history.value\"\r\n (click)=\"setQuery(history.value)\"\r\n >\r\n <mat-icon>check_circle</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n <br />\r\n\r\n <!-- parts/frr list -->\r\n <mat-expansion-panel>\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Pins Reference</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div *ngIf=\"partDefs?.length\">\r\n <mat-form-field>\r\n <mat-label>part/fr.</mat-label>\r\n <mat-select [formControl]=\"partDef\">\r\n <mat-option\r\n *ngFor=\"let def of partDefs\"\r\n [value]=\"def.typeId\"\r\n [matTooltip]=\"def.description\"\r\n >\r\n {{ def.name }} ({{ def.typeId?.startsWith(\"fr.\") ? \"F\" : \"P\" }})\r\n </mat-option>\r\n </mat-select>\r\n \r\n <mat-spinner\r\n [diameter]=\"16\"\r\n [strokeWidth]=\"2\"\r\n *ngIf=\"loadingPinDefs\"\r\n ></mat-spinner>\r\n </mat-form-field>\r\n <!-- selected part's pins -->\r\n <table class=\"pins\" *ngIf=\"pinDefs?.length\">\r\n <thead>\r\n <tr>\r\n <th></th>\r\n <th>name</th>\r\n <th>type</th>\r\n <th>tip</th>\r\n <th>attrs</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let pd of pinDefs\">\r\n <td>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n matTooltip=\"Copy name\"\r\n (click)=\"copyToClipboard(pd.name)\"\r\n >\r\n <mat-icon>content_copy</mat-icon>\r\n </button>\r\n </td>\r\n <td>{{ pd.name }}</td>\r\n <td>{{ pinTypeIdToString(pd.type) }}</td>\r\n <td style=\"max-width: 20em\">{{ pd.tip }}</td>\r\n <td>{{ pd.attributes }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </mat-expansion-panel>\r\n\r\n <!-- help -->\r\n <br />\r\n <mat-expansion-panel [expanded]=\"false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Quick Help</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div class=\"query-help\">\r\n <p>\r\n Pairs are between <code>[]</code>. Each pair has field name +\r\n operator + field value. Connect multiple pairs with\r\n <code>AND</code> and <code>OR</code>, and group them using brackets.\r\n Example:\r\n <code>[title*=test] AND ([facet=default] OR [facet=tiled])</code>.\r\n </p>\r\n <h4>Fields</h4>\r\n <ul>\r\n <li><code>t</code>, <code>title</code>: item's title.</li>\r\n <li>\r\n <code>dsc</code>, <code>description</code>: item's description.\r\n </li>\r\n <li><code>facet</code>, <code>facetId</code>: item's facet ID.</li>\r\n <li><code>group</code>, <code>groupId</code>: item's group ID.</li>\r\n <li><code>sortKey</code>: item's sort key.</li>\r\n <li><code>flags</code>: item's flags.</li>\r\n <li>\r\n <code>type</code>, <code>partType</code>, <code>partTypeId</code>:\r\n part type ID.\r\n </li>\r\n <li><code>role</code>, <code>roleId</code>: part role ID.</li>\r\n <li><code>n</code>, <code>name</code>: pin's name.</li>\r\n <li><code>v</code>, <code>value</code>: pin's value.</li>\r\n </ul>\r\n <h4>Operators</h4>\r\n <ul>\r\n <li><code>=</code>: equal to.</li>\r\n <li><code><></code>: not equal to.</li>\r\n <li><code>*=</code>: contains.</li>\r\n <li><code>^=</code>: starts with.</li>\r\n <li><code>$=</code>: ends with.</li>\r\n <li>\r\n <code>?=</code>: wildcards: <code>?</code>=any single character,\r\n <code>*</code>=0-N characters.\r\n </li>\r\n <li><code>~=</code>: regular expression.</li>\r\n <li>\r\n <code>%=</code>: fuzzy matching. The value is followed by\r\n <code>:</code> and the minimum similarity treshold.\r\n </li>\r\n <li><code>==</code>: equal (numeric).</li>\r\n <li><code>!=</code>: not equal (numeric).</li>\r\n <li><code><</code>: less-than (numeric).</li>\r\n <li><code>></code>: greater-than (numeric).</li>\r\n <li><code><=</code>: less-than or equal (numeric).</li>\r\n <li><code>>=</code>: greater-than or equal (numeric).</li>\r\n <li>\r\n <code>:</code> (flags): any the specified flags (comma-separated)\r\n must be present.\r\n </li>\r\n <li>\r\n <code>&:</code> (flags): all the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n <li>\r\n <code>!:</code> (flags): none of the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n </ul>\r\n <p>Flags can be specified either with name or value.</p>\r\n <p>\r\n Value escapes: <code>\\[</code>=<code>[</code>,\r\n <code>\\]</code>=<code>]</code>, <code>\\HHHH</code>=Unicode 16-bits\r\n character code.\r\n </p>\r\n </div>\r\n </mat-expansion-panel>\r\n </form>\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: [".query-help{min-width:200px;max-height:400px;overflow-y:scroll}.query-help h4{font-weight:700;border-bottom:1px solid silver}.query-help code{color:#d2691e}.full-width{width:100%}table.pins tbody tr:nth-child(odd){background-color:#fafafa}table.pins th{text-align:left;font-weight:400;color:silver}\n"], dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i7.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i8.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i8.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i8.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatLabel, selector: "mat-label" }, { kind: "directive", type: i9.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i9.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i12.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "component", type: i13.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i14.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i15.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i16.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
133
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
131
|
+
ItemQueryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemQueryComponent, deps: [{ token: i1.FormBuilder }, { token: i2.Clipboard }, { token: i3.AppRepository }, { token: i4.ItemService }], target: i0.ɵɵFactoryTarget.Component });
|
|
132
|
+
ItemQueryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ItemQueryComponent, selector: "cadmus-item-query", inputs: { lastQueries: "lastQueries", disabled: "disabled" }, outputs: { querySubmit: "querySubmit" }, viewQueries: [{ propertyName: "queryElement", first: true, predicate: ["queryctl"], descendants: true }], ngImport: i0, template: "<mat-card appearance=\"outlined\">\r\n <mat-card-content>\r\n <form [formGroup]=\"form\" (submit)=\"submitQuery()\">\r\n <div>\r\n <!-- query -->\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>query</mat-label>\r\n <textarea\r\n #queryctl\r\n matInput\r\n rows=\"3\"\r\n formControlName=\"query\"\r\n spellcheck=\"false\"\r\n cdkTextareaAutosize\r\n cdkAutosizeMinRows=\"2\"\r\n cdkAutosizeMaxRows=\"4\"\r\n (keydown.enter)=\"submitQuery(); (false)\"\r\n ></textarea>\r\n <mat-error\r\n *ngIf=\"query.hasError('required') && (query.dirty || query.touched)\"\r\n >enter a query</mat-error\r\n >\r\n </mat-form-field>\r\n <button\r\n type=\"button\"\r\n color=\"warn\"\r\n mat-icon-button\r\n matTooltip=\"Clear query\"\r\n (click)=\"query.reset()\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n type=\"submit\"\r\n color=\"primary\"\r\n mat-button\r\n matTooltip=\"Search items\"\r\n [disabled]=\"disabled || form.invalid\"\r\n >\r\n <mat-icon>search</mat-icon>\r\n search\r\n </button>\r\n </div>\r\n <br />\r\n <!-- history -->\r\n <div *ngIf=\"lastQueries?.length\">\r\n <mat-form-field class=\"full-width\">\r\n <mat-label>history</mat-label>\r\n <mat-select [formControl]=\"history\">\r\n <mat-option *ngFor=\"let q of lastQueries\" [value]=\"q\">\r\n {{ q }}\r\n </mat-option>\r\n </mat-select>\r\n <button\r\n matSuffix\r\n type=\"button\"\r\n mat-icon-button\r\n matTooltip=\"Copy to query\"\r\n [disabled]=\"!history.value\"\r\n (click)=\"setQuery(history.value)\"\r\n >\r\n <mat-icon>check_circle</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n <br />\r\n\r\n <!-- parts/frr list -->\r\n <mat-expansion-panel>\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Pins Reference</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div *ngIf=\"partDefs?.length\">\r\n <mat-form-field>\r\n <mat-label>part/fr.</mat-label>\r\n <mat-select [formControl]=\"partDef\">\r\n <mat-option\r\n *ngFor=\"let def of partDefs\"\r\n [value]=\"def.typeId\"\r\n [matTooltip]=\"def.description\"\r\n >\r\n {{ def.name }} ({{ def.typeId?.startsWith(\"fr.\") ? \"F\" : \"P\" }})\r\n </mat-option>\r\n </mat-select>\r\n \r\n <mat-spinner\r\n [diameter]=\"16\"\r\n [strokeWidth]=\"2\"\r\n *ngIf=\"loadingPinDefs\"\r\n ></mat-spinner>\r\n </mat-form-field>\r\n <!-- selected part's pins -->\r\n <table class=\"pins\" *ngIf=\"pinDefs?.length\">\r\n <thead>\r\n <tr>\r\n <th></th>\r\n <th>name</th>\r\n <th>type</th>\r\n <th>tip</th>\r\n <th>attrs</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let pd of pinDefs\">\r\n <td>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n matTooltip=\"Copy name\"\r\n (click)=\"copyToClipboard(pd.name)\"\r\n >\r\n <mat-icon>content_copy</mat-icon>\r\n </button>\r\n </td>\r\n <td>{{ pd.name }}</td>\r\n <td>{{ pinTypeIdToString(pd.type) }}</td>\r\n <td style=\"max-width: 20em\">{{ pd.tip }}</td>\r\n <td>{{ pd.attributes }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </mat-expansion-panel>\r\n\r\n <!-- help -->\r\n <br />\r\n <mat-expansion-panel [expanded]=\"false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Quick Help</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div class=\"query-help\">\r\n <p>\r\n Pairs are between <code>[]</code>. Each pair has field name +\r\n operator + field value. Connect multiple pairs with\r\n <code>AND</code> and <code>OR</code>, and group them using brackets.\r\n Example:\r\n <code>[title*=test] AND ([facet=default] OR [facet=tiled])</code>.\r\n </p>\r\n <h4>Fields</h4>\r\n <ul>\r\n <li><code>t</code>, <code>title</code>: item's title.</li>\r\n <li>\r\n <code>dsc</code>, <code>description</code>: item's description.\r\n </li>\r\n <li><code>facet</code>, <code>facetId</code>: item's facet ID.</li>\r\n <li><code>group</code>, <code>groupId</code>: item's group ID.</li>\r\n <li><code>sortKey</code>: item's sort key.</li>\r\n <li><code>flags</code>: item's flags.</li>\r\n <li>\r\n <code>type</code>, <code>partType</code>, <code>partTypeId</code>:\r\n part type ID.\r\n </li>\r\n <li><code>role</code>, <code>roleId</code>: part role ID.</li>\r\n <li><code>n</code>, <code>name</code>: pin's name.</li>\r\n <li><code>v</code>, <code>value</code>: pin's value.</li>\r\n </ul>\r\n <h4>Operators</h4>\r\n <ul>\r\n <li><code>=</code>: equal to.</li>\r\n <li><code><></code>: not equal to.</li>\r\n <li><code>*=</code>: contains.</li>\r\n <li><code>^=</code>: starts with.</li>\r\n <li><code>$=</code>: ends with.</li>\r\n <li>\r\n <code>?=</code>: wildcards: <code>?</code>=any single character,\r\n <code>*</code>=0-N characters.\r\n </li>\r\n <li><code>~=</code>: regular expression.</li>\r\n <li>\r\n <code>%=</code>: fuzzy matching. The value is followed by\r\n <code>:</code> and the minimum similarity treshold.\r\n </li>\r\n <li><code>==</code>: equal (numeric).</li>\r\n <li><code>!=</code>: not equal (numeric).</li>\r\n <li><code><</code>: less-than (numeric).</li>\r\n <li><code>></code>: greater-than (numeric).</li>\r\n <li><code><=</code>: less-than or equal (numeric).</li>\r\n <li><code>>=</code>: greater-than or equal (numeric).</li>\r\n <li>\r\n <code>:</code> (flags): any the specified flags (comma-separated)\r\n must be present.\r\n </li>\r\n <li>\r\n <code>&:</code> (flags): all the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n <li>\r\n <code>!:</code> (flags): none of the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n </ul>\r\n <p>Flags can be specified either with name or value.</p>\r\n <p>\r\n Value escapes: <code>\\[</code>=<code>[</code>,\r\n <code>\\]</code>=<code>]</code>, <code>\\HHHH</code>=Unicode 16-bits\r\n character code.\r\n </p>\r\n </div>\r\n </mat-expansion-panel>\r\n </form>\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: [".query-help{min-width:200px;max-height:400px;overflow-y:scroll}.query-help h4{font-weight:700;border-bottom:1px solid silver}.query-help code{color:#d2691e}.full-width{width:100%}table.pins tbody tr:nth-child(odd){background-color:#fafafa}table.pins th{text-align:left;font-weight:400;color:silver}\n"], dependencies: [{ kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.ɵNgNoValidate, selector: "form:not([ngNoForm]):not([ngNativeValidate])" }, { kind: "directive", type: i1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgControlStatusGroup, selector: "[formGroupName],[formArrayName],[ngModelGroup],[formGroup],form:not([ngNoForm]),[ngForm]" }, { kind: "directive", type: i1.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormGroupDirective, selector: "[formGroup]", inputs: ["formGroup"], outputs: ["ngSubmit"], exportAs: ["ngForm"] }, { kind: "directive", type: i1.FormControlName, selector: "[formControlName]", inputs: ["formControlName", "disabled", "ngModel"], outputs: ["ngModelChange"] }, { kind: "component", type: i6.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i6.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i7.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i7.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i8.MatExpansionPanel, selector: "mat-expansion-panel", inputs: ["disabled", "expanded", "hideToggle", "togglePosition"], outputs: ["opened", "closed", "expandedChange", "afterExpand", "afterCollapse"], exportAs: ["matExpansionPanel"] }, { kind: "component", type: i8.MatExpansionPanelHeader, selector: "mat-expansion-panel-header", inputs: ["tabIndex", "expandedHeight", "collapsedHeight"] }, { kind: "directive", type: i8.MatExpansionPanelTitle, selector: "mat-panel-title" }, { kind: "component", type: i9.MatFormField, selector: "mat-form-field", inputs: ["hideRequiredMarker", "color", "floatLabel", "appearance", "subscriptSizing", "hintLabel"], exportAs: ["matFormField"] }, { kind: "directive", type: i9.MatLabel, selector: "mat-label" }, { kind: "directive", type: i9.MatError, selector: "mat-error, [matError]", inputs: ["id"] }, { kind: "directive", type: i9.MatSuffix, selector: "[matSuffix], [matIconSuffix], [matTextSuffix]" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "directive", type: i11.MatInput, selector: "input[matInput], textarea[matInput], select[matNativeControl], input[matNativeControl], textarea[matNativeControl]", inputs: ["disabled", "id", "placeholder", "name", "required", "type", "errorStateMatcher", "aria-describedby", "value", "readonly"], exportAs: ["matInput"] }, { kind: "directive", type: i12.CdkTextareaAutosize, selector: "textarea[cdkTextareaAutosize]", inputs: ["cdkAutosizeMinRows", "cdkAutosizeMaxRows", "cdkTextareaAutosize", "placeholder"], exportAs: ["cdkTextareaAutosize"] }, { kind: "component", type: i13.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "component", type: i14.MatSelect, selector: "mat-select", inputs: ["disabled", "disableRipple", "tabIndex"], exportAs: ["matSelect"] }, { kind: "component", type: i15.MatOption, selector: "mat-option", exportAs: ["matOption"] }, { kind: "directive", type: i16.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }] });
|
|
133
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemQueryComponent, decorators: [{
|
|
134
134
|
type: Component,
|
|
135
135
|
args: [{ selector: 'cadmus-item-query', template: "<mat-card appearance=\"outlined\">\r\n <mat-card-content>\r\n <form [formGroup]=\"form\" (submit)=\"submitQuery()\">\r\n <div>\r\n <!-- query -->\r\n <mat-form-field appearance=\"fill\" class=\"full-width\">\r\n <mat-label>query</mat-label>\r\n <textarea\r\n #queryctl\r\n matInput\r\n rows=\"3\"\r\n formControlName=\"query\"\r\n spellcheck=\"false\"\r\n cdkTextareaAutosize\r\n cdkAutosizeMinRows=\"2\"\r\n cdkAutosizeMaxRows=\"4\"\r\n (keydown.enter)=\"submitQuery(); (false)\"\r\n ></textarea>\r\n <mat-error\r\n *ngIf=\"query.hasError('required') && (query.dirty || query.touched)\"\r\n >enter a query</mat-error\r\n >\r\n </mat-form-field>\r\n <button\r\n type=\"button\"\r\n color=\"warn\"\r\n mat-icon-button\r\n matTooltip=\"Clear query\"\r\n (click)=\"query.reset()\"\r\n >\r\n <mat-icon>clear</mat-icon>\r\n </button>\r\n <button\r\n type=\"submit\"\r\n color=\"primary\"\r\n mat-button\r\n matTooltip=\"Search items\"\r\n [disabled]=\"disabled || form.invalid\"\r\n >\r\n <mat-icon>search</mat-icon>\r\n search\r\n </button>\r\n </div>\r\n <br />\r\n <!-- history -->\r\n <div *ngIf=\"lastQueries?.length\">\r\n <mat-form-field class=\"full-width\">\r\n <mat-label>history</mat-label>\r\n <mat-select [formControl]=\"history\">\r\n <mat-option *ngFor=\"let q of lastQueries\" [value]=\"q\">\r\n {{ q }}\r\n </mat-option>\r\n </mat-select>\r\n <button\r\n matSuffix\r\n type=\"button\"\r\n mat-icon-button\r\n matTooltip=\"Copy to query\"\r\n [disabled]=\"!history.value\"\r\n (click)=\"setQuery(history.value)\"\r\n >\r\n <mat-icon>check_circle</mat-icon>\r\n </button>\r\n </mat-form-field>\r\n </div>\r\n <br />\r\n\r\n <!-- parts/frr list -->\r\n <mat-expansion-panel>\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Pins Reference</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div *ngIf=\"partDefs?.length\">\r\n <mat-form-field>\r\n <mat-label>part/fr.</mat-label>\r\n <mat-select [formControl]=\"partDef\">\r\n <mat-option\r\n *ngFor=\"let def of partDefs\"\r\n [value]=\"def.typeId\"\r\n [matTooltip]=\"def.description\"\r\n >\r\n {{ def.name }} ({{ def.typeId?.startsWith(\"fr.\") ? \"F\" : \"P\" }})\r\n </mat-option>\r\n </mat-select>\r\n \r\n <mat-spinner\r\n [diameter]=\"16\"\r\n [strokeWidth]=\"2\"\r\n *ngIf=\"loadingPinDefs\"\r\n ></mat-spinner>\r\n </mat-form-field>\r\n <!-- selected part's pins -->\r\n <table class=\"pins\" *ngIf=\"pinDefs?.length\">\r\n <thead>\r\n <tr>\r\n <th></th>\r\n <th>name</th>\r\n <th>type</th>\r\n <th>tip</th>\r\n <th>attrs</th>\r\n </tr>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let pd of pinDefs\">\r\n <td>\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n matTooltip=\"Copy name\"\r\n (click)=\"copyToClipboard(pd.name)\"\r\n >\r\n <mat-icon>content_copy</mat-icon>\r\n </button>\r\n </td>\r\n <td>{{ pd.name }}</td>\r\n <td>{{ pinTypeIdToString(pd.type) }}</td>\r\n <td style=\"max-width: 20em\">{{ pd.tip }}</td>\r\n <td>{{ pd.attributes }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n </div>\r\n </mat-expansion-panel>\r\n\r\n <!-- help -->\r\n <br />\r\n <mat-expansion-panel [expanded]=\"false\">\r\n <mat-expansion-panel-header>\r\n <mat-panel-title>Quick Help</mat-panel-title>\r\n </mat-expansion-panel-header>\r\n <div class=\"query-help\">\r\n <p>\r\n Pairs are between <code>[]</code>. Each pair has field name +\r\n operator + field value. Connect multiple pairs with\r\n <code>AND</code> and <code>OR</code>, and group them using brackets.\r\n Example:\r\n <code>[title*=test] AND ([facet=default] OR [facet=tiled])</code>.\r\n </p>\r\n <h4>Fields</h4>\r\n <ul>\r\n <li><code>t</code>, <code>title</code>: item's title.</li>\r\n <li>\r\n <code>dsc</code>, <code>description</code>: item's description.\r\n </li>\r\n <li><code>facet</code>, <code>facetId</code>: item's facet ID.</li>\r\n <li><code>group</code>, <code>groupId</code>: item's group ID.</li>\r\n <li><code>sortKey</code>: item's sort key.</li>\r\n <li><code>flags</code>: item's flags.</li>\r\n <li>\r\n <code>type</code>, <code>partType</code>, <code>partTypeId</code>:\r\n part type ID.\r\n </li>\r\n <li><code>role</code>, <code>roleId</code>: part role ID.</li>\r\n <li><code>n</code>, <code>name</code>: pin's name.</li>\r\n <li><code>v</code>, <code>value</code>: pin's value.</li>\r\n </ul>\r\n <h4>Operators</h4>\r\n <ul>\r\n <li><code>=</code>: equal to.</li>\r\n <li><code><></code>: not equal to.</li>\r\n <li><code>*=</code>: contains.</li>\r\n <li><code>^=</code>: starts with.</li>\r\n <li><code>$=</code>: ends with.</li>\r\n <li>\r\n <code>?=</code>: wildcards: <code>?</code>=any single character,\r\n <code>*</code>=0-N characters.\r\n </li>\r\n <li><code>~=</code>: regular expression.</li>\r\n <li>\r\n <code>%=</code>: fuzzy matching. The value is followed by\r\n <code>:</code> and the minimum similarity treshold.\r\n </li>\r\n <li><code>==</code>: equal (numeric).</li>\r\n <li><code>!=</code>: not equal (numeric).</li>\r\n <li><code><</code>: less-than (numeric).</li>\r\n <li><code>></code>: greater-than (numeric).</li>\r\n <li><code><=</code>: less-than or equal (numeric).</li>\r\n <li><code>>=</code>: greater-than or equal (numeric).</li>\r\n <li>\r\n <code>:</code> (flags): any the specified flags (comma-separated)\r\n must be present.\r\n </li>\r\n <li>\r\n <code>&:</code> (flags): all the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n <li>\r\n <code>!:</code> (flags): none of the specified flags\r\n (comma-separated) must be present.\r\n </li>\r\n </ul>\r\n <p>Flags can be specified either with name or value.</p>\r\n <p>\r\n Value escapes: <code>\\[</code>=<code>[</code>,\r\n <code>\\]</code>=<code>]</code>, <code>\\HHHH</code>=Unicode 16-bits\r\n character code.\r\n </p>\r\n </div>\r\n </mat-expansion-panel>\r\n </form>\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: [".query-help{min-width:200px;max-height:400px;overflow-y:scroll}.query-help h4{font-weight:700;border-bottom:1px solid silver}.query-help code{color:#d2691e}.full-width{width:100%}table.pins tbody tr:nth-child(odd){background-color:#fafafa}table.pins th{text-align:left;font-weight:400;color:silver}\n"] }]
|
|
136
136
|
}], ctorParameters: function () { return [{ type: i1.FormBuilder }, { type: i2.Clipboard }, { type: i3.AppRepository }, { type: i4.ItemService }]; }, propDecorators: { queryElement: [{
|
|
@@ -12,12 +12,10 @@ import * as i8 from "@angular/material/button";
|
|
|
12
12
|
import * as i9 from "@angular/material/card";
|
|
13
13
|
import * as i10 from "@angular/material/icon";
|
|
14
14
|
import * as i11 from "@angular/material/paginator";
|
|
15
|
-
import * as i12 from "@angular/material/progress-
|
|
15
|
+
import * as i12 from "@angular/material/progress-bar";
|
|
16
16
|
import * as i13 from "@angular/material/tooltip";
|
|
17
|
-
import * as i14 from "@
|
|
18
|
-
import * as i15 from "
|
|
19
|
-
import * as i16 from "@myrmidon/cadmus-ui";
|
|
20
|
-
import * as i17 from "../item-query/item-query.component";
|
|
17
|
+
import * as i14 from "@myrmidon/cadmus-ui";
|
|
18
|
+
import * as i15 from "../item-query/item-query.component";
|
|
21
19
|
export class ItemSearchComponent {
|
|
22
20
|
constructor(_repository, _dialogService, _router, _authService, _userLevelService, _appRepository) {
|
|
23
21
|
this._repository = _repository;
|
|
@@ -72,10 +70,10 @@ export class ItemSearchComponent {
|
|
|
72
70
|
this._repository.clearCache();
|
|
73
71
|
}
|
|
74
72
|
}
|
|
75
|
-
ItemSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
76
|
-
ItemSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.0", type: ItemSearchComponent, selector: "cadmus-item-search", ngImport: i0, template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <mat-card-title>Item Search</mat-card-title>\r\n </mat-card-header>\r\n <mat-card-content\r\n gdAreas=\"spinner spinner | query list\"\r\n gdAreas.lt-md=\"spinner | query | list\"\r\n gdColumns=\"300px 1fr\"\r\n gdColumns.lt-md=\"1fr\"\r\n gdGap=\"8px\"\r\n >\r\n <!-- spinner -->\r\n <div\r\n *ngIf=\"loading$ | async\"\r\n gdArea=\"spinner\"\r\n gdAlignColumns=\"center\"\r\n gdAlignRows=\"center\"\r\n >\r\n <mat-spinner [diameter]=\"48\" [strokeWidth]=\"4\"></mat-spinner>\r\n </div>\r\n\r\n <!-- query -->\r\n <div gdArea=\"query\">\r\n <cadmus-item-query\r\n [lastQueries]=\"(lastQueries$ | async) || []\"\r\n (querySubmit)=\"submitQuery($event)\"\r\n ></cadmus-item-query>\r\n </div>\r\n\r\n <!-- list -->\r\n <div gdArea=\"list\" *ngIf=\"pagination$ | async as pagination\">\r\n <div *ngIf=\"error$ | async as error\">{{ error }}</div>\r\n <table *ngIf=\"pagination.data.length\">\r\n <thead>\r\n <th></th>\r\n <th\r\n *ngIf=\"\r\n user?.roles?.includes('admin') || user?.roles?.includes('editor')\r\n \"\r\n ></th>\r\n <th>facet</th>\r\n <th>flags</th>\r\n <th>title</th>\r\n <th>description</th>\r\n <th fxHide.lt-md>group</th>\r\n <th fxHide.lt-md>user</th>\r\n <th fxHide.lt-md>last saved</th>\r\n <th fxHide.lt-md>creator</th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of pagination.data\">\r\n <td class=\"command\">\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"editItem(item)\"\r\n >\r\n <mat-icon>mode_edit</mat-icon>\r\n </button>\r\n </td>\r\n <td\r\n class=\"command\"\r\n *ngIf=\"\r\n user?.roles?.includes('admin') ||\r\n user?.roles?.includes('editor')\r\n \"\r\n >\r\n <button\r\n *ngIf=\"userLevel > 2\"\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteItem(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </td>\r\n <td>\r\n <cadmus-facet-badge\r\n [facetId]=\"item.facetId\"\r\n [facetDefinitions]=\"$any(facetDefinitions$ | async)\"\r\n ></cadmus-facet-badge>\r\n </td>\r\n <td>\r\n <cadmus-flags-badge\r\n [flags]=\"item.flags\"\r\n [flagDefinitions]=\"$any(flagDefinitions$ | async)\"\r\n ></cadmus-flags-badge>\r\n </td>\r\n <td>{{ item.title }}</td>\r\n <td>{{ item.description }}</td>\r\n <td fxHide.lt-md>{{ item.groupId }}</td>\r\n <td fxHide.lt-md>{{ item.userId }}</td>\r\n <td fxHide.lt-md>\r\n {{ item.timeModified | date: \"yyyy-MM-dd HH:mm:ss\" }}\r\n </td>\r\n <td fxHide.lt-md>{{ item.creatorId }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n <!-- paginator -->\r\n <mat-paginator\r\n *ngIf=\"pagination.data.length\"\r\n [length]=\"pagination.total\"\r\n [pageSize]=\"pagination.perPage\"\r\n [pageSizeOptions]=\"[20, 50, 75, 100]\"\r\n [pageIndex]=\"pagination.currentPage - 1\"\r\n [showFirstLastButtons]=\"true\"\r\n (page)=\"pageChange($event)\"\r\n ></mat-paginator>\r\n </div>\r\n </mat-card-content>\r\n <mat-card-actions>\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n matTooltip=\"Clear items cache\"\r\n (click)=\"clearCache()\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n </mat-card-actions>\r\n</mat-card>\r\n", styles: ["tr:nth-child(odd){background-color:#eaeaea}th{text-align:left;font-weight:400}td.command{width:24px}\n"], dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i9.MatCardActions, selector: "mat-card-actions", inputs: ["align"], exportAs: ["matCardActions"] }, { kind: "directive", type: i9.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i9.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i9.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: i12.MatProgressSpinner, selector: "mat-progress-spinner, mat-spinner", inputs: ["color", "mode", "value", "diameter", "strokeWidth"], exportAs: ["matProgressSpinner"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "directive", type: i14.DefaultShowHideDirective, selector: " [fxShow], [fxShow.print], [fxShow.xs], [fxShow.sm], [fxShow.md], [fxShow.lg], [fxShow.xl], [fxShow.lt-sm], [fxShow.lt-md], [fxShow.lt-lg], [fxShow.lt-xl], [fxShow.gt-xs], [fxShow.gt-sm], [fxShow.gt-md], [fxShow.gt-lg], [fxHide], [fxHide.print], [fxHide.xs], [fxHide.sm], [fxHide.md], [fxHide.lg], [fxHide.xl], [fxHide.lt-sm], [fxHide.lt-md], [fxHide.lt-lg], [fxHide.lt-xl], [fxHide.gt-xs], [fxHide.gt-sm], [fxHide.gt-md], [fxHide.gt-lg]", inputs: ["fxShow", "fxShow.print", "fxShow.xs", "fxShow.sm", "fxShow.md", "fxShow.lg", "fxShow.xl", "fxShow.lt-sm", "fxShow.lt-md", "fxShow.lt-lg", "fxShow.lt-xl", "fxShow.gt-xs", "fxShow.gt-sm", "fxShow.gt-md", "fxShow.gt-lg", "fxHide", "fxHide.print", "fxHide.xs", "fxHide.sm", "fxHide.md", "fxHide.lg", "fxHide.xl", "fxHide.lt-sm", "fxHide.lt-md", "fxHide.lt-lg", "fxHide.lt-xl", "fxHide.gt-xs", "fxHide.gt-sm", "fxHide.gt-md", "fxHide.gt-lg"] }, { kind: "directive", type: i15.DefaultGridAlignColumnsDirective, selector: " [gdAlignColumns], [gdAlignColumns.xs], [gdAlignColumns.sm], [gdAlignColumns.md], [gdAlignColumns.lg], [gdAlignColumns.xl], [gdAlignColumns.lt-sm], [gdAlignColumns.lt-md], [gdAlignColumns.lt-lg], [gdAlignColumns.lt-xl], [gdAlignColumns.gt-xs], [gdAlignColumns.gt-sm], [gdAlignColumns.gt-md], [gdAlignColumns.gt-lg]", inputs: ["gdAlignColumns", "gdAlignColumns.xs", "gdAlignColumns.sm", "gdAlignColumns.md", "gdAlignColumns.lg", "gdAlignColumns.xl", "gdAlignColumns.lt-sm", "gdAlignColumns.lt-md", "gdAlignColumns.lt-lg", "gdAlignColumns.lt-xl", "gdAlignColumns.gt-xs", "gdAlignColumns.gt-sm", "gdAlignColumns.gt-md", "gdAlignColumns.gt-lg"] }, { kind: "directive", type: i15.DefaultGridAlignRowsDirective, selector: " [gdAlignRows], [gdAlignRows.xs], [gdAlignRows.sm], [gdAlignRows.md], [gdAlignRows.lg], [gdAlignRows.xl], [gdAlignRows.lt-sm], [gdAlignRows.lt-md], [gdAlignRows.lt-lg], [gdAlignRows.lt-xl], [gdAlignRows.gt-xs], [gdAlignRows.gt-sm], [gdAlignRows.gt-md], [gdAlignRows.gt-lg]", inputs: ["gdAlignRows", "gdAlignRows.xs", "gdAlignRows.sm", "gdAlignRows.md", "gdAlignRows.lg", "gdAlignRows.xl", "gdAlignRows.lt-sm", "gdAlignRows.lt-md", "gdAlignRows.lt-lg", "gdAlignRows.lt-xl", "gdAlignRows.gt-xs", "gdAlignRows.gt-sm", "gdAlignRows.gt-md", "gdAlignRows.gt-lg"] }, { kind: "directive", type: i15.DefaultGridAreaDirective, selector: " [gdArea], [gdArea.xs], [gdArea.sm], [gdArea.md], [gdArea.lg], [gdArea.xl], [gdArea.lt-sm], [gdArea.lt-md], [gdArea.lt-lg], [gdArea.lt-xl], [gdArea.gt-xs], [gdArea.gt-sm], [gdArea.gt-md], [gdArea.gt-lg]", inputs: ["gdArea", "gdArea.xs", "gdArea.sm", "gdArea.md", "gdArea.lg", "gdArea.xl", "gdArea.lt-sm", "gdArea.lt-md", "gdArea.lt-lg", "gdArea.lt-xl", "gdArea.gt-xs", "gdArea.gt-sm", "gdArea.gt-md", "gdArea.gt-lg"] }, { kind: "directive", type: i15.DefaultGridAreasDirective, selector: " [gdAreas], [gdAreas.xs], [gdAreas.sm], [gdAreas.md], [gdAreas.lg], [gdAreas.xl], [gdAreas.lt-sm], [gdAreas.lt-md], [gdAreas.lt-lg], [gdAreas.lt-xl], [gdAreas.gt-xs], [gdAreas.gt-sm], [gdAreas.gt-md], [gdAreas.gt-lg]", inputs: ["gdAreas", "gdAreas.xs", "gdAreas.sm", "gdAreas.md", "gdAreas.lg", "gdAreas.xl", "gdAreas.lt-sm", "gdAreas.lt-md", "gdAreas.lt-lg", "gdAreas.lt-xl", "gdAreas.gt-xs", "gdAreas.gt-sm", "gdAreas.gt-md", "gdAreas.gt-lg"] }, { kind: "directive", type: i15.DefaultGridColumnsDirective, selector: " [gdColumns], [gdColumns.xs], [gdColumns.sm], [gdColumns.md], [gdColumns.lg], [gdColumns.xl], [gdColumns.lt-sm], [gdColumns.lt-md], [gdColumns.lt-lg], [gdColumns.lt-xl], [gdColumns.gt-xs], [gdColumns.gt-sm], [gdColumns.gt-md], [gdColumns.gt-lg]", inputs: ["gdColumns", "gdColumns.xs", "gdColumns.sm", "gdColumns.md", "gdColumns.lg", "gdColumns.xl", "gdColumns.lt-sm", "gdColumns.lt-md", "gdColumns.lt-lg", "gdColumns.lt-xl", "gdColumns.gt-xs", "gdColumns.gt-sm", "gdColumns.gt-md", "gdColumns.gt-lg"] }, { kind: "directive", type: i15.DefaultGridGapDirective, selector: " [gdGap], [gdGap.xs], [gdGap.sm], [gdGap.md], [gdGap.lg], [gdGap.xl], [gdGap.lt-sm], [gdGap.lt-md], [gdGap.lt-lg], [gdGap.lt-xl], [gdGap.gt-xs], [gdGap.gt-sm], [gdGap.gt-md], [gdGap.gt-lg]", inputs: ["gdGap", "gdGap.xs", "gdGap.sm", "gdGap.md", "gdGap.lg", "gdGap.xl", "gdGap.lt-sm", "gdGap.lt-md", "gdGap.lt-lg", "gdGap.lt-xl", "gdGap.gt-xs", "gdGap.gt-sm", "gdGap.gt-md", "gdGap.gt-lg"] }, { kind: "component", type: i16.FacetBadgeComponent, selector: "cadmus-facet-badge", inputs: ["facetId", "facetDefinitions"] }, { kind: "component", type: i16.FlagsBadgeComponent, selector: "cadmus-flags-badge", inputs: ["flags", "flagDefinitions"] }, { kind: "component", type: i17.ItemQueryComponent, selector: "cadmus-item-query", inputs: ["lastQueries", "disabled"], outputs: ["querySubmit"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.DatePipe, name: "date" }] });
|
|
77
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
73
|
+
ItemSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemSearchComponent, deps: [{ token: i1.ItemSearchRepository }, { token: i2.DialogService }, { token: i3.Router }, { token: i4.AuthJwtService }, { token: i5.UserLevelService }, { token: i6.AppRepository }], target: i0.ɵɵFactoryTarget.Component });
|
|
74
|
+
ItemSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.0.1", type: ItemSearchComponent, selector: "cadmus-item-search", ngImport: i0, template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <mat-card-title>Item Search</mat-card-title>\r\n </mat-card-header>\r\n <mat-card-content>\r\n <div id=\"container\">\r\n <!-- query -->\r\n <div style=\"grid-area: query\">\r\n <cadmus-item-query\r\n [lastQueries]=\"(lastQueries$ | async) || []\"\r\n (querySubmit)=\"submitQuery($event)\"\r\n ></cadmus-item-query>\r\n </div>\r\n\r\n <!-- list -->\r\n <div style=\"grid-area: list\" *ngIf=\"pagination$ | async as pagination\">\r\n <div *ngIf=\"loading$ | async\">\r\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n </div>\r\n <div *ngIf=\"error$ | async as error\">{{ error }}</div>\r\n <table *ngIf=\"pagination.data.length\">\r\n <thead>\r\n <th></th>\r\n <th\r\n *ngIf=\"\r\n user?.roles?.includes('admin') ||\r\n user?.roles?.includes('editor')\r\n \"\r\n ></th>\r\n <th>facet</th>\r\n <th>flags</th>\r\n <th>title</th>\r\n <th>description</th>\r\n <th class=\"noif-lt-md\">group</th>\r\n <th class=\"noif-lt-md\">user</th>\r\n <th class=\"noif-lt-md\">last saved</th>\r\n <th class=\"noif-lt-md\">creator</th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of pagination.data\">\r\n <td class=\"command\">\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"editItem(item)\"\r\n >\r\n <mat-icon>mode_edit</mat-icon>\r\n </button>\r\n </td>\r\n <td\r\n class=\"command\"\r\n *ngIf=\"\r\n user?.roles?.includes('admin') ||\r\n user?.roles?.includes('editor')\r\n \"\r\n >\r\n <button\r\n *ngIf=\"userLevel > 2\"\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteItem(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </td>\r\n <td>\r\n <cadmus-facet-badge\r\n [facetId]=\"item.facetId\"\r\n [facetDefinitions]=\"$any(facetDefinitions$ | async)\"\r\n ></cadmus-facet-badge>\r\n </td>\r\n <td>\r\n <cadmus-flags-badge\r\n [flags]=\"item.flags\"\r\n [flagDefinitions]=\"$any(flagDefinitions$ | async)\"\r\n ></cadmus-flags-badge>\r\n </td>\r\n <td>{{ item.title }}</td>\r\n <td>{{ item.description }}</td>\r\n <td class=\"noif-lt-md\">{{ item.groupId }}</td>\r\n <td class=\"noif-lt-md\">{{ item.userId }}</td>\r\n <td class=\"noif-lt-md\">\r\n {{ item.timeModified | date: \"yyyy-MM-dd HH:mm:ss\" }}\r\n </td>\r\n <td class=\"noif-lt-md\">{{ item.creatorId }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n <!-- paginator -->\r\n <div\r\n style=\"grid-area: paginator; justify-content: end\"\r\n class=\"form-row\"\r\n >\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n matTooltip=\"Clear items cache\"\r\n (click)=\"clearCache()\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n\r\n <mat-paginator\r\n *ngIf=\"pagination.data.length\"\r\n [length]=\"pagination.total\"\r\n [pageSize]=\"pagination.perPage\"\r\n [pageSizeOptions]=\"[20, 50, 75, 100]\"\r\n [pageIndex]=\"pagination.currentPage - 1\"\r\n [showFirstLastButtons]=\"true\"\r\n (page)=\"pageChange($event)\"\r\n ></mat-paginator>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: ["tr:nth-child(odd){background-color:#eaeaea}th{text-align:left;font-weight:400}td.command{width:24px}.form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}div#container{display:grid;grid-template-rows:1fr auto;grid-template-columns:1fr 2fr;grid-template-areas:\"query list\" \". paginator\";gap:8px}@media only screen and (max-width: 959px){div#container{grid-template-columns:1fr;grid-template-areas:\"list\" \"paginator\"}.noif-lt-md{display:none}}\n"], dependencies: [{ kind: "directive", type: i7.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i7.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i8.MatIconButton, selector: "button[mat-icon-button]", inputs: ["disabled", "disableRipple", "color"], exportAs: ["matButton"] }, { kind: "component", type: i9.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i9.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i9.MatCardHeader, selector: "mat-card-header" }, { kind: "directive", type: i9.MatCardTitle, selector: "mat-card-title, [mat-card-title], [matCardTitle]" }, { kind: "component", type: i10.MatIcon, selector: "mat-icon", inputs: ["color", "inline", "svgIcon", "fontSet", "fontIcon"], exportAs: ["matIcon"] }, { kind: "component", type: i11.MatPaginator, selector: "mat-paginator", inputs: ["disabled"], exportAs: ["matPaginator"] }, { kind: "component", type: i12.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i13.MatTooltip, selector: "[matTooltip]", exportAs: ["matTooltip"] }, { kind: "component", type: i14.FacetBadgeComponent, selector: "cadmus-facet-badge", inputs: ["facetId", "facetDefinitions"] }, { kind: "component", type: i14.FlagsBadgeComponent, selector: "cadmus-flags-badge", inputs: ["flags", "flagDefinitions"] }, { kind: "component", type: i15.ItemQueryComponent, selector: "cadmus-item-query", inputs: ["lastQueries", "disabled"], outputs: ["querySubmit"] }, { kind: "pipe", type: i7.AsyncPipe, name: "async" }, { kind: "pipe", type: i7.DatePipe, name: "date" }] });
|
|
75
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemSearchComponent, decorators: [{
|
|
78
76
|
type: Component,
|
|
79
|
-
args: [{ selector: 'cadmus-item-search', template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <mat-card-title>Item Search</mat-card-title>\r\n </mat-card-header>\r\n <mat-card-content
|
|
77
|
+
args: [{ selector: 'cadmus-item-search', template: "<mat-card appearance=\"outlined\">\r\n <mat-card-header>\r\n <mat-card-title>Item Search</mat-card-title>\r\n </mat-card-header>\r\n <mat-card-content>\r\n <div id=\"container\">\r\n <!-- query -->\r\n <div style=\"grid-area: query\">\r\n <cadmus-item-query\r\n [lastQueries]=\"(lastQueries$ | async) || []\"\r\n (querySubmit)=\"submitQuery($event)\"\r\n ></cadmus-item-query>\r\n </div>\r\n\r\n <!-- list -->\r\n <div style=\"grid-area: list\" *ngIf=\"pagination$ | async as pagination\">\r\n <div *ngIf=\"loading$ | async\">\r\n <mat-progress-bar mode=\"indeterminate\"></mat-progress-bar>\r\n </div>\r\n <div *ngIf=\"error$ | async as error\">{{ error }}</div>\r\n <table *ngIf=\"pagination.data.length\">\r\n <thead>\r\n <th></th>\r\n <th\r\n *ngIf=\"\r\n user?.roles?.includes('admin') ||\r\n user?.roles?.includes('editor')\r\n \"\r\n ></th>\r\n <th>facet</th>\r\n <th>flags</th>\r\n <th>title</th>\r\n <th>description</th>\r\n <th class=\"noif-lt-md\">group</th>\r\n <th class=\"noif-lt-md\">user</th>\r\n <th class=\"noif-lt-md\">last saved</th>\r\n <th class=\"noif-lt-md\">creator</th>\r\n </thead>\r\n <tbody>\r\n <tr *ngFor=\"let item of pagination.data\">\r\n <td class=\"command\">\r\n <button\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"primary\"\r\n (click)=\"editItem(item)\"\r\n >\r\n <mat-icon>mode_edit</mat-icon>\r\n </button>\r\n </td>\r\n <td\r\n class=\"command\"\r\n *ngIf=\"\r\n user?.roles?.includes('admin') ||\r\n user?.roles?.includes('editor')\r\n \"\r\n >\r\n <button\r\n *ngIf=\"userLevel > 2\"\r\n mat-icon-button\r\n type=\"button\"\r\n color=\"warn\"\r\n (click)=\"deleteItem(item)\"\r\n >\r\n <mat-icon>delete</mat-icon>\r\n </button>\r\n </td>\r\n <td>\r\n <cadmus-facet-badge\r\n [facetId]=\"item.facetId\"\r\n [facetDefinitions]=\"$any(facetDefinitions$ | async)\"\r\n ></cadmus-facet-badge>\r\n </td>\r\n <td>\r\n <cadmus-flags-badge\r\n [flags]=\"item.flags\"\r\n [flagDefinitions]=\"$any(flagDefinitions$ | async)\"\r\n ></cadmus-flags-badge>\r\n </td>\r\n <td>{{ item.title }}</td>\r\n <td>{{ item.description }}</td>\r\n <td class=\"noif-lt-md\">{{ item.groupId }}</td>\r\n <td class=\"noif-lt-md\">{{ item.userId }}</td>\r\n <td class=\"noif-lt-md\">\r\n {{ item.timeModified | date: \"yyyy-MM-dd HH:mm:ss\" }}\r\n </td>\r\n <td class=\"noif-lt-md\">{{ item.creatorId }}</td>\r\n </tr>\r\n </tbody>\r\n </table>\r\n\r\n <!-- paginator -->\r\n <div\r\n style=\"grid-area: paginator; justify-content: end\"\r\n class=\"form-row\"\r\n >\r\n <button\r\n type=\"button\"\r\n mat-icon-button\r\n color=\"warn\"\r\n matTooltip=\"Clear items cache\"\r\n (click)=\"clearCache()\"\r\n >\r\n <mat-icon>autorenew</mat-icon>\r\n </button>\r\n\r\n <mat-paginator\r\n *ngIf=\"pagination.data.length\"\r\n [length]=\"pagination.total\"\r\n [pageSize]=\"pagination.perPage\"\r\n [pageSizeOptions]=\"[20, 50, 75, 100]\"\r\n [pageIndex]=\"pagination.currentPage - 1\"\r\n [showFirstLastButtons]=\"true\"\r\n (page)=\"pageChange($event)\"\r\n ></mat-paginator>\r\n </div>\r\n </div>\r\n </div>\r\n </mat-card-content>\r\n</mat-card>\r\n", styles: ["tr:nth-child(odd){background-color:#eaeaea}th{text-align:left;font-weight:400}td.command{width:24px}.form-row{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.form-row *{flex:0 0 auto}div#container{display:grid;grid-template-rows:1fr auto;grid-template-columns:1fr 2fr;grid-template-areas:\"query list\" \". paginator\";gap:8px}@media only screen and (max-width: 959px){div#container{grid-template-columns:1fr;grid-template-areas:\"list\" \"paginator\"}.noif-lt-md{display:none}}\n"] }]
|
|
80
78
|
}], ctorParameters: function () { return [{ type: i1.ItemSearchRepository }, { type: i2.DialogService }, { type: i3.Router }, { type: i4.AuthJwtService }, { type: i5.UserLevelService }, { type: i6.AppRepository }]; } });
|
|
81
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaXRlbS1zZWFyY2guY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlybWlkb24vY2FkbXVzLWl0ZW0tc2VhcmNoL3NyYy9saWIvaXRlbS1zZWFyY2gvaXRlbS1zZWFyY2guY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbXlybWlkb24vY2FkbXVzLWl0ZW0tc2VhcmNoL3NyYy9saWIvaXRlbS1zZWFyY2gvaXRlbS1zZWFyY2guY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBVSxNQUFNLGVBQWUsQ0FBQztBQUlsRCxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFxQnRDLE1BQU0sT0FBTyxtQkFBbUI7SUFXOUIsWUFDVSxXQUFpQyxFQUNqQyxjQUE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XM/LmluY2x1ZGVzKCdhZG1pbicpIHx8IHVzZXI/LnJvbGVzPy5pbmNsdWRlcygnZWRpdG9yJylcclxuICAgICAgICAgICAgXCJcclxuICAgICAgICAgID48L3RoPlxyXG4gICAgICAgICAgPHRoPmZhY2V0PC90aD5cclxuICAgICAgICAgIDx0aD5mbGFnczwvdGg+XHJcbiAgICAgICAgICA8dGg+dGl0bGU8L3RoPlxyXG4gICAgICAgICAgPHRoPmRlc2NyaXB0aW9uPC90aD5cclxuICAgICAgICAgIDx0aCBmeEhpZGUubHQtbWQ+Z3JvdXA8L3RoPlxyXG4gICAgICAgICAgPHRoIGZ4SGlkZS5sdC1tZD51c2VyPC90aD5cclxuICAgICAgICAgIDx0aCBmeEhpZGUubHQtbWQ+bGFzdCBzYXZlZDwvdGg+XHJcbiAgICAgICAgICA8dGggZnhIaWRlLmx0LW1kPmNyZWF0b3I8L3RoPlxyXG4gICAgICAgIDwvdGhlYWQ+XHJcbiAgICAgICAgPHRib2R5PlxyXG4gICAgICAgICAgPHRyICpuZ0Zvcj1cImxldCBpdGVtIG9mIHBhZ2luYXRpb24uZGF0YVwiPlxyXG4gICAgICAgICAgICA8dGQgY2xhc3M9XCJjb21tYW5kXCI+XHJcbiAgICAgICAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgICAgICAgbWF0LWljb24tYnV0dG9uXHJcbiAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgICAgIGNvbG9yPVwicHJpbWFyeVwiXHJcbiAgICAgICAgICAgICAgICAoY2xpY2spPVwiZWRpdEl0ZW0oaXRlbSlcIlxyXG4gICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5tb2RlX2VkaXQ8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICA8dGRcclxuICAgICAgICAgICAgICBjbGFzcz1cImNvbW1hbmRcIlxyXG4gICAgICAgICAgICAgICpuZ0lmPVwiXHJcbiAgICAgICAgICAgICAgICB1c2VyPy5yb2xlcz8uaW5jbHVkZXMoJ2FkbWluJykgfHxcclxuICAgICAgICAgICAgICAgIHVzZXI/LnJvbGVzPy5pbmNsdWRlcygnZWRpdG9yJylcclxuICAgICAgICAgICAgICBcIlxyXG4gICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgPGJ1dHRvblxyXG4gICAgICAgICAgICAgICAgKm5nSWY9XCJ1c2VyTGV2ZWwgPiAyXCJcclxuICAgICAgICAgICAgICAgIG1hdC1pY29uLWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgdHlwZT1cImJ1dHRvblwiXHJcbiAgICAgICAgICAgICAgICBjb2xvcj1cIndhcm5cIlxyXG4gICAgICAgICAgICAgICAgKGNsaWNrKT1cImRlbGV0ZUl0ZW0oaXRlbSlcIlxyXG4gICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5kZWxldGU8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgIDwvYnV0dG9uPlxyXG4gICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICA8dGQ+XHJcbiAgICAgICAgICAgICAgPGNhZG11cy1mYWNldC1iYWRnZVxyXG4gICAgICAgICAgICAgICAgW2ZhY2V0SWRdPVwiaXRlbS5mYWNldElkXCJcclxuICAgICAgICAgICAgICAgIFtmYWNldERlZmluaXRpb25zXT1cIiRhbnkoZmFjZXREZWZpbml0aW9ucyQgfCBhc3luYylcIlxyXG4gICAgICAgICAgICAgID48L2NhZG11cy1mYWNldC1iYWRnZT5cclxuICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgPHRkPlxyXG4gICAgICAgICAgICAgIDxjYWRtdXMtZmxhZ3MtYmFkZ2VcclxuICAgICAgICAgICAgICAgIFtmbGFnc109XCJpdGVtLmZsYWdzXCJcclxuICAgICAgICAgICAgICAgIFtmbGFnRGVmaW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uICAgICAgICAgICAgPHRoPmZsYWdzPC90aD5cclxuICAgICAgICAgICAgPHRoPnRpdGxlPC90aD5cclxuICAgICAgICAgICAgPHRoPmRlc2NyaXB0aW9uPC90aD5cclxuICAgICAgICAgICAgPHRoIGNsYXNzPVwibm9pZi1sdC1tZFwiPmdyb3VwPC90aD5cclxuICAgICAgICAgICAgPHRoIGNsYXNzPVwibm9pZi1sdC1tZFwiPnVzZXI8L3RoPlxyXG4gICAgICAgICAgICA8dGggY2xhc3M9XCJub2lmLWx0LW1kXCI+bGFzdCBzYXZlZDwvdGg+XHJcbiAgICAgICAgICAgIDx0aCBjbGFzcz1cIm5vaWYtbHQtbWRcIj5jcmVhdG9yPC90aD5cclxuICAgICAgICAgIDwvdGhlYWQ+XHJcbiAgICAgICAgICA8dGJvZHk+XHJcbiAgICAgICAgICAgIDx0ciAqbmdGb3I9XCJsZXQgaXRlbSBvZiBwYWdpbmF0aW9uLmRhdGFcIj5cclxuICAgICAgICAgICAgICA8dGQgY2xhc3M9XCJjb21tYW5kXCI+XHJcbiAgICAgICAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgIG1hdC1pY29uLWJ1dHRvblxyXG4gICAgICAgICAgICAgICAgICB0eXBlPVwiYnV0dG9uXCJcclxuICAgICAgICAgICAgICAgICAgY29sb3I9XCJwcmltYXJ5XCJcclxuICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cImVkaXRJdGVtKGl0ZW0pXCJcclxuICAgICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgICAgPG1hdC1pY29uPm1vZGVfZWRpdDwvbWF0LWljb24+XHJcbiAgICAgICAgICAgICAgICA8L2J1dHRvbj5cclxuICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICAgIDx0ZFxyXG4gICAgICAgICAgICAgICAgY2xhc3M9XCJjb21tYW5kXCJcclxuICAgICAgICAgICAgICAgICpuZ0lmPVwiXHJcbiAgICAgICAgICAgICAgICAgIHVzZXI/LnJvbGVzPy5pbmNsdWRlcygnYWRtaW4nKSB8fFxyXG4gICAgICAgICAgICAgICAgICB1c2VyPy5yb2xlcz8uaW5jbHVkZXMoJ2VkaXRvcicpXHJcbiAgICAgICAgICAgICAgICBcIlxyXG4gICAgICAgICAgICAgID5cclxuICAgICAgICAgICAgICAgIDxidXR0b25cclxuICAgICAgICAgICAgICAgICAgKm5nSWY9XCJ1c2VyTGV2ZWwgPiAyXCJcclxuICAgICAgICAgICAgICAgICAgbWF0LWljb24tYnV0dG9uXHJcbiAgICAgICAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxyXG4gICAgICAgICAgICAgICAgICBjb2xvcj1cIndhcm5cIlxyXG4gICAgICAgICAgICAgICAgICAoY2xpY2spPVwiZGVsZXRlSXRlbShpdGVtKVwiXHJcbiAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgIDxtYXQtaWNvbj5kZWxldGU8L21hdC1pY29uPlxyXG4gICAgICAgICAgICAgICAgPC9idXR0b24+XHJcbiAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgICA8dGQ+XHJcbiAgICAgICAgICAgICAgICA8Y2FkbXVzLWZhY2V0LWJhZGdlXHJcbiAgICAgICAgICAgICAgICAgIFtmYWNldElkXT1cIml0ZW0uZmFjZXRJZFwiXHJcbiAgICAgICAgICAgICAgICAgIFtmYWNldERlZmluaXRpb25zXT1cIiRhbnkoZmFjZXREZWZpbml0aW9ucyQgfCBhc3luYylcIlxyXG4gICAgICAgICAgICAgICAgPjwvY2FkbXVzLWZhY2V0LWJhZGdlPlxyXG4gICAgICAgICAgICAgIDwvdGQ+XHJcbiAgICAgICAgICAgICAgPHRkPlxyXG4gICAgICAgICAgICAgICAgPGNhZG11cy1mbGFncy1iYWRnZVxyXG4gICAgICAgICAgICAgICAgICBbZmxhZ3NdPVwiaXRlbS5mbGFnc1wiXHJcbiAgICAgICAgICAgICAgICAgIFtmbGFnRGVmaW5pdGlvbnNdPVwiJGFueShmbGFnRGVmaW5pdGlvbnMkIHwgYXN5bmMpXCJcclxuICAgICAgICAgICAgICAgID48L2NhZG11cy1mbGFncy1iYWRnZT5cclxuICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICAgIDx0ZD57eyBpdGVtLnRpdGxlIH19PC90ZD5cclxuICAgICAgICAgICAgICA8dGQ+e3sgaXRlbS5kZXNjcmlwdGlvbiB9fTwvdGQ+XHJcbiAgICAgICAgICAgICAgPHRkIGNsYXNzPVwibm9pZi1sdC1tZFwiPnt7IGl0ZW0uZ3JvdXBJZCB9fTwvdGQ+XHJcbiAgICAgICAgICAgICAgPHRkIGNsYXNzPVwibm9pZi1sdC1tZFwiPnt7IGl0ZW0udXNlcklkIH19PC90ZD5cclxuICAgICAgICAgICAgICA8dGQgY2xhc3M9XCJub2lmLWx0LW1kXCI+XHJcbiAgICAgICAgICAgICAgICB7eyBpdGVtLnRpbWVNb2RpZmllZCB8IGRhdGU6IFwieXl5eS1NTS1kZCBISDptbTpzc1wiIH19XHJcbiAgICAgICAgICAgICAgPC90ZD5cclxuICAgICAgICAgICAgICA8dGQgY2xhc3M9XCJub2lmLWx0LW1kXCI+e3sgaXRlbS5jcmVhdG9ySWQgfX08L3RkPlxyXG4gICAgICAgICAgICA8L3RyPlxyXG4gICAgICAgICAgPC90Ym9keT5cclxuICAgICAgICA8L3RhYmxlPlxyXG5cclxuICAgICAgICA8IS0tIHBhZ2luYXRvciAtLT5cclxuICAgICAgICA8ZGl2XHJcbiAgICAgICAgICBzdHlsZT1cImdyaWQtYXJlYTogcGFnaW5hdG9yOyBqdXN0aWZ5LWNvbnRlbnQ6IGVuZFwiXHJcbiAgICAgICAgICBjbGFzcz1cImZvcm0tcm93XCJcclxuICAgICAgICA+XHJcbiAgICAgICAgICA8YnV0dG9uXHJcbiAgICAgICAgICAgIHR5cGU9XCJidXR0b25cIlxyXG4gICAgICAgICAgICBtYXQtaWNvbi1idXR0b25cclxuICAgICAgICAgICAgY29sb3I9XCJ3YXJuXCJcclxuICAgICAgICAgICAgbWF0VG9vbHRpcD1cIkNsZWFyIGl0ZW1zIGNhY2hlXCJcclxuICAgICAgICAgICAgKGNsaWNrKT1cImNsZWFyQ2FjaGUoKVwiXHJcbiAgICAgICAgICA+XHJcbiAgICAgICAgICAgIDxtYXQtaWNvbj5hdXRvcmVuZXc8L21hdC1pY29uPlxyXG4gICAgICAgICAgPC9idXR0b24+XHJcblxyXG4gICAgICAgICAgPG1hdC1wYWdpbmF0b3JcclxuICAgICAgICAgICAgKm5nSWY9XCJwYWdpbmF0aW9uLmRhdGEubGVuZ3RoXCJcclxuICAgICAgICAgICAgW2xlbmd0aF09XCJwYWdpbmF0aW9uLnRvdGFsXCJcclxuICAgICAgICAgICAgW3BhZ2VTaXplXT1cInBhZ2luYXRpb24ucGVyUGFnZVwiXHJcbiAgICAgICAgICAgIFtwYWdlU2l6ZU9wdGlvbnNdPVwiWzIwLCA1MCwgNzUsIDEwMF1cIlxyXG4gICAgICAgICAgICBbcGFnZUluZGV4XT1cInBhZ2luYXRpb24uY3VycmVudFBhZ2UgLSAxXCJcclxuICAgICAgICAgICAgW3Nob3dGaXJzdExhc3RCdXR0b25zXT1cInRydWVcIlxyXG4gICAgICAgICAgICAocGFnZSk9XCJwYWdlQ2hhbmdlKCRldmVudClcIlxyXG4gICAgICAgICAgPjwvbWF0LXBhZ2luYXRvcj5cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2Rpdj5cclxuICA8L21hdC1jYXJkLWNvbnRlbnQ+XHJcbjwvbWF0LWNhcmQ+XHJcbiJdfQ==
|
|
@@ -109,9 +109,9 @@ export class ItemSearchRepository {
|
|
|
109
109
|
this._store.update(setProp('lastQueries', queries));
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
|
-
ItemSearchRepository.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.
|
|
113
|
-
ItemSearchRepository.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.
|
|
114
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.
|
|
112
|
+
ItemSearchRepository.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemSearchRepository, deps: [{ token: i1.ItemService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
113
|
+
ItemSearchRepository.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemSearchRepository, providedIn: 'root' });
|
|
114
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.0.1", ngImport: i0, type: ItemSearchRepository, decorators: [{
|
|
115
115
|
type: Injectable,
|
|
116
116
|
args: [{ providedIn: 'root' }]
|
|
117
117
|
}], ctorParameters: function () { return [{ type: i1.ItemService }]; } });
|