@stemy/ngx-dynamic-form 19.9.34 → 19.9.36
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/fesm2022/stemy-ngx-dynamic-form.mjs +4 -29
- package/fesm2022/stemy-ngx-dynamic-form.mjs.map +1 -1
- package/ngx-dynamic-form/common-types.d.ts +1 -1
- package/ngx-dynamic-form/ngx-dynamic-form.imports.d.ts +2 -2
- package/ngx-dynamic-form/utils/misc.d.ts +0 -12
- package/package.json +2 -2
- package/public_api.d.ts +1 -1
|
@@ -135,7 +135,7 @@ export interface FormFieldProps extends FormlyFieldProps {
|
|
|
135
135
|
/**
|
|
136
136
|
* An array of dates to be disabled in calendar
|
|
137
137
|
*/
|
|
138
|
-
disabledDates?:
|
|
138
|
+
disabledDates?: Array<string | Date>;
|
|
139
139
|
/**
|
|
140
140
|
* Specifies that the file upload component value is stored inline, so instead of an API call, the file Blob is inserted into the field value.
|
|
141
141
|
*/
|
|
@@ -3,7 +3,7 @@ import { DynamicFormComponent } from "./components/dynamic-form/dynamic-form.com
|
|
|
3
3
|
import { DynamicFormArrayComponent } from "./components/dynamic-form-array/dynamic-form-array.component";
|
|
4
4
|
import { DynamicFormChipsComponent } from "./components/dynamic-form-chips/dynamic-form-chips.component";
|
|
5
5
|
import { DynamicFormTranslationComponent } from "./components/dynamic-form-translation/dynamic-form-translation.component";
|
|
6
|
-
import {
|
|
7
|
-
export declare const components: (typeof
|
|
6
|
+
import { DynamicFormAlertComponent } from "./components/dynamic-form-alert/dynamic-form-alert.component";
|
|
7
|
+
export declare const components: (typeof DynamicFormComponent | typeof DynamicFormArrayComponent | typeof DynamicFormChipsComponent | typeof DynamicFormTranslationComponent | typeof DynamicFormAlertComponent)[];
|
|
8
8
|
export declare const directives: Type<any>[];
|
|
9
9
|
export declare const pipes: Type<any>[];
|
|
@@ -14,18 +14,6 @@ export declare function controlValues(control: AbstractControl, timeout?: number
|
|
|
14
14
|
* @param timeout Additional timeout
|
|
15
15
|
*/
|
|
16
16
|
export declare function controlStatus(control: AbstractControl, timeout?: number): Observable<DynamicFormStatus>;
|
|
17
|
-
/**
|
|
18
|
-
* Convert value to a string with corrected date format (date, date-time)
|
|
19
|
-
* @param value Value to convert to date string
|
|
20
|
-
* @param format Expected date format (date, date-time)
|
|
21
|
-
*/
|
|
22
|
-
export declare function convertToDateFormat(value: any, format?: string): any;
|
|
23
|
-
/**
|
|
24
|
-
* Convert value to date object with format (date, date-time)
|
|
25
|
-
* @param value Value to convert to date
|
|
26
|
-
* @param format Expected date format (date, date-time)
|
|
27
|
-
*/
|
|
28
|
-
export declare function convertToDate(value: any, format?: string): any;
|
|
29
17
|
/**
|
|
30
18
|
* Convert potential number value to an actual number
|
|
31
19
|
* @param value Value to convert to number
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stemy/ngx-dynamic-form",
|
|
3
|
-
"version": "19.9.
|
|
3
|
+
"version": "19.9.36",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"public": true,
|
|
6
6
|
"repository": "https://github.com/stemyke/ngx-dynamic-form.git",
|
|
7
7
|
"author": "stemy <balazs.stemler@metrix.co.hu>",
|
|
8
8
|
"peerDependencies": {
|
|
9
|
-
"@stemy/ngx-utils": ">=19.9.
|
|
9
|
+
"@stemy/ngx-utils": ">=19.9.46",
|
|
10
10
|
"@ngx-formly/core": "^7.1.0",
|
|
11
11
|
"ngx-mask": "^19.0.7",
|
|
12
12
|
"@angular/material": "^19.2.18"
|
package/public_api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { FORM_ROOT_ID, FormFieldKey, FormFieldLabelCustomizer, FormBuilderOption
|
|
|
2
2
|
export { IFormFieldCustomizer, customizeFormField } from "./ngx-dynamic-form/utils/customizer";
|
|
3
3
|
export { FormInput, FormSelect, FormStatic, FormDate, FormUpload, FormGroup, FormArray, FormSerializable, FormFieldSet } from "./ngx-dynamic-form/utils/decorators";
|
|
4
4
|
export { addFieldValidators, removeFieldValidators, jsonValidation, requiredValidation, translationValidation, phoneValidation, emailValidation, arrayLengthValidation, minLengthValidation, maxLengthValidation, minValueValidation, maxValueValidation, enumValidation, equalsValidation, setFieldMinDate } from "./ngx-dynamic-form/utils/validation";
|
|
5
|
-
export { replaceSpecialChars, controlValues, controlStatus,
|
|
5
|
+
export { replaceSpecialChars, controlValues, controlStatus, convertToNumber, getFieldByPath, getFieldsByPredicate, getFieldsByKey, getSelectOptions, replaceFieldArray, clearFieldArray, insertToFieldArray, removeFromFieldArray, setFieldDefault, setFieldValue, setFieldProps, setFieldProp, setFieldSerialize, setFieldHidden, setFieldDisabled, setFieldHooks, isFieldVisible, isFieldHidden, MIN_INPUT_NUM, MAX_INPUT_NUM, EDITOR_TYPES } from "./ngx-dynamic-form/utils/misc";
|
|
6
6
|
export { RichTranslationModel } from "./ngx-dynamic-form/models/rich-translation.model";
|
|
7
7
|
export { TranslationModel } from "./ngx-dynamic-form/models/translation.model";
|
|
8
8
|
export { DynamicFormService } from "./ngx-dynamic-form/services/dynamic-form.service";
|