@theseam/ui-common 0.4.0-beta.3 → 0.4.0-beta.5

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 (538) hide show
  1. package/breadcrumbs/breadcrumb.d.ts +1 -1
  2. package/breadcrumbs/breadcrumbs-resolver.d.ts +1 -1
  3. package/core/common-behaviors/active.d.ts +1 -1
  4. package/core/common-behaviors/constructor.d.ts +1 -1
  5. package/core/common-behaviors/disabled.d.ts +1 -1
  6. package/core/common-behaviors/initialized.d.ts +1 -1
  7. package/core/common-behaviors/size.d.ts +1 -1
  8. package/core/common-behaviors/tabindex.d.ts +1 -1
  9. package/core/common-behaviors/theme.d.ts +1 -1
  10. package/data-exporter/data-exporter.d.ts +1 -1
  11. package/data-filters/data-filter.d.ts +3 -3
  12. package/data-filters/filters/data-filter-search/search-filter-options.d.ts +1 -1
  13. package/datatable/datatable-column/datatable-column.component.d.ts +1 -1
  14. package/datatable/models/preferences.d.ts +1 -1
  15. package/datatable/models/table-column.d.ts +1 -1
  16. package/datatable/services/columns-manager.service.d.ts +1 -1
  17. package/datatable-dynamic/datatable-dynamic-def.d.ts +3 -3
  18. package/datatable-dynamic/models/dynamic-datatable-action-menu-record.d.ts +1 -1
  19. package/dynamic/models/dynamic-value-base-type.d.ts +1 -1
  20. package/dynamic/models/dynamic-value-evaluatable-type.d.ts +1 -1
  21. package/dynamic/models/dynamic-value-primitive.d.ts +1 -1
  22. package/dynamic/models/dynamic-value.d.ts +1 -1
  23. package/dynamic/tokens/api-config.d.ts +1 -1
  24. package/esm2020/asset-reader/asset-reader-helper.service.mjs +3 -3
  25. package/esm2020/asset-reader/asset-reader.module.mjs +4 -4
  26. package/esm2020/asset-reader/encrypted-asset-link.directive.mjs +12 -12
  27. package/esm2020/breadcrumbs/breadcrumbs/breadcrumbs.component.mjs +3 -3
  28. package/esm2020/breadcrumbs/breadcrumbs.module.mjs +4 -4
  29. package/esm2020/breadcrumbs/breadcrumbs.service.mjs +3 -3
  30. package/esm2020/buttons/badge-button/badge-button.component.mjs +6 -6
  31. package/esm2020/buttons/button/button.component.mjs +9 -9
  32. package/esm2020/buttons/buttons.module.mjs +4 -4
  33. package/esm2020/buttons/progress-circle-button/progress-circle-button.component.mjs +3 -3
  34. package/esm2020/buttons/toggle-button/toggle-button.component.mjs +5 -5
  35. package/esm2020/card/card-action/card-action.component.mjs +3 -3
  36. package/esm2020/card/card-body/card-body.component.mjs +3 -3
  37. package/esm2020/card/card-footer/card-footer.component.mjs +3 -3
  38. package/esm2020/card/card-header/card-header.component.mjs +3 -3
  39. package/esm2020/card/card.component.mjs +3 -3
  40. package/esm2020/card/card.module.mjs +4 -4
  41. package/esm2020/checkbox/checkbox.component.mjs +43 -43
  42. package/esm2020/checkbox/checkbox.module.mjs +4 -4
  43. package/esm2020/checkbox/testing/checkbox.harness.mjs +1 -1
  44. package/esm2020/checkbox/testing/index.mjs +1 -1
  45. package/esm2020/confirm-dialog/confirm-click.directive.mjs +9 -9
  46. package/esm2020/confirm-dialog/confirm-dialog.component.mjs +3 -3
  47. package/esm2020/confirm-dialog/confirm-dialog.module.mjs +4 -4
  48. package/esm2020/confirm-dialog/confirm-dialog.service.mjs +3 -3
  49. package/esm2020/core/common-behaviors/active.mjs +3 -3
  50. package/esm2020/core/common-behaviors/disabled.mjs +3 -3
  51. package/esm2020/core/common-behaviors/size.mjs +6 -6
  52. package/esm2020/core/common-behaviors/tabindex.mjs +5 -5
  53. package/esm2020/core/common-behaviors/theme.mjs +6 -6
  54. package/esm2020/data-exporter/data-exporter.module.mjs +4 -4
  55. package/esm2020/data-exporter/exporters/csv-exporter.mjs +3 -3
  56. package/esm2020/data-exporter/exporters/xlsx-exporter.mjs +3 -3
  57. package/esm2020/data-filters/data-filters.module.mjs +4 -4
  58. package/esm2020/data-filters/filters/data-filter-search/data-filter-search.component.mjs +10 -10
  59. package/esm2020/data-filters/filters/data-filter-text/data-filter-text.component.mjs +10 -10
  60. package/esm2020/data-filters/filters/data-filter-toggle-buttons/data-filter-toggle-buttons.component.mjs +11 -11
  61. package/esm2020/datatable/datatable/datatable.component.mjs +108 -108
  62. package/esm2020/datatable/datatable-action-menu/datatable-action-menu.component.mjs +3 -3
  63. package/esm2020/datatable/datatable-action-menu-item/datatable-action-menu-item.component.mjs +3 -3
  64. package/esm2020/datatable/datatable-column/datatable-column.component.mjs +7 -7
  65. package/esm2020/datatable/datatable-column-preferences/datatable-column-preferences.component.mjs +3 -3
  66. package/esm2020/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.mjs +3 -3
  67. package/esm2020/datatable/datatable-export-button/datatable-export-button.component.mjs +7 -7
  68. package/esm2020/datatable/datatable-footer/datatable-footer-tpl.directive.mjs +3 -3
  69. package/esm2020/datatable/datatable-footer/datatable-footer.directive.mjs +3 -3
  70. package/esm2020/datatable/datatable-menu-bar/datatable-menu-bar.component.mjs +8 -8
  71. package/esm2020/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.mjs +3 -3
  72. package/esm2020/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.mjs +3 -3
  73. package/esm2020/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.mjs +3 -3
  74. package/esm2020/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.mjs +3 -3
  75. package/esm2020/datatable/datatable-menu-bar-text/datatable-menu-bar-text.component.mjs +3 -3
  76. package/esm2020/datatable/datatable-row-detail/datatable-row-detail-tpl.directive.mjs +3 -3
  77. package/esm2020/datatable/datatable-row-detail/datatable-row-detail.directive.mjs +3 -3
  78. package/esm2020/datatable/datatable.module.mjs +4 -4
  79. package/esm2020/datatable/directives/datatable-action-menu-item.directive.mjs +3 -3
  80. package/esm2020/datatable/directives/datatable-action-menu-toggle.directive.mjs +11 -11
  81. package/esm2020/datatable/directives/datatable-cell-tpl.directive.mjs +3 -3
  82. package/esm2020/datatable/directives/datatable-filter.directive.mjs +3 -3
  83. package/esm2020/datatable/directives/datatable-row-action-item.directive.mjs +3 -3
  84. package/esm2020/datatable/services/columns-alterations-manager.service.mjs +3 -3
  85. package/esm2020/datatable/services/columns-manager.service.mjs +3 -3
  86. package/esm2020/datatable/services/datatable-column-changes.service.mjs +3 -3
  87. package/esm2020/datatable/services/datatable-preferences.service.mjs +6 -6
  88. package/esm2020/datatable/services/datatable-scrollbar-helper.service.mjs +3 -3
  89. package/esm2020/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.mjs +12 -12
  90. package/esm2020/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.mjs +8 -8
  91. package/esm2020/datatable-dynamic/datatable-dynamic-menu-bar-content/datatable-dynamic-menu-bar-content.component.mjs +6 -6
  92. package/esm2020/datatable-dynamic/datatable-dynamic.component.mjs +8 -8
  93. package/esm2020/datatable-dynamic/datatable-dynamic.module.mjs +4 -4
  94. package/esm2020/datatable-dynamic/directives/datatable-dynamic-action-menu-item.directive.mjs +7 -7
  95. package/esm2020/datatable-dynamic/dynamic-datatable-def.service.mjs +3 -3
  96. package/esm2020/datatable-dynamic/dynamic-datatable-row-actions.service.mjs +3 -3
  97. package/esm2020/dynamic/action/api/dynamic-action-api.service.mjs +3 -3
  98. package/esm2020/dynamic/action/dynamic-action-helper.service.mjs +3 -3
  99. package/esm2020/dynamic/action/link/dynamic-action-link.service.mjs +3 -3
  100. package/esm2020/dynamic/action/modal/dynamic-action-modal.service.mjs +3 -3
  101. package/esm2020/dynamic/dynamic-value-helper.service.mjs +3 -3
  102. package/esm2020/dynamic/evaluators/exporters-data-evaluator/exporters-data-evaluator.mjs +3 -3
  103. package/esm2020/dynamic/evaluators/jexl-evaluator/jexl-evaluator.mjs +3 -3
  104. package/esm2020/dynamic-component-loader/dynamic-component-loader.module.mjs +4 -4
  105. package/esm2020/dynamic-component-loader/dynamic-component-loader.service.mjs +3 -3
  106. package/esm2020/footer-bar/footer-bar/footer-bar.component.mjs +3 -3
  107. package/esm2020/footer-bar/footer-bar.module.mjs +4 -4
  108. package/esm2020/form-field/form-field-error.directive.mjs +6 -6
  109. package/esm2020/form-field/form-field-help-text.directive.mjs +3 -3
  110. package/esm2020/form-field/form-field-label-tpl.directive.mjs +3 -3
  111. package/esm2020/form-field/form-field-required-indicator.component.mjs +3 -3
  112. package/esm2020/form-field/form-field-tokens.mjs +1 -1
  113. package/esm2020/form-field/form-field.component.mjs +48 -48
  114. package/esm2020/form-field/form-field.module.mjs +4 -4
  115. package/esm2020/form-field/input.directive.mjs +43 -43
  116. package/esm2020/form-field/testing/form-field-required-indicator.harness.mjs +1 -1
  117. package/esm2020/form-field/testing/index.mjs +1 -1
  118. package/esm2020/form-field-error/form-field-error/form-field-error.component.mjs +3 -3
  119. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item-tpl.directive.mjs +3 -3
  120. package/esm2020/form-field-error/form-field-error-list/form-field-error-list-item.directive.mjs +3 -3
  121. package/esm2020/form-field-error/form-field-error-list/form-field-error-list.component.mjs +92 -92
  122. package/esm2020/form-field-error/form-field-error.module.mjs +4 -4
  123. package/esm2020/framework/base-layout/base-layout.component.mjs +6 -6
  124. package/esm2020/framework/base-layout/base-layout.module.mjs +4 -4
  125. package/esm2020/framework/base-layout/directives/base-layout-content-footer.directive.mjs +3 -3
  126. package/esm2020/framework/base-layout/directives/base-layout-content-header.directive.mjs +3 -3
  127. package/esm2020/framework/base-layout/directives/base-layout-content.directive.mjs +3 -3
  128. package/esm2020/framework/base-layout/directives/base-layout-nav-toggle.directive.mjs +10 -10
  129. package/esm2020/framework/base-layout/directives/base-layout-side-bar-footer.directive.mjs +3 -3
  130. package/esm2020/framework/base-layout/directives/base-layout-side-bar.directive.mjs +3 -3
  131. package/esm2020/framework/base-layout/directives/base-layout-top-bar.directive.mjs +3 -3
  132. package/esm2020/framework/dashboard/dashboard-widget-container/dashboard-widget-container.component.mjs +3 -3
  133. package/esm2020/framework/dashboard/dashboard-widget-template-container/dashboard-widget-template-container.component.mjs +3 -3
  134. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widget-portal-outlet.directive.mjs +3 -3
  135. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets-preferences.service.mjs +3 -3
  136. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.component.mjs +18 -18
  137. package/esm2020/framework/dashboard/dashboard-widgets/dashboard-widgets.service.mjs +12 -12
  138. package/esm2020/framework/dashboard/dashboard-widgets-tokens.mjs +1 -1
  139. package/esm2020/framework/dashboard/dashboard.component.mjs +3 -3
  140. package/esm2020/framework/dashboard/dashboard.module.mjs +4 -4
  141. package/esm2020/framework/dynamic-router/dynamic-router.module.mjs +4 -4
  142. package/esm2020/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.mjs +3 -3
  143. package/esm2020/framework/dynamic-router/resolvers/hierarchy-level.resolver.mjs +3 -3
  144. package/esm2020/framework/schema-form/schema-form-framework.component.mjs +3 -3
  145. package/esm2020/framework/schema-form/schema-form-framework.mjs +3 -3
  146. package/esm2020/framework/schema-form/schema-form.module.mjs +4 -4
  147. package/esm2020/framework/schema-form-controls/schema-form-checkbox/schema-form-checkbox.component.mjs +3 -3
  148. package/esm2020/framework/schema-form-controls/schema-form-controls.module.mjs +4 -4
  149. package/esm2020/framework/schema-form-controls/schema-form-input/schema-form-input.component.mjs +3 -3
  150. package/esm2020/framework/schema-form-controls/schema-form-number/schema-form-number.component.mjs +3 -3
  151. package/esm2020/framework/schema-form-controls/schema-form-select/schema-form-select.component.mjs +3 -3
  152. package/esm2020/framework/schema-form-controls/schema-form-submit/schema-form-submit.component.mjs +3 -3
  153. package/esm2020/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.mjs +3 -3
  154. package/esm2020/framework/side-nav/side-nav-item/side-nav-item.component.mjs +24 -24
  155. package/esm2020/framework/side-nav/side-nav-toggle/side-nav-toggle.component.mjs +3 -3
  156. package/esm2020/framework/side-nav/side-nav-tokens.mjs +1 -1
  157. package/esm2020/framework/side-nav/side-nav.component.mjs +17 -17
  158. package/esm2020/framework/side-nav/side-nav.module.mjs +4 -4
  159. package/esm2020/framework/side-nav/side-nav.service.mjs +3 -3
  160. package/esm2020/framework/top-bar/top-bar-item.directive.mjs +3 -3
  161. package/esm2020/framework/top-bar/top-bar-menu-btn-detail.directive.mjs +3 -3
  162. package/esm2020/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.mjs +3 -3
  163. package/esm2020/framework/top-bar/top-bar-menu.directive.mjs +3 -3
  164. package/esm2020/framework/top-bar/top-bar-title/top-bar-title.component.mjs +3 -3
  165. package/esm2020/framework/top-bar/top-bar.component.mjs +3 -3
  166. package/esm2020/framework/top-bar/top-bar.module.mjs +4 -4
  167. package/esm2020/google-maps/google-maps/google-maps.component.mjs +17 -17
  168. package/esm2020/google-maps/google-maps-controls.service.mjs +3 -3
  169. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.component.mjs +20 -20
  170. package/esm2020/google-maps/google-maps-places-autocomplete/google-maps-places-autocomplete.directive.mjs +7 -7
  171. package/esm2020/google-maps/google-maps-recenter-button-control/google-maps-recenter-button-control.component.mjs +7 -7
  172. package/esm2020/google-maps/google-maps-upload-button-control/google-maps-upload-button-control.component.mjs +7 -7
  173. package/esm2020/google-maps/google-maps.module.mjs +4 -4
  174. package/esm2020/google-maps/google-maps.service.mjs +5 -5
  175. package/esm2020/google-maps/map-control.component.mjs +9 -9
  176. package/esm2020/google-maps/map-file-drop/map-file-drop.component.mjs +3 -3
  177. package/esm2020/google-maps/map-value-manager.service.mjs +3 -3
  178. package/esm2020/graphql/datatable/datatable-graphql-query-ref.mjs +5 -5
  179. package/esm2020/graphql/datatable/datatable-graphql.service.mjs +3 -3
  180. package/esm2020/icon/icon/icon.component.mjs +3 -3
  181. package/esm2020/icon/icon-btn/icon-btn.component.mjs +24 -24
  182. package/esm2020/icon/icon-notification/icon-notification.component.mjs +3 -3
  183. package/esm2020/icon/icon.module.mjs +4 -4
  184. package/esm2020/layout/layout.module.mjs +4 -4
  185. package/esm2020/layout/layout.service.mjs +3 -3
  186. package/esm2020/loading/loading/loading.component.mjs +7 -7
  187. package/esm2020/loading/loading-overlay.service.mjs +3 -3
  188. package/esm2020/loading/loading.module.mjs +4 -4
  189. package/esm2020/menu/menu-divider.component.mjs +3 -3
  190. package/esm2020/menu/menu-footer/menu-footer.component.mjs +3 -3
  191. package/esm2020/menu/menu-footer-action/menu-footer-action.component.mjs +7 -7
  192. package/esm2020/menu/menu-header/menu-header.component.mjs +3 -3
  193. package/esm2020/menu/menu-item.component.mjs +3 -3
  194. package/esm2020/menu/menu-toggle.directive.mjs +42 -42
  195. package/esm2020/menu/menu.component.mjs +15 -15
  196. package/esm2020/menu/menu.module.mjs +4 -4
  197. package/esm2020/modal/directives/modal-close.directive.mjs +11 -11
  198. package/esm2020/modal/directives/modal-footer-tpl.directive.mjs +3 -3
  199. package/esm2020/modal/directives/modal-header-icon-tpl.directive.mjs +3 -3
  200. package/esm2020/modal/directives/modal-header-title-tpl.directive.mjs +3 -3
  201. package/esm2020/modal/directives/modal-title.directive.mjs +3 -3
  202. package/esm2020/modal/directives/modal.directive.mjs +3 -3
  203. package/esm2020/modal/modal/modal.component.mjs +19 -19
  204. package/esm2020/modal/modal-body/modal-body.component.mjs +3 -3
  205. package/esm2020/modal/modal-container/modal-container.component.mjs +12 -12
  206. package/esm2020/modal/modal-footer/modal-footer.component.mjs +3 -3
  207. package/esm2020/modal/modal-header/modal-header.component.mjs +3 -3
  208. package/esm2020/modal/modal.module.mjs +4 -4
  209. package/esm2020/modal/modal.service.mjs +16 -16
  210. package/esm2020/modal/route-modal/route-modal.component.mjs +3 -3
  211. package/esm2020/popover/popover/popover.component.mjs +18 -18
  212. package/esm2020/popover/popover.directive.mjs +32 -32
  213. package/esm2020/popover/popover.module.mjs +4 -4
  214. package/esm2020/progress/progress-circle/progress-circle.component.mjs +9 -9
  215. package/esm2020/progress/progress.module.mjs +4 -4
  216. package/esm2020/scrollbar/overlay-scrollbar.directive.mjs +10 -10
  217. package/esm2020/scrollbar/overlay-scrollbars.service.mjs +3 -3
  218. package/esm2020/scrollbar/scrollbar.module.mjs +4 -4
  219. package/esm2020/services/asset-loader.service.mjs +3 -3
  220. package/esm2020/services/font-loader.service.mjs +3 -3
  221. package/esm2020/services/router-helpers.service.mjs +3 -3
  222. package/esm2020/shared/components/password-input-reveal/password-input-reveal.component.mjs +3 -3
  223. package/esm2020/shared/directives/auto-focus.directive.mjs +3 -3
  224. package/esm2020/shared/directives/click-outside.directive.mjs +9 -9
  225. package/esm2020/shared/directives/disable-control.directive.mjs +7 -7
  226. package/esm2020/shared/directives/elem-resized.directive.mjs +3 -3
  227. package/esm2020/shared/directives/hover-class-toggle.directive.mjs +10 -10
  228. package/esm2020/shared/directives/hover-class.directive.mjs +9 -9
  229. package/esm2020/shared/directives/ng-select-extra.directive.mjs +26 -26
  230. package/esm2020/shared/directives/ngx-quill-extra.directive.mjs +10 -10
  231. package/esm2020/shared/pipes/mask-chars.pipe.mjs +3 -3
  232. package/esm2020/shared/pipes/truncate.pipe.mjs +3 -3
  233. package/esm2020/shared/shared.module.mjs +4 -4
  234. package/esm2020/storage/local-storage.service.mjs +3 -3
  235. package/esm2020/story-helpers/initial-route.service.mjs +3 -3
  236. package/esm2020/story-helpers/story-empty-with-route.component.mjs +3 -3
  237. package/esm2020/story-helpers/story-empty.component.mjs +3 -3
  238. package/esm2020/story-helpers/story-helper-components.module.mjs +4 -4
  239. package/esm2020/story-helpers/story-initial-route.mjs +4 -4
  240. package/esm2020/story-helpers/story-modal-container.component.mjs +6 -6
  241. package/esm2020/story-helpers/story-toastr.service.mjs +3 -3
  242. package/esm2020/tabbed/directives/tabbed-tab-content.directive.mjs +3 -3
  243. package/esm2020/tabbed/directives/tabbed-tab.directive.mjs +3 -3
  244. package/esm2020/tabbed/tabbed-content/tabbed-content.component.mjs +3 -3
  245. package/esm2020/tabbed/tabbed-item/tabbed-item.component.mjs +3 -3
  246. package/esm2020/tabbed/tabbed-models.mjs +1 -1
  247. package/esm2020/tabbed/tabbed.component.mjs +13 -13
  248. package/esm2020/tabbed/tabbed.module.mjs +4 -4
  249. package/esm2020/tabbed/tabbed.service.mjs +3 -3
  250. package/esm2020/table/table/table.component.mjs +11 -11
  251. package/esm2020/table/table.module.mjs +4 -4
  252. package/esm2020/table-cell-type/services/table-cell-types-helpers.service.mjs +3 -3
  253. package/esm2020/table-cell-type/table-cell-type-selector.component.mjs +3 -3
  254. package/esm2020/table-cell-type/table-cell-type.module.mjs +4 -4
  255. package/esm2020/table-cell-types/table-cell-type-currency/table-cell-type-currency.component.mjs +3 -3
  256. package/esm2020/table-cell-types/table-cell-type-date/table-cell-type-date.component.mjs +3 -3
  257. package/esm2020/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.component.mjs +3 -3
  258. package/esm2020/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.mjs +31 -31
  259. package/esm2020/table-cell-types/table-cell-type-integer/table-cell-type-integer.component.mjs +3 -3
  260. package/esm2020/table-cell-types/table-cell-type-phone/table-cell-type-phone.component.mjs +6 -6
  261. package/esm2020/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.mjs +3 -3
  262. package/esm2020/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon.component.mjs +3 -3
  263. package/esm2020/table-cell-types/table-cell-type-string/table-cell-type-string.component.mjs +23 -23
  264. package/esm2020/table-cell-types/table-cell-types.module.mjs +4 -4
  265. package/esm2020/tel-input/phone-number.pipe.mjs +3 -3
  266. package/esm2020/tel-input/tel-input/tel-input.component.mjs +34 -34
  267. package/esm2020/tel-input/tel-input.directive.mjs +18 -18
  268. package/esm2020/tel-input/tel-input.module.mjs +4 -4
  269. package/esm2020/tiled-select/components/tiled-select/tiled-select.component.mjs +20 -20
  270. package/esm2020/tiled-select/components/tiled-select-tile/tiled-select-tile.component.mjs +6 -6
  271. package/esm2020/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.mjs +10 -10
  272. package/esm2020/tiled-select/directives/tiled-select-tile-icon-tpl.directive.mjs +3 -3
  273. package/esm2020/tiled-select/directives/tiled-select-tile-label-tpl.directive.mjs +3 -3
  274. package/esm2020/tiled-select/directives/tiled-select-tile-overlay.directive.mjs +3 -3
  275. package/esm2020/tiled-select/tiled-select.module.mjs +4 -4
  276. package/esm2020/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.mjs +3 -3
  277. package/esm2020/toggle-edit/toggle-edit-display-tpl.directive.mjs +3 -3
  278. package/esm2020/toggle-edit/toggle-edit-keyboard-listener.service.mjs +3 -3
  279. package/esm2020/toggle-edit/toggle-edit.component.mjs +16 -16
  280. package/esm2020/toggle-edit/toggle-edit.module.mjs +4 -4
  281. package/esm2020/toggle-group/toggle-group-option.directive.mjs +12 -12
  282. package/esm2020/toggle-group/toggle-group.directive.mjs +3 -3
  283. package/esm2020/toggle-group/toggle-group.module.mjs +4 -4
  284. package/esm2020/unsaved-changes-dialog/unsaved-changes-can-deactivate.mjs +3 -3
  285. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.component.mjs +3 -3
  286. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.guard.mjs +3 -3
  287. package/esm2020/unsaved-changes-dialog/unsaved-changes-dialog.module.mjs +4 -4
  288. package/esm2020/utils/file-utils.mjs +2 -3
  289. package/esm2020/utils/geo-json/coerce-feature-collection.mjs +1 -1
  290. package/esm2020/utils/geo-json/geo-json-to-area.mjs +1 -1
  291. package/esm2020/utils/geo-json/is-feature-collection.validator.mjs +1 -1
  292. package/esm2020/utils/geo-json/is-only-geometry-types.mjs +1 -1
  293. package/esm2020/utils/geo-json/is-only-geometry-types.validator.mjs +1 -1
  294. package/esm2020/utils/geo-json/merge-polygons.mjs +1 -1
  295. package/esm2020/utils/geo-json/no-inner-rings.validator.mjs +1 -1
  296. package/esm2020/utils/geo-json/read-geo-file.mjs +5 -2
  297. package/esm2020/utils/geo-json/split-multi-polygons.mjs +1 -1
  298. package/esm2020/viewers/html-template-viewer/html-template-viewer.component.mjs +37 -37
  299. package/esm2020/viewers/html-template-viewer/html-template-viewer.module.mjs +4 -4
  300. package/esm2020/viewers/pdf-viewer/pdf-page/pdf-page.component.mjs +10 -10
  301. package/esm2020/viewers/pdf-viewer/pdf-renderer.service.mjs +3 -3
  302. package/esm2020/viewers/pdf-viewer/pdf-viewer.component.mjs +38 -38
  303. package/esm2020/viewers/pdf-viewer/pdf-viewer.module.mjs +4 -4
  304. package/esm2020/widget/directives/widget-drag-handle.directive.mjs +12 -12
  305. package/esm2020/widget/directives/widget-icon-tpl.directive.mjs +3 -3
  306. package/esm2020/widget/directives/widget-title-tpl.directive.mjs +3 -3
  307. package/esm2020/widget/widget/widget.component.mjs +32 -35
  308. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.component.mjs +3 -3
  309. package/esm2020/widget/widget-content-components/widget-button-group/widget-button-group.module.mjs +4 -4
  310. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.component.mjs +3 -3
  311. package/esm2020/widget/widget-content-components/widget-content-header/widget-content-header.module.mjs +4 -4
  312. package/esm2020/widget/widget-content-components/widget-description/widget-description.component.mjs +3 -3
  313. package/esm2020/widget/widget-content-components/widget-description/widget-description.module.mjs +4 -4
  314. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.component.mjs +7 -7
  315. package/esm2020/widget/widget-content-components/widget-empty-label/widget-empty-label.module.mjs +4 -4
  316. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.component.mjs +3 -3
  317. package/esm2020/widget/widget-content-components/widget-footer-link/widget-footer-link.module.mjs +4 -4
  318. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.component.mjs +3 -3
  319. package/esm2020/widget/widget-content-components/widget-footer-text/widget-footer-text.module.mjs +4 -4
  320. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.component.mjs +3 -3
  321. package/esm2020/widget/widget-content-components/widget-header-badge/widget-header-badge.module.mjs +4 -4
  322. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item-icon-tpl.directive.mjs +3 -3
  323. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group-item/widget-list-group-item.component.mjs +15 -15
  324. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.component.mjs +3 -3
  325. package/esm2020/widget/widget-content-components/widget-list-group/widget-list-group.module.mjs +4 -4
  326. package/esm2020/widget/widget-content-components/widget-table/widget-table.component.mjs +3 -3
  327. package/esm2020/widget/widget-content-components/widget-table/widget-table.module.mjs +4 -4
  328. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer/widget-tile-footer.component.mjs +3 -3
  329. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.mjs +8 -8
  330. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.mjs +3 -3
  331. package/esm2020/widget/widget-content-components/widget-tile/widget-tile-secondary-icon.directive.mjs +3 -3
  332. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.component.mjs +16 -16
  333. package/esm2020/widget/widget-content-components/widget-tile/widget-tile.module.mjs +4 -4
  334. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.component.mjs +3 -3
  335. package/esm2020/widget/widget-content-components/widget-tile-list/widget-tile-list.module.mjs +4 -4
  336. package/esm2020/widget/widget-footer/widget-footer.component.mjs +3 -3
  337. package/esm2020/widget/widget-registry.service.mjs +5 -5
  338. package/esm2020/widget/widget.module.mjs +10 -10
  339. package/fesm2015/theseam-ui-common-asset-reader.mjs +18 -18
  340. package/fesm2015/theseam-ui-common-asset-reader.mjs.map +1 -1
  341. package/fesm2015/theseam-ui-common-breadcrumbs.mjs +10 -10
  342. package/fesm2015/theseam-ui-common-buttons.mjs +26 -26
  343. package/fesm2015/theseam-ui-common-buttons.mjs.map +1 -1
  344. package/fesm2015/theseam-ui-common-card.mjs +19 -19
  345. package/fesm2015/theseam-ui-common-checkbox.mjs +46 -46
  346. package/fesm2015/theseam-ui-common-checkbox.mjs.map +1 -1
  347. package/fesm2015/theseam-ui-common-confirm-dialog.mjs +18 -18
  348. package/fesm2015/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  349. package/fesm2015/theseam-ui-common-core.mjs +18 -18
  350. package/fesm2015/theseam-ui-common-core.mjs.map +1 -1
  351. package/fesm2015/theseam-ui-common-data-exporter.mjs +10 -10
  352. package/fesm2015/theseam-ui-common-data-filters.mjs +32 -32
  353. package/fesm2015/theseam-ui-common-data-filters.mjs.map +1 -1
  354. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs +46 -46
  355. package/fesm2015/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  356. package/fesm2015/theseam-ui-common-datatable.mjs +208 -208
  357. package/fesm2015/theseam-ui-common-datatable.mjs.map +1 -1
  358. package/fesm2015/theseam-ui-common-dynamic-component-loader.mjs +7 -7
  359. package/fesm2015/theseam-ui-common-dynamic.mjs +21 -21
  360. package/fesm2015/theseam-ui-common-footer-bar.mjs +7 -7
  361. package/fesm2015/theseam-ui-common-form-field-error.mjs +104 -104
  362. package/fesm2015/theseam-ui-common-form-field-error.mjs.map +1 -1
  363. package/fesm2015/theseam-ui-common-form-field.mjs +107 -107
  364. package/fesm2015/theseam-ui-common-form-field.mjs.map +1 -1
  365. package/fesm2015/theseam-ui-common-framework.mjs +196 -196
  366. package/fesm2015/theseam-ui-common-framework.mjs.map +1 -1
  367. package/fesm2015/theseam-ui-common-google-maps.mjs +78 -78
  368. package/fesm2015/theseam-ui-common-google-maps.mjs.map +1 -1
  369. package/fesm2015/theseam-ui-common-graphql.mjs +7 -7
  370. package/fesm2015/theseam-ui-common-graphql.mjs.map +1 -1
  371. package/fesm2015/theseam-ui-common-icon.mjs +33 -33
  372. package/fesm2015/theseam-ui-common-icon.mjs.map +1 -1
  373. package/fesm2015/theseam-ui-common-layout.mjs +7 -7
  374. package/fesm2015/theseam-ui-common-loading.mjs +13 -13
  375. package/fesm2015/theseam-ui-common-loading.mjs.map +1 -1
  376. package/fesm2015/theseam-ui-common-menu.mjs +79 -79
  377. package/fesm2015/theseam-ui-common-menu.mjs.map +1 -1
  378. package/fesm2015/theseam-ui-common-modal.mjs +85 -85
  379. package/fesm2015/theseam-ui-common-modal.mjs.map +1 -1
  380. package/fesm2015/theseam-ui-common-popover.mjs +52 -52
  381. package/fesm2015/theseam-ui-common-popover.mjs.map +1 -1
  382. package/fesm2015/theseam-ui-common-progress.mjs +12 -12
  383. package/fesm2015/theseam-ui-common-progress.mjs.map +1 -1
  384. package/fesm2015/theseam-ui-common-scrollbar.mjs +16 -16
  385. package/fesm2015/theseam-ui-common-scrollbar.mjs.map +1 -1
  386. package/fesm2015/theseam-ui-common-services.mjs +9 -9
  387. package/fesm2015/theseam-ui-common-shared.mjs +84 -84
  388. package/fesm2015/theseam-ui-common-shared.mjs.map +1 -1
  389. package/fesm2015/theseam-ui-common-storage.mjs +3 -3
  390. package/fesm2015/theseam-ui-common-story-helpers.mjs +25 -25
  391. package/fesm2015/theseam-ui-common-story-helpers.mjs.map +1 -1
  392. package/fesm2015/theseam-ui-common-tabbed.mjs +31 -31
  393. package/fesm2015/theseam-ui-common-tabbed.mjs.map +1 -1
  394. package/fesm2015/theseam-ui-common-table-cell-type.mjs +10 -10
  395. package/fesm2015/theseam-ui-common-table-cell-types.mjs +80 -80
  396. package/fesm2015/theseam-ui-common-table-cell-types.mjs.map +1 -1
  397. package/fesm2015/theseam-ui-common-table.mjs +14 -14
  398. package/fesm2015/theseam-ui-common-table.mjs.map +1 -1
  399. package/fesm2015/theseam-ui-common-tel-input.mjs +59 -59
  400. package/fesm2015/theseam-ui-common-tel-input.mjs.map +1 -1
  401. package/fesm2015/theseam-ui-common-tiled-select.mjs +46 -46
  402. package/fesm2015/theseam-ui-common-tiled-select.mjs.map +1 -1
  403. package/fesm2015/theseam-ui-common-toggle-edit.mjs +28 -28
  404. package/fesm2015/theseam-ui-common-toggle-edit.mjs.map +1 -1
  405. package/fesm2015/theseam-ui-common-toggle-group.mjs +18 -18
  406. package/fesm2015/theseam-ui-common-toggle-group.mjs.map +1 -1
  407. package/fesm2015/theseam-ui-common-unsaved-changes-dialog.mjs +13 -13
  408. package/fesm2015/theseam-ui-common-utils.mjs +5 -4
  409. package/fesm2015/theseam-ui-common-utils.mjs.map +1 -1
  410. package/fesm2015/theseam-ui-common-viewers.mjs +93 -93
  411. package/fesm2015/theseam-ui-common-viewers.mjs.map +1 -1
  412. package/fesm2015/theseam-ui-common-widget.mjs +190 -193
  413. package/fesm2015/theseam-ui-common-widget.mjs.map +1 -1
  414. package/fesm2020/theseam-ui-common-asset-reader.mjs +18 -18
  415. package/fesm2020/theseam-ui-common-asset-reader.mjs.map +1 -1
  416. package/fesm2020/theseam-ui-common-breadcrumbs.mjs +10 -10
  417. package/fesm2020/theseam-ui-common-buttons.mjs +26 -26
  418. package/fesm2020/theseam-ui-common-buttons.mjs.map +1 -1
  419. package/fesm2020/theseam-ui-common-card.mjs +19 -19
  420. package/fesm2020/theseam-ui-common-checkbox.mjs +46 -46
  421. package/fesm2020/theseam-ui-common-checkbox.mjs.map +1 -1
  422. package/fesm2020/theseam-ui-common-confirm-dialog.mjs +18 -18
  423. package/fesm2020/theseam-ui-common-confirm-dialog.mjs.map +1 -1
  424. package/fesm2020/theseam-ui-common-core.mjs +18 -18
  425. package/fesm2020/theseam-ui-common-core.mjs.map +1 -1
  426. package/fesm2020/theseam-ui-common-data-exporter.mjs +10 -10
  427. package/fesm2020/theseam-ui-common-data-filters.mjs +32 -32
  428. package/fesm2020/theseam-ui-common-data-filters.mjs.map +1 -1
  429. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs +46 -46
  430. package/fesm2020/theseam-ui-common-datatable-dynamic.mjs.map +1 -1
  431. package/fesm2020/theseam-ui-common-datatable.mjs +208 -208
  432. package/fesm2020/theseam-ui-common-datatable.mjs.map +1 -1
  433. package/fesm2020/theseam-ui-common-dynamic-component-loader.mjs +7 -7
  434. package/fesm2020/theseam-ui-common-dynamic.mjs +21 -21
  435. package/fesm2020/theseam-ui-common-footer-bar.mjs +7 -7
  436. package/fesm2020/theseam-ui-common-form-field-error.mjs +104 -104
  437. package/fesm2020/theseam-ui-common-form-field-error.mjs.map +1 -1
  438. package/fesm2020/theseam-ui-common-form-field.mjs +107 -107
  439. package/fesm2020/theseam-ui-common-form-field.mjs.map +1 -1
  440. package/fesm2020/theseam-ui-common-framework.mjs +196 -196
  441. package/fesm2020/theseam-ui-common-framework.mjs.map +1 -1
  442. package/fesm2020/theseam-ui-common-google-maps.mjs +78 -78
  443. package/fesm2020/theseam-ui-common-google-maps.mjs.map +1 -1
  444. package/fesm2020/theseam-ui-common-graphql.mjs +7 -7
  445. package/fesm2020/theseam-ui-common-graphql.mjs.map +1 -1
  446. package/fesm2020/theseam-ui-common-icon.mjs +33 -33
  447. package/fesm2020/theseam-ui-common-icon.mjs.map +1 -1
  448. package/fesm2020/theseam-ui-common-layout.mjs +7 -7
  449. package/fesm2020/theseam-ui-common-loading.mjs +13 -13
  450. package/fesm2020/theseam-ui-common-loading.mjs.map +1 -1
  451. package/fesm2020/theseam-ui-common-menu.mjs +77 -77
  452. package/fesm2020/theseam-ui-common-menu.mjs.map +1 -1
  453. package/fesm2020/theseam-ui-common-modal.mjs +85 -85
  454. package/fesm2020/theseam-ui-common-modal.mjs.map +1 -1
  455. package/fesm2020/theseam-ui-common-popover.mjs +52 -52
  456. package/fesm2020/theseam-ui-common-popover.mjs.map +1 -1
  457. package/fesm2020/theseam-ui-common-progress.mjs +12 -12
  458. package/fesm2020/theseam-ui-common-progress.mjs.map +1 -1
  459. package/fesm2020/theseam-ui-common-scrollbar.mjs +16 -16
  460. package/fesm2020/theseam-ui-common-scrollbar.mjs.map +1 -1
  461. package/fesm2020/theseam-ui-common-services.mjs +9 -9
  462. package/fesm2020/theseam-ui-common-shared.mjs +84 -84
  463. package/fesm2020/theseam-ui-common-shared.mjs.map +1 -1
  464. package/fesm2020/theseam-ui-common-storage.mjs +3 -3
  465. package/fesm2020/theseam-ui-common-story-helpers.mjs +25 -25
  466. package/fesm2020/theseam-ui-common-story-helpers.mjs.map +1 -1
  467. package/fesm2020/theseam-ui-common-tabbed.mjs +31 -31
  468. package/fesm2020/theseam-ui-common-tabbed.mjs.map +1 -1
  469. package/fesm2020/theseam-ui-common-table-cell-type.mjs +10 -10
  470. package/fesm2020/theseam-ui-common-table-cell-types.mjs +80 -80
  471. package/fesm2020/theseam-ui-common-table-cell-types.mjs.map +1 -1
  472. package/fesm2020/theseam-ui-common-table.mjs +14 -14
  473. package/fesm2020/theseam-ui-common-table.mjs.map +1 -1
  474. package/fesm2020/theseam-ui-common-tel-input.mjs +57 -57
  475. package/fesm2020/theseam-ui-common-tel-input.mjs.map +1 -1
  476. package/fesm2020/theseam-ui-common-tiled-select.mjs +46 -46
  477. package/fesm2020/theseam-ui-common-tiled-select.mjs.map +1 -1
  478. package/fesm2020/theseam-ui-common-toggle-edit.mjs +28 -28
  479. package/fesm2020/theseam-ui-common-toggle-edit.mjs.map +1 -1
  480. package/fesm2020/theseam-ui-common-toggle-group.mjs +18 -18
  481. package/fesm2020/theseam-ui-common-toggle-group.mjs.map +1 -1
  482. package/fesm2020/theseam-ui-common-unsaved-changes-dialog.mjs +13 -13
  483. package/fesm2020/theseam-ui-common-utils.mjs +5 -4
  484. package/fesm2020/theseam-ui-common-utils.mjs.map +1 -1
  485. package/fesm2020/theseam-ui-common-viewers.mjs +93 -93
  486. package/fesm2020/theseam-ui-common-viewers.mjs.map +1 -1
  487. package/fesm2020/theseam-ui-common-widget.mjs +190 -193
  488. package/fesm2020/theseam-ui-common-widget.mjs.map +1 -1
  489. package/framework/base-layout/base-layout-action.d.ts +1 -1
  490. package/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.d.ts +1 -1
  491. package/framework/side-nav/side-nav.models.d.ts +1 -1
  492. package/google-maps/map-value-manager.service.d.ts +1 -1
  493. package/graphql/datatable/datatable-graphql-query-ref.d.ts +2 -2
  494. package/graphql/datatable/datatable-graphql.service.d.ts +1 -1
  495. package/graphql/datatable/datatable-helpers.d.ts +2 -2
  496. package/graphql/datatable/map-filter-states.d.ts +2 -2
  497. package/graphql/datatable/map-page-info.d.ts +1 -1
  498. package/graphql/datatable/mapper-context.d.ts +1 -1
  499. package/graphql/models/gql-datatable-accessor.d.ts +1 -1
  500. package/graphql/models/hint-transformer.d.ts +1 -1
  501. package/icon/icon/icon.component.d.ts +1 -1
  502. package/icon/icon.d.ts +1 -1
  503. package/layout/breakpoint-aliases.d.ts +1 -1
  504. package/loading/loading.models.d.ts +1 -1
  505. package/modal/modal-config.d.ts +1 -1
  506. package/models/component-type.d.ts +1 -1
  507. package/models/size-prefixes.d.ts +1 -1
  508. package/models/size-types.d.ts +1 -1
  509. package/models/theme-prefixes.d.ts +1 -1
  510. package/models/theme-types.d.ts +2 -2
  511. package/package.json +2 -2
  512. package/scrollbar/overlay-scrollbars-config-model.d.ts +1 -1
  513. package/services/font-loader.service.d.ts +1 -1
  514. package/table/table/table.component.d.ts +1 -1
  515. package/table-cell-type/table-cell-type-models.d.ts +3 -3
  516. package/table-cell-type/table-cell-type-name.d.ts +1 -1
  517. package/table-cell-types/table-cell-type-currency/table-cell-type-currency-config.d.ts +1 -1
  518. package/table-cell-types/table-cell-type-currency/table-cell-type-currency.d.ts +1 -1
  519. package/table-cell-types/table-cell-type-date/table-cell-type-date.d.ts +1 -1
  520. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal-config.d.ts +1 -1
  521. package/table-cell-types/table-cell-type-decimal/table-cell-type-decimal.d.ts +1 -1
  522. package/table-cell-types/table-cell-type-icon/table-cell-type-icon-config.d.ts +1 -1
  523. package/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.d.ts +1 -1
  524. package/table-cell-types/table-cell-type-integer/table-cell-type-integer-config.d.ts +1 -1
  525. package/table-cell-types/table-cell-type-integer/table-cell-type-integer.d.ts +1 -1
  526. package/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle-config.d.ts +1 -1
  527. package/table-cell-types/table-cell-type-progress-circle-icon/table-cell-type-progress-circle-icon-config.d.ts +1 -1
  528. package/table-cell-types/table-cell-type-string/table-cell-type-string-config.d.ts +1 -1
  529. package/table-cell-types/table-cell-type-string/table-cell-type-string.component.d.ts +1 -1
  530. package/tel-input/utils/coerce-phone-number-format.d.ts +1 -1
  531. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +1 -1
  532. package/tiled-select/tiled-select.models.d.ts +2 -2
  533. package/utils/file-utils.d.ts +1 -1
  534. package/utils/geo-json/read-geo-file.d.ts +1 -1
  535. package/utils/polling-ticker.d.ts +1 -1
  536. package/utils/subscriber-count.d.ts +1 -1
  537. package/widget/directives/widget-drag-handle.directive.d.ts +1 -1
  538. package/widget/widget/widget.component.d.ts +1 -6
