keevo-components 1.8.160 → 1.8.162
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 -24
- package/esm2022/lib/api/base-components/base-component-button.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-chart.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-crud-form.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-crud-list.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-crud.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-dropdown-external.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-dropdown.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-input.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-multi-select.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component-table.mjs +1 -1
- package/esm2022/lib/api/base-components/base-component.mjs +1 -1
- package/esm2022/lib/api/components/chart/chart.config.mjs +1 -1
- package/esm2022/lib/api/components/chart/chart.model.mjs +1 -1
- package/esm2022/lib/api/components/chart/orchart.config.mjs +1 -1
- package/esm2022/lib/api/components/chart/orchart.item.mjs +1 -1
- package/esm2022/lib/api/components/dropdown/filtro.combo.mjs +1 -1
- package/esm2022/lib/api/components/stepper/kv-stepperpanel.mjs +2 -0
- package/esm2022/lib/api/components/table/action-item.mjs +1 -1
- package/esm2022/lib/api/components/table/kv-menuitem.mjs +1 -1
- package/esm2022/lib/api/components/table/table-dropdown-control.mjs +1 -1
- package/esm2022/lib/api/components/table/table.config.column.mjs +1 -1
- package/esm2022/lib/api/components/table/table.config.mjs +1 -1
- package/esm2022/lib/api/components/table/table.paginate.mjs +1 -1
- package/esm2022/lib/api/components/table/tabledit.config.mjs +1 -1
- package/esm2022/lib/api/components/table/tableedit.config.column.mjs +1 -1
- package/esm2022/lib/api/components/tree-table/tree-table.config.mjs +1 -1
- package/esm2022/lib/api/directives/directives.module.mjs +30 -0
- package/esm2022/lib/api/directives/drag/drag.directive.mjs +52 -0
- package/esm2022/lib/api/directives/stepper/dynamicinput.directive.mjs +31 -0
- package/esm2022/lib/api/directives/template/template.directive.mjs +1 -1
- package/esm2022/lib/api/helpers/component-providers.mjs +1 -1
- package/esm2022/lib/api/helpers/keevo-validators.mjs +1 -1
- package/esm2022/lib/api/helpers/translate-primeng.mjs +1 -1
- package/esm2022/lib/api/modules/primeng.module.mjs +12 -4
- package/esm2022/lib/api/pipes/capitalize.pipe.mjs +1 -1
- package/esm2022/lib/api/pipes/cpfcnpj.pipe.mjs +1 -1
- package/esm2022/lib/api/pipes/mask.pipe.mjs +1 -1
- package/esm2022/lib/api/pipes/pipes.module.mjs +1 -1
- package/esm2022/lib/api/pipes/telefone.pipe.mjs +1 -1
- package/esm2022/lib/api/services/base.api.service.mjs +1 -1
- package/esm2022/lib/api/services/breadcrumbs.service.mjs +1 -1
- package/esm2022/lib/api/services/component.service.mjs +1 -1
- package/esm2022/lib/api/services/docs.service.mjs +1 -1
- package/esm2022/lib/api/services/form.service.mjs +1 -1
- package/esm2022/lib/api/services/imagens.service.mjs +1 -1
- package/esm2022/lib/api/services/notification.service.mjs +1 -1
- package/esm2022/lib/api/services/object.service.mjs +1 -1
- package/esm2022/lib/api/types/severity.mjs +1 -1
- package/esm2022/lib/components/keevo-components.module.mjs +1 -1
- package/esm2022/lib/components/kv-avatar/kv-avatar.component.mjs +3 -3
- package/esm2022/lib/components/kv-avatar/kv-avatar.module.mjs +1 -1
- package/esm2022/lib/components/kv-buttons/kv-button-personalize/kv-button-personalize.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.mjs +3 -6
- package/esm2022/lib/components/kv-buttons/kv-button-secondary/kv-button-secondary.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button-success/kv-button-success.component.mjs +3 -3
- package/esm2022/lib/components/kv-buttons/kv-button.module.mjs +1 -1
- package/esm2022/lib/components/kv-carousel/kv-carousel.component.mjs +3 -3
- package/esm2022/lib/components/kv-carousel/kv-carousel.module.mjs +1 -1
- package/esm2022/lib/components/kv-chart/kv-chart.component.mjs +3 -3
- package/esm2022/lib/components/kv-chart/kv-chart.module.mjs +1 -1
- package/esm2022/lib/components/kv-error/kv-error.component.mjs +3 -3
- package/esm2022/lib/components/kv-error/kv-error.module.mjs +1 -1
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.component.mjs +11 -8
- package/esm2022/lib/components/kv-file-viewer/kv-file-viewer.module.mjs +1 -1
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.component.mjs +3 -3
- package/esm2022/lib/components/kv-filter-card/kv-filter-card.module.mjs +1 -1
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.component.mjs +1 -1
- package/esm2022/lib/components/kv-g-icon/kv-g-icon.module.mjs +1 -1
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.component.mjs +3 -3
- package/esm2022/lib/components/kv-image-upload/kv-image-upload.module.mjs +1 -1
- package/esm2022/lib/components/kv-inputs/kv-check/kv-check.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-dropdown/kv-dropdown.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-editor/kv-editor.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-calendar/kv-input-calendar.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-mask/kv-input-mask.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-number/kv-input-number.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-password/kv-input-password.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-text/kv-input-text.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-text-checkbox/kv-input-text-checkbox.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-textarea/kv-input-textarea.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-input-time/kv-input-time.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-inputs.module.mjs +1 -1
- package/esm2022/lib/components/kv-inputs/kv-multi-select/kv-multi-select.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-radio-group/kv-radio-group.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-select-button/kv-select-button.component.mjs +3 -3
- package/esm2022/lib/components/kv-inputs/kv-switch/kv-switch.component.mjs +3 -3
- package/esm2022/lib/components/kv-label/kv-label.component.mjs +3 -3
- package/esm2022/lib/components/kv-label/kv-label.module.mjs +1 -1
- package/esm2022/lib/components/kv-loader/kv-loader.component.mjs +3 -3
- package/esm2022/lib/components/kv-loader/kv-loader.module.mjs +1 -1
- package/esm2022/lib/components/kv-loader/kv-loader.service.mjs +1 -1
- package/esm2022/lib/components/kv-login/kv-login.component.mjs +3 -3
- package/esm2022/lib/components/kv-login/kv-login.module.mjs +1 -1
- package/esm2022/lib/components/kv-menu/kv-menu.component.mjs +3 -3
- package/esm2022/lib/components/kv-menu/kv-menu.module.mjs +1 -1
- package/esm2022/lib/components/kv-modal/kv-modal.component.mjs +3 -3
- package/esm2022/lib/components/kv-modal/kv-modal.module.mjs +1 -1
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.component.mjs +3 -3
- package/esm2022/lib/components/kv-orgchart/kv-orgchart.module.mjs +1 -1
- package/esm2022/lib/components/kv-page-form/kv-page-form.component.mjs +3 -3
- package/esm2022/lib/components/kv-page-form/kv-page-form.module.mjs +1 -1
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.component.mjs +207 -0
- package/esm2022/lib/components/kv-page-stepper/kv-page-stepper.module.mjs +47 -0
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.component.mjs +3 -3
- package/esm2022/lib/components/kv-pick-list/kv-pick-list.module.mjs +1 -1
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.component.mjs +3 -3
- package/esm2022/lib/components/kv-progress-bar/kv-progress-bar.module.mjs +1 -1
- package/esm2022/lib/components/kv-report/kv-report.component.mjs +3 -3
- package/esm2022/lib/components/kv-report/kv-report.module.mjs +1 -1
- package/esm2022/lib/components/kv-stepper/kv-stepper.component.mjs +9 -3
- package/esm2022/lib/components/kv-stepper/kv-stepper.module.mjs +1 -1
- package/esm2022/lib/components/kv-table/kv-table.component.mjs +4 -4
- package/esm2022/lib/components/kv-table/kv-table.module.mjs +1 -1
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.component.mjs +3 -3
- package/esm2022/lib/components/kv-table-edit/kv-table-edit.module.mjs +1 -1
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.component.mjs +3 -3
- package/esm2022/lib/components/kv-table-expandable/kv-table-expandable.module.mjs +1 -1
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-table/kv-tree-table.module.mjs +1 -1
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.component.mjs +3 -3
- package/esm2022/lib/components/kv-tree-view/kv-tree-view.module.mjs +1 -1
- package/esm2022/lib/components/kv-workspace/kv-workspace.component.mjs +3 -3
- package/esm2022/lib/components/kv-workspace/kv-workspace.module.mjs +1 -1
- package/esm2022/public-api.mjs +13 -1
- package/fesm2022/keevo-components.mjs +451 -99
- package/fesm2022/keevo-components.mjs.map +1 -1
- package/lib/api/base-components/base-component-table.d.ts +2 -2
- package/lib/api/components/stepper/kv-stepperpanel.d.ts +9 -0
- package/lib/api/directives/directives.module.d.ts +9 -0
- package/lib/api/directives/drag/drag.directive.d.ts +11 -0
- package/lib/api/directives/stepper/dynamicinput.directive.d.ts +15 -0
- package/lib/api/modules/primeng.module.d.ts +3 -1
- package/lib/components/kv-buttons/kv-button-popup/kv-button-popup.component.d.ts +0 -1
- package/lib/components/kv-file-viewer/kv-file-viewer.component.d.ts +3 -2
- package/lib/components/kv-page-stepper/kv-page-stepper.component.d.ts +84 -0
- package/lib/components/kv-page-stepper/kv-page-stepper.module.d.ts +13 -0
- package/lib/components/kv-stepper/kv-stepper.component.d.ts +5 -1
- package/package.json +1 -1
- package/public-api.d.ts +12 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { EventEmitter, OnInit, TemplateRef } from '@angular/core';
|
|
2
2
|
import { TreeTableConfig } from '../components/tree-table/tree-table.config';
|
|
3
|
-
import { Table } from 'primeng/table/public_api';
|
|
4
3
|
import { DatePipe, DecimalPipe } from '@angular/common';
|
|
5
|
-
import TableEditConfig from 'projects/keevo-components/src/lib/api/components/table/tabledit.config';
|
|
6
4
|
import { NotificationService } from '../services/notification.service';
|
|
7
5
|
import { TelefonePipe } from '../pipes/telefone.pipe';
|
|
8
6
|
import { CpfCnpjPipe } from '../pipes/cpfcnpj.pipe';
|
|
9
7
|
import { TableConfig } from '../components/table/table.config';
|
|
10
8
|
import { TableConfigColumn } from '../components/table/table.config.column';
|
|
9
|
+
import TableEditConfig from '../components/table/tabledit.config';
|
|
10
|
+
import { Table } from 'primeng/table';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare abstract class BasecomponentTable implements OnInit {
|
|
13
13
|
datePipe: DatePipe;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./drag/drag.directive";
|
|
3
|
+
import * as i2 from "./template/template.directive";
|
|
4
|
+
import * as i3 from "./stepper/dynamicinput.directive";
|
|
5
|
+
export declare class DirectiveModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DirectiveModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<DirectiveModule, [typeof i1.DragDirective, typeof i2.TemplateDirective, typeof i3.DynamicInputDirective], never, [typeof i1.DragDirective, typeof i2.TemplateDirective, typeof i3.DynamicInputDirective]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<DirectiveModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DragDirective {
|
|
4
|
+
fileOver: boolean;
|
|
5
|
+
fileDropped: EventEmitter<any>;
|
|
6
|
+
onDragOver(evt: any): void;
|
|
7
|
+
onDragLeave(evt: any): void;
|
|
8
|
+
ondrop(evt: any): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DragDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DragDirective, "[appDrag]", never, {}, { "fileDropped": "fileDropped"; }, never, never, false, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ViewContainerRef, Type } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class DynamicInputDirective {
|
|
4
|
+
private vcr;
|
|
5
|
+
set dynamicComponent({ component, inputs }: {
|
|
6
|
+
component: Type<any>;
|
|
7
|
+
inputs: {
|
|
8
|
+
[key: string]: any;
|
|
9
|
+
};
|
|
10
|
+
});
|
|
11
|
+
constructor(vcr: ViewContainerRef);
|
|
12
|
+
private applyInputs;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DynamicInputDirective, never>;
|
|
14
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<DynamicInputDirective, "[dynamicComponent]", never, { "dynamicComponent": { "alias": "dynamicComponent"; "required": false; }; }, {}, never, never, false, never>;
|
|
15
|
+
}
|
|
@@ -57,8 +57,10 @@ import * as i55 from "primeng/tree";
|
|
|
57
57
|
import * as i56 from "primeng/treetable";
|
|
58
58
|
import * as i57 from "primeng/selectbutton";
|
|
59
59
|
import * as i58 from "primeng/stepper";
|
|
60
|
+
import * as i59 from "primeng/inputgroup";
|
|
61
|
+
import * as i60 from "primeng/inputgroupaddon";
|
|
60
62
|
export declare class PrimeNgModule {
|
|
61
63
|
static ɵfac: i0.ɵɵFactoryDeclaration<PrimeNgModule, never>;
|
|
62
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimeNgModule, never, never, [typeof i1.AccordionModule, typeof i2.AutoFocusModule, typeof i3.BadgeModule, typeof i4.BreadcrumbModule, typeof i5.ButtonModule, typeof i6.CalendarModule, typeof i7.CardModule, typeof i8.CarouselModule, typeof i9.ChartModule, typeof i10.CheckboxModule, typeof i11.ChipModule, typeof i12.ConfirmDialogModule, typeof i13.ContextMenuModule, typeof i14.DataViewModule, typeof i15.DialogModule, typeof i16.DividerModule, typeof i17.DropdownModule, typeof i18.DynamicDialogModule, typeof i19.EditorModule, typeof i20.FieldsetModule, typeof i21.FileUploadModule, typeof i22.ImageModule, typeof i23.InputMaskModule, typeof i24.InputNumberModule, typeof i25.InputSwitchModule, typeof i26.InputTextareaModule, typeof i27.InputTextModule, typeof i28.KnobModule, typeof i29.MenuModule, typeof i30.MessageModule, typeof i31.MessagesModule, typeof i32.MultiSelectModule, typeof i33.OverlayModule, typeof i34.OverlayPanelModule, typeof i34.OverlayPanelModule, typeof i35.PanelMenuModule, typeof i36.PanelModule, typeof i37.PasswordModule, typeof i38.PickListModule, typeof i39.ProgressBarModule, typeof i40.RadioButtonModule, typeof i41.RatingModule, typeof i42.RippleModule, typeof i43.SidebarModule, typeof i44.SkeletonModule, typeof i45.SpeedDialModule, typeof i46.SplitButtonModule, typeof i47.StepsModule, typeof i48.StyleClassModule, typeof i49.TableModule, typeof i50.TabViewModule, typeof i51.TagModule, typeof i52.ToastModule, typeof i53.ToolbarModule, typeof i54.TooltipModule, typeof i55.TreeModule, typeof i56.TreeTableModule, typeof i57.SelectButtonModule, typeof i58.StepperModule]>;
|
|
64
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PrimeNgModule, never, never, [typeof i1.AccordionModule, typeof i2.AutoFocusModule, typeof i3.BadgeModule, typeof i4.BreadcrumbModule, typeof i5.ButtonModule, typeof i6.CalendarModule, typeof i7.CardModule, typeof i8.CarouselModule, typeof i9.ChartModule, typeof i10.CheckboxModule, typeof i11.ChipModule, typeof i12.ConfirmDialogModule, typeof i13.ContextMenuModule, typeof i14.DataViewModule, typeof i15.DialogModule, typeof i16.DividerModule, typeof i17.DropdownModule, typeof i18.DynamicDialogModule, typeof i19.EditorModule, typeof i20.FieldsetModule, typeof i21.FileUploadModule, typeof i22.ImageModule, typeof i23.InputMaskModule, typeof i24.InputNumberModule, typeof i25.InputSwitchModule, typeof i26.InputTextareaModule, typeof i27.InputTextModule, typeof i28.KnobModule, typeof i29.MenuModule, typeof i30.MessageModule, typeof i31.MessagesModule, typeof i32.MultiSelectModule, typeof i33.OverlayModule, typeof i34.OverlayPanelModule, typeof i34.OverlayPanelModule, typeof i35.PanelMenuModule, typeof i36.PanelModule, typeof i37.PasswordModule, typeof i38.PickListModule, typeof i39.ProgressBarModule, typeof i40.RadioButtonModule, typeof i41.RatingModule, typeof i42.RippleModule, typeof i43.SidebarModule, typeof i44.SkeletonModule, typeof i45.SpeedDialModule, typeof i46.SplitButtonModule, typeof i47.StepsModule, typeof i48.StyleClassModule, typeof i49.TableModule, typeof i50.TabViewModule, typeof i51.TagModule, typeof i52.ToastModule, typeof i53.ToolbarModule, typeof i54.TooltipModule, typeof i55.TreeModule, typeof i56.TreeTableModule, typeof i57.SelectButtonModule, typeof i58.StepperModule, typeof i59.InputGroupModule, typeof i60.InputGroupAddonModule]>;
|
|
63
65
|
static ɵinj: i0.ɵɵInjectorDeclaration<PrimeNgModule>;
|
|
64
66
|
}
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { OnInit } from '@angular/core';
|
|
1
|
+
import { ChangeDetectorRef, OnInit } from '@angular/core';
|
|
2
2
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class KvFileViewerComponent implements OnInit {
|
|
5
5
|
private sanitizer;
|
|
6
|
+
private cdr;
|
|
6
7
|
arquivo: string;
|
|
7
8
|
type: string;
|
|
8
9
|
blob: Blob;
|
|
9
10
|
xmlBeautified: any;
|
|
10
11
|
xmlFormat: any;
|
|
11
|
-
constructor(sanitizer: DomSanitizer);
|
|
12
|
+
constructor(sanitizer: DomSanitizer, cdr: ChangeDetectorRef);
|
|
12
13
|
ngOnInit(): void;
|
|
13
14
|
getSanitizer(url: string): import("@angular/platform-browser").SafeResourceUrl;
|
|
14
15
|
visualizarXml(): Promise<void>;
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { EventEmitter, Injector, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder, FormGroup } from '@angular/forms';
|
|
3
|
+
import { KvStepperPanel } from '../../api/components/stepper/kv-stepperpanel';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class KvPageStepperComponent implements OnInit {
|
|
6
|
+
private fb;
|
|
7
|
+
/**
|
|
8
|
+
* Propiedade que recebe uma lista de painies
|
|
9
|
+
*/
|
|
10
|
+
panels: KvStepperPanel[];
|
|
11
|
+
/**
|
|
12
|
+
* Propiedade que define o stepper ativo no momento
|
|
13
|
+
*/
|
|
14
|
+
activeStep: number;
|
|
15
|
+
/**
|
|
16
|
+
* Propiedade que define a forma
|
|
17
|
+
*/
|
|
18
|
+
orientation: 'vertical' | 'horizontal';
|
|
19
|
+
linear: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Dispara o evento para atualização da propiedade aciveStep
|
|
22
|
+
* @param event evento
|
|
23
|
+
*/
|
|
24
|
+
activeStepChange: EventEmitter<number>;
|
|
25
|
+
onActiveStepChange(step: number): void;
|
|
26
|
+
assignIdsToPanels(): void;
|
|
27
|
+
createInjector(data: any): Injector;
|
|
28
|
+
/**
|
|
29
|
+
* Configurações do formulário
|
|
30
|
+
*/
|
|
31
|
+
formGroup: FormGroup;
|
|
32
|
+
TituloForm: string | undefined;
|
|
33
|
+
SubTituloForm: string | undefined;
|
|
34
|
+
isSaveLoading: boolean;
|
|
35
|
+
popup: boolean;
|
|
36
|
+
locationUseComponent: 'page' | 'dialog';
|
|
37
|
+
/**
|
|
38
|
+
* Botão cancelar
|
|
39
|
+
*/
|
|
40
|
+
iconBtnCancel: string;
|
|
41
|
+
showBtnCancel: boolean;
|
|
42
|
+
txtBtnCancel: string;
|
|
43
|
+
/**
|
|
44
|
+
* Botão salvar
|
|
45
|
+
*/
|
|
46
|
+
iconBtnSave: string;
|
|
47
|
+
showBtnSave: boolean;
|
|
48
|
+
txtBtnSave: string;
|
|
49
|
+
disableBtnSave: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Botão fechar
|
|
52
|
+
*/
|
|
53
|
+
disableBtnSair: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Salvar dados
|
|
56
|
+
*/
|
|
57
|
+
onSave: EventEmitter<any>;
|
|
58
|
+
/**
|
|
59
|
+
* Cancelar
|
|
60
|
+
*/
|
|
61
|
+
onCancel: EventEmitter<any>;
|
|
62
|
+
constructor(fb: FormBuilder);
|
|
63
|
+
/**
|
|
64
|
+
* Adiciona sub-título à tela
|
|
65
|
+
*/
|
|
66
|
+
addSubTitle(): void;
|
|
67
|
+
ngOnInit(): void;
|
|
68
|
+
/**
|
|
69
|
+
* Dispara o método de cancelamento da tela
|
|
70
|
+
* @param event evento
|
|
71
|
+
*/
|
|
72
|
+
cancel(event: Event): void;
|
|
73
|
+
/**
|
|
74
|
+
* Dispara o método de salvar da tela
|
|
75
|
+
* @param event evento
|
|
76
|
+
*/
|
|
77
|
+
save(event: Event): void;
|
|
78
|
+
/**
|
|
79
|
+
* Ajusta o tamanho da tela considerando o menu lateral
|
|
80
|
+
*/
|
|
81
|
+
setPageFormContainerAttributes(): void;
|
|
82
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperComponent, never>;
|
|
83
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<KvPageStepperComponent, "kv-page-stepper", never, { "panels": { "alias": "panels"; "required": false; }; "activeStep": { "alias": "activeStep"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "TituloForm": { "alias": "TituloForm"; "required": false; }; "SubTituloForm": { "alias": "SubTituloForm"; "required": false; }; "isSaveLoading": { "alias": "isSaveLoading"; "required": false; }; "popup": { "alias": "popup"; "required": false; }; "locationUseComponent": { "alias": "locationUseComponent"; "required": false; }; "iconBtnCancel": { "alias": "iconBtnCancel"; "required": false; }; "showBtnCancel": { "alias": "showBtnCancel"; "required": false; }; "txtBtnCancel": { "alias": "txtBtnCancel"; "required": false; }; "iconBtnSave": { "alias": "iconBtnSave"; "required": false; }; "showBtnSave": { "alias": "showBtnSave"; "required": false; }; "txtBtnSave": { "alias": "txtBtnSave"; "required": false; }; "disableBtnSave": { "alias": "disableBtnSave"; "required": false; }; "disableBtnSair": { "alias": "disableBtnSair"; "required": false; }; }, { "activeStepChange": "activeStepChange"; "onSave": "onSave"; "onCancel": "onCancel"; }, never, never, false, never>;
|
|
84
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./kv-page-stepper.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/forms";
|
|
5
|
+
import * as i4 from "../../api/modules/primeng.module";
|
|
6
|
+
import * as i5 from "../kv-buttons/kv-button.module";
|
|
7
|
+
import * as i6 from "../kv-stepper/kv-stepper.module";
|
|
8
|
+
import * as i7 from "../../api/directives/directives.module";
|
|
9
|
+
export declare class KvPageStepperodule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<KvPageStepperodule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<KvPageStepperodule, [typeof i1.KvPageStepperComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.PrimeNgModule, typeof i5.KvButtonsModule, typeof i3.ReactiveFormsModule, typeof i6.KvStepperModule, typeof i7.DirectiveModule], [typeof i1.KvPageStepperComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<KvPageStepperodule>;
|
|
13
|
+
}
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { EventEmitter, Type } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
export declare class KvStepperComponent {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Use kv-page-stepper
|
|
6
|
+
*/
|
|
4
7
|
panels: KvStepperPanel[];
|
|
5
8
|
activeStep: number;
|
|
6
9
|
orientation: 'vertical' | 'horizontal';
|
|
@@ -14,8 +17,9 @@ export declare class KvStepperComponent {
|
|
|
14
17
|
static ɵfac: i0.ɵɵFactoryDeclaration<KvStepperComponent, never>;
|
|
15
18
|
static ɵcmp: i0.ɵɵComponentDeclaration<KvStepperComponent, "kv-stepper", never, { "panels": { "alias": "panels"; "required": false; }; "activeStep": { "alias": "activeStep"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "linear": { "alias": "linear"; "required": false; }; "btnConcluir": { "alias": "btnConcluir"; "required": false; }; }, { "activeStepChange": "activeStepChange"; "concluirCallback": "concluirCallback"; }, never, never, false, never>;
|
|
16
19
|
}
|
|
17
|
-
|
|
20
|
+
interface KvStepperPanel {
|
|
18
21
|
id: number;
|
|
19
22
|
header: string;
|
|
20
23
|
contentTemplate: Type<any>;
|
|
21
24
|
}
|
|
25
|
+
export {};
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -143,6 +143,18 @@ export * from './lib/components/kv-workspace/kv-workspace.component';
|
|
|
143
143
|
*/
|
|
144
144
|
export * from './lib/components/kv-page-form/kv-page-form.component';
|
|
145
145
|
export * from './lib/components/kv-page-form/kv-page-form.module';
|
|
146
|
+
/**
|
|
147
|
+
* Page-Stepper
|
|
148
|
+
*/
|
|
149
|
+
export * from './lib/components/kv-page-stepper/kv-page-stepper.component';
|
|
150
|
+
export * from './lib/components/kv-page-stepper/kv-page-stepper.module';
|
|
151
|
+
export * from './lib/api/components/stepper//kv-stepperpanel';
|
|
152
|
+
/**
|
|
153
|
+
* Diretivas
|
|
154
|
+
*/
|
|
155
|
+
export * from './lib/api/directives/template/template.directive';
|
|
156
|
+
export * from './lib/api/directives/drag/drag.directive';
|
|
157
|
+
export * from './lib/api/directives/stepper/dynamicinput.directive';
|
|
146
158
|
/**
|
|
147
159
|
* Loader
|
|
148
160
|
*/
|