@colijnit/transaction 12.1.94 → 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.
Files changed (77) hide show
  1. package/bundles/colijnit-transaction.umd.js +271 -317
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +113 -115
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +114 -116
  6. package/esm2015/lib/component/checkout/checkout.module.js +2 -4
  7. package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.module.js +1 -3
  8. package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +2 -2
  9. package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.module.js +2 -2
  10. package/esm2015/lib/component/search/search-view-mode.service.js +2 -2
  11. package/esm2015/lib/component/transaction/transaction.component.js +2 -2
  12. package/esm2015/lib/component/transaction/transaction.module.js +2 -3
  13. package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +1 -1
  14. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +2 -3
  15. package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +3 -2
  16. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +2 -2
  17. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.js +2 -2
  18. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +2 -1
  19. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +2 -1
  20. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +2 -1
  21. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +2 -1
  22. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +8 -1
  23. package/esm2015/lib/component/transaction-search/service/filter-request.service.js +1 -1
  24. 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
  25. 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
  26. 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
  27. 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
  28. 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
  29. 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
  30. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -2
  31. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +1 -3
  32. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  33. package/esm2015/lib/service/transaction-connector-adapter.service.js +22 -9
  34. package/esm2015/lib/service/transaction-connector.service.js +6 -1
  35. package/esm2015/lib/service/transaction-image.service.js +9 -10
  36. package/esm2015/lib/service/transaction.service.js +26 -17
  37. package/esm2015/lib/transaction-version.js +10 -0
  38. package/esm2015/public_api.js +2 -2
  39. package/fesm2015/colijnit-transaction.js +89 -151
  40. package/fesm2015/colijnit-transaction.js.map +1 -1
  41. package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +1 -1
  42. package/lib/component/search/search-view-mode.service.d.ts +1 -1
  43. package/lib/component/transaction/style/material.scss +0 -1
  44. package/lib/component/transaction/transaction.component.d.ts +1 -1
  45. package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +2 -1
  46. package/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.d.ts +1 -1
  47. package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +4 -1
  48. package/lib/component/transaction-search/service/filter-request.service.d.ts +1 -1
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +1 -1
  56. package/lib/res/dictionary/dictionaries.d.ts +43 -0
  57. package/lib/service/transaction-connector-adapter.service.d.ts +6 -4
  58. package/lib/service/transaction-connector.service.d.ts +6 -4
  59. package/lib/service/transaction-image.service.d.ts +1 -1
  60. package/lib/service/transaction.service.d.ts +2 -0
  61. package/lib/transaction-version.d.ts +6 -0
  62. package/package.json +5 -5
  63. package/public_api.d.ts +1 -1
  64. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +0 -61
  65. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +0 -23
  66. package/esm2015/lib/enum/content-view-mode.enum.js +0 -11
  67. package/esm2015/lib/model/filter-item.viewmodel.js +0 -9
  68. package/esm2015/lib/model/filter-viewmodel.js +0 -11
  69. package/lib/component/view-mode-buttons/style/_layout.scss +0 -20
  70. package/lib/component/view-mode-buttons/style/_material-definition.scss +0 -5
  71. package/lib/component/view-mode-buttons/style/_theme.scss +0 -22
  72. package/lib/component/view-mode-buttons/style/material.scss +0 -3
  73. package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
  74. package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
  75. package/lib/enum/content-view-mode.enum.d.ts +0 -8
  76. package/lib/model/filter-item.viewmodel.d.ts +0 -7
  77. package/lib/model/filter-viewmodel.d.ts +0 -8
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter } from "@angular/core";
2
- import { ContentViewMode } from "../../../enum/content-view-mode.enum";
2
+ import { ContentViewMode } from "@colijnit/corecomponents_v12";
3
3
  import { Icon } from "../../../enum/icon.enum";
4
4
  import { SearchViewMode } from "../../../enum/search-view-mode.enum";
5
5
  import { DictionaryService } from "../../../service/dictionary.service";
@@ -1,4 +1,4 @@
1
- import { ContentViewMode } from "../../enum/content-view-mode.enum";
1
+ import { ContentViewMode } from "@colijnit/corecomponents_v12";
2
2
  import { SearchViewMode } from "../../enum/search-view-mode.enum";
3
3
  import { SearchbarViewMode } from "../../enum/searchbar-view-mode.enum";
