@danske/sapphire-angular 1.12.4

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 (354) hide show
  1. package/LICENSE +7 -0
  2. package/README.md +25 -0
  3. package/esm2020/danske-sapphire-angular.mjs +5 -0
  4. package/esm2020/lib/badge/public_api.mjs +3 -0
  5. package/esm2020/lib/badge/src/badge.component.mjs +66 -0
  6. package/esm2020/lib/badge/src/badge.module.mjs +18 -0
  7. package/esm2020/lib/button/public_api.mjs +12 -0
  8. package/esm2020/lib/button/src/button-group.component.mjs +57 -0
  9. package/esm2020/lib/button/src/button-icon.directive.mjs +13 -0
  10. package/esm2020/lib/button/src/button.component.mjs +100 -0
  11. package/esm2020/lib/button/src/button.module.mjs +48 -0
  12. package/esm2020/lib/button/src/icon-button.component.mjs +95 -0
  13. package/esm2020/lib/button/src/toggle-button-required-validator.mjs +27 -0
  14. package/esm2020/lib/button/src/toggle-button.component.mjs +124 -0
  15. package/esm2020/lib/checkbox/public_api.mjs +8 -0
  16. package/esm2020/lib/checkbox/src/checkbox-required-validator.mjs +26 -0
  17. package/esm2020/lib/checkbox/src/checkbox.component.mjs +264 -0
  18. package/esm2020/lib/checkbox/src/checkbox.module.mjs +21 -0
  19. package/esm2020/lib/common/auto-id.decorator.mjs +24 -0
  20. package/esm2020/lib/common/coerce-boolean.decorator.mjs +32 -0
  21. package/esm2020/lib/common/constructor.mjs +2 -0
  22. package/esm2020/lib/common/disabled.mjs +16 -0
  23. package/esm2020/lib/common/focused.directive.mjs +64 -0
  24. package/esm2020/lib/common/placement.mjs +60 -0
  25. package/esm2020/lib/common/platform.mjs +45 -0
  26. package/esm2020/lib/common/pressed.directive.mjs +55 -0
  27. package/esm2020/lib/common/public_api.mjs +4 -0
  28. package/esm2020/lib/common/sapphire-view-encapsulation.mjs +83 -0
  29. package/esm2020/lib/common/scroll-monitor.directive.mjs +63 -0
  30. package/esm2020/lib/common/tabindex.mjs +19 -0
  31. package/esm2020/lib/common/visually-hidden.directive.mjs +32 -0
  32. package/esm2020/lib/contextual-help/public_api.mjs +3 -0
  33. package/esm2020/lib/contextual-help/src/contextual-help.component.mjs +112 -0
  34. package/esm2020/lib/contextual-help/src/contextual-help.module.mjs +33 -0
  35. package/esm2020/lib/core.module.mjs +179 -0
  36. package/esm2020/lib/field/public_api.mjs +8 -0
  37. package/esm2020/lib/field/src/field-control.mjs +17 -0
  38. package/esm2020/lib/field/src/field-error.directive.mjs +20 -0
  39. package/esm2020/lib/field/src/field-label.directive.mjs +17 -0
  40. package/esm2020/lib/field/src/field-note-suffix.directive.mjs +28 -0
  41. package/esm2020/lib/field/src/field-note.directive.mjs +17 -0
  42. package/esm2020/lib/field/src/field.component.mjs +153 -0
  43. package/esm2020/lib/field/src/field.module.mjs +49 -0
  44. package/esm2020/lib/icon/public_api.mjs +4 -0
  45. package/esm2020/lib/icon/src/icon-size-provider.mjs +18 -0
  46. package/esm2020/lib/icon/src/icon.component.mjs +67 -0
  47. package/esm2020/lib/icon/src/icon.module.mjs +18 -0
  48. package/esm2020/lib/label/public_api.mjs +6 -0
  49. package/esm2020/lib/label/src/label.component.mjs +61 -0
  50. package/esm2020/lib/link/public_api.mjs +7 -0
  51. package/esm2020/lib/link/src/link.component.mjs +62 -0
  52. package/esm2020/lib/link/src/link.module.mjs +16 -0
  53. package/esm2020/lib/listbox/public_api.mjs +10 -0
  54. package/esm2020/lib/listbox/src/cdk-option-scroll-issue-patch.mjs +30 -0
  55. package/esm2020/lib/listbox/src/listbox-child.mjs +7 -0
  56. package/esm2020/lib/listbox/src/listbox-input.directive.mjs +42 -0
  57. package/esm2020/lib/listbox/src/listbox-item.component.mjs +49 -0
  58. package/esm2020/lib/listbox/src/listbox.component.mjs +273 -0
  59. package/esm2020/lib/listbox/src/listbox.module.mjs +81 -0
  60. package/esm2020/lib/listbox/src/option-icon.directive.mjs +22 -0
  61. package/esm2020/lib/listbox/src/option-primary-text.directive.mjs +25 -0
  62. package/esm2020/lib/listbox/src/option-secondary-text.directive.mjs +22 -0
  63. package/esm2020/lib/listbox/src/option.component.mjs +58 -0
  64. package/esm2020/lib/listbox/src/section.directive.mjs +46 -0
  65. package/esm2020/lib/menu/public_api.mjs +10 -0
  66. package/esm2020/lib/menu/src/menu-item.component.mjs +45 -0
  67. package/esm2020/lib/menu/src/menu-section.component.mjs +27 -0
  68. package/esm2020/lib/menu/src/menu-trigger.directive.mjs +149 -0
  69. package/esm2020/lib/menu/src/menu.component.mjs +33 -0
  70. package/esm2020/lib/menu/src/menu.module.mjs +39 -0
  71. package/esm2020/lib/modal/public_api.mjs +19 -0
  72. package/esm2020/lib/modal/src/dialog/confirmation-dialog.component.mjs +61 -0
  73. package/esm2020/lib/modal/src/dialog/danger-dialog.component.mjs +62 -0
  74. package/esm2020/lib/modal/src/dialog/dialog-close-button.directive.mjs +18 -0
  75. package/esm2020/lib/modal/src/dialog/dialog-content.directive.mjs +29 -0
  76. package/esm2020/lib/modal/src/dialog/dialog-footer.component.mjs +43 -0
  77. package/esm2020/lib/modal/src/dialog/dialog-header.component.mjs +65 -0
  78. package/esm2020/lib/modal/src/dialog/dialog-trigger.directive.mjs +37 -0
  79. package/esm2020/lib/modal/src/dialog/dialog.component.mjs +60 -0
  80. package/esm2020/lib/modal/src/modal-base.component.mjs +89 -0
  81. package/esm2020/lib/modal/src/modal-close-button.directive.mjs +28 -0
  82. package/esm2020/lib/modal/src/modal-trigger.directive.mjs +42 -0
  83. package/esm2020/lib/modal/src/modal.module.mjs +143 -0
  84. package/esm2020/lib/modal/src/modal.service.mjs +58 -0
  85. package/esm2020/lib/modal/src/panel/inline-panel.component.mjs +15 -0
  86. package/esm2020/lib/modal/src/panel/panel-back-button.directive.mjs +13 -0
  87. package/esm2020/lib/modal/src/panel/panel-close-button.directive.mjs +16 -0
  88. package/esm2020/lib/modal/src/panel/panel-content.component.mjs +38 -0
  89. package/esm2020/lib/modal/src/panel/panel-footer.component.mjs +38 -0
  90. package/esm2020/lib/modal/src/panel/panel-header.component.mjs +68 -0
  91. package/esm2020/lib/modal/src/panel/panel-trigger.directive.mjs +37 -0
  92. package/esm2020/lib/modal/src/panel/panel.component.mjs +37 -0
  93. package/esm2020/lib/notification-badge/public_api.mjs +3 -0
  94. package/esm2020/lib/notification-badge/src/notification-badge.component.mjs +28 -0
  95. package/esm2020/lib/notification-badge/src/notification-badge.module.mjs +18 -0
  96. package/esm2020/lib/pagination/public_api.mjs +3 -0
  97. package/esm2020/lib/pagination/src/pagination.component.mjs +85 -0
  98. package/esm2020/lib/pagination/src/pagination.module.mjs +36 -0
  99. package/esm2020/lib/popover/public_api.mjs +10 -0
  100. package/esm2020/lib/popover/src/popover-close-button.directive.mjs +32 -0
  101. package/esm2020/lib/popover/src/popover-title.directive.mjs +24 -0
  102. package/esm2020/lib/popover/src/popover-trigger.directive.mjs +301 -0
  103. package/esm2020/lib/popover/src/popover.component.mjs +88 -0
  104. package/esm2020/lib/popover/src/popover.module.mjs +38 -0
  105. package/esm2020/lib/radio/public_api.mjs +8 -0
  106. package/esm2020/lib/radio/src/radio-group.component.mjs +195 -0
  107. package/esm2020/lib/radio/src/radio.component.mjs +279 -0
  108. package/esm2020/lib/radio/src/radio.module.mjs +22 -0
  109. package/esm2020/lib/segmented-tabs/public_api.mjs +6 -0
  110. package/esm2020/lib/segmented-tabs/src/segmented-tab-content.directive.mjs +15 -0
  111. package/esm2020/lib/segmented-tabs/src/segmented-tab-label.directive.mjs +20 -0
  112. package/esm2020/lib/segmented-tabs/src/segmented-tab.component.mjs +69 -0
  113. package/esm2020/lib/segmented-tabs/src/segmented-tabs.component.mjs +215 -0
  114. package/esm2020/lib/segmented-tabs/src/segmented-tabs.module.mjs +39 -0
  115. package/esm2020/lib/select/public_api.mjs +10 -0
  116. package/esm2020/lib/select/src/basic-select/basic-select.component.mjs +127 -0
  117. package/esm2020/lib/select/src/common/hidden-select.component.mjs +33 -0
  118. package/esm2020/lib/select/src/common/select-component-base.mjs +267 -0
  119. package/esm2020/lib/select/src/common/select-value-holder.mjs +86 -0
  120. package/esm2020/lib/select/src/select/searchable-select.directive.mjs +90 -0
  121. package/esm2020/lib/select/src/select/select.component.mjs +351 -0
  122. package/esm2020/lib/select/src/select/select.module.mjs +113 -0
  123. package/esm2020/lib/select/src/select/selection-text.directive.mjs +19 -0
  124. package/esm2020/lib/skeleton/public_api.mjs +6 -0
  125. package/esm2020/lib/skeleton/src/skeleton-block.directive.mjs +16 -0
  126. package/esm2020/lib/skeleton/src/skeleton-circle.directive.mjs +16 -0
  127. package/esm2020/lib/skeleton/src/skeleton-text.directive.mjs +43 -0
  128. package/esm2020/lib/skeleton/src/skeleton.component.mjs +29 -0
  129. package/esm2020/lib/skeleton/src/skeleton.module.mjs +37 -0
  130. package/esm2020/lib/skeleton/src/util.mjs +2 -0
  131. package/esm2020/lib/surface/public_api.mjs +7 -0
  132. package/esm2020/lib/surface/src/surface.component.mjs +25 -0
  133. package/esm2020/lib/surface/src/surface.module.mjs +16 -0
  134. package/esm2020/lib/switch/public_api.mjs +4 -0
  135. package/esm2020/lib/switch/src/switch-required-validator.mjs +27 -0
  136. package/esm2020/lib/switch/src/switch.component.mjs +216 -0
  137. package/esm2020/lib/switch/src/switch.module.mjs +19 -0
  138. package/esm2020/lib/table/public_api.mjs +15 -0
  139. package/esm2020/lib/table/src/table-body.directive.mjs +20 -0
  140. package/esm2020/lib/table/src/table-cell.directive.mjs +87 -0
  141. package/esm2020/lib/table/src/table-head-cell.component.mjs +57 -0
  142. package/esm2020/lib/table/src/table-head.directive.mjs +32 -0
  143. package/esm2020/lib/table/src/table-row.directive.mjs +48 -0
  144. package/esm2020/lib/table/src/table-sort-header.directive.mjs +44 -0
  145. package/esm2020/lib/table/src/table-sort.directive.mjs +26 -0
  146. package/esm2020/lib/table/src/table.component.mjs +82 -0
  147. package/esm2020/lib/table/src/table.directive.mjs +20 -0
  148. package/esm2020/lib/table/src/table.module.mjs +74 -0
  149. package/esm2020/lib/text-field/public_api.mjs +12 -0
  150. package/esm2020/lib/text-field/src/text-field-affix.directive.mjs +26 -0
  151. package/esm2020/lib/text-field/src/text-field-input.directive.mjs +51 -0
  152. package/esm2020/lib/text-field/src/text-field-postfix.directive.mjs +13 -0
  153. package/esm2020/lib/text-field/src/text-field-prefix.directive.mjs +13 -0
  154. package/esm2020/lib/text-field/src/text-field-textarea-autosize.directive.mjs +73 -0
  155. package/esm2020/lib/text-field/src/text-field.component.mjs +78 -0
  156. package/esm2020/lib/text-field/src/text-field.module.mjs +67 -0
  157. package/esm2020/lib/theme/public_api.mjs +34 -0
  158. package/esm2020/lib/theme/src/sapphire-overlay-container.service.mjs +38 -0
  159. package/esm2020/lib/theme/src/theme-base.directive.mjs +87 -0
  160. package/esm2020/lib/theme/src/theme-check.directive.mjs +29 -0
  161. package/esm2020/lib/theme/src/theme-root.directive.mjs +23 -0
  162. package/esm2020/lib/theme/src/theme.module.mjs +32 -0
  163. package/esm2020/lib/theme/src/themes.mjs +27 -0
  164. package/esm2020/lib/theme/src/top-level-theme-ref.service.mjs +21 -0
  165. package/esm2020/lib/tooltip/public_api.mjs +5 -0
  166. package/esm2020/lib/tooltip/src/tooltip.component.mjs +47 -0
  167. package/esm2020/lib/tooltip/src/tooltip.directive.mjs +223 -0
  168. package/esm2020/lib/tooltip/src/tooltip.module.mjs +30 -0
  169. package/esm2020/lib/tooltip/src/truncated-with-tooltip.directive.mjs +56 -0
  170. package/esm2020/lib/typography/public_api.mjs +8 -0
  171. package/esm2020/lib/typography/src/heading.component.mjs +44 -0
  172. package/esm2020/lib/typography/src/paragraph.component.mjs +24 -0
  173. package/esm2020/lib/typography/src/typography.module.mjs +19 -0
  174. package/esm2020/public-api.mjs +30 -0
  175. package/fesm2015/danske-sapphire-angular.mjs +8010 -0
  176. package/fesm2015/danske-sapphire-angular.mjs.map +1 -0
  177. package/fesm2020/danske-sapphire-angular.mjs +7890 -0
  178. package/fesm2020/danske-sapphire-angular.mjs.map +1 -0
  179. package/index.d.ts +5 -0
  180. package/lib/badge/public_api.d.ts +2 -0
  181. package/lib/badge/src/badge.component.d.ts +35 -0
  182. package/lib/badge/src/badge.module.d.ts +8 -0
  183. package/lib/button/public_api.d.ts +7 -0
  184. package/lib/button/src/button-group.component.d.ts +26 -0
  185. package/lib/button/src/button-icon.directive.d.ts +5 -0
  186. package/lib/button/src/button.component.d.ts +31 -0
  187. package/lib/button/src/button.module.d.ts +14 -0
  188. package/lib/button/src/icon-button.component.d.ts +26 -0
  189. package/lib/button/src/toggle-button-required-validator.d.ts +10 -0
  190. package/lib/button/src/toggle-button.component.d.ts +39 -0
  191. package/lib/checkbox/public_api.d.ts +3 -0
  192. package/lib/checkbox/src/checkbox-required-validator.d.ts +10 -0
  193. package/lib/checkbox/src/checkbox.component.d.ts +112 -0
  194. package/lib/checkbox/src/checkbox.module.d.ts +11 -0
  195. package/lib/common/auto-id.decorator.d.ts +7 -0
  196. package/lib/common/coerce-boolean.decorator.d.ts +7 -0
  197. package/lib/common/constructor.d.ts +2 -0
  198. package/lib/common/disabled.d.ts +9 -0
  199. package/lib/common/focused.directive.d.ts +30 -0
  200. package/lib/common/placement.d.ts +11 -0
  201. package/lib/common/platform.d.ts +9 -0
  202. package/lib/common/pressed.directive.d.ts +27 -0
  203. package/lib/common/public_api.d.ts +2 -0
  204. package/lib/common/sapphire-view-encapsulation.d.ts +37 -0
  205. package/lib/common/scroll-monitor.directive.d.ts +23 -0
  206. package/lib/common/tabindex.d.ts +12 -0
  207. package/lib/common/visually-hidden.directive.d.ts +11 -0
  208. package/lib/contextual-help/public_api.d.ts +2 -0
  209. package/lib/contextual-help/src/contextual-help.component.d.ts +50 -0
  210. package/lib/contextual-help/src/contextual-help.module.d.ts +7 -0
  211. package/lib/core.module.d.ts +30 -0
  212. package/lib/field/public_api.d.ts +7 -0
  213. package/lib/field/src/field-control.d.ts +16 -0
  214. package/lib/field/src/field-error.directive.d.ts +8 -0
  215. package/lib/field/src/field-label.directive.d.ts +8 -0
  216. package/lib/field/src/field-note-suffix.directive.d.ts +15 -0
  217. package/lib/field/src/field-note.directive.d.ts +8 -0
  218. package/lib/field/src/field.component.d.ts +77 -0
  219. package/lib/field/src/field.module.d.ts +14 -0
  220. package/lib/icon/public_api.d.ts +3 -0
  221. package/lib/icon/src/icon-size-provider.d.ts +23 -0
  222. package/lib/icon/src/icon.component.d.ts +18 -0
  223. package/lib/icon/src/icon.module.d.ts +8 -0
  224. package/lib/label/public_api.d.ts +5 -0
  225. package/lib/label/src/label.component.d.ts +43 -0
  226. package/lib/link/public_api.d.ts +2 -0
  227. package/lib/link/src/link.component.d.ts +13 -0
  228. package/lib/link/src/link.module.d.ts +7 -0
  229. package/lib/listbox/public_api.d.ts +9 -0
  230. package/lib/listbox/src/cdk-option-scroll-issue-patch.d.ts +17 -0
  231. package/lib/listbox/src/listbox-child.d.ts +6 -0
  232. package/lib/listbox/src/listbox-input.directive.d.ts +16 -0
  233. package/lib/listbox/src/listbox-item.component.d.ts +21 -0
  234. package/lib/listbox/src/listbox.component.d.ts +127 -0
  235. package/lib/listbox/src/listbox.module.d.ts +22 -0
  236. package/lib/listbox/src/option-icon.directive.d.ts +10 -0
  237. package/lib/listbox/src/option-primary-text.directive.d.ts +14 -0
  238. package/lib/listbox/src/option-secondary-text.directive.d.ts +10 -0
  239. package/lib/listbox/src/option.component.d.ts +21 -0
  240. package/lib/listbox/src/section.directive.d.ts +14 -0
  241. package/lib/menu/public_api.d.ts +5 -0
  242. package/lib/menu/src/menu-item.component.d.ts +12 -0
  243. package/lib/menu/src/menu-section.component.d.ts +12 -0
  244. package/lib/menu/src/menu-trigger.directive.d.ts +34 -0
  245. package/lib/menu/src/menu.component.d.ts +10 -0
  246. package/lib/menu/src/menu.module.d.ts +13 -0
  247. package/lib/modal/public_api.d.ts +18 -0
  248. package/lib/modal/src/dialog/confirmation-dialog.component.d.ts +43 -0
  249. package/lib/modal/src/dialog/danger-dialog.component.d.ts +44 -0
  250. package/lib/modal/src/dialog/dialog-close-button.directive.d.ts +7 -0
  251. package/lib/modal/src/dialog/dialog-content.directive.d.ts +13 -0
  252. package/lib/modal/src/dialog/dialog-footer.component.d.ts +20 -0
  253. package/lib/modal/src/dialog/dialog-header.component.d.ts +25 -0
  254. package/lib/modal/src/dialog/dialog-trigger.directive.d.ts +13 -0
  255. package/lib/modal/src/dialog/dialog.component.d.ts +33 -0
  256. package/lib/modal/src/modal-base.component.d.ts +33 -0
  257. package/lib/modal/src/modal-close-button.directive.d.ts +9 -0
  258. package/lib/modal/src/modal-trigger.directive.d.ts +24 -0
  259. package/lib/modal/src/modal.module.d.ts +30 -0
  260. package/lib/modal/src/modal.service.d.ts +26 -0
  261. package/lib/modal/src/panel/inline-panel.component.d.ts +6 -0
  262. package/lib/modal/src/panel/panel-back-button.directive.d.ts +5 -0
  263. package/lib/modal/src/panel/panel-close-button.directive.d.ts +6 -0
  264. package/lib/modal/src/panel/panel-content.component.d.ts +14 -0
  265. package/lib/modal/src/panel/panel-footer.component.d.ts +21 -0
  266. package/lib/modal/src/panel/panel-header.component.d.ts +26 -0
  267. package/lib/modal/src/panel/panel-trigger.directive.d.ts +13 -0
  268. package/lib/modal/src/panel/panel.component.d.ts +18 -0
  269. package/lib/notification-badge/public_api.d.ts +2 -0
  270. package/lib/notification-badge/src/notification-badge.component.d.ts +10 -0
  271. package/lib/notification-badge/src/notification-badge.module.d.ts +8 -0
  272. package/lib/pagination/public_api.d.ts +2 -0
  273. package/lib/pagination/src/pagination.component.d.ts +32 -0
  274. package/lib/pagination/src/pagination.module.d.ts +12 -0
  275. package/lib/popover/public_api.d.ts +5 -0
  276. package/lib/popover/src/popover-close-button.directive.d.ts +13 -0
  277. package/lib/popover/src/popover-title.directive.d.ts +11 -0
  278. package/lib/popover/src/popover-trigger.directive.d.ts +86 -0
  279. package/lib/popover/src/popover.component.d.ts +32 -0
  280. package/lib/popover/src/popover.module.d.ts +12 -0
  281. package/lib/radio/public_api.d.ts +3 -0
  282. package/lib/radio/src/radio-group.component.d.ts +65 -0
  283. package/lib/radio/src/radio.component.d.ts +99 -0
  284. package/lib/radio/src/radio.module.d.ts +12 -0
  285. package/lib/segmented-tabs/public_api.d.ts +5 -0
  286. package/lib/segmented-tabs/src/segmented-tab-content.directive.d.ts +6 -0
  287. package/lib/segmented-tabs/src/segmented-tab-label.directive.d.ts +6 -0
  288. package/lib/segmented-tabs/src/segmented-tab.component.d.ts +27 -0
  289. package/lib/segmented-tabs/src/segmented-tabs.component.d.ts +48 -0
  290. package/lib/segmented-tabs/src/segmented-tabs.module.d.ts +13 -0
  291. package/lib/select/public_api.d.ts +5 -0
  292. package/lib/select/src/basic-select/basic-select.component.d.ts +50 -0
  293. package/lib/select/src/common/hidden-select.component.d.ts +19 -0
  294. package/lib/select/src/common/select-component-base.d.ts +109 -0
  295. package/lib/select/src/common/select-value-holder.d.ts +54 -0
  296. package/lib/select/src/select/searchable-select.directive.d.ts +40 -0
  297. package/lib/select/src/select/select.component.d.ts +80 -0
  298. package/lib/select/src/select/select.module.d.ts +26 -0
  299. package/lib/select/src/select/selection-text.directive.d.ts +11 -0
  300. package/lib/skeleton/public_api.d.ts +5 -0
  301. package/lib/skeleton/src/skeleton-block.directive.d.ts +5 -0
  302. package/lib/skeleton/src/skeleton-circle.directive.d.ts +5 -0
  303. package/lib/skeleton/src/skeleton-text.directive.d.ts +13 -0
  304. package/lib/skeleton/src/skeleton.component.d.ts +13 -0
  305. package/lib/skeleton/src/skeleton.module.d.ts +11 -0
  306. package/lib/skeleton/src/util.d.ts +1 -0
  307. package/lib/surface/public_api.d.ts +2 -0
  308. package/lib/surface/src/surface.component.d.ts +11 -0
  309. package/lib/surface/src/surface.module.d.ts +7 -0
  310. package/lib/switch/public_api.d.ts +3 -0
  311. package/lib/switch/src/switch-required-validator.d.ts +10 -0
  312. package/lib/switch/src/switch.component.d.ts +91 -0
  313. package/lib/switch/src/switch.module.d.ts +9 -0
  314. package/lib/table/public_api.d.ts +10 -0
  315. package/lib/table/src/table-body.directive.d.ts +7 -0
  316. package/lib/table/src/table-cell.directive.d.ts +30 -0
  317. package/lib/table/src/table-head-cell.component.d.ts +19 -0
  318. package/lib/table/src/table-head.directive.d.ts +10 -0
  319. package/lib/table/src/table-row.directive.d.ts +16 -0
  320. package/lib/table/src/table-sort-header.directive.d.ts +11 -0
  321. package/lib/table/src/table-sort.directive.d.ts +13 -0
  322. package/lib/table/src/table.component.d.ts +37 -0
  323. package/lib/table/src/table.directive.d.ts +7 -0
  324. package/lib/table/src/table.module.d.ts +19 -0
  325. package/lib/text-field/public_api.d.ts +7 -0
  326. package/lib/text-field/src/text-field-affix.directive.d.ts +10 -0
  327. package/lib/text-field/src/text-field-input.directive.d.ts +16 -0
  328. package/lib/text-field/src/text-field-postfix.directive.d.ts +5 -0
  329. package/lib/text-field/src/text-field-prefix.directive.d.ts +5 -0
  330. package/lib/text-field/src/text-field-textarea-autosize.directive.d.ts +20 -0
  331. package/lib/text-field/src/text-field.component.d.ts +23 -0
  332. package/lib/text-field/src/text-field.module.d.ts +17 -0
  333. package/lib/theme/public_api.d.ts +24 -0
  334. package/lib/theme/src/sapphire-overlay-container.service.d.ts +14 -0
  335. package/lib/theme/src/theme-base.directive.d.ts +14 -0
  336. package/lib/theme/src/theme-check.directive.d.ts +14 -0
  337. package/lib/theme/src/theme-root.directive.d.ts +13 -0
  338. package/lib/theme/src/theme.module.d.ts +14 -0
  339. package/lib/theme/src/themes.d.ts +16 -0
  340. package/lib/theme/src/top-level-theme-ref.service.d.ts +13 -0
  341. package/lib/tooltip/public_api.d.ts +4 -0
  342. package/lib/tooltip/src/tooltip.component.d.ts +10 -0
  343. package/lib/tooltip/src/tooltip.directive.d.ts +39 -0
  344. package/lib/tooltip/src/tooltip.module.d.ts +11 -0
  345. package/lib/tooltip/src/truncated-with-tooltip.directive.d.ts +26 -0
  346. package/lib/typography/public_api.d.ts +3 -0
  347. package/lib/typography/src/heading.component.d.ts +17 -0
  348. package/lib/typography/src/paragraph.component.d.ts +8 -0
  349. package/lib/typography/src/typography.module.d.ts +9 -0
  350. package/package.json +45 -0
  351. package/public-api.d.ts +26 -0
  352. package/src/lib/listbox/src/README.md +67 -0
  353. package/theme-assets/default-dark.css +1 -0
  354. package/theme-assets/default.css +1 -0
