keevo-components 0.0.2 → 0.0.4
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/buttons/button-secondary/button-secondary.component.mjs +2 -2
- package/esm2020/lib/buttons/button-success/button-success.component.mjs +2 -2
- package/esm2020/lib/buttons/kvbutton.module.mjs +2 -2
- package/esm2020/lib/inputs/check/check.component.mjs +4 -3
- package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +4 -3
- package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +4 -3
- package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +4 -3
- package/esm2020/lib/inputs/input-number/input-number.component.mjs +4 -3
- package/esm2020/lib/inputs/input-password/input-password.component.mjs +4 -3
- package/esm2020/lib/inputs/input-text/input-text.component.mjs +4 -3
- package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +4 -3
- package/esm2020/lib/inputs/input-time/input-time.component.mjs +4 -3
- package/esm2020/lib/inputs/kvinputs.module.mjs +3 -2
- package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +4 -3
- package/esm2020/lib/inputs/switch/switch.component.mjs +4 -3
- package/esm2020/lib/keevo-components.module.mjs +3 -2
- package/esm2020/public-api.mjs +10 -4
- package/fesm2015/keevo-components.mjs +473 -473
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +472 -472
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/lib/buttons/button-secondary/button-secondary.component.d.ts +1 -1
- package/lib/buttons/button-success/button-success.component.d.ts +1 -1
- package/lib/inputs/check/check.component.d.ts +2 -1
- package/lib/inputs/dropdown/dropdown.component.d.ts +2 -1
- package/lib/inputs/input-calendar/input-calendar.component.d.ts +2 -1
- package/lib/inputs/input-mask/input-mask.component.d.ts +2 -1
- package/lib/inputs/input-number/input-number.component.d.ts +2 -1
- package/lib/inputs/input-password/input-password.component.d.ts +2 -1
- package/lib/inputs/input-text/input-text.component.d.ts +2 -1
- package/lib/inputs/input-textarea/input-textarea.component.d.ts +2 -1
- package/lib/inputs/input-time/input-time.component.d.ts +2 -1
- package/lib/inputs/multi-select/multi-select.component.d.ts +2 -1
- package/lib/inputs/switch/switch.component.d.ts +2 -1
- package/package.json +1 -9
- package/public-api.d.ts +9 -3
- package/esm2020/lib/api/index.mjs +0 -2
- package/esm2020/lib/api/public-api.mjs +0 -12
- package/esm2020/src/lib/api/base-components/base-component-button.mjs +0 -33
- package/esm2020/src/lib/api/base-components/base-component-dropdown.mjs +0 -115
- package/esm2020/src/lib/api/base-components/base-component-input.mjs +0 -77
- package/esm2020/src/lib/api/base-components/base-component.mjs +0 -49
- package/esm2020/src/lib/api/components/error/error.component.mjs +0 -26
- package/esm2020/src/lib/api/components/error/kverror.module.mjs +0 -35
- package/esm2020/src/lib/api/helpers/component-providers.mjs +0 -16
- package/esm2020/src/lib/api/helpers/translate-primeng.mjs +0 -23
- package/esm2020/src/lib/api/keevo-components-src-lib-api.mjs +0 -5
- package/esm2020/src/lib/api/modules/primeng.module.mjs +0 -187
- package/esm2020/src/lib/api/public-api.mjs +0 -12
- package/esm2020/src/lib/api/services/component.service.mjs +0 -27
- package/esm2020/src/lib/api/services/object.service.mjs +0 -26
- package/fesm2015/keevo-components-src-lib-api.mjs +0 -594
- package/fesm2015/keevo-components-src-lib-api.mjs.map +0 -1
- package/fesm2020/keevo-components-src-lib-api.mjs +0 -591
- package/fesm2020/keevo-components-src-lib-api.mjs.map +0 -1
- package/lib/api/index.d.ts +0 -1
- package/lib/api/public-api.d.ts +0 -11
- package/src/lib/api/base-components/base-component-button.d.ts +0 -13
- package/src/lib/api/base-components/base-component-dropdown.d.ts +0 -31
- package/src/lib/api/base-components/base-component-input.d.ts +0 -26
- package/src/lib/api/base-components/base-component.d.ts +0 -21
- package/src/lib/api/components/error/error.component.d.ts +0 -12
- package/src/lib/api/components/error/kverror.module.d.ts +0 -10
- package/src/lib/api/helpers/component-providers.d.ts +0 -2
- package/src/lib/api/helpers/translate-primeng.d.ts +0 -4
- package/src/lib/api/index.d.ts +0 -5
- package/src/lib/api/modules/primeng.module.d.ts +0 -45
- package/src/lib/api/public-api.d.ts +0 -11
- package/src/lib/api/services/component.service.d.ts +0 -11
- package/src/lib/api/services/object.service.d.ts +0 -8
|
@@ -1,56 +1,58 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component, Input, EventEmitter,
|
|
2
|
+
import { Component, Input, EventEmitter, Injectable, Output, ViewChildren, ContentChildren, forwardRef, ViewChild, NgModule } from '@angular/core';
|
|
3
3
|
import { Subject, of } from 'rxjs';
|
|
4
4
|
import * as i1 from '@angular/common';
|
|
5
5
|
import { CommonModule } from '@angular/common';
|
|
6
|
-
import * as i2
|
|
6
|
+
import * as i2 from '@angular/forms';
|
|
7
7
|
import { NgControl, FormControlName, FormGroupDirective, NG_VALUE_ACCESSOR, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
8
|
-
import * as i2 from 'primeng/dynamicdialog';
|
|
9
|
-
import { DynamicDialogModule, DialogService, DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
10
|
-
import { AccordionModule } from 'primeng/accordion';
|
|
11
|
-
import { AutoFocusModule } from 'primeng/autofocus';
|
|
12
|
-
import { BadgeModule } from 'primeng/badge';
|
|
13
|
-
import * as i1$1 from 'primeng/button';
|
|
14
|
-
import { ButtonModule } from 'primeng/button';
|
|
15
|
-
import * as i4$1 from 'primeng/calendar';
|
|
16
|
-
import { CalendarModule } from 'primeng/calendar';
|
|
17
|
-
import { CardModule } from 'primeng/card';
|
|
18
|
-
import { CarouselModule } from 'primeng/carousel';
|
|
19
8
|
import * as i4 from 'primeng/checkbox';
|
|
20
9
|
import { CheckboxModule } from 'primeng/checkbox';
|
|
21
|
-
import
|
|
10
|
+
import * as i2$1 from 'primeng/dynamicdialog';
|
|
11
|
+
import { DynamicDialogModule, DialogService, DynamicDialogRef, DynamicDialogConfig } from 'primeng/dynamicdialog';
|
|
22
12
|
import * as i6 from 'primeng/api';
|
|
23
13
|
import { ConfirmationService, MessageService } from 'primeng/api';
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
14
|
+
import * as i1$1 from 'primeng/button';
|
|
15
|
+
import { ButtonModule } from 'primeng/button';
|
|
16
|
+
import * as i8 from 'primeng/tooltip';
|
|
17
|
+
import { TooltipModule } from 'primeng/tooltip';
|
|
26
18
|
import * as i9 from 'primeng/divider';
|
|
27
19
|
import { DividerModule } from 'primeng/divider';
|
|
28
20
|
import * as i10 from 'primeng/dropdown';
|
|
29
21
|
import { DropdownModule } from 'primeng/dropdown';
|
|
22
|
+
import * as i4$1 from 'primeng/calendar';
|
|
23
|
+
import { CalendarModule } from 'primeng/calendar';
|
|
30
24
|
import * as i4$2 from 'primeng/inputmask';
|
|
31
25
|
import { InputMaskModule } from 'primeng/inputmask';
|
|
32
26
|
import * as i4$3 from 'primeng/inputnumber';
|
|
33
27
|
import { InputNumberModule } from 'primeng/inputnumber';
|
|
34
|
-
import * as i4$
|
|
35
|
-
import {
|
|
28
|
+
import * as i4$4 from 'primeng/password';
|
|
29
|
+
import { PasswordModule } from 'primeng/password';
|
|
36
30
|
import * as i4$5 from 'primeng/inputtext';
|
|
37
31
|
import { InputTextModule } from 'primeng/inputtext';
|
|
38
32
|
import * as i4$6 from 'primeng/inputtextarea';
|
|
39
33
|
import { InputTextareaModule } from 'primeng/inputtextarea';
|
|
34
|
+
import * as i4$7 from 'primeng/multiselect';
|
|
35
|
+
import { MultiSelectModule } from 'primeng/multiselect';
|
|
36
|
+
import * as i4$8 from 'primeng/inputswitch';
|
|
37
|
+
import { InputSwitchModule } from 'primeng/inputswitch';
|
|
38
|
+
import * as i2$2 from 'primeng/ripple';
|
|
39
|
+
import { RippleModule } from 'primeng/ripple';
|
|
40
|
+
import { AccordionModule } from 'primeng/accordion';
|
|
41
|
+
import { AutoFocusModule } from 'primeng/autofocus';
|
|
42
|
+
import { BadgeModule } from 'primeng/badge';
|
|
43
|
+
import { CardModule } from 'primeng/card';
|
|
44
|
+
import { CarouselModule } from 'primeng/carousel';
|
|
45
|
+
import { ConfirmDialogModule } from 'primeng/confirmdialog';
|
|
46
|
+
import { ContextMenuModule } from 'primeng/contextmenu';
|
|
47
|
+
import { DialogModule } from 'primeng/dialog';
|
|
40
48
|
import { MenuModule } from 'primeng/menu';
|
|
41
49
|
import { MessageModule } from 'primeng/message';
|
|
42
50
|
import { MessagesModule } from 'primeng/messages';
|
|
43
|
-
import * as i4$7 from 'primeng/multiselect';
|
|
44
|
-
import { MultiSelectModule } from 'primeng/multiselect';
|
|
45
51
|
import { OverlayPanelModule } from 'primeng/overlaypanel';
|
|
46
52
|
import { PanelModule } from 'primeng/panel';
|
|
47
|
-
import * as i4$4 from 'primeng/password';
|
|
48
|
-
import { PasswordModule } from 'primeng/password';
|
|
49
53
|
import { PickListModule } from 'primeng/picklist';
|
|
50
54
|
import { RadioButtonModule } from 'primeng/radiobutton';
|
|
51
55
|
import { RatingModule } from 'primeng/rating';
|
|
52
|
-
import * as i2$2 from 'primeng/ripple';
|
|
53
|
-
import { RippleModule } from 'primeng/ripple';
|
|
54
56
|
import { SidebarModule } from 'primeng/sidebar';
|
|
55
57
|
import { SkeletonModule } from 'primeng/skeleton';
|
|
56
58
|
import { SpeedDialModule } from 'primeng/speeddial';
|
|
@@ -59,8 +61,6 @@ import { StepsModule } from 'primeng/steps';
|
|
|
59
61
|
import { TableModule } from 'primeng/table';
|
|
60
62
|
import { ToastModule } from 'primeng/toast';
|
|
61
63
|
import { ToolbarModule } from 'primeng/toolbar';
|
|
62
|
-
import * as i8 from 'primeng/tooltip';
|
|
63
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
64
64
|
|
|
65
65
|
class BaseComponent {
|
|
66
66
|
constructor() {
|
|
@@ -108,37 +108,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
108
108
|
type: Input
|
|
109
109
|
}] } });
|
|
110
110
|
|
|
111
|
-
class BaseComponentButton {
|
|
112
|
-
constructor() {
|
|
113
|
-
this.icon = '';
|
|
114
|
-
this.label = '';
|
|
115
|
-
this.loading = false;
|
|
116
|
-
this.disabled = false;
|
|
117
|
-
this.onClick = new EventEmitter();
|
|
118
|
-
}
|
|
119
|
-
click(event) {
|
|
120
|
-
this.onClick.emit();
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
BaseComponentButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
124
|
-
BaseComponentButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: BaseComponentButton, selector: "ng-component", inputs: { icon: "icon", label: "label", loading: "loading", disabled: "disabled" }, outputs: { onClick: "onClick" }, ngImport: i0, template: '', isInline: true });
|
|
125
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, decorators: [{
|
|
126
|
-
type: Component,
|
|
127
|
-
args: [{
|
|
128
|
-
template: '',
|
|
129
|
-
}]
|
|
130
|
-
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
|
131
|
-
type: Input
|
|
132
|
-
}], label: [{
|
|
133
|
-
type: Input
|
|
134
|
-
}], loading: [{
|
|
135
|
-
type: Input
|
|
136
|
-
}], disabled: [{
|
|
137
|
-
type: Input
|
|
138
|
-
}], onClick: [{
|
|
139
|
-
type: Output
|
|
140
|
-
}] } });
|
|
141
|
-
|
|
142
111
|
class ErrorComponent {
|
|
143
112
|
set setHasError(value) {
|
|
144
113
|
this.hasError = value;
|
|
@@ -260,6 +229,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
260
229
|
args: [ErrorComponent]
|
|
261
230
|
}] } });
|
|
262
231
|
|
|
232
|
+
function ComponentProviders(ref) {
|
|
233
|
+
return [
|
|
234
|
+
{
|
|
235
|
+
provide: NG_VALUE_ACCESSOR,
|
|
236
|
+
useExisting: forwardRef(() => ref),
|
|
237
|
+
multi: true,
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
provide: ComponentService
|
|
241
|
+
}
|
|
242
|
+
];
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
class CheckComponent extends BaseComponentInput {
|
|
246
|
+
constructor(componentService) {
|
|
247
|
+
super(componentService);
|
|
248
|
+
this.onCheckChange = new EventEmitter();
|
|
249
|
+
}
|
|
250
|
+
emitOnCheckChange(event) {
|
|
251
|
+
this.onCheckChange.emit(event);
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
CheckComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: CheckComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
255
|
+
CheckComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: CheckComponent, selector: "kv-check", outputs: { onCheckChange: "onCheckChange" }, providers: ComponentProviders(CheckComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"field-checkbox\">\r\n <p-checkbox\r\n [binary]=\"true\"\r\n [disabled]=\"disabled\"\r\n [label]=\"label\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"emitOnCheckChange($event)\">\r\n </p-checkbox>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }] });
|
|
256
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: CheckComponent, decorators: [{
|
|
257
|
+
type: Component,
|
|
258
|
+
args: [{ selector: 'kv-check', providers: ComponentProviders(CheckComponent), template: "<div class=\"field-checkbox\">\r\n <p-checkbox\r\n [binary]=\"true\"\r\n [disabled]=\"disabled\"\r\n [label]=\"label\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"emitOnCheckChange($event)\">\r\n </p-checkbox>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n" }]
|
|
259
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { onCheckChange: [{
|
|
260
|
+
type: Output
|
|
261
|
+
}] } });
|
|
262
|
+
|
|
263
263
|
class ObjectService {
|
|
264
264
|
static filterObject(array, propertyName, value) {
|
|
265
265
|
return array.filter((e) => {
|
|
@@ -362,14 +362,14 @@ class BaseComponentDropDown extends BaseComponentInput {
|
|
|
362
362
|
this.placeholder = p;
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
BaseComponentDropDown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentDropDown, deps: [{ token: ComponentService }, { token: i2.DialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
365
|
+
BaseComponentDropDown.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentDropDown, deps: [{ token: ComponentService }, { token: i2$1.DialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
366
366
|
BaseComponentDropDown.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: BaseComponentDropDown, selector: "ng-component", inputs: { options: "options", filteredOptions: "filteredOptions", optionLabel: "optionLabel", optionValue: "optionValue", addButton: "addButton", filter: "filter", showClear: "showClear" }, outputs: { onAddClick: "onAddClick", onSelectionChange: "onSelectionChange", onSelectionValue: "onSelectionValue", onClick: "onClick" }, usesInheritance: true, ngImport: i0, template: '', isInline: true });
|
|
367
367
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentDropDown, decorators: [{
|
|
368
368
|
type: Component,
|
|
369
369
|
args: [{
|
|
370
370
|
template: '',
|
|
371
371
|
}]
|
|
372
|
-
}], ctorParameters: function () { return [{ type: ComponentService }, { type: i2.DialogService }]; }, propDecorators: { options: [{
|
|
372
|
+
}], ctorParameters: function () { return [{ type: ComponentService }, { type: i2$1.DialogService }]; }, propDecorators: { options: [{
|
|
373
373
|
type: Input
|
|
374
374
|
}], filteredOptions: [{
|
|
375
375
|
type: Input
|
|
@@ -393,60 +393,353 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
393
393
|
type: Output
|
|
394
394
|
}] } });
|
|
395
395
|
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
},
|
|
403
|
-
|
|
404
|
-
|
|
396
|
+
class DropdownComponent extends BaseComponentDropDown {
|
|
397
|
+
constructor(componentService, dialogService) {
|
|
398
|
+
super(componentService, dialogService);
|
|
399
|
+
}
|
|
400
|
+
}
|
|
401
|
+
DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DropdownComponent, deps: [{ token: ComponentService }, { token: i2$1.DialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
402
|
+
DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: DropdownComponent, selector: "kv-dropdown", providers: ComponentProviders(DropdownComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-dropdown\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"filter\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"filteredOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [showClear]=\"showClear\"\r\n [lazy]=\"true\"\r\n scrollHeight=\"100px\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n (onClick)=\"onInputClick($event)\"\r\n (onChange)=\"selectionValue($event)\">\r\n\r\n <ng-template *ngIf=\"addButton\" pTemplate=\"footer\">\r\n <p-divider></p-divider>\r\n <div class=\"flex flex-wrap card-container p-1\">\r\n <div class=\"flex justify-content-center\">\r\n <button\r\n pButton\r\n label=\"Incluir\"\r\n pTooltip=\"Clique aqui para incluir um novo registro\"\r\n tooltipPosition=\"bottom\"\r\n icon=\"pi pi-plus\"\r\n class=\"p-button-rounded p-button-success mr-2\"\r\n (click)=\"addClick($event)\"></button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n </p-dropdown>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i8.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i9.Divider, selector: "p-divider", inputs: ["styleClass", "style", "layout", "type", "align"] }, { kind: "component", type: i10.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] });
|
|
403
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
404
|
+
type: Component,
|
|
405
|
+
args: [{ selector: 'kv-dropdown', providers: ComponentProviders(DropdownComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-dropdown\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"filter\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"filteredOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [showClear]=\"showClear\"\r\n [lazy]=\"true\"\r\n scrollHeight=\"100px\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n (onClick)=\"onInputClick($event)\"\r\n (onChange)=\"selectionValue($event)\">\r\n\r\n <ng-template *ngIf=\"addButton\" pTemplate=\"footer\">\r\n <p-divider></p-divider>\r\n <div class=\"flex flex-wrap card-container p-1\">\r\n <div class=\"flex justify-content-center\">\r\n <button\r\n pButton\r\n label=\"Incluir\"\r\n pTooltip=\"Clique aqui para incluir um novo registro\"\r\n tooltipPosition=\"bottom\"\r\n icon=\"pi pi-plus\"\r\n class=\"p-button-rounded p-button-success mr-2\"\r\n (click)=\"addClick($event)\"></button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n </p-dropdown>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
406
|
+
}], ctorParameters: function () { return [{ type: ComponentService }, { type: i2$1.DialogService }]; } });
|
|
407
|
+
|
|
408
|
+
class InputCalendarComponent extends BaseComponentInput {
|
|
409
|
+
constructor(componentService) {
|
|
410
|
+
super(componentService);
|
|
411
|
+
this.isYear = false;
|
|
412
|
+
this.isMonthYear = false;
|
|
413
|
+
this.showButtonBar = false;
|
|
414
|
+
this.showIcon = true;
|
|
415
|
+
this.selectionMode = 'single';
|
|
416
|
+
this.typeView = 'date';
|
|
417
|
+
this.dateFormat = 'dd/mm/yy';
|
|
418
|
+
}
|
|
419
|
+
writeValue(value) {
|
|
420
|
+
this.value = value;
|
|
421
|
+
if (value && typeof value === 'string') {
|
|
422
|
+
this.value = new Date(value);
|
|
405
423
|
}
|
|
406
|
-
|
|
407
|
-
|
|
424
|
+
}
|
|
425
|
+
ngOnInit() {
|
|
426
|
+
super.ngOnInit();
|
|
427
|
+
if (this.isYear) {
|
|
428
|
+
this.typeView = "year";
|
|
429
|
+
this.dateFormat = 'yy';
|
|
430
|
+
}
|
|
431
|
+
else if (this.isMonthYear) {
|
|
432
|
+
this.typeView = 'month';
|
|
433
|
+
this.dateFormat = 'mm/yy';
|
|
434
|
+
}
|
|
435
|
+
else {
|
|
436
|
+
this.typeView = 'date';
|
|
437
|
+
this.dateFormat = 'dd/mm/yy';
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
InputCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputCalendarComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
442
|
+
InputCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputCalendarComponent, selector: "kv-input-calendar", inputs: { isYear: "isYear", isMonthYear: "isMonthYear", minDate: "minDate", maxDate: "maxDate", showButtonBar: "showButtonBar", showIcon: "showIcon", selectionMode: "selectionMode" }, providers: ComponentProviders(InputCalendarComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [selectionMode]=\"selectionMode\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [showIcon]=\"showIcon\"\r\n [view]=\"typeView\"\r\n [dateFormat]=\"dateFormat\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
|
|
443
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputCalendarComponent, decorators: [{
|
|
444
|
+
type: Component,
|
|
445
|
+
args: [{ selector: 'kv-input-calendar', providers: ComponentProviders(InputCalendarComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [selectionMode]=\"selectionMode\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [showIcon]=\"showIcon\"\r\n [view]=\"typeView\"\r\n [dateFormat]=\"dateFormat\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
446
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { isYear: [{
|
|
447
|
+
type: Input
|
|
448
|
+
}], isMonthYear: [{
|
|
449
|
+
type: Input
|
|
450
|
+
}], minDate: [{
|
|
451
|
+
type: Input
|
|
452
|
+
}], maxDate: [{
|
|
453
|
+
type: Input
|
|
454
|
+
}], showButtonBar: [{
|
|
455
|
+
type: Input
|
|
456
|
+
}], showIcon: [{
|
|
457
|
+
type: Input
|
|
458
|
+
}], selectionMode: [{
|
|
459
|
+
type: Input
|
|
460
|
+
}] } });
|
|
408
461
|
|
|
409
|
-
class
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
config.setTranslation({
|
|
413
|
-
monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
|
|
414
|
-
monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
|
|
415
|
-
dayNames: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sabádo'],
|
|
416
|
-
dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'],
|
|
417
|
-
dayNamesMin: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'],
|
|
418
|
-
today: 'Hoje',
|
|
419
|
-
weekHeader: 'Semana',
|
|
420
|
-
emptyMessage: 'Nenhum resultado encontrado',
|
|
421
|
-
emptyFilterMessage: 'Nenhum registro encontrado com o filtro informado',
|
|
422
|
-
weak: 'Fraca',
|
|
423
|
-
medium: 'Média',
|
|
424
|
-
strong: 'Forte',
|
|
425
|
-
passwordPrompt: 'Informe a senha',
|
|
426
|
-
clear: 'Limpar',
|
|
427
|
-
apply: 'Aplicar'
|
|
428
|
-
});
|
|
462
|
+
class InputMaskComponent extends BaseComponentInput {
|
|
463
|
+
constructor(componentService) {
|
|
464
|
+
super(componentService);
|
|
429
465
|
}
|
|
430
|
-
}
|
|
466
|
+
}
|
|
467
|
+
InputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputMaskComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
468
|
+
InputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputMaskComponent, selector: "kv-input-mask", inputs: { mask: "mask" }, providers: ComponentProviders(InputMaskComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-inputMask\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"value\"\r\n [mask]=\"mask\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputMask>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$2.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }] });
|
|
469
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputMaskComponent, decorators: [{
|
|
470
|
+
type: Component,
|
|
471
|
+
args: [{ selector: 'kv-input-mask', providers: ComponentProviders(InputMaskComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-inputMask\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"value\"\r\n [mask]=\"mask\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputMask>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
472
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { mask: [{
|
|
473
|
+
type: Input
|
|
474
|
+
}] } });
|
|
431
475
|
|
|
432
|
-
class
|
|
476
|
+
class InputNumberComponent extends BaseComponentInput {
|
|
477
|
+
constructor(componentService) {
|
|
478
|
+
super(componentService);
|
|
479
|
+
this.mode = 'decimal';
|
|
480
|
+
this.digits = 0;
|
|
481
|
+
this.min = 0;
|
|
482
|
+
}
|
|
483
|
+
ngOnInit() {
|
|
484
|
+
super.ngOnInit();
|
|
485
|
+
this.inputNumber.mode = this.mode;
|
|
486
|
+
this.inputNumber.locale = 'pt-BR';
|
|
487
|
+
switch (this.mode) {
|
|
488
|
+
case 'decimal':
|
|
489
|
+
this.configDecimal();
|
|
490
|
+
break;
|
|
491
|
+
case 'currency':
|
|
492
|
+
this.configCurrency();
|
|
493
|
+
break;
|
|
494
|
+
}
|
|
495
|
+
}
|
|
496
|
+
configDecimal() {
|
|
497
|
+
if (!this.digits)
|
|
498
|
+
this.inputNumber.useGrouping = false;
|
|
499
|
+
this.inputNumber.minFractionDigits = this.digits;
|
|
500
|
+
this.inputNumber.maxFractionDigits = this.digits;
|
|
501
|
+
}
|
|
502
|
+
configCurrency() {
|
|
503
|
+
this.inputNumber.currency = 'BRL';
|
|
504
|
+
}
|
|
433
505
|
}
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
506
|
+
InputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputNumberComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
507
|
+
InputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputNumberComponent, selector: "kv-input-number", inputs: { mode: "mode", digits: "digits", min: "min", max: "max" }, providers: ComponentProviders(InputNumberComponent), viewQueries: [{ propertyName: "inputNumber", first: true, predicate: ["inputNumber"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-inputNumber\r\n #inputNumber\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputNumber>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$3.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }] });
|
|
508
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputNumberComponent, decorators: [{
|
|
509
|
+
type: Component,
|
|
510
|
+
args: [{ selector: 'kv-input-number', providers: ComponentProviders(InputNumberComponent), template: "<span class=\"p-float-label\">\r\n <p-inputNumber\r\n #inputNumber\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputNumber>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
511
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { mode: [{
|
|
512
|
+
type: Input
|
|
513
|
+
}], digits: [{
|
|
514
|
+
type: Input
|
|
515
|
+
}], min: [{
|
|
516
|
+
type: Input
|
|
517
|
+
}], max: [{
|
|
518
|
+
type: Input
|
|
519
|
+
}], inputNumber: [{
|
|
520
|
+
type: ViewChild,
|
|
521
|
+
args: ['inputNumber', { static: true }]
|
|
522
|
+
}] } });
|
|
523
|
+
|
|
524
|
+
class InputPasswordComponent extends BaseComponentInput {
|
|
525
|
+
constructor(componentService) {
|
|
526
|
+
super(componentService);
|
|
527
|
+
this.feedback = false;
|
|
528
|
+
this.mediumRegex = '';
|
|
529
|
+
this.strongRegex = '';
|
|
530
|
+
this.toggleMask = true;
|
|
531
|
+
}
|
|
532
|
+
}
|
|
533
|
+
InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
534
|
+
InputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputPasswordComponent, selector: "kv-input-password", inputs: { feedback: "feedback", mediumRegex: "mediumRegex", strongRegex: "strongRegex", toggleMask: "toggleMask" }, providers: ComponentProviders(InputPasswordComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (blur)=\"onInputBlur($event)\">\r\n </p-password>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$4.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "panelStyle", "panelStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "placeholder", "showClear"], outputs: ["onFocus", "onBlur", "onClear"] }] });
|
|
535
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
536
|
+
type: Component,
|
|
537
|
+
args: [{ selector: 'kv-input-password', providers: ComponentProviders(InputPasswordComponent), template: "<span class=\"p-float-label\">\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (blur)=\"onInputBlur($event)\">\r\n </p-password>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
538
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { feedback: [{
|
|
539
|
+
type: Input
|
|
540
|
+
}], mediumRegex: [{
|
|
541
|
+
type: Input
|
|
542
|
+
}], strongRegex: [{
|
|
543
|
+
type: Input
|
|
544
|
+
}], toggleMask: [{
|
|
545
|
+
type: Input
|
|
546
|
+
}] } });
|
|
547
|
+
|
|
548
|
+
class InputTextComponent extends BaseComponentInput {
|
|
549
|
+
constructor(componentService) {
|
|
550
|
+
super(componentService);
|
|
551
|
+
}
|
|
552
|
+
}
|
|
553
|
+
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
554
|
+
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextComponent, selector: "kv-input-text", providers: ComponentProviders(InputTextComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n"], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4$5.InputText, selector: "[pInputText]" }] });
|
|
555
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
556
|
+
type: Component,
|
|
557
|
+
args: [{ selector: 'kv-input-text', providers: ComponentProviders(InputTextComponent), template: "<span class=\"p-float-label\">\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n"] }]
|
|
558
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; } });
|
|
559
|
+
|
|
560
|
+
class InputTextareaComponent extends BaseComponentInput {
|
|
561
|
+
constructor(componentService) {
|
|
562
|
+
super(componentService);
|
|
563
|
+
this.multiline = false;
|
|
564
|
+
this.rows = 2;
|
|
565
|
+
this.cols = 20;
|
|
566
|
+
this.autoResize = false;
|
|
567
|
+
this.maxValueLength = 0;
|
|
568
|
+
this.counterValueLength = 0;
|
|
569
|
+
}
|
|
570
|
+
ngOnInit() {
|
|
571
|
+
var _a;
|
|
572
|
+
super.ngOnInit();
|
|
573
|
+
(_a = this.formControl) === null || _a === void 0 ? void 0 : _a.valueChanges.subscribe((value) => {
|
|
574
|
+
this.counterValueLength = value === null || value === void 0 ? void 0 : value.length;
|
|
575
|
+
});
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
579
|
+
InputTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextareaComponent, selector: "kv-input-textarea", inputs: { multiline: "multiline", rows: "rows", cols: "cols", autoResize: "autoResize", maxValueLength: "maxValueLength" }, providers: ComponentProviders(InputTextareaComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n </textarea>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4$6.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }] });
|
|
580
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
581
|
+
type: Component,
|
|
582
|
+
args: [{ selector: 'kv-input-textarea', providers: ComponentProviders(InputTextareaComponent), template: "<span class=\"p-float-label\">\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n </textarea>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
583
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { multiline: [{
|
|
584
|
+
type: Input
|
|
585
|
+
}], rows: [{
|
|
586
|
+
type: Input
|
|
587
|
+
}], cols: [{
|
|
588
|
+
type: Input
|
|
589
|
+
}], autoResize: [{
|
|
590
|
+
type: Input
|
|
591
|
+
}], maxValueLength: [{
|
|
592
|
+
type: Input
|
|
593
|
+
}] } });
|
|
594
|
+
|
|
595
|
+
class InputTimeComponent extends BaseComponentInput {
|
|
596
|
+
constructor(componentService) {
|
|
597
|
+
super(componentService);
|
|
598
|
+
this.showIcon = true;
|
|
599
|
+
}
|
|
600
|
+
}
|
|
601
|
+
InputTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
602
|
+
InputTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTimeComponent, selector: "kv-input-time", inputs: { showIcon: "showIcon" }, providers: ComponentProviders(InputTimeComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
|
|
603
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
604
|
+
type: Component,
|
|
605
|
+
args: [{ selector: 'kv-input-time', providers: ComponentProviders(InputTimeComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
606
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { showIcon: [{
|
|
607
|
+
type: Input
|
|
608
|
+
}] } });
|
|
609
|
+
|
|
610
|
+
class MultiSelectComponent extends BaseComponentInput {
|
|
611
|
+
constructor(componentService) {
|
|
612
|
+
super(componentService);
|
|
613
|
+
this.filter = false;
|
|
614
|
+
this.showClear = false;
|
|
615
|
+
this.onSelectionChange = new EventEmitter();
|
|
616
|
+
this.onPanelHide = new EventEmitter();
|
|
617
|
+
}
|
|
618
|
+
ngOnInit() {
|
|
619
|
+
super.ngOnInit();
|
|
620
|
+
}
|
|
621
|
+
get baseInputClass() {
|
|
622
|
+
return `p-multiselect-sm ${this.hasError ? 'ng-invalid ng-dirty' : ''}`;
|
|
623
|
+
}
|
|
624
|
+
selectionChange(event) {
|
|
625
|
+
this.onSelectionChange.emit(event);
|
|
626
|
+
}
|
|
627
|
+
panelHide(event) {
|
|
628
|
+
this.onPanelHide.emit(event);
|
|
629
|
+
}
|
|
630
|
+
}
|
|
631
|
+
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: MultiSelectComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
632
|
+
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: MultiSelectComponent, selector: "kv-multi-select", inputs: { options: "options", optionLabel: "optionLabel", optionValue: "optionValue", filter: "filter", showClear: "showClear" }, outputs: { onSelectionChange: "onSelectionChange", onPanelHide: "onPanelHide" }, providers: ComponentProviders(MultiSelectComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\">\r\n </p-multiSelect>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$7.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }] });
|
|
633
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
634
|
+
type: Component,
|
|
635
|
+
args: [{ selector: 'kv-multi-select', providers: ComponentProviders(MultiSelectComponent), template: "<span class=\"p-float-label\">\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\">\r\n </p-multiSelect>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
636
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { options: [{
|
|
637
|
+
type: Input
|
|
638
|
+
}], optionLabel: [{
|
|
639
|
+
type: Input
|
|
640
|
+
}], optionValue: [{
|
|
641
|
+
type: Input
|
|
642
|
+
}], filter: [{
|
|
643
|
+
type: Input
|
|
644
|
+
}], showClear: [{
|
|
645
|
+
type: Input
|
|
646
|
+
}], onSelectionChange: [{
|
|
647
|
+
type: Output
|
|
648
|
+
}], onPanelHide: [{
|
|
649
|
+
type: Output
|
|
650
|
+
}] } });
|
|
651
|
+
|
|
652
|
+
class SwitchComponent extends BaseComponentInput {
|
|
653
|
+
constructor(componentService) {
|
|
654
|
+
super(componentService);
|
|
655
|
+
this.onSwitchChange = new EventEmitter();
|
|
656
|
+
}
|
|
657
|
+
emitOnSwitchChange(event) {
|
|
658
|
+
this.onSwitchChange.emit(event);
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SwitchComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
662
|
+
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: SwitchComponent, selector: "kv-switch", outputs: { onSwitchChange: "onSwitchChange" }, providers: ComponentProviders(SwitchComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["p-inputSwitch{padding-right:.5rem}\n"], dependencies: [{ kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$8.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] });
|
|
663
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
664
|
+
type: Component,
|
|
665
|
+
args: [{ selector: 'kv-switch', providers: ComponentProviders(SwitchComponent), template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["p-inputSwitch{padding-right:.5rem}\n"] }]
|
|
666
|
+
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { onSwitchChange: [{
|
|
667
|
+
type: Output
|
|
668
|
+
}] } });
|
|
669
|
+
|
|
670
|
+
class BaseComponentButton {
|
|
671
|
+
constructor() {
|
|
672
|
+
this.icon = '';
|
|
673
|
+
this.label = '';
|
|
674
|
+
this.loading = false;
|
|
675
|
+
this.disabled = false;
|
|
676
|
+
this.onClick = new EventEmitter();
|
|
677
|
+
}
|
|
678
|
+
click(event) {
|
|
679
|
+
this.onClick.emit();
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
BaseComponentButton.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
683
|
+
BaseComponentButton.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: BaseComponentButton, selector: "ng-component", inputs: { icon: "icon", label: "label", loading: "loading", disabled: "disabled" }, outputs: { onClick: "onClick" }, ngImport: i0, template: '', isInline: true });
|
|
684
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: BaseComponentButton, decorators: [{
|
|
685
|
+
type: Component,
|
|
686
|
+
args: [{
|
|
687
|
+
template: '',
|
|
688
|
+
}]
|
|
689
|
+
}], ctorParameters: function () { return []; }, propDecorators: { icon: [{
|
|
690
|
+
type: Input
|
|
691
|
+
}], label: [{
|
|
692
|
+
type: Input
|
|
693
|
+
}], loading: [{
|
|
694
|
+
type: Input
|
|
695
|
+
}], disabled: [{
|
|
696
|
+
type: Input
|
|
697
|
+
}], onClick: [{
|
|
698
|
+
type: Output
|
|
699
|
+
}] } });
|
|
700
|
+
|
|
701
|
+
class ButtonSecondaryComponent extends BaseComponentButton {
|
|
702
|
+
constructor() {
|
|
703
|
+
super();
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
ButtonSecondaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSecondaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
707
|
+
ButtonSecondaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonSecondaryComponent, selector: "kv-button-secondary", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-secondary\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-secondary{background-color:#f2f3f5!important;color:#000000de!important}.btn-secondary:hover{background-color:#ef5350!important;color:#fff!important}.btn-secondary:disabled{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2$2.Ripple, selector: "[pRipple]" }] });
|
|
708
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSecondaryComponent, decorators: [{
|
|
709
|
+
type: Component,
|
|
710
|
+
args: [{ selector: 'kv-button-secondary', template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-secondary\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-secondary{background-color:#f2f3f5!important;color:#000000de!important}.btn-secondary:hover{background-color:#ef5350!important;color:#fff!important}.btn-secondary:disabled{pointer-events:none}\n"] }]
|
|
711
|
+
}], ctorParameters: function () { return []; } });
|
|
712
|
+
|
|
713
|
+
class ButtonSuccessComponent extends BaseComponentButton {
|
|
714
|
+
constructor() {
|
|
715
|
+
super();
|
|
716
|
+
}
|
|
717
|
+
}
|
|
718
|
+
ButtonSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
719
|
+
ButtonSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonSuccessComponent, selector: "kv-button-success", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-success\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-success{background-color:#29b92d!important;color:#fff!important}.btn-success:hover{background-color:#229925!important}.btn-success:disabled{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2$2.Ripple, selector: "[pRipple]" }] });
|
|
720
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSuccessComponent, decorators: [{
|
|
721
|
+
type: Component,
|
|
722
|
+
args: [{ selector: 'kv-button-success', template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-success\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-success{background-color:#29b92d!important;color:#fff!important}.btn-success:hover{background-color:#229925!important}.btn-success:disabled{pointer-events:none}\n"] }]
|
|
723
|
+
}], ctorParameters: function () { return []; } });
|
|
724
|
+
|
|
725
|
+
class PrimeNgModule {
|
|
726
|
+
}
|
|
727
|
+
PrimeNgModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: PrimeNgModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
728
|
+
PrimeNgModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: PrimeNgModule, exports: [AccordionModule,
|
|
729
|
+
AutoFocusModule,
|
|
730
|
+
BadgeModule,
|
|
731
|
+
ButtonModule,
|
|
732
|
+
CalendarModule,
|
|
733
|
+
CardModule,
|
|
734
|
+
CarouselModule,
|
|
735
|
+
CheckboxModule,
|
|
736
|
+
ConfirmDialogModule,
|
|
737
|
+
ContextMenuModule,
|
|
738
|
+
DialogModule,
|
|
739
|
+
DividerModule,
|
|
740
|
+
DropdownModule,
|
|
741
|
+
DynamicDialogModule,
|
|
742
|
+
InputMaskModule,
|
|
450
743
|
InputNumberModule,
|
|
451
744
|
InputSwitchModule,
|
|
452
745
|
InputTextModule,
|
|
@@ -573,6 +866,30 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
573
866
|
}]
|
|
574
867
|
}] });
|
|
575
868
|
|
|
869
|
+
class KvButtonsModule {
|
|
870
|
+
}
|
|
871
|
+
KvButtonsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
872
|
+
KvButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, declarations: [ButtonSecondaryComponent,
|
|
873
|
+
ButtonSuccessComponent], imports: [PrimeNgModule], exports: [ButtonSecondaryComponent,
|
|
874
|
+
ButtonSuccessComponent] });
|
|
875
|
+
KvButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, imports: [PrimeNgModule] });
|
|
876
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, decorators: [{
|
|
877
|
+
type: NgModule,
|
|
878
|
+
args: [{
|
|
879
|
+
declarations: [
|
|
880
|
+
ButtonSecondaryComponent,
|
|
881
|
+
ButtonSuccessComponent
|
|
882
|
+
],
|
|
883
|
+
imports: [
|
|
884
|
+
PrimeNgModule
|
|
885
|
+
],
|
|
886
|
+
exports: [
|
|
887
|
+
ButtonSecondaryComponent,
|
|
888
|
+
ButtonSuccessComponent
|
|
889
|
+
]
|
|
890
|
+
}]
|
|
891
|
+
}] });
|
|
892
|
+
|
|
576
893
|
class kvErrorModule {
|
|
577
894
|
}
|
|
578
895
|
kvErrorModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: kvErrorModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -602,370 +919,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
602
919
|
}]
|
|
603
920
|
}] });
|
|
604
921
|
|
|
605
|
-
class CheckComponent extends BaseComponentInput {
|
|
606
|
-
constructor(componentService) {
|
|
607
|
-
super(componentService);
|
|
608
|
-
this.onCheckChange = new EventEmitter();
|
|
609
|
-
}
|
|
610
|
-
emitOnCheckChange(event) {
|
|
611
|
-
this.onCheckChange.emit(event);
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
CheckComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: CheckComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
615
|
-
CheckComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: CheckComponent, selector: "kv-check", outputs: { onCheckChange: "onCheckChange" }, providers: ComponentProviders(CheckComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"field-checkbox\">\r\n <p-checkbox\r\n [binary]=\"true\"\r\n [disabled]=\"disabled\"\r\n [label]=\"label\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"emitOnCheckChange($event)\">\r\n </p-checkbox>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.Checkbox, selector: "p-checkbox", inputs: ["value", "name", "disabled", "binary", "label", "ariaLabelledBy", "ariaLabel", "tabindex", "inputId", "style", "styleClass", "labelStyleClass", "formControl", "checkboxIcon", "readonly", "required", "trueValue", "falseValue"], outputs: ["onChange"] }] });
|
|
616
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: CheckComponent, decorators: [{
|
|
617
|
-
type: Component,
|
|
618
|
-
args: [{ selector: 'kv-check', providers: ComponentProviders(CheckComponent), template: "<div class=\"field-checkbox\">\r\n <p-checkbox\r\n [binary]=\"true\"\r\n [disabled]=\"disabled\"\r\n [label]=\"label\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"emitOnCheckChange($event)\">\r\n </p-checkbox>\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n" }]
|
|
619
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { onCheckChange: [{
|
|
620
|
-
type: Output
|
|
621
|
-
}] } });
|
|
622
|
-
|
|
623
|
-
class DropdownComponent extends BaseComponentDropDown {
|
|
624
|
-
constructor(componentService, dialogService) {
|
|
625
|
-
super(componentService, dialogService);
|
|
626
|
-
}
|
|
627
|
-
}
|
|
628
|
-
DropdownComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DropdownComponent, deps: [{ token: ComponentService }, { token: i2.DialogService }], target: i0.ɵɵFactoryTarget.Component });
|
|
629
|
-
DropdownComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: DropdownComponent, selector: "kv-dropdown", providers: ComponentProviders(DropdownComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-dropdown\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"filter\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"filteredOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [showClear]=\"showClear\"\r\n [lazy]=\"true\"\r\n scrollHeight=\"100px\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n (onClick)=\"onInputClick($event)\"\r\n (onChange)=\"selectionValue($event)\">\r\n\r\n <ng-template *ngIf=\"addButton\" pTemplate=\"footer\">\r\n <p-divider></p-divider>\r\n <div class=\"flex flex-wrap card-container p-1\">\r\n <div class=\"flex justify-content-center\">\r\n <button\r\n pButton\r\n label=\"Incluir\"\r\n pTooltip=\"Clique aqui para incluir um novo registro\"\r\n tooltipPosition=\"bottom\"\r\n icon=\"pi pi-plus\"\r\n class=\"p-button-rounded p-button-success mr-2\"\r\n (click)=\"addClick($event)\"></button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n </p-dropdown>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i6.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i8.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "component", type: i9.Divider, selector: "p-divider", inputs: ["styleClass", "style", "layout", "type", "align"] }, { kind: "component", type: i10.Dropdown, selector: "p-dropdown", inputs: ["scrollHeight", "filter", "name", "style", "panelStyle", "styleClass", "panelStyleClass", "readonly", "required", "editable", "appendTo", "tabindex", "placeholder", "filterPlaceholder", "filterLocale", "inputId", "selectId", "dataKey", "filterBy", "autofocus", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "autoDisplayFirst", "group", "showClear", "emptyFilterMessage", "emptyMessage", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "ariaLabel", "ariaLabelledBy", "filterMatchMode", "maxlength", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "overlayDirection", "disabled", "itemSize", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "options", "filterValue"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onShow", "onHide", "onClear", "onLazyLoad"] }] });
|
|
630
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: DropdownComponent, decorators: [{
|
|
631
|
-
type: Component,
|
|
632
|
-
args: [{ selector: 'kv-dropdown', providers: ComponentProviders(DropdownComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-dropdown\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [filter]=\"filter\"\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [options]=\"filteredOptions\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [showClear]=\"showClear\"\r\n [lazy]=\"true\"\r\n scrollHeight=\"100px\"\r\n (onBlur)=\"onInputBlur($event)\"\r\n (onClick)=\"onInputClick($event)\"\r\n (onChange)=\"selectionValue($event)\">\r\n\r\n <ng-template *ngIf=\"addButton\" pTemplate=\"footer\">\r\n <p-divider></p-divider>\r\n <div class=\"flex flex-wrap card-container p-1\">\r\n <div class=\"flex justify-content-center\">\r\n <button\r\n pButton\r\n label=\"Incluir\"\r\n pTooltip=\"Clique aqui para incluir um novo registro\"\r\n tooltipPosition=\"bottom\"\r\n icon=\"pi pi-plus\"\r\n class=\"p-button-rounded p-button-success mr-2\"\r\n (click)=\"addClick($event)\"></button>\r\n </div>\r\n </div>\r\n </ng-template>\r\n\r\n </p-dropdown>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
633
|
-
}], ctorParameters: function () { return [{ type: ComponentService }, { type: i2.DialogService }]; } });
|
|
634
|
-
|
|
635
|
-
class InputCalendarComponent extends BaseComponentInput {
|
|
636
|
-
constructor(componentService) {
|
|
637
|
-
super(componentService);
|
|
638
|
-
this.isYear = false;
|
|
639
|
-
this.isMonthYear = false;
|
|
640
|
-
this.showButtonBar = false;
|
|
641
|
-
this.showIcon = true;
|
|
642
|
-
this.selectionMode = 'single';
|
|
643
|
-
this.typeView = 'date';
|
|
644
|
-
this.dateFormat = 'dd/mm/yy';
|
|
645
|
-
}
|
|
646
|
-
writeValue(value) {
|
|
647
|
-
this.value = value;
|
|
648
|
-
if (value && typeof value === 'string') {
|
|
649
|
-
this.value = new Date(value);
|
|
650
|
-
}
|
|
651
|
-
}
|
|
652
|
-
ngOnInit() {
|
|
653
|
-
super.ngOnInit();
|
|
654
|
-
if (this.isYear) {
|
|
655
|
-
this.typeView = "year";
|
|
656
|
-
this.dateFormat = 'yy';
|
|
657
|
-
}
|
|
658
|
-
else if (this.isMonthYear) {
|
|
659
|
-
this.typeView = 'month';
|
|
660
|
-
this.dateFormat = 'mm/yy';
|
|
661
|
-
}
|
|
662
|
-
else {
|
|
663
|
-
this.typeView = 'date';
|
|
664
|
-
this.dateFormat = 'dd/mm/yy';
|
|
665
|
-
}
|
|
666
|
-
}
|
|
667
|
-
}
|
|
668
|
-
InputCalendarComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputCalendarComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
669
|
-
InputCalendarComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputCalendarComponent, selector: "kv-input-calendar", inputs: { isYear: "isYear", isMonthYear: "isMonthYear", minDate: "minDate", maxDate: "maxDate", showButtonBar: "showButtonBar", showIcon: "showIcon", selectionMode: "selectionMode" }, providers: ComponentProviders(InputCalendarComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [selectionMode]=\"selectionMode\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [showIcon]=\"showIcon\"\r\n [view]=\"typeView\"\r\n [dateFormat]=\"dateFormat\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
|
|
670
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputCalendarComponent, decorators: [{
|
|
671
|
-
type: Component,
|
|
672
|
-
args: [{ selector: 'kv-input-calendar', providers: ComponentProviders(InputCalendarComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [minDate]=\"minDate\"\r\n [maxDate]=\"maxDate\"\r\n [selectionMode]=\"selectionMode\"\r\n [showButtonBar]=\"showButtonBar\"\r\n [showIcon]=\"showIcon\"\r\n [view]=\"typeView\"\r\n [dateFormat]=\"dateFormat\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
673
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { isYear: [{
|
|
674
|
-
type: Input
|
|
675
|
-
}], isMonthYear: [{
|
|
676
|
-
type: Input
|
|
677
|
-
}], minDate: [{
|
|
678
|
-
type: Input
|
|
679
|
-
}], maxDate: [{
|
|
680
|
-
type: Input
|
|
681
|
-
}], showButtonBar: [{
|
|
682
|
-
type: Input
|
|
683
|
-
}], showIcon: [{
|
|
684
|
-
type: Input
|
|
685
|
-
}], selectionMode: [{
|
|
686
|
-
type: Input
|
|
687
|
-
}] } });
|
|
688
|
-
|
|
689
|
-
class InputMaskComponent extends BaseComponentInput {
|
|
690
|
-
constructor(componentService) {
|
|
691
|
-
super(componentService);
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
InputMaskComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputMaskComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
695
|
-
InputMaskComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputMaskComponent, selector: "kv-input-mask", inputs: { mask: "mask" }, providers: ComponentProviders(InputMaskComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-inputMask\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"value\"\r\n [mask]=\"mask\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputMask>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$2.InputMask, selector: "p-inputMask", inputs: ["type", "slotChar", "autoClear", "showClear", "style", "inputId", "styleClass", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "disabled", "readonly", "unmask", "name", "required", "characterPattern", "autoFocus", "autocomplete", "keepBuffer", "mask"], outputs: ["onComplete", "onFocus", "onBlur", "onInput", "onKeydown", "onClear"] }] });
|
|
696
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputMaskComponent, decorators: [{
|
|
697
|
-
type: Component,
|
|
698
|
-
args: [{ selector: 'kv-input-mask', providers: ComponentProviders(InputMaskComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-inputMask\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [placeholder]=\"placeholder\"\r\n [(ngModel)]=\"value\"\r\n [mask]=\"mask\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputMask>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
699
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { mask: [{
|
|
700
|
-
type: Input
|
|
701
|
-
}] } });
|
|
702
|
-
|
|
703
|
-
class InputNumberComponent extends BaseComponentInput {
|
|
704
|
-
constructor(componentService) {
|
|
705
|
-
super(componentService);
|
|
706
|
-
this.mode = 'decimal';
|
|
707
|
-
this.digits = 0;
|
|
708
|
-
this.min = 0;
|
|
709
|
-
}
|
|
710
|
-
ngOnInit() {
|
|
711
|
-
super.ngOnInit();
|
|
712
|
-
this.inputNumber.mode = this.mode;
|
|
713
|
-
this.inputNumber.locale = 'pt-BR';
|
|
714
|
-
switch (this.mode) {
|
|
715
|
-
case 'decimal':
|
|
716
|
-
this.configDecimal();
|
|
717
|
-
break;
|
|
718
|
-
case 'currency':
|
|
719
|
-
this.configCurrency();
|
|
720
|
-
break;
|
|
721
|
-
}
|
|
722
|
-
}
|
|
723
|
-
configDecimal() {
|
|
724
|
-
if (!this.digits)
|
|
725
|
-
this.inputNumber.useGrouping = false;
|
|
726
|
-
this.inputNumber.minFractionDigits = this.digits;
|
|
727
|
-
this.inputNumber.maxFractionDigits = this.digits;
|
|
728
|
-
}
|
|
729
|
-
configCurrency() {
|
|
730
|
-
this.inputNumber.currency = 'BRL';
|
|
731
|
-
}
|
|
732
|
-
}
|
|
733
|
-
InputNumberComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputNumberComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
734
|
-
InputNumberComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputNumberComponent, selector: "kv-input-number", inputs: { mode: "mode", digits: "digits", min: "min", max: "max" }, providers: ComponentProviders(InputNumberComponent), viewQueries: [{ propertyName: "inputNumber", first: true, predicate: ["inputNumber"], descendants: true, static: true }], usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-inputNumber\r\n #inputNumber\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputNumber>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$3.InputNumber, selector: "p-inputNumber", inputs: ["showButtons", "format", "buttonLayout", "inputId", "styleClass", "style", "placeholder", "size", "maxlength", "tabindex", "title", "ariaLabel", "ariaRequired", "name", "required", "autocomplete", "min", "max", "incrementButtonClass", "decrementButtonClass", "incrementButtonIcon", "decrementButtonIcon", "readonly", "step", "allowEmpty", "locale", "localeMatcher", "mode", "currency", "currencyDisplay", "useGrouping", "minFractionDigits", "maxFractionDigits", "prefix", "suffix", "inputStyle", "inputStyleClass", "showClear", "disabled"], outputs: ["onInput", "onFocus", "onBlur", "onKeyDown", "onClear"] }] });
|
|
735
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputNumberComponent, decorators: [{
|
|
736
|
-
type: Component,
|
|
737
|
-
args: [{ selector: 'kv-input-number', providers: ComponentProviders(InputNumberComponent), template: "<span class=\"p-float-label\">\r\n <p-inputNumber\r\n #inputNumber\r\n [class]=\"baseInputClass\"\r\n [inputId]=\"componentId\"\r\n [min]=\"min\"\r\n [max]=\"max\"\r\n [(ngModel)]=\"value\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-inputNumber>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
738
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { mode: [{
|
|
739
|
-
type: Input
|
|
740
|
-
}], digits: [{
|
|
741
|
-
type: Input
|
|
742
|
-
}], min: [{
|
|
743
|
-
type: Input
|
|
744
|
-
}], max: [{
|
|
745
|
-
type: Input
|
|
746
|
-
}], inputNumber: [{
|
|
747
|
-
type: ViewChild,
|
|
748
|
-
args: ['inputNumber', { static: true }]
|
|
749
|
-
}] } });
|
|
750
|
-
|
|
751
|
-
class InputPasswordComponent extends BaseComponentInput {
|
|
752
|
-
constructor(componentService) {
|
|
753
|
-
super(componentService);
|
|
754
|
-
this.feedback = false;
|
|
755
|
-
this.mediumRegex = '';
|
|
756
|
-
this.strongRegex = '';
|
|
757
|
-
this.toggleMask = true;
|
|
758
|
-
}
|
|
759
|
-
}
|
|
760
|
-
InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
761
|
-
InputPasswordComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputPasswordComponent, selector: "kv-input-password", inputs: { feedback: "feedback", mediumRegex: "mediumRegex", strongRegex: "strongRegex", toggleMask: "toggleMask" }, providers: ComponentProviders(InputPasswordComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (blur)=\"onInputBlur($event)\">\r\n </p-password>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$4.Password, selector: "p-password", inputs: ["ariaLabel", "ariaLabelledBy", "label", "disabled", "promptLabel", "mediumRegex", "strongRegex", "weakLabel", "mediumLabel", "maxLength", "strongLabel", "inputId", "feedback", "appendTo", "toggleMask", "inputStyleClass", "panelStyle", "panelStyleClass", "styleClass", "style", "inputStyle", "showTransitionOptions", "hideTransitionOptions", "placeholder", "showClear"], outputs: ["onFocus", "onBlur", "onClear"] }] });
|
|
762
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
763
|
-
type: Component,
|
|
764
|
-
args: [{ selector: 'kv-input-password', providers: ComponentProviders(InputPasswordComponent), template: "<span class=\"p-float-label\">\r\n <p-password\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [toggleMask]=\"toggleMask\"\r\n [feedback]=\"feedback\"\r\n [mediumRegex]=\"mediumRegex\"\r\n [strongRegex]=\"strongRegex\"\r\n (blur)=\"onInputBlur($event)\">\r\n </p-password>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
765
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { feedback: [{
|
|
766
|
-
type: Input
|
|
767
|
-
}], mediumRegex: [{
|
|
768
|
-
type: Input
|
|
769
|
-
}], strongRegex: [{
|
|
770
|
-
type: Input
|
|
771
|
-
}], toggleMask: [{
|
|
772
|
-
type: Input
|
|
773
|
-
}] } });
|
|
774
|
-
|
|
775
|
-
class InputTextComponent extends BaseComponentInput {
|
|
776
|
-
constructor(componentService) {
|
|
777
|
-
super(componentService);
|
|
778
|
-
}
|
|
779
|
-
}
|
|
780
|
-
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
781
|
-
InputTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextComponent, selector: "kv-input-text", providers: ComponentProviders(InputTextComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n"], dependencies: [{ kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4$5.InputText, selector: "[pInputText]" }] });
|
|
782
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
783
|
-
type: Component,
|
|
784
|
-
args: [{ selector: 'kv-input-text', providers: ComponentProviders(InputTextComponent), template: "<span class=\"p-float-label\">\r\n <input\r\n pInputText\r\n type=\"text\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [".div-pai{display:flex;flex-direction:row;column-gap:.25rem;padding-right:0}.div-input{width:100%}.div-button{width:20%}.div-button button{width:100%}\n"] }]
|
|
785
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; } });
|
|
786
|
-
|
|
787
|
-
class InputTextareaComponent extends BaseComponentInput {
|
|
788
|
-
constructor(componentService) {
|
|
789
|
-
super(componentService);
|
|
790
|
-
this.multiline = false;
|
|
791
|
-
this.rows = 2;
|
|
792
|
-
this.cols = 20;
|
|
793
|
-
this.autoResize = false;
|
|
794
|
-
this.maxValueLength = 0;
|
|
795
|
-
this.counterValueLength = 0;
|
|
796
|
-
}
|
|
797
|
-
ngOnInit() {
|
|
798
|
-
var _a;
|
|
799
|
-
super.ngOnInit();
|
|
800
|
-
(_a = this.formControl) === null || _a === void 0 ? void 0 : _a.valueChanges.subscribe((value) => {
|
|
801
|
-
this.counterValueLength = value === null || value === void 0 ? void 0 : value.length;
|
|
802
|
-
});
|
|
803
|
-
}
|
|
804
|
-
}
|
|
805
|
-
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
806
|
-
InputTextareaComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextareaComponent, selector: "kv-input-textarea", inputs: { multiline: "multiline", rows: "rows", cols: "cols", autoResize: "autoResize", maxValueLength: "maxValueLength" }, providers: ComponentProviders(InputTextareaComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n </textarea>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4$6.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }] });
|
|
807
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
808
|
-
type: Component,
|
|
809
|
-
args: [{ selector: 'kv-input-textarea', providers: ComponentProviders(InputTextareaComponent), template: "<span class=\"p-float-label\">\r\n <textarea\r\n pInputTextarea\r\n [autoResize]=\"autoResize\"\r\n [class]=\"baseInputClass\"\r\n [cols]=\"cols\"\r\n [disabled]=\"disabled\"\r\n [id]=\"componentId\"\r\n [rows]=\"rows\"\r\n [(ngModel)]=\"value\"\r\n (blur)=\"onInputBlur($event)\">\r\n </textarea>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
810
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { multiline: [{
|
|
811
|
-
type: Input
|
|
812
|
-
}], rows: [{
|
|
813
|
-
type: Input
|
|
814
|
-
}], cols: [{
|
|
815
|
-
type: Input
|
|
816
|
-
}], autoResize: [{
|
|
817
|
-
type: Input
|
|
818
|
-
}], maxValueLength: [{
|
|
819
|
-
type: Input
|
|
820
|
-
}] } });
|
|
821
|
-
|
|
822
|
-
class InputTimeComponent extends BaseComponentInput {
|
|
823
|
-
constructor(componentService) {
|
|
824
|
-
super(componentService);
|
|
825
|
-
this.showIcon = true;
|
|
826
|
-
}
|
|
827
|
-
}
|
|
828
|
-
InputTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
829
|
-
InputTimeComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTimeComponent, selector: "kv-input-time", inputs: { showIcon: "showIcon" }, providers: ComponentProviders(InputTimeComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$1.Calendar, selector: "p-calendar", inputs: ["style", "styleClass", "inputStyle", "inputId", "name", "inputStyleClass", "placeholder", "ariaLabelledBy", "iconAriaLabel", "disabled", "dateFormat", "multipleSeparator", "rangeSeparator", "inline", "showOtherMonths", "selectOtherMonths", "showIcon", "icon", "appendTo", "readonlyInput", "shortYearCutoff", "monthNavigator", "yearNavigator", "hourFormat", "timeOnly", "stepHour", "stepMinute", "stepSecond", "showSeconds", "required", "showOnFocus", "showWeek", "showClear", "dataType", "selectionMode", "maxDateCount", "showButtonBar", "todayButtonStyleClass", "clearButtonStyleClass", "autoZIndex", "baseZIndex", "panelStyleClass", "panelStyle", "keepInvalid", "hideOnDateTimeSelect", "touchUI", "timeSeparator", "focusTrap", "showTransitionOptions", "hideTransitionOptions", "tabindex", "view", "defaultDate", "minDate", "maxDate", "disabledDates", "disabledDays", "yearRange", "showTime", "responsiveOptions", "numberOfMonths", "firstDayOfWeek", "locale"], outputs: ["onFocus", "onBlur", "onClose", "onSelect", "onClear", "onInput", "onTodayClick", "onClearClick", "onMonthChange", "onYearChange", "onClickOutside", "onShow"] }] });
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
831
|
-
type: Component,
|
|
832
|
-
args: [{ selector: 'kv-input-time', providers: ComponentProviders(InputTimeComponent), template: "<span class=\"p-float-label\">\r\n\r\n <p-calendar\r\n appendTo=\"body\"\r\n [class]=\"baseInputClass\"\r\n [id]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\"\r\n [showIcon]=\"showIcon\"\r\n [showTime]=\"true\"\r\n [timeOnly]=\"true\"\r\n (onBlur)=\"onInputBlur($event)\">\r\n </p-calendar>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
833
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { showIcon: [{
|
|
834
|
-
type: Input
|
|
835
|
-
}] } });
|
|
836
|
-
|
|
837
|
-
class MultiSelectComponent extends BaseComponentInput {
|
|
838
|
-
constructor(componentService) {
|
|
839
|
-
super(componentService);
|
|
840
|
-
this.filter = false;
|
|
841
|
-
this.showClear = false;
|
|
842
|
-
this.onSelectionChange = new EventEmitter();
|
|
843
|
-
this.onPanelHide = new EventEmitter();
|
|
844
|
-
}
|
|
845
|
-
ngOnInit() {
|
|
846
|
-
super.ngOnInit();
|
|
847
|
-
}
|
|
848
|
-
get baseInputClass() {
|
|
849
|
-
return `p-multiselect-sm ${this.hasError ? 'ng-invalid ng-dirty' : ''}`;
|
|
850
|
-
}
|
|
851
|
-
selectionChange(event) {
|
|
852
|
-
this.onSelectionChange.emit(event);
|
|
853
|
-
}
|
|
854
|
-
panelHide(event) {
|
|
855
|
-
this.onPanelHide.emit(event);
|
|
856
|
-
}
|
|
857
|
-
}
|
|
858
|
-
MultiSelectComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: MultiSelectComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
859
|
-
MultiSelectComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: MultiSelectComponent, selector: "kv-multi-select", inputs: { options: "options", optionLabel: "optionLabel", optionValue: "optionValue", filter: "filter", showClear: "showClear" }, outputs: { onSelectionChange: "onSelectionChange", onPanelHide: "onPanelHide" }, providers: ComponentProviders(MultiSelectComponent), usesInheritance: true, ngImport: i0, template: "<span class=\"p-float-label\">\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\">\r\n </p-multiSelect>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n", styles: [""], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$7.MultiSelect, selector: "p-multiSelect", inputs: ["style", "styleClass", "panelStyle", "panelStyleClass", "inputId", "disabled", "readonly", "group", "filter", "filterPlaceHolder", "filterLocale", "overlayVisible", "tabindex", "appendTo", "dataKey", "name", "label", "ariaLabelledBy", "displaySelectedLabel", "maxSelectedLabels", "selectionLimit", "selectedItemsLabel", "showToggleAll", "emptyFilterMessage", "emptyMessage", "resetFilterOnHide", "dropdownIcon", "optionLabel", "optionValue", "optionDisabled", "optionGroupLabel", "optionGroupChildren", "showHeader", "filterBy", "scrollHeight", "lazy", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "overlayOptions", "ariaFilterLabel", "filterMatchMode", "tooltip", "tooltipPosition", "tooltipPositionStyle", "tooltipStyleClass", "autofocusFilter", "display", "autocomplete", "showClear", "autoZIndex", "baseZIndex", "showTransitionOptions", "hideTransitionOptions", "defaultLabel", "placeholder", "options", "filterValue", "itemSize"], outputs: ["onChange", "onFilter", "onFocus", "onBlur", "onClick", "onClear", "onPanelShow", "onPanelHide", "onLazyLoad", "onRemove"] }] });
|
|
860
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: MultiSelectComponent, decorators: [{
|
|
861
|
-
type: Component,
|
|
862
|
-
args: [{ selector: 'kv-multi-select', providers: ComponentProviders(MultiSelectComponent), template: "<span class=\"p-float-label\">\r\n <p-multiSelect\r\n appendTo=\"body\"\r\n display=\"chip\"\r\n inputId=\"multiselect\"\r\n [class]=\"baseInputClass\"\r\n [disabled]=\"disabled\"\r\n [options]=\"options\"\r\n [optionLabel]=\"optionLabel\"\r\n [optionValue]=\"optionValue\"\r\n [filter]=\"filter\"\r\n [showClear]=\"showClear\"\r\n [(ngModel)]=\"value\"\r\n (onChange)=\"selectionChange($event)\"\r\n (onPanelHide)=\"panelHide($event)\">\r\n </p-multiSelect>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</span>\r\n<ng-content></ng-content>\r\n" }]
|
|
863
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { options: [{
|
|
864
|
-
type: Input
|
|
865
|
-
}], optionLabel: [{
|
|
866
|
-
type: Input
|
|
867
|
-
}], optionValue: [{
|
|
868
|
-
type: Input
|
|
869
|
-
}], filter: [{
|
|
870
|
-
type: Input
|
|
871
|
-
}], showClear: [{
|
|
872
|
-
type: Input
|
|
873
|
-
}], onSelectionChange: [{
|
|
874
|
-
type: Output
|
|
875
|
-
}], onPanelHide: [{
|
|
876
|
-
type: Output
|
|
877
|
-
}] } });
|
|
878
|
-
|
|
879
|
-
class SwitchComponent extends BaseComponentInput {
|
|
880
|
-
constructor(componentService) {
|
|
881
|
-
super(componentService);
|
|
882
|
-
this.onSwitchChange = new EventEmitter();
|
|
883
|
-
}
|
|
884
|
-
emitOnSwitchChange(event) {
|
|
885
|
-
this.onSwitchChange.emit(event);
|
|
886
|
-
}
|
|
887
|
-
}
|
|
888
|
-
SwitchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SwitchComponent, deps: [{ token: ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
889
|
-
SwitchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: SwitchComponent, selector: "kv-switch", outputs: { onSwitchChange: "onSwitchChange" }, providers: ComponentProviders(SwitchComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["p-inputSwitch{padding-right:.5rem}\n"], dependencies: [{ kind: "directive", type: i2$1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2$1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "component", type: ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4$8.InputSwitch, selector: "p-inputSwitch", inputs: ["style", "styleClass", "tabindex", "inputId", "name", "disabled", "readonly", "trueValue", "falseValue", "ariaLabel", "ariaLabelledBy"], outputs: ["onChange"] }] });
|
|
890
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: SwitchComponent, decorators: [{
|
|
891
|
-
type: Component,
|
|
892
|
-
args: [{ selector: 'kv-switch', providers: ComponentProviders(SwitchComponent), template: "<div class=\"center field-checkbox\">\r\n\r\n <p-inputSwitch\r\n [inputId]=\"componentId\"\r\n [(ngModel)]=\"value\"\r\n [disabled]=\"disabled\">\r\n </p-inputSwitch>\r\n <label [for]=\"componentId\">{{ label }}</label>\r\n\r\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\r\n</div>\r\n", styles: ["p-inputSwitch{padding-right:.5rem}\n"] }]
|
|
893
|
-
}], ctorParameters: function () { return [{ type: ComponentService }]; }, propDecorators: { onSwitchChange: [{
|
|
894
|
-
type: Output
|
|
895
|
-
}] } });
|
|
896
|
-
|
|
897
|
-
class ButtonSecondaryComponent extends BaseComponentButton {
|
|
898
|
-
constructor() {
|
|
899
|
-
super();
|
|
900
|
-
}
|
|
901
|
-
}
|
|
902
|
-
ButtonSecondaryComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSecondaryComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
903
|
-
ButtonSecondaryComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonSecondaryComponent, selector: "kv-button-secondary", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-secondary\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-secondary{background-color:#f2f3f5!important;color:#000000de!important}.btn-secondary:hover{background-color:#ef5350!important;color:#fff!important}.btn-secondary:disabled{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2$2.Ripple, selector: "[pRipple]" }] });
|
|
904
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSecondaryComponent, decorators: [{
|
|
905
|
-
type: Component,
|
|
906
|
-
args: [{ selector: 'kv-button-secondary', template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-secondary\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-secondary{background-color:#f2f3f5!important;color:#000000de!important}.btn-secondary:hover{background-color:#ef5350!important;color:#fff!important}.btn-secondary:disabled{pointer-events:none}\n"] }]
|
|
907
|
-
}], ctorParameters: function () { return []; } });
|
|
908
|
-
|
|
909
|
-
class ButtonSuccessComponent extends BaseComponentButton {
|
|
910
|
-
constructor() {
|
|
911
|
-
super();
|
|
912
|
-
}
|
|
913
|
-
}
|
|
914
|
-
ButtonSuccessComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSuccessComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
915
|
-
ButtonSuccessComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: ButtonSuccessComponent, selector: "kv-button-success", usesInheritance: true, ngImport: i0, template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-success\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-success{background-color:#29b92d!important;color:#fff!important}.btn-success:hover{background-color:#229925!important}.btn-success:disabled{pointer-events:none}\n"], dependencies: [{ kind: "directive", type: i1$1.ButtonDirective, selector: "[pButton]", inputs: ["iconPos", "loadingIcon", "label", "icon", "loading"] }, { kind: "directive", type: i2$2.Ripple, selector: "[pRipple]" }] });
|
|
916
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: ButtonSuccessComponent, decorators: [{
|
|
917
|
-
type: Component,
|
|
918
|
-
args: [{ selector: 'kv-button-success', template: "<button\r\n pButton\r\n pRipple\r\n class=\"btn-success\"\r\n [icon]=\"icon\"\r\n [label]=\"label\"\r\n [loading]=\"loading\"\r\n (click)=\"click($event)\">\r\n</button>\r\n", styles: [".btn-success{background-color:#29b92d!important;color:#fff!important}.btn-success:hover{background-color:#229925!important}.btn-success:disabled{pointer-events:none}\n"] }]
|
|
919
|
-
}], ctorParameters: function () { return []; } });
|
|
920
|
-
|
|
921
|
-
class KeevoComponentsModule {
|
|
922
|
-
}
|
|
923
|
-
KeevoComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
924
|
-
KeevoComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, imports: [KvInputsModule,
|
|
925
|
-
KvButtonsModule], exports: [KvInputsModule,
|
|
926
|
-
KvButtonsModule] });
|
|
927
|
-
KeevoComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, imports: [KvInputsModule,
|
|
928
|
-
KvButtonsModule, KvInputsModule,
|
|
929
|
-
KvButtonsModule] });
|
|
930
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, decorators: [{
|
|
931
|
-
type: NgModule,
|
|
932
|
-
args: [{
|
|
933
|
-
declarations: [],
|
|
934
|
-
imports: [
|
|
935
|
-
KvInputsModule,
|
|
936
|
-
KvButtonsModule
|
|
937
|
-
],
|
|
938
|
-
exports: [
|
|
939
|
-
KvInputsModule,
|
|
940
|
-
KvButtonsModule
|
|
941
|
-
]
|
|
942
|
-
}]
|
|
943
|
-
}] });
|
|
944
|
-
|
|
945
|
-
class KvButtonsModule {
|
|
946
|
-
}
|
|
947
|
-
KvButtonsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
948
|
-
KvButtonsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, declarations: [ButtonSecondaryComponent,
|
|
949
|
-
ButtonSuccessComponent], imports: [PrimeNgModule], exports: [ButtonSecondaryComponent,
|
|
950
|
-
ButtonSuccessComponent] });
|
|
951
|
-
KvButtonsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, imports: [PrimeNgModule] });
|
|
952
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvButtonsModule, decorators: [{
|
|
953
|
-
type: NgModule,
|
|
954
|
-
args: [{
|
|
955
|
-
declarations: [
|
|
956
|
-
ButtonSecondaryComponent,
|
|
957
|
-
ButtonSuccessComponent
|
|
958
|
-
],
|
|
959
|
-
imports: [
|
|
960
|
-
PrimeNgModule
|
|
961
|
-
],
|
|
962
|
-
exports: [
|
|
963
|
-
ButtonSecondaryComponent,
|
|
964
|
-
ButtonSuccessComponent
|
|
965
|
-
]
|
|
966
|
-
}]
|
|
967
|
-
}] });
|
|
968
|
-
|
|
969
922
|
class KvInputsModule {
|
|
970
923
|
}
|
|
971
924
|
KvInputsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KvInputsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
@@ -1038,6 +991,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
1038
991
|
}]
|
|
1039
992
|
}] });
|
|
1040
993
|
|
|
994
|
+
class KeevoComponentsModule {
|
|
995
|
+
}
|
|
996
|
+
KeevoComponentsModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
997
|
+
KeevoComponentsModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, imports: [KvInputsModule,
|
|
998
|
+
KvButtonsModule], exports: [KvInputsModule,
|
|
999
|
+
KvButtonsModule] });
|
|
1000
|
+
KeevoComponentsModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, imports: [KvInputsModule,
|
|
1001
|
+
KvButtonsModule, KvInputsModule,
|
|
1002
|
+
KvButtonsModule] });
|
|
1003
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: KeevoComponentsModule, decorators: [{
|
|
1004
|
+
type: NgModule,
|
|
1005
|
+
args: [{
|
|
1006
|
+
declarations: [],
|
|
1007
|
+
imports: [
|
|
1008
|
+
KvInputsModule,
|
|
1009
|
+
KvButtonsModule
|
|
1010
|
+
],
|
|
1011
|
+
exports: [
|
|
1012
|
+
KvInputsModule,
|
|
1013
|
+
KvButtonsModule
|
|
1014
|
+
]
|
|
1015
|
+
}]
|
|
1016
|
+
}] });
|
|
1017
|
+
|
|
1018
|
+
class TranslatePrimeng {
|
|
1019
|
+
config(config) {
|
|
1020
|
+
config.ripple = true;
|
|
1021
|
+
config.setTranslation({
|
|
1022
|
+
monthNames: ['Janeiro', 'Fevereiro', 'Março', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro', 'Dezembro'],
|
|
1023
|
+
monthNamesShort: ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez'],
|
|
1024
|
+
dayNames: ['Domingo', 'Segunda', 'Terça', 'Quarta', 'Quinta', 'Sexta', 'Sabádo'],
|
|
1025
|
+
dayNamesShort: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'],
|
|
1026
|
+
dayNamesMin: ['Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab'],
|
|
1027
|
+
today: 'Hoje',
|
|
1028
|
+
weekHeader: 'Semana',
|
|
1029
|
+
emptyMessage: 'Nenhum resultado encontrado',
|
|
1030
|
+
emptyFilterMessage: 'Nenhum registro encontrado com o filtro informado',
|
|
1031
|
+
weak: 'Fraca',
|
|
1032
|
+
medium: 'Média',
|
|
1033
|
+
strong: 'Forte',
|
|
1034
|
+
passwordPrompt: 'Informe a senha',
|
|
1035
|
+
clear: 'Limpar',
|
|
1036
|
+
apply: 'Aplicar'
|
|
1037
|
+
});
|
|
1038
|
+
}
|
|
1039
|
+
}
|
|
1040
|
+
|
|
1041
1041
|
/*
|
|
1042
1042
|
* Public API Surface of keevo-components
|
|
1043
1043
|
*/
|
|
@@ -1046,5 +1046,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImpor
|
|
|
1046
1046
|
* Generated bundle index. Do not edit.
|
|
1047
1047
|
*/
|
|
1048
1048
|
|
|
1049
|
-
export { ButtonSecondaryComponent, ButtonSuccessComponent, CheckComponent, ComponentService, DropdownComponent, ErrorComponent, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KeevoComponentsModule, KvButtonsModule, KvInputsModule, MultiSelectComponent, ObjectService, SwitchComponent, kvErrorModule };
|
|
1049
|
+
export { BaseComponent, BaseComponentButton, BaseComponentDropDown, BaseComponentInput, ButtonSecondaryComponent, ButtonSuccessComponent, CheckComponent, ComponentProviders, ComponentService, DropdownComponent, ErrorComponent, InputCalendarComponent, InputMaskComponent, InputNumberComponent, InputPasswordComponent, InputTextComponent, InputTextareaComponent, InputTimeComponent, KeevoComponentsModule, KvButtonsModule, KvInputsModule, MultiSelectComponent, ObjectService, PrimeNgModule, SwitchComponent, TranslatePrimeng, kvErrorModule };
|
|
1050
1050
|
//# sourceMappingURL=keevo-components.mjs.map
|