@smartbit4all/ng-client 6.0.17 → 6.0.18

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 (337) hide show
  1. package/README.md +386 -386
  2. package/esm2022/lib/component-factory-service/component-factory-service.module.mjs +1 -1
  3. package/esm2022/lib/component-factory-service/component-factory-service.service.mjs +1 -1
  4. package/esm2022/lib/component-factory-service/projects.mjs +1 -1
  5. package/esm2022/lib/session/api/api/api.mjs +1 -1
  6. package/esm2022/lib/session/api/api/session.service.mjs +1 -1
  7. package/esm2022/lib/session/api/configuration.mjs +1 -1
  8. package/esm2022/lib/session/api/encoder.mjs +1 -1
  9. package/esm2022/lib/session/api/index.mjs +1 -1
  10. package/esm2022/lib/session/api/model/accountInfo.mjs +1 -1
  11. package/esm2022/lib/session/api/model/apiError.mjs +1 -1
  12. package/esm2022/lib/session/api/model/authenticationProviderData.mjs +1 -1
  13. package/esm2022/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
  14. package/esm2022/lib/session/api/model/models.mjs +1 -1
  15. package/esm2022/lib/session/api/model/refreshSessionRequest.mjs +1 -1
  16. package/esm2022/lib/session/api/model/session.mjs +1 -1
  17. package/esm2022/lib/session/api/model/sessionInfoData.mjs +1 -1
  18. package/esm2022/lib/session/api/model/userActivityLog.mjs +1 -1
  19. package/esm2022/lib/session/api/param.mjs +1 -1
  20. package/esm2022/lib/session/api/variables.mjs +1 -1
  21. package/esm2022/lib/session/cookie-service/smart-cookie.service.mjs +1 -1
  22. package/esm2022/lib/session/projects.mjs +1 -2
  23. package/esm2022/lib/session/smart-backend-bootstrap.config.mjs +1 -1
  24. package/esm2022/lib/session/smart-backend-bootstrap.service.mjs +5 -5
  25. package/esm2022/lib/session/smart-default-error-ui.service.mjs +1 -1
  26. package/esm2022/lib/session/smart-error-catching.interceptor.mjs +1 -1
  27. package/esm2022/lib/session/smart-header-maintainer.interceptor.mjs +1 -1
  28. package/esm2022/lib/session/smart-session-handler.service.mjs +1 -1
  29. package/esm2022/lib/session/smart-session.module.mjs +1 -1
  30. package/esm2022/lib/session/smart-session.service.mjs +1 -1
  31. package/esm2022/lib/session/smart-timer/smart-session-timer.component.mjs +40 -20
  32. package/esm2022/lib/shared/projects.mjs +1 -1
  33. package/esm2022/lib/shared/shared.module.mjs +1 -1
  34. package/esm2022/lib/shared/smart-tooltip.directive.mjs +1 -1
  35. package/esm2022/lib/shared/smarttable.date-pipe.mjs +1 -1
  36. package/esm2022/lib/smart-client/projects.mjs +1 -1
  37. package/esm2022/lib/smart-client/smart-component-api-client.mjs +1 -1
  38. package/esm2022/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +3 -3
  39. package/esm2022/lib/smart-client/smart.component.mjs +1 -1
  40. package/esm2022/lib/smart-client/smart.service.mjs +1 -1
  41. package/esm2022/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
  42. package/esm2022/lib/smart-component-layout/api/model/models.mjs +1 -1
  43. package/esm2022/lib/smart-component-layout/api/model/toolbarDirection.mjs +1 -1
  44. package/esm2022/lib/smart-component-layout/api/model/toolbarProperties.mjs +1 -1
  45. package/esm2022/lib/smart-component-layout/projects.mjs +1 -1
  46. package/esm2022/lib/smart-component-layout/smart-component-layout-utility.mjs +1 -1
  47. package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +3 -3
  48. package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +1 -1
  49. package/esm2022/lib/smart-diagram/component/default-smart-diagram-options.provider.mjs +1 -1
  50. package/esm2022/lib/smart-diagram/component/smart-diagram.component.mjs +22 -22
  51. package/esm2022/lib/smart-diagram/component/smart-diagram.module.mjs +1 -1
  52. package/esm2022/lib/smart-diagram/component/smart-diagram.util.mjs +1 -1
  53. package/esm2022/lib/smart-diagram/projects.mjs +1 -1
  54. package/esm2022/lib/smart-dialog/projects.mjs +1 -1
  55. package/esm2022/lib/smart-dialog/smartdialog.component.mjs +3 -3
  56. package/esm2022/lib/smart-dialog/smartdialog.model.mjs +1 -1
  57. package/esm2022/lib/smart-dialog/smartdialog.module.mjs +1 -1
  58. package/esm2022/lib/smart-dialog/smartdialog.service.mjs +1 -1
  59. package/esm2022/lib/smart-expandable-section/expandable-section.component.mjs +3 -3
  60. package/esm2022/lib/smart-expandable-section/expandable-section.model.mjs +1 -1
  61. package/esm2022/lib/smart-expandable-section/projects.mjs +1 -1
  62. package/esm2022/lib/smart-expandable-section/smart-expandable-section.module.mjs +1 -1
  63. package/esm2022/lib/smart-expandable-section/smart-expandable-section.service.mjs +1 -1
  64. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
  65. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
  66. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
  67. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
  68. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
  69. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
  70. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
  71. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
  72. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
  73. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
  74. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
  75. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
  76. package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
  77. package/esm2022/lib/smart-filter/api/filter/model/model.mjs +1 -1
  78. package/esm2022/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.mjs +1 -1
  79. package/esm2022/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.mjs +1 -1
  80. package/esm2022/lib/smart-filter/api/value/model/value.mjs +1 -1
  81. package/esm2022/lib/smart-filter/projects.mjs +1 -1
  82. package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.mjs +1 -1
  83. package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +3 -3
  84. package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +3 -3
  85. package/esm2022/lib/smart-filter/smart-filter/smart-filter.component.mjs +3 -3
  86. package/esm2022/lib/smart-filter/smart-filter/smart-filter.service.mjs +1 -1
  87. package/esm2022/lib/smart-filter/smart-filter.model.mjs +1 -1
  88. package/esm2022/lib/smart-filter/smart-filter.module.mjs +1 -1
  89. package/esm2022/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
  90. package/esm2022/lib/smart-filter-editor/api/configuration.mjs +1 -1
  91. package/esm2022/lib/smart-filter-editor/api/encoder.mjs +1 -1
  92. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
  93. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
  94. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
  95. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
  96. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
  97. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
  98. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
  99. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
  100. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
  101. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
  102. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
  103. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
  104. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
  105. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
  106. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
  107. package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOrderBy.mjs +1 -1
  108. package/esm2022/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
  109. package/esm2022/lib/smart-filter-editor/api/param.mjs +1 -1
  110. package/esm2022/lib/smart-filter-editor/api/variables.mjs +1 -1
  111. package/esm2022/lib/smart-filter-editor/filterExpressionBuilderApiActions.mjs +1 -1
  112. package/esm2022/lib/smart-filter-editor/project.mjs +1 -1
  113. package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +3 -3
  114. package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +3 -3
  115. package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +3 -3
  116. package/esm2022/lib/smart-filter-editor/smart-filter-editor.model.mjs +1 -1
  117. package/esm2022/lib/smart-filter-editor/smart-filter-editor.module.mjs +1 -1
  118. package/esm2022/lib/smart-filter-editor/smart-filter-editor.service.mjs +1 -1
  119. package/esm2022/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +3 -3
  120. package/esm2022/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +3 -3
  121. package/esm2022/lib/smart-form/api/model/divProperties.mjs +1 -1
  122. package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
  123. package/esm2022/lib/smart-form/highlightMacthingString-pipe.mjs +1 -1
  124. package/esm2022/lib/smart-form/projects.mjs +1 -1
  125. package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +1 -1
  126. package/esm2022/lib/smart-form/services/smartform.service.mjs +1 -1
  127. package/esm2022/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +3 -3
  128. package/esm2022/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +3 -3
  129. package/esm2022/lib/smart-form/smartfileuploader/smartfileuploader.model.mjs +1 -1
  130. package/esm2022/lib/smart-form/smartform.component.mjs +3 -3
  131. package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
  132. package/esm2022/lib/smart-form/smartform.model.mjs +1 -1
  133. package/esm2022/lib/smart-form/widgets/components/smart-file-editor/smart-file-editor.component.mjs +3 -3
  134. package/esm2022/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +3 -3
  135. package/esm2022/lib/smart-form/widgets/components/smart-multi-file-editor/smart-multi-file-editor.component.mjs +3 -3
  136. package/esm2022/lib/smart-form/widgets/components/smart-voice-recorder/smart-voice-recorder.component.mjs +3 -3
  137. package/esm2022/lib/smart-form/widgets/directives/comparable-dropdown.directive.mjs +1 -1
  138. package/esm2022/lib/smart-form/widgets/directives/comparable-multiselect.directive.mjs +1 -1
  139. package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +17 -16
  140. package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +3 -3
  141. package/esm2022/lib/smart-form/widgets/smartformwidget/trackCaps.directive.mjs +1 -1
  142. package/esm2022/lib/smart-generic-pages/acl-editing-view/acl-editing-view.component.mjs +3 -3
  143. package/esm2022/lib/smart-generic-pages/api/platform/acl/model/aCL.mjs +1 -1
  144. package/esm2022/lib/smart-generic-pages/api/platform/acl/model/aCLEntry.mjs +1 -1
  145. package/esm2022/lib/smart-generic-pages/api/platform/acl/model/objectValidationSeverity.mjs +1 -1
  146. package/esm2022/lib/smart-generic-pages/api/platform/acl/model/subject.mjs +1 -1
  147. package/esm2022/lib/smart-generic-pages/api/platform/api-default/objectHistoryRangeData.mjs +1 -1
  148. package/esm2022/lib/smart-generic-pages/api/platform/searchpage/model/searchPageModel.mjs +1 -1
  149. package/esm2022/lib/smart-generic-pages/api/platform/subjectselector/model/subjectSelectorPageModel.mjs +1 -1
  150. package/esm2022/lib/smart-generic-pages/api/platform/validation/model/validationItem.mjs +1 -1
  151. package/esm2022/lib/smart-generic-pages/api/platform/validation/model/validationResultPageModel.mjs +1 -1
  152. package/esm2022/lib/smart-generic-pages/generic-page/generic-page.component.mjs +3 -3
  153. package/esm2022/lib/smart-generic-pages/invalid-smartlink/invalid-smartlink.component.mjs +3 -3
  154. package/esm2022/lib/smart-generic-pages/no-permission-page/no-permission-page.component.mjs +3 -3
  155. package/esm2022/lib/smart-generic-pages/projects.mjs +1 -1
  156. package/esm2022/lib/smart-generic-pages/search-page/search-page.component.mjs +3 -3
  157. package/esm2022/lib/smart-generic-pages/smart-generic-pages.module.mjs +1 -1
  158. package/esm2022/lib/smart-generic-pages/subject-selector/subject-selector.component.mjs +3 -3
  159. package/esm2022/lib/smart-generic-pages/validation-result-page/validation-result-page.component.mjs +3 -3
  160. package/esm2022/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
  161. package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
  162. package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
  163. package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
  164. package/esm2022/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
  165. package/esm2022/lib/smart-grid/api/grid-api/index.mjs +1 -1
  166. package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
  167. package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
  168. package/esm2022/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
  169. package/esm2022/lib/smart-grid/api/grid-api/model/gridExportDescriptor.mjs +1 -1
  170. package/esm2022/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
  171. package/esm2022/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
  172. package/esm2022/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
  173. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
  174. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
  175. package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
  176. package/esm2022/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
  177. package/esm2022/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
  178. package/esm2022/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
  179. package/esm2022/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
  180. package/esm2022/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
  181. package/esm2022/lib/smart-grid/api/grid-api/param.mjs +1 -1
  182. package/esm2022/lib/smart-grid/api/grid-api/variables.mjs +1 -1
  183. package/esm2022/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +3 -3
  184. package/esm2022/lib/smart-grid/components/generic-component/expanded-row-renderer.component.mjs +3 -3
  185. package/esm2022/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +3 -3
  186. package/esm2022/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +3 -3
  187. package/esm2022/lib/smart-grid/models/model.mjs +1 -1
  188. package/esm2022/lib/smart-grid/projects.mjs +1 -1
  189. package/esm2022/lib/smart-grid/smart-grid-toolbar-util.mjs +1 -1
  190. package/esm2022/lib/smart-grid/smart-grid.component.mjs +3 -3
  191. package/esm2022/lib/smart-grid/smart-grid.module.mjs +1 -1
  192. package/esm2022/lib/smart-grid/smart-grid.service.mjs +1 -1
  193. package/esm2022/lib/smart-icon/projects.mjs +1 -1
  194. package/esm2022/lib/smart-icon/smart-icon/smart-icon.component.mjs +3 -3
  195. package/esm2022/lib/smart-icon/smart-icon/ui-badge/ui-badge.component.mjs +3 -3
  196. package/esm2022/lib/smart-icon/smart-icon/ui-badge/ui-badge.directive.mjs +1 -1
  197. package/esm2022/lib/smart-icon/smart-icon.module.mjs +1 -1
  198. package/esm2022/lib/smart-icon/smart-icon.service.mjs +1 -1
  199. package/esm2022/lib/smart-map/abstract-map.mjs +1 -1
  200. package/esm2022/lib/smart-map/api-default/api-default.mjs +1 -1
  201. package/esm2022/lib/smart-map/impl/google-map.mjs +1 -1
  202. package/esm2022/lib/smart-map/impl/leaflet-map.mjs +1 -1
  203. package/esm2022/lib/smart-map/projects.mjs +1 -1
  204. package/esm2022/lib/smart-map/smart-map.component.mjs +3 -3
  205. package/esm2022/lib/smart-map/smart-map.module.mjs +1 -1
  206. package/esm2022/lib/smart-map/smart-map.types.mjs +1 -1
  207. package/esm2022/lib/smart-navbar/projects.mjs +1 -1
  208. package/esm2022/lib/smart-navbar/smart-navbar.component.mjs +3 -3
  209. package/esm2022/lib/smart-navbar/smart-navbar.model.mjs +1 -1
  210. package/esm2022/lib/smart-navbar/smart-navbar.module.mjs +1 -1
  211. package/esm2022/lib/smart-navbar/smart-navbar.service.mjs +1 -1
  212. package/esm2022/lib/smart-navigation/projects.mjs +1 -1
  213. package/esm2022/lib/smart-navigation/smart-navigation.interface.mjs +1 -1
  214. package/esm2022/lib/smart-navigation/smart-navigation.module.mjs +1 -1
  215. package/esm2022/lib/smart-navigation/smart-navigation.service.mjs +1 -1
  216. package/esm2022/lib/smart-ng-client.module.mjs +4 -3
  217. package/esm2022/lib/smart-ng-client.service.mjs +1 -1
  218. package/esm2022/lib/smart-subject/projects.mjs +1 -1
  219. package/esm2022/lib/smart-subject/smart-subject.mjs +1 -1
  220. package/esm2022/lib/smart-tab-group/projects.mjs +1 -1
  221. package/esm2022/lib/smart-tab-group/smart-tab-group.module.mjs +1 -1
  222. package/esm2022/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +3 -3
  223. package/esm2022/lib/smart-table/components/loading/loading.component.mjs +3 -3
  224. package/esm2022/lib/smart-table/directives/mat-context-menu-trigger-for.directive.mjs +1 -1
  225. package/esm2022/lib/smart-table/projects.mjs +1 -1
  226. package/esm2022/lib/smart-table/smarttable.component.mjs +3 -3
  227. package/esm2022/lib/smart-table/smarttable.model.mjs +1 -1
  228. package/esm2022/lib/smart-table/smarttable.module.mjs +1 -1
  229. package/esm2022/lib/smart-table/smarttable.service.mjs +1 -1
  230. package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +3 -3
  231. package/esm2022/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +3 -3
  232. package/esm2022/lib/smart-table/tables/table.mjs +1 -1
  233. package/esm2022/lib/smart-tree/projects.mjs +1 -1
  234. package/esm2022/lib/smart-tree/smarttree-generic.service.mjs +1 -1
  235. package/esm2022/lib/smart-tree/smarttree.component.mjs +3 -3
  236. package/esm2022/lib/smart-tree/smarttree.model.mjs +1 -1
  237. package/esm2022/lib/smart-tree/smarttree.module.mjs +1 -1
  238. package/esm2022/lib/smart-tree/smarttree.node.model.mjs +1 -1
  239. package/esm2022/lib/smart-tree/smarttree.service.interface.mjs +1 -1
  240. package/esm2022/lib/smart-tree/smarttree.service.mjs +1 -1
  241. package/esm2022/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
  242. package/esm2022/lib/smart-tree/tree-api/configuration.mjs +1 -1
  243. package/esm2022/lib/smart-tree/tree-api/encoder.mjs +1 -1
  244. package/esm2022/lib/smart-tree/tree-api/param.mjs +1 -1
  245. package/esm2022/lib/smart-tree/tree-api/variables.mjs +1 -1
  246. package/esm2022/lib/smart-validation/named-validator.service.mjs +1 -1
  247. package/esm2022/lib/smart-validation/projects.mjs +1 -1
  248. package/esm2022/lib/smart-validation/smart-validation.module.mjs +1 -1
  249. package/esm2022/lib/smart-validation/smart-validation.types.mjs +1 -1
  250. package/esm2022/lib/theme/theme.service.mjs +1 -1
  251. package/esm2022/lib/view-context/api/api-default/binaryContentData.mjs +1 -1
  252. package/esm2022/lib/view-context/api/api-default/binaryData.mjs +1 -1
  253. package/esm2022/lib/view-context/api/api-default/invocationError.mjs +1 -1
  254. package/esm2022/lib/view-context/api/api-default/invocationRequest.mjs +1 -1
  255. package/esm2022/lib/view-context/api/api-default/invocationRun.mjs +1 -1
  256. package/esm2022/lib/view-context/api/model/iconPosition.mjs +1 -1
  257. package/esm2022/lib/view-context/api/model/uiAction.mjs +1 -1
  258. package/esm2022/lib/view-context/default-view-components.token.mjs +1 -1
  259. package/esm2022/lib/view-context/invalid-fields-snack-bar/invalid-fields-snack-bar.component.mjs +3 -3
  260. package/esm2022/lib/view-context/message-dialog/message-dialog.component.mjs +3 -3
  261. package/esm2022/lib/view-context/projects.mjs +1 -1
  262. package/esm2022/lib/view-context/property-definition-data.mjs +1 -1
  263. package/esm2022/lib/view-context/reuse-router-slot.token.mjs +1 -1
  264. package/esm2022/lib/view-context/smart-embedded-slot.directive.mjs +1 -1
  265. package/esm2022/lib/view-context/smart-ui-action/components/menu/click/menu.component.mjs +3 -3
  266. package/esm2022/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.mjs +3 -3
  267. package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.constants.mjs +1 -1
  268. package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.service.mjs +1 -1
  269. package/esm2022/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +3 -3
  270. package/esm2022/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.mjs +3 -3
  271. package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component.mjs +3 -3
  272. package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/prime-file-uploader/prime-file-uploader.component.mjs +3 -3
  273. package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/upload-widget.component.mjs +3 -3
  274. package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/upload-widget.utils.mjs +1 -1
  275. package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component.mjs +3 -3
  276. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +3 -3
  277. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +1 -1
  278. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component.mjs +3 -3
  279. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +3 -3
  280. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +1 -1
  281. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +3 -3
  282. package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +1 -1
  283. package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +3 -3
  284. package/esm2022/lib/view-context/smart-ui-action/ui-action-button/button-icon-placeholder.mjs +1 -1
  285. package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +13 -4
  286. package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +3 -3
  287. package/esm2022/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +1 -1
  288. package/esm2022/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
  289. package/esm2022/lib/view-context/smart-ui-action/ui-action.service.mjs +1 -1
  290. package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +1 -1
  291. package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +3 -3
  292. package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +1 -1
  293. package/esm2022/lib/view-context/smart-view-context.interceptor.mjs +1 -1
  294. package/esm2022/lib/view-context/smart-view-context.model.mjs +1 -1
  295. package/esm2022/lib/view-context/smart-view-context.module.mjs +5 -3
  296. package/esm2022/lib/view-context/smart-view-context.service.mjs +2 -2
  297. package/esm2022/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +1 -1
  298. package/esm2022/lib/view-context/utility/componentLibrary.mjs +1 -1
  299. package/esm2022/lib/view-context/utility/smart-object-utility.mjs +1 -1
  300. package/esm2022/lib/view-context/utility/smart-style-utility.mjs +1 -1
  301. package/esm2022/lib/view-context/value-api/api/api.mjs +1 -1
  302. package/esm2022/lib/view-context/value-api/api/value.service.mjs +1 -1
  303. package/esm2022/lib/view-context/value-api/api.module.mjs +1 -1
  304. package/esm2022/lib/view-context/value-api/configuration.mjs +1 -1
  305. package/esm2022/lib/view-context/value-api/encoder.mjs +1 -1
  306. package/esm2022/lib/view-context/value-api/index.mjs +1 -1
  307. package/esm2022/lib/view-context/value-api/model/genericValue.mjs +1 -1
  308. package/esm2022/lib/view-context/value-api/model/models.mjs +1 -1
  309. package/esm2022/lib/view-context/value-api/model/value.mjs +1 -1
  310. package/esm2022/lib/view-context/value-api/model/valueSetData.mjs +1 -1
  311. package/esm2022/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
  312. package/esm2022/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
  313. package/esm2022/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
  314. package/esm2022/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
  315. package/esm2022/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
  316. package/esm2022/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
  317. package/esm2022/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
  318. package/esm2022/lib/view-context/value-api/param.mjs +1 -1
  319. package/esm2022/lib/view-context/value-api/variables.mjs +1 -1
  320. package/esm2022/lib/view-context/view-handler-resolution.mjs +1 -1
  321. package/esm2022/lib/view-context/view-op.mjs +1 -1
  322. package/esm2022/lib/view-context/view-slot-resolution.mjs +1 -1
  323. package/esm2022/projects.mjs +1 -1
  324. package/fesm2022/smartbit4all-ng-client.mjs +204 -228
  325. package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
  326. package/lib/session/projects.d.ts +0 -1
  327. package/lib/session/smart-backend-bootstrap.config.d.ts +1 -1
  328. package/lib/session/smart-timer/smart-session-timer.component.d.ts +9 -6
  329. package/lib/view-context/api/model/uiAction.d.ts +12 -0
  330. package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +6 -1
  331. package/lib/view-context/smart-view-context.module.d.ts +2 -1
  332. package/lib/view-context/smart-view-context.service.d.ts +1 -1
  333. package/package.json +1 -1
  334. package/smartbit4all-ng-client-6.0.18.tgz +0 -0
  335. package/esm2022/lib/session/smart-timer/smart-session-timer.service.mjs +0 -63
  336. package/lib/session/smart-timer/smart-session-timer.service.d.ts +0 -21
  337. package/smartbit4all-ng-client-6.0.17.tgz +0 -0
