@progress/kendo-typescript-tasks 11.1.1-dev.10 → 11.1.1-dev.13

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/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@progress/kendo-typescript-tasks",
3
3
  "description": "Kendo UI TypeScript package gulp tasks",
4
4
  "main": "gulp-tasks.js",
5
- "version": "11.1.1-dev.10+9ec980c",
5
+ "version": "11.1.1-dev.13+3ddaee6",
6
6
  "author": "Telerik",
7
7
  "license": "Apache-2.0",
8
8
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "typescript": "^4.3.4"
19
19
  },
20
20
  "dependencies": {
21
- "@progress/kendo-common-tasks": "8.0.1-dev.12+9ec980c",
21
+ "@progress/kendo-common-tasks": "8.0.1-dev.15+3ddaee6",
22
22
  "@typescript-eslint/eslint-plugin": "4.28.2",
23
23
  "@typescript-eslint/parser": "4.28.2",
24
24
  "core-js": "^3.18.0",
@@ -48,5 +48,5 @@
48
48
  "publishConfig": {
49
49
  "access": "public"
50
50
  },
51
- "gitHead": "9ec980c7763018ac5b5e0194f1df2266c507b04d"
51
+ "gitHead": "3ddaee670a7f000c2bf7754f4b6b909f7ad4dd07"
52
52
  }
@@ -69,11 +69,11 @@ Accessible in templates as `#{{exportName}}="{{exportAs}}"`
69
69
  </thead>
70
70
  <tbody class="api-table-body">
