@dugararchit/cdk 0.0.0-dugararchit

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 (206) hide show
  1. package/_index.scss +8 -0
  2. package/a11y/_index.import.scss +2 -0
  3. package/a11y/_index.scss +102 -0
  4. package/a11y/a11y-prebuilt.scss +3 -0
  5. package/fesm2022/stagefright5-cdk-a11y.mjs +2381 -0
  6. package/fesm2022/stagefright5-cdk-a11y.mjs.map +1 -0
  7. package/fesm2022/stagefright5-cdk-accordion.mjs +267 -0
  8. package/fesm2022/stagefright5-cdk-accordion.mjs.map +1 -0
  9. package/fesm2022/stagefright5-cdk-bidi.mjs +185 -0
  10. package/fesm2022/stagefright5-cdk-bidi.mjs.map +1 -0
  11. package/fesm2022/stagefright5-cdk-clipboard.mjs +250 -0
  12. package/fesm2022/stagefright5-cdk-clipboard.mjs.map +1 -0
  13. package/fesm2022/stagefright5-cdk-coercion.mjs +128 -0
  14. package/fesm2022/stagefright5-cdk-coercion.mjs.map +1 -0
  15. package/fesm2022/stagefright5-cdk-collections.mjs +472 -0
  16. package/fesm2022/stagefright5-cdk-collections.mjs.map +1 -0
  17. package/fesm2022/stagefright5-cdk-drag-drop.mjs +3690 -0
  18. package/fesm2022/stagefright5-cdk-drag-drop.mjs.map +1 -0
  19. package/fesm2022/stagefright5-cdk-keycodes.mjs +159 -0
  20. package/fesm2022/stagefright5-cdk-keycodes.mjs.map +1 -0
  21. package/fesm2022/stagefright5-cdk-layout.mjs +246 -0
  22. package/fesm2022/stagefright5-cdk-layout.mjs.map +1 -0
  23. package/fesm2022/stagefright5-cdk-observers.mjs +203 -0
  24. package/fesm2022/stagefright5-cdk-observers.mjs.map +1 -0
  25. package/fesm2022/stagefright5-cdk-overlay.mjs +3033 -0
  26. package/fesm2022/stagefright5-cdk-overlay.mjs.map +1 -0
  27. package/fesm2022/stagefright5-cdk-platform.mjs +375 -0
  28. package/fesm2022/stagefright5-cdk-platform.mjs.map +1 -0
  29. package/fesm2022/stagefright5-cdk-portal.mjs +672 -0
  30. package/fesm2022/stagefright5-cdk-portal.mjs.map +1 -0
  31. package/fesm2022/stagefright5-cdk-scrolling.mjs +1399 -0
  32. package/fesm2022/stagefright5-cdk-scrolling.mjs.map +1 -0
  33. package/fesm2022/stagefright5-cdk-stepper.mjs +624 -0
  34. package/fesm2022/stagefright5-cdk-stepper.mjs.map +1 -0
  35. package/fesm2022/stagefright5-cdk-table.mjs +2346 -0
  36. package/fesm2022/stagefright5-cdk-table.mjs.map +1 -0
  37. package/fesm2022/stagefright5-cdk-testing-protractor.mjs +324 -0
  38. package/fesm2022/stagefright5-cdk-testing-protractor.mjs.map +1 -0
  39. package/fesm2022/stagefright5-cdk-testing-selenium-webdriver.mjs +364 -0
  40. package/fesm2022/stagefright5-cdk-testing-selenium-webdriver.mjs.map +1 -0
  41. package/fesm2022/stagefright5-cdk-testing-testbed.mjs +806 -0
  42. package/fesm2022/stagefright5-cdk-testing-testbed.mjs.map +1 -0
  43. package/fesm2022/stagefright5-cdk-testing.mjs +740 -0
  44. package/fesm2022/stagefright5-cdk-testing.mjs.map +1 -0
  45. package/fesm2022/stagefright5-cdk-text-field.mjs +453 -0
  46. package/fesm2022/stagefright5-cdk-text-field.mjs.map +1 -0
  47. package/fesm2022/stagefright5-cdk-tree.mjs +945 -0
  48. package/fesm2022/stagefright5-cdk-tree.mjs.map +1 -0
  49. package/fesm2022/stagefright5-cdk.mjs +26 -0
  50. package/fesm2022/stagefright5-cdk.mjs.map +1 -0
  51. package/overlay/_index-deprecated.scss +13 -0
  52. package/overlay/_index.import.scss +13 -0
  53. package/overlay/_index.scss +148 -0
  54. package/overlay/overlay-prebuilt.scss +3 -0
  55. package/package.json +159 -0
  56. package/schematics/ng-update/test-cases/misc/global-stylesheets-test.scss +3 -0
  57. package/schematics/schematics/BUILD.bazel +104 -0
  58. package/schematics/schematics/README.md +4 -0
  59. package/schematics/schematics/collection.json +18 -0
  60. package/schematics/schematics/index.ts +22 -0
  61. package/schematics/schematics/migration.json +50 -0
  62. package/schematics/schematics/ng-add/index.spec.ts +50 -0
  63. package/schematics/schematics/ng-add/index.ts +39 -0
  64. package/schematics/schematics/ng-add/package-config.ts +62 -0
  65. package/schematics/schematics/ng-add/schema.json +16 -0
  66. package/schematics/schematics/ng-add/schema.ts +12 -0
  67. package/schematics/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.__style__.template +53 -0
  68. package/schematics/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.html.template +17 -0
  69. package/schematics/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.spec.ts.template +29 -0
  70. package/schematics/schematics/ng-generate/drag-drop/files/__path__/__name@dasherize@if-flat__/__name@dasherize__.component.ts.template +43 -0
  71. package/schematics/schematics/ng-generate/drag-drop/index.spec.ts +205 -0
  72. package/schematics/schematics/ng-generate/drag-drop/index.ts +35 -0
  73. package/schematics/schematics/ng-generate/drag-drop/schema.json +93 -0
  74. package/schematics/schematics/ng-generate/drag-drop/schema.ts +11 -0
  75. package/schematics/schematics/ng-update/data/attribute-selectors.ts +29 -0
  76. package/schematics/schematics/ng-update/data/class-names.ts +50 -0
  77. package/schematics/schematics/ng-update/data/constructor-checks.ts +75 -0
  78. package/schematics/schematics/ng-update/data/css-selectors.ts +33 -0
  79. package/schematics/schematics/ng-update/data/element-selectors.ts +21 -0
  80. package/schematics/schematics/ng-update/data/index.ts +18 -0
  81. package/schematics/schematics/ng-update/data/input-names.ts +118 -0
  82. package/schematics/schematics/ng-update/data/method-call-checks.ts +63 -0
  83. package/schematics/schematics/ng-update/data/output-names.ts +42 -0
  84. package/schematics/schematics/ng-update/data/property-names.ts +151 -0
  85. package/schematics/schematics/ng-update/data/symbol-removal.ts +22 -0
  86. package/schematics/schematics/ng-update/devkit-file-system.ts +87 -0
  87. package/schematics/schematics/ng-update/devkit-migration-rule.ts +185 -0
  88. package/schematics/schematics/ng-update/devkit-migration.ts +47 -0
  89. package/schematics/schematics/ng-update/find-stylesheets.ts +43 -0
  90. package/schematics/schematics/ng-update/html-parsing/angular.ts +49 -0
  91. package/schematics/schematics/ng-update/html-parsing/elements.ts +66 -0
  92. package/schematics/schematics/ng-update/index.ts +113 -0
  93. package/schematics/schematics/ng-update/migrations/attribute-selectors.ts +83 -0
  94. package/schematics/schematics/ng-update/migrations/class-inheritance.ts +63 -0
  95. package/schematics/schematics/ng-update/migrations/class-names.ts +107 -0
  96. package/schematics/schematics/ng-update/migrations/constructor-signature.ts +170 -0
  97. package/schematics/schematics/ng-update/migrations/css-selectors.ts +83 -0
  98. package/schematics/schematics/ng-update/migrations/element-selectors.ts +75 -0
  99. package/schematics/schematics/ng-update/migrations/input-names.ts +83 -0
  100. package/schematics/schematics/ng-update/migrations/method-call-arguments.ts +70 -0
  101. package/schematics/schematics/ng-update/migrations/misc-template.ts +36 -0
  102. package/schematics/schematics/ng-update/migrations/output-names.ts +61 -0
  103. package/schematics/schematics/ng-update/migrations/property-names.ts +61 -0
  104. package/schematics/schematics/ng-update/migrations/symbol-removal.ts +51 -0
  105. package/schematics/schematics/ng-update/migrations/tilde-import-v13/tilde-import-migration.ts +40 -0
  106. package/schematics/schematics/ng-update/public-api.ts +18 -0
  107. package/schematics/schematics/ng-update/test-cases/index.spec.ts +18 -0
  108. package/schematics/schematics/ng-update/test-cases/misc/external-resource-resolution.spec.ts +32 -0
  109. package/schematics/schematics/ng-update/test-cases/misc/external-resource-resolution_input.ts +22 -0
  110. package/schematics/schematics/ng-update/test-cases/misc/global-stylesheets-test.scss +3 -0
  111. package/schematics/schematics/ng-update/test-cases/misc/global-stylesheets.spec.ts +50 -0
  112. package/schematics/schematics/ng-update/test-cases/misc/global-stylesheets_input.ts +8 -0
  113. package/schematics/schematics/ng-update/test-cases/misc/method-call-checks.spec.ts +20 -0
  114. package/schematics/schematics/ng-update/test-cases/misc/method-call-checks_input.ts +18 -0
  115. package/schematics/schematics/ng-update/test-cases/misc/module-resolution.spec.ts +27 -0
  116. package/schematics/schematics/ng-update/test-cases/v13/misc/tilde-import-v13.spec.ts +149 -0
  117. package/schematics/schematics/ng-update/test-cases/v6/attribute-selectors_expected_output.ts +36 -0
  118. package/schematics/schematics/ng-update/test-cases/v6/attribute-selectors_input.ts +36 -0
  119. package/schematics/schematics/ng-update/test-cases/v6/class-names_expected_output.ts +8 -0
  120. package/schematics/schematics/ng-update/test-cases/v6/class-names_input.ts +8 -0
  121. package/schematics/schematics/ng-update/test-cases/v6/input-names_expected_output.ts +22 -0
  122. package/schematics/schematics/ng-update/test-cases/v6/input-names_input.ts +22 -0
  123. package/schematics/schematics/ng-update/test-cases/v6/property-names_expected_output.ts +64 -0
  124. package/schematics/schematics/ng-update/test-cases/v6/property-names_input.ts +64 -0
  125. package/schematics/schematics/ng-update/test-cases/v7/property-names_expected_output.ts +28 -0
  126. package/schematics/schematics/ng-update/test-cases/v7/property-names_input.ts +28 -0
  127. package/schematics/schematics/ng-update/typescript/base-types.ts +22 -0
  128. package/schematics/schematics/ng-update/typescript/imports.ts +54 -0
  129. package/schematics/schematics/ng-update/typescript/literal.ts +32 -0
  130. package/schematics/schematics/ng-update/typescript/module-specifiers.ts +39 -0
  131. package/schematics/schematics/ng-update/update-schematic.md +209 -0
  132. package/schematics/schematics/ng-update/upgrade-data.ts +79 -0
  133. package/schematics/schematics/paths.ts +15 -0
  134. package/schematics/schematics/testing/BUILD.bazel +27 -0
  135. package/schematics/schematics/testing/file-content.ts +20 -0
  136. package/schematics/schematics/testing/index.ts +14 -0
  137. package/schematics/schematics/testing/post-scheduled-tasks.ts +45 -0
  138. package/schematics/schematics/testing/resolve-bazel-path.ts +46 -0
  139. package/schematics/schematics/testing/test-app.ts +21 -0
  140. package/schematics/schematics/testing/test-case-setup.ts +236 -0
  141. package/schematics/schematics/testing/test-library.ts +21 -0
  142. package/schematics/schematics/testing/test-project.ts +40 -0
  143. package/schematics/schematics/testing/tsconfig.json +7 -0
  144. package/schematics/schematics/tsconfig.json +28 -0
  145. package/schematics/schematics/update-tool/BUILD.bazel +19 -0
  146. package/schematics/schematics/update-tool/component-resource-collector.ts +195 -0
  147. package/schematics/schematics/update-tool/file-system.ts +78 -0
  148. package/schematics/schematics/update-tool/index.ts +191 -0
  149. package/schematics/schematics/update-tool/logger.ts +23 -0
  150. package/schematics/schematics/update-tool/migration.ts +88 -0
  151. package/schematics/schematics/update-tool/public-api.ts +16 -0
  152. package/schematics/schematics/update-tool/target-version.ts +31 -0
  153. package/schematics/schematics/update-tool/tsconfig.json +7 -0
  154. package/schematics/schematics/update-tool/update-recorder.ts +14 -0
  155. package/schematics/schematics/update-tool/utils/decorators.ts +54 -0
  156. package/schematics/schematics/update-tool/utils/functions.ts +18 -0
  157. package/schematics/schematics/update-tool/utils/imports.ts +128 -0
  158. package/schematics/schematics/update-tool/utils/line-mappings.ts +84 -0
  159. package/schematics/schematics/update-tool/utils/parse-tsconfig.ts +25 -0
  160. package/schematics/schematics/update-tool/utils/property-name.ts +28 -0
  161. package/schematics/schematics/update-tool/utils/virtual-host.ts +116 -0
  162. package/schematics/schematics/update-tool/version-changes.ts +49 -0
  163. package/schematics/schematics/utils/ast/ng-module-imports.spec.ts +43 -0
  164. package/schematics/schematics/utils/ast/ng-module-imports.ts +102 -0
  165. package/schematics/schematics/utils/ast.ts +88 -0
  166. package/schematics/schematics/utils/build-component.ts +252 -0
  167. package/schematics/schematics/utils/get-project.ts +27 -0
  168. package/schematics/schematics/utils/html-manipulation.ts +105 -0
  169. package/schematics/schematics/utils/index.ts +19 -0
  170. package/schematics/schematics/utils/parse5-element.ts +34 -0
  171. package/schematics/schematics/utils/project-index-file.ts +21 -0
  172. package/schematics/schematics/utils/project-main-file.ts +26 -0
  173. package/schematics/schematics/utils/project-style-file.ts +53 -0
  174. package/schematics/schematics/utils/project-targets.ts +43 -0
  175. package/schematics/schematics/utils/project-tsconfig-paths.spec.ts +91 -0
  176. package/schematics/schematics/utils/project-tsconfig-paths.ts +49 -0
  177. package/schematics/schematics/utils/schematic-options.ts +65 -0
  178. package/schematics/schematics/utils/vendored-ast-utils/index.ts +599 -0
  179. package/scrolling/virtual-scroll-viewport.scss +87 -0
  180. package/table/table.scss +3 -0
  181. package/text-field/_index.import.scss +2 -0
  182. package/text-field/_index.scss +89 -0
  183. package/text-field/text-field-prebuilt.scss +4 -0
  184. package/types/stagefright5-cdk-a11y.d.ts +1160 -0
  185. package/types/stagefright5-cdk-accordion.d.ts +95 -0
  186. package/types/stagefright5-cdk-bidi.d.ts +95 -0
  187. package/types/stagefright5-cdk-clipboard.d.ts +116 -0
  188. package/types/stagefright5-cdk-coercion.d.ts +101 -0
  189. package/types/stagefright5-cdk-collections.d.ts +405 -0
  190. package/types/stagefright5-cdk-drag-drop.d.ts +1471 -0
  191. package/types/stagefright5-cdk-keycodes.d.ts +142 -0
  192. package/types/stagefright5-cdk-layout.d.ts +96 -0
  193. package/types/stagefright5-cdk-observers.d.ts +91 -0
  194. package/types/stagefright5-cdk-overlay.d.ts +1258 -0
  195. package/types/stagefright5-cdk-platform.d.ts +130 -0
  196. package/types/stagefright5-cdk-portal.d.ts +327 -0
  197. package/types/stagefright5-cdk-scrolling.d.ts +631 -0
  198. package/types/stagefright5-cdk-stepper.d.ts +302 -0
  199. package/types/stagefright5-cdk-table.d.ts +1128 -0
  200. package/types/stagefright5-cdk-testing-protractor.d.ts +146 -0
  201. package/types/stagefright5-cdk-testing-selenium-webdriver.d.ts +161 -0
  202. package/types/stagefright5-cdk-testing-testbed.d.ts +168 -0
  203. package/types/stagefright5-cdk-testing.d.ts +735 -0
  204. package/types/stagefright5-cdk-text-field.d.ts +171 -0
  205. package/types/stagefright5-cdk-tree.d.ts +522 -0
  206. package/types/stagefright5-cdk.d.ts +14 -0
