@angular/cdk 8.1.4 → 8.2.3

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 (162) hide show
  1. package/a11y/typings/index.metadata.json +1 -1
  2. package/a11y/typings/key-manager/focus-key-manager.d.ts +1 -1
  3. package/bundles/cdk-a11y.umd.js +10 -2
  4. package/bundles/cdk-a11y.umd.js.map +1 -1
  5. package/bundles/cdk-a11y.umd.min.js +1 -1
  6. package/bundles/cdk-a11y.umd.min.js.map +1 -1
  7. package/bundles/cdk-drag-drop.umd.js +239 -36
  8. package/bundles/cdk-drag-drop.umd.js.map +1 -1
  9. package/bundles/cdk-drag-drop.umd.min.js +2 -2
  10. package/bundles/cdk-drag-drop.umd.min.js.map +1 -1
  11. package/bundles/cdk-overlay.umd.js +15 -8
  12. package/bundles/cdk-overlay.umd.js.map +1 -1
  13. package/bundles/cdk-overlay.umd.min.js +2 -2
  14. package/bundles/cdk-overlay.umd.min.js.map +1 -1
  15. package/bundles/cdk-platform.umd.js +21 -0
  16. package/bundles/cdk-platform.umd.js.map +1 -1
  17. package/bundles/cdk-platform.umd.min.js +1 -1
  18. package/bundles/cdk-platform.umd.min.js.map +1 -1
  19. package/bundles/cdk-scrolling.umd.js +1 -1
  20. package/bundles/cdk-scrolling.umd.js.map +1 -1
  21. package/bundles/cdk-scrolling.umd.min.js.map +1 -1
  22. package/bundles/cdk-stepper.umd.js +46 -40
  23. package/bundles/cdk-stepper.umd.js.map +1 -1
  24. package/bundles/cdk-stepper.umd.min.js +1 -1
  25. package/bundles/cdk-stepper.umd.min.js.map +1 -1
  26. package/bundles/cdk-table.umd.js +4 -4
  27. package/bundles/cdk-table.umd.js.map +1 -1
  28. package/bundles/cdk-table.umd.min.js.map +1 -1
  29. package/bundles/cdk-testing.umd.js +404 -0
  30. package/bundles/cdk-testing.umd.js.map +1 -0
  31. package/bundles/cdk-testing.umd.min.js +9 -0
  32. package/bundles/cdk-testing.umd.min.js.map +1 -0
  33. package/bundles/cdk-text-field.umd.js +3 -3
  34. package/bundles/cdk-text-field.umd.js.map +1 -1
  35. package/bundles/cdk-text-field.umd.min.js.map +1 -1
  36. package/bundles/cdk.umd.js +1 -1
  37. package/bundles/cdk.umd.js.map +1 -1
  38. package/bundles/cdk.umd.min.js +1 -1
  39. package/bundles/cdk.umd.min.js.map +1 -1
  40. package/drag-drop/typings/drag-ref.d.ts +9 -0
  41. package/drag-drop/typings/drop-list-ref.d.ts +7 -1
  42. package/drag-drop/typings/index.metadata.json +1 -1
  43. package/esm2015/a11y.js +10 -2
  44. package/esm2015/a11y.js.map +1 -1
  45. package/esm2015/cdk.js +1 -1
  46. package/esm2015/cdk.js.map +1 -1
  47. package/esm2015/drag-drop.js +212 -37
  48. package/esm2015/drag-drop.js.map +1 -1
  49. package/esm2015/overlay.js +13 -6
  50. package/esm2015/overlay.js.map +1 -1
  51. package/esm2015/platform.js +21 -1
  52. package/esm2015/platform.js.map +1 -1
  53. package/esm2015/scrolling.js +1 -1
  54. package/esm2015/scrolling.js.map +1 -1
  55. package/esm2015/stepper.js +51 -45
  56. package/esm2015/stepper.js.map +1 -1
  57. package/esm2015/table.js +4 -4
  58. package/esm2015/table.js.map +1 -1
  59. package/esm2015/testing.js +370 -0
  60. package/esm2015/testing.js.map +1 -0
  61. package/esm2015/text-field.js +1 -1
  62. package/esm2015/text-field.js.map +1 -1
  63. package/esm5/a11y.es5.js +10 -2
  64. package/esm5/a11y.es5.js.map +1 -1
  65. package/esm5/cdk.es5.js +1 -1
  66. package/esm5/cdk.es5.js.map +1 -1
  67. package/esm5/drag-drop.es5.js +241 -38
  68. package/esm5/drag-drop.es5.js.map +1 -1
  69. package/esm5/overlay.es5.js +15 -8
  70. package/esm5/overlay.es5.js.map +1 -1
  71. package/esm5/platform.es5.js +21 -1
  72. package/esm5/platform.es5.js.map +1 -1
  73. package/esm5/scrolling.es5.js +1 -1
  74. package/esm5/scrolling.es5.js.map +1 -1
  75. package/esm5/stepper.es5.js +49 -43
  76. package/esm5/stepper.es5.js.map +1 -1
  77. package/esm5/table.es5.js +4 -4
  78. package/esm5/table.es5.js.map +1 -1
  79. package/esm5/testing.es5.js +390 -0
  80. package/esm5/testing.es5.js.map +1 -0
  81. package/esm5/text-field.es5.js +3 -3
  82. package/esm5/text-field.es5.js.map +1 -1
  83. package/overlay/typings/index.metadata.json +1 -1
  84. package/overlay/typings/position/flexible-connected-position-strategy.d.ts +5 -2
  85. package/overlay/typings/public-api.d.ts +1 -1
  86. package/package.json +4 -4
  87. package/platform/typings/features/shadow-dom.d.ts +9 -0
  88. package/platform/typings/index.metadata.json +1 -1
  89. package/platform/typings/public-api.d.ts +1 -0
  90. package/schematics/ng-update/index.js +2 -2
  91. package/schematics/ng-update/index.js.map +1 -1
  92. package/schematics/ng-update/test-cases/misc/global-stylesheets-test.css +1 -0
  93. package/schematics/ng-update/upgrade-rules/class-inheritance-rule.js +3 -3
  94. package/schematics/ng-update/upgrade-rules/class-inheritance-rule.js.map +1 -1
  95. package/schematics/tsconfig.tsbuildinfo +2898 -2898
  96. package/schematics/update-tool/index.js +9 -5
  97. package/schematics/update-tool/index.js.map +1 -1
  98. package/scrolling/typings/virtual-scroll-viewport.d.ts +1 -1
  99. package/stepper/typings/index.metadata.json +1 -1
  100. package/stepper/typings/stepper.d.ts +3 -3
  101. package/table/typings/table.d.ts +4 -4
  102. package/testing/index.d.ts +8 -0
  103. package/testing/index.metadata.json +12 -0
  104. package/testing/package.json +8 -0
  105. package/testing/typings/dispatch-events.d.ts +33 -0
  106. package/testing/typings/element-focus.d.ts +18 -0
  107. package/testing/typings/event-objects.d.ts +34 -0
  108. package/testing/typings/index.d.ts +4 -0
  109. package/testing/typings/index.metadata.json +1 -0
  110. package/testing/typings/public-api.d.ts +11 -0
  111. package/testing/typings/type-in-element.d.ts +41 -0
  112. package/testing.d.ts +8 -0
  113. package/testing.metadata.json +12 -0
  114. package/text-field/typings/autosize.d.ts +1 -1
  115. package/typings/a11y/index.metadata.json +1 -1
  116. package/typings/a11y/key-manager/focus-key-manager.d.ts +1 -1
  117. package/typings/drag-drop/drag-ref.d.ts +9 -0
  118. package/typings/drag-drop/drop-list-ref.d.ts +7 -1
  119. package/typings/drag-drop/index.metadata.json +1 -1
  120. package/typings/esm5/a11y/index.metadata.json +1 -1
  121. package/typings/esm5/a11y/key-manager/focus-key-manager.d.ts +1 -1
  122. package/typings/esm5/drag-drop/drag-ref.d.ts +9 -0
  123. package/typings/esm5/drag-drop/drop-list-ref.d.ts +7 -1
  124. package/typings/esm5/drag-drop/index.metadata.json +1 -1
  125. package/typings/esm5/index.metadata.json +1 -1
  126. package/typings/esm5/overlay/index.metadata.json +1 -1
  127. package/typings/esm5/overlay/position/flexible-connected-position-strategy.d.ts +5 -2
  128. package/typings/esm5/overlay/public-api.d.ts +1 -1
  129. package/typings/esm5/platform/features/shadow-dom.d.ts +9 -0
  130. package/typings/esm5/platform/index.metadata.json +1 -1
  131. package/typings/esm5/platform/public-api.d.ts +1 -0
  132. package/typings/esm5/scrolling/virtual-scroll-viewport.d.ts +1 -1
  133. package/typings/esm5/stepper/index.metadata.json +1 -1
  134. package/typings/esm5/stepper/stepper.d.ts +3 -3
  135. package/typings/esm5/table/table.d.ts +4 -4
  136. package/typings/esm5/testing/dispatch-events.d.ts +33 -0
  137. package/typings/esm5/testing/element-focus.d.ts +18 -0
  138. package/typings/esm5/testing/event-objects.d.ts +34 -0
  139. package/typings/esm5/testing/index.d.ts +4 -0
  140. package/typings/esm5/testing/index.metadata.json +1 -0
  141. package/typings/esm5/testing/public-api.d.ts +11 -0
  142. package/typings/esm5/testing/type-in-element.d.ts +41 -0
  143. package/typings/esm5/text-field/autosize.d.ts +1 -1
  144. package/typings/index.metadata.json +1 -1
  145. package/typings/overlay/index.metadata.json +1 -1
  146. package/typings/overlay/position/flexible-connected-position-strategy.d.ts +5 -2
  147. package/typings/overlay/public-api.d.ts +1 -1
  148. package/typings/platform/features/shadow-dom.d.ts +9 -0
  149. package/typings/platform/index.metadata.json +1 -1
  150. package/typings/platform/public-api.d.ts +1 -0
  151. package/typings/scrolling/virtual-scroll-viewport.d.ts +1 -1
  152. package/typings/stepper/index.metadata.json +1 -1
  153. package/typings/stepper/stepper.d.ts +3 -3
  154. package/typings/table/table.d.ts +4 -4
  155. package/typings/testing/dispatch-events.d.ts +33 -0
  156. package/typings/testing/element-focus.d.ts +18 -0
  157. package/typings/testing/event-objects.d.ts +34 -0
  158. package/typings/testing/index.d.ts +4 -0
  159. package/typings/testing/index.metadata.json +1 -0
  160. package/typings/testing/public-api.d.ts +11 -0
  161. package/typings/testing/type-in-element.d.ts +41 -0
  162. package/typings/text-field/autosize.d.ts +1 -1
