@theseam/ui-common 0.2.12 → 0.2.13

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 (327) hide show
  1. package/assets/vendor/intl-tel-input/js/utils.js +255 -254
  2. package/bundles/theseam-ui-common-asset-reader.umd.js +7 -9
  3. package/bundles/theseam-ui-common-asset-reader.umd.js.map +1 -1
  4. package/bundles/theseam-ui-common-breadcrumbs.umd.js +6 -8
  5. package/bundles/theseam-ui-common-breadcrumbs.umd.js.map +1 -1
  6. package/bundles/theseam-ui-common-buttons.umd.js +5 -5
  7. package/bundles/theseam-ui-common-buttons.umd.js.map +1 -1
  8. package/bundles/theseam-ui-common-card.umd.js +6 -6
  9. package/bundles/theseam-ui-common-card.umd.js.map +1 -1
  10. package/bundles/theseam-ui-common-checkbox.umd.js +4 -4
  11. package/bundles/theseam-ui-common-checkbox.umd.js.map +1 -1
  12. package/bundles/theseam-ui-common-confirm-dialog.umd.js +4 -4
  13. package/bundles/theseam-ui-common-confirm-dialog.umd.js.map +1 -1
  14. package/bundles/theseam-ui-common-core.umd.js +4 -4
  15. package/bundles/theseam-ui-common-core.umd.js.map +1 -1
  16. package/bundles/theseam-ui-common-data-exporter.umd.js +5 -5
  17. package/bundles/theseam-ui-common-data-filters.umd.js +9 -6
  18. package/bundles/theseam-ui-common-data-filters.umd.js.map +1 -1
  19. package/bundles/theseam-ui-common-datatable-dynamic.umd.js +7 -7
  20. package/bundles/theseam-ui-common-datatable-dynamic.umd.js.map +1 -1
  21. package/bundles/theseam-ui-common-datatable.umd.js +1308 -375
  22. package/bundles/theseam-ui-common-datatable.umd.js.map +1 -1
  23. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js +5 -7
  24. package/bundles/theseam-ui-common-dynamic-component-loader.umd.js.map +1 -1
  25. package/bundles/theseam-ui-common-dynamic.umd.js +7 -9
  26. package/bundles/theseam-ui-common-dynamic.umd.js.map +1 -1
  27. package/bundles/theseam-ui-common-footer-bar.umd.js +3 -3
  28. package/bundles/theseam-ui-common-form-field-error.umd.js +5 -5
  29. package/bundles/theseam-ui-common-form-field-error.umd.js.map +1 -1
  30. package/bundles/theseam-ui-common-form-field.umd.js +5 -5
  31. package/bundles/theseam-ui-common-form-field.umd.js.map +1 -1
  32. package/bundles/theseam-ui-common-framework.umd.js +27 -29
  33. package/bundles/theseam-ui-common-framework.umd.js.map +1 -1
  34. package/bundles/theseam-ui-common-graphql.umd.js +958 -8
  35. package/bundles/theseam-ui-common-graphql.umd.js.map +1 -1
  36. package/bundles/theseam-ui-common-icon.umd.js +5 -5
  37. package/bundles/theseam-ui-common-icon.umd.js.map +1 -1
  38. package/bundles/theseam-ui-common-layout.umd.js +5 -7
  39. package/bundles/theseam-ui-common-layout.umd.js.map +1 -1
  40. package/bundles/theseam-ui-common-loading.umd.js +4 -4
  41. package/bundles/theseam-ui-common-menu.umd.js +5 -5
  42. package/bundles/theseam-ui-common-menu.umd.js.map +1 -1
  43. package/bundles/theseam-ui-common-modal.umd.js +6 -6
  44. package/bundles/theseam-ui-common-modal.umd.js.map +1 -1
  45. package/bundles/theseam-ui-common-models.umd.js +3 -3
  46. package/bundles/theseam-ui-common-popover.umd.js +4 -4
  47. package/bundles/theseam-ui-common-progress.umd.js +5 -5
  48. package/bundles/theseam-ui-common-progress.umd.js.map +1 -1
  49. package/bundles/theseam-ui-common-scrollbar.umd.js +7 -9
  50. package/bundles/theseam-ui-common-scrollbar.umd.js.map +1 -1
  51. package/bundles/theseam-ui-common-services.umd.js +6 -8
  52. package/bundles/theseam-ui-common-services.umd.js.map +1 -1
  53. package/bundles/theseam-ui-common-shared.umd.js +4 -4
  54. package/bundles/theseam-ui-common-shared.umd.js.map +1 -1
  55. package/bundles/theseam-ui-common-storage.umd.js +5 -7
  56. package/bundles/theseam-ui-common-storage.umd.js.map +1 -1
  57. package/bundles/theseam-ui-common-story-helpers.umd.js +4 -4
  58. package/bundles/theseam-ui-common-story-helpers.umd.js.map +1 -1
  59. package/bundles/theseam-ui-common-tabbed.umd.js +5 -5
  60. package/bundles/theseam-ui-common-tabbed.umd.js.map +1 -1
  61. package/bundles/theseam-ui-common-table-cell-type.umd.js +5 -7
  62. package/bundles/theseam-ui-common-table-cell-type.umd.js.map +1 -1
  63. package/bundles/theseam-ui-common-table-cell-types.umd.js +16 -16
  64. package/bundles/theseam-ui-common-table-cell-types.umd.js.map +1 -1
  65. package/bundles/theseam-ui-common-table.umd.js +5 -5
  66. package/bundles/theseam-ui-common-table.umd.js.map +1 -1
  67. package/bundles/theseam-ui-common-tel-input.umd.js +6 -6
  68. package/bundles/theseam-ui-common-tel-input.umd.js.map +1 -1
  69. package/bundles/theseam-ui-common-testing.umd.js +568 -0
  70. package/bundles/theseam-ui-common-testing.umd.js.map +1 -0
  71. package/bundles/theseam-ui-common-tiled-select.umd.js +56 -39
  72. package/bundles/theseam-ui-common-tiled-select.umd.js.map +1 -1
  73. package/bundles/theseam-ui-common-toggle-edit.umd.js +8 -10
  74. package/bundles/theseam-ui-common-toggle-edit.umd.js.map +1 -1
  75. package/bundles/theseam-ui-common-toggle-group.umd.js +4 -4
  76. package/bundles/theseam-ui-common-toggle-group.umd.js.map +1 -1
  77. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js +5 -7
  78. package/bundles/theseam-ui-common-unsaved-changes-dialog.umd.js.map +1 -1
  79. package/bundles/theseam-ui-common-utils.umd.js +174 -81
  80. package/bundles/theseam-ui-common-utils.umd.js.map +1 -1
  81. package/bundles/theseam-ui-common-validators.umd.js +3 -3
  82. package/bundles/theseam-ui-common-viewers.umd.js +6 -8
  83. package/bundles/theseam-ui-common-viewers.umd.js.map +1 -1
  84. package/bundles/theseam-ui-common-widget.umd.js +18 -20
  85. package/bundles/theseam-ui-common-widget.umd.js.map +1 -1
  86. package/bundles/theseam-ui-common.umd.js +2 -2
  87. package/buttons/theseam-ui-common-buttons.metadata.json +1 -1
  88. package/card/theseam-ui-common-card.metadata.json +1 -1
  89. package/data-filters/data-filter.d.ts +10 -6
  90. package/data-filters/theseam-ui-common-data-filters.metadata.json +1 -1
  91. package/datatable/datatable/datatable.component.d.ts +46 -32
  92. package/datatable/datatable-column/datatable-column.component.d.ts +26 -25
  93. package/datatable/datatable-column-preferences/datatable-column-preferences.component.d.ts +7 -5
  94. package/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.d.ts +7 -1
  95. package/datatable/datatable-menu-bar/datatable-menu-bar.component.d.ts +1 -1
  96. package/datatable/directives/datatable-filter.directive.d.ts +1 -1
  97. package/datatable/models/columns-alteration.d.ts +61 -0
  98. package/datatable/models/columns-alterations/hide-column.columns-alteration.d.ts +15 -0
  99. package/datatable/models/columns-alterations/order.columns-alteration.d.ts +20 -0
  100. package/datatable/models/columns-alterations/sort.columns-alteration.d.ts +14 -0
  101. package/datatable/models/columns-alterations/width.columns-alteration.d.ts +16 -0
  102. package/datatable/models/datatable-accessor.d.ts +5 -3
  103. package/datatable/models/internal-column-props.d.ts +7 -0
  104. package/datatable/models/page-info.d.ts +12 -0
  105. package/datatable/models/preferences-accessor.d.ts +1 -1
  106. package/datatable/models/preferences.d.ts +11 -3
  107. package/datatable/models/sort-item.d.ts +2 -1
  108. package/datatable/services/columns-alterations-manager.service.d.ts +39 -0
  109. package/datatable/services/columns-manager.service.d.ts +55 -0
  110. package/datatable/services/datatable-preferences.service.d.ts +10 -7
  111. package/datatable/theseam-ui-common-datatable.d.ts +2 -0
  112. package/datatable/theseam-ui-common-datatable.metadata.json +1 -1
  113. package/datatable/tokens/datatable-preferences-accessor.d.ts +2 -2
  114. package/datatable/utils/create-action-menu-column.d.ts +3 -0
  115. package/datatable/utils/create-checkbox-column.d.ts +3 -0
  116. package/datatable/utils/get-column-prop.d.ts +5 -0
  117. package/datatable/utils/map-columns-alterations-states.d.ts +2 -0
  118. package/datatable/utils/remove-unused-diffs.d.ts +7 -0
  119. package/datatable/utils/set-column-defaults.d.ts +2 -0
  120. package/datatable/utils/translate-templates.d.ts +2 -0
  121. package/datatable/utils/with-stored-column-info.d.ts +2 -2
  122. package/datatable-dynamic/theseam-ui-common-datatable-dynamic.metadata.json +1 -1
  123. package/esm2015/buttons/progress-circle-button/progress-circle-button.component.js +1 -1
  124. package/esm2015/card/card-action/card-action.component.js +1 -1
  125. package/esm2015/card/card-body/card-body.component.js +1 -1
  126. package/esm2015/data-filters/data-filter.js +5 -2
  127. package/esm2015/data-filters/filters/data-filter-search/data-filter-search.component.js +1 -1
  128. package/esm2015/data-filters/filters/data-filter-text/data-filter-text.component.js +1 -1
  129. package/esm2015/datatable/datatable/datatable.component.js +195 -211
  130. package/esm2015/datatable/datatable-action-menu/datatable-action-menu.component.js +1 -1
  131. package/esm2015/datatable/datatable-column/datatable-column.component.js +1 -1
  132. package/esm2015/datatable/datatable-column-preferences/datatable-column-preferences.component.js +42 -19
  133. package/esm2015/datatable/datatable-column-preferences-button/datatable-column-preferences-button.component.js +38 -4
  134. package/esm2015/datatable/datatable-export-button/datatable-export-button.component.js +1 -1
  135. package/esm2015/datatable/datatable-menu-bar/datatable-menu-bar.component.js +1 -1
  136. package/esm2015/datatable/datatable-menu-bar-column-center/datatable-menu-bar-column-center.component.js +1 -1
  137. package/esm2015/datatable/datatable-menu-bar-column-left/datatable-menu-bar-column-left.component.js +1 -1
  138. package/esm2015/datatable/datatable-menu-bar-column-right/datatable-menu-bar-column-right.component.js +1 -1
  139. package/esm2015/datatable/datatable-menu-bar-row/datatable-menu-bar-row.component.js +1 -1
  140. package/esm2015/datatable/models/columns-alteration.js +38 -0
  141. package/esm2015/datatable/models/columns-alterations/hide-column.columns-alteration.js +38 -0
  142. package/esm2015/datatable/models/columns-alterations/order.columns-alteration.js +81 -0
  143. package/esm2015/datatable/models/columns-alterations/sort.columns-alteration.js +33 -0
  144. package/esm2015/datatable/models/columns-alterations/width.columns-alteration.js +41 -0
  145. package/esm2015/datatable/models/datatable-accessor.js +1 -1
  146. package/esm2015/datatable/models/internal-column-props.js +15 -0
  147. package/esm2015/datatable/models/page-info.js +1 -1
  148. package/esm2015/datatable/models/preferences-accessor.js +1 -1
  149. package/esm2015/datatable/models/preferences.js +6 -2
  150. package/esm2015/datatable/models/sort-item.js +1 -1
  151. package/esm2015/datatable/services/columns-alterations-manager.service.js +134 -0
  152. package/esm2015/datatable/services/columns-manager.service.js +257 -0
  153. package/esm2015/datatable/services/datatable-preferences.service.js +78 -32
  154. package/esm2015/datatable/theseam-ui-common-datatable.js +3 -1
  155. package/esm2015/datatable/tokens/datatable-preferences-accessor.js +2 -2
  156. package/esm2015/datatable/utils/create-action-menu-column.js +18 -0
  157. package/esm2015/datatable/utils/create-checkbox-column.js +15 -0
  158. package/esm2015/datatable/utils/get-column-prop.js +9 -0
  159. package/esm2015/datatable/utils/map-columns-alterations-states.js +39 -0
  160. package/esm2015/datatable/utils/remove-unused-diffs.js +9 -0
  161. package/esm2015/datatable/utils/set-column-defaults.js +10 -0
  162. package/esm2015/datatable/utils/translate-templates.js +12 -0
  163. package/esm2015/datatable/utils/with-stored-column-info.js +1 -1
  164. package/esm2015/datatable-dynamic/datatable-dynamic-action-menu/datatable-dynamic-action-menu.component.js +1 -1
  165. package/esm2015/datatable-dynamic/datatable-dynamic-filter-container/datatable-dynamic-filter-container.component.js +1 -1
  166. package/esm2015/datatable-dynamic/datatable-dynamic.component.js +1 -1
  167. package/esm2015/form-field/form-field.component.js +1 -1
  168. package/esm2015/form-field-error/form-field-error/form-field-error.component.js +1 -1
  169. package/esm2015/framework/base-layout/base-layout.component.js +1 -1
  170. package/esm2015/framework/dashboard/dashboard-widgets/dashboard-widgets.component.js +1 -1
  171. package/esm2015/framework/dynamic-router/hierarchy-router-outlet/hierarchy-router-outlet.component.js +1 -1
  172. package/esm2015/framework/schema-form-controls/schema-form-input/schema-form-input.component.js +1 -1
  173. package/esm2015/framework/schema-form-controls/schema-form-number/schema-form-number.component.js +1 -1
  174. package/esm2015/framework/schema-form-controls/schema-form-select/schema-form-select.component.js +1 -1
  175. package/esm2015/framework/schema-form-controls/schema-form-submit-split/schema-form-submit-split.component.js +1 -1
  176. package/esm2015/framework/side-nav/side-nav-item/side-nav-item.component.js +1 -1
  177. package/esm2015/framework/side-nav/side-nav-toggle/side-nav-toggle.component.js +1 -1
  178. package/esm2015/framework/side-nav/side-nav.component.js +1 -1
  179. package/esm2015/framework/top-bar/top-bar-menu-button/top-bar-menu-button.component.js +1 -1
  180. package/esm2015/framework/top-bar/top-bar-title/top-bar-title.component.js +1 -1
  181. package/esm2015/framework/top-bar/top-bar.component.js +1 -1
  182. package/esm2015/graphql/datatable/create-page-info-observable.js +38 -0
  183. package/esm2015/graphql/datatable/datatable-graphql-query-ref.js +236 -0
  184. package/esm2015/graphql/datatable/datatable-graphql.service.js +35 -0
  185. package/esm2015/graphql/datatable/datatable-helpers.js +170 -0
  186. package/esm2015/graphql/datatable/get-page-info.js +11 -0
  187. package/esm2015/graphql/datatable/index.js +7 -0
  188. package/esm2015/graphql/datatable/map-filter-states.js +64 -0
  189. package/esm2015/graphql/datatable/map-page-info.js +14 -0
  190. package/esm2015/graphql/datatable/mapper-context.js +2 -0
  191. package/esm2015/graphql/models/gql-datatable-accessor.js +2 -0
  192. package/esm2015/graphql/models/index.js +2 -1
  193. package/esm2015/graphql/models/query-processing-config.js +1 -1
  194. package/esm2015/graphql/public-api.js +2 -1
  195. package/esm2015/graphql/utils/parse-hints.js +3 -3
  196. package/esm2015/icon/icon/icon.component.js +1 -1
  197. package/esm2015/loading/loading/loading.component.js +1 -1
  198. package/esm2015/menu/menu.component.js +1 -1
  199. package/esm2015/modal/modal-body/modal-body.component.js +1 -1
  200. package/esm2015/modal/modal-container/modal-container.component.js +1 -1
  201. package/esm2015/popover/popover/popover.component.js +1 -1
  202. package/esm2015/progress/progress-circle/progress-circle.component.js +1 -1
  203. package/esm2015/tabbed/tabbed.component.js +1 -1
  204. package/esm2015/table/table/table.component.js +1 -1
  205. package/esm2015/table-cell-types/table-cell-type-icon/table-cell-type-icon.component.js +1 -1
  206. package/esm2015/table-cell-types/table-cell-type-progress-circle/table-cell-type-progress-circle.component.js +1 -1
  207. package/esm2015/tel-input/tel-input/tel-input.component.js +1 -1
  208. package/esm2015/testing/current-tick-time.js +16 -0
  209. package/esm2015/testing/fake-toastr.js +29 -0
  210. package/esm2015/testing/get-harness.js +16 -0
  211. package/esm2015/testing/public-api.js +7 -0
  212. package/esm2015/testing/render-story.js +12 -0
  213. package/esm2015/testing/story-expect.js +39 -0
  214. package/esm2015/testing/theseam-ui-common-testing.js +5 -0
  215. package/esm2015/testing/tick-helper.js +74 -0
  216. package/esm2015/tiled-select/components/tiled-select/tiled-select.component.js +25 -17
  217. package/esm2015/tiled-select/components/tiled-select-tile/tiled-select-tile.component.js +5 -2
  218. package/esm2015/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.js +1 -1
  219. package/esm2015/tiled-select/public-api.js +2 -1
  220. package/esm2015/tiled-select/tiled-select.models.js +1 -1
  221. package/esm2015/tiled-select/tiled-select.module.js +4 -4
  222. package/esm2015/toggle-edit/toggle-edit-actions-container/toggle-edit-actions-container.component.js +1 -1
  223. package/esm2015/toggle-edit/toggle-edit.component.js +1 -1
  224. package/esm2015/utils/array-move.js +62 -0
  225. package/esm2015/utils/public-api.js +2 -1
  226. package/esm2015/utils/router/is-empty-url-route.js +1 -1
  227. package/esm2015/utils/subscriber-count.js +31 -4
  228. package/esm2015/widget/widget/widget.component.js +1 -1
  229. package/esm2015/widget/widget-content-components/widget-button-group/widget-button-group.component.js +1 -1
  230. package/esm2015/widget/widget-content-components/widget-content-header/widget-content-header.component.js +1 -1
  231. package/esm2015/widget/widget-content-components/widget-empty-label/widget-empty-label.component.js +1 -1
  232. package/esm2015/widget/widget-content-components/widget-footer-link/widget-footer-link.component.js +1 -1
  233. package/esm2015/widget/widget-content-components/widget-footer-text/widget-footer-text.component.js +1 -1
  234. package/esm2015/widget/widget-content-components/widget-header-badge/widget-header-badge.component.js +1 -1
  235. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-footer-item/widget-tile-footer-item.component.js +1 -1
  236. package/esm2015/widget/widget-content-components/widget-tile/widget-tile-group/widget-tile-group.component.js +1 -1
  237. package/esm2015/widget/widget-content-components/widget-tile/widget-tile.component.js +1 -1
  238. package/esm2015/widget/widget-content-components/widget-tile-list/widget-tile-list.component.js +1 -1
  239. package/esm2015/widget/widget-footer/widget-footer.component.js +1 -1
  240. package/fesm2015/theseam-ui-common-buttons.js +1 -1
  241. package/fesm2015/theseam-ui-common-card.js +2 -2
  242. package/fesm2015/theseam-ui-common-data-filters.js +6 -3
  243. package/fesm2015/theseam-ui-common-data-filters.js.map +1 -1
  244. package/fesm2015/theseam-ui-common-datatable-dynamic.js +3 -3
  245. package/fesm2015/theseam-ui-common-datatable.js +1101 -316
  246. package/fesm2015/theseam-ui-common-datatable.js.map +1 -1
  247. package/fesm2015/theseam-ui-common-form-field-error.js +1 -1
  248. package/fesm2015/theseam-ui-common-form-field.js +1 -1
  249. package/fesm2015/theseam-ui-common-framework.js +13 -13
  250. package/fesm2015/theseam-ui-common-graphql.js +555 -5
  251. package/fesm2015/theseam-ui-common-graphql.js.map +1 -1
  252. package/fesm2015/theseam-ui-common-icon.js +1 -1
  253. package/fesm2015/theseam-ui-common-loading.js +1 -1
  254. package/fesm2015/theseam-ui-common-menu.js +1 -1
  255. package/fesm2015/theseam-ui-common-modal.js +2 -2
  256. package/fesm2015/theseam-ui-common-popover.js +1 -1
  257. package/fesm2015/theseam-ui-common-progress.js +1 -1
  258. package/fesm2015/theseam-ui-common-tabbed.js +1 -1
  259. package/fesm2015/theseam-ui-common-table-cell-types.js +2 -2
  260. package/fesm2015/theseam-ui-common-table.js +1 -1
  261. package/fesm2015/theseam-ui-common-tel-input.js +1 -1
  262. package/fesm2015/theseam-ui-common-testing.js +191 -0
  263. package/fesm2015/theseam-ui-common-testing.js.map +1 -0
  264. package/fesm2015/theseam-ui-common-tiled-select.js +34 -21
  265. package/fesm2015/theseam-ui-common-tiled-select.js.map +1 -1
  266. package/fesm2015/theseam-ui-common-toggle-edit.js +2 -2
  267. package/fesm2015/theseam-ui-common-utils.js +92 -4
  268. package/fesm2015/theseam-ui-common-utils.js.map +1 -1
  269. package/fesm2015/theseam-ui-common-widget.js +12 -12
  270. package/form-field/theseam-ui-common-form-field.metadata.json +1 -1
  271. package/form-field-error/theseam-ui-common-form-field-error.metadata.json +1 -1
  272. package/framework/theseam-ui-common-framework.metadata.json +1 -1
  273. package/graphql/datatable/create-page-info-observable.d.ts +4 -0
  274. package/graphql/datatable/datatable-graphql-query-ref.d.ts +65 -0
  275. package/graphql/datatable/datatable-graphql.service.d.ts +26 -0
  276. package/graphql/datatable/datatable-helpers.d.ts +12 -0
  277. package/graphql/datatable/get-page-info.d.ts +4 -0
  278. package/graphql/datatable/index.d.ts +6 -0
  279. package/graphql/datatable/map-filter-states.d.ts +18 -0
  280. package/graphql/datatable/map-page-info.d.ts +11 -0
  281. package/graphql/datatable/mapper-context.d.ts +6 -0
  282. package/graphql/models/gql-datatable-accessor.d.ts +9 -0
  283. package/graphql/models/index.d.ts +1 -0
  284. package/graphql/models/query-processing-config.d.ts +4 -0
  285. package/graphql/public-api.d.ts +1 -0
  286. package/graphql/theseam-ui-common-graphql.metadata.json +1 -1
  287. package/icon/theseam-ui-common-icon.metadata.json +1 -1
  288. package/loading/theseam-ui-common-loading.metadata.json +1 -1
  289. package/menu/theseam-ui-common-menu.metadata.json +1 -1
  290. package/modal/theseam-ui-common-modal.metadata.json +1 -1
  291. package/package.json +1 -1
  292. package/popover/theseam-ui-common-popover.metadata.json +1 -1
  293. package/progress/theseam-ui-common-progress.metadata.json +1 -1
  294. package/tabbed/theseam-ui-common-tabbed.metadata.json +1 -1
  295. package/table/theseam-ui-common-table.metadata.json +1 -1
  296. package/table-cell-types/theseam-ui-common-table-cell-types.metadata.json +1 -1
  297. package/tel-input/theseam-ui-common-tel-input.metadata.json +1 -1
  298. package/testing/current-tick-time.d.ts +13 -0
  299. package/testing/fake-toastr.d.ts +30 -0
  300. package/testing/get-harness.d.ts +7 -0
  301. package/testing/package.json +11 -0
  302. package/testing/public-api.d.ts +6 -0
  303. package/testing/render-story.d.ts +2 -0
  304. package/testing/story-expect.d.ts +5 -0
  305. package/{test-helpers/theseam-ui-common-test-helpers.d.ts → testing/theseam-ui-common-testing.d.ts} +0 -0
  306. package/testing/theseam-ui-common-testing.metadata.json +1 -0
  307. package/{test-helpers → testing}/tick-helper.d.ts +0 -0
  308. package/tiled-select/components/tiled-select/tiled-select.component.d.ts +7 -3
  309. package/tiled-select/components/tiled-select-tile/tiled-select-tile.component.d.ts +1 -0
  310. package/tiled-select/theseam-ui-common-tiled-select.metadata.json +1 -1
  311. package/tiled-select/tiled-select.models.d.ts +3 -1
  312. package/toggle-edit/theseam-ui-common-toggle-edit.metadata.json +1 -1
  313. package/utils/array-move.d.ts +49 -0
  314. package/utils/public-api.d.ts +1 -0
  315. package/utils/subscriber-count.d.ts +13 -1
  316. package/utils/theseam-ui-common-utils.metadata.json +1 -1
  317. package/widget/theseam-ui-common-widget.metadata.json +1 -1
  318. package/bundles/theseam-ui-common-test-helpers.umd.js +0 -94
  319. package/bundles/theseam-ui-common-test-helpers.umd.js.map +0 -1
  320. package/esm2015/test-helpers/public-api.js +0 -2
  321. package/esm2015/test-helpers/theseam-ui-common-test-helpers.js +0 -5
  322. package/esm2015/test-helpers/tick-helper.js +0 -74
  323. package/fesm2015/theseam-ui-common-test-helpers.js +0 -81
  324. package/fesm2015/theseam-ui-common-test-helpers.js.map +0 -1
  325. package/test-helpers/package.json +0 -11
  326. package/test-helpers/public-api.d.ts +0 -1
  327. package/test-helpers/theseam-ui-common-test-helpers.metadata.json +0 -1