@@ -1 +1 @@
1
- {"version":3,"file":"theseam-ui-common-confirm-dialog.mjs","sources":["../../../projects/ui-common/confirm-dialog/confirm-dialog.component.ts","../../../projects/ui-common/confirm-dialog/confirm-dialog.component.html","../../../projects/ui-common/confirm-dialog/confirm-dialog.service.ts","../../../projects/ui-common/confirm-dialog/confirm-click.directive.ts","../../../projects/ui-common/confirm-dialog/confirm-dialog.module.ts","../../../projects/ui-common/confirm-dialog/theseam-ui-common-confirm-dialog.ts"],"sourcesContent":["import { Component, Input } from '@angular/core'\n\nimport type { ThemeTypes } from '@theseam/ui-common/models'\n\n@Component({\n selector: 'seam-confirm-dialog',\n templateUrl: './confirm-dialog.component.html',\n styleUrls: ['./confirm-dialog.component.scss']\n})\nexport class ConfirmDialogComponent {\n\n @Input() message: string | undefined | null = 'Are you sure you want to continue?'\n @Input() alertMessage: string | undefined | null\n @Input() alertType: ThemeTypes | undefined | null = 'warning'\n\n}\n","<seam-modal-body>\n <h5>{{ message }}</h5>\n\n <div *ngIf=\"alertMessage\" class=\"alert {{ alertType ? 'alert-' + alertType : '' }} mb-0\">\n {{ alertMessage }}\n </div>\n</seam-modal-body>\n<seam-modal-footer>\n <button class=\"btn btn-primary\" seamModalClose=\"confirm\">Yes</button>\n <button class=\"btn btn-lightgray\" data-dismiss=\"modal\" seamModalClose=\"cancel\" seamAutoFocus>No</button>\n</seam-modal-footer>\n","import { Injectable } from '@angular/core'\n\nimport { Modal, ModalRef } from '@theseam/ui-common/modal'\nimport { ThemeTypes } from '@theseam/ui-common/models'\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\n\n@Injectable()\nexport class SeamConfirmDialogService {\n\n constructor(\n private modal: Modal\n ) { }\n\n public open(\n message?: string,\n alert?: string | { message: string, type: ThemeTypes }\n ): ModalRef<ConfirmDialogComponent, 'confirm' | undefined> {\n const modalRef = this.modal.openFromComponent(ConfirmDialogComponent)\n\n if (!modalRef.componentInstance) {\n throw new Error('ConfirmDialogComponent not created.')\n }\n\n const comp: ConfirmDialogComponent = modalRef.componentInstance\n\n if (message) {\n comp.message = message\n }\n\n if (alert) {\n if (typeof alert === 'string') {\n comp.alertMessage = alert\n } else if (alert.message && alert.type) {\n comp.alertMessage = alert.message\n comp.alertType = alert.type\n } else {\n throw new Error('Invalid alert argument.')\n }\n }\n\n return modalRef\n }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Directive, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { ModalRef } from '@theseam/ui-common/modal'\nimport { ThemeTypes } from '@theseam/ui-common/models'\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\nimport { SeamConfirmDialogService } from './confirm-dialog.service'\n\n@Directive({\n selector: '[seamConfirmClick]',\n exportAs: 'seamConfirmClick'\n})\nexport class ConfirmClickDirective implements OnDestroy {\n static ngAcceptInputType_seamConfirmDisabled: BooleanInput\n\n private _modalRef: ModalRef<ConfirmDialogComponent, 'confirm' | undefined> | undefined\n\n @Input() seamConfirmMsg: string | undefined | null\n @Input() seamConfirmAlert: string | { message: string, type: ThemeTypes } | undefined | null\n @Input() @InputBoolean() seamConfirmDisabled: boolean = false\n\n @Output() seamConfirmClick = new EventEmitter<'confirm'>()\n\n @HostBinding('class.lib-confirm-click-active')\n get _confirmClickActiveCss() { return !!this._modalRef }\n\n @HostListener('click', [ '$event' ])\n _onClick(event: any) {\n if (this.seamConfirmDisabled) {\n if (!!this._modalRef) {\n this._modalRef.close()\n this._modalRef = undefined\n }\n }\n\n if (!!this._modalRef) { return }\n\n this._modalRef = this._confirmService.open(this.seamConfirmMsg || '', this.seamConfirmAlert || undefined)\n\n this._modalRef.afterClosed().subscribe(result => {\n if (result === 'confirm') {\n this.seamConfirmClick.emit(result)\n }\n\n this._modalRef = undefined\n })\n }\n\n constructor(private _confirmService: SeamConfirmDialogService) { }\n\n ngOnDestroy() {\n if (this._modalRef) {\n this._modalRef.close()\n }\n }\n\n get modalRef() { return this._modalRef }\n\n public close() {\n if (this._modalRef) {\n this._modalRef.close()\n }\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\nimport { TheSeamModalModule } from '@theseam/ui-common/modal'\nimport { TheSeamSharedModule } from '@theseam/ui-common/shared'\n\nimport { ConfirmClickDirective } from './confirm-click.directive'\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\nimport { SeamConfirmDialogService } from './confirm-dialog.service'\n\n@NgModule({\n declarations: [\n ConfirmDialogComponent,\n ConfirmClickDirective\n ],\n imports: [\n CommonModule,\n TheSeamSharedModule,\n TheSeamModalModule,\n TheSeamIconModule\n ],\n exports: [\n ConfirmDialogComponent,\n ConfirmClickDirective\n ],\n providers: [\n SeamConfirmDialogService\n ]\n})\nexport class TheSeamConfirmDialogModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.SeamConfirmDialogService"],"mappings":";;;;;;;;;;;;MASa,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;AAOW,QAAA,IAAO,CAAA,OA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AsB;wBACtB,qBAAqB;AACxB,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,wBAAwB;AAC3B,qBAAA;iBACJ,CAAA;;;AC7BD;;AAEG;;;;"}
1
+ {"version":3,"file":"theseam-ui-common-confirm-dialog.mjs","sources":["../../../projects/ui-common/confirm-dialog/confirm-dialog.component.ts","../../../projects/ui-common/confirm-dialog/confirm-dialog.component.html","../../../projects/ui-common/confirm-dialog/confirm-dialog.service.ts","../../../projects/ui-common/confirm-dialog/confirm-click.directive.ts","../../../projects/ui-common/confirm-dialog/confirm-dialog.module.ts","../../../projects/ui-common/confirm-dialog/theseam-ui-common-confirm-dialog.ts"],"sourcesContent":["import { Component, Input } from '@angular/core'\n\nimport type { ThemeTypes } from '@theseam/ui-common/models'\n\n@Component({\n selector: 'seam-confirm-dialog',\n templateUrl: './confirm-dialog.component.html',\n styleUrls: ['./confirm-dialog.component.scss']\n})\nexport class ConfirmDialogComponent {\n\n @Input() message: string | undefined | null = 'Are you sure you want to continue?'\n @Input() alertMessage: string | undefined | null\n @Input() alertType: ThemeTypes | undefined | null = 'warning'\n\n}\n","<seam-modal-body>\n <h5>{{ message }}</h5>\n\n <div *ngIf=\"alertMessage\" class=\"alert {{ alertType ? 'alert-' + alertType : '' }} mb-0\">\n {{ alertMessage }}\n </div>\n</seam-modal-body>\n<seam-modal-footer>\n <button class=\"btn btn-primary\" seamModalClose=\"confirm\">Yes</button>\n <button class=\"btn btn-lightgray\" data-dismiss=\"modal\" seamModalClose=\"cancel\" seamAutoFocus>No</button>\n</seam-modal-footer>\n","import { Injectable } from '@angular/core'\n\nimport { Modal, ModalRef } from '@theseam/ui-common/modal'\nimport { ThemeTypes } from '@theseam/ui-common/models'\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\n\n@Injectable()\nexport class SeamConfirmDialogService {\n\n constructor(\n private modal: Modal\n ) { }\n\n public open(\n message?: string,\n alert?: string | { message: string, type: ThemeTypes }\n ): ModalRef<ConfirmDialogComponent, 'confirm' | undefined> {\n const modalRef = this.modal.openFromComponent(ConfirmDialogComponent)\n\n if (!modalRef.componentInstance) {\n throw new Error('ConfirmDialogComponent not created.')\n }\n\n const comp: ConfirmDialogComponent = modalRef.componentInstance\n\n if (message) {\n comp.message = message\n }\n\n if (alert) {\n if (typeof alert === 'string') {\n comp.alertMessage = alert\n } else if (alert.message && alert.type) {\n comp.alertMessage = alert.message\n comp.alertType = alert.type\n } else {\n throw new Error('Invalid alert argument.')\n }\n }\n\n return modalRef\n }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Directive, EventEmitter, HostBinding, HostListener, Input, OnDestroy, Output } from '@angular/core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { ModalRef } from '@theseam/ui-common/modal'\nimport { ThemeTypes } from '@theseam/ui-common/models'\n\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\nimport { SeamConfirmDialogService } from './confirm-dialog.service'\n\n@Directive({\n selector: '[seamConfirmClick]',\n exportAs: 'seamConfirmClick'\n})\nexport class ConfirmClickDirective implements OnDestroy {\n static ngAcceptInputType_seamConfirmDisabled: BooleanInput\n\n private _modalRef: ModalRef<ConfirmDialogComponent, 'confirm' | undefined> | undefined\n\n @Input() seamConfirmMsg: string | undefined | null\n @Input() seamConfirmAlert: string | { message: string, type: ThemeTypes } | undefined | null\n @Input() @InputBoolean() seamConfirmDisabled: boolean = false\n\n @Output() seamConfirmClick = new EventEmitter<'confirm'>()\n\n @HostBinding('class.lib-confirm-click-active')\n get _confirmClickActiveCss() { return !!this._modalRef }\n\n @HostListener('click', [ '$event' ])\n _onClick(event: any) {\n if (this.seamConfirmDisabled) {\n if (!!this._modalRef) {\n this._modalRef.close()\n this._modalRef = undefined\n }\n }\n\n if (!!this._modalRef) { return }\n\n this._modalRef = this._confirmService.open(this.seamConfirmMsg || '', this.seamConfirmAlert || undefined)\n\n this._modalRef.afterClosed().subscribe(result => {\n if (result === 'confirm') {\n this.seamConfirmClick.emit(result)\n }\n\n this._modalRef = undefined\n })\n }\n\n constructor(private _confirmService: SeamConfirmDialogService) { }\n\n ngOnDestroy() {\n if (this._modalRef) {\n this._modalRef.close()\n }\n }\n\n get modalRef() { return this._modalRef }\n\n public close() {\n if (this._modalRef) {\n this._modalRef.close()\n }\n }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { TheSeamIconModule } from '@theseam/ui-common/icon'\nimport { TheSeamModalModule } from '@theseam/ui-common/modal'\nimport { TheSeamSharedModule } from '@theseam/ui-common/shared'\n\nimport { ConfirmClickDirective } from './confirm-click.directive'\nimport { ConfirmDialogComponent } from './confirm-dialog.component'\nimport { SeamConfirmDialogService } from './confirm-dialog.service'\n\n@NgModule({\n declarations: [\n ConfirmDialogComponent,\n ConfirmClickDirective\n ],\n imports: [\n CommonModule,\n TheSeamSharedModule,\n TheSeamModalModule,\n TheSeamIconModule\n ],\n exports: [\n ConfirmDialogComponent,\n ConfirmClickDirective\n ],\n providers: [\n SeamConfirmDialogService\n ]\n})\nexport class TheSeamConfirmDialogModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["i1","i1.SeamConfirmDialogService"],"mappings":";;;;;;;;;;;;MASa,sBAAsB,CAAA;AALnC,IAAA,WAAA,GAAA;AAOW,QAAA,IAAO,CAAA,OAAA,GAA8B,oCAAoC,CAAA;AAEzE,QAAA,IAAS,CAAA,SAAA,GAAkC,SAAS,CAAA;KAE9D;;mHANY,sBAAsB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;AAAtB,sBAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,sBAAsB,iJCTnC,kbAWA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA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EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,iBAjB/B,sBAAsB;AACtB,QAAA,qBAAqB,aAGrB,YAAY;QACZ,mBAAmB;QACnB,kBAAkB;AAClB,QAAA,iBAAiB,aAGjB,sBAAsB;QACtB,qBAAqB,CAAA,EAAA,CAAA,CAAA;AAMhB,0BAAA,CAAA,IAAA,GAAA,EAAA,CAAA,mBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,0BAA0B,EAJxB,SAAA,EAAA;QACP,wBAAwB;KAC3B,EAAA,OAAA,EAAA,CAXG,YAAY;QACZ,mBAAmB;QACnB,kBAAkB;QAClB,iBAAiB,CAAA,EAAA,CAAA,CAAA;2FAUZ,0BAA0B,EAAA,UAAA,EAAA,CAAA;kBAnBtC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;AACN,oBAAA,YAAY,EAAE;wBACV,sBAAsB;wBACtB,qBAAqB;AACxB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,YAAY;wBACZ,mBAAmB;wBACnB,kBAAkB;wBAClB,iBAAiB;AACpB,qBAAA;AACD,oBAAA,OAAO,EAAE;wBACL,sBAAsB;wBACtB,qBAAqB;AACxB,qBAAA;AACD,oBAAA,SAAS,EAAE;wBACP,wBAAwB;AAC3B,qBAAA;iBACJ,CAAA;;;AC7BD;;AAEG;;;;"}
@@ -11,12 +11,12 @@ import { Observable } from 'rxjs';
11
11
  /** Mixin to augment a directive with a `disabled` property. */
12
12
  function mixinDisabled(base) {
13
13
  return class extends base {
14
- get disabled() { return this._disabled; }
15
- set disabled(value) { this._disabled = coerceBooleanProperty(value); }
16
14
  constructor(...args) {
17
15
  super(...args);
18
16
  this._disabled = false;
19
17
  }
18
+ get disabled() { return this._disabled; }
19
+ set disabled(value) { this._disabled = coerceBooleanProperty(value); }
20
20
  };
21
21
  }
22
22
 
@@ -84,6 +84,11 @@ function mixinInitialized(base) {
84
84
  /** Mixin to augment a directive with a `size` property. */
85
85
  function mixinSize(base, sizePrefix, defaultSize) {
86
86
  return class extends base {
87
+ constructor(...args) {
88
+ super(...args);
89
+ // Set the default size that can be specified from the mixin.
90
+ this.size = defaultSize;
91
+ }
87
92
  get size() { return this._size; }
88
93
  set size(value) {
89
94
  const themePalette = value || defaultSize;
@@ -97,11 +102,6 @@ function mixinSize(base, sizePrefix, defaultSize) {
97
102
  this._size = themePalette;
98
103
  }
99
104
  }
100
- constructor(...args) {
101
- super(...args);
102
- // Set the default size that can be specified from the mixin.
103
- this.size = defaultSize;
104
- }
105
105
  };
106
106
  }
107
107
 
@@ -115,21 +115,26 @@ function mixinSize(base, sizePrefix, defaultSize) {
115
115
  /** Mixin to augment a directive with a `tabIndex` property. */
116
116
  function mixinTabIndex(base, defaultTabIndex = 0) {
117
117
  return class extends base {
118
+ constructor(...args) {
119
+ super(...args);
120
+ this._tabIndex = defaultTabIndex;
121
+ }
118
122
  get tabIndex() { return this.disabled ? -1 : this._tabIndex; }
119
123
  set tabIndex(value) {
120
124
  // If the specified tabIndex value is null or undefined, fall back to the default value.
121
125
  this._tabIndex = value != null ? value : defaultTabIndex;
122
126
  }
123
- constructor(...args) {
124
- super(...args);
125
- this._tabIndex = defaultTabIndex;
126
- }
127
127
  };
128
128
  }
129
129
 
130
130
  /** Mixin to augment a directive with a `theme` property. */
131
131
  function mixinTheme(base, themePrefix, defaultTheme) {
132
132
  return class extends base {
133
+ constructor(...args) {
134
+ super(...args);
135
+ // Set the default theme that can be specified from the mixin.
136
+ this.theme = defaultTheme;
137
+ }
133
138
  get theme() { return this._theme; }
134
139
  set theme(value) {
135
140
  const themePalette = value || defaultTheme;
@@ -143,23 +148,18 @@ function mixinTheme(base, themePrefix, defaultTheme) {
143
148
  this._theme = themePalette;
144
149
  }
145
150
  }
146
- constructor(...args) {
147
- super(...args);
148
- // Set the default theme that can be specified from the mixin.
149
- this.theme = defaultTheme;
150
- }
151
151
  };
152
152
  }
153
153
 
154
154
  /** Mixin to augment a directive with a `disabled` property. */
155
155
  function mixinActive(base) {
156
156
  return class extends base {
157
- get active() { return this._active; }
158
- set active(value) { this._active = coerceBooleanProperty(value); }
159
157
  constructor(...args) {
160
158
  super(...args);
161
159
  this._active = false;
162
160
  }
161
+ get active() { return this._active; }
162
+ set active(value) { this._active = coerceBooleanProperty(value); }
163
163
  };
164
164
  }
165
165
 
@@ -1 +1 @@
1
- {"version":3,"file":"theseam-ui-common-core.mjs","sources":["../../../projects/ui-common/core/common-behaviors/disabled.ts","../../../projects/ui-common/core/common-behaviors/initialized.ts","../../../projects/ui-common/core/common-behaviors/size.ts","../../../projects/ui-common/core/common-behaviors/tabindex.ts","../../../projects/ui-common/core/common-behaviors/theme.ts","../../../projects/ui-common/core/common-behaviors/active.ts","../../../projects/ui-common/core/input-decorators/input-boolean.decorator.ts","../../../projects/ui-common/core/input-decorators/input-number.decorator.ts","../../../projects/ui-common/core/theseam-ui-common-core.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { Constructor } from './constructor'\n\n/** @docs-private */\nexport interface CanDisable {\n /** Whether the component is disabled. */\n disabled: boolean\n}\n\n/** @docs-private */\nexport type CanDisableCtor = Constructor<CanDisable>\n\n/** Mixin to augment a directive with a `disabled` property. */\nexport function mixinDisabled<T extends Constructor<{}>>(base: T): CanDisableCtor & T {\n return class extends base {\n private _disabled = false\n\n get disabled() { return this._disabled }\n set disabled(value: any) { this._disabled = coerceBooleanProperty(value) }\n\n constructor(...args: any[]) { super(...args) }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { Observable, Subscriber } from 'rxjs'\nimport { Constructor } from './constructor'\n\n\n/**\n * Mixin that adds an initialized property to a directive which, when subscribed to, will emit a\n * value once markInitialized has been called, which should be done during the ngOnInit function.\n * If the subscription is made after it has already been marked as initialized, then it will trigger\n * an emit immediately.\n * @docs-private\n */\nexport interface HasInitialized {\n /** Stream that emits once during the directive/component's ngOnInit. */\n initialized: Observable<void>\n\n /**\n * Sets the state as initialized and must be called during ngOnInit to notify subscribers that\n * the directive has been initialized.\n * @docs-private\n */\n _markInitialized: () => void\n}\n\n/** @docs-private */\nexport type HasInitializedCtor = Constructor<HasInitialized>\n\n/** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */\nexport function mixinInitialized<T extends Constructor<{}>>(base: T):\n HasInitializedCtor & T {\n return class extends base {\n /** Whether this directive has been marked as initialized. */\n _isInitialized = false\n\n /**\n * List of subscribers that subscribed before the directive was initialized. Should be notified\n * during _markInitialized. Set to null after pending subscribers are notified, and should\n * not expect to be populated after.\n */\n _pendingSubscribers: Subscriber<void>[] | null = []\n\n /**\n * Observable stream that emits when the directive initializes. If already initialized, the\n * subscriber is stored to be notified once _markInitialized is called.\n */\n initialized = new Observable<void>(subscriber => {\n // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify\n // when _markInitialized is called.\n if (this._isInitialized) {\n this._notifySubscriber(subscriber)\n } else {\n if (this._pendingSubscribers) {\n this._pendingSubscribers.push(subscriber)\n }\n }\n })\n\n constructor(...args: any[]) { super(...args) }\n\n /**\n * Marks the state as initialized and notifies pending subscribers. Should be called at the end\n * of ngOnInit.\n * @docs-private\n */\n _markInitialized(): void {\n if (this._isInitialized) {\n throw Error('This directive has already been marked as initialized and ' +\n 'should not be called twice.')\n }\n\n this._isInitialized = true\n\n if (this._pendingSubscribers) {\n this._pendingSubscribers.forEach(this._notifySubscriber)\n }\n this._pendingSubscribers = null\n }\n\n /** Emits and completes the subscriber stream (should only emit once). */\n _notifySubscriber(subscriber: Subscriber<void>): void {\n subscriber.next()\n subscriber.complete()\n }\n }\n}\n","import { SizePrefixes, SizeTypes } from '@theseam/ui-common/models'\n\nimport { Constructor } from './constructor'\nimport { HasElementRef } from './element-ref'\n\nexport interface CanSize {\n size: SizeTypes | undefined\n}\n\nexport type CanSizeCtor = Constructor<CanSize>\n\n/** Mixin to augment a directive with a `size` property. */\nexport function mixinSize<T extends Constructor<HasElementRef>>(\n base: T, sizePrefix: SizePrefixes, defaultSize?: SizeTypes): CanSizeCtor & T {\n return class extends base {\n private _size: SizeTypes | undefined\n\n get size(): SizeTypes | undefined { return this._size }\n set size(value: SizeTypes | undefined) {\n const themePalette = value || defaultSize\n\n if (themePalette !== this._size) {\n if (this._size) {\n this._elementRef.nativeElement.classList.remove(`${sizePrefix}-${this._size}`)\n }\n if (themePalette) {\n this._elementRef.nativeElement.classList.add(`${sizePrefix}-${themePalette}`)\n }\n\n this._size = themePalette\n }\n }\n\n constructor(...args: any[]) {\n super(...args)\n\n // Set the default size that can be specified from the mixin.\n this.size = defaultSize\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { Constructor } from './constructor'\nimport { CanDisable } from './disabled'\n\n\n/** @docs-private */\nexport interface HasTabIndex {\n /** Tabindex of the component. */\n tabIndex: number\n}\n\n/** @docs-private */\nexport type HasTabIndexCtor = Constructor<HasTabIndex>\n\n/** Mixin to augment a directive with a `tabIndex` property. */\nexport function mixinTabIndex<T extends Constructor<CanDisable>>(base: T, defaultTabIndex = 0)\n : HasTabIndexCtor & T {\n return class extends base {\n private _tabIndex: number = defaultTabIndex\n\n get tabIndex(): number { return this.disabled ? -1 : this._tabIndex }\n set tabIndex(value: number) {\n // If the specified tabIndex value is null or undefined, fall back to the default value.\n this._tabIndex = value != null ? value : defaultTabIndex\n }\n\n constructor(...args: any[]) {\n super(...args)\n }\n }\n}\n","import { OutlineThemeTypes, ThemePrefixes, ThemeTypes } from '@theseam/ui-common/models'\n\nimport { Constructor } from './constructor'\nimport { HasElementRef } from './element-ref'\n\nexport interface CanTheme {\n /** Theme palette for the component. */\n theme: ThemeTypes | OutlineThemeTypes | undefined\n}\n\nexport type CanThemeCtor = Constructor<CanTheme>\n\n/** Mixin to augment a directive with a `theme` property. */\nexport function mixinTheme<T extends Constructor<HasElementRef>>(\n base: T, themePrefix: ThemePrefixes, defaultTheme?: ThemeTypes | OutlineThemeTypes): CanThemeCtor & T {\n return class extends base {\n private _theme: ThemeTypes | OutlineThemeTypes | undefined\n\n get theme(): ThemeTypes | OutlineThemeTypes | undefined { return this._theme }\n set theme(value: ThemeTypes | OutlineThemeTypes | undefined) {\n const themePalette = value || defaultTheme\n\n if (themePalette !== this._theme) {\n if (this._theme) {\n this._elementRef.nativeElement.classList.remove(`${themePrefix}-${this._theme}`)\n }\n if (themePalette) {\n this._elementRef.nativeElement.classList.add(`${themePrefix}-${themePalette}`)\n }\n\n this._theme = themePalette\n }\n }\n\n constructor(...args: any[]) {\n super(...args)\n\n // Set the default theme that can be specified from the mixin.\n this.theme = defaultTheme\n }\n }\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { Constructor } from './constructor'\n\nexport interface CanBeActive {\n /** Whether the component is active. */\n active: boolean\n}\n\nexport type CanBeActiveCtor = Constructor<CanBeActive>\n\n/** Mixin to augment a directive with a `disabled` property. */\nexport function mixinActive<T extends Constructor<{}>>(base: T): CanBeActiveCtor & T {\n return class extends base {\n private _active = false\n\n get active() { return this._active }\n set active(value: any) { this._active = coerceBooleanProperty(value) }\n\n constructor(...args: any[]) { super(...args) }\n }\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion'\n\n/**\n * Use with `@Input()` to coerse the input to a boolean.\n *\n * Example:\n * ```ts\n * @Component({ template: '' })\n * class {\n * @Input() @InputBoolean() b: boolean\n * }\n * ```\n */\nexport function InputBoolean() {\n const cachedValueKey = Symbol()\n // tslint:disable-next-line: only-arrow-functions\n return function(\n target: any,\n propertyKey: string,\n descriptor?: PropertyDescriptor\n ) {\n Object.defineProperty(target, propertyKey, {\n set: function(value: boolean) {\n this[cachedValueKey] = coerceBooleanProperty(value)\n },\n get: function() {\n return this[cachedValueKey]\n },\n })\n }\n}\n","import { coerceNumberProperty } from '@angular/cdk/coercion'\n\n/**\n * Use with `@Input()` to coerse the input to a number.\n *\n * Example:\n * ```ts\n * @Component({ template: '' })\n * class {\n * @Input() @InputNumber() b: number\n * }\n * ```\n */\nexport function InputNumber<TFallback>(fallback?: TFallback) {\n const cachedValueKey = Symbol()\n // tslint:disable-next-line: only-arrow-functions\n return function(\n target: any,\n propertyKey: string,\n descriptor?: PropertyDescriptor\n ) {\n Object.defineProperty(target, propertyKey, {\n set: function(value: number) {\n this[cachedValueKey] = coerceNumberProperty(value, fallback)\n },\n get: function() {\n return this[cachedValueKey]\n },\n })\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAcH;AACM,SAAU,aAAa,CAA4B,IAAO,EAAA;IAC9D,OAAO,cAAc,IAAI,CAAA;QAGvB,IAAI,QAAQ,KAAK,OAAO,IAAI,CAAC,SAAS,CAAA,EAAE;AACxC,QAAA,IAAI,QAAQ,CAAC,KAAU,EAAA,EAAI,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAA,EAAE;AAE1E,QAAA,WAAA,CAAY,GAAG,IAAW,EAAA;AAAI,YAAA,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AALpC,YAAA,IAAS,CAAA,SAAA,GAAG,KAAK,CAAA;SAKqB;KAC/C,CAAA;AACH;;AC9BA;;;;;;AAMG;AA4BH;AACM,SAAU,gBAAgB,CAA4B,IAAO,EAAA;IAEjE,OAAO,cAAc,IAAI,CAAA;AA2BvB,QAAA,WAAA,CAAY,GAAG,IAAW,EAAA;AAAI,YAAA,KAAK,CAAC,GAAG,IAA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CAAA;AALpC,YAAA,IAAO,CAAA,OAAA,GAAG,KAAK,CAAA;SAKuB;KAC/C,CAAA;AACH;;AClBA;;;;;;;;;;AAUG;SACa,YAAY,GAAA;AAC1B,IAAA,MAAM,cAAc,GAAG,MAAM,EAAE,CAAA;;AAE/B,IAAA,OAAO,UACL,MAAW,EACX,WAAmB,EACnB,UAA+B,EAAA;AAE/B,QAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;YACzC,GAAG,EAAE,UAAS,KAAc,EAAA;gBAC1B,IAAI,CAAC,cAAc,CAAC,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAA;aACpD;AACD,YAAA,GAAG,EAAE,YAAA;AACH,gBAAA,OAAO,IAAI,CAAC,cAAc,CAAC,CAAA;aAC5B;AACF,SAAA,CAAC,CAAA;AACJ,KAAC,CAAA;AACH;;AC5BA;;;;;;;;;;AAUG;AACG,SAAU,WAAW,CAAY,QAAoB,EAAA;AACzD,IAAA,MAAM,cAAc,GAAG,MAAM,EAAE,CAAA;;AAE/B,IAAA,OAAO,UACL,MAAW,EACX,WAAmB,EACnB,UAA+B,EAAA;AAE/B,QAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;YACzC,GAAG,EAAE,UAAS,KAAa,EAAA;gBACzB,IAAI,CAAC,cAAc,CAAC,GAAG,oBAAoB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;aAC7D;AACD,YAAA,GAAG,EAAE,YAAA;AACH,gBAAA,OAAO,IAAI,CAAC,cAAc,CAAC,CAAA;aAC5B;AACF,SAAA,CAAC,CAAA;AACJ,KAAC,CAAA;AACH;;AC9BA;;AAEG;;;;"}
1
+ {"version":3,"file":"theseam-ui-common-core.mjs","sources":["../../../projects/ui-common/core/common-behaviors/disabled.ts","../../../projects/ui-common/core/common-behaviors/initialized.ts","../../../projects/ui-common/core/common-behaviors/size.ts","../../../projects/ui-common/core/common-behaviors/tabindex.ts","../../../projects/ui-common/core/common-behaviors/theme.ts","../../../projects/ui-common/core/common-behaviors/active.ts","../../../projects/ui-common/core/input-decorators/input-boolean.decorator.ts","../../../projects/ui-common/core/input-decorators/input-number.decorator.ts","../../../projects/ui-common/core/theseam-ui-common-core.ts"],"sourcesContent":["/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { Constructor } from './constructor'\n\n/** @docs-private */\nexport interface CanDisable {\n /** Whether the component is disabled. */\n disabled: boolean\n}\n\n/** @docs-private */\nexport type CanDisableCtor = Constructor<CanDisable>\n\n/** Mixin to augment a directive with a `disabled` property. */\nexport function mixinDisabled<T extends Constructor<{}>>(base: T): CanDisableCtor & T {\n return class extends base {\n private _disabled = false\n\n get disabled() { return this._disabled }\n set disabled(value: any) { this._disabled = coerceBooleanProperty(value) }\n\n constructor(...args: any[]) { super(...args) }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { Observable, Subscriber } from 'rxjs'\nimport { Constructor } from './constructor'\n\n\n/**\n * Mixin that adds an initialized property to a directive which, when subscribed to, will emit a\n * value once markInitialized has been called, which should be done during the ngOnInit function.\n * If the subscription is made after it has already been marked as initialized, then it will trigger\n * an emit immediately.\n * @docs-private\n */\nexport interface HasInitialized {\n /** Stream that emits once during the directive/component's ngOnInit. */\n initialized: Observable<void>\n\n /**\n * Sets the state as initialized and must be called during ngOnInit to notify subscribers that\n * the directive has been initialized.\n * @docs-private\n */\n _markInitialized: () => void\n}\n\n/** @docs-private */\nexport type HasInitializedCtor = Constructor<HasInitialized>\n\n/** Mixin to augment a directive with an initialized property that will emits when ngOnInit ends. */\nexport function mixinInitialized<T extends Constructor<{}>>(base: T):\n HasInitializedCtor & T {\n return class extends base {\n /** Whether this directive has been marked as initialized. */\n _isInitialized = false\n\n /**\n * List of subscribers that subscribed before the directive was initialized. Should be notified\n * during _markInitialized. Set to null after pending subscribers are notified, and should\n * not expect to be populated after.\n */\n _pendingSubscribers: Subscriber<void>[] | null = []\n\n /**\n * Observable stream that emits when the directive initializes. If already initialized, the\n * subscriber is stored to be notified once _markInitialized is called.\n */\n initialized = new Observable<void>(subscriber => {\n // If initialized, immediately notify the subscriber. Otherwise store the subscriber to notify\n // when _markInitialized is called.\n if (this._isInitialized) {\n this._notifySubscriber(subscriber)\n } else {\n if (this._pendingSubscribers) {\n this._pendingSubscribers.push(subscriber)\n }\n }\n })\n\n constructor(...args: any[]) { super(...args) }\n\n /**\n * Marks the state as initialized and notifies pending subscribers. Should be called at the end\n * of ngOnInit.\n * @docs-private\n */\n _markInitialized(): void {\n if (this._isInitialized) {\n throw Error('This directive has already been marked as initialized and ' +\n 'should not be called twice.')\n }\n\n this._isInitialized = true\n\n if (this._pendingSubscribers) {\n this._pendingSubscribers.forEach(this._notifySubscriber)\n }\n this._pendingSubscribers = null\n }\n\n /** Emits and completes the subscriber stream (should only emit once). */\n _notifySubscriber(subscriber: Subscriber<void>): void {\n subscriber.next()\n subscriber.complete()\n }\n }\n}\n","import { SizePrefixes, SizeTypes } from '@theseam/ui-common/models'\n\nimport { Constructor } from './constructor'\nimport { HasElementRef } from './element-ref'\n\nexport interface CanSize {\n size: SizeTypes | undefined\n}\n\nexport type CanSizeCtor = Constructor<CanSize>\n\n/** Mixin to augment a directive with a `size` property. */\nexport function mixinSize<T extends Constructor<HasElementRef>>(\n base: T, sizePrefix: SizePrefixes, defaultSize?: SizeTypes): CanSizeCtor & T {\n return class extends base {\n private _size: SizeTypes | undefined\n\n get size(): SizeTypes | undefined { return this._size }\n set size(value: SizeTypes | undefined) {\n const themePalette = value || defaultSize\n\n if (themePalette !== this._size) {\n if (this._size) {\n this._elementRef.nativeElement.classList.remove(`${sizePrefix}-${this._size}`)\n }\n if (themePalette) {\n this._elementRef.nativeElement.classList.add(`${sizePrefix}-${themePalette}`)\n }\n\n this._size = themePalette\n }\n }\n\n constructor(...args: any[]) {\n super(...args)\n\n // Set the default size that can be specified from the mixin.\n this.size = defaultSize\n }\n }\n}\n","/**\n * @license\n * Copyright Google LLC All Rights Reserved.\n *\n * Use of this source code is governed by an MIT-style license that can be\n * found in the LICENSE file at https://angular.io/license\n */\n\nimport { Constructor } from './constructor'\nimport { CanDisable } from './disabled'\n\n\n/** @docs-private */\nexport interface HasTabIndex {\n /** Tabindex of the component. */\n tabIndex: number\n}\n\n/** @docs-private */\nexport type HasTabIndexCtor = Constructor<HasTabIndex>\n\n/** Mixin to augment a directive with a `tabIndex` property. */\nexport function mixinTabIndex<T extends Constructor<CanDisable>>(base: T, defaultTabIndex = 0)\n : HasTabIndexCtor & T {\n return class extends base {\n private _tabIndex: number = defaultTabIndex\n\n get tabIndex(): number { return this.disabled ? -1 : this._tabIndex }\n set tabIndex(value: number) {\n // If the specified tabIndex value is null or undefined, fall back to the default value.\n this._tabIndex = value != null ? value : defaultTabIndex\n }\n\n constructor(...args: any[]) {\n super(...args)\n }\n }\n}\n","import { OutlineThemeTypes, ThemePrefixes, ThemeTypes } from '@theseam/ui-common/models'\n\nimport { Constructor } from './constructor'\nimport { HasElementRef } from './element-ref'\n\nexport interface CanTheme {\n /** Theme palette for the component. */\n theme: ThemeTypes | OutlineThemeTypes | undefined\n}\n\nexport type CanThemeCtor = Constructor<CanTheme>\n\n/** Mixin to augment a directive with a `theme` property. */\nexport function mixinTheme<T extends Constructor<HasElementRef>>(\n base: T, themePrefix: ThemePrefixes, defaultTheme?: ThemeTypes | OutlineThemeTypes): CanThemeCtor & T {\n return class extends base {\n private _theme: ThemeTypes | OutlineThemeTypes | undefined\n\n get theme(): ThemeTypes | OutlineThemeTypes | undefined { return this._theme }\n set theme(value: ThemeTypes | OutlineThemeTypes | undefined) {\n const themePalette = value || defaultTheme\n\n if (themePalette !== this._theme) {\n if (this._theme) {\n this._elementRef.nativeElement.classList.remove(`${themePrefix}-${this._theme}`)\n }\n if (themePalette) {\n this._elementRef.nativeElement.classList.add(`${themePrefix}-${themePalette}`)\n }\n\n this._theme = themePalette\n }\n }\n\n constructor(...args: any[]) {\n super(...args)\n\n // Set the default theme that can be specified from the mixin.\n this.theme = defaultTheme\n }\n }\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion'\nimport { Constructor } from './constructor'\n\nexport interface CanBeActive {\n /** Whether the component is active. */\n active: boolean\n}\n\nexport type CanBeActiveCtor = Constructor<CanBeActive>\n\n/** Mixin to augment a directive with a `disabled` property. */\nexport function mixinActive<T extends Constructor<{}>>(base: T): CanBeActiveCtor & T {\n return class extends base {\n private _active = false\n\n get active() { return this._active }\n set active(value: any) { this._active = coerceBooleanProperty(value) }\n\n constructor(...args: any[]) { super(...args) }\n }\n}\n","import { coerceBooleanProperty } from '@angular/cdk/coercion'\n\n/**\n * Use with `@Input()` to coerse the input to a boolean.\n *\n * Example:\n * ```ts\n * @Component({ template: '' })\n * class {\n * @Input() @InputBoolean() b: boolean\n * }\n * ```\n */\nexport function InputBoolean() {\n const cachedValueKey = Symbol()\n // tslint:disable-next-line: only-arrow-functions\n return function(\n target: any,\n propertyKey: string,\n descriptor?: PropertyDescriptor\n ) {\n Object.defineProperty(target, propertyKey, {\n set: function(value: boolean) {\n this[cachedValueKey] = coerceBooleanProperty(value)\n },\n get: function() {\n return this[cachedValueKey]\n },\n })\n }\n}\n","import { coerceNumberProperty } from '@angular/cdk/coercion'\n\n/**\n * Use with `@Input()` to coerse the input to a number.\n *\n * Example:\n * ```ts\n * @Component({ template: '' })\n * class {\n * @Input() @InputNumber() b: number\n * }\n * ```\n */\nexport function InputNumber<TFallback>(fallback?: TFallback) {\n const cachedValueKey = Symbol()\n // tslint:disable-next-line: only-arrow-functions\n return function(\n target: any,\n propertyKey: string,\n descriptor?: PropertyDescriptor\n ) {\n Object.defineProperty(target, propertyKey, {\n set: function(value: number) {\n this[cachedValueKey] = coerceNumberProperty(value, fallback)\n },\n get: function() {\n return this[cachedValueKey]\n },\n })\n }\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAAA;;;;;;AAMG;AAcH;AACM,SAAU,aAAa,CAA4B,IAAO,EAAA;IAC9D,OAAO,cAAc,IAAI,CAAA;AAMvB,QAAA,WAAA,CAAY,GAAG,IAAW,EAAA;AAAI,YAAA,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;AALpC,YAAA,IAAS,CAAA,SAAA,GAAG,KAAK,CAAA;SAKqB;QAH9C,IAAI,QAAQ,KAAK,OAAO,IAAI,CAAC,SAAS,CAAA,EAAE;AACxC,QAAA,IAAI,QAAQ,CAAC,KAAU,EAAA,EAAI,IAAI,CAAC,SAAS,GAAG,qBAAqB,CAAC,KAAK,CAAC,CAAA,EAAE;KAG3E,CAAA;AACH;;AC9BA;;;;;;AAMG;AA4BH;AACM,SAAU,gBAAgB,CAA4B,IAAO,EAAA;IAEjE,OAAO,cAAc,IAAI,CAAA;AA2BvB,QAAA,WAAA,CAAY,GAAG,IAAW,EAAA;AAAI,YAAA,KAAK,CAAC,GAAG,IAAI,CAAC,CAAA;;AAzB5C,YAAA,IAAc,CAAA,cAAA,GAAG,KAAK,CAAA;AAEtB;;;;AAIG;AACH,YAAA,IAAmB,CAAA,mBAAA,GAA8B,EAAE,CAAA;AAEnD;;;AAGG;YACH,IAAA,CAAA,WAAW,GAAG,IAAI,UAAU,CAAO,UAAU,IAAG;;;gBAG9C,IAAI,IAAI,CAAC,cAAc,EAAE;AACvB,oBAAA,IAAI,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAA;AACnC,iBAAA;AAAM,qBAAA;oBACL,IAAI,IAAI,CAAC,mBAAmB,EAAE;AAC5B,wBAAA,IAAI,CAAC,mBAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,CAAA;AAC1C,qBAAA;AACF,iBAAA;AACH,aAAC,CAAC,CAAA;SAE4C;AAE9C;;;;AAIG;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AAA;AACJ,KAAC,CAAA;AACH;;AC5BA;;;;;;;;;;AAUG;AACG,SAAU,WAAW,CAAY,QAAoB,EAAA;AACzD,IAAA,MAAM,cAAc,GAAG,MAAM,EAAE,CAAA;;AAE/B,IAAA,OAAO,UACL,MAAW,EACX,WAAmB,EACnB,UAA+B,EAAA;AAE/B,QAAA,MAAM,CAAC,cAAc,CAAC,MAAM,EAAE,WAAW,EAAE;YACzC,GAAG,EAAE,UAAS,KAAa,EAAA;gBACzB,IAAI,CAAC,cAAc,CAAC,GAAG,oBAAoB,CAAC,KAAK,EAAE,QAAQ,CAAC,CAAA;aAC7D;AACD,YAAA,GAAG,EAAE,YAAA;AACH,gBAAA,OAAO,IAAI,CAAC,cAAc,CAAC,CAAA;aAC5B;AACF,SAAA,CAAC,CAAA;AACJ,KAAC,CAAA;AACH;;AC9BA;;AAEG;;;;"}
@@ -34,9 +34,9 @@ class CSVDataExporter {
34
34
  }));
35
35
  }
36
36
  }
37
- CSVDataExporter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CSVDataExporter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
38
- CSVDataExporter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CSVDataExporter });
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: CSVDataExporter, decorators: [{
37
+ CSVDataExporter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CSVDataExporter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
38
+ CSVDataExporter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CSVDataExporter });
39
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: CSVDataExporter, decorators: [{
40
40
  type: Injectable
41
41
  }] });
