@progress/kendo-angular-common 16.0.0-develop.20 → 16.0.0-develop.22

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.
@@ -9,5 +9,5 @@ export const isControlRequired = (control) => {
9
9
  if (!control?.validator) {
10
10
  return false;
11
11
  }
12
- return control.validator({})?.hasOwnProperty('required');
12
+ return control.validator(control)?.hasOwnProperty('required');
13
13
  };
@@ -176,7 +176,7 @@ const isControlRequired = (control) => {
176
176
  if (!(control === null || control === void 0 ? void 0 : control.validator)) {
177
177
  return false;
178
178
  }
179
- return (_a = control.validator({})) === null || _a === void 0 ? void 0 : _a.hasOwnProperty('required');
179
+ return (_a = control.validator(control)) === null || _a === void 0 ? void 0 : _a.hasOwnProperty('required');
180
180
  };
181
181
 
182
182
  class DraggableDirective {
@@ -175,7 +175,7 @@ const isControlRequired = (control) => {
175
175
  if (!control?.validator) {
176
176
  return false;
177
177
  }
178
- return control.validator({})?.hasOwnProperty('required');
178
+ return control.validator(control)?.hasOwnProperty('required');
179
179
  };
180
180
 
181
181
  class DraggableDirective {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progress/kendo-angular-common",
3
- "version": "16.0.0-develop.20",
3
+ "version": "16.0.0-develop.22",
4
4
  "description": "Kendo UI for Angular - Utility Package",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "author": "Progress",
@@ -23,7 +23,7 @@
23
23
  "@progress/kendo-common": "^0.2.1",
24
24
  "@progress/kendo-draggable": "^3.0.2",
25
25
  "tslib": "^2.3.1",
26
- "@progress/kendo-angular-schematics": "16.0.0-develop.20"
26
+ "@progress/kendo-angular-schematics": "16.0.0-develop.22"
27
27
  },
28
28
  "publishConfig": {
29
29
  "access": "public"