ngx-sumax-erp-components 0.0.1
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/README.md +24 -0
- package/esm2022/lib/date-picker/CustomDatePickerFormat.mjs +43 -0
- package/esm2022/lib/date-picker/CustomDatePickerI18n.mjs +50 -0
- package/esm2022/lib/date-picker/date-picker.component.mjs +366 -0
- package/esm2022/lib/date-picker/date-picker.mjs +3 -0
- package/esm2022/lib/date-picker/date-picker.module.mjs +69 -0
- package/esm2022/lib/date-picker/date-picker.service.mjs +68 -0
- package/esm2022/lib/date-time-picker/date-time-picker.component.mjs +311 -0
- package/esm2022/lib/date-time-picker/date-time-picker.mjs +3 -0
- package/esm2022/lib/date-time-picker/date-time-picker.module.mjs +76 -0
- package/esm2022/lib/date-time-picker/date-time-picker.service.mjs +64 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.component.mjs +1140 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.module.mjs +93 -0
- package/esm2022/lib/date-time-picker-editable/date-time-picker-editable.service.mjs +85 -0
- package/esm2022/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.mjs +283 -0
- package/esm2022/lib/dialog-ag-grid-search/dialog-ag-grid-search.module.mjs +23 -0
- package/esm2022/lib/error-message/error-message.component.mjs +24 -0
- package/esm2022/lib/error-message/error-message.module.mjs +19 -0
- package/esm2022/lib/input-number/input-number.component.mjs +351 -0
- package/esm2022/lib/input-number/input-number.mjs +3 -0
- package/esm2022/lib/input-number/input-number.module.mjs +65 -0
- package/esm2022/lib/input-number/input-number.service.mjs +68 -0
- package/esm2022/lib/input-text/input-text.component.mjs +345 -0
- package/esm2022/lib/input-text/input-text.mjs +3 -0
- package/esm2022/lib/input-text/input-text.module.mjs +73 -0
- package/esm2022/lib/input-text/input-text.service.mjs +96 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.component.mjs +375 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.mjs +3 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.module.mjs +69 -0
- package/esm2022/lib/ng-select-multiple/ng-select-multiple.service.mjs +96 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.component.mjs +461 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.mjs +3 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.module.mjs +53 -0
- package/esm2022/lib/ng-select-simple/ng-select-simple.service.mjs +138 -0
- package/esm2022/lib/sc-ag-grid/cell-editors/container-shared/container-shared.component.mjs +144 -0
- package/esm2022/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayCustom.component.mjs +27 -0
- package/esm2022/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayDefault.component.mjs +22 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-button/sc-cell-render-button.component.mjs +242 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component.mjs +62 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-config.mjs +27 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-select/sc-cell-render-select.component.mjs +70 -0
- package/esm2022/lib/sc-ag-grid/cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component.mjs +45 -0
- package/esm2022/lib/sc-ag-grid/directives/scAgGrid.directive.mjs +25 -0
- package/esm2022/lib/sc-ag-grid/index.mjs +14 -0
- package/esm2022/lib/sc-ag-grid/input-search/input-search.component.mjs +20 -0
- package/esm2022/lib/sc-ag-grid/input-search/input-search.module.mjs +31 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.mjs +564 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.mjs +80 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.module.mjs +31 -0
- package/esm2022/lib/sc-ag-grid/sc-ag-grid.module.mjs +118 -0
- package/esm2022/lib/sc-ag-grid/sc-grid.uitl.mjs +10 -0
- package/esm2022/lib/sc-wizard/sc-wizard.component.mjs +75 -0
- package/esm2022/lib/sc-wizard/sc-wizard.module.mjs +44 -0
- package/esm2022/lib/text-area/text-area.component.mjs +272 -0
- package/esm2022/lib/text-area/text-area.mjs +3 -0
- package/esm2022/lib/text-area/text-area.module.mjs +60 -0
- package/esm2022/lib/text-area/text-area.service.mjs +54 -0
- package/esm2022/lib/tooltip-message/tooltip-message.component.mjs +25 -0
- package/esm2022/lib/tooltip-message/tooltip-message.module.mjs +21 -0
- package/esm2022/lib/utils/DateTimeModel.mjs +56 -0
- package/esm2022/lib/utils/DateTimePickerEditable.mjs +3 -0
- package/esm2022/lib/utils/DateUtil.mjs +196 -0
- package/esm2022/lib/utils/INgSelect.mjs +2 -0
- package/esm2022/lib/utils/IScAgGrid.mjs +7 -0
- package/esm2022/lib/utils/ScWizardBase.mjs +14 -0
- package/esm2022/lib/utils/SharedComponentsUtil.mjs +38 -0
- package/esm2022/lib/utils/ValidateUtil.mjs +18 -0
- package/esm2022/lib/utils/message-util.service.mjs +75 -0
- package/esm2022/ngx-sumax-erp-components.mjs +5 -0
- package/esm2022/public-api.mjs +33 -0
- package/fesm2022/ngx-sumax-erp-components.mjs +7045 -0
- package/fesm2022/ngx-sumax-erp-components.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/date-picker/CustomDatePickerFormat.d.ts +11 -0
- package/lib/date-picker/CustomDatePickerI18n.d.ts +25 -0
- package/lib/date-picker/date-picker.component.d.ts +108 -0
- package/lib/date-picker/date-picker.d.ts +10 -0
- package/lib/date-picker/date-picker.module.d.ts +18 -0
- package/lib/date-picker/date-picker.service.d.ts +22 -0
- package/lib/date-time-picker/date-time-picker.component.d.ts +96 -0
- package/lib/date-time-picker/date-time-picker.d.ts +9 -0
- package/lib/date-time-picker/date-time-picker.module.d.ts +18 -0
- package/lib/date-time-picker/date-time-picker.service.d.ts +20 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.component.d.ts +118 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.module.d.ts +16 -0
- package/lib/date-time-picker-editable/date-time-picker-editable.service.d.ts +27 -0
- package/lib/dialog-ag-grid-search/dialog-ag-grid-search.component.d.ts +82 -0
- package/lib/dialog-ag-grid-search/dialog-ag-grid-search.module.d.ts +13 -0
- package/lib/error-message/error-message.component.d.ts +13 -0
- package/lib/error-message/error-message.module.d.ts +9 -0
- package/lib/input-number/input-number.component.d.ts +74 -0
- package/lib/input-number/input-number.d.ts +10 -0
- package/lib/input-number/input-number.module.d.ts +17 -0
- package/lib/input-number/input-number.service.d.ts +22 -0
- package/lib/input-text/input-text.component.d.ts +85 -0
- package/lib/input-text/input-text.d.ts +17 -0
- package/lib/input-text/input-text.module.d.ts +18 -0
- package/lib/input-text/input-text.service.d.ts +35 -0
- package/lib/ng-select-multiple/ng-select-multiple.component.d.ts +83 -0
- package/lib/ng-select-multiple/ng-select-multiple.d.ts +14 -0
- package/lib/ng-select-multiple/ng-select-multiple.module.d.ts +17 -0
- package/lib/ng-select-multiple/ng-select-multiple.service.d.ts +30 -0
- package/lib/ng-select-simple/ng-select-simple.component.d.ts +124 -0
- package/lib/ng-select-simple/ng-select-simple.d.ts +20 -0
- package/lib/ng-select-simple/ng-select-simple.module.d.ts +17 -0
- package/lib/ng-select-simple/ng-select-simple.service.d.ts +42 -0
- package/lib/sc-ag-grid/cell-editors/container-shared/container-shared.component.d.ts +61 -0
- package/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayCustom.component.d.ts +10 -0
- package/lib/sc-ag-grid/cell-render/no-rows-overlay/noRowsOverlayDefault.component.d.ts +9 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-button/sc-cell-render-button.component.d.ts +49 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component.d.ts +11 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-config.d.ts +20 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-select/sc-cell-render-select.component.d.ts +16 -0
- package/lib/sc-ag-grid/cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component.d.ts +16 -0
- package/lib/sc-ag-grid/directives/scAgGrid.directive.d.ts +10 -0
- package/lib/sc-ag-grid/index.d.ts +13 -0
- package/lib/sc-ag-grid/input-search/input-search.component.d.ts +11 -0
- package/lib/sc-ag-grid/input-search/input-search.module.d.ts +9 -0
- package/lib/sc-ag-grid/sc-ag-grid-customizable/sc-ag-grid-customizable.component.d.ts +191 -0
- package/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.component.d.ts +25 -0
- package/lib/sc-ag-grid/sc-ag-grid-pagination/sc-ag-grid-pagination.module.d.ts +9 -0
- package/lib/sc-ag-grid/sc-ag-grid.module.d.ts +32 -0
- package/lib/sc-ag-grid/sc-grid.uitl.d.ts +5 -0
- package/lib/sc-wizard/sc-wizard.component.d.ts +38 -0
- package/lib/sc-wizard/sc-wizard.module.d.ts +13 -0
- package/lib/text-area/text-area.component.d.ts +66 -0
- package/lib/text-area/text-area.d.ts +8 -0
- package/lib/text-area/text-area.module.d.ts +16 -0
- package/lib/text-area/text-area.service.d.ts +18 -0
- package/lib/tooltip-message/tooltip-message.component.d.ts +13 -0
- package/lib/tooltip-message/tooltip-message.module.d.ts +11 -0
- package/lib/utils/DateTimeModel.d.ts +16 -0
- package/lib/utils/DateTimePickerEditable.d.ts +13 -0
- package/lib/utils/DateUtil.d.ts +37 -0
- package/lib/utils/INgSelect.d.ts +6 -0
- package/lib/utils/IScAgGrid.d.ts +65 -0
- package/lib/utils/ScWizardBase.d.ts +9 -0
- package/lib/utils/SharedComponentsUtil.d.ts +6 -0
- package/lib/utils/ValidateUtil.d.ts +4 -0
- package/lib/utils/message-util.service.d.ts +10 -0
- package/package.json +32 -0
- package/public-api.d.ts +29 -0
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class NgSelectSimpleService {
|
|
3
|
+
private validatorMessage;
|
|
4
|
+
private tooltipMessage;
|
|
5
|
+
private openWhenFocus;
|
|
6
|
+
private searchBy;
|
|
7
|
+
private markFirstItem;
|
|
8
|
+
private submitted;
|
|
9
|
+
private searchable;
|
|
10
|
+
private validatorAlert;
|
|
11
|
+
private upperCase;
|
|
12
|
+
private appendTo;
|
|
13
|
+
private loadingText;
|
|
14
|
+
private clearAllText;
|
|
15
|
+
private markFirst;
|
|
16
|
+
private clearable;
|
|
17
|
+
private clearOnBackspace;
|
|
18
|
+
private virtualScroll;
|
|
19
|
+
private openOnEnter;
|
|
20
|
+
private notFoundText;
|
|
21
|
+
constructor(validatorMessage?: boolean, tooltipMessage?: boolean, openWhenFocus?: boolean, searchBy?: string, markFirstItem?: boolean, submitted?: boolean, searchable?: boolean, validatorAlert?: boolean, upperCase?: boolean, appendTo?: string, loadingText?: string, clearAllText?: string, markFirst?: boolean, clearable?: boolean, clearOnBackspace?: boolean, virtualScroll?: boolean, openOnEnter?: boolean, notFoundText?: string);
|
|
22
|
+
getValidatorMessage(): boolean;
|
|
23
|
+
getTooltipMessage(): boolean;
|
|
24
|
+
getOpenWhenFocus(): boolean;
|
|
25
|
+
getSearchBy(): string;
|
|
26
|
+
getMarkFirstItem(): boolean;
|
|
27
|
+
getSubmitted(): boolean;
|
|
28
|
+
getSearchable(): boolean;
|
|
29
|
+
getValidatorAlert(): boolean;
|
|
30
|
+
getUpperCase(): boolean;
|
|
31
|
+
getAppendTo(): string;
|
|
32
|
+
getLoadingText(): string;
|
|
33
|
+
getClearAllText(): string;
|
|
34
|
+
getMarkFirst(): boolean;
|
|
35
|
+
getClearable(): boolean;
|
|
36
|
+
getClearOnBackspace(): boolean;
|
|
37
|
+
getVirtualScroll(): boolean;
|
|
38
|
+
getOpenOnEnter(): boolean;
|
|
39
|
+
getNotFoundText(): string;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NgSelectSimpleService, never>;
|
|
41
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<NgSelectSimpleService>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { UntypedFormControl, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { AgEditorComponent } from 'ag-grid-angular';
|
|
3
|
+
import { ICellEditorParams } from 'ag-grid-community';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export interface ConfigControl {
|
|
7
|
+
required: boolean;
|
|
8
|
+
label: string;
|
|
9
|
+
typeControl: TypeControl;
|
|
10
|
+
inputMask: string;
|
|
11
|
+
textRight: boolean;
|
|
12
|
+
formatCero: boolean;
|
|
13
|
+
maxLength: number;
|
|
14
|
+
decimals: number;
|
|
15
|
+
clearable: boolean;
|
|
16
|
+
}
|
|
17
|
+
export interface ParamsContainerComponents extends ICellEditorParams {
|
|
18
|
+
width: string;
|
|
19
|
+
items: Observable<any>;
|
|
20
|
+
defaultValue: (data: any) => any;
|
|
21
|
+
validatorsCellEditor: ValidatorFn[] | ValidatorFn;
|
|
22
|
+
fieldValid: string;
|
|
23
|
+
configControl: ConfigControl;
|
|
24
|
+
}
|
|
25
|
+
export declare enum TypeControl {
|
|
26
|
+
INPUT_TEXT = "input-text",
|
|
27
|
+
INPUT_NUMBER = "input-number",
|
|
28
|
+
NG_SELECT_SIMPLE = "ng-select-simple",
|
|
29
|
+
NG_SELECT_MULTIPLE = "ng-select-multiple",
|
|
30
|
+
DATE_PICKER = "date-picker",
|
|
31
|
+
DATE_TIME_PICKER_EDITABLE = "date-time-picker-editable"
|
|
32
|
+
}
|
|
33
|
+
export declare class ContainerSharedComponent implements AgEditorComponent {
|
|
34
|
+
set control(v: any);
|
|
35
|
+
value: any;
|
|
36
|
+
params: Partial<ParamsContainerComponents>;
|
|
37
|
+
label: string;
|
|
38
|
+
width: string;
|
|
39
|
+
items: Observable<never[]>;
|
|
40
|
+
defaultValue: string | null;
|
|
41
|
+
validators: ValidatorFn[] | ValidatorFn;
|
|
42
|
+
required: boolean;
|
|
43
|
+
inputMask: string;
|
|
44
|
+
textRight: boolean;
|
|
45
|
+
decimals: number;
|
|
46
|
+
formatCero: boolean;
|
|
47
|
+
clearable: boolean;
|
|
48
|
+
maxLength: number | undefined;
|
|
49
|
+
typeControl: TypeControl | null;
|
|
50
|
+
formControl: UntypedFormControl;
|
|
51
|
+
constructor();
|
|
52
|
+
agInit(params: ICellEditorParams): void;
|
|
53
|
+
getValue(): any;
|
|
54
|
+
detec(event: KeyboardEvent): void;
|
|
55
|
+
isPopup(): boolean;
|
|
56
|
+
onClick(happy: boolean): void;
|
|
57
|
+
onKeyDown(event: KeyboardEvent): void;
|
|
58
|
+
onFocusOut(): void;
|
|
59
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ContainerSharedComponent, never>;
|
|
60
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ContainerSharedComponent, "container-shared-component", never, {}, {}, never, never, false, never>;
|
|
61
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { INoRowsOverlayAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import { INoRowsOverlayParams } from 'ag-grid-community';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NoRowsOverlayCustomComponent implements INoRowsOverlayAngularComp {
|
|
5
|
+
params: any;
|
|
6
|
+
agInit(params: INoRowsOverlayParams): void;
|
|
7
|
+
onNoRowsClick(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoRowsOverlayCustomComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoRowsOverlayCustomComponent, "edit-delete", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { INoRowsOverlayAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import { INoRowsOverlayParams } from 'ag-grid-community';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class NoRowsOverlayDefaultComponent implements INoRowsOverlayAngularComp {
|
|
5
|
+
params: any;
|
|
6
|
+
agInit(params: INoRowsOverlayParams): void;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NoRowsOverlayDefaultComponent, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<NoRowsOverlayDefaultComponent, "edit-delete", never, {}, {}, never, never, false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { MatMenu } from '@angular/material/menu';
|
|
2
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
3
|
+
import { ICellRendererParams } from 'ag-grid-community';
|
|
4
|
+
import { ConfigButtonAgGrid, DisabledFuc, EnumButtonType, HideFuc, SubMenu, TooltipOption } from '../../../utils/IScAgGrid';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ScCellRenderButtonService {
|
|
7
|
+
private _handlerButtonAction$;
|
|
8
|
+
handlerButtonAction$: import("rxjs").Observable<{
|
|
9
|
+
index: number;
|
|
10
|
+
action: string;
|
|
11
|
+
}>;
|
|
12
|
+
buttonAction(option: {
|
|
13
|
+
index: number;
|
|
14
|
+
action: string;
|
|
15
|
+
}): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRenderButtonService, never>;
|
|
17
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ScCellRenderButtonService>;
|
|
18
|
+
}
|
|
19
|
+
declare abstract class ScCellRenderBase {
|
|
20
|
+
params: ICellRendererParams;
|
|
21
|
+
isFunctionDisabled(value: boolean | DisabledFuc | undefined): boolean;
|
|
22
|
+
isFunctionHide(value: boolean | HideFuc): boolean;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRenderBase, never>;
|
|
24
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScCellRenderBase, never, never, {}, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
26
|
+
export declare class ScMenuPanelComponent extends ScCellRenderBase {
|
|
27
|
+
private readonly _scCellRenderButtonService;
|
|
28
|
+
idScMenuPanel: string;
|
|
29
|
+
menu: MatMenu;
|
|
30
|
+
subMenus: SubMenu[];
|
|
31
|
+
params: ICellRendererParams;
|
|
32
|
+
constructor(_scCellRenderButtonService: ScCellRenderButtonService);
|
|
33
|
+
onButtonActionEmit(action: string): void;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScMenuPanelComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScMenuPanelComponent, "sc-menu-panel", never, { "subMenus": { "alias": "subMenus"; "required": false; }; "params": { "alias": "params"; "required": false; }; }, {}, never, never, false, never>;
|
|
36
|
+
}
|
|
37
|
+
export declare class ScCellRendererButtonComponent extends ScCellRenderBase implements ICellRendererAngularComp {
|
|
38
|
+
idScCellRenderButton: string;
|
|
39
|
+
params: ICellRendererParams;
|
|
40
|
+
configButtons: ConfigButtonAgGrid[];
|
|
41
|
+
agInit(params: ICellRendererParams): void;
|
|
42
|
+
onButtonAction(typeButton: EnumButtonType | string): void;
|
|
43
|
+
refresh(_: any): boolean;
|
|
44
|
+
hideSubMenu(subMenu: SubMenu[]): boolean;
|
|
45
|
+
getTooltipOption(configButtons: ConfigButtonAgGrid): TooltipOption;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRendererButtonComponent, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCellRendererButtonComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
48
|
+
}
|
|
49
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
2
|
+
import { ICellRendererParams } from 'ag-grid-community';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScCellRenderCheckboxListComponent implements ICellRendererAngularComp {
|
|
5
|
+
idScCellRenderCheckboxLis: string;
|
|
6
|
+
params?: ICellRendererParams;
|
|
7
|
+
agInit(params: ICellRendererParams): void;
|
|
8
|
+
refresh(_: any): boolean;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRenderCheckboxListComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCellRenderCheckboxListComponent, "ng-component", never, {}, {}, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { NoRowsOverlayDefaultComponent } from './no-rows-overlay/noRowsOverlayDefault.component';
|
|
2
|
+
import { ScCellRendererButtonComponent, ScMenuPanelComponent } from './sc-cell-render-button/sc-cell-render-button.component';
|
|
3
|
+
import { ScCellRenderCheckboxListComponent } from './sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component';
|
|
4
|
+
import { ScCellRenderSelectComponent } from './sc-cell-render-select/sc-cell-render-select.component';
|
|
5
|
+
import { ScCellRenderToggleComponent } from './sc-cell-render-toggle/sc-cell-render-toggle.component';
|
|
6
|
+
export declare const scCellRendererFramework: {
|
|
7
|
+
scCellRendererButtonComponent: typeof ScCellRendererButtonComponent;
|
|
8
|
+
scCellRenderCheckboxListComponent: typeof ScCellRenderCheckboxListComponent;
|
|
9
|
+
scCellRenderSelectComponent: typeof ScCellRenderSelectComponent;
|
|
10
|
+
scCellRenderToggleComponent: typeof ScCellRenderToggleComponent;
|
|
11
|
+
noRowsOverlayDefault: typeof NoRowsOverlayDefaultComponent;
|
|
12
|
+
};
|
|
13
|
+
export declare const scCellRendererComponents: (typeof ScMenuPanelComponent | typeof ScCellRendererButtonComponent | typeof ScCellRenderCheckboxListComponent | typeof ScCellRenderSelectComponent | typeof ScCellRenderToggleComponent)[];
|
|
14
|
+
export declare const scComponents: {
|
|
15
|
+
scCellRendererButtonComponent: typeof ScCellRendererButtonComponent;
|
|
16
|
+
scCellRenderCheckboxListComponent: typeof ScCellRenderCheckboxListComponent;
|
|
17
|
+
scCellRenderSelectComponent: typeof ScCellRenderSelectComponent;
|
|
18
|
+
scCellRenderToggleComponent: typeof ScCellRenderToggleComponent;
|
|
19
|
+
noRowsOverlayDefault: typeof ScMenuPanelComponent;
|
|
20
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
3
|
+
import { ICellRendererParams } from 'ag-grid-community';
|
|
4
|
+
import { Observable } from 'rxjs';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ScCellRenderSelectComponent implements ICellRendererAngularComp {
|
|
7
|
+
private _params;
|
|
8
|
+
items$: Observable<any>;
|
|
9
|
+
formControl: FormControl<any>;
|
|
10
|
+
agInit(params: ICellRendererParams): void;
|
|
11
|
+
refresh(_: ICellRendererParams): boolean;
|
|
12
|
+
getValue(): any;
|
|
13
|
+
onChange(_: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRenderSelectComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCellRenderSelectComponent, "sc-cell-render-select", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { MatSlideToggleChange } from '@angular/material/slide-toggle';
|
|
2
|
+
import { ICellRendererAngularComp } from 'ag-grid-angular';
|
|
3
|
+
import { ICellRendererParams } from 'ag-grid-community';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ScCellRenderToggleComponent implements ICellRendererAngularComp {
|
|
6
|
+
private _params;
|
|
7
|
+
checkbox: boolean;
|
|
8
|
+
disabled: boolean;
|
|
9
|
+
label: string;
|
|
10
|
+
agInit(params: ICellRendererParams): void;
|
|
11
|
+
refresh(_: ICellRendererParams): boolean;
|
|
12
|
+
getValue(): boolean;
|
|
13
|
+
onChange(change: MatSlideToggleChange): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScCellRenderToggleComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScCellRenderToggleComponent, "sc-cell-render-toggle", never, {}, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { InjectionToken, TemplateRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare const SC_AG_GRID_BUTTON_HEADER: InjectionToken<ScAgGridButtonHeader>;
|
|
4
|
+
export declare class ScAgGridButtonHeader {
|
|
5
|
+
template: TemplateRef<any>;
|
|
6
|
+
content: TemplateRef<any>;
|
|
7
|
+
constructor(template: TemplateRef<any>);
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAgGridButtonHeader, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ScAgGridButtonHeader, "ng-template[scAgridButtonHeader]", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export * from '../dialog-ag-grid-search/dialog-ag-grid-search.component';
|
|
2
|
+
export * from '../utils/IScAgGrid';
|
|
3
|
+
export * from './cell-editors/container-shared/container-shared.component';
|
|
4
|
+
export * from './cell-render/no-rows-overlay/noRowsOverlayCustom.component';
|
|
5
|
+
export * from './cell-render/no-rows-overlay/noRowsOverlayDefault.component';
|
|
6
|
+
export * from './cell-render/sc-cell-render-button/sc-cell-render-button.component';
|
|
7
|
+
export * from './cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component';
|
|
8
|
+
export * from './cell-render/sc-cell-render-select/sc-cell-render-select.component';
|
|
9
|
+
export * from './cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component';
|
|
10
|
+
export * from './directives/scAgGrid.directive';
|
|
11
|
+
export * from './sc-ag-grid-customizable/sc-ag-grid-customizable.component';
|
|
12
|
+
export * from './sc-ag-grid.module';
|
|
13
|
+
export * from './sc-grid.uitl';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { FormControl } from '@angular/forms';
|
|
2
|
+
import { Subscription } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InputSearchComponent {
|
|
5
|
+
onChange: import("@angular/core").OutputEmitterRef<any>;
|
|
6
|
+
_subscription: Subscription;
|
|
7
|
+
formControl: FormControl<string | null>;
|
|
8
|
+
constructor();
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchComponent, "input-search", never, {}, { "onChange": "onChange"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-search.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class InputSearchModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputSearchModule, [typeof i1.InputSearchComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule], [typeof i1.InputSearchComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputSearchModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { ElementRef, EventEmitter, OnChanges, OnDestroy, OnInit, QueryList, SimpleChanges } from "@angular/core";
|
|
2
|
+
import { MatMenuTrigger } from "@angular/material/menu";
|
|
3
|
+
import { CellContextMenuEvent, CellEditingStoppedEvent, CellKeyDownEvent, CellValueChangedEvent, ColDef, GridApi, GridReadyEvent, IRowNode, IsRowSelectable, RowClickedEvent, RowDataUpdatedEvent, RowDoubleClickedEvent, RowDragEvent, RowEditingStartedEvent, RowSelectedEvent } from "ag-grid-community";
|
|
4
|
+
import { Observable, Subscription } from "rxjs";
|
|
5
|
+
import { ButtonHeader, ConfigButtonAction, ConfigButtonAgGrid, ConfigButtonHeader, GetRowStyle, RowSelection } from "../../utils/IScAgGrid";
|
|
6
|
+
import { ScAgGridButtonHeader } from "../directives/scAgGrid.directive";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ScAgGridCustomizableComponent implements OnInit, OnChanges, OnDestroy {
|
|
9
|
+
viewChildrenButtonHeaders: QueryList<ScAgGridButtonHeader>;
|
|
10
|
+
menuTrigger?: MatMenuTrigger;
|
|
11
|
+
private _scAgGridPagination?;
|
|
12
|
+
buttonAdd?: ElementRef<HTMLButtonElement>;
|
|
13
|
+
get buttonAddElement(): HTMLButtonElement | null;
|
|
14
|
+
idScAgGridCustomizableComponent: string;
|
|
15
|
+
isRowSelectable: IsRowSelectable;
|
|
16
|
+
searchClass: string;
|
|
17
|
+
getRowStyle: GetRowStyle;
|
|
18
|
+
fillSearch: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @description Cantidad de items que se mostrará por página
|
|
21
|
+
* @default 15
|
|
22
|
+
*/
|
|
23
|
+
paginationPageSize: number;
|
|
24
|
+
searchWidth: string;
|
|
25
|
+
/**
|
|
26
|
+
* @description Opciones de tamaño de página
|
|
27
|
+
* @default [5, 10, 15, 20, 25]
|
|
28
|
+
*/
|
|
29
|
+
pageSizeOptions: number[];
|
|
30
|
+
/**
|
|
31
|
+
* @description Si el valor es `true` muestra la paginación
|
|
32
|
+
* @default true
|
|
33
|
+
*/
|
|
34
|
+
pagination: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* @description Tipo de selecion en la `grilla`s
|
|
37
|
+
* @default 'simple'
|
|
38
|
+
*/
|
|
39
|
+
rowSelection: RowSelection;
|
|
40
|
+
get suppressRowClickSelection(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* @description Array de columnas que se mostrara en la `grilla`
|
|
43
|
+
* @default undefined
|
|
44
|
+
*/
|
|
45
|
+
columnDefs: ColDef[];
|
|
46
|
+
/**
|
|
47
|
+
* @description Array de datos que se mostrara en la `grilla`
|
|
48
|
+
* @default null
|
|
49
|
+
*/
|
|
50
|
+
rowData: Observable<any[]>;
|
|
51
|
+
configButtonsAction: ConfigButtonAction;
|
|
52
|
+
get configHeader(): ConfigButtonHeader | null;
|
|
53
|
+
defaultCellRendererActions: string | undefined;
|
|
54
|
+
_configButtonsDefaultAgGrid: ConfigButtonAgGrid[];
|
|
55
|
+
/**
|
|
56
|
+
* @description Si el valor es `true` muestra el `buscador`
|
|
57
|
+
* @default true
|
|
58
|
+
*/
|
|
59
|
+
visibleSearch: boolean;
|
|
60
|
+
domLayout: "normal" | "autoHeight";
|
|
61
|
+
height: string;
|
|
62
|
+
/**
|
|
63
|
+
* @description Cpnfiguración para el boton `Agregar`
|
|
64
|
+
* @default { visible: true, disabled: false }
|
|
65
|
+
*/
|
|
66
|
+
btnAdd: ButtonHeader;
|
|
67
|
+
/**
|
|
68
|
+
* @description Para activar o descativar el drag & drop
|
|
69
|
+
* @default false
|
|
70
|
+
*/
|
|
71
|
+
rowDragManaged: boolean;
|
|
72
|
+
/**
|
|
73
|
+
* @description Para activar o descativar las animaciones
|
|
74
|
+
* @default false
|
|
75
|
+
*/
|
|
76
|
+
animateRows: boolean;
|
|
77
|
+
useGridCopy: boolean;
|
|
78
|
+
multiSortKey: any;
|
|
79
|
+
showMenuDefault: boolean;
|
|
80
|
+
enableCellTextSelection: boolean;
|
|
81
|
+
suppressRowTransform: boolean;
|
|
82
|
+
enableRangeSelection: boolean;
|
|
83
|
+
noRowsOverlayComponent: string;
|
|
84
|
+
noRowsOverlayComponentParams: {};
|
|
85
|
+
validatePasteCell?: (evtSource: CellKeyDownEvent, evtTarget: CellKeyDownEvent) => Promise<boolean>;
|
|
86
|
+
validatePasteRows?: (evtSource: IRowNode[], evtTarget: IRowNode[]) => Promise<boolean>;
|
|
87
|
+
/**
|
|
88
|
+
* @description Para agregar componentes internos dentro de la grilla
|
|
89
|
+
*/
|
|
90
|
+
set frameworkComponents(value: any);
|
|
91
|
+
/**
|
|
92
|
+
* @description Para poder agregar más objetos al contexto
|
|
93
|
+
*/
|
|
94
|
+
set context(value: any);
|
|
95
|
+
onChangeFilter: EventEmitter<string>;
|
|
96
|
+
onAddRow: EventEmitter<GridApi<any>>;
|
|
97
|
+
onGridAddRow: EventEmitter<CellKeyDownEvent<any, any>>;
|
|
98
|
+
onEditRow: EventEmitter<IRowNode<any>>;
|
|
99
|
+
onDeleteRow: EventEmitter<[GridApi<any>, any[]]>;
|
|
100
|
+
onCellKeyDown: EventEmitter<any>;
|
|
101
|
+
onCellStopEditing: EventEmitter<any>;
|
|
102
|
+
onButtonActionAgGrid: EventEmitter<[string, IRowNode<any>]>;
|
|
103
|
+
onButtonActionHeader: EventEmitter<[string, any[]]>;
|
|
104
|
+
onGridReady: EventEmitter<[GridApi<any>]>;
|
|
105
|
+
onGridSelectChange: EventEmitter<any[]>;
|
|
106
|
+
onGridChange: EventEmitter<[GridApi<any>, RowDataUpdatedEvent<any, any>]>;
|
|
107
|
+
onRowDragEnd: EventEmitter<RowDragEvent<any, any>>;
|
|
108
|
+
onRowEditingStarted: EventEmitter<RowEditingStartedEvent<any, any>>;
|
|
109
|
+
rowClicked: EventEmitter<RowClickedEvent<any, any>>;
|
|
110
|
+
rowDoubleClicked: EventEmitter<RowDoubleClickedEvent<any, any>>;
|
|
111
|
+
onRowSelected: EventEmitter<RowSelectedEvent<any, any>>;
|
|
112
|
+
cellValueChanged: EventEmitter<CellValueChangedEvent<any, any>>;
|
|
113
|
+
onCellContextMenu: EventEmitter<CellContextMenuEvent<any, any>>;
|
|
114
|
+
onPasteMenu: EventEmitter<CellContextMenuEvent<any, any>>;
|
|
115
|
+
onCopyMenu: EventEmitter<CellContextMenuEvent<any, any>>;
|
|
116
|
+
afterPasteCell: EventEmitter<[CellKeyDownEvent<any, any>, CellKeyDownEvent<any, any>]>;
|
|
117
|
+
beforePasteCell: EventEmitter<[CellKeyDownEvent<any, any>, CellKeyDownEvent<any, any>]>;
|
|
118
|
+
afterPasteRows: EventEmitter<[IRowNode<any>[], IRowNode<any>[]]>;
|
|
119
|
+
beforePasteRows: EventEmitter<[IRowNode<any>[], IRowNode<any>[]]>;
|
|
120
|
+
columnDefsAndAddCellActions: ColDef[];
|
|
121
|
+
defaultColDef: ColDef;
|
|
122
|
+
_frameworkComponents: {
|
|
123
|
+
scCellRendererButtonComponent: typeof import("../cell-render/sc-cell-render-button/sc-cell-render-button.component").ScCellRendererButtonComponent;
|
|
124
|
+
scCellRenderCheckboxListComponent: typeof import("ngx-sumax-erp-components").ScCellRenderCheckboxListComponent;
|
|
125
|
+
scCellRenderSelectComponent: typeof import("ngx-sumax-erp-components").ScCellRenderSelectComponent;
|
|
126
|
+
scCellRenderToggleComponent: typeof import("ngx-sumax-erp-components").ScCellRenderToggleComponent;
|
|
127
|
+
noRowsOverlayDefault: typeof import("../cell-render/sc-cell-render-button/sc-cell-render-button.component").ScMenuPanelComponent;
|
|
128
|
+
};
|
|
129
|
+
_context: {
|
|
130
|
+
componentParent: any;
|
|
131
|
+
};
|
|
132
|
+
bottomMenu: string;
|
|
133
|
+
leftMenu: string;
|
|
134
|
+
hiddenMenu: boolean;
|
|
135
|
+
copiedCell?: CellKeyDownEvent;
|
|
136
|
+
copiedRow?: IRowNode[];
|
|
137
|
+
overlayNoRowsTemplate: string;
|
|
138
|
+
overlayLoadingTemplate: string;
|
|
139
|
+
suppressDragLeaveHidesColumns: boolean;
|
|
140
|
+
suppressScrollOnNewData: boolean;
|
|
141
|
+
suppressPaginationPanel: boolean;
|
|
142
|
+
get ngStyleContainer(): {
|
|
143
|
+
width: string;
|
|
144
|
+
height: string;
|
|
145
|
+
};
|
|
146
|
+
get ngStyleAgGrid(): {
|
|
147
|
+
width: string;
|
|
148
|
+
height: string;
|
|
149
|
+
};
|
|
150
|
+
_subscription$: Subscription;
|
|
151
|
+
progressVisibled: boolean;
|
|
152
|
+
gridApi: GridApi;
|
|
153
|
+
_subscriptionRowData$?: Subscription;
|
|
154
|
+
selectedRows: any[];
|
|
155
|
+
cellContextMenuActual?: CellContextMenuEvent;
|
|
156
|
+
private _scCellRenderButtonService;
|
|
157
|
+
private _messageUtilService;
|
|
158
|
+
ngOnInit(): void;
|
|
159
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
160
|
+
ngOnDestroy(): void;
|
|
161
|
+
onButtonActionHeaderEmit(typeButton: string): void;
|
|
162
|
+
initActionButton(): void;
|
|
163
|
+
sizeFitColumnAction(): void;
|
|
164
|
+
private _hideAgGridMenuAction;
|
|
165
|
+
private _hideFunc;
|
|
166
|
+
onButtonActionAgGridEmit(rowIndex: number, typeButton: string): void;
|
|
167
|
+
initRowData(): void;
|
|
168
|
+
changeFilter(value: string): void;
|
|
169
|
+
onAddRowEmit(): void;
|
|
170
|
+
hideHeaderMenuAction(): boolean;
|
|
171
|
+
paginationChanged(): void;
|
|
172
|
+
gridReady(event: GridReadyEvent): void;
|
|
173
|
+
/**
|
|
174
|
+
* @param event: opcional - Contiene el nodo y la data de la fila actual.
|
|
175
|
+
* @description Se dispara cada vez que la fila es colocada en su nueva posición (Drag & Drop).
|
|
176
|
+
*/
|
|
177
|
+
rowDragEndEmit(event: RowDragEvent): void;
|
|
178
|
+
cellContextMenu(event: CellContextMenuEvent): void;
|
|
179
|
+
rowDataChanged(event: RowDataUpdatedEvent): void;
|
|
180
|
+
selectionChanged(): void;
|
|
181
|
+
cellStopEditing(evt: CellEditingStoppedEvent): void;
|
|
182
|
+
cellKeyDown(evt: CellKeyDownEvent): Promise<void>;
|
|
183
|
+
copy(evt: CellKeyDownEvent): void;
|
|
184
|
+
paste(evt: CellKeyDownEvent): Promise<void>;
|
|
185
|
+
copyMenu(event: CellContextMenuEvent): void;
|
|
186
|
+
pasteMenu(event: CellContextMenuEvent): void;
|
|
187
|
+
get disabledPasteMenu(): boolean;
|
|
188
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAgGridCustomizableComponent, never>;
|
|
189
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAgGridCustomizableComponent, "sc-ag-grid-customizable", never, { "isRowSelectable": { "alias": "isRowSelectable"; "required": false; }; "getRowStyle": { "alias": "getRowStyle"; "required": false; }; "fillSearch": { "alias": "fillSearch"; "required": false; }; "paginationPageSize": { "alias": "paginationPageSize"; "required": false; }; "searchWidth": { "alias": "searchWidth"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "pagination": { "alias": "pagination"; "required": false; }; "rowSelection": { "alias": "rowSelection"; "required": false; }; "columnDefs": { "alias": "columnDefs"; "required": false; }; "rowData": { "alias": "rowData"; "required": false; }; "configButtonsAction": { "alias": "configButtonsAction"; "required": false; }; "defaultCellRendererActions": { "alias": "defaultCellRendererActions"; "required": false; }; "visibleSearch": { "alias": "visibleSearch"; "required": false; }; "domLayout": { "alias": "domLayout"; "required": false; }; "height": { "alias": "height"; "required": false; }; "btnAdd": { "alias": "btnAdd"; "required": false; }; "rowDragManaged": { "alias": "rowDragManaged"; "required": false; }; "animateRows": { "alias": "animateRows"; "required": false; }; "useGridCopy": { "alias": "useGridCopy"; "required": false; }; "multiSortKey": { "alias": "multiSortKey"; "required": false; }; "showMenuDefault": { "alias": "showMenuDefault"; "required": false; }; "enableCellTextSelection": { "alias": "enableCellTextSelection"; "required": false; }; "suppressRowTransform": { "alias": "suppressRowTransform"; "required": false; }; "enableRangeSelection": { "alias": "enableRangeSelection"; "required": false; }; "noRowsOverlayComponent": { "alias": "noRowsOverlayComponent"; "required": false; }; "noRowsOverlayComponentParams": { "alias": "noRowsOverlayComponentParams"; "required": false; }; "validatePasteCell": { "alias": "validatePasteCell"; "required": false; }; "validatePasteRows": { "alias": "validatePasteRows"; "required": false; }; "frameworkComponents": { "alias": "frameworkComponents"; "required": false; }; "context": { "alias": "context"; "required": false; }; "overlayNoRowsTemplate": { "alias": "overlayNoRowsTemplate"; "required": false; }; }, { "onChangeFilter": "onChangeFilter"; "onAddRow": "onAddRow"; "onGridAddRow": "onGridAddRow"; "onEditRow": "onEditRow"; "onDeleteRow": "onDeleteRow"; "onCellKeyDown": "onCellKeyDown"; "onCellStopEditing": "onCellStopEditing"; "onButtonActionAgGrid": "onButtonActionAgGrid"; "onButtonActionHeader": "onButtonActionHeader"; "onGridReady": "onGridReady"; "onGridSelectChange": "onGridSelectChange"; "onGridChange": "onGridChange"; "onRowDragEnd": "onRowDragEnd"; "onRowEditingStarted": "onRowEditingStarted"; "rowClicked": "rowClicked"; "rowDoubleClicked": "rowDoubleClicked"; "onRowSelected": "onRowSelected"; "cellValueChanged": "cellValueChanged"; "onCellContextMenu": "onCellContextMenu"; "onPasteMenu": "onPasteMenu"; "onCopyMenu": "onCopyMenu"; "afterPasteCell": "afterPasteCell"; "beforePasteCell": "beforePasteCell"; "afterPasteRows": "afterPasteRows"; "beforePasteRows": "beforePasteRows"; }, ["viewChildrenButtonHeaders"], never, false, never>;
|
|
190
|
+
}
|
|
191
|
+
export declare function isObjEmpty<T>(object: T): boolean;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
|
+
import { GridApi } from 'ag-grid-community';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ScAgGridPaginationComponent implements OnInit {
|
|
5
|
+
private readonly _changeRef;
|
|
6
|
+
idScAgGridPaginationComponent: string;
|
|
7
|
+
paginationPageSize: number;
|
|
8
|
+
gridApi?: GridApi;
|
|
9
|
+
pageSizeOptions: number[];
|
|
10
|
+
_pageFrom: number;
|
|
11
|
+
_pageUp: number;
|
|
12
|
+
_pageFound: boolean;
|
|
13
|
+
pages: number[];
|
|
14
|
+
constructor(_changeRef: ChangeDetectorRef);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
onPaginationGoToFirstPage(): void;
|
|
17
|
+
onPaginationGoToPreviousPage(): void;
|
|
18
|
+
onPaginationGoToPage(page: number): void;
|
|
19
|
+
onPaginationGoToNextPage(): void;
|
|
20
|
+
onPaginationGoToLastPage(): void;
|
|
21
|
+
onPageSizeChanged(evt: any): void;
|
|
22
|
+
onPaginationChanged(): void;
|
|
23
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAgGridPaginationComponent, never>;
|
|
24
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScAgGridPaginationComponent, "sc-ag-grid-pagination", never, { "paginationPageSize": { "alias": "paginationPageSize"; "required": false; }; "gridApi": { "alias": "gridApi"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; }, {}, never, never, false, never>;
|
|
25
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sc-ag-grid-pagination.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
export declare class ScAgGridPaginationModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAgGridPaginationModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScAgGridPaginationModule, [typeof i1.ScAgGridPaginationComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule], [typeof i1.ScAgGridPaginationComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScAgGridPaginationModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sc-ag-grid-customizable/sc-ag-grid-customizable.component";
|
|
3
|
+
import * as i2 from "./cell-editors/container-shared/container-shared.component";
|
|
4
|
+
import * as i3 from "./cell-render/no-rows-overlay/noRowsOverlayDefault.component";
|
|
5
|
+
import * as i4 from "./cell-render/no-rows-overlay/noRowsOverlayCustom.component";
|
|
6
|
+
import * as i5 from "./cell-render/sc-cell-render-button/sc-cell-render-button.component";
|
|
7
|
+
import * as i6 from "./cell-render/sc-cell-render-checkbox-list/sc-cell-render-checkbox-list.component";
|
|
8
|
+
import * as i7 from "./cell-render/sc-cell-render-select/sc-cell-render-select.component";
|
|
9
|
+
import * as i8 from "./cell-render/sc-cell-render-toggle/sc-cell-render-toggle.component";
|
|
10
|
+
import * as i9 from "./directives/scAgGrid.directive";
|
|
11
|
+
import * as i10 from "@angular/common";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "ag-grid-angular";
|
|
14
|
+
import * as i13 from "@angular/material/menu";
|
|
15
|
+
import * as i14 from "@angular/material/icon";
|
|
16
|
+
import * as i15 from "@angular/material/dialog";
|
|
17
|
+
import * as i16 from "@angular/material/tooltip";
|
|
18
|
+
import * as i17 from "@angular/material/checkbox";
|
|
19
|
+
import * as i18 from "@angular/material/slide-toggle";
|
|
20
|
+
import * as i19 from "@angular/material/progress-bar";
|
|
21
|
+
import * as i20 from "../ng-select-simple/ng-select-simple.module";
|
|
22
|
+
import * as i21 from "../input-text/input-text.module";
|
|
23
|
+
import * as i22 from "../input-number/input-number.module";
|
|
24
|
+
import * as i23 from "../date-picker/date-picker.module";
|
|
25
|
+
import * as i24 from "../date-time-picker-editable/date-time-picker-editable.module";
|
|
26
|
+
import * as i25 from "./sc-ag-grid-pagination/sc-ag-grid-pagination.module";
|
|
27
|
+
import * as i26 from "./input-search/input-search.module";
|
|
28
|
+
export declare class ScAgGridModule {
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScAgGridModule, never>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScAgGridModule, [typeof i1.ScAgGridCustomizableComponent, typeof i2.ContainerSharedComponent, typeof i3.NoRowsOverlayDefaultComponent, typeof i4.NoRowsOverlayCustomComponent, typeof i5.ScCellRendererButtonComponent, typeof i6.ScCellRenderCheckboxListComponent, typeof i7.ScCellRenderSelectComponent, typeof i8.ScCellRenderToggleComponent, typeof i5.ScMenuPanelComponent, typeof i9.ScAgGridButtonHeader], [typeof i10.CommonModule, typeof i11.FormsModule, typeof i11.ReactiveFormsModule, typeof i12.AgGridModule, typeof i13.MatMenuModule, typeof i14.MatIconModule, typeof i15.MatDialogModule, typeof i16.MatTooltipModule, typeof i17.MatCheckboxModule, typeof i18.MatSlideToggleModule, typeof i19.MatProgressBarModule, typeof i20.NgSelectSimpleModule, typeof i21.InputTextModule, typeof i22.InputNumberModule, typeof i23.DatePickerModule, typeof i24.DateTimePickerEditableModule, typeof i25.ScAgGridPaginationModule, typeof i26.InputSearchModule], [typeof i1.ScAgGridCustomizableComponent, typeof i2.ContainerSharedComponent, typeof i9.ScAgGridButtonHeader]>;
|
|
31
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScAgGridModule>;
|
|
32
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export type JustyfyContent = 'start' | 'end' | 'center' | 'between' | 'around';
|
|
2
|
+
export type AlignItems = 'start' | 'end' | 'center' | 'baseline' | 'stretch';
|
|
3
|
+
export declare function setClassFlex(justifyContent: JustyfyContent, alignItems: AlignItems): string;
|
|
4
|
+
export declare function bodyContentCenter(): string;
|
|
5
|
+
export declare function bodyContentRight(): string;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
2
|
+
import { CdkStepper } from "@angular/cdk/stepper";
|
|
3
|
+
import { ChangeDetectorRef, ElementRef, EventEmitter, SimpleChanges } from "@angular/core";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type LabelType = {
|
|
6
|
+
id?: number;
|
|
7
|
+
title: string;
|
|
8
|
+
subtitle?: string;
|
|
9
|
+
subtitleStyleActive?: {
|
|
10
|
+
[klass: string]: any;
|
|
11
|
+
} | null;
|
|
12
|
+
subtitleClassActive?: string | string[] | Set<string> | {
|
|
13
|
+
[klass: string]: any;
|
|
14
|
+
};
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
visibility?: boolean;
|
|
17
|
+
icon?: string;
|
|
18
|
+
};
|
|
19
|
+
export declare class ScWizardComponent extends CdkStepper {
|
|
20
|
+
private changeDetectorRef;
|
|
21
|
+
_isStepSet: boolean;
|
|
22
|
+
private readonly _scWizardContainer;
|
|
23
|
+
clickStepEmit: EventEmitter<number>;
|
|
24
|
+
hasAutoFillSteps: boolean;
|
|
25
|
+
hasSkeleton: boolean;
|
|
26
|
+
showArrows: boolean;
|
|
27
|
+
subWizard: boolean;
|
|
28
|
+
baseSubWizard: number;
|
|
29
|
+
showExpanded: boolean;
|
|
30
|
+
isExpanded: boolean;
|
|
31
|
+
stepNavigationHandler: ((stepNumber: number, cdkStepper: CdkStepper) => void) | null;
|
|
32
|
+
constructor(dir: Directionality, changeDetectorRef: ChangeDetectorRef, elementRef: ElementRef<HTMLElement>);
|
|
33
|
+
convertLabelToType(label: string): LabelType;
|
|
34
|
+
goTo: (stepToMove: number) => void;
|
|
35
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
36
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScWizardComponent, [{ optional: true; }, null, null]>;
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScWizardComponent, "sc-wizard", never, { "hasAutoFillSteps": { "alias": "hasAutoFillSteps"; "required": false; }; "hasSkeleton": { "alias": "hasSkeleton"; "required": false; }; "showArrows": { "alias": "showArrows"; "required": false; }; "subWizard": { "alias": "subWizard"; "required": false; }; "baseSubWizard": { "alias": "baseSubWizard"; "required": false; }; "showExpanded": { "alias": "showExpanded"; "required": false; }; "stepNavigationHandler": { "alias": "stepNavigationHandler"; "required": false; }; }, { "clickStepEmit": "clickStepEmit"; }, never, never, false, never>;
|
|
38
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sc-wizard.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "@angular/cdk/stepper";
|
|
6
|
+
import * as i5 from "@angular/material/button";
|
|
7
|
+
import * as i6 from "@angular/material/icon";
|
|
8
|
+
import * as i7 from "@angular/material/tooltip";
|
|
9
|
+
export declare class ScWizardModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScWizardModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ScWizardModule, [typeof i1.ScWizardComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.CdkStepperModule, typeof i5.MatButtonModule, typeof i6.MatIconModule, typeof i7.MatTooltipModule], [typeof i1.ScWizardComponent, typeof i4.CdkStepperModule]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ScWizardModule>;
|
|
13
|
+
}
|