71
71
  {{#each events}}
72
- <tr id="toc-{{lowercase name}}">
72
+ <tr>
73
73
  <td class="table-cell-name">
74
74
 
75
75
 
76
- {{name}}
76
+ #### {{name}}
77
77
 
78
78
 
79
79
  </td>
@@ -5,11 +5,11 @@
5
5
  {{#each methods}}
6
6
  <table class="api-table api-table-methods">
7
7
  <thead class="api-table-methods-head">
8
- <tr id="toc-{{lowercase name}}">
8
+ <tr>
9
9
  <th>
10
10
 
11
11
 
12
- {{name}}
12
+ #### {{name}}
13
13
 
14
14
 
15
15
  </th>
@@ -26,6 +26,8 @@
26
26
  </td>
27
27
  </tr>
28
28
  {{#if params}}
29
+ <tr class="nested-table">
30
+ <td>
29
31
  <table class="api-table api-table-parameters">
30
32
  <thead class="api-table-parameters-head">
31
33
  <tr>
@@ -36,7 +38,7 @@
36
38
  </thead>
37
39
  <tbody class="api-table-body">
38
40
  {{#each params}}
39
- <tr id="toc-{{lowercase name}}">
41
+ <tr>
40
42
  <td>
41
43
 
42
44
 
@@ -62,9 +64,13 @@
62
64
  {{/each}}
63
65
  </tbody>
64
66
  </table>
67
+ </td>
68
+ </tr>
65
69
  {{/if}}
66
70
 
67
71
  {{#if returns}}
72
+ <tr class="nested-table">
73
+ <td>
68
74
  <table class="api-table api-table-returns">
69
75
  <thead class="api-table-returns-head">
70
76
  <tr>
@@ -91,6 +97,8 @@
91
97
  </tr>
92
98
  </tbody>
93
99
  </table>
100
+ </td>
101
+ </tr>
94
102
  {{/if}}
95
103
  </tbody>
96
104
  </table>
@@ -1,8 +1,8 @@
1
- <tr id="toc-{{lowercase name}}">
1
+ <tr>
2
2
  <td class="table-cell-name">
3
3
 
4
4
 
5
- {{name}}
5
+ #### {{name}}
6
6
 
7
7
 
8
8
  </td>
package/test/api.js CHANGED
@@ -107,7 +107,7 @@ describe('API generation', () => {
107
107
  });
108
108
 
109
109
  it('adds methods', () => {
110
- const pageContent = `## Methods\n\n<table class="api-table api-table-methods">\n<thead class="api-table-methods-head">\n<tr id="toc-get">\n<th>\n\n\nget\n\n\n</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td>\n\n\nGets the value of the specified option.\n\n\n</td>\n</tr>\n\n<table class="api-table api-table-returns">\n<thead class="api-table-returns-head">\n<tr>\n<th class="th-type">Returns</th>\n<th class="th-desc"></th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td type>\n\n\n<code>\n\n\nany\n\n\n</code>\n\n\n</td>\n<td>\n\n\nThe current option value.\n\n\n</td>\n</tr>\n</tbody>\n</table>\n</tbody>\n</table>`;
110
+ const pageContent = `## Methods\n\n<table class="api-table api-table-methods">\n<thead class="api-table-methods-head">\n<tr>\n<th>\n\n\n#### get\n\n\n</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td>\n\n\nGets the value of the specified option.\n\n\n</td>\n</tr>\n\n<tr class="nested-table">\n<td>\n<table class="api-table api-table-returns">\n<thead class="api-table-returns-head">\n<tr>\n<th class="th-type">Returns</th>\n<th class="th-desc"></th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td type>\n\n\n<code>\n\n\nany\n\n\n</code>\n\n\n</td>\n<td>\n\n\nThe current option value.\n\n\n</td>\n</tr>\n</tbody>\n</table>\n</td>\n</tr>\n</tbody>\n</table>`;
111
111
  expect(page).toContain(pageContent);
112
112
  });
113
113
 
@@ -269,14 +269,14 @@ describe('API generation', () => {
269
269
  it('render fields without decorators, but with comment', () => {
270
270
 
271
271
  const page = componentPage(fieldsData.withComment, packageInfo);
272
- const pageContent = `## Fields\n\n<table class="api-table api-table-fields">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-bar">\n<td class="table-cell-name">\n\n\nbar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nQueryList&lt;string&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\nsome comment\n\nlong text\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
272
+ const pageContent = `## Fields\n\n<table class="api-table api-table-fields">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### bar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nQueryList&lt;string&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\nsome comment\n\nlong text\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
273
273
  expect(page).toContain(pageContent);
274
274
  });
275
275
 
276
276
  it('render fields with decorators and comment', () => {
277
277
 
278
278
  const page = componentPage(fieldsData.withCommentAndDecorator, packageInfo);
279
- const pageContent = `## Fields\n\n<table class="api-table api-table-fields">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-bar">\n<td class="table-cell-name">\n\n\nbar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nQueryList&lt;string&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\nsome comment\n\nlong text\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
279
+ const pageContent = `## Fields\n\n<table class="api-table api-table-fields">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### bar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nQueryList&lt;string&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\nsome comment\n\nlong text\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
280
280
  expect(page).toContain(pageContent);
281
281
  });
282
282
  });
@@ -287,14 +287,14 @@ describe('API generation', () => {
287
287
  it('render inputs name and type', () => {
288
288
 
289
289
  const page = componentPage(inputsData.withoutNameMapping, packageInfo);
290
- const pageContent = `## Inputs\n\n<table class="api-table api-table-inputs">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-bar">\n<td class="table-cell-name">\n\n\nbar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nboolean\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\n\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
290
+ const pageContent = `## Inputs\n\n<table class="api-table api-table-inputs">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### bar\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nboolean\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\n\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
291
291
  expect(page).toContain(pageContent);
292
292
  });
293
293
 
294
294
  it('render fields with mapped name', () => {
295
295
 
296
296
  const page = componentPage(inputsData.withNameMapping, packageInfo);
297
- const pageContent = `## Inputs\n\n<table class="api-table api-table-inputs">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-foo">\n<td class="table-cell-name">\n\n\nfoo\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nboolean\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\n\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
297
+ const pageContent = `## Inputs\n\n<table class="api-table api-table-inputs">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-default">Default</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### foo\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nboolean\n\n\n</code>\n\n\n</td>\n<td class="table-cell-default">\n\n\n\n\n</td>\n<td class="table-cell-comment">\n\n\n\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
298
298
  expect(page).toContain(pageContent);
299
299
  });
300
300
  });
@@ -311,13 +311,13 @@ describe('API generation', () => {
311
311
 
312
312
  it('render event with type', () => {
313
313
  const page = componentPage(eventsData.withoutNameMapping, packageInfo);
314
- const pageContent = `## Events\n\n<table class="api-table api-table-events">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-valuechange">\n<td class="table-cell-name">\n\n\nvalueChange\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nEventEmitter&lt;any&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-comment">\n\n\nFires each time the user selects a new value.\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
314
+ const pageContent = `## Events\n\n<table class="api-table api-table-events">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### valueChange\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nEventEmitter&lt;any&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-comment">\n\n\nFires each time the user selects a new value.\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
315
315
  expect(page).toContain(pageContent);
316
316
  });
317
317
 
318
318
  it('render event binding name if available', () => {
319
319
  const page = componentPage(eventsData.withNameMapping, packageInfo);
320
- const pageContent = `## Events\n\n<table class="api-table api-table-events">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr id="toc-focus">\n<td class="table-cell-name">\n\n\nfocus\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nEventEmitter&lt;any&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-comment">\n\n\nFires each time the user focuses the input element.\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
320
+ const pageContent = `## Events\n\n<table class="api-table api-table-events">\n<thead>\n<tr>\n<th class="th-name">Name</th>\n<th class="th-type">Type</th>\n<th class="th-desc">Description</th>\n</tr>\n</thead>\n<tbody class="api-table-body">\n<tr>\n<td class="table-cell-name">\n\n\n#### focus\n\n\n</td>\n<td type class="table-cell-type">\n\n\n<code>\n\n\nEventEmitter&lt;any&gt;\n\n\n</code>\n\n\n</td>\n<td class="table-cell-comment">\n\n\nFires each time the user focuses the input element.\n\n\n</td>\n</tr>\n</tbody>\n</table>`;
321
321
  expect(page).toContain(pageContent);
322
322
  });
323
323