@progress/kendo-typescript-tasks 11.2.7-dev.4 → 11.3.0

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 (60) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/api.js +2 -57
  3. package/package.json +4 -3
  4. package/api.config.js +0 -13
  5. package/src/api/class-page.hbs +0 -27
  6. package/src/api/class-page.js +0 -35
  7. package/src/api/code-block.hbs +0 -7
  8. package/src/api/comment-tags.hbs +0 -7
  9. package/src/api/comment.js +0 -56
  10. package/src/api/component-page.hbs +0 -101
  11. package/src/api/component-page.js +0 -67
  12. package/src/api/constant-page.hbs +0 -4
  13. package/src/api/constant-page.js +0 -15
  14. package/src/api/constructor.hbs +0 -21
  15. package/src/api/enum-page.hbs +0 -11
  16. package/src/api/enum-page.js +0 -25
  17. package/src/api/fn-page.hbs +0 -18
  18. package/src/api/fn-page.js +0 -24
  19. package/src/api/generator.js +0 -270
  20. package/src/api/index-page.hbs +0 -54
  21. package/src/api/index-page.js +0 -15
  22. package/src/api/is-constructor.js +0 -9
  23. package/src/api/is-event.js +0 -7
  24. package/src/api/is-field.js +0 -7
  25. package/src/api/is-input.js +0 -7
  26. package/src/api/is-method.js +0 -10
  27. package/src/api/is-public.js +0 -8
  28. package/src/api/map-constructors.js +0 -30
  29. package/src/api/map-methods.js +0 -23
  30. package/src/api/map-props.js +0 -63
  31. package/src/api/member-meta.hbs +0 -7
  32. package/src/api/member-page.js +0 -41
  33. package/src/api/methods.hbs +0 -109
  34. package/src/api/property.hbs +0 -38
  35. package/src/api/react/component-page.hbs +0 -26
  36. package/src/api/react/component-page.js +0 -30
  37. package/src/api/return-type.js +0 -30
  38. package/src/api/slug.js +0 -9
  39. package/src/api/template-utils.js +0 -40
  40. package/src/api/type-links.json +0 -3
  41. package/src/api/type-utils.js +0 -179
  42. package/src/api/union-page.hbs +0 -14
  43. package/src/api/union-page.js +0 -17
  44. package/src/api/utils.js +0 -40
  45. package/src/api/warn.js +0 -22
  46. package/src/api/warning-rules.js +0 -14
  47. package/test/api.js +0 -339
  48. package/test/class.json +0 -73
  49. package/test/components-def.json +0 -98
  50. package/test/events-def.json +0 -163
  51. package/test/fields-def.json +0 -203
  52. package/test/fn-def.json +0 -80
  53. package/test/fn.json +0 -89
  54. package/test/inputs-def.json +0 -98
  55. package/test/interface-comments.json +0 -412
  56. package/test/intersection.json +0 -67
  57. package/test/package.json +0 -175
  58. package/test/type-union-operators.json +0 -42
  59. package/test/type-union.json +0 -70
  60. package/test/warning.js +0 -91
