ng-prime-tools 1.0.5 → 1.0.7
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 +285 -0
- package/esm2022/lib/enums/button-color.enum.mjs +10 -0
- package/esm2022/lib/enums/form-input-type.enum.mjs +14 -0
- package/esm2022/lib/enums/index.mjs +2 -6
- package/esm2022/lib/enums/input-validation.enum.mjs +8 -0
- package/esm2022/lib/enums/public-api.mjs +7 -0
- package/esm2022/lib/enums/{search-criteria-type-enum.mjs → search-criteria-type.enum.mjs} +1 -1
- package/esm2022/lib/enums/{table-type-enum.mjs → table-type.enum.mjs} +1 -1
- package/esm2022/lib/models/filter-option.model.mjs +2 -0
- package/esm2022/lib/models/form-button.model.mjs +2 -0
- package/esm2022/lib/models/form-check-field.model.mjs +2 -0
- package/esm2022/lib/models/form-date-field.model.mjs +2 -0
- package/esm2022/lib/models/form-drop-down-field.model.mjs +2 -0
- package/esm2022/lib/models/form-field-group.model.mjs +2 -0
- package/esm2022/lib/models/form-field.model.mjs +2 -0
- package/esm2022/lib/models/form-multi-select.model.mjs +2 -0
- package/esm2022/lib/models/form-number-field.model.mjs +2 -0
- package/esm2022/lib/models/form-switch-field.model.mjs +2 -0
- package/esm2022/lib/models/form-text-area-field.model.mjs +2 -0
- package/esm2022/lib/models/form-text-field.model.mjs +2 -0
- package/esm2022/lib/models/index.mjs +2 -2
- package/esm2022/lib/models/public-api.mjs +15 -0
- package/esm2022/lib/models/search-criteria.model.mjs +2 -0
- package/esm2022/lib/models/table-column.model.mjs +2 -0
- package/esm2022/lib/multi-search-criteria/multi-search-criteria.component.mjs +1 -1
- package/esm2022/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.mjs +21 -3
- package/esm2022/lib/ng-prime-tools.module.mjs +66 -6
- package/esm2022/lib/pt-check-box-input/index.mjs +2 -0
- package/esm2022/lib/pt-check-box-input/pt-check-box-input.component.mjs +61 -0
- package/esm2022/lib/pt-check-box-input/pt-check-box-input.module.mjs +20 -0
- package/esm2022/lib/pt-check-box-input/public-api.mjs +3 -0
- package/esm2022/lib/pt-date-input/index.mjs +2 -0
- package/esm2022/lib/pt-date-input/pt-date-input.component.mjs +85 -0
- package/esm2022/lib/pt-date-input/pt-date-input.module.mjs +20 -0
- package/esm2022/lib/pt-date-input/pt-date.service.mjs +62 -0
- package/esm2022/lib/pt-date-input/public-api.mjs +3 -0
- package/esm2022/lib/pt-dropdown/index.mjs +2 -0
- package/esm2022/lib/pt-dropdown/pt-dropdown.component.mjs +57 -0
- package/esm2022/lib/pt-dropdown/pt-dropdown.module.mjs +20 -0
- package/esm2022/lib/pt-dropdown/public-api.mjs +3 -0
- package/esm2022/lib/pt-form-builder/index.mjs +2 -0
- package/esm2022/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field-module.mjs +59 -0
- package/esm2022/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field.component.mjs +55 -0
- package/esm2022/lib/pt-form-builder/pt-form-builder.component.mjs +77 -0
- package/esm2022/lib/pt-form-builder/pt-form-builder.module.mjs +32 -0
- package/esm2022/lib/pt-form-builder/public-api.mjs +3 -0
- package/esm2022/lib/pt-multi-select/index.mjs +2 -0
- package/esm2022/lib/pt-multi-select/pt-multi-select.component.mjs +57 -0
- package/esm2022/lib/pt-multi-select/pt-multi-select.module.mjs +20 -0
- package/esm2022/lib/pt-multi-select/public-api.mjs +3 -0
- package/esm2022/lib/pt-number-input/index.mjs +2 -0
- package/esm2022/lib/pt-number-input/pt-number-input.component.mjs +88 -0
- package/esm2022/lib/pt-number-input/pt-number-input.module.mjs +43 -0
- package/esm2022/lib/pt-number-input/public-api.mjs +3 -0
- package/esm2022/lib/pt-switch-input/index.mjs +2 -0
- package/esm2022/lib/pt-switch-input/pt-switch-input.component.mjs +62 -0
- package/esm2022/lib/pt-switch-input/pt-switch-input.module.mjs +20 -0
- package/esm2022/lib/pt-switch-input/public-api.mjs +3 -0
- package/esm2022/lib/pt-text-area-input/index.mjs +2 -0
- package/esm2022/lib/pt-text-area-input/pt-text-area-input.component.mjs +83 -0
- package/esm2022/lib/pt-text-area-input/pt-text-area-input.module.mjs +36 -0
- package/esm2022/lib/pt-text-area-input/public-api.mjs +3 -0
- package/esm2022/lib/pt-text-input/index.mjs +2 -0
- package/esm2022/lib/pt-text-input/pt-text-input.component.mjs +86 -0
- package/esm2022/lib/pt-text-input/pt-text-input.module.mjs +36 -0
- package/esm2022/lib/pt-text-input/public-api.mjs +3 -0
- package/esm2022/lib/types/date-format.type.mjs +2 -0
- package/esm2022/lib/types/date-input.type.mjs +2 -0
- package/esm2022/lib/types/index.mjs +2 -0
- package/esm2022/lib/types/public-api.mjs +2 -0
- package/esm2022/lib/utils/date.util.mjs +69 -0
- package/esm2022/public-api.mjs +11 -2
- package/fesm2022/ng-prime-tools.mjs +1119 -20
- package/fesm2022/ng-prime-tools.mjs.map +1 -1
- package/lib/enums/button-color.enum.d.ts +9 -0
- package/lib/enums/button-color.enum.d.ts.map +1 -0
- package/lib/enums/form-input-type.enum.d.ts +13 -0
- package/lib/enums/form-input-type.enum.d.ts.map +1 -0
- package/lib/enums/index.d.ts +1 -5
- package/lib/enums/index.d.ts.map +1 -1
- package/lib/enums/input-validation.enum.d.ts +7 -0
- package/lib/enums/input-validation.enum.d.ts.map +1 -0
- package/lib/enums/public-api.d.ts +6 -0
- package/lib/enums/public-api.d.ts.map +1 -0
- package/lib/enums/{search-criteria-type-enum.d.ts → search-criteria-type.enum.d.ts} +1 -1
- package/lib/enums/search-criteria-type.enum.d.ts.map +1 -0
- package/lib/enums/{table-type-enum.d.ts → table-type.enum.d.ts} +1 -1
- package/lib/enums/table-type.enum.d.ts.map +1 -0
- package/lib/models/{filter-option.d.ts → filter-option.model.d.ts} +1 -1
- package/lib/models/filter-option.model.d.ts.map +1 -0
- package/lib/models/form-button.model.d.ts +10 -0
- package/lib/models/form-button.model.d.ts.map +1 -0
- package/lib/models/form-check-field.model.d.ts +4 -0
- package/lib/models/form-check-field.model.d.ts.map +1 -0
- package/lib/models/form-date-field.model.d.ts +11 -0
- package/lib/models/form-date-field.model.d.ts.map +1 -0
- package/lib/models/form-drop-down-field.model.d.ts +5 -0
- package/lib/models/form-drop-down-field.model.d.ts.map +1 -0
- package/lib/models/form-field-group.model.d.ts +7 -0
- package/lib/models/form-field-group.model.d.ts.map +1 -0
- package/lib/models/form-field.model.d.ts +16 -0
- package/lib/models/form-field.model.d.ts.map +1 -0
- package/lib/models/form-multi-select.model.d.ts +5 -0
- package/lib/models/form-multi-select.model.d.ts.map +1 -0
- package/lib/models/form-number-field.model.d.ts +11 -0
- package/lib/models/form-number-field.model.d.ts.map +1 -0
- package/lib/models/form-switch-field.model.d.ts +4 -0
- package/lib/models/form-switch-field.model.d.ts.map +1 -0
- package/lib/models/form-text-area-field.model.d.ts +11 -0
- package/lib/models/form-text-area-field.model.d.ts.map +1 -0
- package/lib/models/form-text-field.model.d.ts +8 -0
- package/lib/models/form-text-field.model.d.ts.map +1 -0
- package/lib/models/index.d.ts +1 -1
- package/lib/models/public-api.d.ts +15 -0
- package/lib/models/public-api.d.ts.map +1 -0
- package/lib/models/{search-criteria.d.ts → search-criteria.model.d.ts} +3 -3
- package/lib/models/search-criteria.model.d.ts.map +1 -0
- package/lib/models/{table-column.d.ts → table-column.model.d.ts} +2 -2
- package/lib/models/table-column.model.d.ts.map +1 -0
- package/lib/multi-search-criteria/multi-search-criteria.component.d.ts +2 -2
- package/lib/multi-search-criteria/multi-search-criteria.component.d.ts.map +1 -1
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.d.ts +7 -1
- package/lib/ng-advanced-prime-table/ng-advanced-prime-table.component.d.ts.map +1 -1
- package/lib/ng-prime-tools.module.d.ts +8 -1
- package/lib/ng-prime-tools.module.d.ts.map +1 -1
- package/lib/pt-check-box-input/index.d.ts +2 -0
- package/lib/pt-check-box-input/index.d.ts.map +1 -0
- package/lib/pt-check-box-input/pt-check-box-input.component.d.ts +16 -0
- package/lib/pt-check-box-input/pt-check-box-input.component.d.ts.map +1 -0
- package/lib/pt-check-box-input/pt-check-box-input.module.d.ts +11 -0
- package/lib/pt-check-box-input/pt-check-box-input.module.d.ts.map +1 -0
- package/lib/pt-check-box-input/public-api.d.ts +3 -0
- package/lib/pt-check-box-input/public-api.d.ts.map +1 -0
- package/lib/pt-date-input/index.d.ts +2 -0
- package/lib/pt-date-input/index.d.ts.map +1 -0
- package/lib/pt-date-input/pt-date-input.component.d.ts +24 -0
- package/lib/pt-date-input/pt-date-input.component.d.ts.map +1 -0
- package/lib/pt-date-input/pt-date-input.module.d.ts +11 -0
- package/lib/pt-date-input/pt-date-input.module.d.ts.map +1 -0
- package/lib/pt-date-input/pt-date.service.d.ts +11 -0
- package/lib/pt-date-input/pt-date.service.d.ts.map +1 -0
- package/lib/pt-date-input/public-api.d.ts +3 -0
- package/lib/pt-date-input/public-api.d.ts.map +1 -0
- package/lib/pt-dropdown/index.d.ts +2 -0
- package/lib/pt-dropdown/index.d.ts.map +1 -0
- package/lib/pt-dropdown/pt-dropdown.component.d.ts +15 -0
- package/lib/pt-dropdown/pt-dropdown.component.d.ts.map +1 -0
- package/lib/pt-dropdown/pt-dropdown.module.d.ts +11 -0
- package/lib/pt-dropdown/pt-dropdown.module.d.ts.map +1 -0
- package/lib/pt-dropdown/public-api.d.ts +3 -0
- package/lib/pt-dropdown/public-api.d.ts.map +1 -0
- package/lib/pt-form-builder/index.d.ts +2 -0
- package/lib/pt-form-builder/index.d.ts.map +1 -0
- package/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field-module.d.ts +18 -0
- package/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field-module.d.ts.map +1 -0
- package/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field.component.d.ts +29 -0
- package/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field.component.d.ts.map +1 -0
- package/lib/pt-form-builder/pt-form-builder.component.d.ts +33 -0
- package/lib/pt-form-builder/pt-form-builder.component.d.ts.map +1 -0
- package/lib/pt-form-builder/pt-form-builder.module.d.ts +12 -0
- package/lib/pt-form-builder/pt-form-builder.module.d.ts.map +1 -0
- package/lib/pt-form-builder/public-api.d.ts +3 -0
- package/lib/pt-form-builder/public-api.d.ts.map +1 -0
- package/lib/pt-multi-select/index.d.ts +2 -0
- package/lib/pt-multi-select/index.d.ts.map +1 -0
- package/lib/pt-multi-select/pt-multi-select.component.d.ts +15 -0
- package/lib/pt-multi-select/pt-multi-select.component.d.ts.map +1 -0
- package/lib/pt-multi-select/pt-multi-select.module.d.ts +11 -0
- package/lib/pt-multi-select/pt-multi-select.module.d.ts.map +1 -0
- package/lib/pt-multi-select/public-api.d.ts +3 -0
- package/lib/pt-multi-select/public-api.d.ts.map +1 -0
- package/lib/pt-number-input/index.d.ts +2 -0
- package/lib/pt-number-input/index.d.ts.map +1 -0
- package/lib/pt-number-input/pt-number-input.component.d.ts +16 -0
- package/lib/pt-number-input/pt-number-input.component.d.ts.map +1 -0
- package/lib/pt-number-input/pt-number-input.module.d.ts +14 -0
- package/lib/pt-number-input/pt-number-input.module.d.ts.map +1 -0
- package/lib/pt-number-input/public-api.d.ts +3 -0
- package/lib/pt-number-input/public-api.d.ts.map +1 -0
- package/lib/pt-switch-input/index.d.ts +2 -0
- package/lib/pt-switch-input/index.d.ts.map +1 -0
- package/lib/pt-switch-input/pt-switch-input.component.d.ts +16 -0
- package/lib/pt-switch-input/pt-switch-input.component.d.ts.map +1 -0
- package/lib/pt-switch-input/pt-switch-input.module.d.ts +11 -0
- package/lib/pt-switch-input/pt-switch-input.module.d.ts.map +1 -0
- package/lib/pt-switch-input/public-api.d.ts +3 -0
- package/lib/pt-switch-input/public-api.d.ts.map +1 -0
- package/lib/pt-text-area-input/index.d.ts +2 -0
- package/lib/pt-text-area-input/index.d.ts.map +1 -0
- package/lib/pt-text-area-input/pt-text-area-input.component.d.ts +17 -0
- package/lib/pt-text-area-input/pt-text-area-input.component.d.ts.map +1 -0
- package/lib/pt-text-area-input/pt-text-area-input.module.d.ts +13 -0
- package/lib/pt-text-area-input/pt-text-area-input.module.d.ts.map +1 -0
- package/lib/pt-text-area-input/public-api.d.ts +3 -0
- package/lib/pt-text-area-input/public-api.d.ts.map +1 -0
- package/lib/pt-text-input/index.d.ts +2 -0
- package/lib/pt-text-input/index.d.ts.map +1 -0
- package/lib/pt-text-input/pt-text-input.component.d.ts +18 -0
- package/lib/pt-text-input/pt-text-input.component.d.ts.map +1 -0
- package/lib/pt-text-input/pt-text-input.module.d.ts +13 -0
- package/lib/pt-text-input/pt-text-input.module.d.ts.map +1 -0
- package/lib/pt-text-input/public-api.d.ts +3 -0
- package/lib/pt-text-input/public-api.d.ts.map +1 -0
- package/lib/types/date-format.type.d.ts +2 -0
- package/lib/types/date-format.type.d.ts.map +1 -0
- package/lib/types/date-input.type.d.ts +2 -0
- package/lib/types/date-input.type.d.ts.map +1 -0
- package/lib/types/index.d.ts +2 -0
- package/lib/types/index.d.ts.map +1 -0
- package/lib/types/public-api.d.ts +2 -0
- package/lib/types/public-api.d.ts.map +1 -0
- package/lib/utils/date.util.d.ts +7 -0
- package/lib/utils/date.util.d.ts.map +1 -0
- package/package.json +1 -1
- package/public-api.d.ts +9 -0
- package/public-api.d.ts.map +1 -1
- package/esm2022/lib/enums/public_api.mjs +0 -4
- package/esm2022/lib/models/filter-option.mjs +0 -2
- package/esm2022/lib/models/public_api.mjs +0 -5
- package/esm2022/lib/models/search-criteria.mjs +0 -2
- package/esm2022/lib/models/table-column.mjs +0 -2
- package/lib/enums/public_api.d.ts +0 -3
- package/lib/enums/public_api.d.ts.map +0 -1
- package/lib/enums/search-criteria-type-enum.d.ts.map +0 -1
- package/lib/enums/table-type-enum.d.ts.map +0 -1
- package/lib/models/filter-option.d.ts.map +0 -1
- package/lib/models/public_api.d.ts +0 -4
- package/lib/models/public_api.d.ts.map +0 -1
- package/lib/models/search-criteria.d.ts.map +0 -1
- package/lib/models/table-column.d.ts.map +0 -1
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-dropdown.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/dropdown";
|
6
|
+
export declare class PTDropdownModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTDropdownModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTDropdownModule, [typeof i1.PTDropdownComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.DropdownModule], [typeof i1.PTDropdownComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTDropdownModule>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=pt-dropdown.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-dropdown.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-dropdown/pt-dropdown.module.ts"],"names":[],"mappings":";;;;;AAMA,qBAKa,gBAAgB;yCAAhB,gBAAgB;0CAAhB,gBAAgB;0CAAhB,gBAAgB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-dropdown/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,sBAAsB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-form-builder/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-dynamic-form-field.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "../../pt-check-box-input/pt-check-box-input.module";
|
6
|
+
import * as i5 from "../../pt-date-input/pt-date-input.module";
|
7
|
+
import * as i6 from "../../pt-number-input/pt-number-input.module";
|
8
|
+
import * as i7 from "../../pt-switch-input/pt-switch-input.module";
|
9
|
+
import * as i8 from "../../pt-text-area-input/pt-text-area-input.module";
|
10
|
+
import * as i9 from "../../pt-text-input/pt-text-input.module";
|
11
|
+
import * as i10 from "../../pt-dropdown/pt-dropdown.module";
|
12
|
+
import * as i11 from "../../pt-multi-select/pt-multi-select.module";
|
13
|
+
export declare class PTDynamicFormFieldModule {
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTDynamicFormFieldModule, never>;
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTDynamicFormFieldModule, [typeof i1.PTDynamicFormFieldComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.PTCheckBoxInputModule, typeof i5.PTDateInputModule, typeof i6.PTNumberInputModule, typeof i7.PTSwitchInputModule, typeof i8.PTTextAreaInputModule, typeof i9.PTTextInputModule, typeof i10.PTDropdownModule, typeof i11.PTMultiSelectModule], [typeof i1.PTDynamicFormFieldComponent]>;
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTDynamicFormFieldModule>;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=pt-dynamic-form-field-module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-dynamic-form-field-module.d.ts","sourceRoot":"","sources":["../../../../../projects/ng-prime-tools/src/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field-module.ts"],"names":[],"mappings":";;;;;;;;;;;;AAaA,qBAkBa,wBAAwB;yCAAxB,wBAAwB;0CAAxB,wBAAwB;0CAAxB,wBAAwB;CAAG"}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
2
|
+
import { FormField } from '../../models';
|
3
|
+
import { FormInputTypeEnum } from '../../enums';
|
4
|
+
import { FormTextField } from '../../models/form-text-field.model';
|
5
|
+
import { FormTextAreaField } from '../../models/form-text-area-field.model';
|
6
|
+
import { FormMultiSelectField } from '../../models/form-multi-select.model';
|
7
|
+
import { FormDropdownField } from '../../models/form-drop-down-field.model';
|
8
|
+
import { FormSwitchField } from '../../models/form-switch-field.model';
|
9
|
+
import { FormNumberField } from '../../models/form-number-field.model';
|
10
|
+
import { FormDateField } from '../../models/form-date-field.model';
|
11
|
+
import { FormCheckBoxField } from '../../models/form-check-field.model';
|
12
|
+
import * as i0 from "@angular/core";
|
13
|
+
export declare class PTDynamicFormFieldComponent {
|
14
|
+
field: FormField;
|
15
|
+
form: FormGroup;
|
16
|
+
inputWidth: string;
|
17
|
+
FormInputTypeEnum: typeof FormInputTypeEnum;
|
18
|
+
asTextField(field: FormField): FormTextField;
|
19
|
+
asNumberField(field: FormField): FormNumberField;
|
20
|
+
asTextAreaField(field: FormField): FormTextAreaField;
|
21
|
+
asDateField(field: FormField): FormDateField;
|
22
|
+
asSelectField(field: FormField): FormDropdownField;
|
23
|
+
asMultiSelectField(field: FormField): FormMultiSelectField;
|
24
|
+
asCheckboxField(field: FormField): FormCheckBoxField;
|
25
|
+
asSwitchField(field: FormField): FormSwitchField;
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTDynamicFormFieldComponent, never>;
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTDynamicFormFieldComponent, "pt-dynamic-form-field", never, { "field": { "alias": "field"; "required": false; }; "form": { "alias": "form"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; }, {}, never, never, false, never>;
|
28
|
+
}
|
29
|
+
//# sourceMappingURL=pt-dynamic-form-field.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-dynamic-form-field.component.d.ts","sourceRoot":"","sources":["../../../../../projects/ng-prime-tools/src/lib/pt-form-builder/pt-dynamic-form-field/pt-dynamic-form-field.component.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,iBAAiB,EAAE,MAAM,yCAAyC,CAAC;AAC5E,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,eAAe,EAAE,MAAM,sCAAsC,CAAC;AACvE,OAAO,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAC;AACnE,OAAO,EAAE,iBAAiB,EAAE,MAAM,qCAAqC,CAAC;;AAExE,qBAKa,2BAA2B;IAC7B,KAAK,EAAG,SAAS,CAAC;IAClB,IAAI,EAAG,SAAS,CAAC;IACjB,UAAU,EAAG,MAAM,CAAC;IAE7B,iBAAiB,2BAAqB;IAEtC,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,aAAa;IAI5C,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,eAAe;IAIhD,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIpD,WAAW,CAAC,KAAK,EAAE,SAAS,GAAG,aAAa;IAI5C,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIlD,kBAAkB,CAAC,KAAK,EAAE,SAAS,GAAG,oBAAoB;IAI1D,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,iBAAiB;IAIpD,aAAa,CAAC,KAAK,EAAE,SAAS,GAAG,eAAe;yCAnCrC,2BAA2B;2CAA3B,2BAA2B;CAsCvC"}
|
@@ -0,0 +1,33 @@
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
2
|
+
import { FormGroup, FormBuilder } from '@angular/forms';
|
3
|
+
import { FormField } from '../models/form-field.model';
|
4
|
+
import { FormFieldGroup } from '../models/form-field-group.model';
|
5
|
+
import { FormButton } from '../models/form-button.model';
|
6
|
+
import { FormInputTypeEnum } from '../enums/form-input-type.enum';
|
7
|
+
import * as i0 from "@angular/core";
|
8
|
+
export declare class PTFormBuilderComponent implements OnInit {
|
9
|
+
private fb;
|
10
|
+
mainGroup: FormFieldGroup;
|
11
|
+
buttons: FormButton[];
|
12
|
+
title?: string;
|
13
|
+
titleStyle?: {
|
14
|
+
[key: string]: string;
|
15
|
+
};
|
16
|
+
inputWidth: string;
|
17
|
+
language: 'en' | 'fr';
|
18
|
+
formSubmit: EventEmitter<{
|
19
|
+
[key: string]: any;
|
20
|
+
}>;
|
21
|
+
form: FormGroup;
|
22
|
+
FormInputTypeEnum: typeof FormInputTypeEnum;
|
23
|
+
private errorMessages;
|
24
|
+
constructor(fb: FormBuilder);
|
25
|
+
ngOnInit(): void;
|
26
|
+
buildFormGroup(group: FormFieldGroup): void;
|
27
|
+
getErrorMessage(field: FormField): string;
|
28
|
+
onSubmit(): void;
|
29
|
+
onClear(): void;
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTFormBuilderComponent, never>;
|
31
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTFormBuilderComponent, "pt-form-builder", never, { "mainGroup": { "alias": "mainGroup"; "required": false; }; "buttons": { "alias": "buttons"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleStyle": { "alias": "titleStyle"; "required": false; }; "inputWidth": { "alias": "inputWidth"; "required": false; }; "language": { "alias": "language"; "required": false; }; }, { "formSubmit": "formSubmit"; }, never, never, false, never>;
|
32
|
+
}
|
33
|
+
//# sourceMappingURL=pt-form-builder.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-form-builder.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-form-builder/pt-form-builder.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,YAAY,EAAS,MAAM,EAAU,MAAM,eAAe,CAAC;AAC/E,OAAO,EAAE,SAAS,EAAE,WAAW,EAAc,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,SAAS,EAAE,MAAM,4BAA4B,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAClE,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;;AAElE,qBAKa,sBAAuB,YAAW,MAAM;IAqBvC,OAAO,CAAC,EAAE;IApBb,SAAS,EAAE,cAAc,CAA8B;IACvD,OAAO,EAAE,UAAU,EAAE,CAAM;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,UAAU,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;IACvC,UAAU,EAAE,MAAM,CAAU;IAC5B,QAAQ,EAAE,IAAI,GAAG,IAAI,CAAQ;IAC5B,UAAU;;OAA8C;IAClE,IAAI,EAAE,SAAS,CAAC;IAEhB,iBAAiB,2BAAqB;IAEtC,OAAO,CAAC,aAAa,CAOnB;gBAEkB,EAAE,EAAE,WAAW;IAInC,QAAQ;IAIR,cAAc,CAAC,KAAK,EAAE,cAAc;IAcpC,eAAe,CAAC,KAAK,EAAE,SAAS,GAAG,MAAM;IAUzC,QAAQ;IAOR,OAAO;yCA5DI,sBAAsB;2CAAtB,sBAAsB;CA+DlC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-form-builder.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/button";
|
6
|
+
import * as i5 from "./pt-dynamic-form-field/pt-dynamic-form-field-module";
|
7
|
+
export declare class PTFormBuilderModule {
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTFormBuilderModule, never>;
|
9
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTFormBuilderModule, [typeof i1.PTFormBuilderComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.ButtonModule, typeof i5.PTDynamicFormFieldModule], [typeof i1.PTFormBuilderComponent]>;
|
10
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTFormBuilderModule>;
|
11
|
+
}
|
12
|
+
//# sourceMappingURL=pt-form-builder.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-form-builder.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-form-builder/pt-form-builder.module.ts"],"names":[],"mappings":";;;;;;AAOA,qBAUa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-form-builder/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-multi-select/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { FormMultiSelectField } from '../models/form-multi-select.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PTMultiSelectComponent implements OnInit {
|
6
|
+
formGroup: FormGroup;
|
7
|
+
formField: FormMultiSelectField;
|
8
|
+
ngOnInit(): void;
|
9
|
+
setupControl(): void;
|
10
|
+
private getValidators;
|
11
|
+
getErrorMessage(): string;
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTMultiSelectComponent, never>;
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTMultiSelectComponent, "pt-multi-select", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formField": { "alias": "formField"; "required": false; }; }, {}, never, never, false, never>;
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=pt-multi-select.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-multi-select.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-multi-select/pt-multi-select.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EAAE,SAAS,EAA2B,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;;AAEzE,qBAKa,sBAAuB,YAAW,MAAM;IAC1C,SAAS,EAAG,SAAS,CAAC;IACtB,SAAS,EAAG,oBAAoB,CAAC;IAE1C,QAAQ;IAIR,YAAY;IAwBZ,OAAO,CAAC,aAAa;IAQrB,eAAe,IAAI,MAAM;yCAxCd,sBAAsB;2CAAtB,sBAAsB;CA+ClC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-multi-select.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/multiselect";
|
6
|
+
export declare class PTMultiSelectModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTMultiSelectModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTMultiSelectModule, [typeof i1.PTMultiSelectComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.MultiSelectModule], [typeof i1.PTMultiSelectComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTMultiSelectModule>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=pt-multi-select.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-multi-select.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-multi-select/pt-multi-select.module.ts"],"names":[],"mappings":";;;;;AAMA,qBAKa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-multi-select/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,0BAA0B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-number-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { FormNumberField } from '../models/form-number-field.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PTNumberInputComponent implements OnInit {
|
6
|
+
formGroup: FormGroup;
|
7
|
+
formField: FormNumberField;
|
8
|
+
ngOnInit(): void;
|
9
|
+
setupControl(): void;
|
10
|
+
private getValidators;
|
11
|
+
private validateWithInputValidation;
|
12
|
+
getErrorMessage(): string;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTNumberInputComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTNumberInputComponent, "pt-number-input", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formField": { "alias": "formField"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=pt-number-input.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-number-input.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-number-input/pt-number-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,SAAS,EAIV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;;AAEpE,qBAKa,sBAAuB,YAAW,MAAM;IAC1C,SAAS,EAAG,SAAS,CAAC;IACtB,SAAS,EAAG,eAAe,CAAC;IAErC,QAAQ;IAIR,YAAY;IAmBZ,OAAO,CAAC,aAAa;IAiCrB,OAAO,CAAC,2BAA2B;IAMnC,eAAe,IAAI,MAAM;yCAlEd,sBAAsB;2CAAtB,sBAAsB;CA+ElC"}
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-number-input.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/inputgroup";
|
6
|
+
import * as i5 from "primeng/inputgroupaddon";
|
7
|
+
import * as i6 from "primeng/inputtext";
|
8
|
+
import * as i7 from "primeng/inputnumber";
|
9
|
+
export declare class PTNumberInputModule {
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTNumberInputModule, never>;
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTNumberInputModule, [typeof i1.PTNumberInputComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.InputGroupModule, typeof i5.InputGroupAddonModule, typeof i6.InputTextModule, typeof i7.InputNumberModule], [typeof i1.PTNumberInputComponent]>;
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTNumberInputModule>;
|
13
|
+
}
|
14
|
+
//# sourceMappingURL=pt-number-input.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-number-input.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-number-input/pt-number-input.module.ts"],"names":[],"mappings":";;;;;;;;AASA,qBAaa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-number-input/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-switch-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { FormSwitchField } from '../models/form-switch-field.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PTSwitchInputComponent implements OnInit {
|
6
|
+
formGroup: FormGroup;
|
7
|
+
formField: FormSwitchField;
|
8
|
+
ngOnInit(): void;
|
9
|
+
setupControl(): void;
|
10
|
+
private getValidators;
|
11
|
+
private requireChoiceValidator;
|
12
|
+
getErrorMessage(): string;
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTSwitchInputComponent, never>;
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTSwitchInputComponent, "pt-switch-input", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formField": { "alias": "formField"; "required": false; }; }, {}, never, never, false, never>;
|
15
|
+
}
|
16
|
+
//# sourceMappingURL=pt-switch-input.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-switch-input.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-switch-input/pt-switch-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,SAAS,EAIV,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;;AAEpE,qBAKa,sBAAuB,YAAW,MAAM;IAC1C,SAAS,EAAG,SAAS,CAAC;IACtB,SAAS,EAAG,eAAe,CAAC;IAErC,QAAQ;IAIR,YAAY;IAoBZ,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,sBAAsB;IAQ9B,eAAe,IAAI,MAAM;yCA5Cd,sBAAsB;2CAAtB,sBAAsB;CAmDlC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-switch-input.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/inputswitch";
|
6
|
+
export declare class PTSwitchInputModule {
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTSwitchInputModule, never>;
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTSwitchInputModule, [typeof i1.PTSwitchInputComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.InputSwitchModule], [typeof i1.PTSwitchInputComponent]>;
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTSwitchInputModule>;
|
10
|
+
}
|
11
|
+
//# sourceMappingURL=pt-switch-input.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-switch-input.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-switch-input/pt-switch-input.module.ts"],"names":[],"mappings":";;;;;AAMA,qBAKa,mBAAmB;yCAAnB,mBAAmB;0CAAnB,mBAAmB;0CAAnB,mBAAmB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-switch-input/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-area-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { FormTextAreaField } from '../models/form-text-area-field.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PTTextAreaInputComponent implements OnInit {
|
6
|
+
formGroup: FormGroup;
|
7
|
+
formField: FormTextAreaField;
|
8
|
+
characterCount: number;
|
9
|
+
ngOnInit(): void;
|
10
|
+
setupControl(): void;
|
11
|
+
private getValidators;
|
12
|
+
private validateWithInputValidation;
|
13
|
+
getErrorMessage(): string;
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTTextAreaInputComponent, never>;
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTTextAreaInputComponent, "pt-text-area-input", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formField": { "alias": "formField"; "required": false; }; }, {}, never, never, false, never>;
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=pt-text-area-input.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-text-area-input.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-area-input/pt-text-area-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,SAAS,EAIV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;;AAEzE,qBAKa,wBAAyB,YAAW,MAAM;IAC5C,SAAS,EAAG,SAAS,CAAC;IACtB,SAAS,EAAG,iBAAiB,CAAC;IACvC,cAAc,EAAE,MAAM,CAAK;IAE3B,QAAQ;IAIR,YAAY;IAuBZ,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,2BAA2B;IAMnC,eAAe,IAAI,MAAM;yCAzDd,wBAAwB;2CAAxB,wBAAwB;CAsEpC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-text-area-input.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/inputtextarea";
|
6
|
+
import * as i5 from "primeng/inputgroup";
|
7
|
+
import * as i6 from "primeng/inputgroupaddon";
|
8
|
+
export declare class PTTextAreaInputModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTTextAreaInputModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTTextAreaInputModule, [typeof i1.PTTextAreaInputComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.InputTextareaModule, typeof i5.InputGroupModule, typeof i6.InputGroupAddonModule], [typeof i1.PTTextAreaInputComponent]>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTTextAreaInputModule>;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=pt-text-area-input.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-text-area-input.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-area-input/pt-text-area-input.module.ts"],"names":[],"mappings":";;;;;;;AAQA,qBAWa,qBAAqB;yCAArB,qBAAqB;0CAArB,qBAAqB;0CAArB,qBAAqB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-area-input/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-input/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
import { OnInit } from '@angular/core';
|
2
|
+
import { FormGroup } from '@angular/forms';
|
3
|
+
import { FormTextField } from '../models/form-text-field.model';
|
4
|
+
import * as i0 from "@angular/core";
|
5
|
+
export declare class PTTextInputComponent implements OnInit {
|
6
|
+
formGroup: FormGroup;
|
7
|
+
formField: FormTextField;
|
8
|
+
characterCount: number;
|
9
|
+
ngOnInit(): void;
|
10
|
+
setupControl(): void;
|
11
|
+
updateCharacterCount(): void;
|
12
|
+
private getValidators;
|
13
|
+
private validateWithInputValidation;
|
14
|
+
getErrorMessage(): string;
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTTextInputComponent, never>;
|
16
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PTTextInputComponent, "pt-text-input", never, { "formGroup": { "alias": "formGroup"; "required": false; }; "formField": { "alias": "formField"; "required": false; }; }, {}, never, never, false, never>;
|
17
|
+
}
|
18
|
+
//# sourceMappingURL=pt-text-input.component.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-text-input.component.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-input/pt-text-input.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,eAAe,CAAC;AACzD,OAAO,EACL,SAAS,EAIV,MAAM,gBAAgB,CAAC;AAExB,OAAO,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAC;;AAEhE,qBAKa,oBAAqB,YAAW,MAAM;IACxC,SAAS,EAAG,SAAS,CAAC;IACtB,SAAS,EAAG,aAAa,CAAC;IAEnC,cAAc,EAAE,MAAM,CAAK;IAE3B,QAAQ;IAKR,YAAY;IAoBZ,oBAAoB;IAKpB,OAAO,CAAC,aAAa;IAmBrB,OAAO,CAAC,2BAA2B;IAMnC,eAAe,IAAI,MAAM;yCA7Dd,oBAAoB;2CAApB,oBAAoB;CA0EhC"}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import * as i0 from "@angular/core";
|
2
|
+
import * as i1 from "./pt-text-input.component";
|
3
|
+
import * as i2 from "@angular/common";
|
4
|
+
import * as i3 from "@angular/forms";
|
5
|
+
import * as i4 from "primeng/inputtext";
|
6
|
+
import * as i5 from "primeng/iconfield";
|
7
|
+
import * as i6 from "primeng/inputicon";
|
8
|
+
export declare class PTTextInputModule {
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PTTextInputModule, never>;
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<PTTextInputModule, [typeof i1.PTTextInputComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i4.InputTextModule, typeof i5.IconFieldModule, typeof i6.InputIconModule], [typeof i1.PTTextInputComponent]>;
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<PTTextInputModule>;
|
12
|
+
}
|
13
|
+
//# sourceMappingURL=pt-text-input.module.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"pt-text-input.module.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-input/pt-text-input.module.ts"],"names":[],"mappings":";;;;;;;AAQA,qBAWa,iBAAiB;yCAAjB,iBAAiB;0CAAjB,iBAAiB;0CAAjB,iBAAiB;CAAG"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/pt-text-input/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export type DateFormatType = 'mm/dd/yy' | 'yy/mm/dd' | 'dd.mm.yy' | 'dd-mm-yy' | 'dd/mm/yy' | 'HH:mm' | 'HH:mm:ss' | 'dd/mm/yy HH:mm' | 'dd-mm-yy HH:mm' | 'dd.mm.yy HH:mm' | 'mm/dd/yy HH:mm' | 'yy/mm/dd HH:mm' | 'dd/mm/yy HH:mm:ss' | 'dd-mm-yy HH:mm:ss' | 'dd.mm.yy HH:mm:ss' | 'mm/dd/yy HH:mm:ss' | 'yy/mm/dd HH:mm:ss';
|
2
|
+
//# sourceMappingURL=date-format.type.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"date-format.type.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/types/date-format.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,cAAc,GACtB,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,UAAU,GACV,OAAO,GACP,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,gBAAgB,GAChB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,GACnB,mBAAmB,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"date-input.type.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/types/date-input.type.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,GAAG,UAAU,GAAG,OAAO,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/types/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { DateFormatType } from '../types/date-format.type';
|
2
|
+
import { DateInputType } from '../types/date-input.type';
|
3
|
+
export declare function getDefaultDateFormat(dateInputType: DateInputType): DateFormatType;
|
4
|
+
export declare function getDefaultPlaceholder(dateInputType: DateInputType): string;
|
5
|
+
export declare function parseDate(dateString: string, format: DateFormatType): Date;
|
6
|
+
export declare function validateTimeValue(value: string, dateFormat: DateFormatType, valueType: 'minValue' | 'maxValue', hourFormat: '12' | '24'): void;
|
7
|
+
//# sourceMappingURL=date.util.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"date.util.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/utils/date.util.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAEzD,wBAAgB,oBAAoB,CAClC,aAAa,EAAE,aAAa,GAC3B,cAAc,CAUhB;AAED,wBAAgB,qBAAqB,CAAC,aAAa,EAAE,aAAa,GAAG,MAAM,CAU1E;AAED,wBAAgB,SAAS,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,EAAE,cAAc,GAAG,IAAI,CAqC1E;AAED,wBAAgB,iBAAiB,CAC/B,KAAK,EAAE,MAAM,EACb,UAAU,EAAE,cAAc,EAC1B,SAAS,EAAE,UAAU,GAAG,UAAU,EAClC,UAAU,EAAE,IAAI,GAAG,IAAI,GACtB,IAAI,CAuBN"}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
export * from './lib/ng-advanced-prime-table';
|
2
2
|
export * from './lib/multi-search-criteria';
|
3
3
|
export * from './lib/ng-prime-tools.module';
|
4
|
+
export * from './lib/pt-check-box-input';
|
5
|
+
export * from './lib/pt-date-input';
|
6
|
+
export * from './lib/pt-dropdown';
|
7
|
+
export * from './lib/pt-form-builder';
|
8
|
+
export * from './lib/pt-number-input';
|
9
|
+
export * from './lib/pt-switch-input';
|
10
|
+
export * from './lib/pt-text-area-input';
|
11
|
+
export * from './lib/pt-text-input';
|
4
12
|
export * from './lib/models';
|
5
13
|
export * from './lib/enums';
|
14
|
+
export * from './lib/types';
|
6
15
|
//# sourceMappingURL=public-api.d.ts.map
|
package/public-api.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ng-prime-tools/src/public-api.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"public-api.d.ts","sourceRoot":"","sources":["../../projects/ng-prime-tools/src/public-api.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,6BAA6B,CAAC;AAG5C,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,uBAAuB,CAAC;AACtC,cAAc,0BAA0B,CAAC;AACzC,cAAc,qBAAqB,CAAC;AAEpC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,aAAa,CAAC"}
|
@@ -1,4 +0,0 @@
|
|
1
|
-
// projects/ng-prime-tools/src/lib/enums/public_api.ts
|
2
|
-
export * from './table-type-enum';
|
3
|
-
export * from './search-criteria-type-enum';
|
4
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvZW51bXMvcHVibGljX2FwaS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxzREFBc0Q7QUFDdEQsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLDZCQUE2QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9lbnVtcy9wdWJsaWNfYXBpLnRzXG5leHBvcnQgKiBmcm9tICcuL3RhYmxlLXR5cGUtZW51bSc7XG5leHBvcnQgKiBmcm9tICcuL3NlYXJjaC1jcml0ZXJpYS10eXBlLWVudW0nO1xuIl19
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmlsdGVyLW9wdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvbW9kZWxzL2ZpbHRlci1vcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgRmlsdGVyT3B0aW9uIHtcbiAgbGFiZWw6IHN0cmluZztcbiAgdmFsdWU6IHN0cmluZztcbn1cbiJdfQ==
|
@@ -1,5 +0,0 @@
|
|
1
|
-
// projects/ng-prime-tools/src/lib/models/public_api.ts
|
2
|
-
export * from './table-column';
|
3
|
-
export * from './search-criteria';
|
4
|
-
export * from './filter-option';
|
5
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHVibGljX2FwaS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL25nLXByaW1lLXRvb2xzL3NyYy9saWIvbW9kZWxzL3B1YmxpY19hcGkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdURBQXVEO0FBQ3ZELGNBQWMsZ0JBQWdCLENBQUM7QUFDL0IsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGlCQUFpQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLy8gcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvcHVibGljX2FwaS50c1xuZXhwb3J0ICogZnJvbSAnLi90YWJsZS1jb2x1bW4nO1xuZXhwb3J0ICogZnJvbSAnLi9zZWFyY2gtY3JpdGVyaWEnO1xuZXhwb3J0ICogZnJvbSAnLi9maWx0ZXItb3B0aW9uJztcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2VhcmNoLWNyaXRlcmlhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvc2VhcmNoLWNyaXRlcmlhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBTZWFyY2hDcml0ZXJpYVR5cGVFbnVtIH0gZnJvbSAnLi4vZW51bXMvc2VhcmNoLWNyaXRlcmlhLXR5cGUtZW51bSc7XG5pbXBvcnQgeyBGaWx0ZXJPcHRpb24gfSBmcm9tICcuL2ZpbHRlci1vcHRpb24nO1xuXG5leHBvcnQgaW50ZXJmYWNlIFNlYXJjaENyaXRlcmlhIHtcbiAgdGl0bGU6IHN0cmluZztcbiAgY29kZTogc3RyaW5nO1xuICB0eXBlOiBTZWFyY2hDcml0ZXJpYVR5cGVFbnVtO1xuICB2YWx1ZT86IGFueTtcbiAgZmlsdGVyT3B0aW9ucz86IEZpbHRlck9wdGlvbltdO1xuICBjdXJyZW5jeT86IHN0cmluZztcbn1cbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFibGUtY29sdW1uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmctcHJpbWUtdG9vbHMvc3JjL2xpYi9tb2RlbHMvdGFibGUtY29sdW1uLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBUYWJsZVR5cGVFbnVtIH0gZnJvbSAnLi4vZW51bXMvdGFibGUtdHlwZS1lbnVtJztcblxuZXhwb3J0IGludGVyZmFjZSBUYWJsZUNvbHVtbiB7XG4gIHRpdGxlOiBzdHJpbmc7XG4gIGNvZGU/OiBzdHJpbmc7XG4gIHR5cGU/OiBUYWJsZVR5cGVFbnVtO1xuICBvcHRpb25zPzogYW55W107XG4gIGlzRWRpdGFibGU/OiBib29sZWFuO1xuICBpc0ZpbHRlcj86IGJvb2xlYW47XG4gIGRhdGVGb3JtYXQ/OiBzdHJpbmc7XG4gIGN1cnJlbmN5Pzogc3RyaW5nO1xuICBmaWx0ZXJPcHRpb25zPzogYW55W107XG4gIGRlY2ltYWxQbGFjZXM/OiBudW1iZXI7XG4gIGlzU29ydGFibGU/OiBib29sZWFuO1xuICB0aG91c2FuZFNlcGFyYXRvcj86ICdjb21tYScgfCAnc3BhY2UnO1xuICBkZWNpbWFsU2VwYXJhdG9yPzogJ2NvbW1hJyB8ICdkb3QnO1xufVxuIl19
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"public_api.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/enums/public_api.ts"],"names":[],"mappings":"AACA,cAAc,mBAAmB,CAAC;AAClC,cAAc,6BAA6B,CAAC"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"search-criteria-type-enum.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/enums/search-criteria-type-enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,IAAI,SAAS;IACb,SAAS,cAAc;IACvB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;CAC5B"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"table-type-enum.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/enums/table-type-enum.ts"],"names":[],"mappings":"AAAA,oBAAY,aAAa;IACvB,IAAI,SAAS;IACb,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,WAAW,gBAAgB;IAC3B,QAAQ,aAAa;IACrB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"filter-option.d.ts","sourceRoot":"","sources":["../../../../projects/ng-prime-tools/src/lib/models/filter-option.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf"}
|