@clr/angular 12.0.12 → 12.0.15

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 (583) hide show
  1. package/README.md +0 -12
  2. package/bundles/clr-angular.umd.js +1423 -986
  3. package/bundles/clr-angular.umd.js.map +1 -1
  4. package/clarity.api.md +4010 -0
  5. package/clr-angular.d.ts +21 -20
  6. package/clr-angular.metadata.json +1 -1
  7. package/data/stack-view/stack-block.d.ts +11 -0
  8. package/data/stack-view/stack-input.d.ts +0 -6
  9. package/data/stack-view/stack-select.d.ts +0 -5
  10. package/data/stack-view/stack-view-custom-tags.d.ts +10 -0
  11. package/esm2015/accordion/accordion-content.js +2 -2
  12. package/esm2015/accordion/accordion-description.js +2 -2
  13. package/esm2015/accordion/accordion-panel.js +2 -2
  14. package/esm2015/accordion/accordion-title.js +2 -2
  15. package/esm2015/accordion/accordion.js +2 -2
  16. package/esm2015/accordion/accordion.module.js +2 -2
  17. package/esm2015/accordion/chocolate/accordion-oompa-loompa.js +2 -2
  18. package/esm2015/accordion/chocolate/accordion-willy-wonka.js +2 -2
  19. package/esm2015/accordion/enums/accordion-status.enum.js +2 -2
  20. package/esm2015/accordion/enums/accordion-strategy.enum.js +2 -2
  21. package/esm2015/accordion/index.js +2 -2
  22. package/esm2015/accordion/models/accordion.model.js +2 -2
  23. package/esm2015/accordion/providers/accordion.service.js +2 -2
  24. package/esm2015/accordion/stepper/chocolate/stepper-oompa-loompa.js +2 -2
  25. package/esm2015/accordion/stepper/chocolate/stepper-willy-wonka.js +2 -2
  26. package/esm2015/accordion/stepper/index.js +2 -2
  27. package/esm2015/accordion/stepper/models/stepper.model.js +2 -2
  28. package/esm2015/accordion/stepper/providers/stepper.service.js +2 -2
  29. package/esm2015/accordion/stepper/step-button.js +2 -2
  30. package/esm2015/accordion/stepper/stepper-panel.js +2 -2
  31. package/esm2015/accordion/stepper/stepper.js +2 -2
  32. package/esm2015/accordion/stepper/stepper.module.js +2 -2
  33. package/esm2015/accordion/utils/animation.js +2 -2
  34. package/esm2015/button/button-group/button-group.js +2 -2
  35. package/esm2015/button/button-group/button-group.module.js +2 -2
  36. package/esm2015/button/button-group/button.js +2 -2
  37. package/esm2015/button/button-group/index.js +2 -2
  38. package/esm2015/button/button-loading/index.js +2 -2
  39. package/esm2015/button/button-loading/loading-button.js +2 -2
  40. package/esm2015/button/button-loading/loading-button.module.js +2 -2
  41. package/esm2015/button/button.module.js +2 -2
  42. package/esm2015/button/index.js +2 -2
  43. package/esm2015/button/providers/button-in-group.service.js +2 -2
  44. package/esm2015/clr-angular.js +21 -20
  45. package/esm2015/clr-angular.module.js +2 -2
  46. package/esm2015/data/data.module.js +2 -2
  47. package/esm2015/data/datagrid/built-in/comparators/datagrid-property-comparator.js +6 -1
  48. package/esm2015/data/datagrid/built-in/filters/datagrid-numeric-filter-impl.js +2 -2
  49. package/esm2015/data/datagrid/built-in/filters/datagrid-numeric-filter.js +2 -2
  50. package/esm2015/data/datagrid/built-in/filters/datagrid-property-numeric-filter.js +6 -1
  51. package/esm2015/data/datagrid/built-in/filters/datagrid-property-string-filter.js +6 -1
  52. package/esm2015/data/datagrid/built-in/filters/datagrid-string-filter-impl.js +2 -2
  53. package/esm2015/data/datagrid/built-in/filters/datagrid-string-filter.js +2 -2
  54. package/esm2015/data/datagrid/built-in/nested-property.js +2 -2
  55. package/esm2015/data/datagrid/chocolate/actionable-oompa-loompa.js +2 -2
  56. package/esm2015/data/datagrid/chocolate/datagrid-willy-wonka.js +2 -2
  57. package/esm2015/data/datagrid/chocolate/expandable-oompa-loompa.js +2 -2
  58. package/esm2015/data/datagrid/datagrid-action-bar.js +2 -2
  59. package/esm2015/data/datagrid/datagrid-action-overflow.js +2 -2
  60. package/esm2015/data/datagrid/datagrid-cell.js +2 -2
  61. package/esm2015/data/datagrid/datagrid-column-separator.js +2 -2
  62. package/esm2015/data/datagrid/datagrid-column-toggle-button.js +2 -2
  63. package/esm2015/data/datagrid/datagrid-column-toggle-title.js +2 -2
  64. package/esm2015/data/datagrid/datagrid-column-toggle.js +5 -3
  65. package/esm2015/data/datagrid/datagrid-column.js +2 -2
  66. package/esm2015/data/datagrid/datagrid-detail-body.js +2 -2
  67. package/esm2015/data/datagrid/datagrid-detail-header.js +2 -2
  68. package/esm2015/data/datagrid/datagrid-detail-registerer.js +2 -2
  69. package/esm2015/data/datagrid/datagrid-detail.js +2 -2
  70. package/esm2015/data/datagrid/datagrid-filter.js +2 -2
  71. package/esm2015/data/datagrid/datagrid-footer.js +2 -2
  72. package/esm2015/data/datagrid/datagrid-hideable-column.js +2 -2
  73. package/esm2015/data/datagrid/datagrid-if-detail.js +2 -2
  74. package/esm2015/data/datagrid/datagrid-if-expanded.service.js +2 -2
  75. package/esm2015/data/datagrid/datagrid-items-trackby.js +2 -2
  76. package/esm2015/data/datagrid/datagrid-items.js +2 -2
  77. package/esm2015/data/datagrid/datagrid-page-size.js +2 -2
  78. package/esm2015/data/datagrid/datagrid-pagination.js +2 -2
  79. package/esm2015/data/datagrid/datagrid-placeholder.js +2 -2
  80. package/esm2015/data/datagrid/datagrid-row-detail.js +1 -1
  81. package/esm2015/data/datagrid/datagrid-row.js +2 -2
  82. package/esm2015/data/datagrid/datagrid.js +2 -2
  83. package/esm2015/data/datagrid/datagrid.module.js +2 -2
  84. package/esm2015/data/datagrid/enums/column-changes.enum.js +2 -2
  85. package/esm2015/data/datagrid/enums/display-mode.enum.js +2 -2
  86. package/esm2015/data/datagrid/enums/render-step.enum.js +2 -2
  87. package/esm2015/data/datagrid/enums/selection-type.js +2 -2
  88. package/esm2015/data/datagrid/enums/sort-order.enum.js +2 -2
  89. package/esm2015/data/datagrid/index.js +2 -2
  90. package/esm2015/data/datagrid/interfaces/column-state.interface.js +6 -1
  91. package/esm2015/data/datagrid/interfaces/comparator.interface.js +6 -1
  92. package/esm2015/data/datagrid/interfaces/filter.interface.js +6 -1
  93. package/esm2015/data/datagrid/interfaces/numeric-filter.interface.js +6 -1
  94. package/esm2015/data/datagrid/interfaces/state.interface.js +6 -1
  95. package/esm2015/data/datagrid/interfaces/string-filter.interface.js +6 -1
  96. package/esm2015/data/datagrid/providers/column-resizer.service.js +2 -2
  97. package/esm2015/data/datagrid/providers/column-state.provider.js +2 -2
  98. package/esm2015/data/datagrid/providers/columns.service.js +2 -2
  99. package/esm2015/data/datagrid/providers/custom-filter.js +2 -2
  100. package/esm2015/data/datagrid/providers/detail.service.js +2 -2
  101. package/esm2015/data/datagrid/providers/display-mode.service.js +2 -2
  102. package/esm2015/data/datagrid/providers/filters.js +2 -2
  103. package/esm2015/data/datagrid/providers/global-expandable-rows.js +2 -2
  104. package/esm2015/data/datagrid/providers/items.js +2 -2
  105. package/esm2015/data/datagrid/providers/page.js +2 -2
  106. package/esm2015/data/datagrid/providers/row-action-service.js +2 -2
  107. package/esm2015/data/datagrid/providers/selection.js +2 -2
  108. package/esm2015/data/datagrid/providers/sort.js +2 -2
  109. package/esm2015/data/datagrid/providers/state-debouncer.provider.js +2 -2
  110. package/esm2015/data/datagrid/providers/state.provider.js +2 -2
  111. package/esm2015/data/datagrid/providers/table-size.service.js +2 -2
  112. package/esm2015/data/datagrid/render/cell-renderer.js +2 -2
  113. package/esm2015/data/datagrid/render/constants.js +2 -2
  114. package/esm2015/data/datagrid/render/header-renderer.js +2 -2
  115. package/esm2015/data/datagrid/render/main-renderer.js +2 -2
  116. package/esm2015/data/datagrid/render/noop-dom-adapter.js +2 -2
  117. package/esm2015/data/datagrid/render/render-organizer.js +2 -2
  118. package/esm2015/data/datagrid/render/row-renderer.js +2 -2
  119. package/esm2015/data/datagrid/utils/datagrid-filter-registrar.js +2 -2
  120. package/esm2015/data/datagrid/wrapped-cell.js +2 -2
  121. package/esm2015/data/datagrid/wrapped-column.js +2 -2
  122. package/esm2015/data/datagrid/wrapped-row.js +2 -2
  123. package/esm2015/data/index.js +2 -2
  124. package/esm2015/data/stack-view/index.js +2 -2
  125. package/esm2015/data/stack-view/stack-block.js +27 -9
  126. package/esm2015/data/stack-view/stack-content-input.js +2 -2
  127. package/esm2015/data/stack-view/stack-control.js +2 -2
  128. package/esm2015/data/stack-view/stack-header.js +2 -2
  129. package/esm2015/data/stack-view/stack-input.js +2 -2
  130. package/esm2015/data/stack-view/stack-select.js +2 -2
  131. package/esm2015/data/stack-view/stack-view-custom-tags.js +45 -4
  132. package/esm2015/data/stack-view/stack-view.js +2 -2
  133. package/esm2015/data/stack-view/stack-view.module.js +4 -3
  134. package/esm2015/data/tree-view/index.js +2 -2
  135. package/esm2015/data/tree-view/models/async-array.js +2 -2
  136. package/esm2015/data/tree-view/models/declarative-tree-node.model.js +2 -2
  137. package/esm2015/data/tree-view/models/recursive-tree-node.model.js +2 -2
  138. package/esm2015/data/tree-view/models/selected-state.enum.js +2 -2
  139. package/esm2015/data/tree-view/models/tree-node.model.js +2 -2
  140. package/esm2015/data/tree-view/recursive-children.js +2 -2
  141. package/esm2015/data/tree-view/recursive-for-of.js +2 -2
  142. package/esm2015/data/tree-view/tree-features.service.js +2 -2
  143. package/esm2015/data/tree-view/tree-focus-manager.service.js +2 -2
  144. package/esm2015/data/tree-view/tree-node-link.js +2 -2
  145. package/esm2015/data/tree-view/tree-view.module.js +2 -2
  146. package/esm2015/data/tree-view/tree.js +2 -2
  147. package/esm2015/emphasis/alert/alert-text.js +2 -2
  148. package/esm2015/emphasis/alert/alert.js +2 -2
  149. package/esm2015/emphasis/alert/alert.module.js +2 -2
  150. package/esm2015/emphasis/alert/alerts-pager.js +2 -2
  151. package/esm2015/emphasis/alert/alerts.js +2 -2
  152. package/esm2015/emphasis/alert/index.js +2 -2
  153. package/esm2015/emphasis/alert/providers/icon-and-types.service.js +2 -2
  154. package/esm2015/emphasis/alert/providers/multi-alert.service.js +2 -2
  155. package/esm2015/emphasis/alert/utils/alert-info-object.js +2 -2
  156. package/esm2015/emphasis/alert/utils/alert-types.js +2 -2
  157. package/esm2015/emphasis/emphasis.module.js +2 -2
  158. package/esm2015/emphasis/index.js +2 -2
  159. package/esm2015/forms/checkbox/checkbox-container.js +3 -3
  160. package/esm2015/forms/checkbox/checkbox-wrapper.js +3 -3
  161. package/esm2015/forms/checkbox/checkbox.js +3 -3
  162. package/esm2015/forms/checkbox/checkbox.module.js +3 -3
  163. package/esm2015/forms/checkbox/index.js +2 -2
  164. package/esm2015/forms/combobox/combobox-container.js +3 -3
  165. package/esm2015/forms/combobox/combobox.js +4 -4
  166. package/esm2015/forms/combobox/combobox.module.js +3 -3
  167. package/esm2015/forms/combobox/index.js +2 -2
  168. package/esm2015/forms/combobox/model/combobox.model.js +3 -3
  169. package/esm2015/forms/combobox/model/multi-select-combobox.model.js +3 -3
  170. package/esm2015/forms/combobox/model/pseudo-focus.model.js +3 -3
  171. package/esm2015/forms/combobox/model/single-select-combobox.model.js +3 -3
  172. package/esm2015/forms/combobox/option-items.directive.js +2 -2
  173. package/esm2015/forms/combobox/option-selected.directive.js +2 -2
  174. package/esm2015/forms/combobox/option.js +3 -3
  175. package/esm2015/forms/combobox/options.js +3 -3
  176. package/esm2015/forms/combobox/providers/combobox-container.service.js +2 -2
  177. package/esm2015/forms/combobox/providers/combobox-focus-handler.service.js +2 -2
  178. package/esm2015/forms/combobox/providers/option-selection.service.js +2 -2
  179. package/esm2015/forms/common/abstract-container.js +3 -3
  180. package/esm2015/forms/common/abstract-control.js +3 -3
  181. package/esm2015/forms/common/common.module.js +3 -3
  182. package/esm2015/forms/common/control-container.js +3 -3
  183. package/esm2015/forms/common/control.js +2 -2
  184. package/esm2015/forms/common/error.js +3 -3
  185. package/esm2015/forms/common/form.js +3 -3
  186. package/esm2015/forms/common/helper.js +3 -3
  187. package/esm2015/forms/common/if-control-state/abstract-if-state.js +2 -2
  188. package/esm2015/forms/common/if-control-state/if-control-state.service.js +2 -2
  189. package/esm2015/forms/common/if-control-state/if-error.js +2 -2
  190. package/esm2015/forms/common/if-control-state/if-success.js +2 -2
  191. package/esm2015/forms/common/index.js +2 -2
  192. package/esm2015/forms/common/label.js +2 -2
  193. package/esm2015/forms/common/layout.js +3 -3
  194. package/esm2015/forms/common/providers/container-id.service.js +6 -1
  195. package/esm2015/forms/common/providers/control-class.service.js +2 -2
  196. package/esm2015/forms/common/providers/control-id.service.js +2 -2
  197. package/esm2015/forms/common/providers/focus.service.js +2 -2
  198. package/esm2015/forms/common/providers/layout.service.js +2 -2
  199. package/esm2015/forms/common/providers/mark-control.service.js +2 -2
  200. package/esm2015/forms/common/providers/ng-control.service.js +2 -2
  201. package/esm2015/forms/common/success.js +3 -3
  202. package/esm2015/forms/common/wrapped-control.js +3 -3
  203. package/esm2015/forms/datalist/datalist-container.js +3 -3
  204. package/esm2015/forms/datalist/datalist-input.js +3 -3
  205. package/esm2015/forms/datalist/datalist.js +2 -2
  206. package/esm2015/forms/datalist/datalist.module.js +2 -2
  207. package/esm2015/forms/datalist/index.js +2 -2
  208. package/esm2015/forms/datalist/providers/datalist-id.service.js +2 -2
  209. package/esm2015/forms/datepicker/calendar.js +3 -3
  210. package/esm2015/forms/datepicker/date-container.js +36 -6
  211. package/esm2015/forms/datepicker/date-input.js +2 -2
  212. package/esm2015/forms/datepicker/datepicker-view-manager.js +8 -3
  213. package/esm2015/forms/datepicker/datepicker.module.js +2 -2
  214. package/esm2015/forms/datepicker/day.js +3 -2
  215. package/esm2015/forms/datepicker/daypicker.js +2 -2
  216. package/esm2015/forms/datepicker/index.js +2 -2
  217. package/esm2015/forms/datepicker/interfaces/date-range.interface.js +2 -2
  218. package/esm2015/forms/datepicker/interfaces/day-of-week.interface.js +2 -2
  219. package/esm2015/forms/datepicker/model/calendar-view.model.js +2 -2
  220. package/esm2015/forms/datepicker/model/calendar.model.js +2 -2
  221. package/esm2015/forms/datepicker/model/day-view.model.js +2 -2
  222. package/esm2015/forms/datepicker/model/day.model.js +2 -2
  223. package/esm2015/forms/datepicker/model/year-range.model.js +2 -2
  224. package/esm2015/forms/datepicker/monthpicker.js +2 -2
  225. package/esm2015/forms/datepicker/providers/date-form-control.service.js +2 -2
  226. package/esm2015/forms/datepicker/providers/date-io.service.js +2 -2
  227. package/esm2015/forms/datepicker/providers/date-navigation.service.js +2 -2
  228. package/esm2015/forms/datepicker/providers/datepicker-enabled.service.js +2 -2
  229. package/esm2015/forms/datepicker/providers/datepicker-focus.service.js +2 -2
  230. package/esm2015/forms/datepicker/providers/locale-helper.service.js +2 -2
  231. package/esm2015/forms/datepicker/providers/view-manager.service.js +2 -2
  232. package/esm2015/forms/datepicker/utils/constants.js +2 -2
  233. package/esm2015/forms/datepicker/utils/date-utils.js +2 -2
  234. package/esm2015/forms/datepicker/yearpicker.js +2 -2
  235. package/esm2015/forms/forms.module.js +2 -2
  236. package/esm2015/forms/index.js +2 -2
  237. package/esm2015/forms/input/index.js +2 -2
  238. package/esm2015/forms/input/input-container.js +3 -3
  239. package/esm2015/forms/input/input.js +3 -3
  240. package/esm2015/forms/input/input.module.js +3 -3
  241. package/esm2015/forms/password/index.js +2 -2
  242. package/esm2015/forms/password/password-container.js +7 -8
  243. package/esm2015/forms/password/password.js +3 -3
  244. package/esm2015/forms/password/password.module.js +3 -3
  245. package/esm2015/forms/radio/index.js +2 -2
  246. package/esm2015/forms/radio/radio-container.js +3 -3
  247. package/esm2015/forms/radio/radio-wrapper.js +3 -3
  248. package/esm2015/forms/radio/radio.js +3 -3
  249. package/esm2015/forms/radio/radio.module.js +3 -3
  250. package/esm2015/forms/range/index.js +2 -2
  251. package/esm2015/forms/range/range-container.js +3 -3
  252. package/esm2015/forms/range/range.js +3 -3
  253. package/esm2015/forms/range/range.module.js +3 -3
  254. package/esm2015/forms/select/index.js +2 -2
  255. package/esm2015/forms/select/select-container.js +3 -3
  256. package/esm2015/forms/select/select.js +3 -3
  257. package/esm2015/forms/select/select.module.js +3 -3
  258. package/esm2015/forms/textarea/index.js +2 -2
  259. package/esm2015/forms/textarea/textarea-container.js +3 -3
  260. package/esm2015/forms/textarea/textarea.js +3 -3
  261. package/esm2015/forms/textarea/textarea.module.js +3 -3
  262. package/esm2015/icon/icon.js +2 -2
  263. package/esm2015/icon/icon.module.js +2 -2
  264. package/esm2015/icon/index.js +2 -2
  265. package/esm2015/index.js +2 -2
  266. package/esm2015/layout/index.js +2 -2
  267. package/esm2015/layout/layout.module.js +2 -2
  268. package/esm2015/layout/main-container/index.js +2 -2
  269. package/esm2015/layout/main-container/main-container.js +2 -2
  270. package/esm2015/layout/main-container/main-container.module.js +2 -2
  271. package/esm2015/layout/nav/chocolate/index.js +2 -2
  272. package/esm2015/layout/nav/chocolate/main-container-willy-wonka.js +2 -2
  273. package/esm2015/layout/nav/chocolate/nav-detection-oompa-loompa.js +2 -2
  274. package/esm2015/layout/nav/header.js +26 -6
  275. package/esm2015/layout/nav/index.js +2 -2
  276. package/esm2015/layout/nav/nav-level.js +108 -7
  277. package/esm2015/layout/nav/navigation.module.js +2 -2
  278. package/esm2015/layout/nav/providers/responsive-navigation.service.js +2 -2
  279. package/esm2015/layout/nav/responsive-nav-codes.js +2 -2
  280. package/esm2015/layout/nav/responsive-nav-control-message.js +2 -2
  281. package/esm2015/layout/tabs/chocolate/active-oompa-loompa.js +2 -2
  282. package/esm2015/layout/tabs/chocolate/tabs-willy-wonka.js +2 -2
  283. package/esm2015/layout/tabs/enums/tabs-layout.enum.js +2 -2
  284. package/esm2015/layout/tabs/index.js +2 -2
  285. package/esm2015/layout/tabs/providers/tabs.service.js +2 -2
  286. package/esm2015/layout/tabs/tab-content.js +2 -3
  287. package/esm2015/layout/tabs/tab-link.directive.js +2 -3
  288. package/esm2015/layout/tabs/tab-overflow-content.js +2 -2
  289. package/esm2015/layout/tabs/tab.js +2 -2
  290. package/esm2015/layout/tabs/tabs-id.provider.js +2 -2
  291. package/esm2015/layout/tabs/tabs.js +2 -2
  292. package/esm2015/layout/tabs/tabs.module.js +2 -2
  293. package/esm2015/layout/vertical-nav/index.js +2 -2
  294. package/esm2015/layout/vertical-nav/providers/vertical-nav-group-registration.service.js +2 -2
  295. package/esm2015/layout/vertical-nav/providers/vertical-nav-group.service.js +2 -2
  296. package/esm2015/layout/vertical-nav/providers/vertical-nav-icon.service.js +2 -2
  297. package/esm2015/layout/vertical-nav/providers/vertical-nav.service.js +2 -2
  298. package/esm2015/layout/vertical-nav/vertical-nav-group-children.js +2 -2
  299. package/esm2015/layout/vertical-nav/vertical-nav-group.js +5 -3
  300. package/esm2015/layout/vertical-nav/vertical-nav-icon.js +2 -2
  301. package/esm2015/layout/vertical-nav/vertical-nav-link.js +2 -2
  302. package/esm2015/layout/vertical-nav/vertical-nav.js +2 -2
  303. package/esm2015/layout/vertical-nav/vertical-nav.module.js +2 -2
  304. package/esm2015/modal/index.js +2 -2
  305. package/esm2015/modal/modal.js +3 -3
  306. package/esm2015/modal/modal.module.js +2 -2
  307. package/esm2015/popover/common/abstract-popover.js +2 -2
  308. package/esm2015/popover/common/popover-host-anchor.token.js +2 -2
  309. package/esm2015/popover/common/popover-options.interface.js +2 -2
  310. package/esm2015/popover/common/popover.js +2 -2
  311. package/esm2015/popover/dropdown/dropdown-item.js +2 -2
  312. package/esm2015/popover/dropdown/dropdown-menu.js +2 -2
  313. package/esm2015/popover/dropdown/dropdown-trigger.js +2 -2
  314. package/esm2015/popover/dropdown/dropdown.js +2 -2
  315. package/esm2015/popover/dropdown/dropdown.module.js +2 -2
  316. package/esm2015/popover/dropdown/index.js +2 -2
  317. package/esm2015/popover/dropdown/menu-positions.js +2 -2
  318. package/esm2015/popover/dropdown/providers/dropdown-focus-handler.service.js +2 -2
  319. package/esm2015/popover/dropdown/providers/dropdown.service.js +2 -2
  320. package/esm2015/popover/index.js +2 -2
  321. package/esm2015/popover/popover.module.js +2 -2
  322. package/esm2015/popover/signpost/index.js +2 -2
  323. package/esm2015/popover/signpost/providers/signpost-focus-manager.service.js +2 -2
  324. package/esm2015/popover/signpost/providers/signpost-id.service.js +2 -3
  325. package/esm2015/popover/signpost/signpost-content.js +2 -2
  326. package/esm2015/popover/signpost/signpost-positions.js +2 -2
  327. package/esm2015/popover/signpost/signpost-trigger.js +2 -2
  328. package/esm2015/popover/signpost/signpost.js +2 -2
  329. package/esm2015/popover/signpost/signpost.module.js +2 -2
  330. package/esm2015/popover/tooltip/index.js +2 -2
  331. package/esm2015/popover/tooltip/providers/tooltip-id.service.js +2 -2
  332. package/esm2015/popover/tooltip/tooltip-content.js +2 -2
  333. package/esm2015/popover/tooltip/tooltip-trigger.js +2 -2
  334. package/esm2015/popover/tooltip/tooltip.js +2 -2
  335. package/esm2015/popover/tooltip/tooltip.module.js +2 -2
  336. package/esm2015/progress/progress-bars/index.js +2 -2
  337. package/esm2015/progress/progress-bars/progress-bar.js +2 -2
  338. package/esm2015/progress/progress-bars/progress-bar.module.js +2 -2
  339. package/esm2015/progress/spinner/index.js +2 -2
  340. package/esm2015/progress/spinner/spinner.js +2 -2
  341. package/esm2015/progress/spinner/spinner.module.js +2 -2
  342. package/esm2015/public-api.js +2 -2
  343. package/esm2015/timeline/enums/timeline-layout.enum.js +2 -2
  344. package/esm2015/timeline/enums/timeline-step-state.enum.js +2 -2
  345. package/esm2015/timeline/index.js +2 -2
  346. package/esm2015/timeline/interface/icon-attribute.interface.js +2 -2
  347. package/esm2015/timeline/providers/timeline-icon-attribute.service.js +2 -2
  348. package/esm2015/timeline/timeline-step-description.js +2 -2
  349. package/esm2015/timeline/timeline-step-header.js +2 -2
  350. package/esm2015/timeline/timeline-step-title.js +2 -2
  351. package/esm2015/timeline/timeline-step.js +2 -2
  352. package/esm2015/timeline/timeline.js +2 -2
  353. package/esm2015/timeline/timeline.module.js +2 -2
  354. package/esm2015/utils/a11y/aria-live.service.js +2 -2
  355. package/esm2015/utils/a11y/index.js +2 -2
  356. package/esm2015/utils/animations/collapse/collapse.js +2 -2
  357. package/esm2015/utils/animations/collapse/index.js +2 -2
  358. package/esm2015/utils/animations/constants.js +2 -2
  359. package/esm2015/utils/animations/expandable-animation/expandable-animation.js +2 -2
  360. package/esm2015/utils/animations/expandable-animation/expandable-animation.module.js +2 -2
  361. package/esm2015/utils/animations/expandable-animation/index.js +6 -1
  362. package/esm2015/utils/animations/fade/fade.js +2 -2
  363. package/esm2015/utils/animations/fade/index.js +2 -2
  364. package/esm2015/utils/animations/fade-slide/fade-slide.js +2 -2
  365. package/esm2015/utils/animations/fade-slide/index.js +2 -2
  366. package/esm2015/utils/animations/index.js +2 -2
  367. package/esm2015/utils/animations/slide/index.js +2 -2
  368. package/esm2015/utils/animations/slide/slide.js +2 -2
  369. package/esm2015/utils/aria/aria.service.js +2 -2
  370. package/esm2015/utils/breakpoints/breakpoints.js +16 -2
  371. package/esm2015/utils/chocolate/oompa-loompa.js +2 -2
  372. package/esm2015/utils/chocolate/willy-wonka.js +2 -2
  373. package/esm2015/utils/component/is-boolean-attribute-set.js +2 -2
  374. package/esm2015/utils/conditional/conditional.module.js +2 -2
  375. package/esm2015/utils/conditional/if-active.directive.js +2 -2
  376. package/esm2015/utils/conditional/if-active.service.js +2 -2
  377. package/esm2015/utils/conditional/if-expanded.directive.js +2 -2
  378. package/esm2015/utils/conditional/if-expanded.service.js +2 -2
  379. package/esm2015/utils/conditional/if-open.directive.js +2 -2
  380. package/esm2015/utils/conditional/index.js +2 -2
  381. package/esm2015/utils/dom-adapter/dom-adapter.js +2 -2
  382. package/esm2015/utils/drag-and-drop/drag-and-drop.module.js +2 -2
  383. package/esm2015/utils/drag-and-drop/drag-event.js +6 -1
  384. package/esm2015/utils/drag-and-drop/drag-handle.js +2 -2
  385. package/esm2015/utils/drag-and-drop/draggable/draggable.js +2 -2
  386. package/esm2015/utils/drag-and-drop/draggable-ghost.js +2 -2
  387. package/esm2015/utils/drag-and-drop/droppable/droppable.js +2 -2
  388. package/esm2015/utils/drag-and-drop/if-dragged.js +2 -2
  389. package/esm2015/utils/drag-and-drop/index.js +2 -2
  390. package/esm2015/utils/drag-and-drop/interfaces/drag-event.interface.js +2 -2
  391. package/esm2015/utils/drag-and-drop/interfaces/drop-tolerance.interface.js +6 -1
  392. package/esm2015/utils/drag-and-drop/providers/drag-and-drop-event-bus.service.js +2 -2
  393. package/esm2015/utils/drag-and-drop/providers/drag-event-listener.service.js +3 -3
  394. package/esm2015/utils/drag-and-drop/providers/drag-handle-registrar.service.js +2 -2
  395. package/esm2015/utils/drag-and-drop/providers/draggable-snapshot.service.js +2 -2
  396. package/esm2015/utils/drag-and-drop/providers/global-drag-mode.service.js +2 -2
  397. package/esm2015/utils/enums/key-codes.enum.js +2 -2
  398. package/esm2015/utils/focus/arrow-key-direction.enum.js +2 -2
  399. package/esm2015/utils/focus/focus-on-view-init/focus-on-view-init.js +2 -2
  400. package/esm2015/utils/focus/focus-on-view-init/focus-on-view-init.module.js +2 -2
  401. package/esm2015/utils/focus/focus-on-view-init/focus-on-view-init.provider.js +2 -2
  402. package/esm2015/utils/focus/focus-on-view-init/index.js +2 -2
  403. package/esm2015/utils/focus/focus.service.js +2 -2
  404. package/esm2015/utils/focus/focusable-item/basic-focusable-item.service.js +2 -2
  405. package/esm2015/utils/focus/focusable-item/custom-focusable-item-provider.js +2 -2
  406. package/esm2015/utils/focus/focusable-item/focusable-item.js +2 -2
  407. package/esm2015/utils/focus/focusable-item/linkers.js +2 -2
  408. package/esm2015/utils/focus/key-focus/enums/focus-direction.enum.js +2 -2
  409. package/esm2015/utils/focus/key-focus/interfaces.js +2 -2
  410. package/esm2015/utils/focus/key-focus/key-focus-item.js +2 -2
  411. package/esm2015/utils/focus/key-focus/key-focus.js +2 -2
  412. package/esm2015/utils/focus/key-focus/key-focus.module.js +2 -2
  413. package/esm2015/utils/focus/key-focus/roving-tabindex.js +2 -2
  414. package/esm2015/utils/focus/key-focus/util.js +2 -2
  415. package/esm2015/utils/focus/wrap-observable.js +2 -2
  416. package/esm2015/utils/focus-trap/focus-trap-config.interface.js +2 -2
  417. package/esm2015/utils/focus-trap/focus-trap-tracker.service.js +2 -2
  418. package/esm2015/utils/focus-trap/focus-trap.directive.js +2 -2
  419. package/esm2015/utils/focus-trap/focus-trap.js +144 -0
  420. package/esm2015/utils/focus-trap/focus-trap.module.js +2 -2
  421. package/esm2015/utils/focus-trap/index.js +2 -2
  422. package/esm2015/utils/forms/validation.js +2 -2
  423. package/esm2015/utils/host-wrapping/dynamic-wrapper.js +3 -3
  424. package/esm2015/utils/host-wrapping/empty-anchor.js +3 -3
  425. package/esm2015/utils/host-wrapping/host-wrapper.js +3 -3
  426. package/esm2015/utils/host-wrapping/host-wrapping.module.js +3 -3
  427. package/esm2015/utils/i18n/common-strings.default.js +18 -2
  428. package/esm2015/utils/i18n/common-strings.interface.js +6 -1
  429. package/esm2015/utils/i18n/common-strings.service.js +2 -2
  430. package/esm2015/utils/i18n/index.js +2 -2
  431. package/esm2015/utils/id-generator/id-generator.service.js +2 -2
  432. package/esm2015/utils/index.js +2 -2
  433. package/esm2015/utils/key-codes/key-codes.js +2 -2
  434. package/esm2015/utils/loading/index.js +2 -2
  435. package/esm2015/utils/loading/loading-listener.js +2 -2
  436. package/esm2015/utils/loading/loading.js +2 -2
  437. package/esm2015/utils/loading/loading.module.js +2 -2
  438. package/esm2015/utils/outside-click/index.js +6 -1
  439. package/esm2015/utils/outside-click/outside-click.js +2 -2
  440. package/esm2015/utils/outside-click/outside-click.module.js +2 -2
  441. package/esm2015/utils/popover/enums/alignment.enum.js +2 -3
  442. package/esm2015/utils/popover/enums/axis.enum.js +2 -3
  443. package/esm2015/utils/popover/enums/positions.enum.js +2 -3
  444. package/esm2015/utils/popover/enums/side.enum.js +2 -3
  445. package/esm2015/utils/popover/enums/viewport-violation.enum.js +2 -3
  446. package/esm2015/utils/popover/index.js +2 -3
  447. package/esm2015/utils/popover/interfaces/popover-content-offset.interface.js +2 -3
  448. package/esm2015/utils/popover/interfaces/popover-position.interface.js +2 -3
  449. package/esm2015/utils/popover/interfaces/visibility-coords.interface.js +2 -3
  450. package/esm2015/utils/popover/popover-anchor.js +2 -3
  451. package/esm2015/utils/popover/popover-close-button.js +2 -3
  452. package/esm2015/utils/popover/popover-content.js +2 -3
  453. package/esm2015/utils/popover/popover-open-close-button.js +2 -3
  454. package/esm2015/utils/popover/popover.module.js +2 -3
  455. package/esm2015/utils/popover/position-operators.js +2 -3
  456. package/esm2015/utils/popover/providers/popover-events.service.js +2 -3
  457. package/esm2015/utils/popover/providers/popover-position.service.js +2 -3
  458. package/esm2015/utils/popover/providers/popover-toggle.service.js +2 -3
  459. package/esm2015/utils/scrolling/scrolling-service.js +2 -2
  460. package/esm2015/utils/template-ref/index.js +6 -1
  461. package/esm2015/utils/template-ref/template-ref-container.js +2 -2
  462. package/esm2015/utils/template-ref/template-ref.module.js +2 -2
  463. package/esm2015/wizard/index.js +2 -2
  464. package/esm2015/wizard/providers/button-hub.service.js +2 -2
  465. package/esm2015/wizard/providers/header-actions.service.js +2 -2
  466. package/esm2015/wizard/providers/page-collection.service.js +2 -2
  467. package/esm2015/wizard/providers/wizard-navigation.service.js +2 -2
  468. package/esm2015/wizard/wizard-button.js +2 -2
  469. package/esm2015/wizard/wizard-custom-tags.js +2 -2
  470. package/esm2015/wizard/wizard-header-action.js +2 -2
  471. package/esm2015/wizard/wizard-page-buttons.js +2 -2
  472. package/esm2015/wizard/wizard-page-header-actions.js +2 -2
  473. package/esm2015/wizard/wizard-page-navtitle.js +2 -2
  474. package/esm2015/wizard/wizard-page-title.js +2 -2
  475. package/esm2015/wizard/wizard-page.js +2 -2
  476. package/esm2015/wizard/wizard-stepnav-item.js +2 -2
  477. package/esm2015/wizard/wizard-stepnav.js +2 -2
  478. package/esm2015/wizard/wizard.js +10 -3
  479. package/esm2015/wizard/wizard.module.js +2 -2
  480. package/fesm2015/clr-angular.js +1304 -853
  481. package/fesm2015/clr-angular.js.map +1 -1
  482. package/forms/checkbox/checkbox-container.d.ts +0 -5
  483. package/forms/checkbox/checkbox-wrapper.d.ts +0 -5
  484. package/forms/checkbox/checkbox.d.ts +0 -5
  485. package/forms/checkbox/checkbox.module.d.ts +0 -5
  486. package/forms/combobox/combobox-container.d.ts +0 -5
  487. package/forms/combobox/combobox.d.ts +0 -5
  488. package/forms/combobox/combobox.module.d.ts +0 -5
  489. package/forms/combobox/model/combobox.model.d.ts +0 -5
  490. package/forms/combobox/model/multi-select-combobox.model.d.ts +0 -5
  491. package/forms/combobox/model/pseudo-focus.model.d.ts +0 -5
  492. package/forms/combobox/model/single-select-combobox.model.d.ts +0 -5
  493. package/forms/combobox/option.d.ts +0 -5
  494. package/forms/combobox/options.d.ts +0 -5
  495. package/forms/common/abstract-container.d.ts +0 -5
  496. package/forms/common/abstract-control.d.ts +0 -5
  497. package/forms/common/common.module.d.ts +0 -5
  498. package/forms/common/control-container.d.ts +0 -5
  499. package/forms/common/error.d.ts +0 -5
  500. package/forms/common/form.d.ts +0 -5
  501. package/forms/common/helper.d.ts +0 -5
  502. package/forms/common/layout.d.ts +0 -5
  503. package/forms/common/success.d.ts +0 -5
  504. package/forms/common/wrapped-control.d.ts +0 -5
  505. package/forms/datalist/datalist-container.d.ts +0 -5
  506. package/forms/datalist/datalist-input.d.ts +0 -5
  507. package/forms/datepicker/date-container.d.ts +11 -2
  508. package/forms/datepicker/datepicker-view-manager.d.ts +3 -1
  509. package/forms/input/input-container.d.ts +0 -5
  510. package/forms/input/input.d.ts +0 -5
  511. package/forms/input/input.module.d.ts +0 -5
  512. package/forms/password/password-container.d.ts +0 -5
  513. package/forms/password/password.d.ts +0 -5
  514. package/forms/password/password.module.d.ts +0 -5
  515. package/forms/radio/radio-container.d.ts +0 -5
  516. package/forms/radio/radio-wrapper.d.ts +0 -5
  517. package/forms/radio/radio.d.ts +0 -5
  518. package/forms/radio/radio.module.d.ts +0 -5
  519. package/forms/range/range-container.d.ts +0 -5
  520. package/forms/range/range.d.ts +0 -5
  521. package/forms/range/range.module.d.ts +0 -5
  522. package/forms/select/select-container.d.ts +0 -5
  523. package/forms/select/select.d.ts +0 -5
  524. package/forms/select/select.module.d.ts +0 -5
  525. package/forms/textarea/textarea-container.d.ts +0 -5
  526. package/forms/textarea/textarea.d.ts +0 -5
  527. package/forms/textarea/textarea.module.d.ts +0 -5
  528. package/layout/nav/header.d.ts +6 -0
  529. package/layout/nav/nav-level.d.ts +15 -3
  530. package/layout/vertical-nav/vertical-nav-group.d.ts +1 -0
  531. package/package.json +7 -17
  532. package/utils/breakpoints/breakpoints.d.ts +14 -0
  533. package/utils/focus-trap/focus-trap.d.ts +26 -0
  534. package/utils/host-wrapping/dynamic-wrapper.d.ts +0 -5
  535. package/utils/host-wrapping/empty-anchor.d.ts +0 -5
  536. package/utils/host-wrapping/host-wrapper.d.ts +0 -5
  537. package/utils/host-wrapping/host-wrapping.module.d.ts +0 -5
  538. package/utils/i18n/common-strings.interface.d.ts +24 -0
  539. package/schematics/add/index.js +0 -123
  540. package/schematics/add/index.js.map +0 -1
  541. package/schematics/add/index.spec.js +0 -114
  542. package/schematics/add/index.spec.js.map +0 -1
  543. package/schematics/add/schema.json +0 -18
  544. package/schematics/collection.json +0 -10
  545. package/schematics/migration-collection.json +0 -20
  546. package/schematics/update/update-0.13.0.js +0 -147
  547. package/schematics/update/update-0.13.0.js.map +0 -1
  548. package/schematics/update/update-3.0.0.js +0 -89
  549. package/schematics/update/update-3.0.0.js.map +0 -1
  550. package/schematics/update/update-5.0.0.js +0 -37
  551. package/schematics/update/update-5.0.0.js.map +0 -1
  552. package/schematics/update/update-5.0.0.spec.js +0 -71
  553. package/schematics/update/update-5.0.0.spec.js.map +0 -1
  554. package/schematics/utility/add-assets-to-config-file.js +0 -25
  555. package/schematics/utility/add-assets-to-config-file.js.map +0 -1
  556. package/schematics/utility/add-module-import-to-module.js +0 -36
  557. package/schematics/utility/add-module-import-to-module.js.map +0 -1
  558. package/schematics/utility/angular-config-filename.js +0 -10
  559. package/schematics/utility/angular-config-filename.js.map +0 -1
  560. package/schematics/utility/compare-versions.js +0 -30
  561. package/schematics/utility/compare-versions.js.map +0 -1
  562. package/schematics/utility/config.js +0 -32
  563. package/schematics/utility/config.js.map +0 -1
  564. package/schematics/utility/find-app-module.js +0 -17
  565. package/schematics/utility/find-app-module.js.map +0 -1
  566. package/schematics/utility/get-file-content.js +0 -12
  567. package/schematics/utility/get-file-content.js.map +0 -1
  568. package/schematics/utility/get-index-html-path.js +0 -14
  569. package/schematics/utility/get-index-html-path.js.map +0 -1
  570. package/schematics/utility/get-json-file.js +0 -25
  571. package/schematics/utility/get-json-file.js.map +0 -1
  572. package/schematics/utility/get-main-path.js +0 -14
  573. package/schematics/utility/get-main-path.js.map +0 -1
  574. package/schematics/utility/get-typescript-source-file.js +0 -26
  575. package/schematics/utility/get-typescript-source-file.js.map +0 -1
  576. package/schematics/utility/ng-add-options.js +0 -8
  577. package/schematics/utility/ng-add-options.js.map +0 -1
  578. package/schematics/utility/run-npm-install.js +0 -14
  579. package/schematics/utility/run-npm-install.js.map +0 -1
  580. package/schematics/utility/setup-project.js +0 -37
  581. package/schematics/utility/setup-project.js.map +0 -1
  582. package/schematics/utility/update-json-file.js +0 -17
  583. package/schematics/utility/update-json-file.js.map +0 -1
