@thinknimble/tn-forms
Advanced tools
Comparing version 3.1.9 to 3.1.91
@@ -25,20 +25,10 @@ "use strict"; | ||
}; | ||
var __exportStar = (this && this.__exportStar) || function(m, exports) { | ||
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.fieldGetter = exports.notNullOrUndefined = exports.isNumberOrFloat = exports.isNumber = exports.UrlValidator = exports.PatternValidator = exports.MaximumValueValidator = exports.MinimumValueValidator = exports.MaxDateValidator = exports.MinDateValidator = exports.EmailValidator = exports.MustMatchValidator = exports.MinLengthValidator = exports.RequiredValidator = exports.FormLevelValidator = exports.Validator = exports.FormArray = exports.FormField = void 0; | ||
exports.fieldGetter = exports.notNullOrUndefined = exports.isNumberOrFloat = exports.isNumber = exports.FormArray = exports.FormField = void 0; | ||
const forms_1 = __importStar(require("./forms")); | ||
Object.defineProperty(exports, "FormField", { enumerable: true, get: function () { return forms_1.FormField; } }); | ||
Object.defineProperty(exports, "FormArray", { enumerable: true, get: function () { return forms_1.FormArray; } }); | ||
const validators_1 = __importStar(require("./validators")); | ||
exports.Validator = validators_1.default; | ||
Object.defineProperty(exports, "RequiredValidator", { enumerable: true, get: function () { return validators_1.RequiredValidator; } }); | ||
Object.defineProperty(exports, "MinLengthValidator", { enumerable: true, get: function () { return validators_1.MinLengthValidator; } }); | ||
Object.defineProperty(exports, "MustMatchValidator", { enumerable: true, get: function () { return validators_1.MustMatchValidator; } }); | ||
Object.defineProperty(exports, "EmailValidator", { enumerable: true, get: function () { return validators_1.EmailValidator; } }); | ||
Object.defineProperty(exports, "MinDateValidator", { enumerable: true, get: function () { return validators_1.MinDateValidator; } }); | ||
Object.defineProperty(exports, "MaxDateValidator", { enumerable: true, get: function () { return validators_1.MaxDateValidator; } }); | ||
Object.defineProperty(exports, "MinimumValueValidator", { enumerable: true, get: function () { return validators_1.MinimumValueValidator; } }); | ||
Object.defineProperty(exports, "MaximumValueValidator", { enumerable: true, get: function () { return validators_1.MaximumValueValidator; } }); | ||
Object.defineProperty(exports, "PatternValidator", { enumerable: true, get: function () { return validators_1.PatternValidator; } }); | ||
Object.defineProperty(exports, "UrlValidator", { enumerable: true, get: function () { return validators_1.UrlValidator; } }); | ||
Object.defineProperty(exports, "FormLevelValidator", { enumerable: true, get: function () { return validators_1.FormLevelValidator; } }); | ||
const utils_1 = require("./utils"); | ||
@@ -50,1 +40,2 @@ Object.defineProperty(exports, "isNumber", { enumerable: true, get: function () { return utils_1.isNumber; } }); | ||
exports.default = forms_1.default; | ||
__exportStar(require("./validators"), exports); |
import Form, { FormField, FormArray } from './forms'; | ||
import Validator, { RequiredValidator, MinLengthValidator, MustMatchValidator, EmailValidator, MinDateValidator, MaxDateValidator, MinimumValueValidator, MaximumValueValidator, PatternValidator, UrlValidator, FormLevelValidator } from './validators'; | ||
import { IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, FormValue, OptionalFormArgs } from './interfaces'; | ||
import { isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter } from './utils'; | ||
export default Form; | ||
export { FormField, FormArray, Validator, FormLevelValidator, IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, RequiredValidator, MinLengthValidator, MustMatchValidator, EmailValidator, MinDateValidator, MaxDateValidator, MinimumValueValidator, MaximumValueValidator, PatternValidator, UrlValidator, FormValue, OptionalFormArgs, isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter, }; | ||
export * from './validators'; | ||
export { FormField, FormArray, IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, FormValue, OptionalFormArgs, isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter, }; | ||
//# sourceMappingURL=index.d.ts.map |
import Form, { FormField, FormArray } from './forms'; | ||
import Validator, { RequiredValidator, MinLengthValidator, MustMatchValidator, EmailValidator, MinDateValidator, MaxDateValidator, MinimumValueValidator, MaximumValueValidator, PatternValidator, UrlValidator, FormLevelValidator } from './validators'; | ||
import { IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, FormValue, OptionalFormArgs } from './interfaces'; | ||
import { isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter } from './utils'; | ||
export default Form; | ||
export { FormField, FormArray, Validator, FormLevelValidator, IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, RequiredValidator, MinLengthValidator, MustMatchValidator, EmailValidator, MinDateValidator, MaxDateValidator, MinimumValueValidator, MaximumValueValidator, PatternValidator, UrlValidator, FormValue, OptionalFormArgs, isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter, }; | ||
export * from './validators'; | ||
export { FormField, FormArray, IDynamicFormValidators, IValidator, TFormInstance, IFormArray, IForm, IFormFieldError, IFormFieldKwargs, IFormArrayKwargs, IFormField, IFormInstance, TFormInstanceFields, FormValue, OptionalFormArgs, isNumber, isNumberOrFloat, notNullOrUndefined, fieldGetter, }; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@thinknimble/tn-forms", | ||
"version": "3.1.9", | ||
"version": "3.1.91", | ||
"description": "Utilities for building front-end forms.", | ||
@@ -5,0 +5,0 @@ "author": "William Huster <william@thinknimble.com>, Pari Baker <pari@thinknimble.com>, Damian Lucero <damian@thinknimble.com>", |
@@ -546,4 +546,8 @@ # TN Forms | ||
#### v3.1.9 release date _08/21/2023_ | ||
#### v3.1.9 release date _06/12/2024_ | ||
- Fix exports bug | ||
#### v3.1.9 release date _06/12/2024_ | ||
- Dynamic Minimum Date Validator was added. | ||
@@ -550,0 +554,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
632
128739
2222