@colijnit/relation 256.1.0 → 257.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/colijnit-relation.umd.js +236 -242
- package/bundles/colijnit-relation.umd.js.map +1 -1
- package/colijnit-relation.d.ts +7 -8
- package/colijnit-relation.metadata.json +1 -1
- package/esm2015/colijnit-relation.js +8 -9
- package/esm2015/lib/component/base/relation-base.component.js +2 -2
- package/esm2015/lib/component/relation/relation.component.js +146 -42
- package/esm2015/lib/component/relation-address/relation-address.component.js +3 -3
- package/esm2015/lib/component/relation-address-tile/relation-address-tile.component.js +3 -3
- package/esm2015/lib/component/relation-addresses/relation-addresses.component.js +6 -7
- package/esm2015/lib/component/relation-contact-options/relation-contact-option.component.js +3 -1
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.component.js +6 -2
- package/esm2015/lib/component/relation-contact-options/relation-contact-options.module.js +4 -3
- package/esm2015/lib/component/relation-preferences/relation-preferences.component.js +2 -2
- package/esm2015/lib/component/relation-title/relation-title.component.js +4 -3
- package/esm2015/lib/enum/icon.enum.js +2 -1
- package/esm2015/lib/model/icon-svg.js +2 -1
- package/esm2015/lib/relation-version.js +4 -4
- package/esm2015/lib/res/dictionary/dictionaries.js +3 -3
- package/esm2015/lib/service/error.service.js +5 -5
- package/esm2015/lib/service/relation-base.service.js +1 -1
- package/esm2015/lib/service/relation-settings.service.js +5 -5
- package/fesm2015/colijnit-relation.js +273 -226
- package/fesm2015/colijnit-relation.js.map +1 -1
- package/lib/component/relation/relation.component.d.ts +14 -1
- package/lib/component/relation/style/_layout.scss +66 -2
- package/lib/component/relation/style/_material-definition.scss +2 -2
- package/lib/component/relation-address/relation-address.component.d.ts +2 -2
- package/lib/component/relation-address-tile/style/_layout.scss +34 -2
- package/lib/component/relation-address-tile/style/_material-definition.scss +1 -1
- package/lib/component/relation-addresses/style/_layout.scss +7 -0
- package/lib/component/relation-addresses/style/_material-definition.scss +1 -1
- package/lib/component/relation-contact-options/relation-contact-option.component.d.ts +1 -0
- package/lib/component/relation-contact-options/relation-contact-options.component.d.ts +2 -0
- package/lib/enum/icon.enum.d.ts +1 -0
- package/lib/res/dictionary/dictionaries.d.ts +68 -1
- package/lib/service/error.service.d.ts +2 -2
- package/lib/service/relation-settings.service.d.ts +2 -2
- package/lib/style/_variables.scss +1 -1
- package/package.json +5 -5
- package/esm2015/lib/service/dictionary.service.js +0 -68
- package/lib/service/dictionary.service.d.ts +0 -18
|
@@ -1818,6 +1818,7 @@ export declare class Dictionaries {
|
|
|
1818
1818
|
CATALOG_EDITION: string;
|
|
1819
1819
|
CATALOG_FILE_NAME: string;
|
|
1820
1820
|
CATALOG_MANAGEMENT: string;
|
|
1821
|
+
CATALOG_TYPES: string;
|
|
1821
1822
|
CATEGORIES: string;
|
|
1822
1823
|
CATEGORY: string;
|
|
1823
1824
|
CATEGORY_NR: string;
|
|
@@ -1953,6 +1954,7 @@ export declare class Dictionaries {
|
|
|
1953
1954
|
COLOR: string;
|
|
1954
1955
|
COLORS: string;
|
|
1955
1956
|
COLORS_SELECTED: string;
|
|
1957
|
+
COLOUR: string;
|
|
1956
1958
|
COLOR_DESC: string;
|
|
1957
1959
|
COLUMN: string;
|
|
1958
1960
|
COLUMNS: string;
|
|
@@ -2008,6 +2010,7 @@ export declare class Dictionaries {
|
|
|
2008
2010
|
CONFIRMATION_NO: string;
|
|
2009
2011
|
CONFIRMATION_STATE: string;
|
|
2010
2012
|
CONFIRMED: string;
|
|
2013
|
+
CONFIRMED_AMOUNT: string;
|
|
2011
2014
|
CONFIRMED_ARRIVAL_DATA: string;
|
|
2012
2015
|
CONFIRMED_DATE: string;
|
|
2013
2016
|
CONFIRMED_DELIVERY_DATA: string;
|
|
@@ -2490,6 +2493,7 @@ export declare class Dictionaries {
|
|
|
2490
2493
|
ALLOWED_CHANGES: string;
|
|
2491
2494
|
ALLOW_OPEN_ABSENCEFILE: string;
|
|
2492
2495
|
ALLOW_PART_DELIVERY: string;
|
|
2496
|
+
ALLOW_PONTO_CONNECTION: string;
|
|
2493
2497
|
ALLOW_ROTATION: string;
|
|
2494
2498
|
ALLOW_SIDEBAR: string;
|
|
2495
2499
|
ALLOW_STORAGE_DECOUPLING: string;
|
|
@@ -2899,6 +2903,7 @@ export declare class Dictionaries {
|
|
|
2899
2903
|
DIMENSION_STEP_1_MSG2: string;
|
|
2900
2904
|
DIMENSION_STEP_2_MSG: string;
|
|
2901
2905
|
DIMENSION_STEP_3_MSG: string;
|
|
2906
|
+
DROPZONE_TEXT: string;
|
|
2902
2907
|
AMORTIZATION: string;
|
|
2903
2908
|
AMORTIZATION_ENTRY: string;
|
|
2904
2909
|
AMORTIZATION_GRID_HEADER: string;
|
|
@@ -3009,6 +3014,7 @@ export declare class Dictionaries {
|
|
|
3009
3014
|
AVAILABILITY: string;
|
|
3010
3015
|
AVAILABILITY_RESOURCES: string;
|
|
3011
3016
|
AVAILABLE: string;
|
|
3017
|
+
HOMEDECORATOR: string;
|
|
3012
3018
|
NO_DIFFERENCES_FOUND: string;
|
|
3013
3019
|
NO_DIRECT_SELL: string;
|
|
3014
3020
|
NO_DOCS_TO_SIGN: string;
|
|
@@ -3163,6 +3169,7 @@ export declare class Dictionaries {
|
|
|
3163
3169
|
RESERVATION_PURCHASEORDER: string;
|
|
3164
3170
|
RESERVATION_STICKER: string;
|
|
3165
3171
|
RESERVED: string;
|
|
3172
|
+
RESET: string;
|
|
3166
3173
|
RESERVE_STICKERS: string;
|
|
3167
3174
|
RESET_FILTER: string;
|
|
3168
3175
|
RESET_FILTERS: string;
|
|
@@ -3926,6 +3933,7 @@ export declare class Dictionaries {
|
|
|
3926
3933
|
LOAD_ALL_NODES: string;
|
|
3927
3934
|
LOAD_DEFAULT_REPORTS: string;
|
|
3928
3935
|
LOAD_LINES: string;
|
|
3936
|
+
LOAD_PONTO_TRANSACTIONS: string;
|
|
3929
3937
|
LOAD_TRANSACTION: string;
|
|
3930
3938
|
LOC: string;
|
|
3931
3939
|
LOCAL_CASH_DRAWER_COMM_PORT: string;
|
|
@@ -4700,6 +4708,7 @@ export declare class Dictionaries {
|
|
|
4700
4708
|
QR_CODE_SCANNER: string;
|
|
4701
4709
|
QR_SCAN: string;
|
|
4702
4710
|
QUANTITY: string;
|
|
4711
|
+
QUANTITY_ACCEPTED: string;
|
|
4703
4712
|
QUANTITY_CANNOT_BE_LESS_THAN_ALLOCATED: string;
|
|
4704
4713
|
QUANTITY_CANNOT_BE_LESS_THAN_DELIVERED: string;
|
|
4705
4714
|
QUANTITY_CANNOT_BE_LESS_THAN_INVOICED: string;
|
|
@@ -4986,6 +4995,8 @@ export declare class Dictionaries {
|
|
|
4986
4995
|
ONE_OF_FOLLOWING_APPLICABLE: string;
|
|
4987
4996
|
ONE_PAGE_PER_SORT: string;
|
|
4988
4997
|
ONE_PURCHASEORDER: string;
|
|
4998
|
+
ONE_OR_MORE_LEDGERACCOUNTS_REJECTED: string;
|
|
4999
|
+
ONE_OR_MORE_LINES_WITHOUT_LEDGERACCOUNT_ID: string;
|
|
4989
5000
|
ONLY_ACHIEVABLE: string;
|
|
4990
5001
|
ONLY_ADD_ALL_FROM_ONE_CONDITION: string;
|
|
4991
5002
|
ONLY_ADD_EVERYTHING_FROM_ONE_CONDITION: string;
|
|
@@ -5487,6 +5498,7 @@ export declare class Dictionaries {
|
|
|
5487
5498
|
CONTRACT_TYPE: string;
|
|
5488
5499
|
CONTRA_ACCOUNT: string;
|
|
5489
5500
|
CONTRA_LEDGERACCOUNT_DOWNPAYMENT: string;
|
|
5501
|
+
CONTRA_VAT: string;
|
|
5490
5502
|
WARRANTY: string;
|
|
5491
5503
|
WARRANTY_TYPE: string;
|
|
5492
5504
|
WASHING_SYMBOLS: string;
|
|
@@ -6045,6 +6057,7 @@ export declare class Dictionaries {
|
|
|
6045
6057
|
SELECT2: string;
|
|
6046
6058
|
SELECTED: string;
|
|
6047
6059
|
SELECTED_ADDRESSES: string;
|
|
6060
|
+
SELECTED_BALANCE: string;
|
|
6048
6061
|
SELECTED_CASH_DRAWER: string;
|
|
6049
6062
|
SELECTED_CASH_REGISTER: string;
|
|
6050
6063
|
SELECTED_LINES_NOT_FOUND: string;
|
|
@@ -6489,6 +6502,7 @@ export declare class Dictionaries {
|
|
|
6489
6502
|
SHOW_ON_DASHBOARD: string;
|
|
6490
6503
|
SHOW_OPTION_PRICES: string;
|
|
6491
6504
|
SHOW_ORDERS_WITHOUT_LINES: string;
|
|
6505
|
+
SHOW_ORDER: string;
|
|
6492
6506
|
SHOW_OUTSTANDING_ENTRIES: string;
|
|
6493
6507
|
SHOW_POPUP: string;
|
|
6494
6508
|
SHOW_PRIVACY_PREFERENCES: string;
|
|
@@ -6496,6 +6510,7 @@ export declare class Dictionaries {
|
|
|
6496
6510
|
SHOW_RESULT: string;
|
|
6497
6511
|
SHOW_SELECTED_EXCEPTIONS_ONLY: string;
|
|
6498
6512
|
SHOW_SELECTION: string;
|
|
6513
|
+
SHOW_SERVICE: string;
|
|
6499
6514
|
SHOW_SIGNED_IN: string;
|
|
6500
6515
|
SHOW_SOME: string;
|
|
6501
6516
|
SHOW_STATUSBAR: string;
|
|
@@ -6596,6 +6611,7 @@ export declare class Dictionaries {
|
|
|
6596
6611
|
USE_DEFAULTS: string;
|
|
6597
6612
|
USE_DEPOSIT_RULE: string;
|
|
6598
6613
|
USE_GOOGLE: string;
|
|
6614
|
+
USE_GENERAL_GAMEOBJECT: string;
|
|
6599
6615
|
USE_MIN_STOCK_CALC: string;
|
|
6600
6616
|
USE_OWN_ARTICLE_COUNTER: string;
|
|
6601
6617
|
USE_RECOMMENDED_PRICES: string;
|
|
@@ -6641,6 +6657,7 @@ export declare class Dictionaries {
|
|
|
6641
6657
|
VARIOUS_PRODUCTS: string;
|
|
6642
6658
|
VAT: string;
|
|
6643
6659
|
VAT2: string;
|
|
6660
|
+
VAT_CONTRA: string;
|
|
6644
6661
|
VAT_AMOUNT: string;
|
|
6645
6662
|
VAT_CODE: string;
|
|
6646
6663
|
VAT_CODE_PURCHASE: string;
|
|
@@ -7044,8 +7061,10 @@ export declare class Dictionaries {
|
|
|
7044
7061
|
MATCHED_LINES: string;
|
|
7045
7062
|
MATCH_REFERENCE: string;
|
|
7046
7063
|
MATERIAL: string;
|
|
7064
|
+
MATERIAL_GENERIC: string;
|
|
7047
7065
|
MATERIALS: string;
|
|
7048
7066
|
MATERIAL_CODE: string;
|
|
7067
|
+
MATERIAL_TYPE: string;
|
|
7049
7068
|
MATURETIES: string;
|
|
7050
7069
|
MAX: string;
|
|
7051
7070
|
MAXIMUM_DISCOUNT: string;
|
|
@@ -7098,6 +7117,7 @@ export declare class Dictionaries {
|
|
|
7098
7117
|
CREATE_NEW_WORK: string;
|
|
7099
7118
|
CREATE_OR_PICK_EXPORT: string;
|
|
7100
7119
|
CREATE_PAYMENT_BATCH: string;
|
|
7120
|
+
CREATE_PONTO_INTEGRATION: string;
|
|
7101
7121
|
CREATE_PREVENTIVE_ABSENCE_FILE: string;
|
|
7102
7122
|
CREATE_PURCHASE_ORDER: string;
|
|
7103
7123
|
CREATE_REFERENCE_FILE: string;
|
|
@@ -7282,6 +7302,7 @@ export declare class Dictionaries {
|
|
|
7282
7302
|
NEXT_ORDER: string;
|
|
7283
7303
|
NEXT_PAGE: string;
|
|
7284
7304
|
NEXT_SLASH_FINISH: string;
|
|
7305
|
+
NEXT_STATE: string;
|
|
7285
7306
|
NEXT_VERSION: string;
|
|
7286
7307
|
NEXT_WEEK: string;
|
|
7287
7308
|
NIGHT_ROUTINE: string;
|
|
@@ -7534,6 +7555,7 @@ export declare class Dictionaries {
|
|
|
7534
7555
|
SALESORDER_ASC: string;
|
|
7535
7556
|
SALESORDER_DESC: string;
|
|
7536
7557
|
SALESORDER_DETAIL: string;
|
|
7558
|
+
SALES_TRANSACTION: string;
|
|
7537
7559
|
SALES_AMOUNT: string;
|
|
7538
7560
|
SALES_AMOUNT2: string;
|
|
7539
7561
|
SALES_AMOUNT_DECIM_NOT_COMPLIANT_W_SALES_UNIT: string;
|
|
@@ -7998,6 +8020,7 @@ export declare class Dictionaries {
|
|
|
7998
8020
|
H3DCONNTARGETS: string;
|
|
7999
8021
|
H3DDEFAULT: string;
|
|
8000
8022
|
H3DGAMEOBJECT: string;
|
|
8023
|
+
H3DGENERALGAMEOBJECT: string;
|
|
8001
8024
|
H3DID: string;
|
|
8002
8025
|
H3DLINK: string;
|
|
8003
8026
|
H3DLINK_ORDERED: string;
|
|
@@ -8208,6 +8231,7 @@ export declare class Dictionaries {
|
|
|
8208
8231
|
UNTILL: string;
|
|
8209
8232
|
UPDATE_ALL_SEARCH_INDEXES: string;
|
|
8210
8233
|
UPDATE_ALL_SEARCH_INDEXES_FAST: string;
|
|
8234
|
+
UPDATE_ARTICLES: string;
|
|
8211
8235
|
UPDATE_ARTICLE_PRICE: string;
|
|
8212
8236
|
UPDATE_CONTAINER: string;
|
|
8213
8237
|
UPDATE_DATE: string;
|
|
@@ -9096,6 +9120,7 @@ export declare class Dictionaries {
|
|
|
9096
9120
|
DELIVERY_DATE_DEF: string;
|
|
9097
9121
|
DELIVERY_DATE_DEFINITE: string;
|
|
9098
9122
|
DELIVERY_DATE_DEFINITIVE: string;
|
|
9123
|
+
DELIVERY_DATE_SUPPLIER: string;
|
|
9099
9124
|
SUMMARY: string;
|
|
9100
9125
|
SUMMON: string;
|
|
9101
9126
|
SUM_INCLUDING_VAT: string;
|
|
@@ -9117,6 +9142,7 @@ export declare class Dictionaries {
|
|
|
9117
9142
|
SUPPLIERNAME: string;
|
|
9118
9143
|
SUPPLIERNO: string;
|
|
9119
9144
|
SUPPLIERNR: string;
|
|
9145
|
+
SUPPLIERNR_ARTICLE: string;
|
|
9120
9146
|
SUPPLIERS: string;
|
|
9121
9147
|
SUPPLIER_BLOCKED: string;
|
|
9122
9148
|
SUPPLIER_BLOCKED2: string;
|
|
@@ -9741,6 +9767,7 @@ export declare class Dictionaries {
|
|
|
9741
9767
|
MESSAGE_ERROR_NO_EMAIL: string;
|
|
9742
9768
|
MESSAGE_ERROR_OC_RETRIEVAL: string;
|
|
9743
9769
|
MESSAGE_ERROR_PASSWORD: string;
|
|
9770
|
+
DATA_AND_PREFERENCES: string;
|
|
9744
9771
|
};
|
|
9745
9772
|
text_fr: {
|
|
9746
9773
|
CHARACTERISTIC: string;
|
|
@@ -11729,6 +11756,7 @@ export declare class Dictionaries {
|
|
|
11729
11756
|
ALLOWED_CHANGES: string;
|
|
11730
11757
|
ALLOW_OPEN_ABSENCEFILE: string;
|
|
11731
11758
|
ALLOW_PART_DELIVERY: string;
|
|
11759
|
+
ALLOW_PONTO_CONNECTION: string;
|
|
11732
11760
|
ALLOW_ROTATION: string;
|
|
11733
11761
|
ALLOW_SIDEBAR: string;
|
|
11734
11762
|
ALLOW_STORAGE_DECOUPLING: string;
|
|
@@ -12384,6 +12412,7 @@ export declare class Dictionaries {
|
|
|
12384
12412
|
CATALOG_EDITION: string;
|
|
12385
12413
|
CATALOG_FILE_NAME: string;
|
|
12386
12414
|
CATALOG_MANAGEMENT: string;
|
|
12415
|
+
CATALOG_TYPES: string;
|
|
12387
12416
|
CATEGORIES: string;
|
|
12388
12417
|
CATEGORY: string;
|
|
12389
12418
|
CATEGORY_NR: string;
|
|
@@ -12618,6 +12647,7 @@ export declare class Dictionaries {
|
|
|
12618
12647
|
COLLAPSE_ALL: string;
|
|
12619
12648
|
COLLATE_ORDERFORMS: string;
|
|
12620
12649
|
COLLECT: string;
|
|
12650
|
+
COLLECTION: string;
|
|
12621
12651
|
COLLECTION_CODE: string;
|
|
12622
12652
|
COLLECTION_CODE_CATEGORIES: string;
|
|
12623
12653
|
COLLECTION_LIST: string;
|
|
@@ -12630,6 +12660,7 @@ export declare class Dictionaries {
|
|
|
12630
12660
|
COLORS: string;
|
|
12631
12661
|
COLORS_SELECTED: string;
|
|
12632
12662
|
COLOR_DESC: string;
|
|
12663
|
+
COLOUR: string;
|
|
12633
12664
|
COLUMN: string;
|
|
12634
12665
|
COLUMNS: string;
|
|
12635
12666
|
COLUMN_BALANCE: string;
|
|
@@ -12720,6 +12751,7 @@ export declare class Dictionaries {
|
|
|
12720
12751
|
CONFIGURATION_COMPLETE: string;
|
|
12721
12752
|
CONFIGURATION_NOT_FINISHED_YET: string;
|
|
12722
12753
|
CONFIGURATION_OVERVIEW: string;
|
|
12754
|
+
CONFIGURATION_PRESET: string;
|
|
12723
12755
|
CONFIGURATION_YOURS: string;
|
|
12724
12756
|
CONFIGURATOR_TEST: string;
|
|
12725
12757
|
CONFIGURE: string;
|
|
@@ -12745,6 +12777,7 @@ export declare class Dictionaries {
|
|
|
12745
12777
|
CONFIRMATION_NO: string;
|
|
12746
12778
|
CONFIRMATION_STATE: string;
|
|
12747
12779
|
CONFIRMED: string;
|
|
12780
|
+
CONFIRMED_AMOUNT: string;
|
|
12748
12781
|
CONFIRMED_ARRIVAL_DATA: string;
|
|
12749
12782
|
CONFIRMED_DATE: string;
|
|
12750
12783
|
CONFIRMED_DELIVERY_DATA: string;
|
|
@@ -12850,6 +12883,7 @@ export declare class Dictionaries {
|
|
|
12850
12883
|
CONTRACT_TYPE: string;
|
|
12851
12884
|
CONTRA_ACCOUNT: string;
|
|
12852
12885
|
CONTRA_LEDGERACCOUNT_DOWNPAYMENT: string;
|
|
12886
|
+
CONTRA_VAT: string;
|
|
12853
12887
|
CONTRIBUTION_EMPLOYER: string;
|
|
12854
12888
|
CONTROLLED: string;
|
|
12855
12889
|
CONTROL_ORDER_PICKING: string;
|
|
@@ -13079,6 +13113,7 @@ export declare class Dictionaries {
|
|
|
13079
13113
|
DASHBOARD_CONFIGURE_START: string;
|
|
13080
13114
|
DASHBOARD_NEW_TILE: string;
|
|
13081
13115
|
DATA: string;
|
|
13116
|
+
DATA_AND_PREFERENCES: string;
|
|
13082
13117
|
DATABASE_DUMP: string;
|
|
13083
13118
|
DATABASE_DUMP_ACTIVE: string;
|
|
13084
13119
|
DATABASE_DUMP_BUSY_OTHER_JOB: string;
|
|
@@ -13302,8 +13337,8 @@ export declare class Dictionaries {
|
|
|
13302
13337
|
DELIVERY_DATE_ASKED: string;
|
|
13303
13338
|
DELIVERY_DATE_CALCULATED: string;
|
|
13304
13339
|
DELIVERY_DATE_CONFIRMATION_FROM_EARLY: string;
|
|
13305
|
-
DELIVERY_DATE_CONFIRMED2: string;
|
|
13306
13340
|
DELIVERY_DATE_CONFIRMED: string;
|
|
13341
|
+
DELIVERY_DATE_CONFIRMED2: string;
|
|
13307
13342
|
DELIVERY_DATE_CONFIRMED_AND_WILL_REMAIN_THE_SAME: string;
|
|
13308
13343
|
DELIVERY_DATE_DEF: string;
|
|
13309
13344
|
DELIVERY_DATE_DEFINITE: string;
|
|
@@ -13317,6 +13352,7 @@ export declare class Dictionaries {
|
|
|
13317
13352
|
DELIVERY_DATE_PREGNANT: string;
|
|
13318
13353
|
DELIVERY_DATE_PURCHASE: string;
|
|
13319
13354
|
DELIVERY_DATE_SALES: string;
|
|
13355
|
+
DELIVERY_DATE_SUPPLIER: string;
|
|
13320
13356
|
DELIVERY_DAYS: string;
|
|
13321
13357
|
DELIVERY_DELAY: string;
|
|
13322
13358
|
DELIVERY_DELAY_UNIT: string;
|
|
@@ -13547,6 +13583,7 @@ export declare class Dictionaries {
|
|
|
13547
13583
|
DROPSHIPMENT_INFO: string;
|
|
13548
13584
|
DROPSHIPMENT_POSSIBLE: string;
|
|
13549
13585
|
DROPSHIPPING_ADDRESS_CURRENT_ORDER: string;
|
|
13586
|
+
DROPZONE_TEXT: string;
|
|
13550
13587
|
DROP_ZONE_DOCUMENTS: string;
|
|
13551
13588
|
DROP_ZONE_IMAGES: string;
|
|
13552
13589
|
DROP_ZONE_SALARY_INFO: string;
|
|
@@ -14244,6 +14281,7 @@ export declare class Dictionaries {
|
|
|
14244
14281
|
GUARANTEE_PURCHASE: string;
|
|
14245
14282
|
GUARANTEE_SALES: string;
|
|
14246
14283
|
GZVD: string;
|
|
14284
|
+
HOMEDECORATOR: string;
|
|
14247
14285
|
H3DADDADJUST: string;
|
|
14248
14286
|
H3DBRANDID: string;
|
|
14249
14287
|
H3DBRANDNAME: string;
|
|
@@ -14252,6 +14290,7 @@ export declare class Dictionaries {
|
|
|
14252
14290
|
H3DCONNTARGETS: string;
|
|
14253
14291
|
H3DDEFAULT: string;
|
|
14254
14292
|
H3DGAMEOBJECT: string;
|
|
14293
|
+
H3DGENERALGAMEOBJECT: string;
|
|
14255
14294
|
H3DID: string;
|
|
14256
14295
|
H3DLINK: string;
|
|
14257
14296
|
H3DLINK_ORDERED: string;
|
|
@@ -14288,6 +14327,7 @@ export declare class Dictionaries {
|
|
|
14288
14327
|
HD_DELETE_QUESTION: string;
|
|
14289
14328
|
HD_ORDER_DEFINITIVE: string;
|
|
14290
14329
|
HD_UNABLE_TO_REMOVE_PROJECT: string;
|
|
14330
|
+
HDECO_GENERIC_GAMEOBJECT: string;
|
|
14291
14331
|
HEADER: string;
|
|
14292
14332
|
HEADER_ACTIVE: string;
|
|
14293
14333
|
HEADER_DEFINITIVE: string;
|
|
@@ -14790,6 +14830,7 @@ export declare class Dictionaries {
|
|
|
14790
14830
|
LOAD_ALL_NODES: string;
|
|
14791
14831
|
LOAD_DEFAULT_REPORTS: string;
|
|
14792
14832
|
LOAD_LINES: string;
|
|
14833
|
+
LOAD_PONTO_TRANSACTIONS: string;
|
|
14793
14834
|
LOAD_TRANSACTION: string;
|
|
14794
14835
|
LOC: string;
|
|
14795
14836
|
LOCAL_CASH_DRAWER_COMM_PORT: string;
|
|
@@ -14903,8 +14944,10 @@ export declare class Dictionaries {
|
|
|
14903
14944
|
MATCHED_LINES: string;
|
|
14904
14945
|
MATCH_REFERENCE: string;
|
|
14905
14946
|
MATERIAL: string;
|
|
14947
|
+
MATERIAL_GENERIC: string;
|
|
14906
14948
|
MATERIALS: string;
|
|
14907
14949
|
MATERIAL_CODE: string;
|
|
14950
|
+
MATERIAL_TYPE: string;
|
|
14908
14951
|
MATURETIES: string;
|
|
14909
14952
|
MAX: string;
|
|
14910
14953
|
MAXIMUM_DISCOUNT: string;
|
|
@@ -15465,6 +15508,7 @@ export declare class Dictionaries {
|
|
|
15465
15508
|
NEXT_ORDER: string;
|
|
15466
15509
|
NEXT_PAGE: string;
|
|
15467
15510
|
NEXT_SLASH_FINISH: string;
|
|
15511
|
+
NEXT_STATE: string;
|
|
15468
15512
|
NEXT_VERSION: string;
|
|
15469
15513
|
NEXT_WEEK: string;
|
|
15470
15514
|
NIGHT_ROUTINE: string;
|
|
@@ -15770,6 +15814,8 @@ export declare class Dictionaries {
|
|
|
15770
15814
|
ONE_OF_FOLLOWING_APPLICABLE: string;
|
|
15771
15815
|
ONE_PAGE_PER_SORT: string;
|
|
15772
15816
|
ONE_PURCHASEORDER: string;
|
|
15817
|
+
ONE_OR_MORE_LEDGERACCOUNTS_REJECTED: string;
|
|
15818
|
+
ONE_OR_MORE_LINES_WITHOUT_LEDGERACCOUNT_ID: string;
|
|
15773
15819
|
ONLY_ACHIEVABLE: string;
|
|
15774
15820
|
ONLY_ADD_ALL_FROM_ONE_CONDITION: string;
|
|
15775
15821
|
ONLY_ADD_EVERYTHING_FROM_ONE_CONDITION: string;
|
|
@@ -15852,6 +15898,7 @@ export declare class Dictionaries {
|
|
|
15852
15898
|
OPEN_RELATION_MANAGEMENT: string;
|
|
15853
15899
|
OPEN_SALES_OVERVIEW: string;
|
|
15854
15900
|
OPEN_SHOPPING_CART: string;
|
|
15901
|
+
OPEN_STOCK_DETAILS: string;
|
|
15855
15902
|
OPEN_TASK: string;
|
|
15856
15903
|
OPEN_TEXT: string;
|
|
15857
15904
|
OPEN_WEBVIEW_FAILED_NO_EXTSOURCE: string;
|
|
@@ -16280,6 +16327,7 @@ export declare class Dictionaries {
|
|
|
16280
16327
|
PLAN_RESTRICTED: string;
|
|
16281
16328
|
PLAN_RESTRICT_USERS: string;
|
|
16282
16329
|
PLAN_YOUR_DELIVERY: string;
|
|
16330
|
+
PLEASE_ADD_AT_LEAST_ONE_ADDRESS: string;
|
|
16283
16331
|
PLEASE_ADJUST_SUPPLIER_ON_ARTICLE_LEVEL: string;
|
|
16284
16332
|
PLEASE_CLOSE_HTML_EDITOR: string;
|
|
16285
16333
|
PLEASE_CLOSE_MODULE_AND_TRY_AGAIN: string;
|
|
@@ -16339,6 +16387,12 @@ export declare class Dictionaries {
|
|
|
16339
16387
|
PREFERRED_CONTACTOPTION: string;
|
|
16340
16388
|
PREFERRED_DATE: string;
|
|
16341
16389
|
PREFERRED_DELIVERY_DATE: string;
|
|
16390
|
+
PREFERRED_DELIVERY_DATE_HEADER: string;
|
|
16391
|
+
PREFERRED_DELIVERY_DATE_DESCRIPTION: string;
|
|
16392
|
+
PREFERRED_DELIVERY_DATE_DISCLAIMER_HEADER: string;
|
|
16393
|
+
PREFERRED_DELIVERY_DATE_DISCLAIMER_DESCRIPTION: string;
|
|
16394
|
+
PREFERRED_DELIVERY_DATE_LOAD_MORE: string;
|
|
16395
|
+
PREFERRED_DELIVERY_DATE_CONFIRM: string;
|
|
16342
16396
|
PREFERRED_NAME_HANDLING: string;
|
|
16343
16397
|
PREFFERED_DELIVERY_MOMENT: string;
|
|
16344
16398
|
PREFIX2: string;
|
|
@@ -16720,6 +16774,7 @@ export declare class Dictionaries {
|
|
|
16720
16774
|
QR_CODE_SCANNER: string;
|
|
16721
16775
|
QR_SCAN: string;
|
|
16722
16776
|
QUANTITY: string;
|
|
16777
|
+
QUANTITY_ACCEPTED: string;
|
|
16723
16778
|
QUANTITY_CANNOT_BE_LESS_THAN_ALLOCATED: string;
|
|
16724
16779
|
QUANTITY_CANNOT_BE_LESS_THAN_DELIVERED: string;
|
|
16725
16780
|
QUANTITY_CANNOT_BE_LESS_THAN_INVOICED: string;
|
|
@@ -17040,6 +17095,7 @@ export declare class Dictionaries {
|
|
|
17040
17095
|
RESERVATION_PURCHASEORDER: string;
|
|
17041
17096
|
RESERVATION_STICKER: string;
|
|
17042
17097
|
RESERVED: string;
|
|
17098
|
+
RESET: string;
|
|
17043
17099
|
RESET_FILTER: string;
|
|
17044
17100
|
RESET_FILTERS: string;
|
|
17045
17101
|
RESET_GOOGLE_AUTHENTICATOR: string;
|
|
@@ -17200,6 +17256,7 @@ export declare class Dictionaries {
|
|
|
17200
17256
|
SALESORDER_ASC: string;
|
|
17201
17257
|
SALESORDER_DESC: string;
|
|
17202
17258
|
SALESORDER_DETAIL: string;
|
|
17259
|
+
SALES_TRANSACTION: string;
|
|
17203
17260
|
SALES_AMOUNT2: string;
|
|
17204
17261
|
SALES_AMOUNT: string;
|
|
17205
17262
|
SALES_AMOUNT_DECIM_NOT_COMPLIANT_W_SALES_UNIT: string;
|
|
@@ -17324,6 +17381,7 @@ export declare class Dictionaries {
|
|
|
17324
17381
|
SEARCH_MEMBER_NR: string;
|
|
17325
17382
|
SEARCH_PAYMENT_BATCH: string;
|
|
17326
17383
|
CREATE_PAYMENT_BATCH: string;
|
|
17384
|
+
CREATE_PONTO_INTEGRATION: string;
|
|
17327
17385
|
SEARCHING: string;
|
|
17328
17386
|
SEARCHRESULTS_FOR: string;
|
|
17329
17387
|
SEARCH_ADD_ARTICLE: string;
|
|
@@ -17437,6 +17495,7 @@ export declare class Dictionaries {
|
|
|
17437
17495
|
SELECT_MEDICAL_OFFICER: string;
|
|
17438
17496
|
SELECTED: string;
|
|
17439
17497
|
SELECTED_ADDRESSES: string;
|
|
17498
|
+
SELECTED_BALANCE: string;
|
|
17440
17499
|
SELECTED_CASH_DRAWER: string;
|
|
17441
17500
|
SELECTED_CASH_REGISTER: string;
|
|
17442
17501
|
SELECTED_LINES_NOT_FOUND: string;
|
|
@@ -17688,6 +17747,7 @@ export declare class Dictionaries {
|
|
|
17688
17747
|
SHOW_LIST: string;
|
|
17689
17748
|
SHOW_MORE: string;
|
|
17690
17749
|
SHOW_ON_DASHBOARD: string;
|
|
17750
|
+
SHOW_ORDER: string;
|
|
17691
17751
|
SHOW_OPTION_PRICES: string;
|
|
17692
17752
|
SHOW_ORDERS_WITHOUT_LINES: string;
|
|
17693
17753
|
SHOW_OUTSTANDING_ENTRIES: string;
|
|
@@ -17697,6 +17757,7 @@ export declare class Dictionaries {
|
|
|
17697
17757
|
SHOW_RESULT: string;
|
|
17698
17758
|
SHOW_SELECTED_EXCEPTIONS_ONLY: string;
|
|
17699
17759
|
SHOW_SELECTION: string;
|
|
17760
|
+
SHOW_SERVICE: string;
|
|
17700
17761
|
SHOW_SIGNED_IN: string;
|
|
17701
17762
|
SHOW_SOME: string;
|
|
17702
17763
|
SHOW_STATUSBAR: string;
|
|
@@ -18011,6 +18072,7 @@ export declare class Dictionaries {
|
|
|
18011
18072
|
SUPPLIERNAME: string;
|
|
18012
18073
|
SUPPLIERNO: string;
|
|
18013
18074
|
SUPPLIERNR: string;
|
|
18075
|
+
SUPPLIERNR_ARTICLE: string;
|
|
18014
18076
|
SUPPLIERS: string;
|
|
18015
18077
|
SUPPLIER_BLOCKED2: string;
|
|
18016
18078
|
SUPPLIER_BLOCKED: string;
|
|
@@ -18467,6 +18529,7 @@ export declare class Dictionaries {
|
|
|
18467
18529
|
UNTILL: string;
|
|
18468
18530
|
UPDATE_ALL_SEARCH_INDEXES: string;
|
|
18469
18531
|
UPDATE_ALL_SEARCH_INDEXES_FAST: string;
|
|
18532
|
+
UPDATE_ARTICLES: string;
|
|
18470
18533
|
UPDATE_ARTICLE_PRICE: string;
|
|
18471
18534
|
UPDATE_CONTAINER: string;
|
|
18472
18535
|
UPDATE_DATE: string;
|
|
@@ -18487,6 +18550,7 @@ export declare class Dictionaries {
|
|
|
18487
18550
|
USE: string;
|
|
18488
18551
|
USE_CLASSIFICATION: string;
|
|
18489
18552
|
USE_DEPOSIT_RULE: string;
|
|
18553
|
+
USE_GENERIC_GAMEOBJECT: string;
|
|
18490
18554
|
USED_COUPONS: string;
|
|
18491
18555
|
USED_IN: string;
|
|
18492
18556
|
USER: string;
|
|
@@ -18509,6 +18573,7 @@ export declare class Dictionaries {
|
|
|
18509
18573
|
USER_UNKNOWN: string;
|
|
18510
18574
|
USE_DEFAULTS: string;
|
|
18511
18575
|
USE_GOOGLE: string;
|
|
18576
|
+
USE_GENERAL_GAMEOBJECT: string;
|
|
18512
18577
|
USE_MIN_STOCK_CALC: string;
|
|
18513
18578
|
USE_OWN_ARTICLE_COUNTER: string;
|
|
18514
18579
|
USE_RECOMMENDED_PRICES: string;
|
|
@@ -18518,6 +18583,7 @@ export declare class Dictionaries {
|
|
|
18518
18583
|
USE_TIME_FROM_TIMER: string;
|
|
18519
18584
|
USE_VALUES: string;
|
|
18520
18585
|
USE_WEBVIEW_UI: string;
|
|
18586
|
+
USE_CATALOG_PAGE: string;
|
|
18521
18587
|
UWV_REGISTRATION_NUMBER: string;
|
|
18522
18588
|
VADAIN_DELETE_QUESTION: string;
|
|
18523
18589
|
VADAIN_NOT_ALLOWED_TO_DELETE: string;
|
|
@@ -18546,6 +18612,7 @@ export declare class Dictionaries {
|
|
|
18546
18612
|
VARIOUS_PRODUCTS: string;
|
|
18547
18613
|
VAT2: string;
|
|
18548
18614
|
VAT: string;
|
|
18615
|
+
VAT_CONTRA: string;
|
|
18549
18616
|
VAT_AMOUNT: string;
|
|
18550
18617
|
VAT_CODE: string;
|
|
18551
18618
|
VAT_CODE_PURCHASE: string;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { DictionaryService } from './dictionary.service';
|
|
2
1
|
import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
|
|
3
2
|
import { CoreDialogService } from '@colijnit/corecomponents_v12';
|
|
3
|
+
import { RelationDictionaryService } from '../translation/relation-dictionary.service';
|
|
4
4
|
export declare class ErrorService {
|
|
5
5
|
private _coreDialogService;
|
|
6
6
|
private _dictionaryService;
|
|
7
|
-
constructor(_coreDialogService: CoreDialogService, _dictionaryService:
|
|
7
|
+
constructor(_coreDialogService: CoreDialogService, _dictionaryService: RelationDictionaryService);
|
|
8
8
|
showValidationError(response: DataServiceResponseData | any): Promise<any>;
|
|
9
9
|
private _messageAsValidationError;
|
|
10
10
|
private _messageDetails;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BehaviorSubject } from 'rxjs';
|
|
2
|
-
import { DictionaryService } from './dictionary.service';
|
|
3
2
|
import { RelationSettings } from '../model/relation-settings';
|
|
3
|
+
import { RelationDictionaryService } from '../translation/relation-dictionary.service';
|
|
4
4
|
export declare class RelationSettingsService {
|
|
5
5
|
private _dictionary;
|
|
6
6
|
readonly languageCodeToDictionary: Map<string, string>;
|
|
@@ -10,7 +10,7 @@ export declare class RelationSettingsService {
|
|
|
10
10
|
get dictionaryKey(): string;
|
|
11
11
|
settingsLoaded: BehaviorSubject<boolean>;
|
|
12
12
|
private _settings;
|
|
13
|
-
constructor(_dictionary:
|
|
13
|
+
constructor(_dictionary: RelationDictionaryService);
|
|
14
14
|
createSettingsFromObject(obj: any): Promise<void>;
|
|
15
15
|
initialize(options: any): Promise<void>;
|
|
16
16
|
}
|
|
@@ -4,7 +4,7 @@ $re-color-font: #171721 !default;
|
|
|
4
4
|
$re-color-action: #1A73E8 !default;
|
|
5
5
|
$re-color-border: #DCE4EA !default;
|
|
6
6
|
$re-color-light: white !default;
|
|
7
|
-
$re-color-background: #
|
|
7
|
+
$re-color-background: #ffffff !default;
|
|
8
8
|
$re-color-background-selected: #f1fcff !default;
|
|
9
9
|
$re-color-background-popup: #212437 !default;
|
|
10
10
|
$re-color-background-popup-item: #2e3350 !default;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/relation",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "257.1.0",
|
|
4
4
|
"description": "Colijn IT relation module for Angular 12",
|
|
5
5
|
"repository": "npm/npm",
|
|
6
6
|
"author": "Colijn IT",
|
|
@@ -10,10 +10,10 @@
|
|
|
10
10
|
"@angular/common": ">=12.2.0",
|
|
11
11
|
"@angular/core": ">=12.2.0",
|
|
12
12
|
"@colijnit/corecomponents": ">=1.12.0",
|
|
13
|
-
"@colijnit/corecomponents_v12": ">=
|
|
14
|
-
"@colijnit/ioneconnector": ">=
|
|
15
|
-
"@colijnit/mainapi": ">=
|
|
16
|
-
"@colijnit/relationapi": ">=
|
|
13
|
+
"@colijnit/corecomponents_v12": ">=257.1.0",
|
|
14
|
+
"@colijnit/ioneconnector": ">=257.1.0",
|
|
15
|
+
"@colijnit/mainapi": ">=257.1.0",
|
|
16
|
+
"@colijnit/relationapi": ">=257.1.0",
|
|
17
17
|
"@tweenjs/tween.js": ">=17.2.0",
|
|
18
18
|
"xlsx": ">=0.18.5"
|
|
19
19
|
},
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { __awaiter } from "tslib";
|
|
2
|
-
import { Injectable } from '@angular/core';
|
|
3
|
-
import { StringUtils } from '@colijnit/ioneconnector/build/utils/string-utils';
|
|
4
|
-
import { Dictionaries } from '../res/dictionary/dictionaries';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
// The localization service, providing peers with text translation functionality.
|
|
7
|
-
export class DictionaryService {
|
|
8
|
-
constructor() {
|
|
9
|
-
// private _dictionaryPromise: Map<LanguageCode, Promise<{ [key: string]: string }>> = new Map<LanguageCode, Promise<{ [key: string]: string }>>();
|
|
10
|
-
this._dictionaryPromise = new Map();
|
|
11
|
-
this._dictionaries = new Map();
|
|
12
|
-
// Some dictionary values have one or more '|~' texts in them, meant to be replaced with client-side given texts.
|
|
13
|
-
this._placeholder = "|~";
|
|
14
|
-
}
|
|
15
|
-
get language() {
|
|
16
|
-
return this._language;
|
|
17
|
-
}
|
|
18
|
-
// Loads the dictionary for given language in memory.
|
|
19
|
-
setDictionary(language) {
|
|
20
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
21
|
-
this._language = language;
|
|
22
|
-
if (!this._dictionaryPromise.has(language)) {
|
|
23
|
-
const dictionaries = new Dictionaries();
|
|
24
|
-
if (dictionaries.hasOwnProperty("text_" + language.substr(0, 2).toLowerCase())) {
|
|
25
|
-
this._dictionaries.set(language, dictionaries["text_" + language.substr(0, 2).toLowerCase()]);
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
yield this._dictionaryPromise.get(language);
|
|
29
|
-
});
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* Returns the localized text for the given dictionary key.
|
|
33
|
-
* @param {string} key
|
|
34
|
-
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
35
|
-
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
36
|
-
* @returns {string} The translated text for given dictionary key
|
|
37
|
-
*/
|
|
38
|
-
get(key, upperCaseFirst = true, ...replacementTexts) {
|
|
39
|
-
if (!StringUtils.IsStringWithLength(key)) {
|
|
40
|
-
return key || "";
|
|
41
|
-
}
|
|
42
|
-
else if (!this._dictionaryLoaded(this._language)) {
|
|
43
|
-
return key;
|
|
44
|
-
}
|
|
45
|
-
let text = this._dictionaries.get(this._language)[key];
|
|
46
|
-
text = StringUtils.IsStringWithLength(text) ? text : key;
|
|
47
|
-
if (upperCaseFirst) {
|
|
48
|
-
text = text.charAt(0).toUpperCase() + text.slice(1);
|
|
49
|
-
}
|
|
50
|
-
else {
|
|
51
|
-
text = text.charAt(0).toLowerCase() + text.slice(1);
|
|
52
|
-
}
|
|
53
|
-
if (replacementTexts.length > 0) {
|
|
54
|
-
text = StringUtils.ReplaceOccurrencesIn(text, this._placeholder, ...replacementTexts);
|
|
55
|
-
}
|
|
56
|
-
return text;
|
|
57
|
-
}
|
|
58
|
-
_dictionaryLoaded(language) {
|
|
59
|
-
return this._dictionaries.has(language);
|
|
60
|
-
}
|
|
61
|
-
}
|
|
62
|
-
DictionaryService.ɵprov = i0.ɵɵdefineInjectable({ factory: function DictionaryService_Factory() { return new DictionaryService(); }, token: DictionaryService, providedIn: "root" });
|
|
63
|
-
DictionaryService.decorators = [
|
|
64
|
-
{ type: Injectable, args: [{
|
|
65
|
-
providedIn: "root"
|
|
66
|
-
},] }
|
|
67
|
-
];
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJz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XBsYWNlbWVudFRleHRzLmxlbmd0aCA+IDApIHtcclxuICAgICAgdGV4dCA9IFN0cmluZ1V0aWxzLlJlcGxhY2VPY2N1cnJlbmNlc0luKHRleHQsIHRoaXMuX3BsYWNlaG9sZGVyLCAuLi5yZXBsYWNlbWVudFRleHRzKTtcclxuICAgIH1cclxuXHJcbiAgICByZXR1cm4gdGV4dDtcclxuICB9XHJcblxyXG5cclxuICBwcml2YXRlIF9kaWN0aW9uYXJ5TG9hZGVkKGxhbmd1YWdlOiBMYW5ndWFnZUNvZGUpOiBib29sZWFuIHtcclxuICAgIHJldHVybiB0aGlzLl9kaWN0aW9uYXJpZXMuaGFzKGxhbmd1YWdlKTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { LanguageCode } from '../enum/language-code.enum';
|
|
2
|
-
export declare class DictionaryService {
|
|
3
|
-
get language(): string;
|
|
4
|
-
private _dictionaryPromise;
|
|
5
|
-
private _dictionaries;
|
|
6
|
-
private _language;
|
|
7
|
-
private readonly _placeholder;
|
|
8
|
-
setDictionary(language: LanguageCode): Promise<void>;
|
|
9
|
-
/**
|
|
10
|
-
* Returns the localized text for the given dictionary key.
|
|
11
|
-
* @param {string} key
|
|
12
|
-
* @param {boolean} [upperCaseFirst = true] False for first letter lowercase, true for first letter uppercase for returned dict val
|
|
13
|
-
* @param {string[]} replacementTexts Rest params for replacement of '|~' in returned dict value
|
|
14
|
-
* @returns {string} The translated text for given dictionary key
|
|
15
|
-
*/
|
|
16
|
-
get(key: string, upperCaseFirst?: boolean, ...replacementTexts: string[]): string;
|
|
17
|
-
private _dictionaryLoaded;
|
|
18
|
-
}
|