@@ -1,89 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- const schematics_1 = require("@angular-devkit/schematics");
9
- const tasks_1 = require("@angular-devkit/schematics/tasks");
10
- const fs = require("fs");
11
- // Read a file
12
- function readJsonFile(path) {
13
- return JSON.parse(fs.readFileSync(path, 'utf-8'));
14
- }
15
- // Writes changes to a JSON file
16
- function updateJsonFile(path, callback) {
17
- const json = readJsonFile(path);
18
- callback(json);
19
- fs.writeFileSync(path, JSON.stringify(json, null, 2));
20
- }
21
- function default_1(options) {
22
- return (host, context) => {
23
- const configFile = 'angular.json';
24
- if (!fs.existsSync(configFile)) {
25
- console.error('Could not install Clarity, requires Angular and Angular CLI version 6 or greater');
26
- return;
27
- }
28
- const config = readJsonFile(configFile);
29
- if (!options.project) {
30
- if (!config.defaultProject) {
31
- console.error('Could not find a default project, please specify --project PROJECT_NAME');
32
- return;
33
- }
34
- options.project = config.defaultProject;
35
- }
36
- // Add Clarity packages to package.json, if not found
37
- updateJsonFile('package.json', json => {
38
- const packages = Object.keys(json.dependencies);
39
- if (!packages.includes('@webcomponents/webcomponentsjs')) {
40
- json.dependencies['@webcomponents/webcomponentsjs'] = '^2.0.0';
41
- }
42
- if (packages.includes('@webcomponents/custom-elements')) {
43
- delete json.dependencies['@webcomponents/custom-elements'];
44
- }
45
- });
46
- // Add Clarity assets to .angular.json, if not found
47
- updateJsonFile(configFile, json => {
48
- const projects = Object.keys(json.projects);
49
- const project = projects.find(key => {
50
- if (key === options.project) {
51
- return true;
52
- }
53
- return false;
54
- });
55
- if (!project) {
56
- console.info(`Could not update CLI config file to add scripts and styles. You'll have to add them manually.`);
57
- return;
58
- }
59
- const target = json.projects[project].targets ? json.projects[project].targets : json.projects[project].architect;
60
- const scripts = target.build.options.scripts;
61
- const scriptsSearch = scripts.join('|');
62
- const pathPrefix = json.apps ? '../' : '';
63
- if (scriptsSearch.search('node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js') < 0) {
64
- // Want this second
65
- scripts.unshift(pathPrefix + 'node_modules/@webcomponents/webcomponentsjs/webcomponents-bundle.js');
66
- }
67
- if (scriptsSearch.search('node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js') < 0) {
68
- // Want this first
69
- scripts.unshift(pathPrefix + 'node_modules/@webcomponents/webcomponentsjs/custom-elements-es5-adapter.js');
70
- }
71
- // Remove old polyfill
72
- const old = scripts.findIndex((file) => file === pathPrefix + 'node_modules/@webcomponents/custom-elements/custom-elements.min.js');
73
- if (old > -1) {
74
- scripts.splice(old, 1);
75
- }
76
- });
77
- // Chain a series of tasks to setup Clarity
78
- // 1. Add ClarityModule to NgModule
79
- // 2. Add BrowserAnimationsModule to NgModule
80
- // 3. Run npm install
81
- return schematics_1.chain([
82
- (_tree, context) => {
83
- context.addTask(new tasks_1.NodePackageInstallTask());
84
- },
85
- ])(host, context);
86
- };
87
- }
88
- exports.default = default_1;
89
- //# sourceMappingURL=update-3.0.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-3.0.0.js","sourceRoot":"","sources":["../../../../projects/schematics/src/update/update-3.0.0.ts"],"names":[],"mappings":"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"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- const tasks_1 = require("@angular-devkit/schematics/tasks");
9
- const update_json_file_1 = require("../utility/update-json-file");
10
- const clarityCorePackageName = '@cds/core';
11
- const clarityAngularPackageName = '@clr/angular';
12
- const clarityCorePackageUpdateVersion = '^5.0.0';
13
- function default_1() {
14
- return (host, context) => {
15
- update_json_file_1.updateJsonFile(host, 'package.json', json => {
16
- // Do nothing if @cds/core is already a dependency
17
- const deps = (json === null || json === void 0 ? void 0 : json.dependencies) || {};
18
- if (Object.keys(deps).includes(clarityCorePackageName)) {
19
- return;
20
- }
21
- if (!json.dependencies) {
22
- json.dependencies = {};
23
- }
24
- const clarityAngularVersion = json.dependencies[clarityAngularPackageName];
25
- // Do nothing if @clr/angular is not a dependency
26
- if (!clarityAngularVersion) {
27
- return;
28
- }
29
- // Add the same version of @cds/core as
30
- // the version of @clr/angular that's in the package.json
31
- json.dependencies[clarityCorePackageName] = clarityCorePackageUpdateVersion;
32
- });
33
- context.addTask(new tasks_1.NodePackageInstallTask());
34
- };
35
- }
36
- exports.default = default_1;
37
- //# sourceMappingURL=update-5.0.0.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-5.0.0.js","sourceRoot":"","sources":["../../../../projects/schematics/src/update/update-5.0.0.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AAGH,4DAA0E;AAC1E,kEAA6D;AAE7D,MAAM,sBAAsB,GAAG,WAAW,CAAC;AAC3C,MAAM,yBAAyB,GAAG,cAAc,CAAC;AACjD,MAAM,+BAA+B,GAAG,QAAQ,CAAC;AAEjD;IACE,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAQ,EAAE;QACrD,iCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,EAAE;YAC1C,kDAAkD;YAClD,MAAM,IAAI,GAAG,CAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,YAAY,KAAI,EAAE,CAAC;YACtC,IAAI,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC,EAAE;gBACtD,OAAO;aACR;YAED,IAAI,CAAC,IAAI,CAAC,YAAY,EAAE;gBACtB,IAAI,CAAC,YAAY,GAAG,EAAE,CAAC;aACxB;YACD,MAAM,qBAAqB,GAAG,IAAI,CAAC,YAAY,CAAC,yBAAyB,CAAC,CAAC;YAC3E,iDAAiD;YACjD,IAAI,CAAC,qBAAqB,EAAE;gBAC1B,OAAO;aACR;YACD,uCAAuC;YACvC,yDAAyD;YACzD,IAAI,CAAC,YAAY,CAAC,sBAAsB,CAAC,GAAG,+BAA+B,CAAC;QAC9E,CAAC,CAAC,CAAC;QAEH,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;IAChD,CAAC,CAAC;AACJ,CAAC;AAxBD,4BAwBC"}
@@ -1,71 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
9
- return new (P || (P = Promise))(function (resolve, reject) {
10
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
11
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
13
- step((generator = generator.apply(thisArg, _arguments || [])).next());
14
- });
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- const testing_1 = require("@angular-devkit/schematics/testing");
18
- const schematics_1 = require("@angular-devkit/schematics");
19
- const setup_project_1 = require("../utility/setup-project");
20
- const get_file_content_1 = require("../utility/get-file-content");
21
- const clarityCorePackageName = '@cds/core';
22
- describe('Migration to version 5.0', () => {
23
- let runner;
24
- let workspaceTree;
25
- beforeEach(() => __awaiter(void 0, void 0, void 0, function* () {
26
- runner = new testing_1.SchematicTestRunner('migrations', require.resolve('../migration-collection.json'));
27
- workspaceTree = yield setup_project_1.setupProject(new testing_1.UnitTestTree(new schematics_1.HostTree()), runner, 'foo');
28
- }));
29
- it('should add the @cds/core package to the project dependencies', () => __awaiter(void 0, void 0, void 0, function* () {
30
- var _a;
31
- const packageJsonPath = '/package.json';
32
- const packageJsonString = (_a = workspaceTree.read(packageJsonPath)) === null || _a === void 0 ? void 0 : _a.toString();
33
- if (packageJsonString === undefined) {
34
- fail('Could not read package.json');
35
- }
36
- const packageJson = JSON.parse(packageJsonString);
37
- packageJson.dependencies['@clr/angular'] = '4.0.0';
38
- workspaceTree.overwrite(packageJsonPath, JSON.stringify(packageJson));
39
- const tree = yield runner.runSchematicAsync('migration-5.0', {}, workspaceTree).toPromise();
40
- expect(tree.files).toContain(packageJsonPath);
41
- const { dependencies } = JSON.parse(get_file_content_1.getFileContent(tree, packageJsonPath));
42
- expect(dependencies).toBeDefined();
43
- expect(dependencies[clarityCorePackageName]).toEqual('^5.0.0');
44
- }));
45
- it('should not modify the project dependencies if @clr/angular is not a dependency', () => __awaiter(void 0, void 0, void 0, function* () {
46
- const tree = yield runner.runSchematicAsync('migration-5.0', {}, workspaceTree).toPromise();
47
- const packageJsonPath = '/package.json';
48
- expect(tree.files).toContain(packageJsonPath);
49
- const { dependencies } = JSON.parse(get_file_content_1.getFileContent(tree, packageJsonPath));
50
- expect(dependencies).toBeDefined();
51
- expect(dependencies[clarityCorePackageName]).not.toBeDefined();
52
- }));
53
- it('should not modify the project dependencies if @cds/core is already a dependency', () => __awaiter(void 0, void 0, void 0, function* () {
54
- var _b;
55
- const packageJsonPath = '/package.json';
56
- const predefinedClarityCoreVersion = 'latest';
57
- const packageJsonString = (_b = workspaceTree.read(packageJsonPath)) === null || _b === void 0 ? void 0 : _b.toString();
58
- if (packageJsonString === undefined) {
59
- fail('Could not read package.json');
60
- }
61
- const packageJson = JSON.parse(packageJsonString);
62
- packageJson.dependencies[clarityCorePackageName] = predefinedClarityCoreVersion;
63
- workspaceTree.overwrite(packageJsonPath, JSON.stringify(packageJson));
64
- const tree = yield runner.runSchematicAsync('migration-5.0', {}, workspaceTree).toPromise();
65
- expect(tree.files).toContain(packageJsonPath);
66
- const { dependencies } = JSON.parse(get_file_content_1.getFileContent(tree, packageJsonPath));
67
- expect(dependencies).toBeDefined();
68
- expect(dependencies[clarityCorePackageName]).toEqual(predefinedClarityCoreVersion);
69
- }));
70
- });
71
- //# sourceMappingURL=update-5.0.0.spec.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-5.0.0.spec.js","sourceRoot":"","sources":["../../../../projects/schematics/src/update/update-5.0.0.spec.ts"],"names":[],"mappings":"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"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.updateStyleAssets = void 0;
9
- function stripExtension(fileName) {
10
- const extensionStartIndex = fileName.indexOf('.');
11
- return extensionStartIndex ? fileName.substring(0, extensionStartIndex) : fileName;
12
- }
13
- function updateStyleAssets(target, pathPrefix, assets) {
14
- const styles = target.build.options.styles || [];
15
- const stylesSearch = styles.join('|');
16
- assets.forEach(asset => {
17
- const assetWithoutExtension = stripExtension(asset);
18
- if (stylesSearch.search(assetWithoutExtension) === -1) {
19
- styles.unshift(pathPrefix + asset);
20
- }
21
- });
22
- target.build.options.styles = styles;
23
- }
24
- exports.updateStyleAssets = updateStyleAssets;
25
- //# sourceMappingURL=add-assets-to-config-file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-assets-to-config-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/add-assets-to-config-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAS,cAAc,CAAC,QAAgB;IACtC,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC;IAElD,OAAO,mBAAmB,CAAC,CAAC,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC;AACrF,CAAC;AAED,SAAgB,iBAAiB,CAAC,MAAW,EAAE,UAAkB,EAAE,MAAqB;IACtF,MAAM,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,IAAI,EAAE,CAAC;IACjD,MAAM,YAAY,GAAG,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;IAEtC,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE;QACrB,MAAM,qBAAqB,GAAG,cAAc,CAAC,KAAK,CAAC,CAAC;QACpD,IAAI,YAAY,CAAC,MAAM,CAAC,qBAAqB,CAAC,KAAK,CAAC,CAAC,EAAE;YACrD,MAAM,CAAC,OAAO,CAAC,UAAU,GAAG,KAAK,CAAC,CAAC;SACpC;IACH,CAAC,CAAC,CAAC;IAEH,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,GAAG,MAAM,CAAC;AACvC,CAAC;AAZD,8CAYC"}
@@ -1,36 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.addModuleImportToModule = void 0;
9
- const schematics_1 = require("@angular-devkit/schematics");
10
- const change_1 = require("@schematics/angular/utility/change");
11
- const ast_utils_1 = require("@schematics/angular/utility/ast-utils");
12
- const get_typescript_source_file_1 = require("./get-typescript-source-file");
13
- /**
14
- * Import and add module to specific module path.
15
- * @param host {Tree} The source tree.
16
- * @param importedModuleName {String} The name of the imported module.
17
- * @param importedModulePath {String} The location of the imported module.
18
- * @param moduleToImportIn {String} The location of the module to import in.
19
- */
20
- function addModuleImportToModule(host, importedModuleName, importedModulePath, moduleToImportIn) {
21
- if (!moduleToImportIn) {
22
- throw new schematics_1.SchematicsException(`Entry module not found.`);
23
- }
24
- const moduleSource = get_typescript_source_file_1.getTypeScriptSourceFile(host, moduleToImportIn);
25
- if (!moduleSource) {
26
- throw new schematics_1.SchematicsException(`Module not found: ${moduleToImportIn}`);
27
- }
28
- const changes = ast_utils_1.addImportToModule(moduleSource, moduleToImportIn, importedModuleName, importedModulePath);
29
- const recorder = host.beginUpdate(moduleToImportIn);
30
- changes
31
- .filter((change) => change instanceof change_1.InsertChange)
32
- .forEach((change) => recorder.insertLeft(change.pos, change.toAdd));
33
- host.commitUpdate(recorder);
34
- }
35
- exports.addModuleImportToModule = addModuleImportToModule;
36
- //# sourceMappingURL=add-module-import-to-module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"add-module-import-to-module.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/add-module-import-to-module.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,2DAAuE;AACvE,+DAA0E;AAC1E,qEAA0E;AAC1E,6EAAuE;AAEvE;;;;;;GAMG;AACH,SAAgB,uBAAuB,CACrC,IAAU,EACV,kBAA0B,EAC1B,kBAA0B,EAC1B,gBAAwB;IAExB,IAAI,CAAC,gBAAgB,EAAE;QACrB,MAAM,IAAI,gCAAmB,CAAC,yBAAyB,CAAC,CAAC;KAC1D;IAED,MAAM,YAAY,GAAG,oDAAuB,CAAC,IAAI,EAAE,gBAAgB,CAAC,CAAC;IACrE,IAAI,CAAC,YAAY,EAAE;QACjB,MAAM,IAAI,gCAAmB,CAAC,qBAAqB,gBAAgB,EAAE,CAAC,CAAC;KACxE;IAED,MAAM,OAAO,GAAG,6BAAiB,CAAC,YAAY,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,kBAAkB,CAAC,CAAC;IAC1G,MAAM,QAAQ,GAAG,IAAI,CAAC,WAAW,CAAC,gBAAgB,CAAC,CAAC;IAEpD,OAAO;SACJ,MAAM,CAAC,CAAC,MAAc,EAAE,EAAE,CAAC,MAAM,YAAY,qBAAY,CAAC;SAC1D,OAAO,CAAC,CAAC,MAAoB,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC;IAEpF,IAAI,CAAC,YAAY,CAAC,QAAQ,CAAC,CAAC;AAC9B,CAAC;AAvBD,0DAuBC"}
@@ -1,10 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.configFileName = void 0;
9
- exports.configFileName = 'angular.json';
10
- //# sourceMappingURL=angular-config-filename.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"angular-config-filename.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/angular-config-filename.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEU,QAAA,cAAc,GAAG,cAAc,CAAC"}
@@ -1,30 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.compareVersions = void 0;
9
- function removeNonDigitOrDots(text) {
10
- return text.replace(/[^\d.]/g, '');
11
- }
12
- function compareVersions(first, second) {
13
- first = removeNonDigitOrDots(first);
14
- second = removeNonDigitOrDots(second);
15
- const firstDigits = first.split('.');
16
- const secondDigits = second.split('.');
17
- for (let i = 0; i < 3; i += 1) {
18
- const firstDigit = Number(firstDigits[i]);
19
- const secondDigit = Number(secondDigits[i]);
20
- if (firstDigit > secondDigit) {
21
- return 1;
22
- }
23
- else if (secondDigit > firstDigit) {
24
- return -1;
25
- }
26
- }
27
- return 0;
28
- }
29
- exports.compareVersions = compareVersions;
30
- //# sourceMappingURL=compare-versions.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"compare-versions.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/compare-versions.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAS,oBAAoB,CAAC,IAAY;IACxC,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC;AACrC,CAAC;AAED,SAAgB,eAAe,CAAC,KAAa,EAAE,MAAc;IAC3D,KAAK,GAAG,oBAAoB,CAAC,KAAK,CAAC,CAAC;IACpC,MAAM,GAAG,oBAAoB,CAAC,MAAM,CAAC,CAAC;IAEtC,MAAM,WAAW,GAAG,KAAK,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IACrC,MAAM,YAAY,GAAG,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAEvC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE;QAC7B,MAAM,UAAU,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC;QAC1C,MAAM,WAAW,GAAG,MAAM,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,CAAC;QAC5C,IAAI,UAAU,GAAG,WAAW,EAAE;YAC5B,OAAO,CAAC,CAAC;SACV;aAAM,IAAI,WAAW,GAAG,UAAU,EAAE;YACnC,OAAO,CAAC,CAAC,CAAC;SACX;KACF;IAED,OAAO,CAAC,CAAC;AACX,CAAC;AAlBD,0CAkBC"}
@@ -1,32 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getAppFromConfig = exports.getConfig = exports.configPath = void 0;
4
- /**
5
- * @license
6
- * Copyright Google Inc. All Rights Reserved.
7
- *
8
- * Use of this source code is governed by an MIT-style license that can be
9
- * found in the LICENSE file at https://angular.io/license
10
- */
11
- const schematics_1 = require("@angular-devkit/schematics");
12
- exports.configPath = '/.angular-cli.json';
13
- function getConfig(host) {
14
- const configBuffer = host.read(exports.configPath);
15
- if (configBuffer === null) {
16
- throw new schematics_1.SchematicsException('Could not find .angular-cli.json');
17
- }
18
- const config = JSON.parse(configBuffer.toString());
19
- return config;
20
- }
21
- exports.getConfig = getConfig;
22
- function getAppFromConfig(config, appIndexOrName) {
23
- if (!config.apps) {
24
- return null;
25
- }
26
- if (parseInt(appIndexOrName) >= 0) {
27
- return config.apps[parseInt(appIndexOrName)];
28
- }
29
- return config.apps.filter(app => app.name === appIndexOrName)[0];
30
- }
31
- exports.getAppFromConfig = getAppFromConfig;
32
- //# sourceMappingURL=config.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/config.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,2DAAuE;AAub1D,QAAA,UAAU,GAAG,oBAAoB,CAAC;AAE/C,SAAgB,SAAS,CAAC,IAAU;IAClC,MAAM,YAAY,GAAG,IAAI,CAAC,IAAI,CAAC,kBAAU,CAAC,CAAC;IAC3C,IAAI,YAAY,KAAK,IAAI,EAAE;QACzB,MAAM,IAAI,gCAAmB,CAAC,kCAAkC,CAAC,CAAC;KACnE;IAED,MAAM,MAAM,GAAG,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,EAAE,CAAC,CAAC;IAEnD,OAAO,MAAM,CAAC;AAChB,CAAC;AATD,8BASC;AAED,SAAgB,gBAAgB,CAAC,MAAiB,EAAE,cAAsB;IACxE,IAAI,CAAC,MAAM,CAAC,IAAI,EAAE;QAChB,OAAO,IAAI,CAAC;KACb;IAED,IAAI,QAAQ,CAAC,cAAc,CAAC,IAAI,CAAC,EAAE;QACjC,OAAO,MAAM,CAAC,IAAI,CAAC,QAAQ,CAAC,cAAc,CAAC,CAAC,CAAC;KAC9C;IAED,OAAO,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,IAAI,KAAK,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC;AACnE,CAAC;AAVD,4CAUC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.findAppModule = void 0;
9
- const ng_ast_utils_1 = require("@schematics/angular/utility/ng-ast-utils");
10
- const get_main_path_1 = require("./get-main-path");
11
- function findAppModule(host, config, projectName) {
12
- const mainPath = get_main_path_1.getMainPath(config, projectName);
13
- const appModulePath = ng_ast_utils_1.getAppModulePath(host, mainPath);
14
- return appModulePath;
15
- }
16
- exports.findAppModule = findAppModule;
17
- //# sourceMappingURL=find-app-module.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"find-app-module.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/find-app-module.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,2EAA4E;AAC5E,mDAA8C;AAE9C,SAAgB,aAAa,CAAC,IAAU,EAAE,MAAW,EAAE,WAAmB;IACxE,MAAM,QAAQ,GAAG,2BAAW,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IAClD,MAAM,aAAa,GAAG,+BAAgB,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC;IAEvD,OAAO,aAAa,CAAC;AACvB,CAAC;AALD,sCAKC"}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.getFileContent = void 0;
4
- function getFileContent(tree, path) {
5
- const fileEntry = tree.get(path);
6
- if (!fileEntry) {
7
- throw new Error(`The file (${path}) does not exist.`);
8
- }
9
- return fileEntry.content.toString();
10
- }
11
- exports.getFileContent = getFileContent;
12
- //# sourceMappingURL=get-file-content.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-file-content.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-file-content.ts"],"names":[],"mappings":";;;AASA,SAAgB,cAAc,CAAC,IAAU,EAAE,IAAY;IACrD,MAAM,SAAS,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAEjC,IAAI,CAAC,SAAS,EAAE;QACd,MAAM,IAAI,KAAK,CAAC,aAAa,IAAI,mBAAmB,CAAC,CAAC;KACvD;IAED,OAAO,SAAS,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC;AACtC,CAAC;AARD,wCAQC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.getIndexHtmlPath = void 0;
9
- function getIndexHtmlPath(config, projectName) {
10
- const project = config.projects[projectName];
11
- return project.architect.build.options.index;
12
- }
13
- exports.getIndexHtmlPath = getIndexHtmlPath;
14
- //# sourceMappingURL=get-index-html-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-index-html-path.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-index-html-path.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAgB,gBAAgB,CAAC,MAAW,EAAE,WAAmB;IAC/D,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC;AAC/C,CAAC;AAHD,4CAGC"}
@@ -1,25 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.getJsonFile = void 0;
9
- const schematics_1 = require("@angular-devkit/schematics");
10
- const core_1 = require("@angular-devkit/core");
11
- const getJsonFile = (tree, path) => {
12
- const file = tree.get(path);
13
- if (!file) {
14
- throw new core_1.FileDoesNotExistException(path);
15
- }
16
- try {
17
- const content = JSON.parse(file.content.toString());
18
- return content;
19
- }
20
- catch (e) {
21
- throw new schematics_1.SchematicsException(`File ${path} could not be parsed!`);
22
- }
23
- };
24
- exports.getJsonFile = getJsonFile;
25
- //# sourceMappingURL=get-json-file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-json-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-json-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,2DAAiE;AACjE,+CAAiE;AAE1D,MAAM,WAAW,GAAG,CAAI,IAAU,EAAE,IAAY,EAAK,EAAE;IAC5D,MAAM,IAAI,GAAG,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;IAC5B,IAAI,CAAC,IAAI,EAAE;QACT,MAAM,IAAI,gCAAyB,CAAC,IAAI,CAAC,CAAC;KAC3C;IAED,IAAI;QACF,MAAM,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAC;QAEpD,OAAO,OAAY,CAAC;KACrB;IAAC,OAAO,CAAC,EAAE;QACV,MAAM,IAAI,gCAAmB,CAAC,QAAQ,IAAI,uBAAuB,CAAC,CAAC;KACpE;AACH,CAAC,CAAC;AAbW,QAAA,WAAW,eAatB"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.getMainPath = void 0;
9
- function getMainPath(config, projectName) {
10
- const project = config.projects[projectName];
11
- return project.architect.build.options.main;
12
- }
13
- exports.getMainPath = getMainPath;
14
- //# sourceMappingURL=get-main-path.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-main-path.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-main-path.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAEH,SAAgB,WAAW,CAAC,MAAW,EAAE,WAAmB;IAC1D,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC;IAC7C,OAAO,OAAO,CAAC,SAAS,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC;AAC9C,CAAC;AAHD,kCAGC"}
@@ -1,26 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.getTypeScriptSourceFile = void 0;
9
- const ts = require("typescript");
10
- const schematics_1 = require("@angular-devkit/schematics");
11
- /**
12
- * Reads file from given path and returns TypeScript source file.
13
- * @param host {Tree} The source tree.
14
- * @param path {String} The path to the file to read. Relative to the root of the tree.
15
- * */
16
- function getTypeScriptSourceFile(host, path) {
17
- const buffer = host.read(path);
18
- if (!buffer) {
19
- throw new schematics_1.SchematicsException(`Could not find ${path}!`);
20
- }
21
- const content = buffer.toString();
22
- const sourceFile = ts.createSourceFile(path, content, ts.ScriptTarget.Latest, true);
23
- return sourceFile;
24
- }
25
- exports.getTypeScriptSourceFile = getTypeScriptSourceFile;
26
- //# sourceMappingURL=get-typescript-source-file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-typescript-source-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/get-typescript-source-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,iCAAiC;AACjC,2DAAiE;AAEjE;;;;KAIK;AACL,SAAgB,uBAAuB,CAAC,IAAU,EAAE,IAAY;IAC9D,MAAM,MAAM,GAAG,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC/B,IAAI,CAAC,MAAM,EAAE;QACX,MAAM,IAAI,gCAAmB,CAAC,kBAAkB,IAAI,GAAG,CAAC,CAAC;KAC1D;IAED,MAAM,OAAO,GAAG,MAAM,CAAC,QAAQ,EAAE,CAAC;IAClC,MAAM,UAAU,GAAG,EAAE,CAAC,gBAAgB,CAAC,IAAI,EAAE,OAAO,EAAE,EAAE,CAAC,YAAY,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;IAEpF,OAAO,UAAU,CAAC;AACpB,CAAC;AAVD,0DAUC"}
@@ -1,8 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- //# sourceMappingURL=ng-add-options.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ng-add-options.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/ng-add-options.ts"],"names":[],"mappings":";AAAA;;;;GAIG"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.runNpmInstall = void 0;
9
- const tasks_1 = require("@angular-devkit/schematics/tasks");
10
- function runNpmInstall(_tree, context) {
11
- context.addTask(new tasks_1.NodePackageInstallTask());
12
- }
13
- exports.runNpmInstall = runNpmInstall;
14
- //# sourceMappingURL=run-npm-install.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"run-npm-install.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/run-npm-install.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,4DAA0E;AAE1E,SAAgB,aAAa,CAAC,KAAW,EAAE,OAAyB;IAClE,OAAO,CAAC,OAAO,CAAC,IAAI,8BAAsB,EAAE,CAAC,CAAC;AAChD,CAAC;AAFD,sCAEC"}
@@ -1,37 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
8
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
9
- return new (P || (P = Promise))(function (resolve, reject) {
10
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
11
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
12
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
13
- step((generator = generator.apply(thisArg, _arguments || [])).next());
14
- });
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.setupProject = void 0;
18
- function setupProject(tree, schematicRunner, name) {
19
- return __awaiter(this, void 0, void 0, function* () {
20
- tree = yield schematicRunner
21
- .runExternalSchematicAsync('@schematics/angular', 'workspace', {
22
- name: 'workspace',
23
- version: '10.0.0',
24
- newProjectRoot: '',
25
- })
26
- .toPromise();
27
- tree = yield schematicRunner
28
- .runExternalSchematicAsync('@schematics/angular', 'application', {
29
- name,
30
- projectRoot: '',
31
- }, tree)
32
- .toPromise();
33
- return tree;
34
- });
35
- }
36
- exports.setupProject = setupProject;
37
- //# sourceMappingURL=setup-project.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"setup-project.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/setup-project.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;;;;;;;;;;AAIH,SAAsB,YAAY,CAChC,IAAkB,EAClB,eAAoC,EACpC,IAAY;;QAEZ,IAAI,GAAG,MAAM,eAAe;aACzB,yBAAyB,CAAC,qBAAqB,EAAE,WAAW,EAAE;YAC7D,IAAI,EAAE,WAAW;YACjB,OAAO,EAAE,QAAQ;YACjB,cAAc,EAAE,EAAE;SACnB,CAAC;aACD,SAAS,EAAE,CAAC;QAEf,IAAI,GAAG,MAAM,eAAe;aACzB,yBAAyB,CACxB,qBAAqB,EACrB,aAAa,EACb;YACE,IAAI;YACJ,WAAW,EAAE,EAAE;SAChB,EACD,IAAI,CACL;aACA,SAAS,EAAE,CAAC;QAEf,OAAO,IAAI,CAAC;IACd,CAAC;CAAA;AA1BD,oCA0BC"}
@@ -1,17 +0,0 @@
1
- "use strict";
2
- /*
3
- * Copyright (c) 2016-2021 VMware, Inc. All Rights Reserved.
4
- * This software is released under MIT license.
5
- * The full license information can be found in LICENSE in the root directory of this project.
6
- */
7
- Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.updateJsonFile = void 0;
9
- const get_json_file_1 = require("./get-json-file");
10
- // Writes changes to a JSON file
11
- function updateJsonFile(tree, path, callback) {
12
- const json = get_json_file_1.getJsonFile(tree, path);
13
- callback(json);
14
- tree.overwrite(path, JSON.stringify(json, null, 2));
15
- }
16
- exports.updateJsonFile = updateJsonFile;
17
- //# sourceMappingURL=update-json-file.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"update-json-file.js","sourceRoot":"","sources":["../../../../projects/schematics/src/utility/update-json-file.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;;AAGH,mDAA8C;AAE9C,gCAAgC;AAChC,SAAgB,cAAc,CAAC,IAAU,EAAE,IAAY,EAAE,QAAyB;IAChF,MAAM,IAAI,GAAG,2BAAW,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;IACrC,QAAQ,CAAC,IAAI,CAAC,CAAC;IACf,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC;AACtD,CAAC;AAJD,wCAIC"}