42
42
 
@@ -59,21 +59,21 @@ class XLSXDataExporter {
59
59
  }));
60
60
  }
61
61
  }
62
- XLSXDataExporter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: XLSXDataExporter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
63
- XLSXDataExporter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: XLSXDataExporter });
64
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: XLSXDataExporter, decorators: [{
62
+ XLSXDataExporter.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XLSXDataExporter, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
63
+ XLSXDataExporter.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XLSXDataExporter });
64
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: XLSXDataExporter, decorators: [{
65
65
  type: Injectable
66
66
  }] });
67
67
 
68
68
  class TheSeamDataExporterModule {
69
69
  }
70
- TheSeamDataExporterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataExporterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
71
- TheSeamDataExporterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataExporterModule });
72
- TheSeamDataExporterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataExporterModule, providers: [
70
+ TheSeamDataExporterModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataExporterModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
71
+ TheSeamDataExporterModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataExporterModule });
72
+ TheSeamDataExporterModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataExporterModule, providers: [
73
73
  { provide: THESEAM_DATA_EXPORTER, useClass: CSVDataExporter, multi: true },
74
74
  { provide: THESEAM_DATA_EXPORTER, useClass: XLSXDataExporter, multi: true }
75
75
  ] });
76
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataExporterModule, decorators: [{
76
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataExporterModule, decorators: [{
77
77
  type: NgModule,
78
78
  args: [{
79
79
  declarations: [],
@@ -96,12 +96,6 @@ function textDataFilter(data, text, options = DefaultTextFilterOptions) {
96
96
  }
97
97
  let _uid$2 = 0;
98
98
  class DataFilterTextComponent {
99
- set value(value) {
100
- const _value = !isNullOrUndefined(value) ? `${value}` : '';
101
- if (this._control.value !== _value) {
102
- this._control.setValue(_value);
103
- }
104
- }
105
99
  constructor(_filterContainer, _filterOptions) {
106
100
  this._filterContainer = _filterContainer;
107
101
  this._filterOptions = _filterOptions;
@@ -114,6 +108,12 @@ class DataFilterTextComponent {
114
108
  this.caseSensitive = this._optDefault('caseSensitive');
115
109
  this.filterStateChanges = this._control.valueChanges.pipe(switchMap(() => of(this.filterState())), shareReplay({ bufferSize: 1, refCount: true }));
116
110
  }
111
+ set value(value) {
112
+ const _value = !isNullOrUndefined(value) ? `${value}` : '';
113
+ if (this._control.value !== _value) {
114
+ this._control.setValue(_value);
115
+ }
116
+ }
117
117
  ngOnInit() { this._filterContainer.addFilter(this); }
118
118
  ngOnDestroy() { this._filterContainer.removeFilter(this); }
119
119
  _optDefault(prop) {
@@ -146,15 +146,15 @@ class DataFilterTextComponent {
146
146
  };
147
147
  }
148
148
  }
149
- DataFilterTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterTextComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
150
- DataFilterTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: DataFilterTextComponent, selector: "seam-data-filter-text", inputs: { properties: "properties", omitProperties: "omitProperties", exact: "exact", caseSensitive: "caseSensitive", placeholder: "placeholder", iconTpl: "iconTpl", value: "value" }, providers: [DATA_FILTER_TEXT], ngImport: i0, template: "<div class=\"position-relative\"\n [class.data-filter-text-has-icon]=\"iconTpl\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Text filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </ng-container>\n</div>\n", styles: [":host{display:block}.data-filter-text-has-icon>input{padding-left:30px}.data-filter-text-has-icon ::ng-deep fa-icon{position:absolute;top:3px;left:10px;bottom:0}.data-filter-text-has-icon ::ng-deep fa-icon .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }] });
149
+ DataFilterTextComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterTextComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
150
+ DataFilterTextComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: DataFilterTextComponent, selector: "seam-data-filter-text", inputs: { properties: "properties", omitProperties: "omitProperties", exact: "exact", caseSensitive: "caseSensitive", placeholder: "placeholder", iconTpl: "iconTpl", value: "value" }, providers: [DATA_FILTER_TEXT], ngImport: i0, template: "<div class=\"position-relative\"\n [class.data-filter-text-has-icon]=\"iconTpl\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Text filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </ng-container>\n</div>\n", styles: [":host{display:block}.data-filter-text-has-icon>input{padding-left:30px}.data-filter-text-has-icon ::ng-deep fa-icon{position:absolute;top:3px;left:10px;bottom:0}.data-filter-text-has-icon ::ng-deep fa-icon .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }] });
151
151
  __decorate([
152
152
  InputBoolean()
153
153
  ], DataFilterTextComponent.prototype, "exact", void 0);
154
154
  __decorate([
155
155
  InputBoolean()
156
156
  ], DataFilterTextComponent.prototype, "caseSensitive", void 0);
157
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterTextComponent, decorators: [{
157
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterTextComponent, decorators: [{
158
158
  type: Component,
159
159
  args: [{ selector: 'seam-data-filter-text', providers: [DATA_FILTER_TEXT], template: "<div class=\"position-relative\"\n [class.data-filter-text-has-icon]=\"iconTpl\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Text filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </ng-container>\n</div>\n", styles: [":host{display:block}.data-filter-text-has-icon>input{padding-left:30px}.data-filter-text-has-icon ::ng-deep fa-icon{position:absolute;top:3px;left:10px;bottom:0}.data-filter-text-has-icon ::ng-deep fa-icon .svg-inline--fa{vertical-align:middle}\n"] }]
160
160
  }], ctorParameters: function () {
@@ -200,12 +200,6 @@ function searchDataFilter(data, values, options = DefaultSearchFilterOptions) {
200
200
  }
201
201
  let _uid$1 = 0;
202
202
  class DataFilterSearchComponent {
203
- set value(value) {
204
- const _value = !isNullOrUndefined(value) ? `${value}` : '';
205
- if (this._control.value !== _value) {
206
- this._control.setValue(_value);
207
- }
208
- }
209
203
  constructor(_filterContainer, _filterOptions) {
210
204
  this._filterContainer = _filterContainer;
211
205
  this._filterOptions = _filterOptions;
@@ -220,6 +214,12 @@ class DataFilterSearchComponent {
220
214
  this.icon = faSearch;
221
215
  this.filterStateChanges = this._control.valueChanges.pipe(switchMap(() => of(this.filterState())), shareReplay({ bufferSize: 1, refCount: true }));
222
216
  }
217
+ set value(value) {
218
+ const _value = !isNullOrUndefined(value) ? `${value}` : '';
219
+ if (this._control.value !== _value) {
220
+ this._control.setValue(_value);
221
+ }
222
+ }
223
223
  ngOnInit() { this._filterContainer.addFilter(this); }
224
224
  ngOnDestroy() { this._filterContainer.removeFilter(this); }
225
225
  _optDefault(prop) {
@@ -252,15 +252,15 @@ class DataFilterSearchComponent {
252
252
  };
253
253
  }
254
254
  }
255
- DataFilterSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterSearchComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
256
- DataFilterSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: DataFilterSearchComponent, selector: "seam-data-filter-search", inputs: { properties: "properties", omitProperties: "omitProperties", exact: "exact", caseSensitive: "caseSensitive", placeholder: "placeholder", icon: "icon", iconTpl: "iconTpl", value: "value" }, providers: [DATA_FILTER_SEARCH], ngImport: i0, template: "<div class=\"position-relative\"\n [class.data-filter-search-has-icon]=\"iconTpl || icon\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Search filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl; else searchIconTpl\">\n <div class=\"data-filter-search--icon-wrapper\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </div>\n </ng-container>\n <ng-template #searchIconTpl>\n <ng-container *ngIf=\"icon\">\n <div class=\"data-filter-search--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\"></seam-icon>\n </div>\n </ng-container>\n </ng-template>\n</div>\n", styles: [":host{display:flex;flex:0 1 300px}.data-filter-search-has-icon{width:100%}.data-filter-search-has-icon>input{padding-left:30px}.data-filter-search-has-icon .data-filter-search--icon-wrapper{position:absolute;top:3px;left:10px;bottom:0}.data-filter-search-has-icon .data-filter-search--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "component", type: i4.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
255
+ DataFilterSearchComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterSearchComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
256
+ DataFilterSearchComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: DataFilterSearchComponent, selector: "seam-data-filter-search", inputs: { properties: "properties", omitProperties: "omitProperties", exact: "exact", caseSensitive: "caseSensitive", placeholder: "placeholder", icon: "icon", iconTpl: "iconTpl", value: "value" }, providers: [DATA_FILTER_SEARCH], ngImport: i0, template: "<div class=\"position-relative\"\n [class.data-filter-search-has-icon]=\"iconTpl || icon\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Search filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl; else searchIconTpl\">\n <div class=\"data-filter-search--icon-wrapper\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </div>\n </ng-container>\n <ng-template #searchIconTpl>\n <ng-container *ngIf=\"icon\">\n <div class=\"data-filter-search--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\"></seam-icon>\n </div>\n </ng-container>\n </ng-template>\n</div>\n", styles: [":host{display:flex;flex:0 1 300px}.data-filter-search-has-icon{width:100%}.data-filter-search-has-icon>input{padding-left:30px}.data-filter-search-has-icon .data-filter-search--icon-wrapper{position:absolute;top:3px;left:10px;bottom:0}.data-filter-search-has-icon .data-filter-search--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i1.NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: i2.DefaultValueAccessor, selector: "input:not([type=checkbox])[formControlName],textarea[formControlName],input:not([type=checkbox])[formControl],textarea[formControl],input:not([type=checkbox])[ngModel],textarea[ngModel],[ngDefaultControl]" }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3.InputDirective, selector: "input[seamInput], textarea[seamInput], ng-select[seamInput], seam-checkbox[seamInput] [ngbRadioGroup], seam-tel-input[seamInput], quill-editor[seamInput], seam-google-maps[seamInput]", inputs: ["seamInputSize", "id", "type", "placeholder", "required", "disabled", "readonly"], exportAs: ["seamInput"] }, { kind: "component", type: i4.IconComponent, selector: "seam-icon", inputs: ["grayscaleOnDisable", "disabled", "iconClass", "icon", "size", "showDefaultOnError", "defaultIcon", "iconType"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
257
257
  __decorate([
258
258
  InputBoolean()
259
259
  ], DataFilterSearchComponent.prototype, "exact", void 0);
260
260
  __decorate([
261
261
  InputBoolean()
262
262
  ], DataFilterSearchComponent.prototype, "caseSensitive", void 0);
263
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterSearchComponent, decorators: [{
263
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterSearchComponent, decorators: [{
264
264
  type: Component,
265
265
  args: [{ selector: 'seam-data-filter-search', providers: [DATA_FILTER_SEARCH], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div class=\"position-relative\"\n [class.data-filter-search-has-icon]=\"iconTpl || icon\"\n (click)=\"inp.focus()\">\n <label [attr.for]=\"inp.id\" class=\"sr-only\">Search filter</label>\n <input seamInput #inp=\"seamInput\" seamInputSize=\"sm\" [formControl]=\"_control\" [placeholder]=\"placeholder\">\n <ng-container *ngIf=\"iconTpl; else searchIconTpl\">\n <div class=\"data-filter-search--icon-wrapper\">\n <ng-container *ngTemplateOutlet=\"iconTpl\"></ng-container>\n </div>\n </ng-container>\n <ng-template #searchIconTpl>\n <ng-container *ngIf=\"icon\">\n <div class=\"data-filter-search--icon-wrapper\">\n <seam-icon [icon]=\"icon\" class=\"text-muted\"></seam-icon>\n </div>\n </ng-container>\n </ng-template>\n</div>\n", styles: [":host{display:flex;flex:0 1 300px}.data-filter-search-has-icon{width:100%}.data-filter-search-has-icon>input{padding-left:30px}.data-filter-search-has-icon .data-filter-search--icon-wrapper{position:absolute;top:3px;left:10px;bottom:0}.data-filter-search-has-icon .data-filter-search--icon-wrapper ::ng-deep .svg-inline--fa{vertical-align:middle}\n"] }]
266
266
  }], ctorParameters: function () {
@@ -349,13 +349,6 @@ function toggleButtonsFilter(data, values, options = DefaultToggleButtonsFilterO
349
349
  }
350
350
  let _uid = 0;
351
351
  class DataFilterToggleButtonsComponent {
352
- set value(value) {
353
- const _value = !isNullOrUndefined(value) ? coerceArray(value) : undefined;
354
- // console.log('_value', _value, this._control.value)
355
- if (this._control.value !== _value) {
356
- this._control.setValue(_value);
357
- }
358
- }
359
352
  constructor(_filterContainer, _filterOptions) {
360
353
  this._filterContainer = _filterContainer;
361
354
  this._filterOptions = _filterOptions;
@@ -371,6 +364,13 @@ class DataFilterToggleButtonsComponent {
371
364
  this.caseSensitive = this._optDefault('caseSensitive');
372
365
  this.filterStateChanges = this._control.valueChanges.pipe(tap(v => console.log('v', v)), switchMap(() => of(this.filterState())), tap(v => console.log('v2', v)), shareReplay({ bufferSize: 1, refCount: true }));
373
366
  }
367
+ set value(value) {
368
+ const _value = !isNullOrUndefined(value) ? coerceArray(value) : undefined;
369
+ // console.log('_value', _value, this._control.value)
370
+ if (this._control.value !== _value) {
371
+ this._control.setValue(_value);
372
+ }
373
+ }
374
374
  ngOnInit() {
375
375
  this._filterContainer.addFilter(this);
376
376
  if (this._filterOptions && hasProperty(this._filterOptions, 'initialValue')) {
@@ -410,9 +410,9 @@ class DataFilterToggleButtonsComponent {
410
410
  };
411
411
  }
412
412
  }
413
- DataFilterToggleButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterToggleButtonsComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
414
- DataFilterToggleButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.6", type: DataFilterToggleButtonsComponent, selector: "seam-data-filter-toggle-buttons", inputs: { properties: "properties", omitProperties: "omitProperties", multiple: "multiple", selectionToggleable: "selectionToggleable", buttons: "buttons", exact: "exact", caseSensitive: "caseSensitive", value: "value" }, providers: [DATA_FILTER_TOGGLE_BUTTON], ngImport: i0, template: "<div class=\"btn-group\" role=\"group\" aria-label=\"Progress Filter\"\n *ngIf=\"options as opts\"\n [formControl]=\"_control\"\n seamToggleGroup\n [multiple]=\"opts.multiple\"\n [selectionToggleable]=\"opts.selectionToggleable\">\n <ng-container *ngFor=\"let btn of buttons\">\n <button type=\"button\" class=\"btn btn-sm px-4\"\n [seamToggleGroupOption]=\"btn.value\"\n #opt=\"seamToggleGroupOption\"\n [class.btn-lightgray]=\"!opt.selected\"\n [class.btn-primary]=\"opt.selected\"\n (click)=\"opt.selected=!opt.selected\">\n {{ btn.name || btn.value }}\n </button>\n </ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.ToggleGroupDirective, selector: "[seamToggleGroup]", inputs: ["value", "disabled", "multiple", "selectionToggleable"], outputs: ["change"], exportAs: ["seamToggleGroup"] }, { kind: "directive", type: i3$1.ToggleGroupOptionDirective, selector: "[seamToggleGroupOption]", inputs: ["seamToggleGroupOption", "selected"], outputs: ["selectionChange"], exportAs: ["seamToggleGroupOption"] }] });
415
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: DataFilterToggleButtonsComponent, decorators: [{
413
+ DataFilterToggleButtonsComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterToggleButtonsComponent, deps: [{ token: THESEAM_DATA_FILTER_CONTAINER }, { token: THESEAM_DATA_FILTER_OPTIONS, optional: true }], target: i0.ɵɵFactoryTarget.Component });
414
+ DataFilterToggleButtonsComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.4", type: DataFilterToggleButtonsComponent, selector: "seam-data-filter-toggle-buttons", inputs: { properties: "properties", omitProperties: "omitProperties", multiple: "multiple", selectionToggleable: "selectionToggleable", buttons: "buttons", exact: "exact", caseSensitive: "caseSensitive", value: "value" }, providers: [DATA_FILTER_TOGGLE_BUTTON], ngImport: i0, template: "<div class=\"btn-group\" role=\"group\" aria-label=\"Progress Filter\"\n *ngIf=\"options as opts\"\n [formControl]=\"_control\"\n seamToggleGroup\n [multiple]=\"opts.multiple\"\n [selectionToggleable]=\"opts.selectionToggleable\">\n <ng-container *ngFor=\"let btn of buttons\">\n <button type=\"button\" class=\"btn btn-sm px-4\"\n [seamToggleGroupOption]=\"btn.value\"\n #opt=\"seamToggleGroupOption\"\n [class.btn-lightgray]=\"!opt.selected\"\n [class.btn-primary]=\"opt.selected\"\n (click)=\"opt.selected=!opt.selected\">\n {{ btn.name || btn.value }}\n </button>\n </ng-container>\n</div>\n", styles: [""], dependencies: [{ kind: "directive", type: i1.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i2.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i2.FormControlDirective, selector: "[formControl]", inputs: ["formControl", "disabled", "ngModel"], outputs: ["ngModelChange"], exportAs: ["ngForm"] }, { kind: "directive", type: i3$1.ToggleGroupDirective, selector: "[seamToggleGroup]", inputs: ["value", "disabled", "multiple", "selectionToggleable"], outputs: ["change"], exportAs: ["seamToggleGroup"] }, { kind: "directive", type: i3$1.ToggleGroupOptionDirective, selector: "[seamToggleGroupOption]", inputs: ["seamToggleGroupOption", "selected"], outputs: ["selectionChange"], exportAs: ["seamToggleGroupOption"] }] });
415
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: DataFilterToggleButtonsComponent, decorators: [{
416
416
  type: Component,
417
417
  args: [{ selector: 'seam-data-filter-toggle-buttons', providers: [DATA_FILTER_TOGGLE_BUTTON], template: "<div class=\"btn-group\" role=\"group\" aria-label=\"Progress Filter\"\n *ngIf=\"options as opts\"\n [formControl]=\"_control\"\n seamToggleGroup\n [multiple]=\"opts.multiple\"\n [selectionToggleable]=\"opts.selectionToggleable\">\n <ng-container *ngFor=\"let btn of buttons\">\n <button type=\"button\" class=\"btn btn-sm px-4\"\n [seamToggleGroupOption]=\"btn.value\"\n #opt=\"seamToggleGroupOption\"\n [class.btn-lightgray]=\"!opt.selected\"\n [class.btn-primary]=\"opt.selected\"\n (click)=\"opt.selected=!opt.selected\">\n {{ btn.name || btn.value }}\n </button>\n </ng-container>\n</div>\n" }]
418
418
  }], ctorParameters: function () {
@@ -455,8 +455,8 @@ const filterDefProviders = [
455
455
  ];
456
456
  class TheSeamDataFiltersModule {
457
457
  }
458
- TheSeamDataFiltersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
459
- TheSeamDataFiltersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataFiltersModule, declarations: [DataFilterSearchComponent,
458
+ TheSeamDataFiltersModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataFiltersModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
459
+ TheSeamDataFiltersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataFiltersModule, declarations: [DataFilterSearchComponent,
460
460
  DataFilterTextComponent,
461
461
  DataFilterToggleButtonsComponent], imports: [CommonModule,
462
462
  ReactiveFormsModule,
@@ -466,7 +466,7 @@ TheSeamDataFiltersModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0"
466
466
  TheSeamIconModule], exports: [DataFilterSearchComponent,
467
467
  DataFilterTextComponent,
468
468
  DataFilterToggleButtonsComponent] });
469
- TheSeamDataFiltersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataFiltersModule, providers: [
469
+ TheSeamDataFiltersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataFiltersModule, providers: [
470
470
  ...filterDefProviders
471
471
  ], imports: [CommonModule,
472
472
  ReactiveFormsModule,
@@ -474,7 +474,7 @@ TheSeamDataFiltersModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0"
474
474
  FontAwesomeModule,
475
475
  TheSeamToggleGroupModule,
476
476
  TheSeamIconModule] });
477
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.6", ngImport: i0, type: TheSeamDataFiltersModule, decorators: [{
477
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.4", ngImport: i0, type: TheSeamDataFiltersModule, decorators: [{
478
478
  type: NgModule,
479
479
  args: [{
480
480
  declarations: [