@@ -3,7 +3,6 @@ export * from './api/index';
3
3
  export * from './smart-session.module';
4
4
  export * from './smart-session-handler.service';
5
5
  export * from './smart-timer/smart-session-timer.component';
6
- export * from './smart-timer/smart-session-timer.service';
7
6
  export * from './smart-backend-bootstrap.service';
8
7
  export * from './smart-backend-bootstrap.config';
9
8
  export * from './smart-default-error-ui.service';
@@ -34,7 +34,7 @@ export interface SmartBackendBootstrapConfig {
34
34
  /** Optional override for the default `handleSessionError` flow. */
35
35
  onSessionError?: (err: SessionError) => Promise<void> | void;
36
36
  /** Optional override for the default `openSmartLink` handler. */
37
- onSmartLink?: (channel: string) => Promise<void> | void;
37
+ onSmartLink?: (channel: string, uuid: string) => Promise<void> | void;
38
38
  /** Hook for host UX when `start()` rejects (snackbar + retry). */
39
39
  onStartError?: (err: unknown) => Promise<void> | void;
40
40
  /**
@@ -1,16 +1,19 @@
1
1
  import { OnDestroy, OnInit } from '@angular/core';
2
- import { SmartSessionTimerService } from './smart-session-timer.service';
2
+ import { SmartSessionService } from '../smart-session.service';
3
3
  import { SmartBackendBootstrapService } from '../smart-backend-bootstrap.service';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SmartSessionTimerComponent implements OnInit, OnDestroy {
6
- service: SmartSessionTimerService;
6
+ private session;
7
7
  private bootstrap;
8
8
  private _destroy$;
9
- timeInSeconds?: number;
10
- constructor(service: SmartSessionTimerService, bootstrap: SmartBackendBootstrapService);
9
+ secondsLeft: import("@angular/core").WritableSignal<number | undefined>;
10
+ timeFormatted: import("@angular/core").Signal<string>;
11
+ timerId?: number;
12
+ onTimerExpired: import("@angular/core").OutputEmitterRef<void>;
13
+ constructor(session: SmartSessionService, bootstrap: SmartBackendBootstrapService);
11
14
  ngOnInit(): void;
15
+ private updateSecondsLeft;
12
16
  ngOnDestroy(): void;
13
- formatTime(seconds: number): string;
14
17
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerComponent, never>;
15
- static ɵcmp: i0.ɵɵComponentDeclaration<SmartSessionTimerComponent, "smart-session-timer", never, {}, {}, never, never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartSessionTimerComponent, "smart-session-timer", never, {}, { "onTimerExpired": "onTimerExpired"; }, never, never, false, never>;
16
19
  }
@@ -53,4 +53,16 @@ export interface UiAction {
53
53
  disabled?: boolean;
54
54
  backgroundProcess?: BackgroundProcessInfo;
55
55
  schedule?: UiActionSchedule;
56
+ /**
57
+ * The viewName of the view this action opens as a child of its host view. When set, the action participates in server-computed view-activation: viewActivated becomes non-null. Primary declaration and cheap pre-filter for activation matching.
58
+ */
59
+ opensView?: string;
60
+ /**
61
+ * Optional filter-expression DSL string that disambiguates among same-named sibling children (many buttons may open the same viewName). Evaluated against the candidate child View under the single context item named \'view\' via FilterExpressionContext.toPredicate(dsl, objectApi, \"view\"), e.g. \"view.parameters.entryDescriptor.name = \'foo\'\". Inject dynamic values with ${param} + FilterExpressionTextDsl.bind(...), never string concatenation.
62
+ */
63
+ opensViewFilter?: string;
64
+ /**
65
+ * Server-computed three-state activation output. null = not a view-opener (opensView unset); false = view-opener but its view is not open beneath the host; true = active. Invariant: non-null iff opensView is set. Authors never write this; it is recomputed server-side on every change assembly.
66
+ */
67
+ viewActivated?: boolean;
56
68
  }