@@ -0,0 +1,142 @@
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
+ declare const MAC_ENTER = 3;
9
+ declare const BACKSPACE = 8;
10
+ declare const TAB = 9;
11
+ declare const NUM_CENTER = 12;
12
+ declare const ENTER = 13;
13
+ declare const SHIFT = 16;
14
+ declare const CONTROL = 17;
15
+ declare const ALT = 18;
16
+ declare const PAUSE = 19;
17
+ declare const CAPS_LOCK = 20;
18
+ declare const ESCAPE = 27;
19
+ declare const SPACE = 32;
20
+ declare const PAGE_UP = 33;
21
+ declare const PAGE_DOWN = 34;
22
+ declare const END = 35;
23
+ declare const HOME = 36;
24
+ declare const LEFT_ARROW = 37;
25
+ declare const UP_ARROW = 38;
26
+ declare const RIGHT_ARROW = 39;
27
+ declare const DOWN_ARROW = 40;
28
+ declare const PLUS_SIGN = 43;
29
+ declare const PRINT_SCREEN = 44;
30
+ declare const INSERT = 45;
31
+ declare const DELETE = 46;
32
+ declare const ZERO = 48;
33
+ declare const ONE = 49;
34
+ declare const TWO = 50;
35
+ declare const THREE = 51;
36
+ declare const FOUR = 52;
37
+ declare const FIVE = 53;
38
+ declare const SIX = 54;
39
+ declare const SEVEN = 55;
40
+ declare const EIGHT = 56;
41
+ declare const NINE = 57;
42
+ declare const FF_SEMICOLON = 59;
43
+ declare const FF_EQUALS = 61;
44
+ declare const QUESTION_MARK = 63;
45
+ declare const AT_SIGN = 64;
46
+ declare const A = 65;
47
+ declare const B = 66;
48
+ declare const C = 67;
49
+ declare const D = 68;
50
+ declare const E = 69;
51
+ declare const F = 70;
52
+ declare const G = 71;
53
+ declare const H = 72;
54
+ declare const I = 73;
55
+ declare const J = 74;
56
+ declare const K = 75;
57
+ declare const L = 76;
58
+ declare const M = 77;
59
+ declare const N = 78;
60
+ declare const O = 79;
61
+ declare const P = 80;
62
+ declare const Q = 81;
63
+ declare const R = 82;
64
+ declare const S = 83;
65
+ declare const T = 84;
66
+ declare const U = 85;
67
+ declare const V = 86;
68
+ declare const W = 87;
69
+ declare const X = 88;
70
+ declare const Y = 89;
71
+ declare const Z = 90;
72
+ declare const META = 91;
73
+ declare const MAC_WK_CMD_LEFT = 91;
74
+ declare const MAC_WK_CMD_RIGHT = 93;
75
+ declare const CONTEXT_MENU = 93;
76
+ declare const NUMPAD_ZERO = 96;
77
+ declare const NUMPAD_ONE = 97;
78
+ declare const NUMPAD_TWO = 98;
79
+ declare const NUMPAD_THREE = 99;
80
+ declare const NUMPAD_FOUR = 100;
81
+ declare const NUMPAD_FIVE = 101;
82
+ declare const NUMPAD_SIX = 102;
83
+ declare const NUMPAD_SEVEN = 103;
84
+ declare const NUMPAD_EIGHT = 104;
85
+ declare const NUMPAD_NINE = 105;
86
+ declare const NUMPAD_MULTIPLY = 106;
87
+ declare const NUMPAD_PLUS = 107;
88
+ declare const NUMPAD_MINUS = 109;
89
+ declare const NUMPAD_PERIOD = 110;
90
+ declare const NUMPAD_DIVIDE = 111;
91
+ declare const F1 = 112;
92
+ declare const F2 = 113;
93
+ declare const F3 = 114;
94
+ declare const F4 = 115;
95
+ declare const F5 = 116;
96
+ declare const F6 = 117;
97
+ declare const F7 = 118;
98
+ declare const F8 = 119;
99
+ declare const F9 = 120;
100
+ declare const F10 = 121;
101
+ declare const F11 = 122;
102
+ declare const F12 = 123;
103
+ declare const NUM_LOCK = 144;
104
+ declare const SCROLL_LOCK = 145;
105
+ declare const FIRST_MEDIA = 166;
106
+ declare const FF_MINUS = 173;
107
+ declare const MUTE = 173;
108
+ declare const VOLUME_DOWN = 174;
109
+ declare const VOLUME_UP = 175;
110
+ declare const FF_MUTE = 181;
111
+ declare const FF_VOLUME_DOWN = 182;
112
+ declare const LAST_MEDIA = 183;
113
+ declare const FF_VOLUME_UP = 183;
114
+ declare const SEMICOLON = 186;
115
+ declare const EQUALS = 187;
116
+ declare const COMMA = 188;
117
+ declare const DASH = 189;
118
+ declare const PERIOD = 190;
119
+ declare const SLASH = 191;
120
+ declare const APOSTROPHE = 192;
121
+ declare const TILDE = 192;
122
+ declare const OPEN_SQUARE_BRACKET = 219;
123
+ declare const BACKSLASH = 220;
124
+ declare const CLOSE_SQUARE_BRACKET = 221;
125
+ declare const SINGLE_QUOTE = 222;
126
+ declare const MAC_META = 224;
127
+
128
+ /**
129
+ * @license
130
+ * Copyright Google LLC All Rights Reserved.
131
+ *
132
+ * Use of this source code is governed by an MIT-style license that can be
133
+ * found in the LICENSE file at https://angular.io/license
134
+ */
135
+ type ModifierKey = 'altKey' | 'shiftKey' | 'ctrlKey' | 'metaKey';
136
+ /**
137
+ * Checks whether a modifier key is pressed.
138
+ * @param event Event to be checked.
139
+ */
140
+ declare function hasModifierKey(event: KeyboardEvent, ...modifiers: ModifierKey[]): boolean;
141
+
142
+ export { A, ALT, APOSTROPHE, AT_SIGN, B, BACKSLASH, BACKSPACE, C, CAPS_LOCK, CLOSE_SQUARE_BRACKET, COMMA, CONTEXT_MENU, CONTROL, D, DASH, DELETE, DOWN_ARROW, E, EIGHT, END, ENTER, EQUALS, ESCAPE, F, F1, F10, F11, F12, F2, F3, F4, F5, F6, F7, F8, F9, FF_EQUALS, FF_MINUS, FF_MUTE, FF_SEMICOLON, FF_VOLUME_DOWN, FF_VOLUME_UP, FIRST_MEDIA, FIVE, FOUR, G, H, HOME, I, INSERT, J, K, L, LAST_MEDIA, LEFT_ARROW, M, MAC_ENTER, MAC_META, MAC_WK_CMD_LEFT, MAC_WK_CMD_RIGHT, META, MUTE, N, NINE, NUMPAD_DIVIDE, NUMPAD_EIGHT, NUMPAD_FIVE, NUMPAD_FOUR, NUMPAD_MINUS, NUMPAD_MULTIPLY, NUMPAD_NINE, NUMPAD_ONE, NUMPAD_PERIOD, NUMPAD_PLUS, NUMPAD_SEVEN, NUMPAD_SIX, NUMPAD_THREE, NUMPAD_TWO, NUMPAD_ZERO, NUM_CENTER, NUM_LOCK, O, ONE, OPEN_SQUARE_BRACKET, P, PAGE_DOWN, PAGE_UP, PAUSE, PERIOD, PLUS_SIGN, PRINT_SCREEN, Q, QUESTION_MARK, R, RIGHT_ARROW, S, SCROLL_LOCK, SEMICOLON, SEVEN, SHIFT, SINGLE_QUOTE, SIX, SLASH, SPACE, T, TAB, THREE, TILDE, TWO, U, UP_ARROW, V, VOLUME_DOWN, VOLUME_UP, W, X, Y, Z, ZERO, hasModifierKey };
@@ -0,0 +1,96 @@
1
+ import * as i0 from '@angular/core';
2
+ import { OnDestroy, NgZone } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+ import { Platform } from '@dugararchit/cdk/platform';
5
+
6
+ declare class LayoutModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayoutModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<LayoutModule, never, never, never>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<LayoutModule>;
10
+ }
11
+
12
+ /** A utility for calling matchMedia queries. */
13
+ declare class MediaMatcher {
14
+ private _platform;
15
+ /** The internal matchMedia method to return back a MediaQueryList like object. */
16
+ private _matchMedia;
17
+ constructor(_platform: Platform);
18
+ /**
19
+ * Evaluates the given media query and returns the native MediaQueryList from which results
20
+ * can be retrieved.
21
+ * Confirms the layout engine will trigger for the selector query provided and returns the
22
+ * MediaQueryList for the query provided.
23
+ */
24
+ matchMedia(query: string): MediaQueryList;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<MediaMatcher, never>;
26
+ static ɵprov: i0.ɵɵInjectableDeclaration<MediaMatcher>;
27
+ }
28
+
29
+ /** The current state of a layout breakpoint. */
30
+ interface BreakpointState {
31
+ /** Whether the breakpoint is currently matching. */
32
+ matches: boolean;
33
+ /**
34
+ * A key boolean pair for each query provided to the observe method,
35
+ * with its current matched state.
36
+ */
37
+ breakpoints: {
38
+ [key: string]: boolean;
39
+ };
40
+ }
41
+ /** Utility for checking the matching state of @media queries. */
42
+ declare class BreakpointObserver implements OnDestroy {
43
+ private _mediaMatcher;
44
+ private _zone;
45
+ /** A map of all media queries currently being listened for. */
46
+ private _queries;
47
+ /** A subject for all other observables to takeUntil based on. */
48
+ private readonly _destroySubject;
49
+ constructor(_mediaMatcher: MediaMatcher, _zone: NgZone);
50
+ /** Completes the active subject, signalling to all other observables to complete. */
51
+ ngOnDestroy(): void;
52
+ /**
53
+ * Whether one or more media queries match the current viewport size.
54
+ * @param value One or more media queries to check.
55
+ * @returns Whether any of the media queries match.
56
+ */
57
+ isMatched(value: string | readonly string[]): boolean;
58
+ /**
59
+ * Gets an observable of results for the given queries that will emit new results for any changes
60
+ * in matching of the given queries.
61
+ * @param value One or more media queries to check.
62
+ * @returns A stream of matches for the given queries.
63
+ */
64
+ observe(value: string | readonly string[]): Observable<BreakpointState>;
65
+ /** Registers a specific query to be listened for. */
66
+ private _registerQuery;
67
+ static ɵfac: i0.ɵɵFactoryDeclaration<BreakpointObserver, never>;
68
+ static ɵprov: i0.ɵɵInjectableDeclaration<BreakpointObserver>;
69
+ }
70
+
71
+ /**
72
+ * @license
73
+ * Copyright Google LLC All Rights Reserved.
74
+ *
75
+ * Use of this source code is governed by an MIT-style license that can be
76
+ * found in the LICENSE file at https://angular.io/license
77
+ */
78
+ declare const Breakpoints: {
79
+ XSmall: string;
80
+ Small: string;
81
+ Medium: string;
82
+ Large: string;
83
+ XLarge: string;
84
+ Handset: string;
85
+ Tablet: string;
86
+ Web: string;
87
+ HandsetPortrait: string;
88
+ TabletPortrait: string;
89
+ WebPortrait: string;
90
+ HandsetLandscape: string;
91
+ TabletLandscape: string;
92
+ WebLandscape: string;
93
+ };
94
+
95
+ export { BreakpointObserver, Breakpoints, LayoutModule, MediaMatcher };
96
+ export type { BreakpointState };
@@ -0,0 +1,91 @@
1
+ import { BooleanInput, NumberInput } from '@dugararchit/cdk/coercion';
2
+ import * as i0 from '@angular/core';
3
+ import { AfterContentInit, OnDestroy, EventEmitter, ElementRef, NgZone } from '@angular/core';
4
+ import { Observable } from 'rxjs';
5
+
6
+ /**
7
+ * @license
8
+ * Copyright Google LLC All Rights Reserved.
9
+ *
10
+ * Use of this source code is governed by an MIT-style license that can be
11
+ * found in the LICENSE file at https://angular.io/license
12
+ */
13
+
14
+ /**
15
+ * Factory that creates a new MutationObserver and allows us to stub it out in unit tests.
16
+ * @docs-private
17
+ */
18
+ declare class MutationObserverFactory {
19
+ create(callback: MutationCallback): MutationObserver | null;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<MutationObserverFactory, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<MutationObserverFactory>;
22
+ }
23
+ /** An injectable service that allows watching elements for changes to their content. */
24
+ declare class ContentObserver implements OnDestroy {
25
+ private _mutationObserverFactory;
26
+ /** Keeps track of the existing MutationObservers so they can be reused. */
27
+ private _observedElements;
28
+ constructor(_mutationObserverFactory: MutationObserverFactory);
29
+ ngOnDestroy(): void;
30
+ /**
31
+ * Observe content changes on an element.
32
+ * @param element The element to observe for content changes.
33
+ */
34
+ observe(element: Element): Observable<MutationRecord[]>;
35
+ /**
36
+ * Observe content changes on an element.
37
+ * @param element The element to observe for content changes.
38
+ */
39
+ observe(element: ElementRef<Element>): Observable<MutationRecord[]>;
40
+ /**
41
+ * Observes the given element by using the existing MutationObserver if available, or creating a
42
+ * new one if not.
43
+ */
44
+ private _observeElement;
45
+ /**
46
+ * Un-observes the given element and cleans up the underlying MutationObserver if nobody else is
47
+ * observing this element.
48
+ */
49
+ private _unobserveElement;
50
+ /** Clean up the underlying MutationObserver for the specified element. */
51
+ private _cleanupObserver;
52
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContentObserver, never>;
53
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContentObserver>;
54
+ }
55
+ /**
56
+ * Directive that triggers a callback whenever the content of
57
+ * its associated element has changed.
58
+ */
59
+ declare class CdkObserveContent implements AfterContentInit, OnDestroy {
60
+ private _contentObserver;
61
+ private _elementRef;
62
+ private _ngZone;
63
+ /** Event emitted for each change in the element's content. */
64
+ readonly event: EventEmitter<MutationRecord[]>;
65
+ /**
66
+ * Whether observing content is disabled. This option can be used
67
+ * to disconnect the underlying MutationObserver until it is needed.
68
+ */
69
+ get disabled(): boolean;
70
+ set disabled(value: BooleanInput);
71
+ private _disabled;
72
+ /** Debounce interval for emitting the changes. */
73
+ get debounce(): number;
74
+ set debounce(value: NumberInput);
75
+ private _debounce;
76
+ private _currentSubscription;
77
+ constructor(_contentObserver: ContentObserver, _elementRef: ElementRef<HTMLElement>, _ngZone: NgZone);
78
+ ngAfterContentInit(): void;
79
+ ngOnDestroy(): void;
80
+ private _subscribe;
81
+ private _unsubscribe;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<CdkObserveContent, never>;
83
+ static ɵdir: i0.ɵɵDirectiveDeclaration<CdkObserveContent, "[cdkObserveContent]", ["cdkObserveContent"], { "disabled": { "alias": "cdkObserveContentDisabled"; "required": false; }; "debounce": { "alias": "debounce"; "required": false; }; }, { "event": "cdkObserveContent"; }, never, never, false, never>;
84
+ }
85
+ declare class ObserversModule {
86
+ static ɵfac: i0.ɵɵFactoryDeclaration<ObserversModule, never>;
87
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ObserversModule, [typeof CdkObserveContent], never, [typeof CdkObserveContent]>;
88
+ static ɵinj: i0.ɵɵInjectorDeclaration<ObserversModule>;
89
+ }
90
+
91
+ export { CdkObserveContent, ContentObserver, MutationObserverFactory, ObserversModule };