@cbm-common/cbm-types 0.0.301 → 0.0.303
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.
|
@@ -7,9 +7,9 @@ import { CbmModalConfirmComponent } from '../../modal-confirm/modal-confirm';
|
|
|
7
7
|
import { CbmRecordDetailMetadataModel } from '../../record-detail-metadata/types';
|
|
8
8
|
import { CbmModelVehicleDomainRepository } from '../../../domain/repositories/model-vehicle.domain.repository';
|
|
9
9
|
import { CbmBrandVehicleDomainRepository } from '../../../domain/repositories/brand-vehicle.domain.repository';
|
|
10
|
-
import { IModelVehicleBrandOption } from '../model-vehicle.model';
|
|
10
|
+
import { IModelVehicleAddComponentConfig, IModelVehicleBrandOption } from '../model-vehicle.model';
|
|
11
11
|
import { PaginatedListService } from '@cbm-common/data-access';
|
|
12
|
-
type TSaveOptions = 'new' | 'view' | 'close';
|
|
12
|
+
type TSaveOptions = 'new' | 'view' | 'close' | 'modal';
|
|
13
13
|
export declare class CbmModelVehicleAddComponent implements OnInit {
|
|
14
14
|
private readonly destroyRef;
|
|
15
15
|
private readonly modelVehicleRepository;
|
|
@@ -25,6 +25,9 @@ export declare class CbmModelVehicleAddComponent implements OnInit {
|
|
|
25
25
|
readonly updateStatus: import("@angular/core").WritableSignal<IGeneral.STATUS>;
|
|
26
26
|
readonly metadata: import("@angular/core").WritableSignal<CbmRecordDetailMetadataModel.metadata | null>;
|
|
27
27
|
readonly compareBrands: (a: IModelVehicleBrandOption | null, b: IModelVehicleBrandOption | null) => boolean;
|
|
28
|
+
componentConfig: import("@angular/core").InputSignal<IModelVehicleAddComponentConfig>;
|
|
29
|
+
onSaveModal: import("@angular/core").OutputEmitterRef<string>;
|
|
30
|
+
onCancelModal: import("@angular/core").OutputEmitterRef<void>;
|
|
28
31
|
disableGuard: boolean;
|
|
29
32
|
formDirty: () => boolean;
|
|
30
33
|
readonly form: FormGroup<{
|
|
@@ -41,6 +44,7 @@ export declare class CbmModelVehicleAddComponent implements OnInit {
|
|
|
41
44
|
isEditMode(): boolean;
|
|
42
45
|
validateUpdateFormModelVehicle(): Promise<void>;
|
|
43
46
|
validateFormModelVehicle(saveOption: TSaveOptions): Promise<void>;
|
|
47
|
+
addPropertyAndModal(): void;
|
|
44
48
|
addPropertyAndNew(): void;
|
|
45
49
|
addPropertyAndView(): void;
|
|
46
50
|
addPropertyAndClose(): void;
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -609,3 +609,6 @@ export * from './lib/domain/models/model-vehicle.domain.model';
|
|
|
609
609
|
//#region brand vehicle domain repository
|
|
610
610
|
export * from './lib/domain/repositories/brand-vehicle.domain.repository';
|
|
611
611
|
export * from './lib/domain/models/brand-vehicle.domain.model';
|
|
612
|
+
|
|
613
|
+
//#region modal confirm
|
|
614
|
+
export * from './lib/components/model-vehicle/add/add';
|