@@ -11,6 +11,11 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
11
11
  disabled?: boolean;
12
12
  descriptor: UiActionDescriptor;
13
13
  code?: string;
14
+ /**
15
+ * Server-computed three-state view-activation flag (null = not an opener, false = inactive, true =
16
+ * active), mapped to sb4-view-opener/-activated/-not-activated classes. Client never writes it.
17
+ */
18
+ viewActivated?: boolean | null;
14
19
  addedCssClass?: string;
15
20
  addBasicClasses: boolean;
16
21
  iconPlaceholder?: ButtonIconPlaceholder;
@@ -52,5 +57,5 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
52
57
  getJustifyContent(): string | null;
53
58
  getSeparatorColor(): string;
54
59
  static ɵfac: i0.ɵɵFactoryDeclaration<UiActionButtonComponent, [null, { optional: true; }]>;
55
- static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "descriptor": { "alias": "descriptor"; "required": false; }; "code": { "alias": "code"; "required": false; }; "addedCssClass": { "alias": "addedCssClass"; "required": false; }; "addBasicClasses": { "alias": "addBasicClasses"; "required": false; }; "iconPlaceholder": { "alias": "iconPlaceholder"; "required": false; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, false, never>;
60
+ static ɵcmp: i0.ɵɵComponentDeclaration<UiActionButtonComponent, "ui-action-button", never, { "disabled": { "alias": "disabled"; "required": false; }; "descriptor": { "alias": "descriptor"; "required": false; }; "code": { "alias": "code"; "required": false; }; "viewActivated": { "alias": "viewActivated"; "required": false; }; "addedCssClass": { "alias": "addedCssClass"; "required": false; }; "addBasicClasses": { "alias": "addBasicClasses"; "required": false; }; "iconPlaceholder": { "alias": "iconPlaceholder"; "required": false; }; }, { "actionClick": "actionClick"; "actionDoubleClick": "actionDoubleClick"; }, never, never, false, never>;
56
61
  }
