@smartbit4all/ng-client 2.2.2 → 3.0.1

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 (422) hide show
  1. package/esm2020/lib/component-factory-service/component-factory-service.module.mjs +17 -0
  2. package/esm2020/lib/component-factory-service/component-factory-service.service.mjs +35 -0
  3. package/esm2020/lib/component-factory-service/projects.mjs +6 -0
  4. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +1 -1
  5. package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +5 -5
  6. package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +1 -1
  7. package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +2 -2
  8. package/esm2020/lib/session/smart-session.module.mjs +18 -18
  9. package/esm2020/lib/session/smart-session.service.mjs +2 -2
  10. package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +2 -2
  11. package/esm2020/lib/smart-client/smart-authentication.service.mjs +2 -2
  12. package/esm2020/lib/smart-client/smart-component-api-client.mjs +2 -3
  13. package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +2 -2
  14. package/esm2020/lib/smart-component-layout/api/api/api.mjs +4 -0
  15. package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +133 -0
  16. package/esm2020/lib/smart-component-layout/api/api.module.mjs +40 -0
  17. package/esm2020/lib/smart-component-layout/api/configuration.mjs +91 -0
  18. package/esm2020/lib/smart-component-layout/api/encoder.mjs +19 -0
  19. package/esm2020/lib/smart-component-layout/api/index.mjs +7 -0
  20. package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +17 -0
  21. package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +17 -0
  22. package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +16 -0
  23. package/esm2020/lib/smart-component-layout/api/model/models.mjs +6 -0
  24. package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +2 -0
  25. package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +2 -0
  26. package/esm2020/lib/smart-component-layout/api/param.mjs +2 -0
  27. package/esm2020/lib/smart-component-layout/api/variables.mjs +9 -0
  28. package/esm2020/lib/smart-component-layout/projects.mjs +8 -0
  29. package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +7 -0
  30. package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +123 -0
  31. package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +43 -0
  32. package/esm2020/lib/smart-dialog/projects.mjs +8 -0
  33. package/esm2020/lib/smart-dialog/smartdialog.component.mjs +54 -0
  34. package/esm2020/lib/smart-dialog/smartdialog.model.mjs +16 -0
  35. package/esm2020/lib/smart-dialog/smartdialog.module.mjs +49 -0
  36. package/esm2020/lib/smart-dialog/smartdialog.service.mjs +60 -0
  37. package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +82 -0
  38. package/esm2020/lib/smart-expandable-section/expandable-section.model.mjs +12 -0
  39. package/esm2020/lib/smart-expandable-section/projects.mjs +8 -0
  40. package/esm2020/lib/smart-expandable-section/smart-expandable-section.module.mjs +51 -0
  41. package/esm2020/lib/smart-expandable-section/smart-expandable-section.service.mjs +14 -0
  42. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +16 -0
  43. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +2 -0
  44. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +9 -0
  45. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +2 -0
  46. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +2 -0
  47. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +19 -0
  48. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionField.mjs +2 -0
  49. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +2 -0
  50. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +25 -0
  51. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +2 -0
  52. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +2 -0
  53. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +31 -0
  54. package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +19 -0
  55. package/esm2020/lib/smart-filter/api/filter/model/model.mjs +16 -0
  56. package/esm2020/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.mjs +2 -0
  57. package/esm2020/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.mjs +13 -0
  58. package/esm2020/lib/smart-filter/api/value/model/value.mjs +13 -0
  59. package/esm2020/lib/smart-filter/projects.mjs +9 -0
  60. package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.mjs +14 -0
  61. package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +159 -0
  62. package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +45 -0
  63. package/esm2020/lib/smart-filter/smart-filter/smart-filter.component.mjs +36 -0
  64. package/esm2020/lib/smart-filter/smart-filter/smart-filter.service.mjs +31 -0
  65. package/esm2020/lib/smart-filter/smart-filter.model.mjs +13 -0
  66. package/esm2020/lib/smart-filter/smart-filter.module.mjs +33 -0
  67. package/esm2020/lib/smart-form/api/api/api.mjs +4 -0
  68. package/esm2020/lib/smart-form/api/api/default.service.mjs +133 -0
  69. package/esm2020/lib/smart-form/api/api.module.mjs +40 -0
  70. package/esm2020/lib/smart-form/api/configuration.mjs +91 -0
  71. package/esm2020/lib/smart-form/api/encoder.mjs +19 -0
  72. package/esm2020/lib/smart-form/api/index.mjs +7 -0
  73. package/esm2020/lib/smart-form/api/model/models.mjs +8 -0
  74. package/esm2020/lib/smart-form/api/model/propertyMapping.mjs +13 -0
  75. package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +8 -0
  76. package/esm2020/lib/smart-form/api/model/smartFormWidgetDirection.mjs +16 -0
  77. package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +44 -0
  78. package/esm2020/lib/smart-form/api/model/smartLayoutDefinition.mjs +2 -0
  79. package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +2 -0
  80. package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +2 -0
  81. package/esm2020/lib/smart-form/api/param.mjs +2 -0
  82. package/esm2020/lib/smart-form/api/variables.mjs +9 -0
  83. package/esm2020/lib/smart-form/projects.mjs +13 -0
  84. package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +397 -0
  85. package/esm2020/lib/smart-form/services/smartform.service.mjs +483 -0
  86. package/esm2020/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +14 -0
  87. package/esm2020/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +78 -0
  88. package/esm2020/lib/smart-form/smartfileuploader/smartfileuploader.model.mjs +2 -0
  89. package/esm2020/lib/smart-form/smartform.component.mjs +117 -0
  90. package/esm2020/lib/smart-form/smartform.form-model.mjs +2 -0
  91. package/esm2020/lib/smart-form/smartform.model.mjs +38 -0
  92. package/esm2020/lib/smart-form/smartform.module.mjs +146 -0
  93. package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +76 -0
  94. package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +589 -0
  95. package/esm2020/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +59 -0
  96. package/esm2020/lib/smart-form/widgets/smartformwidget/trackCaps.directive.mjs +31 -0
  97. package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +4 -0
  98. package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +372 -0
  99. package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +40 -0
  100. package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +72 -0
  101. package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +19 -0
  102. package/esm2020/lib/smart-grid/api/grid-api/index.mjs +6 -0
  103. package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +13 -0
  104. package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +21 -0
  105. package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +2 -0
  106. package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +2 -0
  107. package/esm2020/lib/smart-grid/api/grid-api/model/gridRow.mjs +2 -0
  108. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +17 -0
  109. package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +16 -0
  110. package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +2 -0
  111. package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +2 -0
  112. package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +2 -0
  113. package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +8 -0
  114. package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +12 -0
  115. package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +9 -0
  116. package/esm2020/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +20 -0
  117. package/esm2020/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +56 -0
  118. package/esm2020/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +166 -0
  119. package/esm2020/lib/smart-grid/models/model.mjs +28 -0
  120. package/esm2020/lib/smart-grid/projects.mjs +9 -0
  121. package/esm2020/lib/smart-grid/smart-grid.component.mjs +452 -0
  122. package/esm2020/lib/smart-grid/smart-grid.module.mjs +69 -0
  123. package/esm2020/lib/smart-grid/smart-grid.service.mjs +71 -0
  124. package/esm2020/lib/smart-icon/projects.mjs +7 -0
  125. package/esm2020/lib/smart-icon/smart-icon/smart-icon.component.mjs +48 -0
  126. package/esm2020/lib/smart-icon/smart-icon.module.mjs +22 -0
  127. package/esm2020/lib/smart-icon/smart-icon.service.mjs +45 -0
  128. package/esm2020/lib/smart-navbar/projects.mjs +8 -0
  129. package/esm2020/lib/smart-navbar/smart-navbar.component.mjs +61 -0
  130. package/esm2020/lib/smart-navbar/smart-navbar.model.mjs +6 -0
  131. package/esm2020/lib/smart-navbar/smart-navbar.module.mjs +65 -0
  132. package/esm2020/lib/smart-navbar/smart-navbar.service.mjs +14 -0
  133. package/esm2020/lib/smart-navigation/projects.mjs +6 -0
  134. package/esm2020/lib/smart-navigation/smart-navigation.interface.mjs +2 -0
  135. package/esm2020/lib/smart-navigation/smart-navigation.module.mjs +18 -0
  136. package/esm2020/lib/smart-navigation/smart-navigation.service.mjs +56 -0
  137. package/esm2020/lib/smart-ng-client.module.mjs +16 -4
  138. package/esm2020/lib/smart-subject/projects.mjs +5 -0
  139. package/esm2020/lib/smart-subject/smart-subject.mjs +21 -0
  140. package/esm2020/lib/smart-tab-group/projects.mjs +8 -0
  141. package/esm2020/lib/smart-tab-group/smart-tab-group.component.mjs +43 -0
  142. package/esm2020/lib/smart-tab-group/smart-tab-group.module.mjs +25 -0
  143. package/esm2020/lib/smart-tab-group/smart-tab-group.service.mjs +14 -0
  144. package/esm2020/lib/smart-tab-group/tab-content/tab-content.component.mjs +31 -0
  145. package/esm2020/lib/smart-tab-group/tab-group-simplified/tab-group.component.mjs +66 -0
  146. package/esm2020/lib/smart-tab-group/tabTile.model.mjs +2 -0
  147. package/esm2020/lib/smart-table/components/loading/loading.component.mjs +15 -0
  148. package/esm2020/lib/smart-table/projects.mjs +9 -0
  149. package/esm2020/lib/smart-table/smarttable.component.mjs +98 -0
  150. package/esm2020/lib/smart-table/smarttable.date-pipe.mjs +43 -0
  151. package/esm2020/lib/smart-table/smarttable.model.mjs +167 -0
  152. package/esm2020/lib/smart-table/smarttable.module.mjs +89 -0
  153. package/esm2020/lib/smart-table/smarttable.service.mjs +14 -0
  154. package/esm2020/lib/smart-table/tables/material-table/material-table.component.mjs +36 -0
  155. package/esm2020/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +22 -0
  156. package/esm2020/lib/smart-table/tables/table.mjs +411 -0
  157. package/esm2020/lib/smart-tree/smarttree.component.mjs +2 -2
  158. package/esm2020/lib/smart-tree/smarttree.model.mjs +1 -1
  159. package/esm2020/lib/smart-tree/smarttree.module.mjs +2 -2
  160. package/esm2020/lib/smart-tree/smarttree.service.interface.mjs +1 -1
  161. package/esm2020/lib/smart-tree/smarttree.service.mjs +1 -1
  162. package/esm2020/lib/view-context/api/api/api.mjs +1 -1
  163. package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
  164. package/esm2020/lib/view-context/api/api.module.mjs +1 -1
  165. package/esm2020/lib/view-context/api/configuration.mjs +1 -1
  166. package/esm2020/lib/view-context/api/encoder.mjs +1 -1
  167. package/esm2020/lib/view-context/api/index.mjs +1 -1
  168. package/esm2020/lib/view-context/api/model/closeResult.mjs +1 -1
  169. package/esm2020/lib/view-context/api/model/componentConstraint.mjs +1 -1
  170. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  171. package/esm2020/lib/view-context/api/model/componentModelChange.mjs +1 -1
  172. package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
  173. package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
  174. package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +1 -1
  175. package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
  176. package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
  177. package/esm2020/lib/view-context/api/model/messageOptionType.mjs +1 -1
  178. package/esm2020/lib/view-context/api/model/messageResult.mjs +1 -1
  179. package/esm2020/lib/view-context/api/model/messageType.mjs +1 -1
  180. package/esm2020/lib/view-context/api/model/models.mjs +1 -1
  181. package/esm2020/lib/view-context/api/model/openPendingData.mjs +1 -1
  182. package/esm2020/lib/view-context/api/model/smartLinkData.mjs +1 -1
  183. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  184. package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
  185. package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +1 -1
  186. package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
  187. package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
  188. package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
  189. package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
  190. package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
  191. package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +1 -1
  192. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  193. package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
  194. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  195. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  196. package/esm2020/lib/view-context/api/model/viewApiError.mjs +1 -1
  197. package/esm2020/lib/view-context/api/model/viewConstraint.mjs +1 -1
  198. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  199. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  200. package/esm2020/lib/view-context/api/model/viewContextData.mjs +1 -1
  201. package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
  202. package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
  203. package/esm2020/lib/view-context/api/model/viewState.mjs +1 -1
  204. package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
  205. package/esm2020/lib/view-context/api/model/viewType.mjs +1 -1
  206. package/esm2020/lib/view-context/api/param.mjs +1 -1
  207. package/esm2020/lib/view-context/api/variables.mjs +1 -1
  208. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +1 -1
  209. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +3 -3
  210. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +3 -3
  211. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +3 -3
  212. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +8 -7
  213. package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +3 -3
  214. package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +4 -3
  215. package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +2 -2
  216. package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
  217. package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +2 -2
  218. package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +2 -2
  219. package/esm2020/lib/view-context/smart-view-context.module.mjs +3 -3
  220. package/esm2020/lib/view-context/smart-view-context.service.mjs +4 -4
  221. package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +9 -9
  222. package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
  223. package/esm2020/projects.mjs +15 -3
  224. package/fesm2015/smartbit4all-ng-client.mjs +9465 -3578
  225. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  226. package/fesm2020/smartbit4all-ng-client.mjs +9275 -3460
  227. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  228. package/lib/component-factory-service/component-factory-service.module.d.ts +6 -0
  229. package/lib/component-factory-service/component-factory-service.service.d.ts +13 -0
  230. package/lib/component-factory-service/projects.d.ts +2 -0
  231. package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +1 -1
  232. package/lib/session/smart-session.module.d.ts +1 -1
  233. package/lib/smart-client/smart-component-api-client.d.ts +3 -4
  234. package/lib/smart-client/smart-file-uploader/smart-file-uploader.component.d.ts +3 -3
  235. package/lib/smart-component-layout/api/api/api.d.ts +3 -0
  236. package/lib/smart-component-layout/api/api/default.service.d.ts +33 -0
  237. package/lib/smart-component-layout/api/api.module.d.ts +11 -0
  238. package/lib/smart-component-layout/api/configuration.d.ts +104 -0
  239. package/lib/smart-component-layout/api/encoder.d.ts +11 -0
  240. package/lib/smart-component-layout/api/index.d.ts +6 -0
  241. package/lib/smart-component-layout/api/model/componentType.d.ts +17 -0
  242. package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +17 -0
  243. package/lib/smart-component-layout/api/model/layoutDirection.d.ts +16 -0
  244. package/lib/smart-component-layout/api/model/models.d.ts +5 -0
  245. package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +29 -0
  246. package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +21 -0
  247. package/lib/smart-component-layout/api/param.d.ts +37 -0
  248. package/lib/smart-component-layout/api/variables.d.ts +8 -0
  249. package/lib/smart-component-layout/projects.d.ts +4 -0
  250. package/lib/smart-component-layout/smart-component-layout-utility.d.ts +4 -0
  251. package/lib/smart-component-layout/smart-component-layout.component.d.ts +35 -0
  252. package/lib/smart-component-layout/smart-component-layout.module.d.ts +13 -0
  253. package/lib/smart-dialog/projects.d.ts +4 -0
  254. package/lib/smart-dialog/smartdialog.component.d.ts +19 -0
  255. package/lib/smart-dialog/smartdialog.model.d.ts +67 -0
  256. package/lib/smart-dialog/smartdialog.module.d.ts +14 -0
  257. package/lib/smart-dialog/smartdialog.service.d.ts +20 -0
  258. package/lib/smart-expandable-section/expandable-section.component.d.ts +25 -0
  259. package/lib/smart-expandable-section/expandable-section.model.d.ts +40 -0
  260. package/lib/smart-expandable-section/projects.d.ts +4 -0
  261. package/lib/smart-expandable-section/smart-expandable-section.module.d.ts +15 -0
  262. package/lib/smart-expandable-section/smart-expandable-section.service.d.ts +6 -0
  263. package/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.d.ts +16 -0
  264. package/lib/smart-filter/api/filter/model/filterExpressionBuilderField.d.ts +27 -0
  265. package/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.d.ts +39 -0
  266. package/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.d.ts +21 -0
  267. package/lib/smart-filter/api/filter/model/filterExpressionData.d.ts +27 -0
  268. package/lib/smart-filter/api/filter/model/filterExpressionDataType.d.ts +19 -0
  269. package/lib/smart-filter/api/filter/model/filterExpressionField.d.ts +37 -0
  270. package/lib/smart-filter/api/filter/model/filterExpressionFieldList.d.ts +21 -0
  271. package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +25 -0
  272. package/lib/smart-filter/api/filter/model/filterExpressionList.d.ts +18 -0
  273. package/lib/smart-filter/api/filter/model/filterExpressionOperandData.d.ts +24 -0
  274. package/lib/smart-filter/api/filter/model/filterExpressionOperation.d.ts +31 -0
  275. package/lib/smart-filter/api/filter/model/filterExpressionOrderBy.d.ts +28 -0
  276. package/lib/smart-filter/api/filter/model/model.d.ts +15 -0
  277. package/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.d.ts +19 -0
  278. package/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.d.ts +18 -0
  279. package/lib/smart-filter/api/value/model/value.d.ts +29 -0
  280. package/lib/smart-filter/projects.d.ts +5 -0
  281. package/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.d.ts +8 -0
  282. package/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.d.ts +31 -0
  283. package/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.d.ts +18 -0
  284. package/lib/smart-filter/smart-filter/smart-filter.component.d.ts +15 -0
  285. package/lib/smart-filter/smart-filter/smart-filter.service.d.ts +16 -0
  286. package/lib/smart-filter/smart-filter.model.d.ts +25 -0
  287. package/lib/smart-filter/smart-filter.module.d.ts +15 -0
  288. package/lib/smart-form/api/api/api.d.ts +3 -0
  289. package/lib/smart-form/api/api/default.service.d.ts +33 -0
  290. package/lib/smart-form/api/api.module.d.ts +11 -0
  291. package/lib/smart-form/api/configuration.d.ts +104 -0
  292. package/lib/smart-form/api/encoder.d.ts +11 -0
  293. package/lib/smart-form/api/index.d.ts +6 -0
  294. package/lib/smart-form/api/model/models.d.ts +7 -0
  295. package/lib/smart-form/api/model/propertyMapping.d.ts +24 -0
  296. package/lib/smart-form/api/model/selectionDefinition.d.ts +40 -0
  297. package/lib/smart-form/api/model/smartFormWidgetDirection.d.ts +16 -0
  298. package/lib/smart-form/api/model/smartFormWidgetType.d.ts +42 -0
  299. package/lib/smart-form/api/model/smartLayoutDefinition.d.ts +15 -0
  300. package/lib/smart-form/api/model/smartMatrixModel.d.ts +28 -0
  301. package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +77 -0
  302. package/lib/smart-form/api/param.d.ts +37 -0
  303. package/lib/smart-form/api/variables.d.ts +8 -0
  304. package/lib/smart-form/projects.d.ts +9 -0
  305. package/lib/smart-form/services/smartform.layout-definition.service.d.ts +40 -0
  306. package/lib/smart-form/services/smartform.service.d.ts +29 -0
  307. package/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.d.ts +8 -0
  308. package/lib/smart-form/smartfileuploader/smartfileuploader.component.d.ts +22 -0
  309. package/lib/smart-form/smartfileuploader/smartfileuploader.model.d.ts +7 -0
  310. package/lib/smart-form/smartform.component.d.ts +33 -0
  311. package/lib/smart-form/smartform.form-model.d.ts +521 -0
  312. package/lib/smart-form/smartform.model.d.ts +120 -0
  313. package/lib/smart-form/smartform.module.d.ts +34 -0
  314. package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +29 -0
  315. package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +84 -0
  316. package/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.d.ts +20 -0
  317. package/lib/smart-form/widgets/smartformwidget/trackCaps.directive.d.ts +9 -0
  318. package/lib/smart-grid/api/grid-api/api/api.d.ts +3 -0
  319. package/lib/smart-grid/api/grid-api/api/grid.service.d.ts +140 -0
  320. package/lib/smart-grid/api/grid-api/api.module.d.ts +11 -0
  321. package/lib/smart-grid/api/grid-api/configuration.d.ts +80 -0
  322. package/lib/smart-grid/api/grid-api/encoder.d.ts +11 -0
  323. package/lib/smart-grid/api/grid-api/index.d.ts +5 -0
  324. package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +18 -0
  325. package/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.d.ts +35 -0
  326. package/lib/smart-grid/api/grid-api/model/gridModel.d.ts +30 -0
  327. package/lib/smart-grid/api/grid-api/model/gridPage.d.ts +26 -0
  328. package/lib/smart-grid/api/grid-api/model/gridRow.d.ts +22 -0
  329. package/lib/smart-grid/api/grid-api/model/gridSelectionMode.d.ts +17 -0
  330. package/lib/smart-grid/api/grid-api/model/gridSelectionType.d.ts +16 -0
  331. package/lib/smart-grid/api/grid-api/model/gridServerModel.d.ts +20 -0
  332. package/lib/smart-grid/api/grid-api/model/gridUpdateData.d.ts +19 -0
  333. package/lib/smart-grid/api/grid-api/model/gridView.d.ts +21 -0
  334. package/lib/smart-grid/api/grid-api/model/gridViewDescriptor.d.ts +33 -0
  335. package/lib/smart-grid/api/grid-api/model/models.d.ts +11 -0
  336. package/lib/smart-grid/api/grid-api/variables.d.ts +8 -0
  337. package/lib/smart-grid/components/expandable-grid/expandable-grid.component.d.ts +10 -0
  338. package/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.d.ts +21 -0
  339. package/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.d.ts +40 -0
  340. package/lib/smart-grid/models/model.d.ts +70 -0
  341. package/lib/smart-grid/projects.d.ts +5 -0
  342. package/lib/smart-grid/smart-grid.component.d.ts +67 -0
  343. package/lib/smart-grid/smart-grid.module.d.ts +20 -0
  344. package/lib/smart-grid/smart-grid.service.d.ts +26 -0
  345. package/lib/smart-icon/projects.d.ts +3 -0
  346. package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +17 -0
  347. package/lib/smart-icon/smart-icon.module.d.ts +10 -0
  348. package/lib/smart-icon/smart-icon.service.d.ts +21 -0
  349. package/lib/smart-navbar/projects.d.ts +4 -0
  350. package/lib/smart-navbar/smart-navbar.component.d.ts +20 -0
  351. package/lib/smart-navbar/smart-navbar.model.d.ts +48 -0
  352. package/lib/smart-navbar/smart-navbar.module.d.ts +18 -0
  353. package/lib/smart-navbar/smart-navbar.service.d.ts +6 -0
  354. package/lib/smart-navigation/projects.d.ts +2 -0
  355. package/lib/smart-navigation/smart-navigation.interface.d.ts +11 -0
  356. package/lib/smart-navigation/smart-navigation.module.d.ts +6 -0
  357. package/lib/smart-navigation/smart-navigation.service.d.ts +18 -0
  358. package/lib/smart-ng-client.module.d.ts +9 -6
  359. package/lib/smart-subject/projects.d.ts +1 -0
  360. package/lib/smart-subject/smart-subject.d.ts +6 -0
  361. package/lib/smart-tab-group/projects.d.ts +4 -0
  362. package/lib/smart-tab-group/smart-tab-group.component.d.ts +21 -0
  363. package/lib/smart-tab-group/smart-tab-group.module.d.ts +13 -0
  364. package/lib/smart-tab-group/smart-tab-group.service.d.ts +6 -0
  365. package/lib/smart-tab-group/tab-content/tab-content.component.d.ts +14 -0
  366. package/lib/smart-tab-group/tab-group-simplified/tab-group.component.d.ts +29 -0
  367. package/lib/smart-tab-group/tabTile.model.d.ts +8 -0
  368. package/lib/smart-table/components/loading/loading.component.d.ts +8 -0
  369. package/lib/smart-table/projects.d.ts +5 -0
  370. package/lib/smart-table/smarttable.component.d.ts +34 -0
  371. package/lib/smart-table/smarttable.date-pipe.d.ts +18 -0
  372. package/lib/smart-table/smarttable.model.d.ts +183 -0
  373. package/lib/smart-table/smarttable.module.d.ts +23 -0
  374. package/lib/smart-table/smarttable.service.d.ts +6 -0
  375. package/lib/smart-table/tables/material-table/material-table.component.d.ts +8 -0
  376. package/lib/smart-table/tables/mobile-table/mobile-table.component.d.ts +8 -0
  377. package/lib/smart-table/tables/table.d.ts +59 -0
  378. package/lib/smart-tree/smarttree.component.d.ts +1 -1
  379. package/lib/smart-tree/smarttree.model.d.ts +1 -1
  380. package/lib/smart-tree/smarttree.module.d.ts +1 -1
  381. package/lib/smart-tree/smarttree.service.d.ts +1 -1
  382. package/lib/smart-tree/smarttree.service.interface.d.ts +1 -1
  383. package/lib/view-context/api/model/componentModel.d.ts +3 -2
  384. package/lib/view-context/api/model/view.d.ts +1 -1
  385. package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +1 -1
  386. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +1 -1
  387. package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +1 -1
  388. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +1 -1
  389. package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +1 -1
  390. package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +1 -1
  391. package/lib/view-context/smart-ui-action/ui-action.model.d.ts +3 -1
  392. package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +1 -1
  393. package/lib/view-context/smart-view-context.module.d.ts +2 -2
  394. package/lib/view-context/smart-view-context.service.d.ts +3 -3
  395. package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +3 -3
  396. package/lib/view-context/value-api/model/valueSetData.d.ts +1 -1
  397. package/package.json +1 -4
  398. package/projects.d.ts +14 -2
  399. package/smartbit4all-ng-client-3.0.1.tgz +0 -0
  400. package/src/lib/component-factory-service/README.md +99 -0
  401. package/src/lib/smart-component-layout/README.md +31 -0
  402. package/src/lib/smart-component-layout/api/README.md +226 -0
  403. package/src/lib/smart-dialog/README.md +197 -0
  404. package/src/lib/smart-expandable-section/README.md +249 -0
  405. package/src/lib/smart-filter/README.md +101 -0
  406. package/src/lib/smart-form/README.md +1178 -0
  407. package/src/lib/smart-form/api/README.md +226 -0
  408. package/src/lib/smart-grid/README.md +24 -0
  409. package/src/lib/smart-grid/api/grid-api/README.md +203 -0
  410. package/src/lib/smart-icon/README.md +116 -0
  411. package/src/lib/smart-navbar/README.md +119 -0
  412. package/src/lib/smart-navigation/README.md +141 -0
  413. package/src/lib/smart-tab-group/README.md +155 -0
  414. package/src/lib/smart-table/README.md +667 -0
  415. package/src/lib/view-context/api/README.md +226 -226
  416. package/esm2020/lib/smart-client/projects.mjs +0 -5
  417. package/esm2020/lib/smart-client/smart.component.mjs +0 -30
  418. package/esm2020/lib/smart-client/smart.service.mjs +0 -30
  419. package/lib/smart-client/projects.d.ts +0 -4
  420. package/lib/smart-client/smart.component.d.ts +0 -11
  421. package/lib/smart-client/smart.service.d.ts +0 -11
  422. package/smartbit4all-ng-client-2.2.2.tgz +0 -0
