ngx-t-forms-types 0.0.18 → 0.0.20

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.
Files changed (97) hide show
  1. package/dist/index.d.ts +13 -9
  2. package/dist/index.js +13 -9
  3. package/dist/interfaces/DeepProperty/DeepProperty.d.ts +25 -0
  4. package/dist/interfaces/DeepProperty/DeepProperty.js +1 -0
  5. package/dist/interfaces/DeepProperty/index.d.ts +1 -0
  6. package/dist/interfaces/DeepProperty/index.js +1 -0
  7. package/dist/interfaces/Encryption/EncryptedData.d.ts +19 -0
  8. package/dist/interfaces/Encryption/EncryptedData.js +1 -0
  9. package/dist/interfaces/Encryption/index.d.ts +1 -0
  10. package/dist/interfaces/Encryption/index.js +1 -0
  11. package/dist/interfaces/Form/FormInClassUtils.d.ts +3 -3
  12. package/dist/interfaces/Form/IFormsInitStateInterface.d.ts +1 -1
  13. package/dist/interfaces/Form/formInterface.d.ts +2 -2
  14. package/dist/interfaces/Form/formSubmissionHandleInterface.d.ts +2 -2
  15. package/dist/interfaces/Form/index.d.ts +11 -11
  16. package/dist/interfaces/Form/index.js +1 -1
  17. package/dist/interfaces/FormBuilder/DefaultEelement.d.ts +1 -1
  18. package/dist/interfaces/FormBuilder/DefaultEelement.js +9 -8
  19. package/dist/interfaces/FormBuilder/DefaultInputConfigInterface.d.ts +7 -7
  20. package/dist/interfaces/FormBuilder/DefaultInputConfigInterface.js +1 -1
  21. package/dist/interfaces/FormBuilder/FormBuilderCallBackFunctions.d.ts +2 -2
  22. package/dist/interfaces/FormBuilder/FormInputKeys.d.ts +1 -0
  23. package/dist/interfaces/FormBuilder/FormInputKeys.js +1 -0
  24. package/dist/interfaces/FormBuilder/elementEditor.d.ts +7 -6
  25. package/dist/interfaces/FormBuilder/index.d.ts +9 -9
  26. package/dist/interfaces/FormBuilder/index.js +5 -5
  27. package/dist/interfaces/FormBuilder/inputConfig/ElementEditConfig.d.ts +1 -1
  28. package/dist/interfaces/FormBuilder/inputConfig/ElementEditConfig.js +29 -11
  29. package/dist/interfaces/FormBuilder/inputConfig/getInputValueFromElement.js +3 -3
  30. package/dist/interfaces/FormBuilder/workflowSelectionConfig.d.ts +2 -2
  31. package/dist/interfaces/FormSlide/accessTree.d.ts +1 -1
  32. package/dist/interfaces/FormSlide/formSlideInterface.d.ts +1 -1
  33. package/dist/interfaces/FormSlide/index.d.ts +3 -3
  34. package/dist/interfaces/FormSlide/index.js +1 -1
  35. package/dist/interfaces/Import/ImportProgress.d.ts +27 -0
  36. package/dist/interfaces/Import/ImportProgress.js +1 -0
  37. package/dist/interfaces/Import/ImportRowState.d.ts +48 -0
  38. package/dist/interfaces/Import/ImportRowState.js +1 -0
  39. package/dist/interfaces/Import/index.d.ts +2 -0
  40. package/dist/interfaces/Import/index.js +1 -0
  41. package/dist/interfaces/Tour/IFormTour.d.ts +14 -0
  42. package/dist/interfaces/Tour/IFormTour.js +1 -0
  43. package/dist/interfaces/Tour/index.d.ts +1 -0
  44. package/dist/interfaces/Tour/index.js +1 -0
  45. package/dist/interfaces/Tower/ITowerFormSteps.d.ts +3 -3
  46. package/dist/interfaces/Tower/ITowerFormSteps.js +1 -1
  47. package/dist/interfaces/Tower/index.d.ts +1 -1
  48. package/dist/interfaces/environment/IStoreFunctions.d.ts +8 -7
  49. package/dist/interfaces/environment/IStoreFunctions.js +1 -1
  50. package/dist/interfaces/environment/environment.d.ts +10 -3
  51. package/dist/interfaces/environment/index.d.ts +2 -2
  52. package/dist/interfaces/formInput/APIDataFetchingConfigurationInterface.d.ts +3 -3
  53. package/dist/interfaces/formInput/BasicFormInputInterface.d.ts +9 -9
  54. package/dist/interfaces/formInput/DateRangePickerInput.d.ts +1 -1
  55. package/dist/interfaces/formInput/FileUploadInputInterface.d.ts +1 -1
  56. package/dist/interfaces/formInput/IMscoaAccount.d.ts +3 -3
  57. package/dist/interfaces/formInput/ISelectInputInterface.d.ts +3 -3
  58. package/dist/interfaces/formInput/ISelectInputInterface.js +1 -1
  59. package/dist/interfaces/formInput/MatDataOptionsInterface.d.ts +2 -2
  60. package/dist/interfaces/formInput/MatrixInputInterface.d.ts +2 -2
  61. package/dist/interfaces/formInput/MinimumInputRequiredInterface.d.ts +1 -1
  62. package/dist/interfaces/formInput/MscoaInput.d.ts +2 -2
  63. package/dist/interfaces/formInput/MscoaInput.js +1 -1
  64. package/dist/interfaces/formInput/MultipleInterface.d.ts +9 -2
  65. package/dist/interfaces/formInput/MultipleInterface.js +7 -1
  66. package/dist/interfaces/formInput/TableConfigurationsInterface.d.ts +1 -1
  67. package/dist/interfaces/formInput/TextAreaInput.d.ts +1 -1
  68. package/dist/interfaces/formInput/ToggleInputInterface.d.ts +1 -1
  69. package/dist/interfaces/formInput/WorkflowAdjudication.d.ts +1 -1
  70. package/dist/interfaces/formInput/WorkflowDocumentPicker.d.ts +4 -4
  71. package/dist/interfaces/formInput/WorkflowDocumentPicker.js +1 -1
  72. package/dist/interfaces/formInput/calculatedFieldRules.d.ts +1 -1
  73. package/dist/interfaces/formInput/index.d.ts +27 -26
  74. package/dist/interfaces/formInput/index.js +10 -8
  75. package/dist/interfaces/formInput/schema.d.ts +1 -1
  76. package/dist/interfaces/pipeline-builder/index.d.ts +1 -1
  77. package/dist/interfaces/pipeline-builder/index.js +1 -1
  78. package/dist/interfaces/upgradeFunctions/interfaces/init-form.d.ts +1 -1
  79. package/dist/interfaces/workflow/WorkflowFunctionTypes.d.ts +26 -0
  80. package/dist/interfaces/workflow/WorkflowFunctionTypes.js +27 -0
  81. package/dist/interfaces/workflow/index.d.ts +3 -2
  82. package/dist/interfaces/workflow/index.js +3 -2
  83. package/dist/schemas/CalculatedFieldRulesSchema.d.ts +1 -1
  84. package/dist/schemas/CalculatedFieldRulesSchema.js +1 -1
  85. package/dist/schemas/DocmentPickerInputSchema.js +2 -2
  86. package/dist/schemas/FormInputSchema.d.ts +2 -2
  87. package/dist/schemas/FormInputSchema.js +20 -18
  88. package/dist/schemas/FormSchema.d.ts +2 -2
  89. package/dist/schemas/FormSchema.js +3 -3
  90. package/dist/schemas/MatOptionsSchema.js +4 -4
  91. package/dist/schemas/MscoaConfigSchema.js +1 -1
  92. package/dist/schemas/customValidationSchema.d.ts +1 -1
  93. package/dist/schemas/customValidationSchema.js +1 -1
  94. package/dist/schemas/index.d.ts +3 -3
  95. package/dist/schemas/index.js +3 -3
  96. package/dist/schemas/tests/FormInputValidator.spec.js +3 -3
  97. package/package.json +26 -15