@@ -77,7 +77,11 @@ function runMigrationRules(tree, logger, tsconfigPath, targetVersion, ruleTypes,
77
77
  .filter(filePath => !resourceCollector.resolvedStylesheets.some(s => s.filePath === filePath))
78
78
  .forEach(filePath => {
79
79
  const stylesheet = resourceCollector.resolveExternalStylesheet(filePath, null);
80
- rules.forEach(r => r.visitStylesheet(stylesheet));
80
+ const relativePath = getProjectRelativePath(filePath);
81
+ // do not visit stylesheets which have been referenced from a component.
82
+ if (!analyzedFiles.has(relativePath)) {
83
+ rules.forEach(r => r.visitStylesheet(stylesheet));
84
+ }
81
85
  });
82
86
  // Commit all recorded updates in the update recorder. We need to perform the
83
87
  // replacements per source file in order to ensure that offsets in the TypeScript
@@ -88,14 +92,14 @@ function runMigrationRules(tree, logger, tsconfigPath, targetVersion, ruleTypes,
88
92
  // In case there are rule failures, print these to the CLI logger as warnings.
89
93
  if (ruleFailures.length) {
90
94
  ruleFailures.forEach(({ filePath, message, position }) => {
91
- const normalizedFilePath = core_1.normalize(path_1.relative(basePath, filePath));
95
+ const normalizedFilePath = core_1.normalize(getProjectRelativePath(filePath));
92
96
  const lineAndCharacter = `${position.line + 1}:${position.character + 1}`;
93
97
  logger.warn(`${normalizedFilePath}@${lineAndCharacter} - ${message}`);
94
98
  });
95
99
  }
96
100
  return !!ruleFailures.length;
97
101
  function getUpdateRecorder(filePath) {
98
- const treeFilePath = path_1.relative(basePath, filePath);
102
+ const treeFilePath = getProjectRelativePath(filePath);
99
103
  if (updateRecorderCache.has(treeFilePath)) {
100
104
  return updateRecorderCache.get(treeFilePath);
101
105
  }
@@ -108,9 +112,9 @@ function runMigrationRules(tree, logger, tsconfigPath, targetVersion, ruleTypes,
108
112
  ts.forEachChild(node, _visitTypeScriptNode);
109
113
  resourceCollector.visitNode(node);
110
114
  }
111
- /** Gets the specified path relative to the project root. */
115
+ /** Gets the specified path relative to the project root in POSIX format. */
112
116
  function getProjectRelativePath(filePath) {
113
- return path_1.relative(basePath, filePath);
117
+ return path_1.relative(basePath, filePath).replace(/\\/g, '/');
114
118
  }
115
119
  }
116
120
  exports.runMigrationRules = runMigrationRules;
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/cdk/schematics/update-tool/index.ts"],"names":[],"mappings":";AAAA;;;;;;GAMG;;AAEH,+CAAwD;AAExD,+BAAsC;AACtC,+BAAuC;AACvC,iCAAiC;AAEjC,iFAA0E;AAG1E,2DAAyD;AAIzD,SAAgB,iBAAiB,CAC7B,IAAU,EAAE,MAAyB,EAAE,YAAoB,EAAE,aAA4B,EACzF,SAA0C,EAAE,WAAc,EAC1D,aAA0B;IAC5B,mEAAmE;IACnE,4BAA4B;IAC5B,MAAM,QAAQ,GAAG,OAAO,CAAC,GAAG,EAAE,CAAC;IAC/B,MAAM,MAAM,GAAG,kCAAiB,CAAC,YAAY,EAAE,cAAO,CAAC,YAAY,CAAC,CAAC,CAAC;IACtE,MAAM,IAAI,GAAG,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC;IAEzD,6EAA6E;IAC7E,qEAAqE;IACrE,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC,EAAE;QACzB,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,sBAAsB,CAAC,QAAQ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ForOf } from './virtual-for-of';
15
15
  import { VirtualScrollStrategy } from './virtual-scroll-strategy';
16
- /** A viewport that virtualizes it's scrolling with the help of `CdkVirtualForOf`. */
16
+ /** A viewport that virtualizes its scrolling with the help of `CdkVirtualForOf`. */
17
17
  export declare class CdkVirtualScrollViewport extends CdkScrollable implements OnInit, OnDestroy {
18
18
  elementRef: ElementRef<HTMLElement>;
19
19
  private _changeDetectorRef;
@@ -1 +1 @@
1
- {"__symbolic":"module","version":4,"metadata":{"StepContentPositionState":{"__symbolic":"interface"},"StepperOrientation":{"__symbolic":"interface"},"StepperSelectionEvent":{"__symbolic":"class","members":{}},"StepState":{"__symbolic":"interface"},"STEP_STATE":{"NUMBER":"number","EDIT":"edit","DONE":"done","ERROR":"error"},"STEPPER_GLOBAL_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":81,"character":6},"arguments":["STEPPER_GLOBAL_OPTIONS"]},"MAT_STEPPER_GLOBAL_OPTIONS":{"__symbolic":"reference","name":"STEPPER_GLOBAL_OPTIONS"},"StepperOptions":{"__symbolic":"interface"},"CdkStep":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":106,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-step","exportAs":"cdkStep","template":"<ng-template><ng-content></ng-content></ng-template>","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":111,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":112,"character":19},"member":"OnPush"}}]}],"members":{"stepLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":120,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStepLabel"},{"static":false}]}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":123,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":123,"character":13},{"static":true}]}]}],"stepControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"errorMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":3}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":138,"character":3},"arguments":["aria-label"]}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":3},"arguments":["aria-labelledby"]}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":3}}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":3}}]}],"optional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":158,"character":3}}]}],"completed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":166,"character":3}}]}],"_getDefaultCompleted":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":180,"character":3}}]}],"_getDefaultError":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":195,"character":5},"arguments":[{"__symbolic":"reference","name":"CdkStepper"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":196,"character":5}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":196,"character":17},"arguments":[{"__symbolic":"reference","name":"STEPPER_GLOBAL_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"any"}]}],"select":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"CdkStepper":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":231,"character":1},"arguments":[{"selector":"[cdkStepper]","exportAs":"cdkStepper"}]}],"members":{"_steps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":253,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStep"}]}]}],"_stepHeader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":265,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStepHeader"}]}]}],"linear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":268,"character":3}}]}],"selectedIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":274,"character":3}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":297,"character":3}}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":307,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":316,"character":5}}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":320,"character":5},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":320,"character":12}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":316,"character":30},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":317,"character":32},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":319,"character":37,"context":{"typeName":"HTMLElement"},"module":"./stepper"}]},{"__symbolic":"reference","name":"any"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"previous":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"_getStepLabelId":[{"__symbolic":"method"}],"_getStepContentId":[{"__symbolic":"method"}],"_stateChanged":[{"__symbolic":"method"}],"_getAnimationDirection":[{"__symbolic":"method"}],"_getIndicatorType":[{"__symbolic":"method"}],"_getDefaultIndicatorLogic":[{"__symbolic":"method"}],"_getGuidelineLogic":[{"__symbolic":"method"}],"_isCurrentStep":[{"__symbolic":"method"}],"_getFocusIndex":[{"__symbolic":"method"}],"_updateSelectedItemIndex":[{"__symbolic":"method"}],"_onKeydown":[{"__symbolic":"method"}],"_anyControlsInvalidOrPending":[{"__symbolic":"method"}],"_layoutDirection":[{"__symbolic":"method"}],"_containsFocus":[{"__symbolic":"method"}]}},"CdkStepLabel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[cdkStepLabel]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"CdkStepperNext":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"button[cdkStepperNext]","host":{"[type]":"type","$quoted$":["[type]"]}}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkStepper"}]}],"_handleClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":30,"character":3},"arguments":["click"]}]}]}},"CdkStepperPrevious":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":37,"character":1},"arguments":[{"selector":"button[cdkStepperPrevious]","host":{"[type]":"type","$quoted$":["[type]"]}}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkStepper"}]}],"_handleClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":54,"character":3},"arguments":["click"]}]}]}},"CdkStepperModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":17,"character":12},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":24}],"exports":[{"__symbolic":"reference","name":"CdkStep"},{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"CdkStepHeader"},{"__symbolic":"reference","name":"CdkStepLabel"},{"__symbolic":"reference","name":"CdkStepperNext"},{"__symbolic":"reference","name":"CdkStepperPrevious"}],"declarations":[{"__symbolic":"reference","name":"CdkStep"},{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"CdkStepHeader"},{"__symbolic":"reference","name":"CdkStepLabel"},{"__symbolic":"reference","name":"CdkStepperNext"},{"__symbolic":"reference","name":"CdkStepperPrevious"}]}]}],"members":{}},"CdkStepHeader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":12,"character":1},"arguments":[{"selector":"[cdkStepHeader]","host":{"role":"tab","$quoted$":["role"]}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":19,"character":48,"context":{"typeName":"HTMLElement"},"module":"./step-header"}]}]}],"focus":[{"__symbolic":"method"}]}}},"origins":{"StepContentPositionState":"./stepper","StepperOrientation":"./stepper","StepperSelectionEvent":"./stepper","StepState":"./stepper","STEP_STATE":"./stepper","STEPPER_GLOBAL_OPTIONS":"./stepper","MAT_STEPPER_GLOBAL_OPTIONS":"./stepper","StepperOptions":"./stepper","CdkStep":"./stepper","CdkStepper":"./stepper","CdkStepLabel":"./step-label","CdkStepperNext":"./stepper-button","CdkStepperPrevious":"./stepper-button","CdkStepperModule":"./stepper-module","CdkStepHeader":"./step-header"},"importAs":"@angular/cdk/stepper"}
1
+ {"__symbolic":"module","version":4,"metadata":{"StepContentPositionState":{"__symbolic":"interface"},"StepperOrientation":{"__symbolic":"interface"},"StepperSelectionEvent":{"__symbolic":"class","members":{}},"StepState":{"__symbolic":"interface"},"STEP_STATE":{"NUMBER":"number","EDIT":"edit","DONE":"done","ERROR":"error"},"STEPPER_GLOBAL_OPTIONS":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"@angular/core","name":"InjectionToken","line":81,"character":42},"arguments":["STEPPER_GLOBAL_OPTIONS"]},"MAT_STEPPER_GLOBAL_OPTIONS":{"__symbolic":"reference","name":"STEPPER_GLOBAL_OPTIONS"},"StepperOptions":{"__symbolic":"interface"},"CdkStep":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Component","line":106,"character":1},"arguments":[{"moduleId":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"module"},"member":"id"},"selector":"cdk-step","exportAs":"cdkStep","template":"<ng-template><ng-content></ng-content></ng-template>","encapsulation":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewEncapsulation","line":111,"character":17},"member":"None"},"changeDetection":{"__symbolic":"select","expression":{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectionStrategy","line":112,"character":19},"member":"OnPush"}}]}],"members":{"stepLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChild","line":120,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStepLabel"},{"static":false}]}]}],"content":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ViewChild","line":123,"character":3},"arguments":[{"__symbolic":"reference","module":"@angular/core","name":"TemplateRef","line":123,"character":13},{"static":true}]}]}],"stepControl":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":126,"character":3}}]}],"label":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":132,"character":3}}]}],"errorMessage":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":135,"character":3}}]}],"ariaLabel":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":138,"character":3},"arguments":["aria-label"]}]}],"ariaLabelledby":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":144,"character":3},"arguments":["aria-labelledby"]}]}],"state":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":147,"character":3}}]}],"editable":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":150,"character":3}}]}],"optional":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":160,"character":3}}]}],"completed":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":170,"character":3}}]}],"_getDefaultCompleted":[{"__symbolic":"method"}],"hasError":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":184,"character":3}}]}],"_getDefaultError":[{"__symbolic":"method"}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":199,"character":7},"arguments":[{"__symbolic":"reference","name":"CdkStepper"}]}],[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":200,"character":7}},{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":200,"character":19},"arguments":[{"__symbolic":"reference","name":"STEPPER_GLOBAL_OPTIONS"}]}]],"parameters":[{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"any"}]}],"select":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"ngOnChanges":[{"__symbolic":"method"}]}},"CdkStepper":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":235,"character":1},"arguments":[{"selector":"[cdkStepper]","exportAs":"cdkStepper"}]}],"members":{"_steps":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":257,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStep"}]}]}],"_stepHeader":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"ContentChildren","line":269,"character":3},"arguments":[{"__symbolic":"reference","name":"CdkStepHeader"}]}]}],"linear":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":272,"character":3}}]}],"selectedIndex":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":282,"character":3}}]}],"selected":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":306,"character":3}}]}],"selectionChange":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Output","line":316,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Optional","line":325,"character":7}}],null,null,[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":327,"character":54},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":327,"character":61}]}]],"parameters":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"Directionality","line":325,"character":32},{"__symbolic":"reference","module":"@angular/core","name":"ChangeDetectorRef","line":325,"character":76},{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":327,"character":39,"context":{"typeName":"HTMLElement"},"module":"./stepper"}]},{"__symbolic":"reference","name":"any"}]}],"ngAfterViewInit":[{"__symbolic":"method"}],"ngOnDestroy":[{"__symbolic":"method"}],"next":[{"__symbolic":"method"}],"previous":[{"__symbolic":"method"}],"reset":[{"__symbolic":"method"}],"_getStepLabelId":[{"__symbolic":"method"}],"_getStepContentId":[{"__symbolic":"method"}],"_stateChanged":[{"__symbolic":"method"}],"_getAnimationDirection":[{"__symbolic":"method"}],"_getIndicatorType":[{"__symbolic":"method"}],"_getDefaultIndicatorLogic":[{"__symbolic":"method"}],"_getGuidelineLogic":[{"__symbolic":"method"}],"_isCurrentStep":[{"__symbolic":"method"}],"_getFocusIndex":[{"__symbolic":"method"}],"_updateSelectedItemIndex":[{"__symbolic":"method"}],"_onKeydown":[{"__symbolic":"method"}],"_anyControlsInvalidOrPending":[{"__symbolic":"method"}],"_layoutDirection":[{"__symbolic":"method"}],"_containsFocus":[{"__symbolic":"method"}]}},"CdkStepLabel":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":10,"character":1},"arguments":[{"selector":"[cdkStepLabel]"}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"TemplateRef","module":"@angular/core","arguments":[{"__symbolic":"reference","name":"any"}]}]}]}},"CdkStepperNext":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":13,"character":1},"arguments":[{"selector":"button[cdkStepperNext]","host":{"[type]":"type","$quoted$":["[type]"]}}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":21,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkStepper"}]}],"_handleClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":30,"character":3},"arguments":["click"]}]}]}},"CdkStepperPrevious":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":37,"character":1},"arguments":[{"selector":"button[cdkStepperPrevious]","host":{"[type]":"type","$quoted$":["[type]"]}}]}],"members":{"type":[{"__symbolic":"property","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Input","line":45,"character":3}}]}],"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"CdkStepper"}]}],"_handleClick":[{"__symbolic":"method","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"HostListener","line":54,"character":3},"arguments":["click"]}]}]}},"CdkStepperModule":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"NgModule","line":16,"character":1},"arguments":[{"imports":[{"__symbolic":"reference","module":"@angular/cdk/bidi","name":"BidiModule","line":17,"character":12},{"__symbolic":"reference","module":"@angular/common","name":"CommonModule","line":17,"character":24}],"exports":[{"__symbolic":"reference","name":"CdkStep"},{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"CdkStepHeader"},{"__symbolic":"reference","name":"CdkStepLabel"},{"__symbolic":"reference","name":"CdkStepperNext"},{"__symbolic":"reference","name":"CdkStepperPrevious"}],"declarations":[{"__symbolic":"reference","name":"CdkStep"},{"__symbolic":"reference","name":"CdkStepper"},{"__symbolic":"reference","name":"CdkStepHeader"},{"__symbolic":"reference","name":"CdkStepLabel"},{"__symbolic":"reference","name":"CdkStepperNext"},{"__symbolic":"reference","name":"CdkStepperPrevious"}]}]}],"members":{}},"CdkStepHeader":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Directive","line":12,"character":1},"arguments":[{"selector":"[cdkStepHeader]","host":{"role":"tab","$quoted$":["role"]}}]}],"members":{"__ctor__":[{"__symbolic":"constructor","parameters":[{"__symbolic":"reference","name":"ElementRef","module":"@angular/core","arguments":[{"__symbolic":"error","message":"Could not resolve type","line":19,"character":48,"context":{"typeName":"HTMLElement"},"module":"./step-header"}]}]}],"focus":[{"__symbolic":"method"}]}}},"origins":{"StepContentPositionState":"./stepper","StepperOrientation":"./stepper","StepperSelectionEvent":"./stepper","StepState":"./stepper","STEP_STATE":"./stepper","STEPPER_GLOBAL_OPTIONS":"./stepper","MAT_STEPPER_GLOBAL_OPTIONS":"./stepper","StepperOptions":"./stepper","CdkStep":"./stepper","CdkStepper":"./stepper","CdkStepLabel":"./step-label","CdkStepperNext":"./stepper-button","CdkStepperPrevious":"./stepper-button","CdkStepperModule":"./stepper-module","CdkStepHeader":"./step-header"},"importAs":"@angular/cdk/stepper"}
@@ -7,9 +7,9 @@
7
7
  */