@@ -78,8 +78,9 @@ import * as i76 from "primeng/orderlist";
78
78
  import * as i77 from "primeng/inputmask";
79
79
  import * as i78 from "primeng/editor";
80
80
  import * as i79 from "@angular/material/menu";
81
+ import * as i80 from "ngx-mask";
81
82
  export declare class SmartViewContextModule {
82
83
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
83
- static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i26.HoverMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i30.PrimeFileUploaderComponent, typeof i31.SmartEmbeddedSlotDirective, typeof i32.ThemeSelectorComponent], [typeof i33.CommonModule, typeof i34.HttpClientModule, typeof i35.MatCommonModule, typeof i36.MatButtonModule, typeof i37.ButtonModule, typeof i38.MatIconModule, typeof i39.MatSnackBarModule, typeof i40.SmartIconModule, typeof i41.MatTooltipModule, typeof i42.SharedModule, typeof i43.SharedModule, typeof i44.BrowserModule, typeof i45.MatChipsModule, typeof i46.FormsModule, typeof i46.ReactiveFormsModule, typeof i47.MatFormFieldModule, typeof i48.MatCheckboxModule, typeof i49.MatSelectModule, typeof i50.MatInputModule, typeof i51.MatDatepickerModule, typeof i52.MatMomentDateModule, typeof i53.MatRadioModule, typeof i54.MatSlideToggleModule, typeof i55.MatAutocompleteModule, typeof i56.QuillModule, typeof i57.DragDropModule, typeof i58.YouTubePlayerModule, typeof i59.InputTextModule, typeof i60.MessagesModule, typeof i61.OverlayPanelModule, typeof i62.DropdownModule, typeof i63.MultiSelectModule, typeof i46.FormsModule, typeof i64.InputSwitchModule, typeof i65.InputNumberModule, typeof i66.TooltipModule, typeof i67.InputTextareaModule, typeof i68.ImageModule, typeof i69.FloatLabelModule, typeof i33.CommonModule, typeof i70.ToastModule, typeof i71.DynamicDialogModule, typeof i72.FileUploadModule, typeof i73.ChipsModule, typeof i74.CalendarModule, typeof i75.CheckboxModule, typeof i76.OrderListModule, typeof i77.InputMaskModule, typeof i78.EditorModule, typeof i79.MatMenuModule, typeof i40.SmartIconModule], [typeof i4.UiActionToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i10.SmartformComponent, typeof i12.SmartformwidgetComponent, typeof i11.UiActionDialogButtonComponent, typeof i13.SmartfileuploaderComponent, typeof i23.HighlightPipe, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i31.SmartEmbeddedSlotDirective]>;
84
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i26.HoverMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i30.PrimeFileUploaderComponent, typeof i31.SmartEmbeddedSlotDirective, typeof i32.ThemeSelectorComponent], [typeof i33.CommonModule, typeof i34.HttpClientModule, typeof i35.MatCommonModule, typeof i36.MatButtonModule, typeof i37.ButtonModule, typeof i38.MatIconModule, typeof i39.MatSnackBarModule, typeof i40.SmartIconModule, typeof i41.MatTooltipModule, typeof i42.SharedModule, typeof i43.SharedModule, typeof i44.BrowserModule, typeof i45.MatChipsModule, typeof i46.FormsModule, typeof i46.ReactiveFormsModule, typeof i47.MatFormFieldModule, typeof i48.MatCheckboxModule, typeof i49.MatSelectModule, typeof i50.MatInputModule, typeof i51.MatDatepickerModule, typeof i52.MatMomentDateModule, typeof i53.MatRadioModule, typeof i54.MatSlideToggleModule, typeof i55.MatAutocompleteModule, typeof i56.QuillModule, typeof i57.DragDropModule, typeof i58.YouTubePlayerModule, typeof i59.InputTextModule, typeof i60.MessagesModule, typeof i61.OverlayPanelModule, typeof i62.DropdownModule, typeof i63.MultiSelectModule, typeof i46.FormsModule, typeof i64.InputSwitchModule, typeof i65.InputNumberModule, typeof i66.TooltipModule, typeof i67.InputTextareaModule, typeof i68.ImageModule, typeof i69.FloatLabelModule, typeof i33.CommonModule, typeof i70.ToastModule, typeof i71.DynamicDialogModule, typeof i72.FileUploadModule, typeof i73.ChipsModule, typeof i74.CalendarModule, typeof i75.CheckboxModule, typeof i76.OrderListModule, typeof i77.InputMaskModule, typeof i78.EditorModule, typeof i79.MatMenuModule, typeof i40.SmartIconModule, typeof i80.NgxMaskDirective], [typeof i4.UiActionToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i10.SmartformComponent, typeof i12.SmartformwidgetComponent, typeof i11.UiActionDialogButtonComponent, typeof i13.SmartfileuploaderComponent, typeof i23.HighlightPipe, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i24.UiActionButtonComponent, typeof i25.ClickMenuComponent, typeof i27.UploadWidgetComponent, typeof i28.VoiceRecordWidgetComponent, typeof i29.PhotoCaptureWidgetComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i31.SmartEmbeddedSlotDirective]>;
84
85
  static ɵinj: i0.ɵɵInjectorDeclaration<SmartViewContextModule>;