@@ -1,3 +1,3 @@
1
- import * as Joi from 'joi';
1
+ import Joi from 'joi';
2
2
  export declare const inputsObservedForChangesSchema: Joi.ObjectSchema<any>;
3
3
  export declare const formControlCustomValidatorSchema: Joi.ObjectSchema<any>;
@@ -1,4 +1,4 @@
1
- import * as Joi from 'joi';
1
+ import Joi from 'joi';
2
2
  export const inputsObservedForChangesSchema = Joi.object({
3
3
  inputId: Joi.string(),
4
4
  variable: Joi.string()
@@ -1,4 +1,4 @@
1
- import { validateCalculatedFieldRules } from "./CalculatedFieldRulesSchema";
2
- import { formColumnInputsSchema, validateFormColumnInputs, validateFormColumnInputsWithRequired } from "./FormInputSchema";
3
- import { DatabaseFormSchema, FormSchema, validateApiDataFetchingConfiguration, validateForm, validateFormSlide } from "./FormSchema";
1
+ import { validateCalculatedFieldRules } from "./CalculatedFieldRulesSchema.js";
2
+ import { formColumnInputsSchema, validateFormColumnInputs, validateFormColumnInputsWithRequired } from "./FormInputSchema.js";
3
+ import { DatabaseFormSchema, FormSchema, validateApiDataFetchingConfiguration, validateForm, validateFormSlide } from "./FormSchema.js";
4
4
  export { FormSchema, DatabaseFormSchema, formColumnInputsSchema, validateCalculatedFieldRules, validateFormColumnInputs, validateFormSlide, validateFormColumnInputsWithRequired, validateForm, validateApiDataFetchingConfiguration };
@@ -1,4 +1,4 @@
1
- import { validateCalculatedFieldRules } from "./CalculatedFieldRulesSchema";
2
- import { formColumnInputsSchema, validateFormColumnInputs, validateFormColumnInputsWithRequired } from "./FormInputSchema";
3
- import { DatabaseFormSchema, FormSchema, validateApiDataFetchingConfiguration, validateForm, validateFormSlide } from "./FormSchema";
1
+ import { validateCalculatedFieldRules } from "./CalculatedFieldRulesSchema.js";
2
+ import { formColumnInputsSchema, validateFormColumnInputs, validateFormColumnInputsWithRequired } from "./FormInputSchema.js";
3
+ import { DatabaseFormSchema, FormSchema, validateApiDataFetchingConfiguration, validateForm, validateFormSlide } from "./FormSchema.js";
4
4
  export { FormSchema, DatabaseFormSchema, formColumnInputsSchema, validateCalculatedFieldRules, validateFormColumnInputs, validateFormSlide, validateFormColumnInputsWithRequired, validateForm, validateApiDataFetchingConfiguration };
@@ -1,7 +1,7 @@
1
1
  import { TestBed } from '@angular/core/testing';
2
- import { AllFormInputPrimaryKeys, } from '../../interfaces/FormBuilder';
3
- import { ElementTypes, InputDataTypes, InputPipeTypes, InputTypes } from '../../interfaces/formInput';
4
- import { formColumnInputsSchema } from '../FormInputSchema';
2
+ import { AllFormInputPrimaryKeys, } from '../../interfaces/FormBuilder/index.js';
3
+ import { ElementTypes, InputDataTypes, InputPipeTypes, InputTypes } from '../../interfaces/formInput/index.js';
4
+ import { formColumnInputsSchema } from '../FormInputSchema.js';
5
5
  //ng test ngx-t-forms --include='projects/ngx-t-forms/src/lib/schemas/tests/FormInputValidator.spec.ts'
6
6
  describe('FormInputValidator', () => {
7
7
  beforeEach(() => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ngx-t-forms-types",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "Typings and interfaces for the ngx-t-forms library for dynamic forms.",
5
5
  "keywords": [
6
6
  "typings",
@@ -19,7 +19,7 @@
19
19
  },
20
20
  "license": "ISC",
21
21
  "author": "mashegoterrence@gmail.com",
22
- "type": "commonjs",
22
+ "type": "module",
23
23
  "main": "dist/index.js",
24
24
  "types": "dist/index.d.ts",
25
25
  "files": [
@@ -29,17 +29,29 @@
29
29
  "test": "karma start",
30
30
  "clean": "rimraf dist",
31
31
  "typecheck": "tsc --noEmit",
32
- "build": "npm run clean && tsc",
33
- "build:prod": "npm run build --mode production",
32
+ "build": "npm run clean && tsc && node scripts/add-js-extensions.mjs",
33
+ "build:prod": "npm run clean && tsc -p tsconfig.prod.json",
34
34
  "prepublishOnly": "npm run build",
35
35
  "dev": "npm run build --watch"
36
36
  },
37
+ "peerDependencies": {
38
+ "@angular/cdk": "^21.0.0",
39
+ "@angular/common": "^21.0.0",
40
+ "@angular/core": "^21.0.0",
41
+ "@angular/forms": "^21.0.0",
42
+ "@angular/material": "^21.0.0",
43
+ "@angular/router": "^21.0.0",
44
+ "moment": "^2.30.1",
45
+ "ngx-ui-tour-md-menu": "^16.0.0",
46
+ "rxjs": "~7.8.0"
47
+ },
37
48
  "devDependencies": {
38
- "@angular/cdk": "^19.2.2",
39
- "@angular/common": "^19.2.1",
40
- "@angular/core": "^19.2.1",
41
- "@angular/material": "^19.2.2",
42
- "@angular/router": "^19.2.1",
49
+ "@angular/cdk": "^21.2.10",
50
+ "@angular/common": "^21.2.12",
51
+ "@angular/core": "^21.2.12",
52
+ "@angular/forms": "^21.2.12",
53
+ "@angular/material": "^21.2.10",
54
+ "@angular/router": "^21.2.12",
43
55
  "@types/jasmine": "^5.1.7",
44
56
  "@types/joi": "^17.2.2",
45
57
  "@types/node": "^22.13.9",
@@ -48,16 +60,15 @@
48
60
  "karma-chrome-launcher": "^3.2.0",
49
61
  "karma-jasmine": "^5.1.0",
50
62
  "karma-webpack": "^5.0.1",
51
- "mongoose": "^8.12.1",
63
+ "moment": "^2.30.1",
64
+ "mongoose": "^8.23.0",
65
+ "ngx-ui-tour-md-menu": "^16.0.0",
52
66
  "rimraf": "^6.0.1",
53
- "rxjs": "^7.8.2",
67
+ "rxjs": "~7.8.0",
54
68
  "signature_pad": "^5.0.4",
55
69
  "ts-loader": "^9.5.2",
56
- "typescript": "^5.8.2",
70
+ "typescript": "^5.0.0",
57
71
  "webpack": "^5.98.0",
58
72
  "webpack-dev-server": "^5.2.0"
59
- },
60
- "dependencies": {
61
- "moment": "^2.30.1"
62
73
  }
63
74
  }