8
8
  import { FocusableOption } from '@angular/cdk/a11y';
9
9
  import { Directionality } from '@angular/cdk/bidi';
10
- import { AfterViewInit, ChangeDetectorRef, EventEmitter, ElementRef, OnChanges, OnDestroy, QueryList, TemplateRef, InjectionToken } from '@angular/core';
11
- import { CdkStepLabel } from './step-label';
10
+ import { AfterViewInit, ChangeDetectorRef, ElementRef, EventEmitter, InjectionToken, OnChanges, OnDestroy, QueryList, TemplateRef } from '@angular/core';
12
11
  import { Observable, Subject } from 'rxjs';
12
+ import { CdkStepLabel } from './step-label';
13
13
  /**
14
14
  * Position state of the content of each step in stepper that is used for transitioning
15
15
  * the content into correct position upon step selection change.
@@ -93,7 +93,7 @@ export declare class CdkStep implements OnChanges {
93
93
  private _optional;
94
94
  /** Whether step is marked as completed. */
95
95
  completed: boolean;
96
- private _customCompleted;
96
+ _completedOverride: boolean | null;
97
97
  private _getDefaultCompleted;
98
98
  /** Whether step has an error. */
99
99
  hasError: boolean;
@@ -129,25 +129,25 @@ export declare class CdkTable<T> implements AfterContentChecked, CollectionViewe
129
129
  /**
130
130
  * Column definitions that were defined outside of the direct content children of the table.
131
131
  * These will be defined when, e.g., creating a wrapper around the cdkTable that has
132
- * column definitions as *it's* content child.
132
+ * column definitions as *its* content child.
133
133
  */