85
86
  }
@@ -41,7 +41,7 @@ export declare class SmartViewContextService implements OnDestroy {
41
41
  private initializeRunning;
42
42
  private initiNewContextRunning;
43
43
  smartViewContextApiErrors?: SmartViewContextApiErrors;
44
- openSmartLink: Subject<string>;
44
+ openSmartLink: Subject<[string, string]>;
45
45
  isOpeningSmartLink: boolean;
46
46
  private dialogRefs;
47
47
  private embeddedContainers;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "6.0.17",
3
+ "version": "6.0.18",
4
4
  "description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
5
5
  "peerDependencies": {
6
6
  "@angular/animations": "^13.0.0 || ^14.0.0 || ^15.0.0 || ^16.0.0 || ^17.0.0",
@@ -1,63 +0,0 @@
1
- import { Injectable } from '@angular/core';
2
- import { Subject, takeUntil } from 'rxjs';
3
- import { SmartSubject } from '../../smart-subject/projects';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "../smart-session.service";
6
- export class SmartSessionTimerService {
7
- constructor(session) {
8
- this.session = session;
9
- this._destroy$ = new Subject();
10
- this.totalTimeInMinutes = 30;
11
- this.sessionExpiration = 'sessionExpiracy';
12
- this.timeChanged = new SmartSubject(this._destroy$);
13
- this.onTimerExpired = new SmartSubject(this._destroy$);
14
- this.session.sessionExpiracyChanged.pipe(takeUntil(this._destroy$)).subscribe(() => {
15
- this.restart();
16
- });
17
- }
18
- ngOnDestroy() {
19
- this._destroy$.next();
20
- this._destroy$.complete();
21
- }
22
- startTimer() {
23
- if (this.timer) {
24
- clearInterval(this.timer);
25
- }
26
- const sessionInfoData = this.session.sessionInfoData;
27
- const lifetimeSeconds = sessionInfoData?.duration;
28
- if (lifetimeSeconds && lifetimeSeconds !== 0) {
29
- this.timeLeftInSeconds = lifetimeSeconds;
30
- }
31
- else {
32
- const expiration = new Date(sessionInfoData.expiration);
33
- const now = new Date();
34
- this.timeLeftInSeconds = Math.floor((expiration.getTime() - now.getTime()) / 1000);
35
- }
36
- this.timer = setInterval(() => {
37
- this.timeLeftInSeconds--;
38
- if (this.timeLeftInSeconds === 0) {
39
- this.timeout();
40
- }
41
- this.timeChanged.next();
42
- }, 1000);
43
- }
44
- restart() {
45
- clearInterval(this.timer);
46
- this.timer = undefined;
47
- this.startTimer();
48
- }
49
- timeout() {
50
- clearInterval(this.timer);
51
- this.timer = undefined;
52
- this.onTimerExpired.next();
53
- }
54
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartSessionTimerService, deps: [{ token: i1.SmartSessionService }], target: i0.ɵɵFactoryTarget.Injectable }); }
55
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartSessionTimerService, providedIn: 'root' }); }
56
- }
57
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.11", ngImport: i0, type: SmartSessionTimerService, decorators: [{
58
- type: Injectable,
59
- args: [{
60
- providedIn: 'root',
61
- }]
62
- }], ctorParameters: () => [{ type: i1.SmartSessionService }] });
63
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtc2Vzc2lvbi10aW1lci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc21hcnQtbmctY2xpZW50L3NyYy9saWIvc2Vzc2lvbi9zbWFydC10aW1lci9zbWFydC1zZXNzaW9uLXRpbWVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUUxQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sOEJBQThCLENBQUM7OztBQUs1RCxNQUFNLE9BQU8sd0JBQXdCO0lBY25DLFlBQW9CLE9BQTRCO1FBQTVCLFlBQU8sR0FBUCxPQUFPLENBQXFCO1FBYnhDLGNBQVMsR0FBa0IsSUFBSSxPQUFPLEVBQUUsQ0FBQztRQUVqRCx1QkFBa0IsR0FBVyxFQUFFLENBQUM7UUFHdkIsc0JBQWlCLEdBQVcsaUJBQWlCLENBQUM7UUFFdkQsZ0JBQVcsR0FBa0IsSUFBSSxZQUFZLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBRTlELG1CQUFjLEdBQWtCLElBQUksWUFBWSxD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fSwgMTAwMCk7XHJcbiAgfVxyXG5cclxuICByZXN0YXJ0KCk6IHZvaWQge1xyXG4gICAgY2xlYXJJbnRlcnZhbCh0aGlzLnRpbWVyKTtcclxuICAgIHRoaXMudGltZXIgPSB1bmRlZmluZWQ7XHJcbiAgICB0aGlzLnN0YXJ0VGltZXIoKTtcclxuICB9XHJcblxyXG4gIHRpbWVvdXQoKTogdm9pZCB7XHJcbiAgICBjbGVhckludGVydmFsKHRoaXMudGltZXIpO1xyXG4gICAgdGhpcy50aW1lciA9IHVuZGVmaW5lZDtcclxuICAgIHRoaXMub25UaW1lckV4cGlyZWQubmV4dCgpO1xyXG4gIH1cclxufVxyXG4iXX0=
@@ -1,21 +0,0 @@
1
- import { OnDestroy } from '@angular/core';
2
- import { Subject } from 'rxjs';
3
- import { SmartSessionService } from '../smart-session.service';
4
- import * as i0 from "@angular/core";
5
- export declare class SmartSessionTimerService implements OnDestroy {
6
- private session;
7
- private _destroy$;
8
- totalTimeInMinutes: number;
9
- timeLeftInSeconds?: number;
10
- readonly sessionExpiration: string;
11
- timeChanged: Subject<void>;
12
- onTimerExpired: Subject<void>;
13
- timer: any;
14
- constructor(session: SmartSessionService);
15
- ngOnDestroy(): void;
16
- startTimer(): void;
17
- restart(): void;
18
- timeout(): void;
19
- static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionTimerService, never>;
20
- static ɵprov: i0.ɵɵInjectableDeclaration<SmartSessionTimerService>;
21
- }
Binary file