@@ -1,42 +0,0 @@
1
- {
2
- "id": 416,
3
- "name": "FilterOperator",
4
- "kind": 4194304,
5
- "kindString": "Type alias",
6
- "flags": {},
7
- "comment": {
8
- "shortText": "Represents the FilterOperator type."
9
- },
10
- "sources": [
11
- {
12
- "fileName": "src/model/filter-expression.ts",
13
- "line": 5,
14
- "character": 12
15
- }
16
- ],
17
- "type": {
18
- "type": "union",
19
- "types": [
20
- {
21
- "type": "literal",
22
- "value": "gt"
23
- },
24
- {
25
- "type": "literal",
26
- "value": "gte"
27
- },
28
- {
29
- "type": "literal",
30
- "value": "isnull"
31
- },
32
- {
33
- "type": "literal",
34
- "value": "isnotnull"
35
- },
36
- {
37
- "type": "literal",
38
- "value": null
39
- }
40
- ]
41
- }
42
- }
@@ -1,70 +0,0 @@
1
- {
2
- "name": "SortSettings",
3
- "kindString": "Type alias",
4
- "flags": {
5
- "isExported": true
6
- },
7
- "comment": {
8
- "shortText": "Sets the sort settings of the Grid."
9
- },
10
- "type": {
11
- "type": "union",
12
- "types": [
13
- {
14
- "type": "instrinct",
15
- "name": "boolean"
16
- },
17
- {
18
- "type": "reflection",
19
- "declaration": {
20
- "name": "__type",
21
- "kindString": "Type literal",
22
- "flags": {},
23
- "children": [
24
- {
25
- "id": 245,
26
- "name": "allowUnsort",
27
- "kind": 32,
28
- "kindString": "Variable",
29
- "flags": {
30
- "isOptional": true
31
- },
32
- "comment": {
33
- "shortText": "Enables the removal of the column sorting."
34
- },
35
- "type": {
36
- "type": "instrinct",
37
- "name": "boolean"
38
- }
39
- },
40
- {
41
- "id": 246,
42
- "name": "mode",
43
- "kind": 32,
44
- "kindString": "Variable",
45
- "flags": {
46
- "isOptional": true
47
- },
48
- "comment": {
49
- "shortText": "The sort mode of the Grid. The available modes are:\n- `single`\n- `multiple`"
50
- },
51
- "type": {
52
- "type": "union",
53
- "types": [
54
- {
55
- "type": "literal",
56
- "value": "single"
57
- },
58
- {
59
- "type": "literal",
60
- "value": "multiple"
61
- }
62
- ]
63
- }
64
- }
65
- ]
66
- }
67
- }
68
- ]
69
- }
70
- }
package/test/warning.js DELETED
@@ -1,91 +0,0 @@
1
- 'use strict';
2
-
3
- const utils = require('../src/api/utils.js');
4
- const warn = require('../src/api/warn.js');
5
-
6
- describe('comment warnings', () => {
7
- beforeEach(() => {
8
- utils.warnings().splice(0);
9
- });
10
-
11
- it('should warn for Input property', () => {
12
- const member = {
13
- name: "foo",
14
- decorators: [
15
- {
16
- name: "Input"
17
- }
18
- ]
19
- };
20
-
21
- warn(member, '');
22
-
23
- expect(utils.warnings()[0]).toContain('Undocumented member foo');
24
- });
25
-
26
- it('should warn for Output property', () => {
27
- const member = {
28
- name: "foo",
29
- decorators: [
30
- {
31
- name: "Output"
32
- }
33
- ]
34
- };
35
-
36
- warn(member, '');
37
-
38
- expect(utils.warnings()[0]).toContain('Undocumented member foo');
39
- });
40
-
41
- it('should warn for Output property', () => {
42
- const member = {
43
- name: "foo",
44
- decorators: [
45
- {
46
- name: "Output"
47
- }
48
- ]
49
- };
50
-
51
- warn(member, '');
52
-
53
- expect(utils.warnings()[0]).toContain('Undocumented member foo');
54
- });
55
-
56
- it('should not warn for fields without decorators', () => {
57
- const member = {
58
- name: "foo"
59
- };
60
-
61
- warn(member, '');
62
-
63
- expect(utils.warnings().length).toEqual(0);
64
- });
65
-
66
- it('should not warn for fields with decorators', () => {
67
- const member = {
68
- name: "foo",
69
- decorators: [
70
- {
71
- name: "ContentChildren"
72
- }
73
- ]
74
- };
75
-
76
- warn(member, '');
77
-
78
- expect(utils.warnings().length).toEqual(0);
79
- });
80
-
81
- it('should not warn for named params', () => {
82
- const member = {
83
- name: "__namedParameters"
84
- };
85
-
86
- warn(member, '');
87
-
88
- expect(utils.warnings().length).toEqual(0);
89
- });
90
- });
91
-