@cbm-common/cbm-types 0.0.338 → 0.0.339
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.
|
@@ -63,16 +63,6 @@ export declare class CbmAddProviderComponent {
|
|
|
63
63
|
statusOfExtractProviderData: import("@angular/core").WritableSignal<TStatus>;
|
|
64
64
|
statusOfFetchGeneralSettingsConfiguration: import("@angular/core").WritableSignal<TStatus>;
|
|
65
65
|
readonly carDelear: import("@angular/core").Signal<boolean>;
|
|
66
|
-
readonly CAR_DEALER_TYPES: readonly [{
|
|
67
|
-
readonly label: "Empleado privado";
|
|
68
|
-
readonly value: "privat_sector_employee";
|
|
69
|
-
}, {
|
|
70
|
-
readonly label: "Empleado publico";
|
|
71
|
-
readonly value: "civil_servant";
|
|
72
|
-
}, {
|
|
73
|
-
readonly label: "Sociedad";
|
|
74
|
-
readonly value: "society";
|
|
75
|
-
}];
|
|
76
66
|
subjectToSearchDocumentType$: Subject<string>;
|
|
77
67
|
subjectToSearchCategory$: Subject<string>;
|
|
78
68
|
defaultDocumentNumber: string | null;
|
|
@@ -96,7 +86,6 @@ export declare class CbmAddProviderComponent {
|
|
|
96
86
|
emails: FormControl<string[] | null>;
|
|
97
87
|
email: FormControl<string | null>;
|
|
98
88
|
economicActivity: FormControl<string | null>;
|
|
99
|
-
carDealerType: FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
100
89
|
carDealerValue: FormControl<string | null>;
|
|
101
90
|
economicActivitySelector: FormControl<CbmEconomicActivitiesDomainModel.ListResponse.Data | null>;
|
|
102
91
|
}>;
|
|
@@ -114,7 +103,6 @@ export declare class CbmAddProviderComponent {
|
|
|
114
103
|
get emailControl(): FormControl<string | null>;
|
|
115
104
|
get economicActivityControl(): FormControl<string | null>;
|
|
116
105
|
get economicActivitySelectorControl(): FormControl<CbmEconomicActivitiesDomainModel.ListResponse.Data | null>;
|
|
117
|
-
get carDealerTypeControl(): FormControl<"society" | "privat_sector_employee" | "civil_servant" | null>;
|
|
118
106
|
get carDealerValueControl(): FormControl<string | null>;
|
|
119
107
|
compareWithId(a: {
|
|
120
108
|
_id: string;
|
|
@@ -144,6 +132,7 @@ export declare class CbmAddProviderComponent {
|
|
|
144
132
|
onEmailKeyDown(event: KeyboardEvent): void;
|
|
145
133
|
onEmailBlur(): void;
|
|
146
134
|
removeEmail(email: string): void;
|
|
135
|
+
debugForm(form: FormGroup): void;
|
|
147
136
|
saveProvider(action: TSaveOptions): Promise<void>;
|
|
148
137
|
updateProvider(): Promise<void>;
|
|
149
138
|
validateSaveProviderForm(saveOption: TSaveOptions): void;
|
|
@@ -347,8 +347,15 @@ export declare namespace CbmSalesAccountModel {
|
|
|
347
347
|
sales_account_detail_tax?: Detail.Tax;
|
|
348
348
|
tax_iva?: Detail.TaxIva;
|
|
349
349
|
outsourcing_service_data?: Detail.OutsourcingServiceData;
|
|
350
|
+
kit_data?: Detail.KitData[];
|
|
350
351
|
}
|
|
351
352
|
namespace Detail {
|
|
353
|
+
interface KitData {
|
|
354
|
+
item_id: string;
|
|
355
|
+
item_code: string;
|
|
356
|
+
item_name: string;
|
|
357
|
+
item_amount: number;
|
|
358
|
+
}
|
|
352
359
|
interface OutsourcingServiceData {
|
|
353
360
|
outsourcing_service_movements_id: string;
|
|
354
361
|
code_outsourcing_service: string;
|