@cbm-common/cbm-types 0.0.90 → 0.0.91
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.
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { NgControl } from '@angular/forms';
|
|
3
|
-
export declare class CbmNumberInputDirective implements OnInit {
|
|
4
|
-
private elementRef;
|
|
5
|
-
private ngControl;
|
|
6
|
-
maxDecimalPlaces?: number;
|
|
7
|
-
negative: boolean;
|
|
8
|
-
max?: number;
|
|
9
|
-
zeroOnBlur?: boolean;
|
|
10
|
-
numberOnBlur?: number;
|
|
11
|
-
allowPasteArray?: boolean;
|
|
12
|
-
onPasteArray: import("@angular/core").OutputEmitterRef<string[]>;
|
|
13
|
-
private regex;
|
|
14
|
-
constructor(elementRef: ElementRef, ngControl: NgControl);
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
17
|
-
onPaste(event: ClipboardEvent): void;
|
|
18
|
-
aClipboardItem(pastedInput: string, event: ClipboardEvent): void;
|
|
19
|
-
multipleClipboardItems(pastedInput: string[], event: ClipboardEvent): void;
|
|
20
|
-
onDrop(event: DragEvent): void;
|
|
21
|
-
onBlur(): void;
|
|
22
|
-
format(value: string): void;
|
|
23
|
-
}
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { NgControl } from '@angular/forms';
|
|
3
|
+
export declare class CbmNumberInputDirective implements OnInit {
|
|
4
|
+
private elementRef;
|
|
5
|
+
private ngControl;
|
|
6
|
+
maxDecimalPlaces?: number;
|
|
7
|
+
negative: boolean;
|
|
8
|
+
max?: number;
|
|
9
|
+
zeroOnBlur?: boolean;
|
|
10
|
+
numberOnBlur?: number;
|
|
11
|
+
allowPasteArray?: boolean;
|
|
12
|
+
onPasteArray: import("@angular/core").OutputEmitterRef<string[]>;
|
|
13
|
+
private regex;
|
|
14
|
+
constructor(elementRef: ElementRef, ngControl: NgControl);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
17
|
+
onPaste(event: ClipboardEvent): void;
|
|
18
|
+
aClipboardItem(pastedInput: string, event: ClipboardEvent): void;
|
|
19
|
+
multipleClipboardItems(pastedInput: string[], event: ClipboardEvent): void;
|
|
20
|
+
onDrop(event: DragEvent): void;
|
|
21
|
+
onBlur(): void;
|
|
22
|
+
format(value: string): void;
|
|
23
|
+
}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export declare namespace CbmClientBranchModel {
|
|
2
|
-
type TTypeEstablishment = 'matrix' | 'branch';
|
|
3
2
|
interface ListParams {
|
|
4
3
|
enabled?: boolean;
|
|
5
4
|
client_id: string;
|
|
@@ -18,7 +17,7 @@ export declare namespace CbmClientBranchModel {
|
|
|
18
17
|
code: string;
|
|
19
18
|
name: string;
|
|
20
19
|
address: string;
|
|
21
|
-
email
|
|
20
|
+
email?: string[];
|
|
22
21
|
has_cellphone?: boolean;
|
|
23
22
|
phone_code?: string;
|
|
24
23
|
cellphone_number?: string;
|
|
@@ -26,34 +25,22 @@ export declare namespace CbmClientBranchModel {
|
|
|
26
25
|
seller_id: string;
|
|
27
26
|
seller_identification_number: string;
|
|
28
27
|
seller_full_name: string;
|
|
28
|
+
enabled?: boolean;
|
|
29
|
+
type_establishment?: string;
|
|
30
|
+
deleted?: boolean;
|
|
31
|
+
created_user?: string;
|
|
32
|
+
created_at?: number;
|
|
33
|
+
seller_name: string;
|
|
29
34
|
seller_address: string;
|
|
30
|
-
seller_email: string[];
|
|
31
|
-
seller_cellphone: string;
|
|
32
35
|
province_id?: string;
|
|
33
|
-
province_code?: string;
|
|
34
36
|
province_name?: string;
|
|
37
|
+
province_code?: string;
|
|
35
38
|
canton_id?: string;
|
|
36
|
-
canton_code?: string;
|
|
37
39
|
canton_name?: string;
|
|
40
|
+
canton_code?: string;
|
|
38
41
|
parish_id?: string;
|
|
39
|
-
parish_code?: string;
|
|
40
42
|
parish_name?: string;
|
|
41
|
-
|
|
42
|
-
latitude?: number;
|
|
43
|
-
enabled?: boolean;
|
|
44
|
-
type_establishment: `${TTypeEstablishment}`;
|
|
45
|
-
deleted?: boolean;
|
|
46
|
-
created_at?: number;
|
|
47
|
-
created_user?: string;
|
|
48
|
-
updated_at?: number;
|
|
49
|
-
updated_user?: string;
|
|
50
|
-
user_active_id?: string;
|
|
51
|
-
user_active_at?: number;
|
|
52
|
-
user_active_name?: string;
|
|
53
|
-
user_inactive_id?: string;
|
|
54
|
-
user_inactive_at?: number;
|
|
55
|
-
user_inactive_name?: string;
|
|
56
|
-
disabled_reason?: string;
|
|
43
|
+
parish_code?: string;
|
|
57
44
|
}
|
|
58
45
|
}
|
|
59
46
|
}
|
|
@@ -58,12 +58,18 @@ export declare namespace CbmClientModel {
|
|
|
58
58
|
created_at?: number;
|
|
59
59
|
num_branch?: number;
|
|
60
60
|
data?: string;
|
|
61
|
+
seller_id?: string;
|
|
62
|
+
seller_identification_number?: string;
|
|
63
|
+
seller_full_name?: string;
|
|
61
64
|
request_credit_value?: number;
|
|
62
65
|
reason_request?: string;
|
|
63
66
|
credit_limit?: number;
|
|
64
67
|
payment_deadline?: number;
|
|
65
68
|
updated_at?: number;
|
|
66
69
|
updated_user?: string;
|
|
70
|
+
canton_id?: string;
|
|
71
|
+
parish_id?: string;
|
|
72
|
+
province_id?: string;
|
|
67
73
|
company_branch_id?: string;
|
|
68
74
|
deleted_at?: number;
|
|
69
75
|
deleted_user?: string;
|
|
@@ -347,8 +353,12 @@ export declare namespace CbmClientModel {
|
|
|
347
353
|
business_name?: string;
|
|
348
354
|
trade_name?: string;
|
|
349
355
|
address?: string;
|
|
356
|
+
cellphone?: string;
|
|
357
|
+
emails?: string[];
|
|
350
358
|
economic_activity?: string;
|
|
359
|
+
phone_code?: string;
|
|
351
360
|
payment_deadline?: UpdateBody.PaymentDeadline[];
|
|
361
|
+
has_cellphone?: boolean;
|
|
352
362
|
credit_application?: boolean;
|
|
353
363
|
ind_retention_agent?: boolean;
|
|
354
364
|
credit_application_commentary?: string;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -200,7 +200,11 @@ export * from './lib/components/attachments/attachments';
|
|
|
200
200
|
|
|
201
201
|
//#region documents reference component
|
|
202
202
|
export * from './lib/components/documents-reference/documents-reference';
|
|
203
|
-
|
|
203
|
+
export {
|
|
204
|
+
CbmDocumentsReferenceModel,
|
|
205
|
+
TLabels as TDocumentsReferenceLabels,
|
|
206
|
+
TOptionType as TDocumentsReferenceOptionType
|
|
207
|
+
} from './lib/components/documents-reference/types';
|
|
204
208
|
|
|
205
209
|
//#region dropzone component
|
|
206
210
|
export * from './lib/components/dropzone/dropzone';
|