keevo-components 1.5.140 → 1.5.142
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +24 -24
- package/esm2020/keevo-components.mjs +4 -4
- package/esm2020/lib/api/base-components/base-component-button.mjs +36 -36
- package/esm2020/lib/api/base-components/base-component-chart.mjs +92 -92
- package/esm2020/lib/api/base-components/base-component-crud-form.mjs +278 -278
- package/esm2020/lib/api/base-components/base-component-crud-list.mjs +67 -67
- package/esm2020/lib/api/base-components/base-component-crud.mjs +65 -65
- package/esm2020/lib/api/base-components/base-component-dropdown.mjs +161 -161
- package/esm2020/lib/api/base-components/base-component-input.mjs +93 -93
- package/esm2020/lib/api/base-components/base-component-multi-select.mjs +128 -128
- package/esm2020/lib/api/base-components/base-component.mjs +49 -49
- package/esm2020/lib/api/components/chart/chart.config.mjs +2 -2
- package/esm2020/lib/api/components/chart/chart.model.mjs +2 -2
- package/esm2020/lib/api/components/chart/orchart.config.mjs +2 -2
- package/esm2020/lib/api/components/chart/orchart.item.mjs +2 -2
- package/esm2020/lib/api/components/dropdown/filtro.combo.mjs +2 -2
- package/esm2020/lib/api/components/error/error.component.mjs +26 -26
- package/esm2020/lib/api/components/error/kverror.module.mjs +35 -35
- package/esm2020/lib/api/components/table/action-item.mjs +2 -2
- package/esm2020/lib/api/components/table/kv-menuitem.mjs +3 -3
- package/esm2020/lib/api/components/table/table.config.column.mjs +2 -2
- package/esm2020/lib/api/components/table/table.config.mjs +2 -2
- package/esm2020/lib/api/components/table/table.paginate.mjs +9 -9
- package/esm2020/lib/api/helpers/component-providers.mjs +16 -16
- package/esm2020/lib/api/helpers/translate-primeng.mjs +23 -23
- package/esm2020/lib/api/models/menu/master.model.mjs +2 -2
- package/esm2020/lib/api/models/menu/menu.model.mjs +2 -2
- package/esm2020/lib/api/models/menu/menucompleto.model.mjs +2 -2
- package/esm2020/lib/api/models/menu/sistemamenu.model.mjs +2 -2
- package/esm2020/lib/api/modules/primeng.module.mjs +247 -247
- package/esm2020/lib/api/services/base.api.service.mjs +74 -0
- package/esm2020/lib/api/services/component.service.mjs +27 -27
- package/esm2020/lib/api/services/form.service.mjs +102 -102
- package/esm2020/lib/api/services/imagens.service.mjs +22 -22
- package/esm2020/lib/api/services/notification.service.mjs +67 -67
- package/esm2020/lib/api/services/object.service.mjs +26 -26
- package/esm2020/lib/buttons/button-personalize/button-personalize.component.mjs +17 -17
- package/esm2020/lib/buttons/button-popup/button-popup.component.mjs +30 -0
- package/esm2020/lib/buttons/button-secondary/button-secondary.component.mjs +17 -17
- package/esm2020/lib/buttons/button-success/button-success.component.mjs +17 -17
- package/esm2020/lib/buttons/kvbutton.module.mjs +39 -34
- package/esm2020/lib/chart/chart.component.mjs +145 -145
- package/esm2020/lib/chart/kvchart.module.mjs +32 -32
- package/esm2020/lib/directives/template.directive.mjs +24 -24
- package/esm2020/lib/inputs/check/check.component.mjs +26 -26
- package/esm2020/lib/inputs/dropdown/dropdown.component.mjs +36 -36
- package/esm2020/lib/inputs/input-calendar/input-calendar.component.mjs +88 -88
- package/esm2020/lib/inputs/input-mask/input-mask.component.mjs +22 -22
- package/esm2020/lib/inputs/input-number/input-number.component.mjs +56 -56
- package/esm2020/lib/inputs/input-password/input-password.component.mjs +32 -32
- package/esm2020/lib/inputs/input-text/input-text.component.mjs +20 -20
- package/esm2020/lib/inputs/input-text-checkbox/input-text-checkbox.component.mjs +37 -37
- package/esm2020/lib/inputs/input-textarea/input-textarea.component.mjs +42 -42
- package/esm2020/lib/inputs/input-time/input-time.component.mjs +23 -23
- package/esm2020/lib/inputs/kvinputs.module.mjs +99 -99
- package/esm2020/lib/inputs/multi-select/multi-select.component.mjs +37 -37
- package/esm2020/lib/inputs/radio-group/radio-group.component.mjs +49 -49
- package/esm2020/lib/inputs/switch/switch.component.mjs +32 -32
- package/esm2020/lib/keevo-components.module.mjs +91 -91
- package/esm2020/lib/login/kvlogin.module.mjs +47 -47
- package/esm2020/lib/login/login.component.mjs +38 -38
- package/esm2020/lib/menu/kvmenu.module.mjs +43 -43
- package/esm2020/lib/menu/menu.component.mjs +212 -212
- package/esm2020/lib/orgchart/orgchart.component.mjs +100 -100
- package/esm2020/lib/orgchart/orgchart.module.mjs +24 -24
- package/esm2020/lib/picklist/kvpicklist.module.mjs +32 -32
- package/esm2020/lib/picklist/picklist.component.mjs +48 -48
- package/esm2020/lib/pipes/codigofile.pipe.mjs +19 -19
- package/esm2020/lib/pipes/cpfcnpj.pipe.mjs +25 -25
- package/esm2020/lib/pipes/pipes.module.mjs +34 -34
- package/esm2020/lib/pipes/telefone.pipe.mjs +45 -45
- package/esm2020/lib/table/kvtable.module.mjs +32 -32
- package/esm2020/lib/table/table.component.mjs +476 -476
- package/esm2020/lib/tree-table/kv-treetable.component.mjs +290 -290
- package/esm2020/lib/tree-table/kv-treetable.module.mjs +32 -32
- package/esm2020/lib/tree-view/kvtree-view.module.mjs +28 -28
- package/esm2020/lib/tree-view/tree-view.component.mjs +29 -29
- package/esm2020/lib/workspace/kvworkspace.module.mjs +47 -47
- package/esm2020/lib/workspace/workspace.component.mjs +77 -77
- package/esm2020/public-api.mjs +124 -70
- package/fesm2015/keevo-components.mjs +3838 -3737
- package/fesm2015/keevo-components.mjs.map +1 -1
- package/fesm2020/keevo-components.mjs +3829 -3728
- package/fesm2020/keevo-components.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/api/base-components/base-component-button.d.ts +14 -14
- package/lib/api/base-components/base-component-chart.d.ts +40 -40
- package/lib/api/base-components/base-component-crud-form.d.ts +134 -134
- package/lib/api/base-components/base-component-crud-list.d.ts +63 -63
- package/lib/api/base-components/base-component-crud.d.ts +36 -36
- package/lib/api/base-components/base-component-dropdown.d.ts +42 -42
- package/lib/api/base-components/base-component-input.d.ts +31 -31
- package/lib/api/base-components/base-component-multi-select.d.ts +35 -35
- package/lib/api/base-components/base-component.d.ts +21 -21
- package/lib/api/components/chart/chart.config.d.ts +11 -11
- package/lib/api/components/chart/chart.model.d.ts +9 -9
- package/lib/api/components/chart/orchart.config.d.ts +35 -35
- package/lib/api/components/chart/orchart.item.d.ts +26 -26
- package/lib/api/components/dropdown/filtro.combo.d.ts +4 -4
- package/lib/api/components/error/error.component.d.ts +12 -12
- package/lib/api/components/error/kverror.module.d.ts +10 -10
- package/lib/api/components/table/action-item.d.ts +5 -5
- package/lib/api/components/table/kv-menuitem.d.ts +9 -9
- package/lib/api/components/table/table.config.column.d.ts +21 -21
- package/lib/api/components/table/table.config.d.ts +17 -17
- package/lib/api/components/table/table.paginate.d.ts +6 -6
- package/lib/api/helpers/component-providers.d.ts +2 -2
- package/lib/api/helpers/translate-primeng.d.ts +4 -4
- package/lib/api/models/menu/master.model.d.ts +6 -6
- package/lib/api/models/menu/menu.model.d.ts +10 -10
- package/lib/api/models/menu/menucompleto.model.d.ts +6 -6
- package/lib/api/models/menu/sistemamenu.model.d.ts +8 -8
- package/lib/api/modules/primeng.module.d.ts +60 -60
- package/lib/api/services/base.api.service.d.ts +25 -0
- package/lib/api/services/component.service.d.ts +11 -11
- package/lib/api/services/form.service.d.ts +27 -27
- package/lib/api/services/imagens.service.d.ts +8 -8
- package/lib/api/services/notification.service.d.ts +25 -25
- package/lib/api/services/object.service.d.ts +8 -8
- package/lib/buttons/button-personalize/button-personalize.component.d.ts +7 -7
- package/lib/buttons/button-popup/button-popup.component.d.ts +13 -0
- package/lib/buttons/button-secondary/button-secondary.component.d.ts +7 -7
- package/lib/buttons/button-success/button-success.component.d.ts +7 -7
- package/lib/buttons/kvbutton.module.d.ts +11 -10
- package/lib/chart/chart.component.d.ts +56 -56
- package/lib/chart/kvchart.module.d.ts +10 -10
- package/lib/directives/template.directive.d.ts +11 -11
- package/lib/inputs/check/check.component.d.ts +11 -11
- package/lib/inputs/dropdown/dropdown.component.d.ts +14 -14
- package/lib/inputs/input-calendar/input-calendar.component.d.ts +27 -27
- package/lib/inputs/input-mask/input-mask.component.d.ts +10 -10
- package/lib/inputs/input-number/input-number.component.d.ts +18 -18
- package/lib/inputs/input-password/input-password.component.d.ts +13 -13
- package/lib/inputs/input-text/input-text.component.d.ts +9 -9
- package/lib/inputs/input-text-checkbox/input-text-checkbox.component.d.ts +15 -15
- package/lib/inputs/input-textarea/input-textarea.component.d.ts +16 -16
- package/lib/inputs/input-time/input-time.component.d.ts +10 -10
- package/lib/inputs/kvinputs.module.d.ts +23 -23
- package/lib/inputs/multi-select/multi-select.component.d.ts +12 -12
- package/lib/inputs/radio-group/radio-group.component.d.ts +17 -17
- package/lib/inputs/switch/switch.component.d.ts +13 -13
- package/lib/keevo-components.module.d.ts +17 -17
- package/lib/login/kvlogin.module.d.ts +13 -13
- package/lib/login/login.component.d.ts +17 -17
- package/lib/menu/kvmenu.module.d.ts +12 -12
- package/lib/menu/menu.component.d.ts +67 -67
- package/lib/orgchart/orgchart.component.d.ts +27 -27
- package/lib/orgchart/orgchart.module.d.ts +9 -9
- package/lib/picklist/kvpicklist.module.d.ts +10 -10
- package/lib/picklist/picklist.component.d.ts +20 -20
- package/lib/pipes/codigofile.pipe.d.ts +7 -7
- package/lib/pipes/cpfcnpj.pipe.d.ts +7 -7
- package/lib/pipes/pipes.module.d.ts +10 -10
- package/lib/pipes/telefone.pipe.d.ts +7 -7
- package/lib/table/kvtable.module.d.ts +10 -10
- package/lib/table/table.component.d.ts +103 -103
- package/lib/tree-table/kv-treetable.component.d.ts +69 -69
- package/lib/tree-table/kv-treetable.module.d.ts +11 -11
- package/lib/tree-view/kvtree-view.module.d.ts +9 -9
- package/lib/tree-view/tree-view.component.d.ts +14 -14
- package/lib/workspace/kvworkspace.module.d.ts +13 -13
- package/lib/workspace/workspace.component.d.ts +28 -28
- package/package.json +1 -1
- package/public-api.d.ts +120 -66
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../api/services/component.service";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
-
import * as i4 from "primeng/password";
|
|
9
|
-
export class InputPasswordComponent extends BaseComponentInput {
|
|
10
|
-
constructor(componentService) {
|
|
11
|
-
super(componentService);
|
|
12
|
-
this.feedback = false;
|
|
13
|
-
this.mediumRegex = '';
|
|
14
|
-
this.strongRegex = '';
|
|
15
|
-
this.toggleMask = true;
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
-
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\">\
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ selector: 'kv-input-password', providers: ComponentProviders(InputPasswordComponent), template: "<span class=\"p-float-label\">\
|
|
23
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { feedback: [{
|
|
24
|
-
type: Input
|
|
25
|
-
}], mediumRegex: [{
|
|
26
|
-
type: Input
|
|
27
|
-
}], strongRegex: [{
|
|
28
|
-
type: Input
|
|
29
|
-
}], toggleMask: [{
|
|
30
|
-
type: Input
|
|
31
|
-
}] } });
|
|
32
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../api/services/component.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
+
import * as i4 from "primeng/password";
|
|
9
|
+
export class InputPasswordComponent extends BaseComponentInput {
|
|
10
|
+
constructor(componentService) {
|
|
11
|
+
super(componentService);
|
|
12
|
+
this.feedback = false;
|
|
13
|
+
this.mediumRegex = '';
|
|
14
|
+
this.strongRegex = '';
|
|
15
|
+
this.toggleMask = true;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
InputPasswordComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
19
|
+
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\">\n <p-password\n appendTo=\"body\"\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [toggleMask]=\"toggleMask\"\n [feedback]=\"feedback\"\n [mediumRegex]=\"mediumRegex\"\n [strongRegex]=\"strongRegex\"\n (onBlur)=\"onInputBlur($event)\">\n </p-password>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["", "label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\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: i3.ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.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"] }] });
|
|
20
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputPasswordComponent, decorators: [{
|
|
21
|
+
type: Component,
|
|
22
|
+
args: [{ selector: 'kv-input-password', providers: ComponentProviders(InputPasswordComponent), template: "<span class=\"p-float-label\">\n <p-password\n appendTo=\"body\"\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [toggleMask]=\"toggleMask\"\n [feedback]=\"feedback\"\n [mediumRegex]=\"mediumRegex\"\n [strongRegex]=\"strongRegex\"\n (onBlur)=\"onInputBlur($event)\">\n </p-password>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\n"] }]
|
|
23
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { feedback: [{
|
|
24
|
+
type: Input
|
|
25
|
+
}], mediumRegex: [{
|
|
26
|
+
type: Input
|
|
27
|
+
}], strongRegex: [{
|
|
28
|
+
type: Input
|
|
29
|
+
}], toggleMask: [{
|
|
30
|
+
type: Input
|
|
31
|
+
}] } });
|
|
32
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcGFzc3dvcmQuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2lucHV0cy9pbnB1dC1wYXNzd29yZC9pbnB1dC1wYXNzd29yZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvaW5wdXRzL2lucHV0LXBhc3N3b3JkL2lucHV0LXBhc3N3b3JkLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQzNFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdEQUFnRCxDQUFDOzs7Ozs7QUFVcEYsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGtCQUEwQjtJQU9wRSxZQUFZLGdCQUFrQztRQUM1QyxLQUFLLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztRQU5qQixhQUFRLEdBQVksS0FBSyxDQUFDO1FBQzFCLGdCQUFXLEdBQVcsRUFBRSxDQUFDO1FBQ3pCLGdCQUFXLEdBQVcsRUFBRSxDQUFDO1FBQ3pCLGVBQVUsR0FBWSxJQUFJLENBQUM7SUFJc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zQ29udHJvbEVycm9yKClcIj57eyBlcnJvTWVzc2FnZSgpIH19PC9rdi1lcnJvcj5cbjwvc3Bhbj5cbjxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { Component } from '@angular/core';
|
|
2
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../api/services/component.service";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
-
import * as i4 from "primeng/inputtext";
|
|
9
|
-
export class InputTextComponent extends BaseComponentInput {
|
|
10
|
-
constructor(componentService) {
|
|
11
|
-
super(componentService);
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
-
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\">\
|
|
16
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
17
|
-
type: Component,
|
|
18
|
-
args: [{ selector: 'kv-input-text', providers: ComponentProviders(InputTextComponent), template: "<span class=\"p-float-label\">\
|
|
19
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; } });
|
|
20
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component } from '@angular/core';
|
|
2
|
+
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../api/services/component.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
+
import * as i4 from "primeng/inputtext";
|
|
9
|
+
export class InputTextComponent extends BaseComponentInput {
|
|
10
|
+
constructor(componentService) {
|
|
11
|
+
super(componentService);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
InputTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
15
|
+
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\">\n <input\n pInputText\n type=\"text\"\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n (input)=\"onInputInput($event)\">\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\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", "label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\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: i3.ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4.InputText, selector: "[pInputText]" }] });
|
|
16
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextComponent, decorators: [{
|
|
17
|
+
type: Component,
|
|
18
|
+
args: [{ selector: 'kv-input-text', providers: ComponentProviders(InputTextComponent), template: "<span class=\"p-float-label\">\n <input\n pInputText\n type=\"text\"\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n (input)=\"onInputInput($event)\">\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\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", "label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\n"] }]
|
|
19
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; } });
|
|
20
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvaW5wdXRzL2lucHV0LXRleHQvaW5wdXQtdGV4dC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2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jb250ZW50PjwvbmctY29udGVudD5cbiJdfQ==
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../api/services/component.service";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "primeng/checkbox";
|
|
8
|
-
import * as i4 from "primeng/tooltip";
|
|
9
|
-
import * as i5 from "primeng/inputtext";
|
|
10
|
-
export class InputTextCheckboxComponent extends BaseComponentInput {
|
|
11
|
-
constructor(componentService) {
|
|
12
|
-
super(componentService);
|
|
13
|
-
this.checkBoxEmit = new EventEmitter();
|
|
14
|
-
this._checkBoxValue = false;
|
|
15
|
-
}
|
|
16
|
-
set checkBoxValue(value) {
|
|
17
|
-
this._checkBoxValue = value;
|
|
18
|
-
this.emitCheckBoxValue();
|
|
19
|
-
}
|
|
20
|
-
get checkBoxValue() {
|
|
21
|
-
return this._checkBoxValue;
|
|
22
|
-
}
|
|
23
|
-
emitCheckBoxValue() {
|
|
24
|
-
this.checkBoxEmit.emit(this._checkBoxValue);
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
InputTextCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextCheckboxComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
-
InputTextCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextCheckboxComponent, selector: "kv-input-text-checkbox", inputs: { tooltipCheckbox: "tooltipCheckbox" }, outputs: { checkBoxEmit: "checkBoxEmit" }, providers: ComponentProviders(InputTextCheckboxComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"p-inputgroup\">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 40px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n ></p-checkbox
|
|
29
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextCheckboxComponent, decorators: [{
|
|
30
|
-
type: Component,
|
|
31
|
-
args: [{ selector: 'kv-input-text-checkbox', providers: ComponentProviders(InputTextCheckboxComponent), template: "<div class=\"p-inputgroup\">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 40px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n ></p-checkbox
|
|
32
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { checkBoxEmit: [{
|
|
33
|
-
type: Output
|
|
34
|
-
}], tooltipCheckbox: [{
|
|
35
|
-
type: Input
|
|
36
|
-
}] } });
|
|
37
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, EventEmitter, Input, Output } from '@angular/core';
|
|
2
|
+
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
3
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../api/services/component.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "primeng/checkbox";
|
|
8
|
+
import * as i4 from "primeng/tooltip";
|
|
9
|
+
import * as i5 from "primeng/inputtext";
|
|
10
|
+
export class InputTextCheckboxComponent extends BaseComponentInput {
|
|
11
|
+
constructor(componentService) {
|
|
12
|
+
super(componentService);
|
|
13
|
+
this.checkBoxEmit = new EventEmitter();
|
|
14
|
+
this._checkBoxValue = false;
|
|
15
|
+
}
|
|
16
|
+
set checkBoxValue(value) {
|
|
17
|
+
this._checkBoxValue = value;
|
|
18
|
+
this.emitCheckBoxValue();
|
|
19
|
+
}
|
|
20
|
+
get checkBoxValue() {
|
|
21
|
+
return this._checkBoxValue;
|
|
22
|
+
}
|
|
23
|
+
emitCheckBoxValue() {
|
|
24
|
+
this.checkBoxEmit.emit(this._checkBoxValue);
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
InputTextCheckboxComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextCheckboxComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
28
|
+
InputTextCheckboxComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.8", type: InputTextCheckboxComponent, selector: "kv-input-text-checkbox", inputs: { tooltipCheckbox: "tooltipCheckbox" }, outputs: { checkBoxEmit: "checkBoxEmit" }, providers: ComponentProviders(InputTextCheckboxComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"p-inputgroup \">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 40px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n ></p-checkbox>\n\n </span>\n\n <span class=\"p-float-label\">\n <input\n type=\"text\"\n pInputText\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n style=\"height: 40px;\"\n />\n <label [for]=\"componentId\">{{ label }}</label>\n </span>\n\n\n\n</div>", 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: i3.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"] }, { kind: "directive", type: i4.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }, { kind: "directive", type: i5.InputText, selector: "[pInputText]" }] });
|
|
29
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextCheckboxComponent, decorators: [{
|
|
30
|
+
type: Component,
|
|
31
|
+
args: [{ selector: 'kv-input-text-checkbox', providers: ComponentProviders(InputTextCheckboxComponent), template: "<div class=\"p-inputgroup \">\n <span\n class=\"p-inputgroup-addon\"\n style=\"height: 40px;\"\n ><p-checkbox\n [(ngModel)]=\"checkBoxValue\"\n [binary]=\"true\"\n [pTooltip]=\"tooltipCheckbox\"\n ></p-checkbox>\n\n </span>\n\n <span class=\"p-float-label\">\n <input\n type=\"text\"\n pInputText\n [class]=\"baseInputClass\"\n styleClass=\"inputs\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\"\n style=\"height: 40px;\"\n />\n <label [for]=\"componentId\">{{ label }}</label>\n </span>\n\n\n\n</div>" }]
|
|
32
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { checkBoxEmit: [{
|
|
33
|
+
type: Output
|
|
34
|
+
}], tooltipCheckbox: [{
|
|
35
|
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6IDQwcHg7XCJcbiAgICA+PHAtY2hlY2tib3hcbiAgICAgICAgICAgIFsobmdNb2RlbCldPVwiY2hlY2tCb3hWYWx1ZVwiXG4gICAgICAgICAgICBbYmluYXJ5XT1cInRydWVcIlxuICAgICAgICAgICAgW3BUb29sdGlwXT1cInRvb2x0aXBDaGVja2JveFwiXG4gICAgICAgID48L3AtY2hlY2tib3g+XG5cbiAgICA8L3NwYW4+XG5cbiAgICA8c3BhbiBjbGFzcz1cInAtZmxvYXQtbGFiZWxcIj5cbiAgICAgICAgPGlucHV0XG4gICAgICAgICAgICB0eXBlPVwidGV4dFwiXG4gICAgICAgICAgICBwSW5wdXRUZXh0XG4gICAgICAgICAgICBbY2xhc3NdPVwiYmFzZUlucHV0Q2xhc3NcIlxuICAgICAgICAgICAgc3R5bGVDbGFzcz1cImlucHV0c1wiXG4gICAgICAgICAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgICAgICAgICAgW2lkXT1cImNvbXBvbmVudElkXCJcbiAgICAgICAgICAgIFsobmdNb2RlbCldPVwidmFsdWVcIlxuICAgICAgICAgICAgKGJsdXIpPVwib25JbnB1dEJsdXIoJGV2ZW50KVwiXG4gICAgICAgICAgICBzdHlsZT1cImhlaWdodDogNDBweDtcIlxuICAgICAgICAvPlxuICAgICAgICA8bGFiZWwgW2Zvcl09XCJjb21wb25lbnRJZFwiPnt7IGxhYmVsIH19PC9sYWJlbD5cbiAgICA8L3NwYW4+XG5cblxuXG48L2Rpdj4iXX0=
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../api/services/component.service";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
-
import * as i4 from "primeng/inputtextarea";
|
|
9
|
-
export class InputTextareaComponent extends BaseComponentInput {
|
|
10
|
-
constructor(componentService) {
|
|
11
|
-
super(componentService);
|
|
12
|
-
this.multiline = false;
|
|
13
|
-
this.rows = 2;
|
|
14
|
-
this.cols = 20;
|
|
15
|
-
this.autoResize = false;
|
|
16
|
-
this.maxValueLength = 0;
|
|
17
|
-
this.counterValueLength = 0;
|
|
18
|
-
}
|
|
19
|
-
ngOnInit() {
|
|
20
|
-
super.ngOnInit();
|
|
21
|
-
this.formControl?.valueChanges.subscribe((value) => {
|
|
22
|
-
this.counterValueLength = value?.length;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
-
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\">\
|
|
28
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
29
|
-
type: Component,
|
|
30
|
-
args: [{ selector: 'kv-input-textarea', providers: ComponentProviders(InputTextareaComponent), template: "<span class=\"p-float-label\">\
|
|
31
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { multiline: [{
|
|
32
|
-
type: Input
|
|
33
|
-
}], rows: [{
|
|
34
|
-
type: Input
|
|
35
|
-
}], cols: [{
|
|
36
|
-
type: Input
|
|
37
|
-
}], autoResize: [{
|
|
38
|
-
type: Input
|
|
39
|
-
}], maxValueLength: [{
|
|
40
|
-
type: Input
|
|
41
|
-
}] } });
|
|
42
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
+
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../api/services/component.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
+
import * as i4 from "primeng/inputtextarea";
|
|
9
|
+
export class InputTextareaComponent extends BaseComponentInput {
|
|
10
|
+
constructor(componentService) {
|
|
11
|
+
super(componentService);
|
|
12
|
+
this.multiline = false;
|
|
13
|
+
this.rows = 2;
|
|
14
|
+
this.cols = 20;
|
|
15
|
+
this.autoResize = false;
|
|
16
|
+
this.maxValueLength = 0;
|
|
17
|
+
this.counterValueLength = 0;
|
|
18
|
+
}
|
|
19
|
+
ngOnInit() {
|
|
20
|
+
super.ngOnInit();
|
|
21
|
+
this.formControl?.valueChanges.subscribe((value) => {
|
|
22
|
+
this.counterValueLength = value?.length;
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
InputTextareaComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
27
|
+
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\">\n <textarea\n pInputTextarea\n [autoResize]=\"autoResize\"\n [class]=\"baseInputClass\"\n [cols]=\"cols\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\">\n </textarea>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["", "label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\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: i3.ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "directive", type: i4.InputTextarea, selector: "[pInputTextarea]", inputs: ["autoResize"], outputs: ["onResize"] }] });
|
|
28
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTextareaComponent, decorators: [{
|
|
29
|
+
type: Component,
|
|
30
|
+
args: [{ selector: 'kv-input-textarea', providers: ComponentProviders(InputTextareaComponent), template: "<span class=\"p-float-label\">\n <textarea\n pInputTextarea\n [autoResize]=\"autoResize\"\n [class]=\"baseInputClass\"\n [cols]=\"cols\"\n [disabled]=\"disabled\"\n [id]=\"componentId\"\n [rows]=\"rows\"\n [(ngModel)]=\"value\"\n (blur)=\"onInputBlur($event)\">\n </textarea>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\n"] }]
|
|
31
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { multiline: [{
|
|
32
|
+
type: Input
|
|
33
|
+
}], rows: [{
|
|
34
|
+
type: Input
|
|
35
|
+
}], cols: [{
|
|
36
|
+
type: Input
|
|
37
|
+
}], autoResize: [{
|
|
38
|
+
type: Input
|
|
39
|
+
}], maxValueLength: [{
|
|
40
|
+
type: Input
|
|
41
|
+
}] } });
|
|
42
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dGFyZWEuY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMva2Vldm8tY29tcG9uZW50cy9zcmMvbGliL2lucHV0cy9pbnB1dC10ZXh0YXJlYS9pbnB1dC10ZXh0YXJlYS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9rZWV2by1jb21wb25lbnRzL3NyYy9saWIvaW5wdXRzL2lucHV0LXRleHRhcmVhL2lucHV0LXRleHRhcmVhLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ3pELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLGdEQUFnRCxDQUFDO0FBQ3BGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVDQUF1QyxDQUFDOzs7Ozs7QUFVM0UsTUFBTSxPQUFPLHNCQUF1QixTQUFRLGtCQUEwQjtJQVNwRSxZQUFZLGdCQUFrQztRQUM1QyxLQUFLLENBQUMsZ0JBQWdCLENBQUMsQ0FBQztRQVRqQ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blxuICAgIHRoaXMuZm9ybUNvbnRyb2w/LnZhbHVlQ2hhbmdlcy5zdWJzY3JpYmUoKHZhbHVlOiBhbnkpID0+IHtcbiAgICAgIHRoaXMuY291bnRlclZhbHVlTGVuZ3RoID0gdmFsdWU/Lmxlbmd0aDtcbiAgICB9KTtcbiAgfVxufVxuIiwiPHNwYW4gY2xhc3M9XCJwLWZsb2F0LWxhYmVsXCI+XG4gIDx0ZXh0YXJlYVxuICAgIHBJbnB1dFRleHRhcmVhXG4gICAgW2F1dG9SZXNpemVdPVwiYXV0b1Jlc2l6ZVwiXG4gICAgW2NsYXNzXT1cImJhc2VJbnB1dENsYXNzXCJcbiAgICBbY29sc109XCJjb2xzXCJcbiAgICBbZGlzYWJsZWRdPVwiZGlzYWJsZWRcIlxuICAgIFtpZF09XCJjb21wb25lbnRJZFwiXG4gICAgW3Jvd3NdPVwicm93c1wiXG4gICAgWyhuZ01vZGVsKV09XCJ2YWx1ZVwiXG4gICAgKGJsdXIpPVwib25JbnB1dEJsdXIoJGV2ZW50KVwiPlxuICA8L3RleHRhcmVhPlxuICA8bGFiZWwgW2Zvcl09XCJjb21wb25lbnRJZFwiPnt7IGxhYmVsIH19PC9sYWJlbD5cblxuICA8a3YtZXJyb3IgW2hhc0Vycm9yXT1cImhhc0NvbnRyb2xFcnJvcigpXCI+e3sgZXJyb01lc3NhZ2UoKSB9fTwva3YtZXJyb3I+XG48L3NwYW4+XG48bmctY29udGVudD48L25nLWNvbnRlbnQ+XG4iXX0=
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { Component, Input } from '@angular/core';
|
|
2
|
-
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
-
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../../api/services/component.service";
|
|
6
|
-
import * as i2 from "@angular/forms";
|
|
7
|
-
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
-
import * as i4 from "primeng/calendar";
|
|
9
|
-
export class InputTimeComponent extends BaseComponentInput {
|
|
10
|
-
constructor(componentService) {
|
|
11
|
-
super(componentService);
|
|
12
|
-
this.showIcon = true;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
InputTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
-
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\">\
|
|
17
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
18
|
-
type: Component,
|
|
19
|
-
args: [{ selector: 'kv-input-time', providers: ComponentProviders(InputTimeComponent), template: "<span class=\"p-float-label\">\
|
|
20
|
-
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { showIcon: [{
|
|
21
|
-
type: Input
|
|
22
|
-
}] } });
|
|
23
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
import { Component, Input } from '@angular/core';
|
|
2
|
+
import { BaseComponentInput } from '../../api/base-components/base-component-input';
|
|
3
|
+
import { ComponentProviders } from '../../api/helpers/component-providers';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
import * as i1 from "../../api/services/component.service";
|
|
6
|
+
import * as i2 from "@angular/forms";
|
|
7
|
+
import * as i3 from "../../api/components/error/error.component";
|
|
8
|
+
import * as i4 from "primeng/calendar";
|
|
9
|
+
export class InputTimeComponent extends BaseComponentInput {
|
|
10
|
+
constructor(componentService) {
|
|
11
|
+
super(componentService);
|
|
12
|
+
this.showIcon = true;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
InputTimeComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, deps: [{ token: i1.ComponentService }], target: i0.ɵɵFactoryTarget.Component });
|
|
16
|
+
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\">\n\n <p-calendar\n appendTo=\"body\"\n [class]=\"baseInputClass\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [showIcon]=\"showIcon\"\n styleClass=\"inputs\"\n [showTime]=\"true\"\n [timeOnly]=\"true\"\n (onBlur)=\"onInputBlur($event)\">\n </p-calendar>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["", "label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\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: i3.ErrorComponent, selector: "kv-error", inputs: ["formControl", "hasError"] }, { kind: "component", type: i4.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"] }] });
|
|
17
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.8", ngImport: i0, type: InputTimeComponent, decorators: [{
|
|
18
|
+
type: Component,
|
|
19
|
+
args: [{ selector: 'kv-input-time', providers: ComponentProviders(InputTimeComponent), template: "<span class=\"p-float-label\">\n\n <p-calendar\n appendTo=\"body\"\n [class]=\"baseInputClass\"\n [id]=\"componentId\"\n [(ngModel)]=\"value\"\n [disabled]=\"disabled\"\n [showIcon]=\"showIcon\"\n styleClass=\"inputs\"\n [showTime]=\"true\"\n [timeOnly]=\"true\"\n (onBlur)=\"onInputBlur($event)\">\n </p-calendar>\n <label [for]=\"componentId\">{{ label }}</label>\n\n <kv-error [hasError]=\"hasControlError()\">{{ erroMessage() }}</kv-error>\n</span>\n<ng-content></ng-content>\n", styles: ["label{font-family:Roboto,Arial,Helvetica,sans-serif}:host ::ng-deep .inputs{height:40px}*{margin:0}\n"] }]
|
|
20
|
+
}], ctorParameters: function () { return [{ type: i1.ComponentService }]; }, propDecorators: { showIcon: [{
|
|
21
|
+
type: Input
|
|
22
|
+
}] } });
|
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGltZS5jb21wb25lbnQuanMi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