@colijnit/transaction 12.1.94 → 12.1.96

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 (144) hide show
  1. package/bundles/colijnit-transaction.umd.js +896 -589
  2. package/bundles/colijnit-transaction.umd.js.map +1 -1
  3. package/colijnit-transaction.d.ts +184 -181
  4. package/colijnit-transaction.metadata.json +1 -1
  5. package/esm2015/colijnit-transaction.js +185 -182
  6. package/esm2015/lib/component/add-product/add-product.component.js +102 -0
  7. package/esm2015/lib/component/add-product/add-product.module.js +27 -0
  8. package/esm2015/lib/component/checkout/checkout-overview-relation-edit/checkout-overview-relation-edit.component.js +2 -1
  9. package/esm2015/lib/component/checkout/checkout.module.js +2 -4
  10. package/esm2015/lib/component/quick-send-button/quick-send-button.component.js +14 -5
  11. package/esm2015/lib/component/relation/relation-addresses/relation-addresses.component.js +6 -1
  12. package/esm2015/lib/component/relation/relation-general/relation-general.component.js +6 -2
  13. package/esm2015/lib/component/search/search-filter-panel/search-filter-panel.module.js +1 -3
  14. package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.component.js +2 -2
  15. package/esm2015/lib/component/search/search-header-buttons/search-header-buttons.module.js +2 -2
  16. package/esm2015/lib/component/search/search-view-mode.service.js +2 -2
  17. package/esm2015/lib/component/transaction/transaction.component.js +2 -2
  18. package/esm2015/lib/component/transaction/transaction.module.js +2 -3
  19. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-invoice-button-bar-button.component.js +39 -0
  20. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-sales-invoice-button-bar-button.component.js +3 -3
  21. package/esm2015/lib/component/transaction-button-bar/transaction-button-bar.module.js +6 -3
  22. package/esm2015/lib/component/transaction-create-date-label/transaction-create-date-label.component.js +1 -1
  23. package/esm2015/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.js +6 -2
  24. package/esm2015/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.js +2 -3
  25. package/esm2015/lib/component/transaction-header-fields/transaction-header-delivery-method.component.js +2 -2
  26. package/esm2015/lib/component/transaction-line/transaction-goods-allocation-line/transaction-goods-allocation-line.component.js +3 -2
  27. package/esm2015/lib/component/transaction-line/transaction-purchase-line/transaction-purchase-line.component.js +2 -1
  28. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.component.js +9 -6
  29. package/esm2015/lib/component/transaction-line/transaction-receive-goods-line/transaction-receive-goods-line.module.js +6 -3
  30. package/esm2015/lib/component/transaction-line-sales-allocation/transaction-line-sales-allocation.component.js +2 -2
  31. package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.js +87 -0
  32. package/esm2015/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.module.js +24 -0
  33. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.js +12 -10
  34. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.module.js +4 -2
  35. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.js +13 -10
  36. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.js +10 -8
  37. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.js +9 -4
  38. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.js +11 -1
  39. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.js +13 -51
  40. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.module.js +4 -2
  41. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-purchase-order-overview/transaction-quick-access-purchase-order-overview.component.js +2 -1
  42. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.js +54 -11
  43. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.module.js +6 -2
  44. package/esm2015/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.js +8 -1
  45. package/esm2015/lib/component/transaction-search/service/filter-request.service.js +1 -1
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.js +2 -2
  53. package/esm2015/lib/component/transaction-search/transaction-search-result/transaction-search-result.module.js +1 -3
  54. package/esm2015/lib/enum/icon.enum.js +2 -1
  55. package/esm2015/lib/model/icon-svg.js +2 -1
  56. package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
  57. package/esm2015/lib/service/payment.service.js +2 -4
  58. package/esm2015/lib/service/pending-reason.service.js +3 -3
  59. package/esm2015/lib/service/transaction-base.service.js +8 -2
  60. package/esm2015/lib/service/transaction-connector-adapter.service.js +22 -9
  61. package/esm2015/lib/service/transaction-connector.service.js +6 -1
  62. package/esm2015/lib/service/transaction-event.service.js +3 -3
  63. package/esm2015/lib/service/transaction-image.service.js +9 -10
  64. package/esm2015/lib/service/transaction-mapping.service.js +5 -3
  65. package/esm2015/lib/service/transaction-screen-configuration.service.js +35 -0
  66. package/esm2015/lib/service/transaction.service.js +57 -20
  67. package/esm2015/lib/transaction-version.js +10 -0
  68. package/esm2015/public_api.js +3 -2
  69. package/fesm2015/colijnit-transaction.js +721 -407
  70. package/fesm2015/colijnit-transaction.js.map +1 -1
  71. package/lib/component/add-product/add-product.component.d.ts +26 -0
  72. package/lib/component/add-product/add-product.module.d.ts +2 -0
  73. package/lib/component/add-product/style/_layout.scss +14 -0
  74. package/lib/component/add-product/style/_material-definition.scss +1 -0
  75. package/lib/component/add-product/style/_theme.scss +4 -0
  76. package/lib/component/add-product/style/material.scss +4 -0
  77. package/lib/component/quick-send-button/quick-send-button.component.d.ts +2 -0
  78. package/lib/component/quick-send-button/style/_layout.scss +9 -2
  79. package/lib/component/quick-send-button/style/_material-definition.scss +3 -2
  80. package/lib/component/relation/relation-addresses/relation-addresses.component.d.ts +3 -2
  81. package/lib/component/search/search-header-buttons/search-header-buttons.component.d.ts +1 -1
  82. package/lib/component/search/search-view-mode.service.d.ts +1 -1
  83. package/lib/component/transaction/style/material.scss +0 -1
  84. package/lib/component/transaction/transaction.component.d.ts +1 -1
  85. package/lib/component/transaction-button-bar/style/_layout.scss +1 -0
  86. package/lib/component/transaction-button-bar/transaction-button-bar-button/transaction-purchase-invoice-button-bar-button.component.d.ts +12 -0
  87. package/lib/component/transaction-create-date-label/transaction-create-date-label.component.d.ts +2 -1
  88. package/lib/component/transaction-header/transaction-header-relation/transaction-header-relation.component.d.ts +1 -0
  89. package/lib/component/transaction-header-fields/transaction-header-administrative-relation.component.d.ts +1 -1
  90. package/lib/component/transaction-line/transaction-receive-goods-line/style/_layout.scss +0 -15
  91. package/lib/component/transaction-print-package-sticker/style/_layout.scss +29 -0
  92. package/lib/component/transaction-print-package-sticker/style/_material-definition.scss +0 -0
  93. package/lib/component/transaction-print-package-sticker/style/_theme.scss +4 -0
  94. package/lib/component/transaction-print-package-sticker/style/material.scss +4 -0
  95. package/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.component.d.ts +27 -0
  96. package/lib/component/transaction-print-package-sticker/transaction-print-package-sticker.module.d.ts +2 -0
  97. package/lib/component/transaction-quick-access/transaction-quick-access-goods-allocation/transaction-quick-access-goods-allocation.component.d.ts +1 -2
  98. package/lib/component/transaction-quick-access/transaction-quick-access-invoice/transaction-quick-access-invoice.component.d.ts +3 -3
  99. package/lib/component/transaction-quick-access/transaction-quick-access-order-confirmation/transaction-quick-access-order-confirmation.component.d.ts +1 -2
  100. package/lib/component/transaction-quick-access/transaction-quick-access-order-delivery/transaction-quick-access-order-delivery.component.d.ts +2 -0
  101. package/lib/component/transaction-quick-access/transaction-quick-access-order-purchase/transaction-quick-access-order-purchase.component.d.ts +5 -1
  102. package/lib/component/transaction-quick-access/transaction-quick-access-overview/style/material.scss +1 -0
  103. package/lib/component/transaction-quick-access/transaction-quick-access-overview/transaction-quick-access-overview.component.d.ts +2 -11
  104. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/style/_layout.scss +7 -2
  105. package/lib/component/transaction-quick-access/transaction-quick-access-received-goods/transaction-quick-access-received-goods.component.d.ts +18 -2
  106. package/lib/component/transaction-quick-access/transaction-quick-access-send-method-base.component.d.ts +4 -1
  107. package/lib/component/transaction-search/service/filter-request.service.d.ts +1 -1
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. package/lib/component/transaction-search/transaction-search-result/transaction-search-result.component.d.ts +1 -1
  115. package/lib/component/transaction-totals/style/_layout.scss +1 -0
  116. package/lib/component/transaction-totals/style/_material-definition.scss +1 -0
  117. package/lib/enum/icon.enum.d.ts +1 -0
  118. package/lib/res/dictionary/dictionaries.d.ts +44 -0
  119. package/lib/service/pending-reason.service.d.ts +1 -1
  120. package/lib/service/transaction-connector-adapter.service.d.ts +6 -4
  121. package/lib/service/transaction-connector.service.d.ts +6 -4
  122. package/lib/service/transaction-event.service.d.ts +2 -2
  123. package/lib/service/transaction-image.service.d.ts +1 -1
  124. package/lib/service/transaction-screen-configuration.service.d.ts +6 -0
  125. package/lib/service/transaction.service.d.ts +2 -0
  126. package/lib/style/_variables.scss +2 -0
  127. package/lib/style/transaction-globals.scss +0 -2
  128. package/lib/transaction-version.d.ts +6 -0
  129. package/package.json +5 -5
  130. package/public_api.d.ts +2 -1
  131. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.component.js +0 -61
  132. package/esm2015/lib/component/view-mode-buttons/view-mode-buttons.module.js +0 -23
  133. package/esm2015/lib/enum/content-view-mode.enum.js +0 -11
  134. package/esm2015/lib/model/filter-item.viewmodel.js +0 -9
  135. package/esm2015/lib/model/filter-viewmodel.js +0 -11
  136. package/lib/component/view-mode-buttons/style/_layout.scss +0 -20
  137. package/lib/component/view-mode-buttons/style/_material-definition.scss +0 -5
  138. package/lib/component/view-mode-buttons/style/_theme.scss +0 -22
  139. package/lib/component/view-mode-buttons/style/material.scss +0 -3
  140. package/lib/component/view-mode-buttons/view-mode-buttons.component.d.ts +0 -17
  141. package/lib/component/view-mode-buttons/view-mode-buttons.module.d.ts +0 -2
  142. package/lib/enum/content-view-mode.enum.d.ts +0 -8
  143. package/lib/model/filter-item.viewmodel.d.ts +0 -7
  144. package/lib/model/filter-viewmodel.d.ts +0 -8
