ngx-techlify-core 18.62.0 → 18.63.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/esm2022/lib/delete-button/techlify-delete-button.component.mjs +3 -3
- package/esm2022/lib/locked-date/index.mjs +6 -0
- package/esm2022/lib/locked-date/locked-date-form/locked-date-form.component.mjs +72 -0
- package/esm2022/lib/locked-date/locked-date-lock-unlock-button/locked-date-lock-unlock-button.component.mjs +35 -0
- package/esm2022/lib/locked-date/locked-date.model.mjs +3 -0
- package/esm2022/lib/locked-date/locked-date.module.mjs +61 -0
- package/esm2022/lib/locked-date/locked-date.service.mjs +25 -0
- package/esm2022/lib/locked-date/locked-dates-list/locked-dates-list.component.mjs +68 -0
- package/esm2022/public-api.mjs +4 -1
- package/fesm2022/ngx-techlify-core.mjs +363 -153
- package/fesm2022/ngx-techlify-core.mjs.map +1 -1
- package/lib/locked-date/index.d.ts +5 -0
- package/lib/locked-date/locked-date-form/locked-date-form.component.d.ts +24 -0
- package/lib/locked-date/locked-date-lock-unlock-button/locked-date-lock-unlock-button.component.d.ts +13 -0
- package/lib/locked-date/locked-date.model.d.ts +10 -0
- package/lib/locked-date/locked-date.module.d.ts +17 -0
- package/lib/locked-date/locked-date.service.d.ts +11 -0
- package/lib/locked-date/locked-dates-list/locked-dates-list.component.d.ts +19 -0
- package/package.json +1 -1
- package/public-api.d.ts +2 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export * from './locked-date.model';
|
|
2
|
+
export * from './locked-date.service';
|
|
3
|
+
export * from './locked-date-form/locked-date-form.component';
|
|
4
|
+
export * from './locked-date-lock-unlock-button/locked-date-lock-unlock-button.component';
|
|
5
|
+
export * from './locked-dates-list/locked-dates-list.component';
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ErrorHandlerService } from '../../core/error-handler.service';
|
|
3
|
+
import { FormValidatorService } from '../../core/form-validator.service';
|
|
4
|
+
import { TechlifyFormComponent } from '../../base-model';
|
|
5
|
+
import { UntypedFormBuilder } from '@angular/forms';
|
|
6
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
7
|
+
import { LockedDateService } from '../locked-date.service';
|
|
8
|
+
import { DatePipe } from '@angular/common';
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class LockedDateFormComponent extends TechlifyFormComponent implements OnInit {
|
|
11
|
+
protected service: LockedDateService;
|
|
12
|
+
private errorHandler;
|
|
13
|
+
private fb;
|
|
14
|
+
dialog: MatDialog;
|
|
15
|
+
dialogRef: MatDialogRef<LockedDateFormComponent>;
|
|
16
|
+
protected formValidatorService: FormValidatorService;
|
|
17
|
+
protected datePipe: DatePipe;
|
|
18
|
+
data?: any;
|
|
19
|
+
constructor(service: LockedDateService, errorHandler: ErrorHandlerService, fb: UntypedFormBuilder, dialog: MatDialog, dialogRef: MatDialogRef<LockedDateFormComponent>, formValidatorService: FormValidatorService, datePipe: DatePipe, data?: any);
|
|
20
|
+
ngOnInit(): void;
|
|
21
|
+
save(): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedDateFormComponent, [null, null, null, null, { optional: true; }, null, null, { optional: true; }]>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LockedDateFormComponent, "app-locked-date-form", never, {}, {}, never, never, false, never>;
|
|
24
|
+
}
|
package/lib/locked-date/locked-date-lock-unlock-button/locked-date-lock-unlock-button.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { LockedDateService } from '../locked-date.service';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LockedDateLockUnlockButtonComponent {
|
|
5
|
+
private lockedDateService;
|
|
6
|
+
lockedDate: any;
|
|
7
|
+
onSave: EventEmitter<any>;
|
|
8
|
+
constructor(lockedDateService: LockedDateService);
|
|
9
|
+
lock(): void;
|
|
10
|
+
unlock(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedDateLockUnlockButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LockedDateLockUnlockButtonComponent, "app-locked-date-lock-unlock-button", never, { "lockedDate": { "alias": "lockedDate"; "required": false; }; }, { "onSave": "onSave"; }, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./locked-dates-list/locked-dates-list.component";
|
|
3
|
+
import * as i2 from "./locked-date-form/locked-date-form.component";
|
|
4
|
+
import * as i3 from "./locked-date-lock-unlock-button/locked-date-lock-unlock-button.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "@angular/forms";
|
|
7
|
+
import * as i6 from "ngx-infinite-scroll";
|
|
8
|
+
import * as i7 from "../material.module";
|
|
9
|
+
import * as i8 from "../action-popup/action-popup.module";
|
|
10
|
+
import * as i9 from "../timeline-filter/timeline-filter.module";
|
|
11
|
+
import * as i10 from "../delete-button/techlify-delete-button.component";
|
|
12
|
+
import * as i11 from "../form-button/techlify-form-button.component";
|
|
13
|
+
export declare class LockedDateModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedDateModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LockedDateModule, [typeof i1.LockedDatesListComponent, typeof i2.LockedDateFormComponent, typeof i3.LockedDateLockUnlockButtonComponent], [typeof i4.CommonModule, typeof i5.ReactiveFormsModule, typeof i6.InfiniteScrollDirective, typeof i7.MaterialModule, typeof i8.ActionPopupModule, typeof i9.TimelineFilterModule, typeof i10.TechlifyDeleteButtonComponent, typeof i11.TechlifyFormButtonComponent], [typeof i1.LockedDatesListComponent, typeof i2.LockedDateFormComponent, typeof i3.LockedDateLockUnlockButtonComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LockedDateModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HttpService } from '../core/http.service';
|
|
2
|
+
import { TechlifyService } from '../base-model';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LockedDateService extends TechlifyService {
|
|
5
|
+
protected http: HttpService;
|
|
6
|
+
constructor(http: HttpService);
|
|
7
|
+
lock(lockedDate: any): import("rxjs").Observable<Object>;
|
|
8
|
+
unlock(lockedDate: any): import("rxjs").Observable<Object>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedDateService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LockedDateService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TechlifyListComponent } from '../../base-model';
|
|
3
|
+
import { LockedDateService } from '../locked-date.service';
|
|
4
|
+
import { FormBuilder } from '@angular/forms';
|
|
5
|
+
import { DatePipe } from '@angular/common';
|
|
6
|
+
import { LockedDateFormComponent } from '../locked-date-form/locked-date-form.component';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LockedDatesListComponent extends TechlifyListComponent implements OnInit {
|
|
9
|
+
protected service: LockedDateService;
|
|
10
|
+
private fb;
|
|
11
|
+
private datePipe;
|
|
12
|
+
formComponent: import("@angular/core").WritableSignal<typeof LockedDateFormComponent>;
|
|
13
|
+
displayedColumns: string[];
|
|
14
|
+
constructor(service: LockedDateService, fb: FormBuilder, datePipe: DatePipe);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
loadData(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LockedDatesListComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LockedDatesListComponent, "app-locked-dates-list", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -189,6 +189,8 @@ export * from './lib/form-configuration/form-configuration-field-form/form-confi
|
|
|
189
189
|
export * from './lib/form-configuration/form-configuration-field-form/form-configuration-field-form-routing.module';
|
|
190
190
|
export * from './lib/form-configuration/form-configuration-for-form/form-configuration-for-form.component';
|
|
191
191
|
export * from './lib/form-configuration/form-configuration-for-form/form-configuration-for-form.module';
|
|
192
|
+
export * from './lib/locked-date';
|
|
193
|
+
export * from './lib/locked-date/locked-date.module';
|
|
192
194
|
export * from './lib/techlify-view/my-techlify-view-listing/my-techlify-view.service';
|
|
193
195
|
export * from './lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.module';
|
|
194
196
|
export * from './lib/techlify-view/my-techlify-view-listing/my-techlify-view-listing.component';
|