zek 14.2.47 → 14.2.48
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/esm2020/lib/components/base.component.mjs +3 -2
- package/esm2020/lib/modules/alert/alert/alert.component.mjs +1 -1
- package/esm2020/lib/modules/bb/bb-modal-base.component.mjs +9 -2
- package/esm2020/lib/modules/bb/bb-modal-toolbar.mjs +9 -2
- package/esm2020/lib/modules/bb/bb.component.mjs +30 -5
- package/esm2020/lib/modules/card/card/card.component.mjs +1 -1
- package/esm2020/lib/modules/edit-toolbar/edit-toolbar.component.mjs +23 -4
- package/esm2020/lib/modules/grid-toolbar/grid-toolbar/grid-toolbar.component.mjs +72 -11
- package/esm2020/lib/modules/list-toolbar/list-toolbar.component.mjs +44 -7
- package/esm2020/lib/modules/modal/modal/modal.component.mjs +72 -8
- package/esm2020/lib/modules/page-title/page-title.component.mjs +11 -1
- package/esm2020/lib/modules/pager/pager/pager.component.mjs +9 -2
- package/esm2020/lib/modules/password/password.component.mjs +9 -2
- package/esm2020/lib/modules/readonly/readonly.directive.mjs +5 -5
- package/esm2020/lib/modules/select/select.mjs +1 -1
- package/esm2020/lib/modules/select2/select2.component.mjs +1 -1
- package/esm2020/lib/modules/select2-multiple/select2-multiple.component.mjs +1 -1
- package/esm2020/lib/modules/wizard/wizard/wizard.component.mjs +1 -1
- package/fesm2015/zek.mjs +272 -38
- package/fesm2015/zek.mjs.map +1 -1
- package/fesm2020/zek.mjs +272 -38
- package/fesm2020/zek.mjs.map +1 -1
- package/lib/components/base.component.d.ts +3 -2
- package/lib/modules/bb/bb-modal-base.component.d.ts +4 -2
- package/lib/modules/bb/bb-modal-toolbar.d.ts +4 -1
- package/lib/modules/bb/bb.component.d.ts +13 -4
- package/lib/modules/edit-toolbar/edit-toolbar.component.d.ts +10 -3
- package/lib/modules/grid-toolbar/grid-toolbar/grid-toolbar.component.d.ts +31 -10
- package/lib/modules/list-toolbar/list-toolbar.component.d.ts +19 -6
- package/lib/modules/modal/modal/modal.component.d.ts +31 -11
- package/lib/modules/page-title/page-title.component.d.ts +4 -1
- package/lib/modules/pager/pager/pager.component.d.ts +4 -1
- package/lib/modules/password/password.component.d.ts +4 -1
- package/lib/modules/readonly/readonly.directive.d.ts +3 -2
- package/package.json +1 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
2
2
|
import { PrintType } from '../models/print.model';
|
|
3
3
|
import { CoreComponent } from './core.component';
|
|
4
|
+
import { BooleanInput } from './types';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class BaseComponent<TModel = any> extends CoreComponent {
|
|
6
7
|
protected readonly route: ActivatedRoute;
|
|
7
8
|
protected readonly router: Router;
|
|
8
9
|
constructor(route: ActivatedRoute, router: Router);
|
|
9
10
|
private _readOnly;
|
|
10
|
-
get readOnly():
|
|
11
|
-
set readOnly(v:
|
|
11
|
+
get readOnly(): BooleanInput;
|
|
12
|
+
set readOnly(v: BooleanInput);
|
|
12
13
|
protected readonly url: string;
|
|
13
14
|
model?: TModel | null;
|
|
14
15
|
protected getParam(name: string): string | null;
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from "@angular/core";
|
|
2
|
-
import { CoreComponent } from "../../components";
|
|
2
|
+
import { BooleanInput, CoreComponent } from "../../components";
|
|
3
3
|
import { PagedList } from "../../models";
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ButtonBrowseModalBaseComponent extends CoreComponent {
|
|
6
6
|
type?: string | null;
|
|
7
7
|
filter: any;
|
|
8
8
|
data?: PagedList | null;
|
|
9
|
-
|
|
9
|
+
private _multiSelect;
|
|
10
|
+
get multiSelect(): BooleanInput;
|
|
11
|
+
set multiSelect(v: BooleanInput);
|
|
10
12
|
value: any;
|
|
11
13
|
onChoose: EventEmitter<any>;
|
|
12
14
|
choose(value: any): void;
|
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../components';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class ButtonBrowseModalToolbarComponent {
|
|
4
5
|
onSearch: EventEmitter<any>;
|
|
5
6
|
search(): void;
|
|
6
7
|
onReset: EventEmitter<any>;
|
|
7
8
|
reset(): void;
|
|
8
|
-
|
|
9
|
+
private _multiSelect;
|
|
10
|
+
get multiSelect(): BooleanInput;
|
|
11
|
+
set multiSelect(v: BooleanInput);
|
|
9
12
|
onChooseAll: EventEmitter<any>;
|
|
10
13
|
chooseAll(): void;
|
|
11
14
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonBrowseModalToolbarComponent, never>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../components';
|
|
2
3
|
import { CoreUiComponent } from '../../components/core-ui.component';
|
|
3
4
|
import { KeyPair, PagedList } from '../../models';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
@@ -17,10 +18,18 @@ export declare class ButtonBrowseComponent extends CoreUiComponent {
|
|
|
17
18
|
get text(): string | null;
|
|
18
19
|
set text(v: string | null);
|
|
19
20
|
onTextChanged(): void;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
21
|
+
private _readOnly;
|
|
22
|
+
get readOnly(): boolean;
|
|
23
|
+
set readOnly(v: BooleanInput);
|
|
24
|
+
private _hide;
|
|
25
|
+
get hide(): boolean;
|
|
26
|
+
set hide(v: BooleanInput);
|
|
27
|
+
private _showInput;
|
|
28
|
+
get showInput(): boolean;
|
|
29
|
+
set showInput(v: BooleanInput);
|
|
30
|
+
private _multiSelect;
|
|
31
|
+
get multiSelect(): BooleanInput;
|
|
32
|
+
set multiSelect(v: BooleanInput);
|
|
24
33
|
onShowModal: EventEmitter<any>;
|
|
25
34
|
onChooseAll: EventEmitter<any>;
|
|
26
35
|
onKeyPairChange: EventEmitter<KeyPair<any, any>>;
|
|
@@ -1,11 +1,18 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../components';
|
|
2
3
|
import { PrintType } from '../../models/print.model';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class EditToolbarComponent {
|
|
5
6
|
printType: typeof PrintType;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
private _showExport;
|
|
8
|
+
get showExport(): BooleanInput;
|
|
9
|
+
set showExport(v: BooleanInput);
|
|
10
|
+
private _showPrint;
|
|
11
|
+
get showPrint(): BooleanInput;
|
|
12
|
+
set showPrint(v: BooleanInput);
|
|
13
|
+
private _readOnly;
|
|
14
|
+
get readOnly(): boolean;
|
|
15
|
+
set readOnly(v: BooleanInput);
|
|
9
16
|
onSave: EventEmitter<any>;
|
|
10
17
|
onCancel: EventEmitter<any>;
|
|
11
18
|
cancel(): void;
|
|
@@ -1,19 +1,40 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../components';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class GridToolbarComponent {
|
|
4
5
|
model: any;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
private _showEdit;
|
|
7
|
+
get showEdit(): boolean;
|
|
8
|
+
set showEdit(v: BooleanInput);
|
|
9
|
+
private _editEnabled;
|
|
10
|
+
get editEnabled(): boolean;
|
|
11
|
+
set editEnabled(v: BooleanInput);
|
|
12
|
+
private _showDelete;
|
|
13
|
+
get showDelete(): boolean;
|
|
14
|
+
set showDelete(v: BooleanInput);
|
|
15
|
+
private _deleteEnabled;
|
|
16
|
+
get deleteEnabled(): boolean;
|
|
17
|
+
set deleteEnabled(v: BooleanInput);
|
|
18
|
+
private _showRestore;
|
|
19
|
+
get showRestore(): boolean;
|
|
20
|
+
set showRestore(v: BooleanInput);
|
|
21
|
+
private _restoreEnabled;
|
|
22
|
+
get restoreEnabled(): boolean;
|
|
23
|
+
set restoreEnabled(v: BooleanInput);
|
|
11
24
|
approveText: string;
|
|
12
|
-
|
|
13
|
-
|
|
25
|
+
private _showApprove;
|
|
26
|
+
get showApprove(): boolean;
|
|
27
|
+
set showApprove(v: BooleanInput);
|
|
28
|
+
private _approveEnabled;
|
|
29
|
+
get approveEnabled(): boolean;
|
|
30
|
+
set approveEnabled(v: BooleanInput);
|
|
14
31
|
disapproveText: string;
|
|
15
|
-
|
|
16
|
-
|
|
32
|
+
private _showDisapprove;
|
|
33
|
+
get showDisapprove(): boolean;
|
|
34
|
+
set showDisapprove(v: BooleanInput);
|
|
35
|
+
private _disapproveEnabled;
|
|
36
|
+
get disapproveEnabled(): boolean;
|
|
37
|
+
set disapproveEnabled(v: BooleanInput);
|
|
17
38
|
onEdit: EventEmitter<any>;
|
|
18
39
|
edit(): void;
|
|
19
40
|
onDelete: EventEmitter<any>;
|
|
@@ -1,17 +1,30 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
+
import { BooleanInput } from '../../components';
|
|
3
4
|
import { PrintType } from '../../models/print.model';
|
|
4
5
|
import * as i0 from "@angular/core";
|
|
5
6
|
export declare class ListToolbarComponent {
|
|
6
7
|
private readonly router;
|
|
7
8
|
constructor(router: Router);
|
|
8
9
|
printType: typeof PrintType;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
private _isFiltered;
|
|
11
|
+
get isFiltered(): BooleanInput;
|
|
12
|
+
set isFiltered(v: BooleanInput);
|
|
13
|
+
private _showCreate;
|
|
14
|
+
get showCreate(): BooleanInput;
|
|
15
|
+
set showCreate(v: BooleanInput);
|
|
16
|
+
private _showFilter;
|
|
17
|
+
get showFilter(): BooleanInput;
|
|
18
|
+
set showFilter(v: BooleanInput);
|
|
19
|
+
private _showPrint;
|
|
20
|
+
get showPrint(): BooleanInput;
|
|
21
|
+
set showPrint(v: BooleanInput);
|
|
22
|
+
private _showSum;
|
|
23
|
+
get showSum(): BooleanInput;
|
|
24
|
+
set showSum(v: BooleanInput);
|
|
25
|
+
private _showExport;
|
|
26
|
+
get showExport(): boolean;
|
|
27
|
+
set showExport(v: BooleanInput);
|
|
15
28
|
onRefresh: EventEmitter<any>;
|
|
16
29
|
onFilter: EventEmitter<any>;
|
|
17
30
|
refresh(): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import { TranslateService } from '@ngx-translate/core';
|
|
3
|
-
import { CoreComponent } from '../../../components';
|
|
3
|
+
import { BooleanInput, CoreComponent } from '../../../components';
|
|
4
4
|
import { ComponentType } from '../../../utils';
|
|
5
5
|
import { ValidEventArgs } from '../../../models/valid-event-args.model';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -13,10 +13,18 @@ export declare class ModalComponent extends CoreComponent {
|
|
|
13
13
|
hiddenHandler?: number | null;
|
|
14
14
|
model: any;
|
|
15
15
|
readonly elementId: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
private _showOk;
|
|
17
|
+
get showOk(): boolean;
|
|
18
|
+
set showOk(v: BooleanInput);
|
|
19
|
+
private _disabledOk;
|
|
20
|
+
get disabledOk(): boolean;
|
|
21
|
+
set disabledOk(v: BooleanInput);
|
|
22
|
+
private _showCancel;
|
|
23
|
+
get showCancel(): boolean;
|
|
24
|
+
set showCancel(v: BooleanInput);
|
|
25
|
+
private _autoHide;
|
|
26
|
+
get autoHide(): boolean;
|
|
27
|
+
set autoHide(v: BooleanInput);
|
|
20
28
|
title?: string | null;
|
|
21
29
|
text?: string | null;
|
|
22
30
|
icon?: string | null;
|
|
@@ -25,12 +33,24 @@ export declare class ModalComponent extends CoreComponent {
|
|
|
25
33
|
onHidden: EventEmitter<any>;
|
|
26
34
|
onOk: EventEmitter<any>;
|
|
27
35
|
componentType: ComponentType;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
private _large;
|
|
37
|
+
get large(): boolean;
|
|
38
|
+
set large(v: BooleanInput);
|
|
39
|
+
private _xl;
|
|
40
|
+
get xl(): boolean;
|
|
41
|
+
set xl(v: BooleanInput);
|
|
42
|
+
private _scrollable;
|
|
43
|
+
get scrollable(): boolean;
|
|
44
|
+
set scrollable(v: BooleanInput);
|
|
45
|
+
private _fullscreen;
|
|
46
|
+
get fullscreen(): boolean;
|
|
47
|
+
set fullscreen(v: BooleanInput);
|
|
48
|
+
private _showHeader;
|
|
49
|
+
get showHeader(): boolean;
|
|
50
|
+
set showHeader(v: BooleanInput);
|
|
51
|
+
private _showFooter;
|
|
52
|
+
get showFooter(): boolean;
|
|
53
|
+
set showFooter(v: BooleanInput);
|
|
34
54
|
onValidating: EventEmitter<ValidEventArgs>;
|
|
35
55
|
private _modal;
|
|
36
56
|
protected getModalElement(): HTMLElement | null;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
+
import { BooleanInput } from '../../components';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class PageTitleComponent {
|
|
3
4
|
icon?: string;
|
|
4
5
|
title?: string;
|
|
5
|
-
|
|
6
|
+
private _isEditPage;
|
|
7
|
+
get isEditPage(): boolean;
|
|
8
|
+
set isEditPage(v: BooleanInput);
|
|
6
9
|
modelId?: number | null;
|
|
7
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageTitleComponent, never>;
|
|
8
11
|
static ɵcmp: i0.ɵɵComponentDeclaration<PageTitleComponent, "zek-page-title", never, { "icon": "icon"; "title": "title"; "isEditPage": "isEditPage"; "modelId": "modelId"; }, {}, never, never, false>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../../components';
|
|
2
3
|
import { Pager } from '../../../models';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare class PagerComponent {
|
|
5
6
|
pager: Pager;
|
|
6
|
-
|
|
7
|
+
private _showPageSize;
|
|
8
|
+
get showPageSize(): boolean;
|
|
9
|
+
set showPageSize(v: BooleanInput);
|
|
7
10
|
pagerAlign: string;
|
|
8
11
|
setPage(page: number): void;
|
|
9
12
|
setPageSize(pageSize: number): void;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { BooleanInput } from '../../components';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
4
|
export declare class PasswordComponent {
|
|
4
5
|
name: string;
|
|
5
|
-
|
|
6
|
+
private _required;
|
|
7
|
+
get required(): boolean;
|
|
8
|
+
set required(v: BooleanInput);
|
|
6
9
|
minlength: number | string | null;
|
|
7
10
|
maxlength: number | string | null;
|
|
8
11
|
model?: string | null;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { BooleanInput } from '../../components';
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
3
|
export declare class ReadOnlyDirective {
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
_readonly: boolean;
|
|
5
|
+
readonly(v: BooleanInput): void;
|
|
5
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<ReadOnlyDirective, never>;
|
|
6
7
|
static ɵdir: i0.ɵɵDirectiveDeclaration<ReadOnlyDirective, "[readonly],[readOnly]", never, { "readonly": "readonly"; }, {}, never, never, false>;
|
|
7
8
|
}
|