4
4
  export declare class SearchViewModeService {
@@ -8,7 +8,6 @@
8
8
  @import "../../transaction-quick-access/transaction-quick-access/style/material";
9
9
  @import "../../transaction-button-bar/style/material";
10
10
  @import "../../transaction-line-side-panel/style/material";
11
- @import "../../view-mode-buttons/style/material";
12
11
  @import "../../dialog/transaction-header/dialog-transaction-header-delivery-method/style/material";
13
12
  @import "../../transaction-line-checkbox-list/style/material";
14
13
  @import "../../transaction-card/transaction-card/style/material";
@@ -1,7 +1,7 @@
1
1
  import { ApplicationRef, OnDestroy, QueryList } from "@angular/core";
2
2
  import { TransactionInfoResponse } from "@colijnit/transactionapi/build/model/transaction-info-response.bo";
3
3
  import { TransactionService } from "../../service/transaction.service";
4
- import { ContentViewMode } from "../../enum/content-view-mode.enum";
4
+ import { ContentViewMode } from "@colijnit/corecomponents_v12";
5
5
  import { Icon } from "../../enum/icon.enum";
6
6
  import { IconCacheService } from "../../service/icon-cache.service";
7
7
  import { TransactionAddTextLineRequest } from "@colijnit/transactionapi/build/model/transaction-add-text-line-request.bo";
@@ -1,6 +1,7 @@
1
+ import { OnDestroy } from "@angular/core";
1
2
  import { TransactionService } from "../../service/transaction.service";
2
3
  import { TransactionEventService } from "../../service/transaction-event.service";
3
- export declare class TransactionCreateDateLabelComponent {
4
+ export declare class TransactionCreateDateLabelComponent implements OnDestroy {
4
5
  private _transactionService;
5
6
  private _transactionEventService;
6
7
  showClass(): boolean;
@@ -9,6 +9,6 @@ export declare class TransactionHeaderAdministrativeRelationComponent extends Tr
9
9
  fields: Object;
10
10
  constructor(transactionService: TransactionService, _relationService: RelationService);
11
11
  ngOnInit(): void;
12
- commitTransactionAdministrative(relations: number[]): Promise<boolean>;
12
+ commitTransactionAdministrative(relation: number): Promise<boolean>;
13
13
  protected transactionInfoSet(): void;
14
14
  }
@@ -8,17 +8,19 @@ import { ReportingDocumentPdfBaseRequest } from "@colijnit/mainapi/build/model/r
8
8
  import { TransactionBaseComponent } from "../core/base/transaction-base.component";
9
9
  import { Icon } from "../../enum/icon.enum";
10
10
  import { TransactionService } from "../../service/transaction.service";
11
+ import { Printer } from "@colijnit/mainapi/build/model/printer.bo";
11
12
  export declare abstract class TransactionQuickAccessSendMethodBaseComponent extends TransactionBaseComponent implements OnInit {
12
13
  protected readonly service: TransactionService;
13
14
  readonly icons: typeof Icon;
14
15
  readonly sendMethodType: typeof SendMethodType;
16
+ printerList: Printer[];
15
17
  emailLayouts: ReportLayoutSelectionEmail[];
16
18
  printLayouts: ReportLayoutSelectionPrint[];
17
19
  defaultSendMethod: string;
18
20
  defaultSendMethodIcon: string;
19
21
  emailAddresses: string[];
20
22
  showSendMethodDialog: boolean;
21
- sendMethods: import("@colijnit/sharedcomponents").ɵv[];
23
+ sendMethods: import("@colijnit/sharedcomponents").ɵbj[];
22
24
  showLoader: boolean;
23
25
  protected abstract reportDocumentEmailRequest: ReportingDocumentEmailBaseRequest;
24
26
  protected abstract reportDocumentPrintRequest: ReportingDocumentPrintBaseRequest;
@@ -36,6 +38,7 @@ export declare abstract class TransactionQuickAccessSendMethodBaseComponent exte
36
38
  protected abstract getPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
37
39
  protected abstract getDefaultEmailAddressList(): Promise<string[]>;
38
40
  protected abstract getDefaultSendMethod(): Promise<number>;
41
+ private _getPrinters;
39
42
  private _getDefaultSendMethod;
40
43
  private _setDefaultMethod;
41
44
  private _getEmailLayouts;
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../service/transaction.service";
3
3
  import { TransactionSearchService } from "./transaction-search.service";
4
4
  export declare class FilterRequestService {
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,4 +1,4 @@
1
- import { FilterItemViewmodel } from "../../../../../model/filter-item.viewmodel";
1
+ import { FilterItemViewmodel } from "@colijnit/corecomponents_v12";
2
2
  import { TransactionService } from "../../../../../service/transaction.service";
3
3
  import { TransactionFilterContentBaseComponent } from "../../../../core/base/transaction-filter-content-base.component";
4
4
  import { FilterRequestService } from "../../../service/filter-request.service";
@@ -1,6 +1,6 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
2
  import { TransactionSearchView } from "@colijnit/transactionapi/build/model/transaction-search-view.bo";
3
- import { ContentViewMode } from "../../../enum/content-view-mode.enum";
3
+ import { ContentViewMode } from "@colijnit/corecomponents_v12";
4
4
  import { Icon } from "../../../enum/icon.enum";
5
5
  import { TransactionSearchService } from "../service/transaction-search.service";
6
6
  export declare class TransactionSearchResultComponent implements OnInit {
@@ -6584,6 +6584,7 @@ export declare class Dictionaries {
6584
6584
  REPORTS_CUSTOM: string;
6585
6585
  REPORTS_STANDARD: string;
6586
6586
  REPORT_ABSENT: string;
6587
+ REPORT_FOR_EMAIL_MESSAGE: string;
6587
6588
  REPORT_IN: string;
6588
6589
  REPORT_INTERNAL_DELIVERY: string;
6589
6590
  REPORT_IN_MENU: string;
@@ -6841,6 +6842,16 @@ export declare class Dictionaries {
6841
6842
  SEARCH_PAYMENT_BATCH: string;
6842
6843
  SEARCHING: string;
6843
6844
  SEARCHRESULTS_FOR: string;
6845
+ SEARCH_LAST_NAME: string;
6846
+ SEARCH_POSTAL_CODE2: string;
6847
+ SEARCH_STREET_NAME: string;
6848
+ SEARCH_HOUSE_NR: string;
6849
+ SEARCH_CITY: string;
6850
+ SEARCH_DATE_OF_BIRTH: string;
6851
+ SELECT_CONTACT_OPTION: string;
6852
+ SEARCH_RELATION_NUMBER: string;
6853
+ SEARCH_GROUP: string;
6854
+ SEARCH_MEMBER_NR: string;
6844
6855
  SEARCH_ADD_ARTICLE: string;
6845
6856
  SEARCH_AND_ADD_ARTICLE: string;
6846
6857
  SEARCH_ANONYMISED: string;
@@ -6957,6 +6968,14 @@ export declare class Dictionaries {
6957
6968
  SELECTOR_TYPE_CUSTOMER_ID: string;
6958
6969
  SELECTOR_TYPE_SALES: string;
6959
6970
  SELECTOR_TYPE_SELLER_ID: string;
6971
+ SELECT_RELATIONTYPELIST: string;
6972
+ SELECT_RELATIONSTATUS: string;
6973
+ SELECT_ACCOUNT_MANAGER: string;
6974
+ SELECT_CONSULTANT: string;
6975
+ SELECT_EMPLOYER: string;
6976
+ SELECT_MAILING_CODE: string;
6977
+ SELECT_CASE_MANAGERS: string;
6978
+ SELECT_MEDICAL_OFFICERS: string;
6960
6979
  SELECT_A: string;
6961
6980
  SELECT_ACTION: string;
6962
6981
  SELECT_ADDRESS: string;
@@ -7492,6 +7511,7 @@ export declare class Dictionaries {
7492
7511
  TEMPLATES: string;
7493
7512
  TEMPLATES_SUB: string;
7494
7513
  TEMPLATE_COMPILED: string;
7514
+ TEMPLATE_FOR_TEXT_MESSAGE: string;
7495
7515
  TEMPLATE_SOURCE: string;
7496
7516
  TEMPORARY: string;
7497
7517
  TEMPORARY_CONTRACT_END_DATE_WARNING: string;
@@ -9648,6 +9668,7 @@ export declare class Dictionaries {
9648
9668
  ACCOUNT_NUMBER: string;
9649
9669
  ACCOUNT_PRIVATE_PERSONS: string;
9650
9670
  ACCOUNT_RELATIONS_TO: string;
9671
+ ACCOUNT_STATUS: string;
9651
9672
  ACHIEVABLE: string;
9652
9673
  ACTION: string;
9653
9674
  ACTIONS2: string;
@@ -9659,6 +9680,7 @@ export declare class Dictionaries {
9659
9680
  ACTION_PRICE: string;
9660
9681
  ACTION_TYPE: string;
9661
9682
  ACTIVATE: string;
9683
+ ACTIVATED: string;
9662
9684
  ACTIVATED_ACCOUNT: string;
9663
9685
  ACTIVATE_ACCOUNT: string;
9664
9686
  ACTIVATE_ACCOUNT_CHECK: string;
@@ -13816,6 +13838,7 @@ export declare class Dictionaries {
13816
13838
  NO_TRANSACTIONS: string;
13817
13839
  NO_TRANSPORT_SELECTED: string;
13818
13840
  NO_TREE_OPVS_ALLOWED_IN_REPEATING_OPT: string;
13841
+ NO_USER: string;
13819
13842
  NO_VADAIN_ARTICLES: string;
13820
13843
  NO_VALID_ABSENCE_DATA: string;
13821
13844
  NO_VALID_DEFAULT: string;
@@ -15033,6 +15056,7 @@ export declare class Dictionaries {
15033
15056
  REPORTS_CUSTOM: string;
15034
15057
  REPORTS_STANDARD: string;
15035
15058
  REPORT_ABSENT: string;
15059
+ REPORT_FOR_EMAIL_MESSAGE: string;
15036
15060
  REPORT_IN: string;
15037
15061
  REPORT_INTERNAL_DELIVERY: string;
15038
15062
  REPORT_IN_DATE: string;
@@ -15335,6 +15359,16 @@ export declare class Dictionaries {
15335
15359
  SCREENS_JS: string;
15336
15360
  SEARCH2: string;
15337
15361
  SEARCH: string;
15362
+ SEARCH_LAST_NAME: string;
15363
+ SEARCH_POSTAL_CODE2: string;
15364
+ SEARCH_STREET_NAME: string;
15365
+ SEARCH_HOUSE_NR: string;
15366
+ SEARCH_CITY: string;
15367
+ SEARCH_DATE_OF_BIRTH: string;
15368
+ SELECT_CONTACT_OPTION: string;
15369
+ SEARCH_RELATION_NUMBER: string;
15370
+ SEARCH_GROUP: string;
15371
+ SEARCH_MEMBER_NR: string;
15338
15372
  SEARCH_PAYMENT_BATCH: string;
15339
15373
  SEARCHING: string;
15340
15374
  SEARCHRESULTS_FOR: string;
@@ -15436,6 +15470,14 @@ export declare class Dictionaries {
15436
15470
  SEL: string;
15437
15471
  SELECT2: string;
15438
15472
  SELECT: string;
15473
+ SELECT_RELATIONTYPELIST: string;
15474
+ SELECT_RELATIONSTATUS: string;
15475
+ SELECT_ACCOUNT_MANAGER: string;
15476
+ SELECT_CONSULTANT: string;
15477
+ SELECT_EMPLOYER: string;
15478
+ SELECT_MAILING_CODE: string;
15479
+ SELECT_CASE_MANAGER: string;
15480
+ SELECT_MEDICAL_OFFICER: string;
15439
15481
  SELECTED: string;
15440
15482
  SELECTED_ADDRESSES: string;
15441
15483
  SELECTED_CASH_DRAWER: string;
@@ -16078,6 +16120,7 @@ export declare class Dictionaries {
16078
16120
  TEMPLATES: string;
16079
16121
  TEMPLATES_SUB: string;
16080
16122
  TEMPLATE_COMPILED: string;
16123
+ TEMPLATE_FOR_TEXT_MESSAGE: string;
16081
16124
  TEMPLATE_NAME: string;
16082
16125
  TEMPLATE_SOURCE: string;
16083
16126
  TEMPORARY: string;
@@ -77,6 +77,7 @@ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
77
77
  import { InternalParam } from "@colijnit/mainapi/build/enum/internal-param.enum";
78
78
  import { GoodsAllocationHistory } from "@colijnit/transactionapi/build/model/goods-allocation-history.bo";
79
79
  import { GoodsReceiptHistory } from "@colijnit/transactionapi/build/model/goods-receipt-history.bo";
80
+ import { Printer } from "@colijnit/mainapi/build/model/printer.bo";
80
81
  export declare class TransactionConnectorAdapterService {
81
82
  private _optionsService;
82
83
  private _selectMultipleCacheService;
@@ -180,8 +181,8 @@ export declare class TransactionConnectorAdapterService {
180
181
  getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
181
182
  getDepositPaymentInfo(uuid: string): Promise<TransactionDepositPaymentInfo>;
182
183
  getGoodsReceiptHistory(transId: number, lineNr: number): Promise<GoodsReceiptHistory>;
183
- receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<boolean>;
184
- receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<boolean>;
184
+ receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<TransactionInfoResponse>;
185
+ receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<TransactionInfoResponse>;
185
186
  getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
186
187
  updatePurchasePortalLines(purchasePortalLine: PurchasePortalLine): Promise<boolean>;
187
188
  purchaseOrderConfirmation(purchaseOrderConfirmation: GetPurchaseOrderConfirmation): Promise<boolean>;
@@ -189,8 +190,8 @@ export declare class TransactionConnectorAdapterService {
189
190
  getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]>;
190
191
  generateCommissionOrders(transId: number, onlyGenerateForDirectSellSuppliers: boolean): Promise<boolean>;
191
192
  getAvailableStockGroupedByWLBSByTransIdLineNr(transId: number, lineNr: number): Promise<AvailableStock[]>;
192
- allocateGoodsForSalesOrder(request: AllocateGoodsForSalesOrderRequest): Promise<boolean>;
193
- allocateGoodsForSalesOrderCorrection(request: AllocateGoodsForSalesOrderCorrectionRequest): Promise<boolean>;
193
+ allocateGoodsForSalesOrder(request: AllocateGoodsForSalesOrderRequest): Promise<TransactionInfoResponse>;
194
+ allocateGoodsForSalesOrderCorrection(request: AllocateGoodsForSalesOrderCorrectionRequest): Promise<TransactionInfoResponse>;
194
195
  getGoodsAllocationHistory(transId: number, lineNr: number): Promise<GoodsAllocationHistory>;
195
196
  getOrderConfirmationEmailLayouts(transactionUUID: string): Promise<ReportLayoutSelectionEmail[]>;
196
197
  getOrderConfirmationPrintLayouts(transactionUUID: string): Promise<ReportLayoutSelectionPrint[]>;
@@ -220,6 +221,7 @@ export declare class TransactionConnectorAdapterService {
220
221
  printInvoice(printInvoiceRequest: PrintInvoiceRequest): Promise<boolean>;
221
222
  getInvoiceEmailLayouts(transactionUUID: string): Promise<ReportLayoutSelectionEmail[]>;
222
223
  getInvoicePrintLayouts(transactionUUID: string): Promise<ReportLayoutSelectionPrint[]>;
224
+ getPrinters(): Promise<Printer[]>;
223
225
  getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
224
226
  getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
225
227
  getRefTransactions(transId: number): Promise<RefTransaction[]>;
@@ -72,6 +72,7 @@ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
72
72
  import { InternalParam } from "@colijnit/mainapi/build/enum/internal-param.enum";
73
73
  import { GoodsReceiptHistory } from "@colijnit/transactionapi/build/model/goods-receipt-history.bo";
74
74
  import { GoodsAllocationHistory } from "@colijnit/transactionapi/build/model/goods-allocation-history.bo";
75
+ import { Printer } from "@colijnit/mainapi/build/model/printer.bo";
75
76
  export declare class TransactionConnectorService {
76
77
  private _adapterService;
77
78
  private _selectSingleCacheService;
@@ -168,8 +169,8 @@ export declare class TransactionConnectorService {
168
169
  createIonePaymentLinkAndQRCode(uuid: string, amount: number, paymentMethodCode: string): Promise<CreatePaymentLinkResult>;
169
170
  getPaymentLinkStatus(paymentLinkUUID: string): Promise<PaymentLinkStatus>;
170
171
  getGoodsReceiptHistory(transId: number, lineNr: number): Promise<GoodsReceiptHistory>;
171
- receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<boolean>;
172
- receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<boolean>;
172
+ receiveGoodsForPurchaseOrder(request: ReceiveGoodsForPurchaseOrderRequest): Promise<TransactionInfoResponse>;
173
+ receiveGoodsForPurchaseOrderCorrection(request: ReceiveGoodsForPurchaseOrderCorrectionRequest): Promise<TransactionInfoResponse>;
173
174
  getPurchasePortalLines(request: GetPurchasePortalLine): Promise<PurchasePortalLine[]>;
174
175
  updatePurchasePortalLines(purchasePortalLine: PurchasePortalLine): Promise<boolean>;
175
176
  purchaseOrderConfirmation(purchaseOrderConfirmation: GetPurchaseOrderConfirmation): Promise<boolean>;
@@ -177,8 +178,8 @@ export declare class TransactionConnectorService {
177
178
  generateCommissionOrders(transId: number, onlyGenerateForDirectSellSuppliers: boolean): Promise<boolean>;
178
179
  getStockStickerTemplates(data: StockStickersPrintLayouts): Promise<StockStickersPrintLayouts[]>;
179
180
  getAvailableStockGroupedByWLBSByTransIdLineNr(transId: number, lineNr: number): Promise<AvailableStock[]>;
180
- allocateGoodsForSalesOrder(request: AllocateGoodsForSalesOrderRequest): Promise<boolean>;
181
- allocateGoodsForSalesOrderCorrection(request: AllocateGoodsForSalesOrderCorrectionRequest): Promise<boolean>;
181
+ allocateGoodsForSalesOrder(request: AllocateGoodsForSalesOrderRequest): Promise<TransactionInfoResponse>;
182
+ allocateGoodsForSalesOrderCorrection(request: AllocateGoodsForSalesOrderCorrectionRequest): Promise<TransactionInfoResponse>;
182
183
  getGoodsAllocationHistory(transId: number, lineNr: number): Promise<GoodsAllocationHistory>;
183
184
  getOrderConfirmationEmailLayouts(transactionUUID: string): Promise<ReportLayoutSelectionEmail[]>;
184
185
  getOrderConfirmationPrintLayouts(transactionUUID: string): Promise<ReportLayoutSelectionPrint[]>;
@@ -208,6 +209,7 @@ export declare class TransactionConnectorService {
208
209
  printInvoice(printInvoiceRequest: PrintInvoiceRequest): Promise<boolean>;
209
210
  getInvoiceEmailLayouts(transactionUUID: string): Promise<ReportLayoutSelectionEmail[]>;
210
211
  getInvoicePrintLayouts(transactionUUID: string): Promise<ReportLayoutSelectionPrint[]>;
212
+ getPrinters(): Promise<Printer[]>;
211
213
  getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
212
214
  getTransactionInfo(transId: number, lineNr: number): Promise<TransactionInfoHistory[]>;
213
215
  getRefTransactions(transId: number): Promise<RefTransaction[]>;
@@ -5,6 +5,6 @@ export declare class TransactionImageService {
5
5
  private _articleImageCache;
6
6
  constructor(_connector: TransactionConnectorService);
7
7
  retrieveLineImage(line: TransactionLineInfo): Promise<string>;
8
- getArticleImageByArticleNumber(articleNumber: string): Promise<string>;
8
+ getArticleImage(goodId: number): Promise<string>;
9
9
  getArticleImageByGoodId(goodId: number): Promise<string>;
10
10
  }
@@ -58,6 +58,7 @@ import { TagTreeItem } from "@colijnit/mainapi/build/model/tag-tree-item.bo";
58
58
  import { InternalParam } from "@colijnit/mainapi/build/enum/internal-param.enum";
59
59
  import { GoodsReceiptHistory } from "@colijnit/transactionapi/build/model/goods-receipt-history.bo";
60
60
  import { GoodsAllocationHistory } from "@colijnit/transactionapi/build/model/goods-allocation-history.bo";
61
+ import { Printer } from "@colijnit/mainapi/build/model/printer.bo";
61
62
  export declare class TransactionService extends PendingReasonService {
62
63
  private readonly _createTransactionMethods;
63
64
  private readonly _relationKindFromTransactionKind;
@@ -178,6 +179,7 @@ export declare class TransactionService extends PendingReasonService {
178
179
  getInvoiceEmailLayouts(transactionUUID: string): Promise<ReportLayoutSelectionEmail[]>;
179
180
  getInvoicePrintLayouts(transactionUUID: string): Promise<ReportLayoutSelectionPrint[]>;
180
181
  getPackageStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
182
+ getPrinters(): Promise<Printer[]>;
181
183
  getJoinedTags(table: string, key: string): Promise<TagTreeItem[]>;
182
184
  getInternalParameter(param: InternalParam): Promise<boolean>;
183
185
  handleReceiveSelectedPurchaseOrders(date: Date, packingSlipNr: string): Promise<boolean>;
@@ -0,0 +1,6 @@
1
+ export declare class Version {
2
+ name: string;
3
+ description: string;
4
+ symVer: string;
5
+ publishDate: string;
6
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/transaction",
3
- "version": "12.1.94",
3
+ "version": "12.1.95",
4
4
  "description": "Colijn IT transaction module for Angular 12",
5
5
  "repository": "npm/npm",
6
6
  "author": "Colijn IT",
@@ -10,15 +10,15 @@
10
10
  "@angular/common": ">=12.2.0",
11
11
  "@angular/core": ">=12.2.0",
12
12
  "@colijnit/articleapi": ">=1.0.16",
13
- "@colijnit/catalog": ">=12.1.19",
13
+ "@colijnit/catalog": ">=12.1.24",
14
14
  "@colijnit/corecomponents": ">=1.12.0",
15
- "@colijnit/corecomponents_v12": ">=12.0.89",
15
+ "@colijnit/corecomponents_v12": ">=12.0.95",
16
16
  "@colijnit/ioneconnector": ">=2.1.10",
17
17
  "@colijnit/mainapi": ">=1.0.6",
18
18
  "@colijnit/relationapi": ">=1.0.5",
19
19
  "@colijnit/sharedapi": ">=1.0.10",
20
- "@colijnit/sharedcomponents": ">=1.0.32",
21
- "@colijnit/transactionapi": ">=1.1.73",
20
+ "@colijnit/sharedcomponents": ">=1.0.40",
21
+ "@colijnit/transactionapi": ">=1.1.74",
22
22
  "@syncfusion/ej2-angular-buttons": ">=19.3.44",
23
23
  "@syncfusion/ej2-angular-calendars": ">=19.3.44",
24
24
  "@syncfusion/ej2-angular-dropdowns": ">=19.3.45",
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsWUFBWSxFQUFFLFdBQVcsRUFBRSxLQUFLLEVBQVUsTUFBTSxFQUFFLGlCQUFpQixFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQy9HLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxtQ0FBbUMsQ0FBQztBQUNwRSxPQUFPLEVBQUUsSUFBSSxFQUFFLE1BQU0sc0JBQXNCLENBQUM7QUFDNUMsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sa0NBQWtDLENBQUM7QUEwQnBFLE1BQU0sT0FBTyx3QkFBd0I7SUE4Qm5DLFlBQW1CLGdCQUFrQztRQUFsQyxxQkFBZ0IsR0FBaEIsZ0JBQWdCLENBQWtCO1FBN0JyQyxVQUFLLEdBQWdCLElBQUksQ0FBQztRQUMxQixjQUFTLEdBQTJCLGVBQWUsQ0FBQztRQUc3RCxrQkFBYSxHQUFzQixDQUFDLElBQUksQ0FBQyxTQUFTLENBQUMsSUFBSSxFQUFFLElBQUksQ0FBQyxTQUFT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dGhpcy5hY3RpdmVWaWV3TW9kZSA9IHRoaXMuc2hvd1ZpZXdNb2Rlcy5pbmNsdWRlcyhDb250ZW50Vmlld01vZGUuTGlzdCkgPyBDb250ZW50Vmlld01vZGUuTGlzdCA6IHRoaXMuc2hvd1ZpZXdNb2Rlc1swXTtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBpY29uQ2FjaGVTZXJ2aWNlOiBJY29uQ2FjaGVTZXJ2aWNlKSB7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
@@ -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
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyx3Q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uc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFZpZXdNb2RlQnV0dG9uc01vZHVsZSB7XHJcbn1cclxuIl19
@@ -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,3 +0,0 @@
1
- @import "./material-definition";
2
- @import "./layout";
3
- @import "./theme";