134
134
  private _customColumnDefs;
135
135
  /**
136
136
  * Data row definitions that were defined outside of the direct content children of the table.
137
137
  * These will be defined when, e.g., creating a wrapper around the cdkTable that has
138
- * built-in data rows as *it's* content child.
138
+ * built-in data rows as *its* content child.
139
139
  */
140
140
  private _customRowDefs;
141
141
  /**
142
142
  * Header row definitions that were defined outside of the direct content children of the table.
143
143
  * These will be defined when, e.g., creating a wrapper around the cdkTable that has
144
- * built-in header rows as *it's* content child.
144
+ * built-in header rows as *its* content child.
145
145
  */
146
146
  private _customHeaderRowDefs;
147
147
  /**
148
148
  * Footer row definitions that were defined outside of the direct content children of the table.
149
149
  * These will be defined when, e.g., creating a wrapper around the cdkTable that has a
150
- * built-in footer row as *it's* content child.
150
+ * built-in footer row as *its* content child.
151
151
  */
152
152
  private _customFooterRowDefs;
153
153
  /**
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ export * from './typings/index';
@@ -0,0 +1,12 @@
1
+ {
2
+ "__symbolic": "module",
3
+ "version": 3,
4
+ "metadata": {},
5
+ "exports": [
6
+ {
7
+ "from": "./typings/index"
8
+ }
9
+ ],
10
+ "flatModuleIndexRedirect": true,
11
+ "importAs": "@angular/cdk/testing"
12
+ }
@@ -0,0 +1,8 @@
1
+ {
2
+ "name": "@angular/cdk/testing",
3
+ "typings": "../testing.d.ts",
4
+ "main": "../bundles/cdk-testing.umd.js",
5
+ "module": "../esm5/testing.es5.js",
6
+ "es2015": "../esm2015/testing.js",
7
+ "sideEffects": false
8
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ import { ModifierKeys } from './event-objects';
9
+ /**
10
+ * Utility to dispatch any event on a Node.
11
+ * @docs-private
12
+ */
13
+ export declare function dispatchEvent(node: Node | Window, event: Event): Event;
14
+ /**
15
+ * Shorthand to dispatch a fake event on a specified node.
16
+ * @docs-private
17
+ */
18
+ export declare function dispatchFakeEvent(node: Node | Window, type: string, canBubble?: boolean): Event;
19
+ /**
20
+ * Shorthand to dispatch a keyboard event with a specified key code.
21
+ * @docs-private
22
+ */
23
+ export declare function dispatchKeyboardEvent(node: Node, type: string, keyCode?: number, key?: string, target?: Element, modifiers?: ModifierKeys): KeyboardEvent;
24
+ /**
25
+ * Shorthand to dispatch a mouse event on the specified coordinates.
26
+ * @docs-private
27
+ */
28
+ export declare function dispatchMouseEvent(node: Node, type: string, x?: number, y?: number, event?: MouseEvent): MouseEvent;
29
+ /**
30
+ * Shorthand to dispatch a touch event on the specified coordinates.
31
+ * @docs-private
32
+ */
33
+ export declare function dispatchTouchEvent(node: Node, type: string, x?: number, y?: number): Event;
@@ -0,0 +1,18 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ /**
9
+ * Patches an elements focus and blur methods to emit events consistently and predictably.
10
+ * This is necessary, because some browsers, like IE11, will call the focus handlers asynchronously,
11
+ * while others won't fire them at all if the browser window is not focused.
12
+ * @docs-private
13
+ */
14
+ export declare function patchElementFocus(element: HTMLElement): void;
15
+ /** @docs-private */
16
+ export declare function triggerFocus(element: HTMLElement): void;
17
+ /** @docs-private */
18
+ export declare function triggerBlur(element: HTMLElement): void;
@@ -0,0 +1,34 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ /** Modifier keys that may be held while typing. */
9
+ export interface ModifierKeys {
10
+ control?: boolean;
11
+ alt?: boolean;
12
+ shift?: boolean;
13
+ meta?: boolean;
14
+ }
15
+ /**
16
+ * Creates a browser MouseEvent with the specified options.
17
+ * @docs-private
18
+ */
19
+ export declare function createMouseEvent(type: string, x?: number, y?: number, button?: number): MouseEvent;
20
+ /**
21
+ * Creates a browser TouchEvent with the specified pointer coordinates.
22
+ * @docs-private
23
+ */
24
+ export declare function createTouchEvent(type: string, pageX?: number, pageY?: number): UIEvent;
25
+ /**
26
+ * Dispatches a keydown event from an element.
27
+ * @docs-private
28
+ */
29
+ export declare function createKeyboardEvent(type: string, keyCode?: number, key?: string, target?: Element, modifiers?: ModifierKeys): any;
30
+ /**
31
+ * Creates a fake event object with any desired event type.
32
+ * @docs-private
33
+ */
34
+ export declare function createFakeEvent(type: string, canBubble?: boolean, cancelable?: boolean): Event;
@@ -0,0 +1,4 @@
1
+ /**
2
+ * Generated bundle index. Do not edit.
3
+ */
4
+ export * from './public-api';
@@ -0,0 +1 @@
1
+ {"__symbolic":"module","version":4,"metadata":{"dispatchEvent":{"__symbolic":"function"},"dispatchFakeEvent":{"__symbolic":"function","parameters":["node","type","canBubble"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"dispatchEvent"},"arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createFakeEvent"},"arguments":[{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"canBubble"}]}]}},"dispatchKeyboardEvent":{"__symbolic":"function","parameters":["node","type","keyCode","key","target","modifiers"],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"dispatchEvent"},"arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createKeyboardEvent"},"arguments":[{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"keyCode"},{"__symbolic":"reference","name":"key"},{"__symbolic":"reference","name":"target"},{"__symbolic":"reference","name":"modifiers"}]}]}},"dispatchMouseEvent":{"__symbolic":"function","parameters":["node","type","x","y","event"],"defaults":[null,null,0,0,{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createMouseEvent"},"arguments":[{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"x"},{"__symbolic":"reference","name":"y"}]}],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"dispatchEvent"},"arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"reference","name":"event"}]}},"dispatchTouchEvent":{"__symbolic":"function","parameters":["node","type","x","y"],"defaults":[null,null,0,0],"value":{"__symbolic":"call","expression":{"__symbolic":"reference","name":"dispatchEvent"},"arguments":[{"__symbolic":"reference","name":"node"},{"__symbolic":"call","expression":{"__symbolic":"reference","name":"createTouchEvent"},"arguments":[{"__symbolic":"reference","name":"type"},{"__symbolic":"reference","name":"x"},{"__symbolic":"reference","name":"y"}]}]}},"ModifierKeys":{"__symbolic":"interface"},"createMouseEvent":{"__symbolic":"function"},"createTouchEvent":{"__symbolic":"function"},"createKeyboardEvent":{"__symbolic":"function"},"createFakeEvent":{"__symbolic":"function"},"isTextInput":{"__symbolic":"function","parameters":["element"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"element"},"member":"nodeName"},"member":"toLowerCase"}},"right":"input"},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"call","expression":{"__symbolic":"select","expression":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"element"},"member":"nodeName"},"member":"toLowerCase"}},"right":"textarea"}}},"typeInElement":{"__symbolic":"function"},"clearElement":{"__symbolic":"function"},"patchElementFocus":{"__symbolic":"function"},"triggerFocus":{"__symbolic":"function"},"triggerBlur":{"__symbolic":"function"}},"origins":{"dispatchEvent":"./dispatch-events","dispatchFakeEvent":"./dispatch-events","dispatchKeyboardEvent":"./dispatch-events","dispatchMouseEvent":"./dispatch-events","dispatchTouchEvent":"./dispatch-events","ModifierKeys":"./event-objects","createMouseEvent":"./event-objects","createTouchEvent":"./event-objects","createKeyboardEvent":"./event-objects","createFakeEvent":"./event-objects","isTextInput":"./type-in-element","typeInElement":"./type-in-element","clearElement":"./type-in-element","patchElementFocus":"./element-focus","triggerFocus":"./element-focus","triggerBlur":"./element-focus"},"importAs":"@angular/cdk/testing"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ export * from './dispatch-events';
9
+ export * from './event-objects';
10
+ export * from './type-in-element';
11
+ export * from './element-focus';
@@ -0,0 +1,41 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ import { ModifierKeys } from './event-objects';
9
+ /**
10
+ * Checks whether the given Element is a text input element.
11
+ * @docs-private
12
+ */
13
+ export declare function isTextInput(element: Element): element is HTMLInputElement | HTMLTextAreaElement;
14
+ /**
15
+ * Focuses an input, sets its value and dispatches
16
+ * the `input` event, simulating the user typing.
17
+ * @param element Element onto which to set the value.
18
+ * @param keys The keys to send to the element.
19
+ * @docs-private
20
+ */
21
+ export declare function typeInElement(element: HTMLElement, ...keys: (string | {
22
+ keyCode?: number;
23
+ key?: string;
24
+ })[]): void;
25
+ /**
26
+ * Focuses an input, sets its value and dispatches
27
+ * the `input` event, simulating the user typing.
28
+ * @param element Element onto which to set the value.
29
+ * @param modifiers Modifier keys that are held while typing.
30
+ * @param keys The keys to send to the element.
31
+ * @docs-private
32
+ */
33
+ export declare function typeInElement(element: HTMLElement, modifiers: ModifierKeys, ...keys: (string | {
34
+ keyCode?: number;
35
+ key?: string;
36
+ })[]): void;
37
+ /**
38
+ * Clears the text in an input or textarea element.
39
+ * @docs-private
40
+ */
41
+ export declare function clearElement(element: HTMLInputElement | HTMLTextAreaElement): void;
package/testing.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @license
3
+ * Copyright Google LLC All Rights Reserved.
4
+ *
5
+ * Use of this source code is governed by an MIT-style license that can be
6
+ * found in the LICENSE file at https://angular.io/license
7
+ */
8
+ export * from './testing/index';
@@ -0,0 +1,12 @@
1
+ {
2
+ "__symbolic": "module",
3
+ "version": 3,
4
+ "metadata": {},
5
+ "exports": [
6
+ {
7
+ "from": "./testing/index"
8
+ }
9
+ ],
10
+ "flatModuleIndexRedirect": true,
11
+ "importAs": "@angular/cdk/testing"
12
+ }
@@ -57,7 +57,7 @@ export declare class CdkTextareaAutosize implements AfterViewInit, DoCheck, OnDe
57
57
  */
58
58
  resizeToFitContent(force?: boolean): void;
59
59
  /**
60
- * Resets the textarea to it's original size
60
+ * Resets the textarea to its original size
61
61
  */
62
62
  reset(): void;
63
63
  _noopInputHandler(): void;