@cbm-common/cbm-types 0.0.63 → 0.0.64
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/lib/components/add-client/add-client.d.ts +175 -175
- package/lib/components/additional-data-modal/additional-data/additional-data.d.ts +11 -11
- package/lib/components/additional-data-modal/additional-data-modal.d.ts +33 -33
- package/lib/components/additional-data-modal/animations.d.ts +2 -2
- package/lib/components/additional-data-modal/general-data/general-data.d.ts +4 -4
- package/lib/components/additional-data-modal/types.d.ts +7 -7
- package/lib/components/branch-card/branch-card.d.ts +15 -15
- package/lib/components/committed-quantity-converter/committed-quantity-converter.d.ts +22 -22
- package/lib/components/committed-quantity-converter/types.d.ts +11 -11
- package/lib/components/taxes-modal/taxes-modal.d.ts +17 -17
- package/lib/components/taxes-modal/taxes-modal.model.d.ts +36 -36
- package/lib/components/tip-modal/animations.d.ts +1 -1
- package/lib/components/tip-modal/tip-modal.d.ts +25 -25
- package/lib/components/xml-modal/animations.d.ts +2 -2
- package/lib/components/xml-modal/xml-modal.d.ts +22 -22
- package/lib/directives/number-input/number-input.directive.d.ts +23 -23
- package/lib/directives/number-input.directive.d.ts +23 -23
- package/lib/domain/models/company.domain.model.d.ts +361 -361
- package/lib/domain/repositories/company.domain.repository.d.ts +17 -17
- package/lib/domain/repositories/sri-payment-term.domain.repository.d.ts +9 -0
- package/lib/infrastructure/repositories/company.infrastructure.repository.d.ts +14 -14
- package/lib/infrastructure/services/company.infrastructure.service.d.ts +19 -19
- package/lib/remotes/components.remote.d.ts +27 -27
- package/lib/remotes/repositories/declaration-code-configuration.repository.d.ts +3 -3
- package/lib/remotes/repositories/sri-payment-term.repository.d.ts +1 -1
- package/lib/remotes/repositories.remote.d.ts +87 -87
- package/package.json +1 -1
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
export declare namespace CbmTaxesModal {
|
|
2
|
-
interface Data {
|
|
3
|
-
iva?: {
|
|
4
|
-
items: Data.Item[];
|
|
5
|
-
totals: {
|
|
6
|
-
tax_iva: number;
|
|
7
|
-
tax_value: number;
|
|
8
|
-
tax_base: number;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
ice?: {
|
|
12
|
-
items: Data.Item[];
|
|
13
|
-
totals: {
|
|
14
|
-
tax_base: number;
|
|
15
|
-
tax_value: number;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
irbpnr?: {
|
|
19
|
-
items: Data.Item[];
|
|
20
|
-
totals: {
|
|
21
|
-
tax_base: number;
|
|
22
|
-
tax_value: number;
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
namespace Data {
|
|
27
|
-
interface Item {
|
|
28
|
-
type: string;
|
|
29
|
-
tax_code: string;
|
|
30
|
-
tax_description?: string;
|
|
31
|
-
tax_rate: number;
|
|
32
|
-
tax_base: number;
|
|
33
|
-
tax_value: number;
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
1
|
+
export declare namespace CbmTaxesModal {
|
|
2
|
+
interface Data {
|
|
3
|
+
iva?: {
|
|
4
|
+
items: Data.Item[];
|
|
5
|
+
totals: {
|
|
6
|
+
tax_iva: number;
|
|
7
|
+
tax_value: number;
|
|
8
|
+
tax_base: number;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
ice?: {
|
|
12
|
+
items: Data.Item[];
|
|
13
|
+
totals: {
|
|
14
|
+
tax_base: number;
|
|
15
|
+
tax_value: number;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
irbpnr?: {
|
|
19
|
+
items: Data.Item[];
|
|
20
|
+
totals: {
|
|
21
|
+
tax_base: number;
|
|
22
|
+
tax_value: number;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
namespace Data {
|
|
27
|
+
interface Item {
|
|
28
|
+
type: string;
|
|
29
|
+
tax_code: string;
|
|
30
|
+
tax_description?: string;
|
|
31
|
+
tax_rate: number;
|
|
32
|
+
tax_base: number;
|
|
33
|
+
tax_value: number;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
1
|
+
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
|
-
export declare class CbmTipModalComponent implements OnInit {
|
|
4
|
-
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
5
|
-
tip: import("@angular/core").InputSignal<string | null>;
|
|
6
|
-
tipControl: import("@angular/core").InputSignal<FormControl<string | null>>;
|
|
7
|
-
subtotal: import("@angular/core").InputSignal<number>;
|
|
8
|
-
open: import("@angular/core").OutputEmitterRef<void>;
|
|
9
|
-
close: import("@angular/core").OutputEmitterRef<void>;
|
|
10
|
-
modalRef: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
11
|
-
tipForm: FormGroup<{
|
|
12
|
-
percentage: FormControl<string | null>;
|
|
13
|
-
value: FormControl<string | null>;
|
|
14
|
-
}>;
|
|
15
|
-
constructor();
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
get valueControl(): FormControl<string | null>;
|
|
18
|
-
get percentageControl(): FormControl<string | null>;
|
|
19
|
-
valueValidator(): ValidatorFn;
|
|
20
|
-
openModal(): void;
|
|
21
|
-
closeModal(): void;
|
|
22
|
-
onDialogClick(event: Event, dialog: HTMLDialogElement): void;
|
|
23
|
-
handleCloseDialog(dialog: HTMLDialogElement): void;
|
|
24
|
-
saveChanges(): void;
|
|
25
|
-
}
|
|
1
|
+
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup, ValidatorFn } from '@angular/forms';
|
|
3
|
+
export declare class CbmTipModalComponent implements OnInit {
|
|
4
|
+
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
5
|
+
tip: import("@angular/core").InputSignal<string | null>;
|
|
6
|
+
tipControl: import("@angular/core").InputSignal<FormControl<string | null>>;
|
|
7
|
+
subtotal: import("@angular/core").InputSignal<number>;
|
|
8
|
+
open: import("@angular/core").OutputEmitterRef<void>;
|
|
9
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
10
|
+
modalRef: import("@angular/core").Signal<ElementRef<HTMLDialogElement> | undefined>;
|
|
11
|
+
tipForm: FormGroup<{
|
|
12
|
+
percentage: FormControl<string | null>;
|
|
13
|
+
value: FormControl<string | null>;
|
|
14
|
+
}>;
|
|
15
|
+
constructor();
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
get valueControl(): FormControl<string | null>;
|
|
18
|
+
get percentageControl(): FormControl<string | null>;
|
|
19
|
+
valueValidator(): ValidatorFn;
|
|
20
|
+
openModal(): void;
|
|
21
|
+
closeModal(): void;
|
|
22
|
+
onDialogClick(event: Event, dialog: HTMLDialogElement): void;
|
|
23
|
+
handleCloseDialog(dialog: HTMLDialogElement): void;
|
|
24
|
+
saveChanges(): void;
|
|
25
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
-
export declare const modalAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
1
|
+
export declare const fadeInOutAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
2
|
+
export declare const modalAnimation: import("@angular/animations").AnimationTriggerMetadata;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CbmNotificationService } from '../../domain/services/notification/notification.service';
|
|
2
|
-
import 'highlight.js/styles/github-dark.css';
|
|
3
|
-
export declare class XmlModal {
|
|
4
|
-
private notificationService;
|
|
5
|
-
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
6
|
-
xml: import("@angular/core").InputSignal<string>;
|
|
7
|
-
titleText: import("@angular/core").InputSignal<string>;
|
|
8
|
-
fileName: import("@angular/core").InputSignal<string>;
|
|
9
|
-
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
|
-
open: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
-
close: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
-
copy: import("@angular/core").OutputEmitterRef<string>;
|
|
13
|
-
download: import("@angular/core").OutputEmitterRef<Blob>;
|
|
14
|
-
isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
-
xmlCode: import("@angular/core").Signal<string>;
|
|
16
|
-
themeClasses: import("@angular/core").Signal<"hljs-dark-theme" | "hljs-light-theme">;
|
|
17
|
-
constructor(notificationService: CbmNotificationService);
|
|
18
|
-
openModal(): void;
|
|
19
|
-
closeModal(): void;
|
|
20
|
-
copyXml(): void;
|
|
21
|
-
downloadXml(): void;
|
|
22
|
-
}
|
|
1
|
+
import { CbmNotificationService } from '../../domain/services/notification/notification.service';
|
|
2
|
+
import 'highlight.js/styles/github-dark.css';
|
|
3
|
+
export declare class XmlModal {
|
|
4
|
+
private notificationService;
|
|
5
|
+
isOpen: import("@angular/core").InputSignal<boolean | undefined>;
|
|
6
|
+
xml: import("@angular/core").InputSignal<string>;
|
|
7
|
+
titleText: import("@angular/core").InputSignal<string>;
|
|
8
|
+
fileName: import("@angular/core").InputSignal<string>;
|
|
9
|
+
theme: import("@angular/core").InputSignal<"light" | "dark">;
|
|
10
|
+
open: import("@angular/core").OutputEmitterRef<void>;
|
|
11
|
+
close: import("@angular/core").OutputEmitterRef<void>;
|
|
12
|
+
copy: import("@angular/core").OutputEmitterRef<string>;
|
|
13
|
+
download: import("@angular/core").OutputEmitterRef<Blob>;
|
|
14
|
+
isVisible: import("@angular/core").WritableSignal<boolean>;
|
|
15
|
+
xmlCode: import("@angular/core").Signal<string>;
|
|
16
|
+
themeClasses: import("@angular/core").Signal<"hljs-dark-theme" | "hljs-light-theme">;
|
|
17
|
+
constructor(notificationService: CbmNotificationService);
|
|
18
|
+
openModal(): void;
|
|
19
|
+
closeModal(): void;
|
|
20
|
+
copyXml(): void;
|
|
21
|
+
downloadXml(): void;
|
|
22
|
+
}
|
|
@@ -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,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
|
+
}
|