@@ -1,8 +1,8 @@
1
1
  (function (global, factory) {
2
2
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/animations'), require('@angular/cdk/coercion'), require('@angular/cdk/platform'), require('@angular/core'), require('@angular/forms'), require('@theseam/ui-common/core'), require('@fortawesome/free-regular-svg-icons'), require('@angular/common'), require('@fortawesome/angular-fontawesome')) :
3
3
  typeof define === 'function' && define.amd ? define('@theseam/ui-common/tiled-select', ['exports', '@angular/animations', '@angular/cdk/coercion', '@angular/cdk/platform', '@angular/core', '@angular/forms', '@theseam/ui-common/core', '@fortawesome/free-regular-svg-icons', '@angular/common', '@fortawesome/angular-fontawesome'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam['ui-common'] = global.theseam['ui-common'] || {}, global.theseam['ui-common']['tiled-select'] = {}), global.ng.animations, global.ng.cdk.coercion, global.ng.cdk.platform, global.ng.core, global.ng.forms, global.theseam['ui-common'].core, global.freeRegularSvgIcons, global.ng.common, global.angularFontawesome));
5
- }(this, (function (exports, animations, coercion, platform, core, forms, core$1, freeRegularSvgIcons, common, angularFontawesome) { 'use strict';
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.theseam = global.theseam || {}, global.theseam["ui-common"] = global.theseam["ui-common"] || {}, global.theseam["ui-common"]["tiled-select"] = {}), global.ng.animations, global.ng.cdk.coercion, global.ng.cdk.platform, global.ng.core, global.ng.forms, global.theseam["ui-common"].core, global.freeRegularSvgIcons, global.ng.common, global.angularFontawesome));
5
+ })(this, (function (exports, animations, coercion, platform, core, forms, core$1, freeRegularSvgIcons, common, angularFontawesome) { 'use strict';
6
6
 
7
7
  /*! *****************************************************************************
8
8
  Copyright (c) Microsoft Corporation.
@@ -239,7 +239,7 @@
239
239
  ar[i] = from[i];
240
240
  }
241
241
  }
242
- return to.concat(ar || from);
242
+ return to.concat(ar || Array.prototype.slice.call(from));
243
243
  }
244
244
  function __await(v) {
245
245
  return this instanceof __await ? (this.v = v, this) : new __await(v);
@@ -350,13 +350,15 @@
350
350
  var TILED_SELECT_VALUE_ACCESSOR = {
351
351
  provide: forms.NG_VALUE_ACCESSOR,
352
352
  // tslint:disable-next-line:no-use-before-declare
353
- useExisting: core.forwardRef(function () { return TiledSelectComponent; }),
353
+ useExisting: core.forwardRef(function () { return TheSeamTiledSelectComponent; }),
354
354
  multi: true,
355
355
  };
356
- var TiledSelectComponent = /** @class */ (function () {
357
- function TiledSelectComponent(_platform, _cdr) {
356
+ var TheSeamTiledSelectComponent = /** @class */ (function () {
357
+ function TheSeamTiledSelectComponent(_platform, _cdr, _renderer, _elementRef) {
358
358
  this._platform = _platform;
359
359
  this._cdr = _cdr;
360
+ this._renderer = _renderer;
361
+ this._elementRef = _elementRef;
360
362
  this.layout = 'grid';
361
363
  this._tiles = [];
362
364
  this.disabled = false;
@@ -368,7 +370,7 @@
368
370
  this.change = new core.EventEmitter();
369
371
  this.tilesAnimationState = false;
370
372
  }
371
- Object.defineProperty(TiledSelectComponent.prototype, "tiles", {
373
+ Object.defineProperty(TheSeamTiledSelectComponent.prototype, "tiles", {
372
374
  get: function () { return this._tiles; },
373
375
  set: function (value) {
374
376
  var e_1, _b, e_2, _c;
@@ -424,13 +426,14 @@
424
426
  enumerable: false,
425
427
  configurable: true
426
428
  });
427
- TiledSelectComponent.prototype.ngOnInit = function () { };
428
- Object.defineProperty(TiledSelectComponent.prototype, "value", {
429
+ TheSeamTiledSelectComponent.prototype.ngOnInit = function () { };
430
+ Object.defineProperty(TheSeamTiledSelectComponent.prototype, "value", {
429
431
  get: function () {
430
432
  return this.val;
431
433
  },
432
434
  set: function (value) {
433
435
  this.val = (this.multiple) ? __spreadArray([], __read((value || []))) : value || '';
436
+ this._renderer.setProperty(this._elementRef.nativeElement, 'value', this.val);
434
437
  if (this.onChange) {
435
438
  this.onChange(this.val);
436
439
  this.change.emit(this.val);
@@ -443,22 +446,22 @@
443
446
  enumerable: false,
444
447
  configurable: true
445
448
  });
446
- TiledSelectComponent.prototype.writeValue = function (value) {
449
+ TheSeamTiledSelectComponent.prototype.writeValue = function (value) {
447
450
  this.value = value;
448
451
  };
449
- TiledSelectComponent.prototype.registerOnChange = function (fn) {
452
+ TheSeamTiledSelectComponent.prototype.registerOnChange = function (fn) {
450
453
  this.onChange = fn;
451
454
  };
452
- TiledSelectComponent.prototype.registerOnTouched = function (fn) {
455
+ TheSeamTiledSelectComponent.prototype.registerOnTouched = function (fn) {
453
456
  this.onTouched = fn;
454
457
  };
455
- TiledSelectComponent.prototype.setDisabledState = function (isDisabled) {
458
+ TheSeamTiledSelectComponent.prototype.setDisabledState = function (isDisabled) {
456
459
  this.disabled = isDisabled;
457
460
  };
458
- TiledSelectComponent.prototype.onTileSelected = function (event, tile) {
461
+ TheSeamTiledSelectComponent.prototype.onTileSelected = function (event, tile) {
459
462
  this.toggleTileSelected(tile);
460
463
  };
461
- TiledSelectComponent.prototype.isSelected = function (tile) {
464
+ TheSeamTiledSelectComponent.prototype.isSelected = function (tile) {
462
465
  var e_3, _b;
463
466
  if (!this.multiple) {
464
467
  if (this.value === tile.value) {
@@ -486,7 +489,7 @@
486
489
  }
487
490
  return false;
488
491
  };
489
- TiledSelectComponent.prototype.toggleTileSelected = function (tile) {
492
+ TheSeamTiledSelectComponent.prototype.toggleTileSelected = function (tile) {
490
493
  if (!this.selectionToggleable && this.isSelected(tile)) {
491
494
  return;
492
495
  }
@@ -497,7 +500,7 @@
497
500
  this.selectTile(tile);
498
501
  }
499
502
  };
500
- TiledSelectComponent.prototype.selectTile = function (tile) {
503
+ TheSeamTiledSelectComponent.prototype.selectTile = function (tile) {
501
504
  if (this.multiple) {
502
505
  if (!this.isSelected(tile)) {
503
506
  var value = this.value || [];
@@ -508,7 +511,7 @@
508
511
  this.value = tile.value;
509
512
  }
510
513
  };
511
- TiledSelectComponent.prototype.unselectTile = function (tile) {
514
+ TheSeamTiledSelectComponent.prototype.unselectTile = function (tile) {
512
515
  if (this.multiple) {
513
516
  var value = this.value || [];
514
517
  this.value = value.filter(function (v) { return v !== tile.value; });
@@ -517,21 +520,24 @@
517
520
  this.value = undefined;
518
521
  }
519
522
  };
520
- TiledSelectComponent.prototype.getSelectedTiles = function () {
523
+ TheSeamTiledSelectComponent.prototype.getSelectedTiles = function () {
521
524
  var _this = this;
522
525
  return this.tiles.filter(function (t) { return _this.isSelected(t); });
523
526
  };
524
- TiledSelectComponent.prototype.getOverlayTpl = function (tile) {
527
+ TheSeamTiledSelectComponent.prototype.getOverlayTpl = function (tile) {
525
528
  // console.log('overlayTpls', this.overlayTpls)
526
529
  return (this.overlayTpls || []).find(function (t) { var _a; return ((_a = t.record) === null || _a === void 0 ? void 0 : _a.name) === tile.name; });
527
530
  };
528
- return TiledSelectComponent;
531
+ return TheSeamTiledSelectComponent;
529
532
  }());
530
- TiledSelectComponent.decorators = [
533
+ TheSeamTiledSelectComponent.decorators = [
531
534
  { type: core.Component, args: [{
532
535
  selector: 'seam-tiled-select',
533
- template: "<div class=\"tiled-select--container\"\n [class.grid]=\"layout === 'grid'\"\n [class.list]=\"layout === 'list'\"\n [@tiles]=\"tilesAnimationState\"\n [@.disabled]=\"animationsDisabled\">\n <ng-container *ngFor=\"let tile of tiles\">\n <div class=\"tile-wrapper\" [ngClass]=\"tile.customClass || ''\">\n <seam-tiled-select-tile\n class=\"tiled-select-tile\"\n [ngClass]=\"tile.customClass || ''\"\n [name]=\"tile.name\"\n [label]=\"tile.label\"\n [icon]=\"tile.icon\"\n [disabled]=\"disabled || tile.disabled\"\n [attr.hidden]=\"tile.hidden\"\n [layout]=\"layout\"\n [selected]=\"isSelected(tile)\"\n [selectable]=\"true\"\n [tileBackdrop]=\"tileBackdrop\"\n [showSelectedIcon]=\"showSelectedIcon\"\n [overlayTpl]=\"getOverlayTpl(tile)\"\n (activated)=\"onTileSelected($event, tile)\">\n </seam-tiled-select-tile>\n </div>\n </ng-container>\n</div>\n",
536
+ template: "<div class=\"tiled-select--container\"\n [class.grid]=\"layout === 'grid'\"\n [class.list]=\"layout === 'list'\"\n [@tiles]=\"tilesAnimationState\"\n [@.disabled]=\"animationsDisabled\">\n <ng-container *ngFor=\"let tile of tiles; let index = index\">\n <div class=\"tile-wrapper\" [ngClass]=\"tile.customClass || ''\">\n <seam-tiled-select-tile\n class=\"tiled-select-tile\"\n [ngClass]=\"tile.customClass || ''\"\n [name]=\"tile.name\"\n [label]=\"tile.label\"\n [icon]=\"tile.icon\"\n [disabled]=\"disabled || tile.disabled\"\n [attr.hidden]=\"tile.hidden\"\n [layout]=\"layout\"\n [selected]=\"isSelected(tile)\"\n [selectable]=\"true\"\n [tileBackdrop]=\"tileBackdrop\"\n [showSelectedIcon]=\"showSelectedIcon\"\n [overlayTpl]=\"getOverlayTpl(tile)\"\n (activated)=\"onTileSelected($event, tile)\"\n [attr.data-tile-index]=\"index\"\n [attr.data-testid]=\"tile.name\">\n </seam-tiled-select-tile>\n </div>\n </ng-container>\n</div>\n",
534
537
  providers: [TILED_SELECT_VALUE_ACCESSOR],
538
+ host: {
539
+ '[attr.data-testid]': '"tiled-select"'
540
+ },
535
541
  animations: [
536
542
  animations.trigger('tiles', [
537
543
  animations.transition('* => *', [
@@ -539,14 +545,16 @@
539
545
  ])
540
546
  ])
541
547
  ],
542
- styles: [":host{display:block;width:100%}.tiled-select--container{display:flex;flex-wrap:wrap;justify-content:center}.tiled-select--container.grid{flex-direction:row}.tiled-select--container.grid .tile-wrapper{padding:12px;width:200px;height:180px}.tiled-select--container.grid .tile-wrapper .tiled-select-tile{height:100%}.tiled-select--container.grid .tile-wrapper.other-org{width:auto;height:auto}@media screen and (max-width:600px){.tiled-select--container.grid .tile-wrapper{padding:6px;width:150px;height:135px}}.tiled-select--container.list{flex-direction:column}.tiled-select--container.list .tile-wrapper{width:100%;height:50px}.tiled-select--container.list .tile-wrapper:not(:last-child){margin-bottom:4px}"]
548
+ styles: [":host{display:block;width:100%}.tiled-select--container{display:flex;flex-wrap:wrap;justify-content:center}.tiled-select--container.grid{flex-direction:row}.tiled-select--container.grid .tile-wrapper{padding:12px;width:200px;height:180px}.tiled-select--container.grid .tile-wrapper .tiled-select-tile{height:100%}.tiled-select--container.grid .tile-wrapper.other-org{width:auto;height:auto}@media screen and (max-width: 600px){.tiled-select--container.grid .tile-wrapper{padding:6px;width:150px;height:135px}}.tiled-select--container.list{flex-direction:column}.tiled-select--container.list .tile-wrapper{width:100%;height:50px}.tiled-select--container.list .tile-wrapper:not(:last-child){margin-bottom:4px}\n"]
543
549
  },] }
544
550
  ];
545
- TiledSelectComponent.ctorParameters = function () { return [
551
+ TheSeamTiledSelectComponent.ctorParameters = function () { return [
546
552
  { type: platform.Platform },
547
- { type: core.ChangeDetectorRef }
553
+ { type: core.ChangeDetectorRef },
554
+ { type: core.Renderer2 },
555
+ { type: core.ElementRef }
548
556
  ]; };
549
- TiledSelectComponent.propDecorators = {
557
+ TheSeamTiledSelectComponent.propDecorators = {
550
558
  layout: [{ type: core.Input }],
551
559
  tiles: [{ type: core.Input }],
552
560
  val: [{ type: core.Input, args: ['value',] }],
@@ -561,22 +569,22 @@
561
569
  };
562
570
  __decorate([
563
571
  core$1.InputBoolean()
564
- ], TiledSelectComponent.prototype, "disabled", void 0);
572
+ ], TheSeamTiledSelectComponent.prototype, "disabled", void 0);
565
573
  __decorate([
566
574
  core$1.InputBoolean()
567
- ], TiledSelectComponent.prototype, "multiple", void 0);
575
+ ], TheSeamTiledSelectComponent.prototype, "multiple", void 0);
568
576
  __decorate([
569
577
  core$1.InputBoolean()
570
- ], TiledSelectComponent.prototype, "selectionToggleable", void 0);
578
+ ], TheSeamTiledSelectComponent.prototype, "selectionToggleable", void 0);
571
579
  __decorate([
572
580
  core$1.InputBoolean()
573
- ], TiledSelectComponent.prototype, "tileBackdrop", void 0);
581
+ ], TheSeamTiledSelectComponent.prototype, "tileBackdrop", void 0);
574
582
  __decorate([
575
583
  core$1.InputBoolean()
576
- ], TiledSelectComponent.prototype, "showSelectedIcon", void 0);
584
+ ], TheSeamTiledSelectComponent.prototype, "showSelectedIcon", void 0);
577
585
  __decorate([
578
586
  core$1.InputBoolean()
579
- ], TiledSelectComponent.prototype, "animationsDisabled", void 0);
587
+ ], TheSeamTiledSelectComponent.prototype, "animationsDisabled", void 0);
580
588
 
581
589
  var TiledSelectTileLabelTplDirective = /** @class */ (function () {
582
590
  function TiledSelectTileLabelTplDirective(template) {
@@ -620,7 +628,13 @@
620
628
  this.activated = new core.EventEmitter();
621
629
  this.pulsing = false;
622
630
  }
631
+ Object.defineProperty(TiledSelectTileComponent.prototype, "_tileNameAttr", {
632
+ get: function () { return this.name; },
633
+ enumerable: false,
634
+ configurable: true
635
+ });
623
636
  TiledSelectTileComponent.prototype.onTileClick = function (event) {
637
+ console.log('event', event);
624
638
  if (!this.selectable) {
625
639
  return;
626
640
  }
@@ -668,7 +682,7 @@
668
682
  // transition('false <=> true', animate(500))
669
683
  // ])
670
684
  ],
671
- styles: [":host{display:block}.tiled-select-tile-panel{width:100%;height:100%;box-sizing:border-box;border:1px solid #e6e6e6;background-color:#fff;color:#505050;position:relative;overflow:hidden}.tiled-select-tile-panel:disabled:not(.no-grayscale){filter:grayscale(1)}.tiled-select-tile-panel .grey-fix{visibility:hidden;display:block}.tiled-select-tile-panel.selected{border:1px solid #3c96c8}.tiled-select-tile-panel.selectable:hover:not(:disabled){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12);cursor:pointer}.tiled-select-tile-panel.selectable:focus:not(:disabled){outline:none}.tiled-select-tile-panel:not(.selectable){box-shadow:0 3px 1px -2px rgba(0,0,0,.2),0 2px 2px 0 rgba(0,0,0,.14),0 1px 5px 0 rgba(0,0,0,.12)}.tiled-select-tile-panel .tiled-select-tile-panel--content{display:flex;height:100%;width:100%}.tiled-select-tile-panel .tiled-select-tile-panel--content .tiled-select-tile-panel--selected{position:absolute;top:4px;right:4px}.tiled-select-tile-panel .tiled-select-tile-panel--content .selected-backdrop{opacity:.2;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:15px;transition:background-color .2s ease-in-out;pointer-events:none}.tiled-select-tile-panel .tiled-select-tile-panel--overlay{position:absolute;top:0;left:0;bottom:0;right:0}.tiled-select-tile-panel.grid{border-radius:15px;padding:0;margin:0}.tiled-select-tile-panel.grid .tiled-select-tile-panel--content{flex-direction:column}.tiled-select-tile-panel.grid .tiled-select-tile-panel--content .selected-backdrop{border-radius:15px}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{flex:0 0 auto;height:2.5em;line-height:1em}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{display:block;font-size:90%;padding:0 1em;white-space:normal}@media screen and (max-width:600px){.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{height:2rem;line-height:.9em}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{font-size:13px;padding:0 .7em}}.tiled-select-tile-panel.list{border-radius:10px;padding:4px}.tiled-select-tile-panel.list .tiled-select-tile-panel--content{flex-direction:row}.tiled-select-tile-panel.list .tiled-select-tile-panel--content .selected-backdrop{border-radius:10px}.tiled-select-tile-panel.list .tiled-select-tile-panel--label-container{display:flex;max-height:100%;flex-direction:column;padding-right:40px}.tiled-select-tile-panel.list .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{padding:0 6px;text-align:left;margin:auto 0;font-size:80%;white-space:normal}.tiled-select-tile-panel.list .tiled-select-tile-panel--selected ::ng-deep .svg-inline--fa{height:39px}:host(.other-org) .tiled-select-tile-panel.grid{border:0}:host(.other-org) .tiled-select-tile-panel.grid.selectable:hover:not(:disabled){box-shadow:0 0}:host(.other-org) .tiled-select-tile-panel.grid.selectable:hover:not(:disabled) .tiled-select-tile-panel--label-container{text-decoration:underline}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--icon,:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--selected.text-success{display:none}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{height:auto;color:#357ebd}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--label{padding:.5rem 1rem}"]
685
+ styles: [":host{display:block}.tiled-select-tile-panel{width:100%;height:100%;box-sizing:border-box;border:1px solid #e6e6e6;background-color:#fff;color:#505050;position:relative;overflow:hidden}.tiled-select-tile-panel:disabled:not(.no-grayscale){filter:grayscale(1)}.tiled-select-tile-panel .grey-fix{visibility:hidden;display:block}.tiled-select-tile-panel.selected{border:1px solid #3c96c8}.tiled-select-tile-panel.selectable:hover:not(:disabled){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f;cursor:pointer}.tiled-select-tile-panel.selectable:focus:not(:disabled){outline:none}.tiled-select-tile-panel:not(.selectable){box-shadow:0 3px 1px -2px #0003,0 2px 2px #00000024,0 1px 5px #0000001f}.tiled-select-tile-panel .tiled-select-tile-panel--content{display:flex;height:100%;width:100%}.tiled-select-tile-panel .tiled-select-tile-panel--content .tiled-select-tile-panel--selected{position:absolute;top:4px;right:4px}.tiled-select-tile-panel .tiled-select-tile-panel--content .selected-backdrop{opacity:.2;position:absolute;top:0;right:0;bottom:0;left:0;border-radius:15px;transition:ease-in-out .2s background-color;pointer-events:none}.tiled-select-tile-panel .tiled-select-tile-panel--overlay{position:absolute;top:0;left:0;bottom:0;right:0}.tiled-select-tile-panel.grid{border-radius:15px;padding:0;margin:0}.tiled-select-tile-panel.grid .tiled-select-tile-panel--content{flex-direction:column}.tiled-select-tile-panel.grid .tiled-select-tile-panel--content .selected-backdrop{border-radius:15px}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{flex:0 0 auto;height:2.5em;line-height:1em}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{display:block;font-size:90%;padding:0 1em;white-space:normal;white-space:initial}@media screen and (max-width: 600px){.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{height:2rem;line-height:.9em}.tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{font-size:13px;padding:0 .7em}}.tiled-select-tile-panel.list{border-radius:10px;padding:4px}.tiled-select-tile-panel.list .tiled-select-tile-panel--content{flex-direction:row}.tiled-select-tile-panel.list .tiled-select-tile-panel--content .selected-backdrop{border-radius:10px}.tiled-select-tile-panel.list .tiled-select-tile-panel--label-container{display:flex;max-height:100%;flex-direction:column;padding-right:40px}.tiled-select-tile-panel.list .tiled-select-tile-panel--label-container .tiled-select-tile-panel--label{padding:0 6px;text-align:left;margin:auto 0;font-size:80%;white-space:normal;white-space:initial}.tiled-select-tile-panel.list .tiled-select-tile-panel--selected ::ng-deep .svg-inline--fa{height:39px}:host(.other-org) .tiled-select-tile-panel.grid{border:0}:host(.other-org) .tiled-select-tile-panel.grid.selectable:hover:not(:disabled){box-shadow:0 0}:host(.other-org) .tiled-select-tile-panel.grid.selectable:hover:not(:disabled) .tiled-select-tile-panel--label-container{text-decoration:underline}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--icon,:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--selected.text-success{display:none}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--label-container{height:auto;color:#357ebd}:host(.other-org) .tiled-select-tile-panel.grid .tiled-select-tile-panel--label{padding:.5rem 1rem}\n"]
672
686
  },] }
673
687
  ];
674
688
  TiledSelectTileComponent.ctorParameters = function () { return [
@@ -676,6 +690,7 @@
676
690
  ]; };
677
691
  TiledSelectTileComponent.propDecorators = {
678
692
  pulseAnimationState: [{ type: core.HostBinding, args: ['@pulse',] }],
693
+ _tileNameAttr: [{ type: core.HostBinding, args: ['attr.data-tile-name',] }],
679
694
  layout: [{ type: core.Input }],
680
695
  name: [{ type: core.Input }],
681
696
  label: [{ type: core.Input }],
@@ -776,7 +791,7 @@
776
791
  { type: core.Component, args: [{
777
792
  selector: 'seam-tiled-select-tile-icon',
778
793
  template: "<ng-container *ngIf=\"iconTpl; else noIconTpl\">\n <ng-template\n [ngTemplateOutlet]=\"iconTpl.template\"\n [ngTemplateOutletContext]=\"{ $implicit: icon, icon: icon }\">\n </ng-template>\n</ng-container>\n<ng-template #noIconTpl>\n\n <fa-icon *ngIf=\"_iconObj\"\n class=\"tiled-select-tile-icon--fa {{ iconClass }}\"\n [icon]=\"_iconObj\"></fa-icon>\n\n <ng-container *ngIf=\"_iconUrl\">\n <!-- Partial fix for IE greyscale -->\n <ng-container *ngIf=\"needToFix\">\n <ng-container *ngIf=\"disabled && grayscaleOnDisable\">\n <span class=\"grayscale-fix\" style=\"display: inline-block; position: relative;\">\n <svg xmlns=\"http://www.w3.org/2000/svg\" id=\"svgroot\" style=\"position: absolute; left: 0; right: 0;\" viewBox=\"0 0 48 48\" width=\"100%\" height=\"100%\">\n <defs><filter id=\"gray\"><feColorMatrix type=\"matrix\" values=\"0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\" /></filter></defs>\n <image filter=\"url(&quot;#gray&quot;)\" preserveAspectRatio=\"none meet\" x=\"0\" y=\"0\" width=\"48\" height=\"48\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n [attr.xlink:href]=\"_iconUrl\" />\n </svg>\n <img class=\"tiled-select-tile-panel--icon-img {{ iconClass }}\" style=\"display: block; visibility: hidden;\" alt=\"Icon\" [src]=\"_iconUrl\">\n </span>\n </ng-container>\n <ng-container *ngIf=\"!disabled\">\n <img class=\"tiled-select-tile-panel--icon-img {{ iconClass }}\" [src]=\"_iconUrl\" alt=\"Icon\">\n </ng-container>\n </ng-container>\n <ng-container *ngIf=\"!needToFix\">\n <img class=\"tiled-select-tile-panel--icon-img {{ iconClass }}\" [src]=\"_iconUrl\" alt=\"Icon\">\n </ng-container>\n </ng-container>\n\n</ng-template>\n",
779
- styles: [":host{display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden}:host.grid{flex:1 1 auto;margin:0 auto;display:flex;align-items:center;width:100%}:host.grid .tiled-select-tile-panel--icon-img{width:100%;max-width:75px;max-height:75px;margin:0 auto}:host.grid .tiled-select-tile-panel--icon-img[src$=\".svg\"]{height:100%}:host.grid>.grayscale-fix{max-width:75px;max-height:75px;margin:0 auto}:host.list{border:1px solid #e6e6e6;border-radius:8px;min-width:39px;width:39px;min-height:39px;height:39px;padding:1px;align-items:center;display:flex}:host.list img{max-width:100%;max-height:100%;margin:0 auto}.grey-fix{visibility:hidden;display:block}.tiled-select-tile-icon--fa{height:100%;display:flex;flex-direction:row;justify-content:center;text-align:center;width:100%;padding:2px}.tiled-select-tile-icon--fa ::ng-deep .svg-inline--fa{max-width:100%;height:100%;width:100%}"]
794
+ styles: [":host{display:block;-webkit-user-select:none;-moz-user-select:none;user-select:none;overflow:hidden}:host.grid{flex:1 1 auto;margin:0 auto;display:flex;align-items:center;width:100%}:host.grid .tiled-select-tile-panel--icon-img{width:100%;max-width:75px;max-height:75px;margin:0 auto}:host.grid .tiled-select-tile-panel--icon-img[src$=\".svg\"]{height:100%}:host.grid>.grayscale-fix{max-width:75px;max-height:75px;margin:0 auto}:host.list{border:1px solid #e6e6e6;border-radius:8px;min-width:39px;width:39px;min-height:39px;height:39px;padding:1px;align-items:center;display:flex}:host.list img{max-width:100%;max-height:100%;margin:0 auto}.grey-fix{visibility:hidden;display:block}.tiled-select-tile-icon--fa{height:100%;display:flex;flex-direction:row;justify-content:center;text-align:center;width:100%;padding:2px}.tiled-select-tile-icon--fa ::ng-deep .svg-inline--fa{max-width:100%;height:100%;width:100%}\n"]
780
795
  },] }
781
796
  ];
782
797
  TiledSelectTileIconComponent.ctorParameters = function () { return []; };
@@ -809,7 +824,7 @@
809
824
  angularFontawesome.FontAwesomeModule
810
825
  ],
811
826
  declarations: [
812
- TiledSelectComponent,
827
+ TheSeamTiledSelectComponent,
813
828
  TiledSelectTileComponent,
814
829
  TiledSelectTileOverlayDirective,
815
830
  TiledSelectTileIconComponent,
@@ -817,7 +832,7 @@
817
832
  TiledSelectTileLabelTplDirective
818
833
  ],
819
834
  exports: [
820
- TiledSelectComponent,
835
+ TheSeamTiledSelectComponent,
821
836
  TiledSelectTileComponent,
822
837
  TiledSelectTileOverlayDirective,
823
838
  TiledSelectTileIconTplDirective,
@@ -826,13 +841,15 @@
826
841
  },] }
827
842
  ];
828
843
 
844
+ // export * from './testing'
845
+
829
846
  /**
830
847
  * Generated bundle index. Do not edit.
831
848
  */
832
849
 
833
850
  exports.TILED_SELECT_VALUE_ACCESSOR = TILED_SELECT_VALUE_ACCESSOR;
851
+ exports.TheSeamTiledSelectComponent = TheSeamTiledSelectComponent;
834
852
  exports.TheSeamTiledSelectModule = TheSeamTiledSelectModule;
835
- exports.TiledSelectComponent = TiledSelectComponent;
836
853
  exports.TiledSelectTileComponent = TiledSelectTileComponent;
837
854
  exports.TiledSelectTileIconComponent = TiledSelectTileIconComponent;
838
855
  exports.TiledSelectTileIconTplDirective = TiledSelectTileIconTplDirective;
@@ -845,5 +862,5 @@
845
862
 
846
863
  Object.defineProperty(exports, '__esModule', { value: true });
847
864
 
848
- })));
865
+ }));
849
866
  //# sourceMappingURL=theseam-ui-common-tiled-select.umd.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"theseam-ui-common-tiled-select.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-overlay.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select/tiled-select.component.ts","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-label-tpl.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select-tile/tiled-select-tile.component.ts","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-icon-tpl.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.ts","../../../projects/ui-common/tiled-select/tiled-select.module.ts","../../../projects/ui-common/tiled-select/theseam-ui-common-tiled-select.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || from);\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Directive, Input, TemplateRef } from '@angular/core'\n\nimport { ITiledSelectItem } from '../tiled-select.models'\n\n@Directive({\n selector: '[seamTiledSelectTileOverlay]',\n exportAs: 'seamTiledSelectTileOverlay'\n})\nexport class TiledSelectTileOverlayDirective {\n\n @Input() record: ITiledSelectItem | undefined | null\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { animate, animation, query, stagger, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { BooleanInput, coerceArray } from '@angular/cdk/coercion'\nimport { Platform } from '@angular/cdk/platform'\nimport { ChangeDetectorRef, Component, ContentChildren, EventEmitter, forwardRef, Input, OnInit, Output, QueryList } from '@angular/core'\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\nimport { TiledSelectTileOverlayDirective } from './../../directives/tiled-select-tile-overlay.directive'\n\nimport { ITiledSelectItem, TiledSelectLayout } from '../../tiled-select.models'\n\nexport const slideEnterAnimation = animation([\n style({ opacity: 0, transform: 'translateX(-15px)' }),\n stagger(100, [\n animate('0.5s', style({ opacity: 1, transform: 'translateX(0)' }))\n ])\n])\n\nexport const TILED_SELECT_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n // tslint:disable-next-line:no-use-before-declare\n useExisting: forwardRef(() => TiledSelectComponent),\n multi: true,\n}\n\n@Component({\n selector: 'seam-tiled-select',\n templateUrl: './tiled-select.component.html',\n styleUrls: ['./tiled-select.component.scss'],\n providers: [ TILED_SELECT_VALUE_ACCESSOR ],\n animations: [\n trigger('tiles', [\n transition('* => *', [\n query(':enter', useAnimation(slideEnterAnimation), { optional: true })\n ])\n ])\n ],\n})\nexport class TiledSelectComponent implements OnInit, ControlValueAccessor {\n static ngAcceptInputType_val: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_multiple: BooleanInput\n static ngAcceptInputType_selectionToggleable: BooleanInput\n static ngAcceptInputType_tileBackdrop: BooleanInput\n static ngAcceptInputType_showSelectedIcon: BooleanInput\n static ngAcceptInputType_animationsDisabled: BooleanInput\n\n @Input() layout: TiledSelectLayout = 'grid'\n @Input()\n get tiles() { return this._tiles }\n set tiles(value: ITiledSelectItem[]) {\n const _value = [ ...(value || []) ]\n for (const v of _value) {\n if (v.value === undefined) {\n if (v.name === undefined) {\n throw new Error('If value is undefined then name must be defined.')\n }\n v.value = v.name\n }\n }\n\n const prev = this._tiles\n if (prev.length !== _value.length) {\n this.tilesAnimationState = !this.tilesAnimationState\n } else {\n for (const t of _value) {\n if (!prev.find(p => p.name === t.name)) {\n this.tilesAnimationState = !this.tilesAnimationState\n break\n }\n }\n }\n\n this._tiles = _value\n }\n private _tiles: ITiledSelectItem[] = []\n\n // tslint:disable-next-line:no-input-rename\n @Input('value') val: string | string[] | undefined\n\n @Input() @InputBoolean() disabled: boolean = false\n @Input() @InputBoolean() multiple: boolean = false\n @Input() @InputBoolean() selectionToggleable: boolean = true\n @Input() @InputBoolean() tileBackdrop: boolean = false\n @Input() @InputBoolean() showSelectedIcon: boolean = true\n @Input() @InputBoolean() animationsDisabled: boolean = this._platform.IOS\n\n @Output() readonly change = new EventEmitter<string | string[] | undefined>()\n\n tilesAnimationState = false\n\n onChange: any\n onTouched: any\n\n @ContentChildren(TiledSelectTileOverlayDirective)\n public overlayTpls?: QueryList<TiledSelectTileOverlayDirective>\n\n constructor(\n private readonly _platform: Platform,\n private readonly _cdr: ChangeDetectorRef\n ) { }\n\n ngOnInit() { }\n\n get value(): string | string[] | undefined {\n return this.val\n }\n\n set value(value: string | string[] | undefined) {\n this.val = (this.multiple) ? [ ...(<string[]>value || []) ] : value || ''\n if (this.onChange) {\n this.onChange(this.val)\n this.change.emit(this.val)\n this._cdr.markForCheck()\n }\n if (this.onTouched) { this.onTouched() }\n }\n\n writeValue(value: any): void {\n this.value = value\n }\n\n registerOnChange(fn: any): void {\n this.onChange = fn\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled\n }\n\n onTileSelected(event: MouseEvent, tile: ITiledSelectItem) {\n this.toggleTileSelected(tile)\n }\n\n public isSelected(tile: ITiledSelectItem) {\n if (!this.multiple) {\n if (this.value === tile.value) {\n return true\n }\n } else {\n if (this.value) {\n for (const v of this.value) {\n if (v === tile.value) {\n return true\n }\n }\n }\n }\n\n return false\n }\n\n public toggleTileSelected(tile: ITiledSelectItem): void {\n if (!this.selectionToggleable && this.isSelected(tile)) {\n return\n }\n\n if (this.isSelected(tile)) {\n this.unselectTile(tile)\n } else {\n this.selectTile(tile)\n }\n }\n\n public selectTile(tile: ITiledSelectItem): void {\n if (this.multiple) {\n if (!this.isSelected(tile)) {\n const value: string[] = <string[]>this.value || []\n this.value = [ ...coerceArray(value), tile.value ]\n }\n } else {\n this.value = tile.value\n }\n }\n\n public unselectTile(tile: ITiledSelectItem): void {\n if (this.multiple) {\n const value: string[] = <string[]>this.value || []\n this.value = value.filter(v => v !== tile.value)\n } else {\n this.value = undefined\n }\n }\n\n public getSelectedTiles(): ITiledSelectItem[] {\n return this.tiles.filter(t => this.isSelected(t))\n }\n\n getOverlayTpl(tile: ITiledSelectItem): TiledSelectTileOverlayDirective | undefined {\n // console.log('overlayTpls', this.overlayTpls)\n return (this.overlayTpls || []).find(t => t.record?.name === tile.name)\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamTiledSelectTileLabelTpl]'\n})\nexport class TiledSelectTileLabelTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { animate, animation, keyframes, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectorRef, Component, ContentChild, EventEmitter, HostBinding, Input, Output } from '@angular/core'\n\nimport { faCheckCircle } from '@fortawesome/free-regular-svg-icons'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { TiledSelectTileLabelTplDirective } from '../../directives/tiled-select-tile-label-tpl.directive'\nimport { TiledSelectTileOverlayDirective } from '../../directives/tiled-select-tile-overlay.directive'\nimport { TiledSelectLayout } from '../../tiled-select.models'\n\nexport const tilePulse = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d(1, 1, 1)' }),\n style({ transform: 'scale3d({{ scale }}, {{ scale }}, {{ scale }})' }),\n style({ transform: 'scale3d(1, 1, 1)' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\nexport const tileScaleUp = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d({{ scale }}, {{ scale }}, {{ scale }})' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\nexport const tileScaleDown = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d(1, 1, 1)' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\n@Component({\n selector: 'seam-tiled-select-tile',\n templateUrl: './tiled-select-tile.component.html',\n styleUrls: ['./tiled-select-tile.component.scss'],\n animations: [\n trigger('pulse', [\n transition('false => true', [\n useAnimation(tilePulse)\n // useAnimation(tileScaleUp)\n ]),\n // transition('true => false', [\n // useAnimation(tileScaleDown)\n // ])\n ]),\n // trigger('openClose', [\n // state('true', style({ height: '*' })),\n // state('false', style({ height: '0px' })),\n // transition('false <=> true', animate(500))\n // ])\n ],\n // changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TiledSelectTileComponent {\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_selected: BooleanInput\n static ngAcceptInputType_tileBackdrop: BooleanInput\n static ngAcceptInputType_selectable: BooleanInput\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_showLabel: BooleanInput\n static ngAcceptInputType_showSelectedIcon: BooleanInput\n\n faCheckCircle = faCheckCircle\n\n @HostBinding('@pulse') pulseAnimationState = true\n\n @Input() layout: TiledSelectLayout = 'grid'\n\n @Input() name: string | undefined | null\n @Input() label: string | undefined | null\n @Input() icon: SeamIcon | undefined | null\n @Input() @InputBoolean() disabled: boolean = false\n @Input() @InputBoolean() selected: boolean = false\n\n @Input() @InputBoolean() tileBackdrop: boolean = false\n @Input() @InputBoolean() selectable: boolean = false\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n @Input() @InputBoolean() showLabel: boolean = true\n @Input() @InputBoolean() showSelectedIcon: boolean = true\n\n @Input() iconClass: string | undefined | null\n\n @Input() overlayTpl: TiledSelectTileOverlayDirective | undefined | null\n\n @Output() activated = new EventEmitter<any>()\n\n @ContentChild(TiledSelectTileLabelTplDirective, { static: true }) labelTpl?: TiledSelectTileLabelTplDirective\n\n pulsing = false\n pulsingTimeout: number | undefined\n\n constructor(\n private cdr: ChangeDetectorRef\n ) { }\n\n onTileClick(event: any) {\n if (!this.selectable) { return }\n this.activated.emit(event)\n\n // this.pulsing = true\n // setTimeout(() => {\n // this.pulsing = false\n // }, 750)\n }\n\n mDown() {\n if (this.pulsingTimeout) {\n clearTimeout(this.pulsingTimeout)\n }\n\n if (!this.pulsing) {\n this.pulsing = true\n // this.cdr.detectChanges()\n }\n\n // console.log('start')\n this.pulsingTimeout = window.setTimeout(() => {\n this.pulsing = false\n // this.cdr.detectChanges()\n this.pulsingTimeout = undefined\n }, 750)\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamTiledSelectTileIconTpl]',\n exportAs: 'seamTiledSelectTileIconTpl'\n})\nexport class TiledSelectTileIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, HostBinding, Input, OnInit } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { TiledSelectTileIconTplDirective } from '../../directives/tiled-select-tile-icon-tpl.directive'\nimport { TiledSelectLayout } from '../../tiled-select.models'\n\nconst needToFix = /(MSIE 10)|(Trident.*rv:11\\.0)|( Edge\\/[\\d\\.]+$)/.test(navigator.userAgent)\n\n@Component({\n selector: 'seam-tiled-select-tile-icon',\n templateUrl: './tiled-select-tile-icon.component.html',\n styleUrls: ['./tiled-select-tile-icon.component.scss']\n})\nexport class TiledSelectTileIconComponent implements OnInit {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n\n needToFix = needToFix\n\n @HostBinding('class.grid') get _cssClassGrid() { return this.layout === 'grid' }\n @HostBinding('class.list') get _cssClassList() { return this.layout === 'list' }\n\n @Input()\n set layout(value: TiledSelectLayout) { this._layout = value || 'grid' }\n get layout(): TiledSelectLayout { return this._layout }\n private _layout: TiledSelectLayout = 'grid'\n\n @Input() @InputBoolean() grayscaleOnDisable: boolean = false\n @Input() @InputBoolean() disabled: boolean = false\n\n @Input() iconClass: string | undefined | null\n\n @Input()\n get icon(): SeamIcon | undefined | null { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined | null) {\n if (typeof value === 'string') {\n this._iconUrl = value\n this._iconObj = undefined\n } else {\n this._iconUrl = undefined\n this._iconObj = value\n }\n }\n\n public _iconUrl: string | undefined | null\n public _iconObj: IconProp | undefined | null\n\n @ContentChild(TiledSelectTileIconTplDirective, { static: true }) iconTpl?: TiledSelectTileIconTplDirective\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { TiledSelectTileIconComponent } from './components/tiled-select-tile-icon/tiled-select-tile-icon.component'\nimport { TiledSelectTileComponent } from './components/tiled-select-tile/tiled-select-tile.component'\nimport { TiledSelectComponent } from './components/tiled-select/tiled-select.component'\nimport { TiledSelectTileIconTplDirective } from './directives/tiled-select-tile-icon-tpl.directive'\nimport { TiledSelectTileLabelTplDirective } from './directives/tiled-select-tile-label-tpl.directive'\nimport { TiledSelectTileOverlayDirective } from './directives/tiled-select-tile-overlay.directive'\n\n@NgModule({\n imports: [\n CommonModule,\n FontAwesomeModule\n ],\n declarations: [\n TiledSelectComponent,\n TiledSelectTileComponent,\n TiledSelectTileOverlayDirective,\n TiledSelectTileIconComponent,\n TiledSelectTileIconTplDirective,\n TiledSelectTileLabelTplDirective\n ],\n exports: [\n TiledSelectComponent,\n TiledSelectTileComponent,\n TiledSelectTileOverlayDirective,\n TiledSelectTileIconTplDirective,\n TiledSelectTileLabelTplDirective\n ]\n})\nexport class TheSeamTiledSelectModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Directive","TemplateRef","Input","animation","style","stagger","animate","NG_VALUE_ACCESSOR","forwardRef","EventEmitter","coerceArray","Component","trigger","transition","query","useAnimation","Platform","ChangeDetectorRef","Output","ContentChildren","InputBoolean","keyframes","faCheckCircle","HostBinding","ContentChild","NgModule","CommonModule","FontAwesomeModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;I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AAQ,GAAG,KAAK,CAAA;oBACrB,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAA;iBAC1B;qBAAM;oBACL,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAA;oBACzB,IAAI,CAAC,QAAQ,GAAG,KAAK,CAAA;iBACtB;aACF;;;WATgF;QAkBjF,+CAAQ,GAAR,eAAc;;;;gBA3CfU,cAAS,SAAC;oBACT,QAAQ,EAAE,6BAA6B;oBACvC,wzDAAsD;;iBAEvD;;;;gCAOEY,gBAAW,SAAC,YAAY;gCACxBA,gBAAW,SAAC,YAAY;yBAExBrB,UAAK;qCAKLA,UAAK;2BACLA,UAAK;4BAELA,UAAK;uBAELA,UAAK;0BAeLsB,iBAAY,SAAC,+BAA+B,EAAE,EAAE,MAAM,EAAE,IAAI,EAAE;;IApBtC;QAAfJ,mBAAY,EAAE;4EAAoC;IACnC;QAAfA,mBAAY,EAAE;kEAA0B;;;QCApD;;;;;gBArBCK,aAAQ,SAAC;oBACR,OAAO,EAAE;wBACPC,mBAAY;wBACZC,oCAAiB;qBAClB;oBACD,YAAY,EAAE;wBACZ,oBAAoB;wBACpB,wBAAwB;wBACxB,+BAA+B;wBAC/B,4BAA4B;wBAC5B,+BAA+B;wBAC/B,gCAAgC;qBACjC;oBACD,OAAO,EAAE;wBACP,oBAAoB;wBACpB,wBAAwB;wBACxB,+BAA+B;wBAC/B,+BAA+B;wBAC/B,gCAAgC;qBACjC;iBACF;;;IChCD;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"theseam-ui-common-tiled-select.umd.js","sources":["../../../node_modules/tslib/tslib.es6.js","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-overlay.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select/tiled-select.component.ts","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-label-tpl.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select-tile/tiled-select-tile.component.ts","../../../projects/ui-common/tiled-select/directives/tiled-select-tile-icon-tpl.directive.ts","../../../projects/ui-common/tiled-select/components/tiled-select-tile-icon/tiled-select-tile-icon.component.ts","../../../projects/ui-common/tiled-select/tiled-select.module.ts","../../../projects/ui-common/tiled-select/public-api.ts","../../../projects/ui-common/tiled-select/theseam-ui-common-tiled-select.ts"],"sourcesContent":["/*! *****************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global Reflect, Promise */\r\n\r\nvar extendStatics = function(d, b) {\r\n extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n return extendStatics(d, b);\r\n};\r\n\r\nexport function __extends(d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n}\r\n\r\nexport var __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n }\r\n return __assign.apply(this, arguments);\r\n}\r\n\r\nexport function __rest(s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n}\r\n\r\nexport function __decorate(decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n}\r\n\r\nexport function __param(paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n}\r\n\r\nexport function __metadata(metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n}\r\n\r\nexport function __awaiter(thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n}\r\n\r\nexport function __generator(thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (_) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n}\r\n\r\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n});\r\n\r\nexport function __exportStar(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n}\r\n\r\nexport function __values(o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n}\r\n\r\nexport function __read(o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spread() {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n}\r\n\r\n/** @deprecated */\r\nexport function __spreadArrays() {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n}\r\n\r\nexport function __spreadArray(to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n}\r\n\r\nexport function __await(v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n}\r\n\r\nexport function __asyncGenerator(thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n}\r\n\r\nexport function __asyncDelegator(o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === \"return\" } : f ? f(v) : v; } : f; }\r\n}\r\n\r\nexport function __asyncValues(o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n}\r\n\r\nexport function __makeTemplateObject(cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n};\r\n\r\nvar __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n};\r\n\r\nexport function __importStar(mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n}\r\n\r\nexport function __importDefault(mod) {\r\n return (mod && mod.__esModule) ? mod : { default: mod };\r\n}\r\n\r\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n}\r\n\r\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n}\r\n","import { Directive, Input, TemplateRef } from '@angular/core'\n\nimport { ITiledSelectItem } from '../tiled-select.models'\n\n@Directive({\n selector: '[seamTiledSelectTileOverlay]',\n exportAs: 'seamTiledSelectTileOverlay'\n})\nexport class TiledSelectTileOverlayDirective {\n\n @Input() record: ITiledSelectItem | undefined | null\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { animate, animation, query, stagger, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { BooleanInput, coerceArray } from '@angular/cdk/coercion'\nimport { Platform } from '@angular/cdk/platform'\nimport { ChangeDetectorRef, Component, ContentChildren, ElementRef, EventEmitter, forwardRef, Input, OnInit, Output, QueryList, Renderer2 } from '@angular/core'\nimport { ControlValueAccessor, NG_VALUE_ACCESSOR } from '@angular/forms'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\n\nimport { TiledSelectTileOverlayDirective } from './../../directives/tiled-select-tile-overlay.directive'\n\nimport { ITiledSelectItem, TiledSelectLayout } from '../../tiled-select.models'\n\nexport const slideEnterAnimation = animation([\n style({ opacity: 0, transform: 'translateX(-15px)' }),\n stagger(100, [\n animate('0.5s', style({ opacity: 1, transform: 'translateX(0)' }))\n ])\n])\n\nexport const TILED_SELECT_VALUE_ACCESSOR: any = {\n provide: NG_VALUE_ACCESSOR,\n // tslint:disable-next-line:no-use-before-declare\n useExisting: forwardRef(() => TheSeamTiledSelectComponent),\n multi: true,\n}\n\n@Component({\n selector: 'seam-tiled-select',\n templateUrl: './tiled-select.component.html',\n styleUrls: ['./tiled-select.component.scss'],\n providers: [ TILED_SELECT_VALUE_ACCESSOR ],\n host: {\n '[attr.data-testid]': '\"tiled-select\"'\n },\n animations: [\n trigger('tiles', [\n transition('* => *', [\n query(':enter', useAnimation(slideEnterAnimation), { optional: true })\n ])\n ])\n ],\n})\nexport class TheSeamTiledSelectComponent implements OnInit, ControlValueAccessor {\n static ngAcceptInputType_val: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_multiple: BooleanInput\n static ngAcceptInputType_selectionToggleable: BooleanInput\n static ngAcceptInputType_tileBackdrop: BooleanInput\n static ngAcceptInputType_showSelectedIcon: BooleanInput\n static ngAcceptInputType_animationsDisabled: BooleanInput\n\n @Input() layout: TiledSelectLayout = 'grid'\n @Input()\n get tiles() { return this._tiles }\n set tiles(value: ITiledSelectItem[]) {\n const _value = [ ...(value || []) ]\n for (const v of _value) {\n if (v.value === undefined) {\n if (v.name === undefined) {\n throw new Error('If value is undefined then name must be defined.')\n }\n v.value = v.name\n }\n }\n\n const prev = this._tiles\n if (prev.length !== _value.length) {\n this.tilesAnimationState = !this.tilesAnimationState\n } else {\n for (const t of _value) {\n if (!prev.find(p => p.name === t.name)) {\n this.tilesAnimationState = !this.tilesAnimationState\n break\n }\n }\n }\n\n this._tiles = _value\n }\n private _tiles: ITiledSelectItem[] = []\n\n // tslint:disable-next-line:no-input-rename\n @Input('value') val: string | string[] | undefined\n\n @Input() @InputBoolean() disabled: boolean = false\n @Input() @InputBoolean() multiple: boolean = false\n @Input() @InputBoolean() selectionToggleable: boolean = true\n @Input() @InputBoolean() tileBackdrop: boolean = false\n @Input() @InputBoolean() showSelectedIcon: boolean = true\n @Input() @InputBoolean() animationsDisabled: boolean = this._platform.IOS\n\n @Output() readonly change = new EventEmitter<string | string[] | undefined>()\n\n tilesAnimationState = false\n\n onChange: any\n onTouched: any\n\n @ContentChildren(TiledSelectTileOverlayDirective)\n public overlayTpls?: QueryList<TiledSelectTileOverlayDirective>\n\n constructor(\n private readonly _platform: Platform,\n private readonly _cdr: ChangeDetectorRef,\n private readonly _renderer: Renderer2,\n private readonly _elementRef: ElementRef\n ) { }\n\n ngOnInit() { }\n\n get value(): string | string[] | undefined {\n return this.val\n }\n\n set value(value: string | string[] | undefined) {\n this.val = (this.multiple) ? [ ...(<string[]>value || []) ] : value || ''\n\n this._renderer.setProperty(this._elementRef.nativeElement, 'value', this.val)\n\n if (this.onChange) {\n this.onChange(this.val)\n this.change.emit(this.val)\n this._cdr.markForCheck()\n }\n if (this.onTouched) { this.onTouched() }\n }\n\n writeValue(value: any): void {\n this.value = value\n }\n\n registerOnChange(fn: any): void {\n this.onChange = fn\n }\n\n registerOnTouched(fn: any): void {\n this.onTouched = fn\n }\n\n setDisabledState(isDisabled: boolean): void {\n this.disabled = isDisabled\n }\n\n onTileSelected(event: MouseEvent, tile: ITiledSelectItem) {\n this.toggleTileSelected(tile)\n }\n\n public isSelected(tile: ITiledSelectItem) {\n if (!this.multiple) {\n if (this.value === tile.value) {\n return true\n }\n } else {\n if (this.value) {\n for (const v of this.value) {\n if (v === tile.value) {\n return true\n }\n }\n }\n }\n\n return false\n }\n\n public toggleTileSelected(tile: ITiledSelectItem): void {\n if (!this.selectionToggleable && this.isSelected(tile)) {\n return\n }\n\n if (this.isSelected(tile)) {\n this.unselectTile(tile)\n } else {\n this.selectTile(tile)\n }\n }\n\n public selectTile(tile: ITiledSelectItem): void {\n if (this.multiple) {\n if (!this.isSelected(tile)) {\n const value: string[] = <string[]>this.value || []\n this.value = [ ...coerceArray(value), tile.value ]\n }\n } else {\n this.value = tile.value\n }\n }\n\n public unselectTile(tile: ITiledSelectItem): void {\n if (this.multiple) {\n const value: string[] = <string[]>this.value || []\n this.value = value.filter(v => v !== tile.value)\n } else {\n this.value = undefined\n }\n }\n\n public getSelectedTiles(): ITiledSelectItem[] {\n return this.tiles.filter(t => this.isSelected(t))\n }\n\n getOverlayTpl(tile: ITiledSelectItem): TiledSelectTileOverlayDirective | undefined {\n // console.log('overlayTpls', this.overlayTpls)\n return (this.overlayTpls || []).find(t => t.record?.name === tile.name)\n }\n\n}\n\n/** @deprecated Use `TheSeamTiledSelectComponent`. */\nexport type TiledSelectComponent = TheSeamTiledSelectComponent\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamTiledSelectTileLabelTpl]'\n})\nexport class TiledSelectTileLabelTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { animate, animation, keyframes, style, transition, trigger, useAnimation } from '@angular/animations'\nimport { BooleanInput } from '@angular/cdk/coercion'\nimport { ChangeDetectorRef, Component, ContentChild, EventEmitter, HostBinding, Input, Output } from '@angular/core'\n\nimport { faCheckCircle } from '@fortawesome/free-regular-svg-icons'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { TiledSelectTileLabelTplDirective } from '../../directives/tiled-select-tile-label-tpl.directive'\nimport { TiledSelectTileOverlayDirective } from '../../directives/tiled-select-tile-overlay.directive'\nimport { TiledSelectLayout } from '../../tiled-select.models'\n\nexport const tilePulse = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d(1, 1, 1)' }),\n style({ transform: 'scale3d({{ scale }}, {{ scale }}, {{ scale }})' }),\n style({ transform: 'scale3d(1, 1, 1)' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\nexport const tileScaleUp = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d({{ scale }}, {{ scale }}, {{ scale }})' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\nexport const tileScaleDown = animation(\n animate(\n '{{ timing }}s {{ delay }}s',\n keyframes([\n style({ transform: 'scale3d(1, 1, 1)' }),\n ])\n ),\n { params: { scale: 1.05, timing: 0.75, delay: 0 } }\n)\n\n@Component({\n selector: 'seam-tiled-select-tile',\n templateUrl: './tiled-select-tile.component.html',\n styleUrls: ['./tiled-select-tile.component.scss'],\n animations: [\n trigger('pulse', [\n transition('false => true', [\n useAnimation(tilePulse)\n // useAnimation(tileScaleUp)\n ]),\n // transition('true => false', [\n // useAnimation(tileScaleDown)\n // ])\n ]),\n // trigger('openClose', [\n // state('true', style({ height: '*' })),\n // state('false', style({ height: '0px' })),\n // transition('false <=> true', animate(500))\n // ])\n ],\n // changeDetection: ChangeDetectionStrategy.OnPush\n})\nexport class TiledSelectTileComponent {\n static ngAcceptInputType_disabled: BooleanInput\n static ngAcceptInputType_selected: BooleanInput\n static ngAcceptInputType_tileBackdrop: BooleanInput\n static ngAcceptInputType_selectable: BooleanInput\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_showLabel: BooleanInput\n static ngAcceptInputType_showSelectedIcon: BooleanInput\n\n faCheckCircle = faCheckCircle\n\n @HostBinding('@pulse') pulseAnimationState = true\n @HostBinding('attr.data-tile-name') get _tileNameAttr() { return this.name }\n\n @Input() layout: TiledSelectLayout = 'grid'\n\n @Input() name: string | undefined | null\n @Input() label: string | undefined | null\n @Input() icon: SeamIcon | undefined | null\n @Input() @InputBoolean() disabled: boolean = false\n @Input() @InputBoolean() selected: boolean = false\n\n @Input() @InputBoolean() tileBackdrop: boolean = false\n @Input() @InputBoolean() selectable: boolean = false\n @Input() @InputBoolean() grayscaleOnDisable: boolean = true\n @Input() @InputBoolean() showLabel: boolean = true\n @Input() @InputBoolean() showSelectedIcon: boolean = true\n\n @Input() iconClass: string | undefined | null\n\n @Input() overlayTpl: TiledSelectTileOverlayDirective | undefined | null\n\n @Output() activated = new EventEmitter<any>()\n\n @ContentChild(TiledSelectTileLabelTplDirective, { static: true }) labelTpl?: TiledSelectTileLabelTplDirective\n\n pulsing = false\n pulsingTimeout: number | undefined\n\n constructor(\n private cdr: ChangeDetectorRef\n ) { }\n\n onTileClick(event: any) {\n console.log('event', event)\n if (!this.selectable) { return }\n this.activated.emit(event)\n\n // this.pulsing = true\n // setTimeout(() => {\n // this.pulsing = false\n // }, 750)\n }\n\n mDown() {\n if (this.pulsingTimeout) {\n clearTimeout(this.pulsingTimeout)\n }\n\n if (!this.pulsing) {\n this.pulsing = true\n // this.cdr.detectChanges()\n }\n\n // console.log('start')\n this.pulsingTimeout = window.setTimeout(() => {\n this.pulsing = false\n // this.cdr.detectChanges()\n this.pulsingTimeout = undefined\n }, 750)\n }\n\n}\n","import { Directive, TemplateRef } from '@angular/core'\n\n@Directive({\n selector: '[seamTiledSelectTileIconTpl]',\n exportAs: 'seamTiledSelectTileIconTpl'\n})\nexport class TiledSelectTileIconTplDirective {\n\n constructor(public template: TemplateRef<any>) { }\n\n}\n","import { BooleanInput } from '@angular/cdk/coercion'\nimport { Component, ContentChild, HostBinding, Input, OnInit } from '@angular/core'\n\nimport { IconProp } from '@fortawesome/fontawesome-svg-core'\n\nimport { InputBoolean } from '@theseam/ui-common/core'\nimport { SeamIcon } from '@theseam/ui-common/icon'\n\nimport { TiledSelectTileIconTplDirective } from '../../directives/tiled-select-tile-icon-tpl.directive'\nimport { TiledSelectLayout } from '../../tiled-select.models'\n\nconst needToFix = /(MSIE 10)|(Trident.*rv:11\\.0)|( Edge\\/[\\d\\.]+$)/.test(navigator.userAgent)\n\n@Component({\n selector: 'seam-tiled-select-tile-icon',\n templateUrl: './tiled-select-tile-icon.component.html',\n styleUrls: ['./tiled-select-tile-icon.component.scss']\n})\nexport class TiledSelectTileIconComponent implements OnInit {\n static ngAcceptInputType_grayscaleOnDisable: BooleanInput\n static ngAcceptInputType_disabled: BooleanInput\n\n needToFix = needToFix\n\n @HostBinding('class.grid') get _cssClassGrid() { return this.layout === 'grid' }\n @HostBinding('class.list') get _cssClassList() { return this.layout === 'list' }\n\n @Input()\n set layout(value: TiledSelectLayout) { this._layout = value || 'grid' }\n get layout(): TiledSelectLayout { return this._layout }\n private _layout: TiledSelectLayout = 'grid'\n\n @Input() @InputBoolean() grayscaleOnDisable: boolean = false\n @Input() @InputBoolean() disabled: boolean = false\n\n @Input() iconClass: string | undefined | null\n\n @Input()\n get icon(): SeamIcon | undefined | null { return this._iconUrl || this._iconObj }\n set icon(value: SeamIcon | undefined | null) {\n if (typeof value === 'string') {\n this._iconUrl = value\n this._iconObj = undefined\n } else {\n this._iconUrl = undefined\n this._iconObj = value\n }\n }\n\n public _iconUrl: string | undefined | null\n public _iconObj: IconProp | undefined | null\n\n @ContentChild(TiledSelectTileIconTplDirective, { static: true }) iconTpl?: TiledSelectTileIconTplDirective\n\n constructor() { }\n\n ngOnInit() { }\n\n}\n","import { CommonModule } from '@angular/common'\nimport { NgModule } from '@angular/core'\n\nimport { FontAwesomeModule } from '@fortawesome/angular-fontawesome'\n\nimport { TiledSelectTileIconComponent } from './components/tiled-select-tile-icon/tiled-select-tile-icon.component'\nimport { TiledSelectTileComponent } from './components/tiled-select-tile/tiled-select-tile.component'\nimport { TheSeamTiledSelectComponent } from './components/tiled-select/tiled-select.component'\nimport { TiledSelectTileIconTplDirective } from './directives/tiled-select-tile-icon-tpl.directive'\nimport { TiledSelectTileLabelTplDirective } from './directives/tiled-select-tile-label-tpl.directive'\nimport { TiledSelectTileOverlayDirective } from './directives/tiled-select-tile-overlay.directive'\n\n@NgModule({\n imports: [\n CommonModule,\n FontAwesomeModule\n ],\n declarations: [\n TheSeamTiledSelectComponent,\n TiledSelectTileComponent,\n TiledSelectTileOverlayDirective,\n TiledSelectTileIconComponent,\n TiledSelectTileIconTplDirective,\n TiledSelectTileLabelTplDirective\n ],\n exports: [\n TheSeamTiledSelectComponent,\n TiledSelectTileComponent,\n TiledSelectTileOverlayDirective,\n TiledSelectTileIconTplDirective,\n TiledSelectTileLabelTplDirective\n ]\n})\nexport class TheSeamTiledSelectModule { }\n","export * from './components/tiled-select/tiled-select.component'\nexport * from './components/tiled-select-tile/tiled-select-tile.component'\nexport * from './components/tiled-select-tile-icon/tiled-select-tile-icon.component'\nexport * from './directives/tiled-select-tile-icon-tpl.directive'\nexport * from './directives/tiled-select-tile-label-tpl.directive'\nexport * from './directives/tiled-select-tile-overlay.directive'\nexport * from './tiled-select.models'\nexport * from './tiled-select.module'\n// export * from './testing'\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":["Directive","TemplateRef","Input","animation","style","stagger","animate","NG_VALUE_ACCESSOR","forwardRef","EventEmitter","coerceArray","Component","trigger","transition","query","useAnimation","Platform","ChangeDetectorRef","Renderer2","ElementRef","Output","ContentChildren","InputBoolean","keyframes","faCheckCircle","HostBinding","ContentChild","NgModule","CommonModule","FontAwesomeModule"],"mappings":";;;;;;IAAA;;;;;;;;;;;;;;IAcA;IAEA,IAAI,aAAa,GAAG,UAAS,CAAC,EAAE,CAAC;QAC7B,aAAa,GAAG,MAAM,CAAC,cAAc;aAChC,EAAE,SAAS,EAAE,EAAE,EAAE,YAAY,KAAK,IAAI,UAAU,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,SAAS,GAAG,CAAC,CAAC,EAAE,CAAC;YAC5E,UAAU,CAAC,EAAE,CAAC,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