@@ -7,6 +7,7 @@
7
7
  display: grid;
8
8
  grid-template-areas: 'label value';
9
9
  row-gap: $tp-transaction-totals-row-gap;
10
+ padding: $tp-transaction-totals-padding;
10
11
  .label {
11
12
  grid-area: label;
12
13
  grid-row: auto;
@@ -7,6 +7,7 @@ $tp-transaction-totals-value-font-size: $tp-font-size !default;
7
7
  $tp-transaction-totals-value-font-color: $tp-color-dark !default;
8
8
  $tp-transaction-totals-value-font-weight: bold !default;
9
9
  $tp-transaction-totals-row-gap: 5px !default;
10
+ $tp-transaction-totals-padding: 0 10px 0 0 !default;
10
11
 
11
12
  $tp-transaction-totals-add-discount-font-family: $tp-font-family !default;
12
13
  $tp-transaction-totals-add-discount-font-size: $tp-font-size !default;
@@ -15,6 +15,7 @@ export declare enum Icon {
15
15
  CartFlatbedBoxesSolid = "cart_flatbed_boxes_solid",
16
16
  CartShoppingSolid = "cart_shopping_solid",
17
17
  CashRegister = "cash_register",
18
+ CheckDuotone = "check_duotone",
18
19
  CreditCardSolid = "credit_card_solid",
19
20
  DeliveryTruck = "delivery_truck",
20
21
  DetailView = "detail_view",
@@ -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;
@@ -10881,6 +10903,7 @@ export declare class Dictionaries {
10881
10903
  COLLATE_ORDERFORMS: string;
10882
10904
  COLLECT: string;
10883
10905
  COLLECTION_CODE: string;
10906
+ COLLECTION_CODE_CATEGORIES: string;
10884
10907
  COLLECTION_LIST: string;
10885
10908
  COLLECTIVE_CODE: string;
10886
10909
  COLLECTIVE_DELIVERY: string;
@@ -13816,6 +13839,7 @@ export declare class Dictionaries {
13816
13839
  NO_TRANSACTIONS: string;
13817
13840
  NO_TRANSPORT_SELECTED: string;
13818
13841
  NO_TREE_OPVS_ALLOWED_IN_REPEATING_OPT: string;
13842
+ NO_USER: string;
13819
13843
  NO_VADAIN_ARTICLES: string;
13820
13844
  NO_VALID_ABSENCE_DATA: string;
13821
13845
  NO_VALID_DEFAULT: string;
@@ -15033,6 +15057,7 @@ export declare class Dictionaries {
15033
15057
  REPORTS_CUSTOM: string;
15034
15058
  REPORTS_STANDARD: string;
15035
15059
  REPORT_ABSENT: string;
15060
+ REPORT_FOR_EMAIL_MESSAGE: string;
15036
15061
  REPORT_IN: string;
15037
15062
  REPORT_INTERNAL_DELIVERY: string;
15038
15063
  REPORT_IN_DATE: string;
@@ -15335,6 +15360,16 @@ export declare class Dictionaries {
15335
15360
  SCREENS_JS: string;
15336
15361
  SEARCH2: string;
15337
15362
  SEARCH: string;
15363
+ SEARCH_LAST_NAME: string;
15364
+ SEARCH_POSTAL_CODE2: string;
15365
+ SEARCH_STREET_NAME: string;
15366
+ SEARCH_HOUSE_NR: string;
15367
+ SEARCH_CITY: string;
15368
+ SEARCH_DATE_OF_BIRTH: string;
15369
+ SELECT_CONTACT_OPTION: string;
15370
+ SEARCH_RELATION_NUMBER: string;
15371
+ SEARCH_GROUP: string;
15372
+ SEARCH_MEMBER_NR: string;
15338
15373
  SEARCH_PAYMENT_BATCH: string;
15339
15374
  SEARCHING: string;
15340
15375
  SEARCHRESULTS_FOR: string;
@@ -15436,6 +15471,14 @@ export declare class Dictionaries {
15436
15471
  SEL: string;
15437
15472
  SELECT2: string;
15438
15473
  SELECT: string;
15474
+ SELECT_RELATIONTYPELIST: string;
15475
+ SELECT_RELATIONSTATUS: string;
15476
+ SELECT_ACCOUNT_MANAGER: string;
15477
+ SELECT_CONSULTANT: string;
15478
+ SELECT_EMPLOYER: string;
15479
+ SELECT_MAILING_CODE: string;
15480
+ SELECT_CASE_MANAGER: string;
15481
+ SELECT_MEDICAL_OFFICER: string;
15439
15482
  SELECTED: string;
15440
15483
  SELECTED_ADDRESSES: string;
15441
15484
  SELECTED_CASH_DRAWER: string;
@@ -16078,6 +16121,7 @@ export declare class Dictionaries {
16078
16121
  TEMPLATES: string;
16079
16122
  TEMPLATES_SUB: string;
16080
16123
  TEMPLATE_COMPILED: string;
16124
+ TEMPLATE_FOR_TEXT_MESSAGE: string;
16081
16125
  TEMPLATE_NAME: string;
16082
16126
  TEMPLATE_SOURCE: string;
16083
16127
  TEMPORARY: string;
@@ -4,7 +4,7 @@ import { ResolveHeaderPendingReasonRequest } from "@colijnit/transactionapi/buil
4
4
  import { TransactionBaseService } from "./transaction-base.service";
5
5
  export declare class PendingReasonService extends TransactionBaseService {
6
6
  cancelAddTransactionLine(lineUuid: string, remember?: boolean): Promise<TransactionInfoResponse>;
7
- handleHeaderOperationStatuses(response: TransactionInfoResponse, saveTransaction?: boolean): Promise<boolean>;
7
+ handleHeaderOperationStatuses(response: TransactionInfoResponse, saveTransaction?: boolean, overrideSave?: boolean): Promise<boolean>;
8
8
  protected handleLineOperationStatuses(response: TransactionInfoResponse): Promise<boolean>;
9
9
  private _handleLineOperationStatus;
10
10
  private _handleHeaderOperationStatus;
@@ -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[]>;
@@ -67,7 +67,7 @@ export declare class TransactionEventService {
67
67
  readonly selectAllPurchaseOrderLinesForReceiveGoods: Subject<boolean>;
68
68
  readonly updatingSalesOrderGeneratePurchaseOrders: Subject<boolean>;
69
69
  readonly updatingSalesOrderDelivery: Subject<boolean>;
70
- readonly updatingSalesOrderInvoice: Subject<boolean>;
70
+ readonly updatingInvoice: Subject<boolean>;
71
71
  readonly updatingPurchaseOrderReceiveGoods: Subject<boolean>;
72
72
  readonly updatingPurchaseOrderAllocateGoods: Subject<boolean>;
73
73
  readonly updatingPurchaseOrderConfirmation: Subject<boolean>;
@@ -75,7 +75,7 @@ export declare class TransactionEventService {
75
75
  readonly connectionInitialized: BehaviorSubject<boolean>;
76
76
  readonly salesOrderGeneratePurchaseOrdersCompletedChanged: BehaviorSubject<boolean>;
77
77
  readonly salesOrderDeliveryCompletedChanged: BehaviorSubject<boolean>;
78
- readonly salesOrderInvoiceCompletedChanged: BehaviorSubject<boolean>;
78
+ readonly invoiceCompletedChanged: BehaviorSubject<boolean>;
79
79
  readonly purchaseOrderAllocateGoodsCompletedChanged: BehaviorSubject<boolean>;
80
80
  readonly purchaseOrderReceiveGoodsCompletedChanged: BehaviorSubject<boolean>;
81
81
  readonly purchaseOrderConfirmationCompletedChanged: BehaviorSubject<boolean>;
@@ -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
  }
@@ -0,0 +1,6 @@
1
+ export declare class TransactionScreenConfigurationService {
2
+ private _screenConfigurationObjectCache;
3
+ setScreenConfigurationObjectCache(objects: any[]): void;
4
+ getObjectConfigurationFor(configName: string): any;
5
+ setObjectConfigurationFor(configName: string, configObject: any): void;
6
+ }
@@ -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>;
@@ -115,6 +115,8 @@ $cc-collapsible-content-padding: 10px 0px 0px 0px !default;
115
115
 
116
116
  $cc-co-input-search-border-radius: $tp-default-border-radius !default;
117
117
 
118
+ $cc-co-input-text-icon-margin-number: 5px !default;
119
+
118
120
  //$cc-co-commit-buttons-button-background: none !default;
119
121
  $cc-co-commit-buttons-commit-color: $tp-color-label !default;
120
122
  $cc-co-commit-buttons-cancel-color: $tp-color-label !default;
@@ -1,7 +1,5 @@
1
1
  @import url('https://fonts.googleapis.com/css2?family=Public+Sans:wght@100;200;300;400;500;600;800;900&display=swap');
2
2
 
3
- @import "~@colijnit/sharedcomponents/lib/style/sharedcomponents-globals";
4
-
5
3
  @import "./variables";
6
4
 
7
5
  .co-transaction-default-popup-row {
@@ -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.96",
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";
@@ -54,6 +55,6 @@ export * from "./lib/component/transaction-search/service/transaction-search.ser
54
55
  export * from "./lib/service/transaction.service";
55
56
  export * from "./lib/service/relation.service";
56
57
  export * from "./lib/service/transaction-event.service";
58
+ export * from "./lib/service/transaction-screen-configuration.service";
57
59
  export * from "./lib/enum/search-view-mode.enum";
58
60
  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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUF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AgICAgICAgKm5nSWY9XCJzaG93Vmlld01vZGVzLmluY2x1ZGVzKHZpZXdNb2Rlcy5UaWxlcylcIlxyXG4gICAgICAgICAgICAgICBbY2xhc3Muc2VsZWN0ZWRdPVwidGhpcy5hY3RpdmVWaWV3TW9kZSA9PT0gdmlld01vZGVzLlRpbGVzXCJcclxuICAgICAgICAgICAgICAgW2ljb25EYXRhXT1cImljb25DYWNoZVNlcnZpY2UuZ2V0SWNvbihpY29ucy5MaXN0VmlldylcIlxyXG4gICAgICAgICAgICAgICBbdGl0bGVdPVwiJ1RJTEVfVklFVycgfCBsb2NhbGl6ZVwiXHJcbiAgICAgICAgICAgICAgIChjbGljayk9XCJ0aGlzLmFjdGl2ZVZpZXdNb2RlID0gdmlld01vZGVzLlRpbGVzXCI+PC9jby1idXR0b24+XHJcbiAgICA8Y28tYnV0dG9uIGNsYXNzPVwidmlldy1idXR0b24gd2hpdGVcIlxyXG4gICAgICAgICAgICAgICAqbmdJZj1cInNob3dWaWV3TW9kZXMuaW5jbHVkZXModmlld01vZGVzLkxpc3QpXCJcclxuICAgICAgICAgICAgICAgW2NsYXNzLnNlbGVjdGVkXT1cInRoaXMuYWN0aXZlVmlld01vZGUgPT09IHZpZXdNb2Rlcy5MaXN0XCJcclxuICAgICAgICAgICAgICAgW2ljb25EYXRhXT1cImljb25DYWNoZVNlcnZpY2UuZ2V0SWNvbihpY29ucy5UaGlja0xpbmVzKVwiXHJcbiAgICAgICAgICAgICAgIFt0aXRsZV09XCInTElTVF9WSUVXJyB8IGxvY2FsaXplXCJcclxuICAgICAgICAgICAgICAgKGNsaWNrKT1cInRoaXMuYWN0aXZlVmlld01vZGUgPSB2aWV3TW9kZXMuTGlzdFwiPjwvY28tYnV0dG9uPlxyXG4gICAgPGNvLWJ1dHRvbiBjbGFzcz1cInZpZXctYnV0dG9uIHdoaXRlXCJcclxuICAgICAgICAgICAgICAgKm5nSWY9XCJzaG93Vmlld01vZGVzLmluY2x1ZGVzKHZpZXdNb2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mlldy1tb2RlLWJ1dHRvbnNcIilcclxuICBwdWJsaWMgc2hvd0NsYXNzKCk6IGJvb2xlYW4ge1xyXG4gICAgcmV0dXJuIHRydWU7XHJcbiAgfVxyXG5cclxuICBwdWJsaWMgc2V0IGFjdGl2ZVZpZXdNb2RlKHZhbHVlOiBDb250ZW50Vmlld01vZGUpIHtcclxuICAgIHRoaXMuX2FjdGl2ZVZpZXdNb2RlID0gdmFsdWU7XHJcbiAgICB0aGlzLnZpZXdNb2RlQ2hhbmdlLmVtaXQodGhpcy5fYWN0aXZlVmlld01vZGUpO1xyXG4gIH1cclxuXHJcbiAgcHVibGljIGdldCBhY3RpdmVWaWV3TW9kZSgpOiBDb250ZW50Vmlld01vZGUge1xyXG4gICAgcmV0dXJuIHRoaXMuX2FjdGl2ZVZpZXdNb2RlO1xyXG4gIH1cclxuXHJcbiAgcHJpdmF0ZSBfYWN0aXZlVmlld01vZGU6IENvbnRlbnRWaWV3TW9kZTtcclxuXHJcbiAgcHVibGljIG5nT25Jbml0KCk6IHZvaWQge1xyXG4gICAgdGhpcy5hY3RpdmVWaWV3TW9kZSA9IHRoaXMuc2hvd1ZpZXdNb2Rlcy5pbmNsdWRlcyhDb250ZW50Vmlld01vZGUuTGlzdCkgPyBDb250ZW50Vmlld01vZGUuTGlzdCA6IHRoaXMuc2hvd1ZpZXdNb2Rlc1swXTtcclxuICB9XHJcblxyXG4gIGNvbnN0cnVjdG9yKHB1YmxpYyBpY29uQ2FjaGVTZXJ2aWNlOiBJY29uQ2FjaGVTZXJ2aWNlKSB7XHJcbiAgfVxyXG5cclxufVxyXG4iXX0=
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvdHJhbnNhY3Rpb24vc3JjL2xpYi9jb21wb25lbnQvdmlldy1tb2RlLWJ1dHRvbnMvdmlldy1tb2RlLWJ1dHRvbnMubW9kdWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBQyxRQUFRLEVBQUMsTUFBTSxlQUFlLENBQUM7QUFDdkMsT0FBTyxFQUFDLFlBQVksRUFBQyxNQUFNLGlCQUFpQixDQUFDO0FBQzdDLE9BQU8sRUFBQyx3QkFBd0IsRUFBQyxNQUFNLCtCQUErQixDQUFDO0FBQ3ZFLE9BQU8sRUFBQyxZQUFZLEVBQUMsTUFBTSw4QkFBOEIsQ0FBQztBQUMxRCxPQUFPLEVBQUMsVUFBVSxFQUFDLE1BQU0sd0JBQXdCLENBQUM7QUFlbEQsTUFBTSxPQUFPLHFCQUFxQjs7O1lBYmpDLFFBQVEsU0FBQztnQkFDUixPQUFPLEVBQUU7b0JBQ1AsWUFBWTtvQkFDWixZQUFZO29CQUNaLFVBQVU7aUJBQ1g7Z0JBQ0QsWUFBWSxFQUFFO29CQUNaLHdCQUF3QjtpQkFDekI7Z0JBQ0QsT0FBTyxFQUFFO29CQUNQLHdCQUF3QjtpQkFDekI7YUFDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7TmdNb2R1bGV9IGZyb20gXCJAYW5ndWxhci9jb3JlXCI7XHJcbmltcG9ydCB7Q29tbW9uTW9kdWxlfSBmcm9tIFwiQGFuZ3VsYXIvY29tbW9uXCI7XHJcbmltcG9ydCB7Vmlld01vZGVCdXR0b25zQ29tcG9uZW50fSBmcm9tIFwiLi92aWV3LW1vZGUtYnV0dG9ucy5jb21wb25lbnRcIjtcclxuaW1wb3J0IHtCdXR0b25Nb2R1bGV9IGZyb20gXCJAY29saWpuaXQvY29yZWNvbXBvbmVudHNfdjEyXCI7XHJcbmltcG9ydCB7UGlwZU1vZHVsZX0gZnJvbSBcIi4uLy4uL3BpcGUvcGlwZS5tb2R1bGVcIjtcclxuXHJcbkBOZ01vZHVsZSh7XHJcbiAgaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgQnV0dG9uTW9kdWxlLFxyXG4gICAgUGlwZU1vZHVsZVxyXG4gIF0sXHJcbiAgZGVjbGFyYXRpb25zOiBbXHJcbiAgICBWaWV3TW9kZUJ1dHRvbnNDb21wb25lbnRcclxuICBdLFxyXG4gIGV4cG9ydHM6IFtcclxuICAgIFZpZXdNb2RlQnV0dG9uc0NvbXBvbmVudFxyXG4gIF1cclxufSlcclxuZXhwb3J0IGNsYXNzIFZpZXdNb2RlQnV0dG9uc01vZHVsZSB7XHJcbn1cclxuIl19
@@ -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";
@@ -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
- }
@@ -1,2 +0,0 @@
1
- export declare class ViewModeButtonsModule {
2
- }
@@ -1,8 +0,0 @@
1
- export declare enum ContentViewMode {
2
- List = 0,
3
- Grid = 1,
4
- GridExpanded = 2,
5
- MasterDetail = 3,
6
- Timeline = 4,
7
- Tiles = 5
8
- }
@@ -1,7 +0,0 @@
1
- export declare class FilterItemViewmodel {
2
- checked: boolean;
3
- code: string | number;
4
- description: string;
5
- count: number;
6
- constructor(code: string | number, description: string | number, checked: boolean, count?: number);
7
- }
@@ -1,8 +0,0 @@
1
- import { FilterItemViewmodel } from './filter-item.viewmodel';
2
- export declare class FilterViewmodel {
3
- filterItems: FilterItemViewmodel[];
4
- constructor(collection: any[], fields: {
5
- text: any;
6
- value: any;
7
- });
8
- }