@@ -0,0 +1,29 @@
1
+ import { AfterViewInit, ComponentRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
2
+ import { ActivatedRoute } from '@angular/router';
3
+ import { Subject } from 'rxjs';
4
+ import { ComponentFactoryService, SmartNavigationService } from '../../../projects';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SimplifiedTabGroupComponent implements OnInit, AfterViewInit, OnDestroy {
7
+ private cfService;
8
+ private navigate;
9
+ private route;
10
+ vcRefTabContentChildren?: QueryList<ViewContainerRef>;
11
+ componentRefTabContentChildren: ComponentRef<any>[];
12
+ tabGroupData: TabGroupData[];
13
+ animationDuration?: number;
14
+ selectedIndex?: number;
15
+ tabChanges: Subject<number>[];
16
+ constructor(cfService: ComponentFactoryService, navigate: SmartNavigationService, route: ActivatedRoute);
17
+ ngOnInit(): void;
18
+ ngAfterViewInit(): void;
19
+ ngOnDestroy(): void;
20
+ changeSelectedTab(event: any): void;
21
+ getTabIndex(): void;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimplifiedTabGroupComponent, never>;
23
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimplifiedTabGroupComponent, "smart-simplified-tab-group", never, { "tabGroupData": "tabGroupData"; "animationDuration": "animationDuration"; }, {}, never, never>;
24
+ }
25
+ export interface TabGroupData {
26
+ label: string;
27
+ component: any;
28
+ url?: string;
29
+ }
@@ -0,0 +1,8 @@
1
+ export interface TabTile {
2
+ viewName?: string;
3
+ label?: string;
4
+ uuid?: string;
5
+ tileName?: string;
6
+ url?: string;
7
+ extra?: any;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingComponent implements OnInit {
4
+ constructor();
5
+ ngOnInit(): void;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "lib-loading", never, {}, {}, never, never>;
8
+ }
@@ -0,0 +1,5 @@
1
+ export * from './smarttable.service';
2
+ export * from './smarttable.component';
3
+ export * from './smarttable.module';
4
+ export * from './smarttable.model';
5
+ export * from './smarttable.date-pipe';
@@ -0,0 +1,34 @@
1
+ import { AfterViewInit, ComponentRef, OnChanges, OnDestroy, OnInit, SimpleChanges, ViewContainerRef } from '@angular/core';
2
+ import { Subject } from 'rxjs';
3
+ import { SmartTable, SmartTableHeader } from './smarttable.model';
4
+ import { Table } from './tables/table';
5
+ import { ComponentFactoryService } from '../component-factory-service/projects';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SmarttableComponent implements OnInit, AfterViewInit, OnChanges, OnDestroy {
8
+ private cfService;
9
+ _destroy$: Subject<void>;
10
+ private isMobile?;
11
+ maxWidthForMobile: number;
12
+ onResize(event: any): void;
13
+ sortEvent: Subject<SmartTableHeader>;
14
+ onSelectionChanged: Subject<void>;
15
+ waitOnAsyncExpand: Subject<any>;
16
+ private _element?;
17
+ get element(): any | undefined;
18
+ set element(lmnt: any | undefined);
19
+ vcRefTable?: ViewContainerRef;
20
+ componentRefTable?: ComponentRef<Table>;
21
+ smartTable: SmartTable<any>;
22
+ constructor(cfService: ComponentFactoryService);
23
+ ngOnInit(): void;
24
+ ngAfterViewInit(): void;
25
+ ngOnChanges(changes: SimpleChanges): void;
26
+ ngOnDestroy(): void;
27
+ updateSmartTable(smartTable: SmartTable<any>): void;
28
+ checkIfMobile(): void;
29
+ private constructTable;
30
+ /** Selects all rows if they are not all selected; otherwise clear selection. */
31
+ toggleAllRows(): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmarttableComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmarttableComponent, "smarttable", never, { "maxWidthForMobile": "maxWidthForMobile"; "smartTable": "smartTable"; }, {}, never, never>;
34
+ }
@@ -0,0 +1,18 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import { DatePipe } from "@angular/common";
3
+ import * as i0 from "@angular/core";
4
+ export declare class SmartDatePipe extends DatePipe implements PipeTransform {
5
+ transform(value: any, format?: string): any;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartDatePipe, never>;
7
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartDatePipe, "smartDate">;
8
+ }
9
+ export declare class SmartDateTimePipe extends DatePipe implements PipeTransform {
10
+ transform(value: any, format?: string): any;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartDateTimePipe, never>;
12
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartDateTimePipe, "smartDateTime">;
13
+ }
14
+ export declare class SmartTimePipe extends DatePipe implements PipeTransform {
15
+ transform(value: any, format?: string): any;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartTimePipe, never>;
17
+ static ɵpipe: i0.ɵɵPipeDeclaration<SmartTimePipe, "smartTime">;
18
+ }
@@ -0,0 +1,183 @@
1
+ import { SelectionModel } from "@angular/cdk/collections";
2
+ import { ThemePalette } from "@angular/material/core";
3
+ export declare enum SmartTableType {
4
+ INHERITED = "Inherited",
5
+ CHECK_BOX = "CheckBox",
6
+ ROW_SELECT = "RowSelect"
7
+ }
8
+ export interface SmartTableOption {
9
+ label: string;
10
+ icon?: string;
11
+ callback: (id: string) => any;
12
+ }
13
+ export declare enum SmartTableHeaderPropertyType {
14
+ DATE = 0,
15
+ TIME = 1,
16
+ DATETIME = 2,
17
+ ICON = 3
18
+ }
19
+ export interface SmartTableHeaderIcons {
20
+ icon: string;
21
+ color: ThemePalette;
22
+ showIconIfValueEqualsWithString?: string;
23
+ showIconIfValueEqualsWithNumber?: number;
24
+ showIconIfValueSmallerThanNumber?: number;
25
+ showIconIfValueBiggerThanNumber?: number;
26
+ showIconIfValueBoolean?: boolean;
27
+ showIconIfValueNull?: any;
28
+ }
29
+ export interface SmartTableHeaderProperties {
30
+ type: SmartTableHeaderPropertyType;
31
+ dateFormat?: string;
32
+ icons?: SmartTableHeaderIcons[];
33
+ }
34
+ export interface SmartTableIcon {
35
+ icon: string;
36
+ color?: ThemePalette;
37
+ cssClass?: string;
38
+ }
39
+ export interface SmartTableHeader {
40
+ propertyName: string;
41
+ label: string;
42
+ isHidden?: boolean;
43
+ properties?: SmartTableHeaderProperties;
44
+ buttons?: SmartTableButton[];
45
+ icon?: SmartTableIcon;
46
+ translator?: ((value: string) => string) | ((value: string) => Promise<string>);
47
+ showCheckboxInHeader?: boolean | undefined;
48
+ order?: SmartTableOrder;
49
+ orderNumber?: number;
50
+ isSortable?: boolean;
51
+ }
52
+ export declare enum SmartTableOrder {
53
+ ASC = "ASC",
54
+ DESC = "DESC"
55
+ }
56
+ export interface SmartTableButton {
57
+ icon?: string;
58
+ label?: string;
59
+ color?: ThemePalette;
60
+ type: SmartTableButtonType;
61
+ menuItemButtons?: SmartTableButton[];
62
+ menuItemButtonsPropertyName?: string;
63
+ translator?: ((label: string) => string) | ((label: string) => Promise<string>);
64
+ callback?: (...args: any[]) => any;
65
+ args?: any[];
66
+ showButtonIf?: (row: any) => boolean;
67
+ }
68
+ export declare enum SmartTableButtonType {
69
+ MENU = "MENU",
70
+ ICON = "ICON",
71
+ NORMAL = "NORMAL",
72
+ RAISED = "RAISED"
73
+ }
74
+ export declare enum SmartTableOptionButtonDirection {
75
+ HORIZONTAL = 0,
76
+ VERTICAL = 1
77
+ }
78
+ export declare type SmartTableInterfaceType<T> = SmartTableInterface<T> | SmartTableGridInterface<T>;
79
+ export declare enum SmartTableInterfaceTypeEnum {
80
+ NORMAL = 0,
81
+ GRID = 1
82
+ }
83
+ export interface SmartTableInterface<T> {
84
+ type: SmartTableInterfaceTypeEnum.NORMAL;
85
+ title?: string;
86
+ tableHeaders?: string[];
87
+ customSmartTableHeaders?: SmartTableHeader[];
88
+ customTableHeaders?: string[];
89
+ tableRows: T[];
90
+ tableType: SmartTableType;
91
+ options?: SmartTableOption[];
92
+ tableOptionButtonDirection?: SmartTableOptionButtonDirection;
93
+ onRowClick?: (row: T) => void;
94
+ onRowDoubleClick?: (row: T) => void;
95
+ highlightOnRowClick?: boolean;
96
+ highlightClass?: string;
97
+ hover?: boolean;
98
+ expandable?: boolean;
99
+ expandedComponent?: any;
100
+ asyncOnExpand?: boolean;
101
+ sortIconAsc?: string;
102
+ sortIconDesc?: string;
103
+ sortIconNeutral?: string;
104
+ sortable?: boolean;
105
+ maxNumOfSelectableRows?: number;
106
+ selectionProperty?: string;
107
+ isMultiple?: boolean;
108
+ selection?: SelectionModel<any>;
109
+ showCheckboxInHeader?: boolean;
110
+ isRowDisabledPropertyName?: string;
111
+ selectablePropertyName?: string;
112
+ onSelection?: (row: any) => Promise<void>;
113
+ onAllSelection?: (selected: boolean) => Promise<void>;
114
+ rowExpander?: SmartTableRowExpander<T>;
115
+ }
116
+ export interface SmartTableGridInterface<T> {
117
+ type: SmartTableInterfaceTypeEnum.GRID;
118
+ customSmartTableHeaders?: SmartTableHeader[];
119
+ tableType: SmartTableType;
120
+ options?: SmartTableOption[];
121
+ tableOptionButtonDirection?: SmartTableOptionButtonDirection;
122
+ onRowClick?: (row: T) => void;
123
+ onRowDoubleClick?: (row: T) => void;
124
+ highlightOnRowClick?: boolean;
125
+ highlightClass?: string;
126
+ hover?: boolean;
127
+ sortIconAsc?: string;
128
+ sortIconDesc?: string;
129
+ sortIconNeutral?: string;
130
+ sortable?: boolean;
131
+ maxNumOfSelectableRows?: number;
132
+ selectionProperty?: string;
133
+ isMultiple?: boolean;
134
+ selection?: SelectionModel<any>;
135
+ showCheckboxInHeader?: boolean;
136
+ isRowDisabledPropertyName?: string;
137
+ selectablePropertyName?: string;
138
+ onSelection?: (row: any) => Promise<void>;
139
+ onAllSelection?: (selected: boolean) => Promise<void>;
140
+ asyncOnExpand?: boolean;
141
+ rowExpander?: SmartTableRowExpander<T>;
142
+ }
143
+ export interface SmartTableRowExpander<T> {
144
+ expand(rowId: number): T;
145
+ expandAsync(rowId: number): Promise<T>;
146
+ }
147
+ export declare class SmartTable<T> implements SmartTableInterface<T> {
148
+ type: SmartTableInterfaceTypeEnum.NORMAL;
149
+ title?: string | undefined;
150
+ tableHeaders: string[];
151
+ customSmartTableHeaders?: SmartTableHeader[];
152
+ customTableHeaders: string[];
153
+ tableRows: T[];
154
+ tableType: SmartTableType;
155
+ selection?: SelectionModel<any>;
156
+ isMultiple?: boolean;
157
+ options?: SmartTableOption[];
158
+ tableOptionButtonDirection?: SmartTableOptionButtonDirection;
159
+ onRowClick?: (row: T) => void;
160
+ onRowDoubleClick?: (row: T) => void;
161
+ highlightOnRowClick?: boolean;
162
+ highlightClass?: string;
163
+ hover?: boolean;
164
+ expandable?: boolean;
165
+ expandedComponent?: any;
166
+ asyncOnExpand?: boolean;
167
+ sortIconAsc?: string;
168
+ sortIconDesc?: string;
169
+ sortIconNeutral?: string;
170
+ sortable?: boolean;
171
+ maxNumOfSelectableRows?: number;
172
+ selectionProperty?: string;
173
+ isRowDisabledPropertyName?: string;
174
+ selectablePropertyName?: string;
175
+ onSelection?: (row: any) => Promise<void>;
176
+ onAllSelection?: (selected: boolean) => Promise<void>;
177
+ rowExpander?: SmartTableRowExpander<T>;
178
+ constructor(config: SmartTableInterface<T>);
179
+ getPropertyNamesDeeply(element: any): string[];
180
+ getValueDeeply(model: any, key: string): any;
181
+ pushOptions(): void;
182
+ setTableHeaders(): void;
183
+ }
@@ -0,0 +1,23 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./smarttable.component";
3
+ import * as i2 from "./smarttable.date-pipe";
4
+ import * as i3 from "./components/loading/loading.component";
5
+ import * as i4 from "./tables/material-table/material-table.component";
6
+ import * as i5 from "./tables/mobile-table/mobile-table.component";
7
+ import * as i6 from "@angular/platform-browser";
8
+ import * as i7 from "@angular/material/core";
9
+ import * as i8 from "@angular/forms";
10
+ import * as i9 from "@angular/material/form-field";
11
+ import * as i10 from "@angular/material/checkbox";
12
+ import * as i11 from "@angular/material/button";
13
+ import * as i12 from "@angular/material/table";
14
+ import * as i13 from "@angular/material/icon";
15
+ import * as i14 from "@angular/material/menu";
16
+ import * as i15 from "@angular/material/progress-spinner";
17
+ import * as i16 from "../component-factory-service/component-factory-service.module";
18
+ import * as i17 from "../smart-icon/smart-icon.module";
19
+ export declare class SmarttableModule {
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmarttableModule, never>;
21
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SmarttableModule, [typeof i1.SmarttableComponent, typeof i2.SmartDatePipe, typeof i2.SmartDateTimePipe, typeof i2.SmartTimePipe, typeof i3.LoadingComponent, typeof i4.MaterialTableComponent, typeof i5.MobileTableComponent], [typeof i6.BrowserModule, typeof i7.MatCommonModule, typeof i8.FormsModule, typeof i8.ReactiveFormsModule, typeof i9.MatFormFieldModule, typeof i10.MatCheckboxModule, typeof i11.MatButtonModule, typeof i12.MatTableModule, typeof i13.MatIconModule, typeof i14.MatMenuModule, typeof i15.MatProgressSpinnerModule, typeof i16.ComponentFactoryServiceModule, typeof i17.SmartIconModule], [typeof i1.SmarttableComponent]>;
22
+ static ɵinj: i0.ɵɵInjectorDeclaration<SmarttableModule>;
23
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class SmarttableService {
3
+ constructor();
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmarttableService, never>;
5
+ static ɵprov: i0.ɵɵInjectableDeclaration<SmarttableService>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import { Table } from '../table';
2
+ import { ComponentFactoryService } from '../../../component-factory-service/projects';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MaterialTableComponent extends Table {
5
+ constructor(cfService: ComponentFactoryService);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTableComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTableComponent, "lib-material-table", never, {}, {}, never, never>;
8
+ }
@@ -0,0 +1,8 @@
1
+ import { Table } from '../table';
2
+ import { ComponentFactoryService } from '../../../component-factory-service/projects';
3
+ import * as i0 from "@angular/core";
4
+ export declare class MobileTableComponent extends Table {
5
+ constructor(cfService: ComponentFactoryService);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<MobileTableComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<MobileTableComponent, "lib-mobile-table", never, {}, {}, never, never>;
8
+ }
@@ -0,0 +1,59 @@
1
+ import { ComponentRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
2
+ import { ThemePalette } from '@angular/material/core';
3
+ import { MatMenuTrigger } from '@angular/material/menu';
4
+ import { SmartTable, SmartTableButton, SmartTableButtonType, SmartTableHeader, SmartTableHeaderPropertyType, SmartTableOptionButtonDirection, SmartTableType } from '../smarttable.model';
5
+ import { Subject } from 'rxjs';
6
+ import { MatTable } from '@angular/material/table';
7
+ import { ComponentFactoryService } from '../../component-factory-service/projects';
8
+ import * as i0 from "@angular/core";
9
+ export declare class Table implements OnInit, OnDestroy {
10
+ protected cfService: ComponentFactoryService;
11
+ _destroy$: Subject<void>;
12
+ trigger: QueryList<MatMenuTrigger>;
13
+ vcRef?: ViewContainerRef[];
14
+ componentRef?: ComponentRef<any>;
15
+ myTableChild: MatTable<any>;
16
+ smartTable: SmartTable<any>;
17
+ tableType: typeof SmartTableType;
18
+ smartTableButtonType: typeof SmartTableButtonType;
19
+ highlightedRows: any[];
20
+ sortEvent: Subject<SmartTableHeader>;
21
+ expandedElement: any | null;
22
+ element?: any;
23
+ onSelectionChanged: Subject<void>;
24
+ constructor(cfService: ComponentFactoryService);
25
+ asyncTranslationResult: (translator: any, param: string) => any;
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ handleOnRowClick(element: any): void;
29
+ updateSmartTable(smartTable: SmartTable<any>): void;
30
+ renderRows(): void;
31
+ handleOnRowDoubleClick(element: any): void;
32
+ type(): typeof SmartTableHeaderPropertyType;
33
+ sortButtonClicked(event: any, header: SmartTableHeader): void;
34
+ customButtonClicked(event: any, button: SmartTableButton, element: any, btn?: any, close?: boolean): void;
35
+ isSortable(header: SmartTableHeader): boolean;
36
+ getSortIcon(header: string): string | undefined;
37
+ hasSortNumIcon(header: string): boolean;
38
+ getSortNumIcon(header: string): string;
39
+ getIcon(value: string | number | boolean, headerIndex: number): string;
40
+ getColor(value: string | number | boolean, headerIndex: number): ThemePalette;
41
+ tableOptionButtonDirection(): typeof SmartTableOptionButtonDirection;
42
+ isAllSelected(): boolean;
43
+ /** Selects all rows if they are not all selected; otherwise clear selection. */
44
+ toggleAllRows(): void;
45
+ /** The label for the checkbox on the passed row */
46
+ checkboxLabel(row?: any): string;
47
+ isHighlighted(row: any): boolean;
48
+ onRowClick(row: any): void;
49
+ onRowDoubleClick(row: any): void;
50
+ onToggle(element: any, event?: any): Promise<void>;
51
+ setSelection(element: any): void;
52
+ showMenuButton(element: any, button: SmartTableButton): boolean;
53
+ getValue(element: any, header: string): any;
54
+ showButton(button: SmartTableButton, element: any): boolean;
55
+ isDisabled(element: any): boolean;
56
+ isSelected(element: any): boolean;
57
+ static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
58
+ static ɵcmp: i0.ɵɵComponentDeclaration<Table, "ng-component", never, { "smartTable": "smartTable"; }, {}, never, never>;
59
+ }
@@ -5,7 +5,7 @@ import { MatTreeNestedDataSource } from '@angular/material/tree';
5
5
  import { SmartTreeModel, SmartTreeNode, SmartTreeNodeButton, SmartTreeNodeButtonType } from './smarttree.model';
6
6
  import { TreeStyle } from './smarttree.node.model';
7
7
  import { SmarttreeService } from './smarttree.service';
8
- import { UiActionModel } from '../view-context/projects';
8
+ import { UiActionModel } from '../view-context/smart-ui-action/ui-action.model';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare class SmartTreeComponent implements OnInit, OnDestroy {
11
11
  private cdr;
@@ -1,4 +1,4 @@
1
- import { UiAction } from '../view-context/projects';
1
+ import { UiAction } from '../view-context/api';
2
2
  export interface SmartTreeModel {
3
3
  identifier?: string;
4
4
  rootNodes: Array<SmartTreeNode>;
@@ -6,7 +6,7 @@ import * as i4 from "@angular/material/button";
6
6
  import * as i5 from "@angular/material/icon";
7
7
  import * as i6 from "@angular/material/tree";
8
8
  import * as i7 from "@angular/material/menu";
9
- import * as i8 from "@smartbit4all/icon";
9
+ import * as i8 from "../smart-icon/smart-icon.module";
10
10
  import * as i9 from "../view-context/smart-view-context.module";
11
11
  export declare class SmarttreeModule {
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<SmarttreeModule, never>;
@@ -1,7 +1,7 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import { SmartTreeModel, SmartTreeNode } from './smarttree.model';
3
3
  import { SmarttreeServiceDescriptor } from './smarttree.service.interface';
4
- import { UiActionModel } from '../view-context/projects';
4
+ import { UiActionModel } from '../view-context/smart-ui-action/ui-action.model';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class SmarttreeService<T> implements SmarttreeServiceDescriptor<T> {
7
7
  errorMessage: string;
@@ -1,6 +1,6 @@
1
1
  import { Subject } from 'rxjs';
2
2
  import { SmartTreeModel, SmartTreeNode } from './smarttree.model';
3
- import { UiActionModel } from '../view-context/projects';
3
+ import { UiActionModel } from '../view-context/smart-ui-action/ui-action.model';
4
4
  /**
5
5
  * T - TreeNodeList
6
6
  * N - TreeNode
@@ -9,7 +9,8 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SmartLayoutDefinition } from '@smartbit4all/form';
12
+ import { SmartComponentLayoutDefinition } from '../../../smart-component-layout/api/model/smartComponentLayoutDefinition';
13
+ import { SmartLayoutDefinition } from '../../../smart-form/api/model/smartLayoutDefinition';
13
14
  import { ComponentConstraint } from './componentConstraint';
14
15
  import { UiAction } from './uiAction';
15
16
  import { ValueSet } from './valueSet';
@@ -25,7 +26,7 @@ export interface ComponentModel {
25
26
  [key: string]: SmartLayoutDefinition;
26
27
  };
27
28
  componentLayouts?: {
28
- [key: string]: Object;
29
+ [key: string]: SmartComponentLayoutDefinition;
29
30
  };
30
31
  actions: Array<UiAction>;
31
32
  valueSets?: {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { ViewEventHandler } from './viewEventHandler';
13
- import { SmartLayoutDefinition } from '@smartbit4all/form';
13
+ import { SmartLayoutDefinition } from '../../../smart-form/projects';
14
14
  import { ViewState } from './viewState';
15
15
  import { UiAction } from './uiAction';
16
16
  import { ValueSet } from './valueSet';
@@ -1,6 +1,6 @@
1
1
  import { MatDialog } from '@angular/material/dialog';
2
2
  import { Router } from '@angular/router';
3
- import { SmartdialogService } from '@smartbit4all/dialog';
3
+ import { SmartdialogService } from '../../../../smart-dialog/projects';
4
4
  import { Subject } from 'rxjs';
5
5
  import { UiAction } from '../../../api';
6
6
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { SmartFileUploaderI18n } from '@smartbit4all/form';
2
+ import { SmartFileUploaderI18n } from '../../../../smart-form/projects';
3
3
  import { UiActionDescriptor } from '../../../api';
4
4
  import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
5
5
  import { UiActionFileUploadDialogService } from './ui-action-file-upload-dialog.service';
@@ -1,6 +1,6 @@
1
1
  import { MatDialog } from '@angular/material/dialog';
2
2
  import { Router } from '@angular/router';
3
- import { SmartdialogService } from '@smartbit4all/dialog';
3
+ import { SmartdialogService } from '../../../../smart-dialog/projects';
4
4
  import { Subject } from 'rxjs';
5
5
  import { UiAction } from '../../../api';
6
6
  import * as i0 from "@angular/core";
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { SmartForm, SmartformComponent } from '@smartbit4all/form';
2
+ import { SmartForm, SmartformComponent } from '../../../../smart-form/projects';
3
3
  import { UiActionDescriptor } from '../../../api';
4
4
  import { UiActionDescriptorService } from '../../ui-action.descriptor.service';
5
5
  import { UiActionInputDialogService } from './ui-action-input-dialog.service';
@@ -1,6 +1,6 @@
1
1
  import { MatDialog } from '@angular/material/dialog';
2
2
  import { Router } from '@angular/router';
3
- import { SmartdialogService } from '@smartbit4all/dialog';
3
+ import { SmartdialogService } from '../../../../smart-dialog/projects';
4
4
  import { Subject } from 'rxjs';
5
5
  import { UiAction, UiActionRequest } from '../../../api';
6
6
  import * as i0 from "@angular/core";
@@ -1,8 +1,8 @@
1
1
  import { Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
2
- import { UiActionButtonIconPos } from '../api';
3
2
  import { UiActionDescriptorService } from './ui-action.descriptor.service';
4
3
  import { UiActionModel } from './ui-action.model';
5
4
  import { UiActionService } from './ui-action.service';
5
+ import { UiActionButtonIconPos } from '../api/model/uiActionButtonIconPos';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDestroy {
8
8
  private service;
@@ -1,5 +1,7 @@
1
1
  import { Subject } from 'rxjs';
2
- import { UiAction, UiActionDescriptor, UiActionRequest } from '../api';
2
+ import { UiAction } from '../api/model/uiAction';
3
+ import { UiActionDescriptor } from '../api/model/uiActionDescriptor';
4
+ import { UiActionRequest } from '../api/model/uiActionRequest';
3
5
  export interface UiActionModel {
4
6
  uiAction: UiAction;
5
7
  serviceToUse: UseUiAction | UseUiAction2;
@@ -1,6 +1,6 @@
1
1
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
2
2
  import { Router } from '@angular/router';
3
- import { SmartdialogService } from '@smartbit4all/dialog';
3
+ import { SmartdialogService } from '../../../projects';
4
4
  import { ViewApiError } from '../api';
5
5
  import { SmartViewContextApiError } from '../smart-view-context.model';
6
6
  import { SmartViewContextService } from '../smart-view-context.service';
@@ -12,8 +12,8 @@ import * as i10 from "@angular/material/core";
12
12
  import * as i11 from "@angular/material/button";
13
13
  import * as i12 from "@angular/material/icon";
14
14
  import * as i13 from "@angular/material/snack-bar";
15
- import * as i14 from "@smartbit4all/icon";
16
- import * as i15 from "@smartbit4all/form";
15
+ import * as i14 from "../smart-icon/smart-icon.module";
16
+ import * as i15 from "../smart-form/smartform.module";
17
17
  export declare class SmartViewContextModule {
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
19
19
  static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent, typeof i6.UiActionConfirmDialogComponent, typeof i7.UiActionFileUploadDialogComponent], [typeof i8.CommonModule, typeof i9.HttpClientModule, typeof i10.MatCommonModule, typeof i11.MatButtonModule, typeof i12.MatIconModule, typeof i13.MatSnackBarModule, typeof i14.SmartIconModule, typeof i15.SmartformModule], [typeof i4.UiActionToolbarComponent, typeof i5.UiActionInputDialogComponent]>;
@@ -1,11 +1,11 @@
1
1
  import { OnDestroy } from '@angular/core';
2
- import { SmartdialogService } from '@smartbit4all/dialog';
3
- import { SmartNavigationService } from '@smartbit4all/navigation';
4
2
  import { Subject } from 'rxjs';
5
3
  import { SmartSessionService } from '../session/smart-session.service';
6
4
  import { ComponentModel, DataChange, MessageData, MessageResult, UiActionDescriptor, UiActionRequest, ViewConstraint, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewService } from './api';
7
5
  import { SmartTranslateService, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewHandlerModel } from './smart-view-context.model';
8
- import { SmartSubject } from '@smartbit4all/subject';
6
+ import { SmartSubject } from '../smart-subject/projects';
7
+ import { SmartNavigationService } from '../smart-navigation/projects';
8
+ import { SmartdialogService } from '../smart-dialog/projects';
9
9
  import * as i0 from "@angular/core";
10
10
  export declare const SmartViewContextErrorDialogButtonLabel = "SmartViewContextErrorDialogButtonLabel";
11
11
  export declare const SmartViewContextErrorDialogTitle = "SmartViewContextErrorDialogTitle";
@@ -1,6 +1,6 @@
1
- import { ActivatedRoute } from "@angular/router";
2
- import { SmartNavigationService } from "@smartbit4all/navigation";
3
- import { SmartViewContextService } from "../smart-view-context.service";
1
+ import { ActivatedRoute } from '@angular/router';
2
+ import { SmartViewContextService } from '../smart-view-context.service';
3
+ import { SmartNavigationService } from '../../smart-navigation/projects';
4
4
  import * as i0 from "@angular/core";
5
5
  export declare class SmartViewRedirect {
6
6
  private service;
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { FilterExpressionBuilderModel } from '@smartbit4all/filter';
12
+ import { FilterExpressionBuilderModel } from '../../../smart-filter/projects';
13
13
  import { PropertyDefinitionData } from '../../property-definition-data';
14
14
  /**
15
15
  * The instance of the ValueSetDefintion that conatins every information inline.
package/package.json CHANGED
@@ -1,13 +1,10 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "2.2.2",
3
+ "version": "3.0.1",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^13.2.0",
6
6
  "@angular/core": "^13.2.0",
7
7
  "@openapitools/openapi-generator-cli": "^2.5.1",
8
- "@smartbit4all/dialog": "^1.0.5",
9
- "@smartbit4all/form": "^1.8.0",
10
- "@smartbit4all/icon": "^1.0.1",
11
8
  "rxjs": "^7.5.7",
12
9
  "copyfiles": "^2.4.1"
13
10
  },