@colijnit/transaction 12.1.93 → 12.1.95
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/bundles/colijnit-transaction.umd.js +432 -494
- package/bundles/colijnit-transaction.umd.js.map +1 -1
- package/colijnit-transaction.d.ts +113 -115
- package/colijnit-transaction.metadata.json +1 -1
- package/esm2015/colijnit-transaction.js +114 -116
- package/esm2015/lib/component/checkout/checkout.module.js +2 -4
- package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.module.js +1 -3
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +2 -2
- package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.module.js +2 -2
- package/esm2015/lib/component/search/search-view-mode.service.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text/transaction-article-text.component.js +2 -2
- package/esm2015/lib/component/shared/transaction-article-text-overview/transaction-article-text-overview.component.js +2 -13
- package/esm2015/lib/component/transaction/transaction.component.js +7 -8
- package/esm2015/lib/component/transaction/transaction.module.js +2 -3
- package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.js +14 -14
- package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +1 -1
- package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +2 -3
- package/esm2015/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.js +7 -1
- package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +19 -11
- package/esm2015/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.js +8 -3
- package/esm2015/lib/component/transaction-line/transaction-line/transaction-line.component.js +4 -1
- package/esm2015/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.js +8 -3
- package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +7 -2
- package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +2 -2
- package/esm2015/lib/component/transaction-line-action-buttons/transaction-line-action-buttons.component.js +1 -1
- package/esm2015/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.js +7 -2
- package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +2 -2
- package/esm2015/lib/component/transaction-lines/transaction-lines.component.js +3 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +4 -3
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +2 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +6 -2
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +2 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +2 -1
- package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +8 -1
- package/esm2015/lib/component/transaction-search/service/filter-request.service.js +1 -1
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -2
- package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +1 -3
- package/esm2015/lib/component/transaction-search/transaction-search-tile/transaction-statusbar/transaction-statusbar.component.js +1 -1
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/transaction-base.service.js +13 -110
- package/esm2015/lib/service/transaction-connector-adapter.service.js +22 -9
- package/esm2015/lib/service/transaction-connector.service.js +6 -1
- package/esm2015/lib/service/transaction-event.service.js +2 -1
- package/esm2015/lib/service/transaction-image.service.js +9 -10
- package/esm2015/lib/service/transaction-mapping.service.js +3 -2
- package/esm2015/lib/service/transaction.service.js +39 -41
- package/esm2015/lib/transaction-version.js +10 -0
- package/esm2015/public_api.js +2 -2
- package/fesm2015/colijnit-transaction.js +281 -418
- package/fesm2015/colijnit-transaction.js.map +1 -1
- package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +1 -1
- package/lib/component/search/search-view-mode.service.d.ts +1 -1
- package/lib/component/shared/transaction-article-text/style/_layout.scss +1 -1
- package/lib/component/transaction/style/material.scss +0 -1
- package/lib/component/transaction/transaction.component.d.ts +2 -3
- package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-button-bar-button.component.d.ts +4 -2
- package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +2 -1
- package/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.d.ts +1 -1
- package/lib/component/transaction-line/transaction-base-line/transaction-base-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.d.ts +2 -0
- package/lib/component/transaction-line/transaction-invoice-line/transaction-invoice-line.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-line/transaction-line.component.d.ts +1 -0
- package/lib/component/transaction-line/transaction-overview-line/transaction-overview-line.component.d.ts +3 -1
- package/lib/component/transaction-line-image-and-description/transaction-line-image-and-description.component.d.ts +2 -0
- package/lib/component/transaction-lines/transaction-lines.component.d.ts +1 -1
- package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +2 -0
- package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +4 -1
- package/lib/component/transaction-search/service/filter-request.service.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-article/transaction-purchase-order-filter-content-article.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-logistics/transaction-purchase-order-filter-content-logistics.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/purchase-order-filter-content/transaction-purchase-order-filter-content-order/transaction-purchase-order-filter-content-order.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-article/transaction-sales-order-filter-content-article.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-logistics/transaction-sales-order-filter-content-logistics.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-filter-content/sales-order-filter-content/transaction-sales-order-filter-content-order/transaction-sales-order-filter-content-order.component.d.ts +1 -1
- package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +1 -1
- package/lib/res/dictionary/dictionaries.d.ts +49 -0
- package/lib/service/transaction-base.service.d.ts +1 -4
- package/lib/service/transaction-connector-adapter.service.d.ts +6 -4
- package/lib/service/transaction-connector.service.d.ts +6 -4
- package/lib/service/transaction-event.service.d.ts +1 -0
- package/lib/service/transaction-image.service.d.ts +1 -1
- package/lib/service/transaction.service.d.ts +3 -0
- package/lib/transaction-version.d.ts +6 -0
- package/package.json +5 -5
- package/public_api.d.ts +1 -1
- package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +0 -61
- package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +0 -23
- package/esm2015/lib/enum/content-view-mode.enum.js +0 -11
- package/esm2015/lib/model/filter-item.viewmodel.js +0 -9
- package/esm2015/lib/model/filter-viewmodel.js +0 -11
- package/lib/component/view-mode-buttons/style/_layout.scss +0 -20
- package/lib/component/view-mode-buttons/style/_material-definition.scss +0 -5
- package/lib/component/view-mode-buttons/style/_theme.scss +0 -22
- package/lib/component/view-mode-buttons/style/material.scss +0 -3
- package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
- package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
- package/lib/enum/content-view-mode.enum.d.ts +0 -8
- package/lib/model/filter-item.viewmodel.d.ts +0 -7
- package/lib/model/filter-viewmodel.d.ts +0 -8
package/public_api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export * from "./lib/transaction-version";
|
|
1
2
|
export * from "./lib/component/checkout/checkout.component";
|
|
2
3
|
export * from "./lib/component/checkout/checkout.module";
|
|
3
4
|
export * from "./lib/component/shopping-cart/shopping-cart.component";
|
|
@@ -56,4 +57,3 @@ export * from "./lib/service/relation.service";
|
|
|
56
57
|
export * from "./lib/service/transaction-event.service";
|
|
57
58
|
export * from "./lib/enum/search-view-mode.enum";
|
|
58
59
|
export * from "./lib/enum/searchbar-view-mode.enum";
|
|
59
|
-
export * from "./lib/enum/content-view-mode.enum";
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { Component, EventEmitter, HostBinding, Input, Output, ViewEncapsulation } from "@angular/core";
|
|
2
|
-
import { ContentViewMode } from "../../enum/content-view-mode.enum";
|
|
3
|
-
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
-
export class ViewModeButtonsComponent {
|
|
6
|
-
constructor(iconCacheService) {
|
|
7
|
-
this.iconCacheService = iconCacheService;
|
|
8
|
-
this.icons = Icon;
|
|
9
|
-
this.viewModes = ContentViewMode;
|
|
10
|
-
this.showViewModes = [this.viewModes.List, this.viewModes.Grid, this.viewModes.Tiles];
|
|
11
|
-
this.viewModeChange = new EventEmitter();
|
|
12
|
-
}
|
|
13
|
-
showClass() {
|
|
14
|
-
return true;
|
|
15
|
-
}
|
|
16
|
-
set activeViewMode(value) {
|
|
17
|
-
this._activeViewMode = value;
|
|
18
|
-
this.viewModeChange.emit(this._activeViewMode);
|
|
19
|
-
}
|
|
20
|
-
get activeViewMode() {
|
|
21
|
-
return this._activeViewMode;
|
|
22
|
-
}
|
|
23
|
-
ngOnInit() {
|
|
24
|
-
this.activeViewMode = this.showViewModes.includes(ContentViewMode.List) ? ContentViewMode.List : this.showViewModes[0];
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
ViewModeButtonsComponent.decorators = [
|
|
28
|
-
{ type: Component, args: [{
|
|
29
|
-
selector: 'co-view-mode-buttons',
|
|
30
|
-
template: `
|
|
31
|
-
<co-button class="view-button white"
|
|
32
|
-
*ngIf="showViewModes.includes(viewModes.Tiles)"
|
|
33
|
-
[class.selected]="this.activeViewMode === viewModes.Tiles"
|
|
34
|
-
[iconData]="iconCacheService.getIcon(icons.ListView)"
|
|
35
|
-
[title]="'TILE_VIEW' | localize"
|
|
36
|
-
(click)="this.activeViewMode = viewModes.Tiles"></co-button>
|
|
37
|
-
<co-button class="view-button white"
|
|
38
|
-
*ngIf="showViewModes.includes(viewModes.List)"
|
|
39
|
-
[class.selected]="this.activeViewMode === viewModes.List"
|
|
40
|
-
[iconData]="iconCacheService.getIcon(icons.ThickLines)"
|
|
41
|
-
[title]="'LIST_VIEW' | localize"
|
|
42
|
-
(click)="this.activeViewMode = viewModes.List"></co-button>
|
|
43
|
-
<co-button class="view-button white"
|
|
44
|
-
*ngIf="showViewModes.includes(viewModes.Grid)"
|
|
45
|
-
[class.selected]="this.activeViewMode === viewModes.Grid"
|
|
46
|
-
[iconData]="iconCacheService.getIcon(icons.ThinLines)"
|
|
47
|
-
[title]="'GRID_VIEW' | localize"
|
|
48
|
-
(click)="this.activeViewMode = viewModes.Grid"></co-button>
|
|
49
|
-
`,
|
|
50
|
-
encapsulation: ViewEncapsulation.None
|
|
51
|
-
},] }
|
|
52
|
-
];
|
|
53
|
-
ViewModeButtonsComponent.ctorParameters = () => [
|
|
54
|
-
{ type: IconCacheService }
|
|
55
|
-
];
|
|
56
|
-
ViewModeButtonsComponent.propDecorators = {
|
|
57
|
-
showViewModes: [{ type: Input }],
|
|
58
|
-
viewModeChange: [{ type: Output }],
|
|
59
|
-
showClass: [{ type: HostBinding, args: ["class.co-view-mode-buttons",] }]
|
|
60
|
-
};
|
|
61
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9HLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDNUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUEw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GUpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBhY3RpdmVWaWV3TW9kZSgpOiBDb250ZW50Vmlld01vZGUge1xyXG4gICAgcmV0dXJuIHRoaXMuX2FjdGl2ZVZpZXdNb2RlO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBfYWN0aXZlVmlld01vZGU6IENvbnRlbnRWaWV3TW9kZTtcclxuXHJcbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5hY3RpdmVWaWV3TW9kZSA9IHRoaXMuc2hvd1ZpZXdNb2Rlcy5pbmNsdWRlcyhDb250ZW50Vmlld01vZGUuTGlzdCkgPyBDb250ZW50Vmlld01vZGUuTGlzdCA6IHRoaXMuc2hvd1ZpZXdNb2Rlc1swXTtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBpY29uQ2FjaGVTZXJ2aWNlOiBJY29uQ2FjaGVTZXJ2aWNlKSB7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { NgModule } from "@angular/core";
|
|
2
|
-
import { CommonModule } from "@angular/common";
|
|
3
|
-
import { ViewModeButtonsComponent } from "./view-mode-buttons.component";
|
|
4
|
-
import { ButtonModule } from "@colijnit/corecomponents_v12";
|
|
5
|
-
import { PipeModule } from "../../pipe/pipe.module";
|
|
6
|
-
export class ViewModeButtonsModule {
|
|
7
|
-
}
|
|
8
|
-
ViewModeButtonsModule.decorators = [
|
|
9
|
-
{ type: NgModule, args: [{
|
|
10
|
-
imports: [
|
|
11
|
-
CommonModule,
|
|
12
|
-
ButtonModule,
|
|
13
|
-
PipeModule
|
|
14
|
-
],
|
|
15
|
-
declarations: [
|
|
16
|
-
ViewModeButtonsComponent
|
|
17
|
-
],
|
|
18
|
-
exports: [
|
|
19
|
-
ViewModeButtonsComponent
|
|
20
|
-
]
|
|
21
|
-
},] }
|
|
22
|
-
];
|
|
23
|
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b25lbnRcIjtcclxuaW1wb3J0IHtCdXR0b25Nb2R1bGV9IGZyb20gXCJAY29saWpuaXQvY29yZWNvbXBvbmVudHNfdjEyXCI7XHJcbmltcG9ydCB7UGlwZU1vZHVsZX0gZnJvbSBcIi4uLy4uL3BpcGUvcGlwZS5tb2R1bGVcIjtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgUGlwZU1vZHVsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBWaWV3TW9kZUJ1dHRvbnNDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFZpZXdNb2RlQnV0dG9uc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFZpZXdNb2RlQnV0dG9uc01vZHVsZSB7XHJcbn1cclxuIl19
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
// The different view modes for content, e.g. list, grid, ..
|
|
2
|
-
export var ContentViewMode;
|
|
3
|
-
(function (ContentViewMode) {
|
|
4
|
-
ContentViewMode[ContentViewMode["List"] = 0] = "List";
|
|
5
|
-
ContentViewMode[ContentViewMode["Grid"] = 1] = "Grid";
|
|
6
|
-
ContentViewMode[ContentViewMode["GridExpanded"] = 2] = "GridExpanded";
|
|
7
|
-
ContentViewMode[ContentViewMode["MasterDetail"] = 3] = "MasterDetail";
|
|
8
|
-
ContentViewMode[ContentViewMode["Timeline"] = 4] = "Timeline";
|
|
9
|
-
ContentViewMode[ContentViewMode["Tiles"] = 5] = "Tiles";
|
|
10
|
-
})(ContentViewMode || (ContentViewMode = {}));
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29udGVudC12aWV3LW1vZGUuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvZW51bS9jb250ZW50LXZpZXctbW9kZS5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDREQUE0RDtBQUM1RCxNQUFNLENBQU4sSUFBWSxlQU9YO0FBUEQsV0FBWSxlQUFlO0lBQ3pCLHFEQUFJLENBQUE7SUFDSixxREFBSSxDQUFBO0lBQ0oscUVBQVksQ0FBQTtJQUNaLHFFQUFZLENBQUE7SUFDWiw2REFBUSxDQUFBO0lBQ1IsdURBQUssQ0FBQTtBQUNQLENBQUMsRUFQVyxlQUFlLEtBQWYsZUFBZSxRQU8xQiIsInNvdXJjZXNDb250ZW50IjpbIi8vIFRoZSBkaWZmZXJlbnQgdmlldyBtb2RlcyBmb3IgY29udGVudCwgZS5nLiBsaXN0LCBncmlkLCAuLlxyXG5leHBvcnQgZW51bSBDb250ZW50Vmlld01vZGUge1xyXG4gIExpc3QsXHJcbiAgR3JpZCxcclxuICBHcmlkRXhwYW5kZWQsXHJcbiAgTWFzdGVyRGV0YWlsLFxyXG4gIFRpbWVsaW5lLFxyXG4gIFRpbGVzLFxyXG59XHJcbiJdfQ==
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export class FilterItemViewmodel {
|
|
2
|
-
constructor(code, description, checked, count) {
|
|
3
|
-
this.checked = false;
|
|
4
|
-
this.code = code;
|
|
5
|
-
this.description = description === null || description === void 0 ? void 0 : description.toString();
|
|
6
|
-
this.count = count;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLWl0ZW0udmlld21vZGVsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9tb2RlbC9maWx0ZXItaXRlbS52aWV3bW9kZWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxPQUFPLG1CQUFtQjtJQU85QixZQUFZLElBQXFCLEVBQUUsV0FBNEIsRUFBRSxPQUFnQixFQUFFLEtBQWM7UUFMMUYsWUFBTyxHQUFZLEtBQUssQ0FBQztRQU05QixJQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztRQUNqQixJQUFJLENBQUMsV0FBVyxHQUFHLFdBQVcsYUFBWCxXQUFXLHVCQUFYLFdBQVcsQ0FBRSxRQUFRLEVBQUUsQ0FBQztRQUMzQyxJQUFJLENBQUMsS0FBSyxHQUFHLEtBQUssQ0FBQztJQUNyQixDQUFDO0NBQ0YiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgY2xhc3MgRmlsdGVySXRlbVZpZXdtb2RlbCB7XHJcblxyXG4gIHB1YmxpYyBjaGVja2VkOiBib29sZWFuID0gZmFsc2U7XHJcbiAgcHVibGljIGNvZGU6IHN0cmluZyB8IG51bWJlcjtcclxuICBwdWJsaWMgZGVzY3JpcHRpb246IHN0cmluZztcclxuICBwdWJsaWMgY291bnQ6IG51bWJlcjtcclxuXHJcbiAgY29uc3RydWN0b3IoY29kZTogc3RyaW5nIHwgbnVtYmVyLCBkZXNjcmlwdGlvbjogc3RyaW5nIHwgbnVtYmVyLCBjaGVja2VkOiBib29sZWFuLCBjb3VudD86IG51bWJlciwpIHtcclxuICAgIHRoaXMuY29kZSA9IGNvZGU7XHJcbiAgICB0aGlzLmRlc2NyaXB0aW9uID0gZGVzY3JpcHRpb24/LnRvU3RyaW5nKCk7XHJcbiAgICB0aGlzLmNvdW50ID0gY291bnQ7XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { FilterItemViewmodel } from './filter-item.viewmodel';
|
|
2
|
-
export class FilterViewmodel {
|
|
3
|
-
constructor(collection, fields) {
|
|
4
|
-
this.filterItems = [];
|
|
5
|
-
collection.forEach((item) => {
|
|
6
|
-
var _a, _b;
|
|
7
|
-
this.filterItems.push(new FilterItemViewmodel(item[fields.value], item[fields.text], (_a = item.checked) !== null && _a !== void 0 ? _a : false, (_b = item.count) !== null && _b !== void 0 ? _b : null));
|
|
8
|
-
});
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLXZpZXdtb2RlbC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3RyYW5zYWN0aW9uL3NyYy9saWIvbW9kZWwvZmlsdGVyLXZpZXdtb2RlbC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUMsbUJBQW1CLEVBQUMsTUFBTSx5QkFBeUIsQ0FBQztBQUU1RCxNQUFNLE9BQU8sZUFBZTtJQUd4QixZQUFZLFVBQWlCLEVBQUUsTUFBcUI7UUFGN0MsZ0JBQVcsR0FBMEIsRUFBRSxDQUFDO1FBRzNDLFVBQVUsQ0FBQyxPQUFPLENBQUMsQ0FBQyxJQUFTLEVBQUUsRUFBRTs7WUFDN0IsSUFBSSxDQUFDLFdBQVcsQ0FBQyxJQUFJLENBQUMsSUFBSSxtQkFBbUIsQ0FBQyxJQUFJLENBQUMsTUFBTSxDQUFDLEtBQUssQ0FBQyxFQUFFLElBQUksQ0FBQyxNQUFNLENBQUMsSUFBSSxDQUFDLEVBQUUsTUFBQSxJQUFJLENBQUMsT0FBTyxtQ0FBSSxLQUFLLEVBQUUsTUFBQSxJQUFJLENBQUMsS0FBSyxtQ0FBSSxJQUFJLENBQUcsQ0FBQyxDQUFDO1FBQ3ZJLENBQUMsQ0FBQyxDQUFDO0lBQ1AsQ0FBQztDQUNKIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHtGaWx0ZXJJdGVtVmlld21vZGVsfSBmcm9tICcuL2ZpbHRlci1pdGVtLnZpZXdtb2RlbCc7XHJcblxyXG5leHBvcnQgY2xhc3MgRmlsdGVyVmlld21vZGVsIHtcclxuICAgIHB1YmxpYyBmaWx0ZXJJdGVtczogRmlsdGVySXRlbVZpZXdtb2RlbFtdID0gW107XHJcblxyXG4gICAgY29uc3RydWN0b3IoY29sbGVjdGlvbjogYW55W10sIGZpZWxkczoge3RleHQsIHZhbHVlfSApIHtcclxuICAgICAgICBjb2xsZWN0aW9uLmZvckVhY2goKGl0ZW06IGFueSkgPT4ge1xyXG4gICAgICAgICAgICB0aGlzLmZpbHRlckl0ZW1zLnB1c2gobmV3IEZpbHRlckl0ZW1WaWV3bW9kZWwoaXRlbVtmaWVsZHMudmFsdWVdLCBpdGVtW2ZpZWxkcy50ZXh0XSwgaXRlbS5jaGVja2VkID8/IGZhbHNlLCBpdGVtLmNvdW50ID8/IG51bGwsICkpO1xyXG4gICAgICAgIH0pO1xyXG4gICAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
@import "../../../style/mixin";
|
|
2
|
-
|
|
3
|
-
@include export-module('co-view-mode-buttons-layout') {
|
|
4
|
-
.co-view-mode-buttons {
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: row;
|
|
7
|
-
justify-content: flex-end;
|
|
8
|
-
align-items: center;
|
|
9
|
-
.view-button {
|
|
10
|
-
justify-content: center;
|
|
11
|
-
padding: 0;
|
|
12
|
-
height: $tp-transaction-view-mode-button-size;
|
|
13
|
-
width: $tp-transaction-view-mode-button-size;
|
|
14
|
-
border-radius: $tp-transaction-view-mode-button-border-radius;
|
|
15
|
-
&:not(.circle) {
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
$tp-transaction-view-mode-button-size: 30px !default;
|
|
2
|
-
$tp-transaction-view-mode-button-background-color: $tp-color-dark !default;
|
|
3
|
-
$tp-transaction-view-mode-button-selected-background-color: $tp-color-action !default;
|
|
4
|
-
$tp-transaction-view-mode-button-background-color-hover: $tp-color-light !default;
|
|
5
|
-
$tp-transaction-view-mode-button-border-radius: 3px !default;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
@import "../../../style/mixin";
|
|
2
|
-
|
|
3
|
-
@include export-module('co-view-mode-buttons-theme') {
|
|
4
|
-
.co-view-mode-buttons {
|
|
5
|
-
.view-button {
|
|
6
|
-
[fill] {
|
|
7
|
-
fill: $tp-transaction-view-mode-button-background-color;
|
|
8
|
-
}
|
|
9
|
-
&:hover {
|
|
10
|
-
[fill] {
|
|
11
|
-
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
&.selected {
|
|
15
|
-
background-color: $tp-transaction-view-mode-button-selected-background-color;
|
|
16
|
-
[fill] {
|
|
17
|
-
fill: $tp-transaction-view-mode-button-background-color-hover;
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { ContentViewMode } from "../../enum/content-view-mode.enum";
|
|
3
|
-
import { Icon } from "../../enum/icon.enum";
|
|
4
|
-
import { IconCacheService } from "../../service/icon-cache.service";
|
|
5
|
-
export declare class ViewModeButtonsComponent implements OnInit {
|
|
6
|
-
iconCacheService: IconCacheService;
|
|
7
|
-
readonly icons: typeof Icon;
|
|
8
|
-
readonly viewModes: typeof ContentViewMode;
|
|
9
|
-
showViewModes: ContentViewMode[];
|
|
10
|
-
viewModeChange: EventEmitter<ContentViewMode>;
|
|
11
|
-
showClass(): boolean;
|
|
12
|
-
set activeViewMode(value: ContentViewMode);
|
|
13
|
-
get activeViewMode(): ContentViewMode;
|
|
14
|
-
private _activeViewMode;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
constructor(iconCacheService: IconCacheService);
|
|
17
|
-
}
|