@trackunit/custom-field-components 2.1.66 → 2.1.70

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/index.cjs.js CHANGED
@@ -433,19 +433,19 @@ const getDefaultValidationRules = () => {
433
433
  /**
434
434
  * Generates validation rules for a boolean field.
435
435
  *
436
- * @param {CommonValidationRulesDefinition} definition - The definition of the boolean field.
436
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the boolean field.
437
437
  * @returns {ValidationRules} The generated validation rules.
438
438
  */
439
- const getBooleanValidationRules = (definition) => {
439
+ const getBooleanValidationRules = (_definition) => {
440
440
  return getDefaultValidationRules();
441
441
  };
442
442
  /**
443
443
  * Generates validation rules for a dropdown field.
444
444
  *
445
- * @param {CommonValidationRulesDefinition} definition - The definition of the dropdown field.
445
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the dropdown field.
446
446
  * @returns {ValidationRules} The generated validation rules.
447
447
  */
448
- const getDropdownValidationRules = (definition) => {
448
+ const getDropdownValidationRules = (_definition) => {
449
449
  return getDefaultValidationRules();
450
450
  };
451
451
  /**
@@ -491,10 +491,10 @@ const getStringListValidationRules = (definition) => {
491
491
  /**
492
492
  * Generates validation rules for a date field.
493
493
  *
494
- * @param {CommonValidationRulesDefinition} definition - The definition of the date field.
494
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the date field.
495
495
  * @returns {ValidationRules} The generated validation rules.
496
496
  */
497
- const getDateValidationRules = (definition) => {
497
+ const getDateValidationRules = (_definition) => {
498
498
  const defaultRules = {};
499
499
  return defaultRules;
500
500
  };
package/index.esm.js CHANGED
@@ -431,19 +431,19 @@ const getDefaultValidationRules = () => {
431
431
  /**
432
432
  * Generates validation rules for a boolean field.
433
433
  *
434
- * @param {CommonValidationRulesDefinition} definition - The definition of the boolean field.
434
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the boolean field.
435
435
  * @returns {ValidationRules} The generated validation rules.
436
436
  */
437
- const getBooleanValidationRules = (definition) => {
437
+ const getBooleanValidationRules = (_definition) => {
438
438
  return getDefaultValidationRules();
439
439
  };
440
440
  /**
441
441
  * Generates validation rules for a dropdown field.
442
442
  *
443
- * @param {CommonValidationRulesDefinition} definition - The definition of the dropdown field.
443
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the dropdown field.
444
444
  * @returns {ValidationRules} The generated validation rules.
445
445
  */
446
- const getDropdownValidationRules = (definition) => {
446
+ const getDropdownValidationRules = (_definition) => {
447
447
  return getDefaultValidationRules();
448
448
  };
449
449
  /**
@@ -489,10 +489,10 @@ const getStringListValidationRules = (definition) => {
489
489
  /**
490
490
  * Generates validation rules for a date field.
491
491
  *
492
- * @param {CommonValidationRulesDefinition} definition - The definition of the date field.
492
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the date field.
493
493
  * @returns {ValidationRules} The generated validation rules.
494
494
  */
495
- const getDateValidationRules = (definition) => {
495
+ const getDateValidationRules = (_definition) => {
496
496
  const defaultRules = {};
497
497
  return defaultRules;
498
498
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/custom-field-components",
3
- "version": "2.1.66",
3
+ "version": "2.1.70",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -8,15 +8,15 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "react-select": "^5.10.2",
11
- "@trackunit/react-form-components": "2.1.51",
12
- "@trackunit/shared-utils": "1.15.50",
13
- "@trackunit/custom-field-api": "2.2.28",
14
- "@trackunit/iris-app-runtime-core": "1.17.56",
15
- "@trackunit/react-components": "2.1.49",
16
- "@trackunit/react-modal": "2.1.53",
17
- "@trackunit/react-core-hooks": "1.17.61",
18
- "@trackunit/i18n-library-translation": "2.0.50",
19
- "@trackunit/iris-app-runtime-core-api": "1.16.55"
11
+ "@trackunit/react-form-components": "2.1.54",
12
+ "@trackunit/shared-utils": "1.15.52",
13
+ "@trackunit/custom-field-api": "2.2.32",
14
+ "@trackunit/iris-app-runtime-core": "1.17.58",
15
+ "@trackunit/react-components": "2.1.52",
16
+ "@trackunit/react-modal": "2.1.56",
17
+ "@trackunit/react-core-hooks": "1.17.63",
18
+ "@trackunit/i18n-library-translation": "2.0.52",
19
+ "@trackunit/iris-app-runtime-core-api": "1.16.57"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "@apollo/client": "^3.13.8",
@@ -40,17 +40,17 @@ export declare const getStringValidationRules: (definition: GetStringValidationR
40
40
  /**
41
41
  * Generates validation rules for a boolean field.
42
42
  *
43
- * @param {CommonValidationRulesDefinition} definition - The definition of the boolean field.
43
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the boolean field.
44
44
  * @returns {ValidationRules} The generated validation rules.
45
45
  */
46
- export declare const getBooleanValidationRules: (definition: CommonValidationRulesDefinition) => ValidationRules;
46
+ export declare const getBooleanValidationRules: (_definition: CommonValidationRulesDefinition) => ValidationRules;
47
47
  /**
48
48
  * Generates validation rules for a dropdown field.
49
49
  *
50
- * @param {CommonValidationRulesDefinition} definition - The definition of the dropdown field.
50
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the dropdown field.
51
51
  * @returns {ValidationRules} The generated validation rules.
52
52
  */
53
- export declare const getDropdownValidationRules: (definition: CommonValidationRulesDefinition) => ValidationRules;
53
+ export declare const getDropdownValidationRules: (_definition: CommonValidationRulesDefinition) => ValidationRules;
54
54
  interface GetStringListValidationRulesDefinition extends CommonValidationRulesDefinition {
55
55
  itemMaximumLength?: number | null;
56
56
  itemMinimumLength?: number | null;
@@ -67,10 +67,10 @@ export declare const getStringListValidationRules: (definition: GetStringListVal
67
67
  /**
68
68
  * Generates validation rules for a date field.
69
69
  *
70
- * @param {CommonValidationRulesDefinition} definition - The definition of the date field.
70
+ * @param {CommonValidationRulesDefinition} _definition - The definition of the date field.
71
71
  * @returns {ValidationRules} The generated validation rules.
72
72
  */
73
- export declare const getDateValidationRules: (definition: CommonValidationRulesDefinition) => ValidationRules;
73
+ export declare const getDateValidationRules: (_definition: CommonValidationRulesDefinition) => ValidationRules;
74
74
  /**
75
75
  * Generates validation rules for an email field.
76
76
  *