@@ -0,0 +1,14 @@
1
+ import { OptionComponent } from './option.component';
2
+ import * as i0 from "@angular/core";
3
+ /**
4
+ * Used to define a group of Options as a section. It intentionally only
5
+ * queries OptionComponent, in `children`, to limit the section/option nesting
6
+ * to one level.
7
+ */
8
+ export declare class SectionDirective {
9
+ children: Iterable<OptionComponent>;
10
+ ariaLabel?: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SectionDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<SectionDirective, "sp-section", never, { "ariaLabel": "aria-label"; }, {}, ["children"], never, false, never>;
13
+ }
14
+ export declare function section(options: Iterable<OptionComponent>, ariaLabel?: string): SectionDirective;
@@ -0,0 +1,5 @@
1
+ export * from './src/menu.component';
2
+ export * from './src/menu.module';
3
+ export * from './src/menu-item.component';
4
+ export * from './src/menu-section.component';
5
+ export * from './src/menu-trigger.directive';
@@ -0,0 +1,12 @@
1
+ import { BooleanInput } from '@angular/cdk/coercion';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/cdk/menu";
4
+ import * as i2 from "../../common/sapphire-view-encapsulation";
5
+ export declare class MenuItemComponent {
6
+ /** Whether the item should be disabled */
7
+ disabled: BooleanInput;
8
+ /** Whether the item should be styled as danger item */
9
+ danger: BooleanInput;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuItemComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuItemComponent, "sp-menu-item", never, { "disabled": "disabled"; "danger": "danger"; }, {}, never, ["*"], false, [{ directive: typeof i1.CdkMenuItem; inputs: { "cdkMenuItemDisabled": "disabled"; "cdkMenuitemTypeaheadLabel": "typeaheadLabel"; }; outputs: { "cdkMenuItemTriggered": "triggered"; }; }, { directive: typeof i2.UseComponentStyles; inputs: {}; outputs: {}; }]>;
12
+ }
@@ -0,0 +1,12 @@
1
+ import { CdkMenu, CdkMenuItem } from '@angular/cdk/menu';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/cdk/menu";
4
+ import * as i2 from "../../common/sapphire-view-encapsulation";
5
+ export declare class MenuSectionComponent {
6
+ private menu;
7
+ firstMenuItem?: CdkMenuItem;
8
+ constructor(menu: CdkMenu);
9
+ _isFirstSection(): boolean;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuSectionComponent, never>;
11
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuSectionComponent, "sp-menu-section", never, {}, {}, ["firstMenuItem"], ["*"], false, [{ directive: typeof i1.CdkMenuGroup; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStyles; inputs: {}; outputs: {}; }]>;
12
+ }
@@ -0,0 +1,34 @@
1
+ import { CdkMenuTrigger } from '@angular/cdk/menu';
2
+ import { OnInit } from '@angular/core';
3
+ import { HorizontalPlacement, VerticalPlacement } from '../../common/placement';
4
+ import * as i0 from "@angular/core";
5
+ import * as i1 from "@angular/cdk/menu";
6
+ export declare class MenuTriggerDirective implements OnInit {
7
+ private menuTrigger;
8
+ /**
9
+ * Horizontal alignment of the menu and the trigger.
10
+ */
11
+ align: HorizontalPlacement;
12
+ /**
13
+ * Vertical direction in which the menu opens, relative to the trigger.
14
+ */
15
+ direction: VerticalPlacement;
16
+ constructor(menuTrigger: CdkMenuTrigger);
17
+ ngOnInit(): void;
18
+ close(): void;
19
+ open(): void;
20
+ toggle(): void;
21
+ getMenu(): import("@angular/cdk/menu").Menu | undefined;
22
+ isOpen(): boolean;
23
+ private handleSpace;
24
+ private handleEscape;
25
+ /**
26
+ * `CdkMenuTrigger` controls overlay creation, and doesn't allow customizing overlay config.
27
+ * We need to patch it like this to make the menu modal, like other popovers. It's unsafe, as it
28
+ * relies on private API, so we have to cover the expected result by tests.
29
+ */
30
+ private patchMenuTrigger;
31
+ private getPlacementValue;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuTriggerDirective, never>;
33
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MenuTriggerDirective, "[spMenuTriggerFor]", ["spMenuTrigger"], { "align": "spMenuTriggerAlign"; "direction": "spMenuTriggerDirection"; }, {}, never, never, false, [{ directive: typeof i1.CdkMenuTrigger; inputs: { "cdkMenuTriggerFor": "spMenuTriggerFor"; }; outputs: { "cdkMenuOpened": "spMenuOpened"; "cdkMenuClosed": "spMenuClosed"; }; }]>;
34
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/cdk/menu";
3
+ import * as i2 from "../../theme/src/theme-check.directive";
4
+ import * as i3 from "../../common/sapphire-view-encapsulation";
5
+ /** @title Menu with Standalone Trigger. */
6
+ export declare class MenuComponent {
7
+ size?: 'large' | 'medium' | 'small';
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<MenuComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<MenuComponent, "sp-menu", never, { "size": "size"; }, {}, never, ["*"], false, [{ directive: typeof i1.CdkMenu; inputs: {}; outputs: { "closed": "closed"; }; }, { directive: typeof i2.ThemeCheckDirective; inputs: {}; outputs: {}; }, { directive: typeof i3.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
10
+ }
@@ -0,0 +1,13 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./menu.component";
3
+ import * as i2 from "./menu-item.component";
4
+ import * as i3 from "./menu-section.component";
5
+ import * as i4 from "./menu-trigger.directive";
6
+ import * as i5 from "@angular/common";
7
+ import * as i6 from "@angular/cdk/menu";
8
+ import * as i7 from "../../common/sapphire-view-encapsulation";
9
+ export declare class SapphireMenuModule {
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<SapphireMenuModule, never>;
11
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireMenuModule, [typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.MenuSectionComponent, typeof i4.MenuTriggerDirective], [typeof i5.CommonModule, typeof i6.CdkMenuModule, typeof i7.UseComponentStyles], [typeof i1.MenuComponent, typeof i2.MenuItemComponent, typeof i3.MenuSectionComponent, typeof i4.MenuTriggerDirective]>;
12
+ static ɵinj: i0.ɵɵInjectorDeclaration<SapphireMenuModule>;
13
+ }
@@ -0,0 +1,18 @@
1
+ export * from './src/modal.service';
2
+ export * from './src/modal.module';
3
+ export * from './src/panel/panel.component';
4
+ export * from './src/panel/inline-panel.component';
5
+ export * from './src/panel/panel-header.component';
6
+ export * from './src/panel/panel-content.component';
7
+ export * from './src/panel/panel-footer.component';
8
+ export * from './src/panel/panel-trigger.directive';
9
+ export * from './src/panel/panel-close-button.directive';
10
+ export * from './src/panel/panel-back-button.directive';
11
+ export * from './src/dialog/dialog.component';
12
+ export * from './src/dialog/confirmation-dialog.component';
13
+ export * from './src/dialog/danger-dialog.component';
14
+ export * from './src/dialog/dialog-footer.component';
15
+ export * from './src/dialog/dialog-content.directive';
16
+ export * from './src/dialog/dialog-header.component';
17
+ export * from './src/dialog/dialog-close-button.directive';
18
+ export * from './src/dialog/dialog-trigger.directive';
@@ -0,0 +1,43 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DialogComponent } from './dialog.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A wrapper around `<sp-dialog>` which gives you a simple way of creating a
6
+ * confirmation dialog which is aligned with Sapphire design vision.
7
+ */
8
+ export declare class ConfirmationDialogComponent {
9
+ /**
10
+ * Dialog heading text. Passed to the wrapped `sp-dialog`
11
+ */
12
+ heading: string;
13
+ /**
14
+ * The label of the primary action button in the dialog footer.
15
+ */
16
+ primaryActionLabel: string;
17
+ /**
18
+ * The label of the secondary action button in the dialog footer.
19
+ */
20
+ secondaryActionLabel: string;
21
+ /**
22
+ * Emitted when the primary action is triggered. Use `$event.dialog` to access
23
+ * the wrapped dialog in the event handler, and close the dialog by calling
24
+ * `$event.dialog.close()`
25
+ */
26
+ primaryActionSelected: EventEmitter<{
27
+ dialog: DialogComponent;
28
+ }>;
29
+ /**
30
+ * Emitted when the secondary action is triggered. Use `$event.dialog` to access
31
+ * the wrapped dialog in the event handler, and close the dialog by calling
32
+ * `$event.dialog.close()`
33
+ */
34
+ secondaryActionSelected: EventEmitter<{
35
+ dialog: DialogComponent;
36
+ }>;
37
+ /**
38
+ * Reference to the wrapped `sp-dialog` component.
39
+ */
40
+ dialog?: DialogComponent;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<ConfirmationDialogComponent, never>;
42
+ static ɵcmp: i0.ɵɵComponentDeclaration<ConfirmationDialogComponent, "sp-confirmation-dialog", ["spConfirmationDialog"], { "heading": "heading"; "primaryActionLabel": "primaryActionLabel"; "secondaryActionLabel": "secondaryActionLabel"; }, { "primaryActionSelected": "primaryActionSelected"; "secondaryActionSelected": "secondaryActionSelected"; }, never, ["*"], false, never>;
43
+ }
@@ -0,0 +1,44 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { DialogComponent } from './dialog.component';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * A wrapper around `<sp-dialog>` which gives you a simple way of creating a
6
+ * danger dialog which is aligned with Sapphire design vision.
7
+ */
8
+ export declare class DangerDialogComponent {
9
+ /**
10
+ * Dialog heading text. Passed to the wrapped `sp-dialog`
11
+ */
12
+ heading: string;
13
+ /**
14
+ * The label of the primary action button in the dialog footer.
15
+ */
16
+ primaryActionLabel: string;
17
+ /**
18
+ * The label of the secondary action button in the dialog footer.
19
+ */
20
+ secondaryActionLabel: string;
21
+ /**
22
+ * Emitted when the primary action is triggered. Use `$event.dialog` to access
23
+ * the wrapped dialog in the event handler, and close the dialog by calling
24
+ * `$event.dialog.close()`
25
+ */
26
+ primaryActionSelected: EventEmitter<{
27
+ dialog: DialogComponent;
28
+ }>;
29
+ /**
30
+ * Emitted when the secondary action is triggered. Use `$event.dialog` to
31
+ * access the wrapped dialog in the event handler, and close the dialog by
32
+ * calling
33
+ * `$event.dialog.close()`
34
+ */
35
+ secondaryActionSelected: EventEmitter<{
36
+ dialog: DialogComponent;
37
+ }>;
38
+ /**
39
+ * Reference to the wrapped `sp-dialog` component.
40
+ */
41
+ dialog?: DialogComponent;
42
+ static ɵfac: i0.ɵɵFactoryDeclaration<DangerDialogComponent, never>;
43
+ static ɵcmp: i0.ɵɵComponentDeclaration<DangerDialogComponent, "sp-danger-dialog", ["spDangerDialog"], { "heading": "heading"; "primaryActionLabel": "primaryActionLabel"; "secondaryActionLabel": "secondaryActionLabel"; }, { "primaryActionSelected": "primaryActionSelected"; "secondaryActionSelected": "secondaryActionSelected"; }, never, ["*"], false, never>;
44
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../modal-close-button.directive";
3
+ import * as i2 from "../../../common/sapphire-view-encapsulation";
4
+ export declare class DialogCloseButtonDirective {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogCloseButtonDirective, never>;
6
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogCloseButtonDirective, "button[spDialogCloseButton]", never, {}, {}, never, never, false, [{ directive: typeof i1.ModalCloseButtonDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStyles; inputs: {}; outputs: {}; }]>;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { ScrollMonitorDirective } from '../../../common/scroll-monitor.directive';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../common/scroll-monitor.directive";
4
+ import * as i2 from "../../../common/sapphire-view-encapsulation";
5
+ /**
6
+ *
7
+ */
8
+ export declare class DialogContentDirective {
9
+ _scrollMonitor: ScrollMonitorDirective;
10
+ constructor(_scrollMonitor: ScrollMonitorDirective);
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogContentDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogContentDirective, "sp-dialog-content, [sp-dialog-content]", never, {}, {}, never, never, false, [{ directive: typeof i1.ScrollMonitorDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStyles; inputs: {}; outputs: {}; }]>;
13
+ }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
3
+ /**
4
+ * Marks a piece of UI as dialog footer. Use only for **custom** footer.
5
+ * For standard dialog footer (a list of right aligned buttons),
6
+ * use {@link DialogFooterComponent sp-dialog-footer} instead.
7
+ */
8
+ export declare class DialogFooterDirective {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogFooterDirective, "[spDialogFooter]", never, {}, {}, never, never, true, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
11
+ }
12
+ /**
13
+ * Standard dialog footer component. The content is supposed to be a list of
14
+ * buttons, which will be aligned to the right of the footer.
15
+ * For a custom footer, use {@link DialogFooterDirective spDialogFooter attribute directive}.
16
+ */
17
+ export declare class DialogFooterComponent {
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogFooterComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogFooterComponent, "sp-dialog-footer", never, {}, {}, never, ["*"], false, [{ directive: typeof DialogFooterDirective; inputs: {}; outputs: {}; }]>;
20
+ }
@@ -0,0 +1,25 @@
1
+ import { DialogComponent } from './dialog.component';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
4
+ /**
5
+ * Marks a piece of UI as dialog header. Use only for **custom** header.
6
+ * For standard dialog header (a heading, and a close button in passive
7
+ * dialogs), use {@link DialogHeaderComponent sp-dialog-header} instead.
8
+ */
9
+ export declare class DialogHeaderDirective {
10
+ id: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogHeaderDirective, "[spDialogHeader]", never, { "id": "id"; }, {}, never, never, true, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
13
+ }
14
+ /**
15
+ * Standard dialog header component, which is consisted of a heading (the
16
+ * content) and a close button, which is only visible in
17
+ * {@link DialogComponent#type passive} dialogs. For a custom header, use
18
+ * {@link DialogHeaderComponent spDialogHeader attribute directive}.
19
+ */
20
+ export declare class DialogHeaderComponent {
21
+ dialog: DialogComponent;
22
+ constructor(dialog: DialogComponent);
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogHeaderComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogHeaderComponent, "sp-dialog-header", never, {}, {}, never, ["*"], false, [{ directive: typeof DialogHeaderDirective; inputs: { "id": "id"; }; outputs: {}; }]>;
25
+ }
@@ -0,0 +1,13 @@
1
+ import { ModalTriggerDirective } from '../modal-trigger.directive';
2
+ import { ModalService } from '../modal.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Makes a clickable element a trigger for a dialog.
6
+ */
7
+ export declare class DialogTriggerDirective extends ModalTriggerDirective {
8
+ protected modalService: ModalService;
9
+ constructor(modalService: ModalService);
10
+ open(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogTriggerDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<DialogTriggerDirective, "[spDialogTriggerFor]", ["spDialogTrigger"], { "dismissable": "spDialogDismissable"; "keyboardDismissDisabled": "spDialogDisableKeyboardDismissable"; "templateRef": "spDialogTriggerFor"; }, {}, never, never, false, never>;
13
+ }
@@ -0,0 +1,33 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import { DialogFooterDirective } from './dialog-footer.component';
3
+ import { DialogContentDirective } from './dialog-content.directive';
4
+ import { DialogHeaderDirective } from './dialog-header.component';
5
+ import { ModalBaseComponent } from '../modal-base.component';
6
+ import * as i0 from "@angular/core";
7
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
8
+ /**
9
+ * Dialogs focus the user's attention exclusively on one task or piece of
10
+ * information via a dialog box that sits on top of the page content.
11
+ */
12
+ export declare class DialogComponent extends ModalBaseComponent {
13
+ protected dialogRef: DialogRef;
14
+ /**
15
+ * Dialog size, constraining the width of the dialog.
16
+ */
17
+ size: 'small' | 'medium' | 'large';
18
+ /**
19
+ * Type of the dialog:
20
+ * - 'passive': A dialog without footer with actions. Passive dialogs are
21
+ * used to display information, that doesn't require any further action.
22
+ * - 'active': A dialog with a footer that contains actions. Active dialogs
23
+ * are used to display information based on which the user is supposed to
24
+ * decide on an action
25
+ */
26
+ get type(): 'passive' | 'active';
27
+ footer?: DialogFooterDirective;
28
+ header?: DialogHeaderDirective;
29
+ content?: DialogContentDirective;
30
+ constructor(dialogRef: DialogRef);
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<DialogComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<DialogComponent, "sp-dialog", never, { "size": "size"; }, {}, ["footer", "header", "content"], ["sp-dialog-header, [spDialogHeader]", "sp-dialog-content, [sp-dialog-content]", "sp-dialog-footer, [spDialogFooter]"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
33
+ }
@@ -0,0 +1,33 @@
1
+ import { DialogRef, DialogRole } from '@angular/cdk/dialog';
2
+ import { AfterContentChecked, AfterContentInit, OnChanges, SimpleChanges } from '@angular/core';
3
+ import * as i0 from "@angular/core";
4
+ export declare abstract class ModalBaseComponent implements OnChanges, AfterContentInit, AfterContentChecked {
5
+ protected dialogRef: DialogRef;
6
+ /**
7
+ * Defines a string value that labels the current element.
8
+ */
9
+ ariaLabel?: string;
10
+ /**
11
+ * Identifies the element (or elements) that labels the current element.
12
+ */
13
+ ariaLabelledBy?: string;
14
+ /**
15
+ * Identifies the element (or elements) that describes the object.
16
+ */
17
+ ariaDescribedBy?: string;
18
+ /**
19
+ * The accessibility role for the dialog.
20
+ */
21
+ role?: DialogRole;
22
+ protected contentInitialized: boolean;
23
+ abstract header?: {
24
+ id: string;
25
+ };
26
+ constructor(dialogRef: DialogRef);
27
+ ngOnChanges(changes: SimpleChanges): void;
28
+ ngAfterContentInit(): void;
29
+ ngAfterContentChecked(): void;
30
+ close(): void;
31
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalBaseComponent, never>;
32
+ static ɵcmp: i0.ɵɵComponentDeclaration<ModalBaseComponent, "ng-component", never, { "ariaLabel": "aria-label"; "ariaLabelledBy": "aria-labelledby"; "ariaDescribedBy": "aria-describedby"; "role": "role"; }, {}, never, never, false, never>;
33
+ }
@@ -0,0 +1,9 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ModalCloseButtonDirective {
4
+ private dialogRef;
5
+ constructor(dialogRef: DialogRef | null);
6
+ close(): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalCloseButtonDirective, [{ optional: true; }]>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalCloseButtonDirective, never, never, {}, {}, never, never, true, never>;
9
+ }
@@ -0,0 +1,24 @@
1
+ import { TemplateRef } from '@angular/core';
2
+ import { DialogRef } from '@angular/cdk/dialog';
3
+ import { BooleanInput } from '@angular/cdk/coercion';
4
+ import { ModalOptions, ModalService } from './modal.service';
5
+ import * as i0 from "@angular/core";
6
+ /**
7
+ * Makes a clickable element a trigger for a modal
8
+ */
9
+ export declare abstract class ModalTriggerDirective implements ModalOptions {
10
+ protected modalService: ModalService;
11
+ protected templateRef: TemplateRef<unknown> | null;
12
+ protected dialogRef?: DialogRef;
13
+ get dismissable(): boolean;
14
+ set dismissable(value: BooleanInput);
15
+ private _dismissable;
16
+ get keyboardDismissDisabled(): boolean;
17
+ set keyboardDismissDisabled(value: BooleanInput);
18
+ private _keyboardDismissDisabled;
19
+ constructor(modalService: ModalService);
20
+ abstract open(): void;
21
+ close(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalTriggerDirective, never>;
23
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ModalTriggerDirective, never, never, {}, {}, never, never, true, never>;
24
+ }
@@ -0,0 +1,30 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./dialog/dialog.component";
3
+ import * as i2 from "./dialog/dialog-header.component";
4
+ import * as i3 from "./dialog/dialog-content.directive";
5
+ import * as i4 from "./dialog/dialog-footer.component";
6
+ import * as i5 from "./dialog/dialog-close-button.directive";
7
+ import * as i6 from "./dialog/dialog-trigger.directive";
8
+ import * as i7 from "./dialog/confirmation-dialog.component";
9
+ import * as i8 from "./dialog/danger-dialog.component";
10
+ import * as i9 from "./panel/panel.component";
11
+ import * as i10 from "./panel/inline-panel.component";
12
+ import * as i11 from "./panel/panel-trigger.directive";
13
+ import * as i12 from "./panel/panel-header.component";
14
+ import * as i13 from "./panel/panel-content.component";
15
+ import * as i14 from "./panel/panel-footer.component";
16
+ import * as i15 from "./panel/panel-close-button.directive";
17
+ import * as i16 from "./panel/panel-back-button.directive";
18
+ import * as i17 from "@angular/common";
19
+ import * as i18 from "@angular/cdk/dialog";
20
+ import * as i19 from "../../theme/src/theme.module";
21
+ import * as i20 from "../../typography/src/typography.module";
22
+ import * as i21 from "../../icon/src/icon.module";
23
+ import * as i22 from "../../button/src/button.module";
24
+ import * as i23 from "../../common/scroll-monitor.directive";
25
+ import * as i24 from "../../common/sapphire-view-encapsulation";
26
+ export declare class SapphireModalModule {
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<SapphireModalModule, never>;
28
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireModalModule, [typeof i1.DialogComponent, typeof i2.DialogHeaderComponent, typeof i3.DialogContentDirective, typeof i4.DialogFooterComponent, typeof i5.DialogCloseButtonDirective, typeof i6.DialogTriggerDirective, typeof i7.ConfirmationDialogComponent, typeof i8.DangerDialogComponent, typeof i9.PanelComponent, typeof i10.InlinePanelComponent, typeof i11.PanelTriggerDirective, typeof i12.PanelHeaderComponent, typeof i13.PanelContentComponent, typeof i14.PanelFooterComponent, typeof i14.PanelFooterDirective, typeof i15.PanelCloseButtonDirective, typeof i16.PanelBackButtonDirective], [typeof i17.CommonModule, typeof i18.DialogModule, typeof i19.SapphireThemeModule, typeof i20.SapphireTypographyModule, typeof i21.SapphireIconModule, typeof i22.SapphireButtonModule, typeof i2.DialogHeaderDirective, typeof i4.DialogFooterDirective, typeof i23.ScrollMonitorDirective, typeof i12.PanelHeaderDirective, typeof i24.UseComponentStyles], [typeof i1.DialogComponent, typeof i2.DialogHeaderComponent, typeof i3.DialogContentDirective, typeof i4.DialogFooterComponent, typeof i5.DialogCloseButtonDirective, typeof i6.DialogTriggerDirective, typeof i2.DialogHeaderDirective, typeof i4.DialogFooterDirective, typeof i7.ConfirmationDialogComponent, typeof i8.DangerDialogComponent, typeof i9.PanelComponent, typeof i10.InlinePanelComponent, typeof i11.PanelTriggerDirective, typeof i12.PanelHeaderComponent, typeof i12.PanelHeaderDirective, typeof i13.PanelContentComponent, typeof i14.PanelFooterComponent, typeof i14.PanelFooterDirective, typeof i15.PanelCloseButtonDirective, typeof i16.PanelBackButtonDirective]>;
29
+ static ɵinj: i0.ɵɵInjectorDeclaration<SapphireModalModule>;
30
+ }
@@ -0,0 +1,26 @@
1
+ import { Dialog, DialogRef } from '@angular/cdk/dialog';
2
+ import { ComponentType, Overlay } from '@angular/cdk/overlay';
3
+ import { TemplateRef } from '@angular/core';
4
+ import * as i0 from "@angular/core";
5
+ export type ModalOptions = {
6
+ /**
7
+ * Whether to close the dialog when the backdrop is clicked/touched.
8
+ * @default false
9
+ */
10
+ dismissable?: boolean;
11
+ /**
12
+ * Whether pressing the escape key to close the dialog should be disabled.
13
+ * @default false
14
+ */
15
+ keyboardDismissDisabled?: boolean;
16
+ };
17
+ export declare class ModalService {
18
+ private cdkDialog;
19
+ private overlay;
20
+ constructor(cdkDialog: Dialog, overlay: Overlay);
21
+ private open;
22
+ openDialog<C = unknown>(componentOrTemplateRef: ComponentType<C> | TemplateRef<C>, options?: ModalOptions): DialogRef<unknown, C>;
23
+ openPanel<C = unknown>(componentOrTemplateRef: ComponentType<C> | TemplateRef<C>, options?: ModalOptions): DialogRef<unknown, C>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
26
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
3
+ export declare class InlinePanelComponent {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<InlinePanelComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<InlinePanelComponent, "sp-inline-panel", never, {}, {}, never, ["*"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class PanelBackButtonDirective {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelBackButtonDirective, never>;
4
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PanelBackButtonDirective, "[spPanelBackButton]", never, {}, {}, never, never, false, never>;
5
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../modal-close-button.directive";
3
+ export declare class PanelCloseButtonDirective {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelCloseButtonDirective, never>;
5
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PanelCloseButtonDirective, "button[spPanelCloseButton]", never, {}, {}, never, never, false, [{ directive: typeof i1.ModalCloseButtonDirective; inputs: {}; outputs: {}; }]>;
6
+ }
@@ -0,0 +1,14 @@
1
+ import { ScrollMonitorDirective } from '../../../common/scroll-monitor.directive';
2
+ import { BooleanInput } from '@angular/cdk/coercion';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "../../../common/scroll-monitor.directive";
5
+ import * as i2 from "../../../common/sapphire-view-encapsulation";
6
+ export declare class PanelContentComponent {
7
+ _scrollMonitor: ScrollMonitorDirective;
8
+ get noPadding(): boolean;
9
+ set noPadding(value: BooleanInput);
10
+ private _noPadding;
11
+ constructor(_scrollMonitor: ScrollMonitorDirective);
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelContentComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelContentComponent, "sp-panel-content", never, { "noPadding": "noPadding"; }, {}, never, ["*"], false, [{ directive: typeof i1.ScrollMonitorDirective; inputs: {}; outputs: {}; }, { directive: typeof i2.UseComponentStyles; inputs: {}; outputs: {}; }]>;
14
+ }
@@ -0,0 +1,21 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
3
+ /**
4
+ * Marks a piece of UI as panel footer. Use only for **custom** footer.
5
+ * For standard panel footer with default padding,
6
+ * use {@link PanelFooterComponent sp-panel-footer} instead.
7
+ */
8
+ export declare class PanelFooterDirective {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelFooterDirective, never>;
10
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PanelFooterDirective, "[spPanelFooter]", never, {}, {}, never, never, false, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
11
+ }
12
+ /**
13
+ * Standard panel footer component with default padding. For a custom
14
+ * footer, use
15
+ * {@link PanelFooterDirective spPanelFooter attribute directive}.
16
+ */
17
+ export declare class PanelFooterComponent {
18
+ constructor();
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelFooterComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelFooterComponent, "sp-panel-footer", never, {}, {}, never, ["*"], false, never>;
21
+ }
@@ -0,0 +1,26 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
4
+ /**
5
+ * Marks a piece of UI as panel header. Use only for **custom** header.
6
+ * For standard panel header (a heading, optional subheading and a
7
+ * close button), use {@link PanelHeaderComponent sp-panel-header} instead.
8
+ */
9
+ export declare class PanelHeaderDirective {
10
+ id: string;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PanelHeaderDirective, "[spPanelHeader]", never, { "id": "id"; }, {}, never, never, true, [{ directive: typeof i1.UseComponentStyles; inputs: {}; outputs: {}; }]>;
13
+ }
14
+ /**
15
+ * Standard panel header component, which consists of a heading (the
16
+ * content), optional subheading and a close button. For a custom
17
+ * header, use
18
+ * {@link PanelHeaderDirective spPanelHeader attribute directive}.
19
+ */
20
+ export declare class PanelHeaderComponent {
21
+ subheading?: string;
22
+ closeEventEmitter: EventEmitter<any>;
23
+ close(event: MouseEvent): void;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelHeaderComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelHeaderComponent, "sp-panel-header", never, { "subheading": "subheading"; }, { "closeEventEmitter": "closeClicked"; }, never, ["[spPanelBackButton]", "*"], false, [{ directive: typeof PanelHeaderDirective; inputs: { "id": "id"; }; outputs: {}; }]>;
26
+ }
@@ -0,0 +1,13 @@
1
+ import { ModalTriggerDirective } from '../modal-trigger.directive';
2
+ import { ModalService } from '../modal.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Makes a clickable element a trigger for a panel.
6
+ */
7
+ export declare class PanelTriggerDirective extends ModalTriggerDirective {
8
+ protected modalService: ModalService;
9
+ constructor(modalService: ModalService);
10
+ open(): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelTriggerDirective, never>;
12
+ static ɵdir: i0.ɵɵDirectiveDeclaration<PanelTriggerDirective, "[spPanelTriggerFor]", ["spPanelTrigger"], { "dismissable": "spPanelDismissable"; "keyboardDismissDisabled": "spPanelDisableKeyboardDismissable"; "templateRef": "spPanelTriggerFor"; }, {}, never, never, false, never>;
13
+ }
@@ -0,0 +1,18 @@
1
+ import { DialogRef } from '@angular/cdk/dialog';
2
+ import { PanelHeaderDirective } from './panel-header.component';
3
+ import { PanelContentComponent } from './panel-content.component';
4
+ import { ModalBaseComponent } from '../modal-base.component';
5
+ import * as i0 from "@angular/core";
6
+ import * as i1 from "../../../common/sapphire-view-encapsulation";
7
+ export declare class PanelComponent extends ModalBaseComponent {
8
+ protected dialogRef: DialogRef;
9
+ /**
10
+ * Panel size, constraining the width of the panel.
11
+ */
12
+ size: 'small' | 'large';
13
+ header?: PanelHeaderDirective;
14
+ content?: PanelContentComponent;
15
+ constructor(dialogRef: DialogRef);
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<PanelComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<PanelComponent, "sp-panel", never, { "size": "size"; }, {}, ["header", "content"], ["sp-panel-header, [spPanelHeader]", "sp-panel-content", "sp-panel-footer, [spPanelFooter]"], false, [{ directive: typeof i1.UseComponentStylesOnHost; inputs: {}; outputs: {}; }]>;
18
+ }
@@ -0,0 +1,2 @@
1
+ export { NotificationBadgeComponent } from './src/notification-badge.component';
2
+ export { SapphireNotificationBadgeModule } from './src/notification-badge.module';
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class NotificationBadgeComponent {
3
+ containerType?: 'circle' | 'rectangle';
4
+ size?: 'small' | 'medium' | 'large';
5
+ variant?: 'primary' | 'secondary';
6
+ count?: number;
7
+ show?: boolean;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<NotificationBadgeComponent, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<NotificationBadgeComponent, "sp-notification-badge", never, { "containerType": "containerType"; "size": "size"; "variant": "variant"; "count": "count"; "show": "show"; }, {}, never, ["*"], false, never>;
10
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./notification-badge.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class SapphireNotificationBadgeModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<SapphireNotificationBadgeModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireNotificationBadgeModule, [typeof i1.NotificationBadgeComponent], [typeof i2.CommonModule], [typeof i1.NotificationBadgeComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<SapphireNotificationBadgeModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './src/pagination.component';
2
+ export * from './src/pagination.module';