@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 { EventEmitter, OnInit } from "@angular/core";
2
+ import { FormControl } from "@angular/forms";
3
+ import { Moment } from "moment";
4
+ import { SmartMonthPicker } from "../../../smartform.form-model";
5
+ import { MatDatepicker } from "@angular/material/datepicker";
6
+ import { SmartWidgetHintPosition } from "../../../smartform.model";
7
+ import * as i0 from "@angular/core";
8
+ export declare const YEARH_MONTH_FORMAT: {
9
+ parse: {
10
+ dateInput: string;
11
+ };
12
+ display: {
13
+ dateInput: string;
14
+ monthYearLabel: string;
15
+ dateA11yLabel: string;
16
+ monthYearA11yLabel: string;
17
+ };
18
+ };
19
+ export declare class SmartMonthPickerComponent implements OnInit {
20
+ widgetInstance: SmartMonthPicker;
21
+ valueChange: EventEmitter<any>;
22
+ date: FormControl;
23
+ SmartWidgetHintPosition: typeof SmartWidgetHintPosition;
24
+ ngOnInit(): void;
25
+ chosenYearHandler(normalizedYear: Moment): void;
26
+ chosenMonthHandler(normalizedMonth: Moment, datepicker: MatDatepicker<Moment>): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartMonthPickerComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartMonthPickerComponent, "lib-smart-month-picker", never, { "widgetInstance": "widgetInstance"; }, { "valueChange": "valueChange"; }, never, never>;
29
+ }
@@ -0,0 +1,84 @@
1
+ import { AfterViewInit, ComponentRef, ElementRef, OnDestroy, OnInit, ViewContainerRef } from '@angular/core';
2
+ import { FormGroup } from '@angular/forms';
3
+ import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
4
+ import { MatChipInputEvent } from '@angular/material/chips';
5
+ import { Observable, Subject } from 'rxjs';
6
+ import { SmartFormWidgetType } from '../../api/model/models';
7
+ import { SmartFormService } from '../../services/smartform.service';
8
+ import { SmartButton, SmartFormWidget, SmartItem } from '../../smartform.form-model';
9
+ import { SmartFormTextFieldButtonIconPosition, SmartValidator, SmartWidgetHintPosition, SophisticatedValueChange, Value } from '../../smartform.model';
10
+ import { ComponentFactoryService } from '../../../component-factory-service/projects';
11
+ import * as i0 from "@angular/core";
12
+ export declare class SmartWidgetSettings {
13
+ static useUtc: boolean;
14
+ }
15
+ export declare class SmartformwidgetComponent implements OnInit, OnDestroy, AfterViewInit {
16
+ private service;
17
+ private cfService;
18
+ private _destroy$;
19
+ hidePassword: boolean;
20
+ form: FormGroup;
21
+ widgetInstance: SmartFormWidget<any>;
22
+ onBlur?: Subject<any>;
23
+ onValueChange?: Subject<any>;
24
+ labelColor?: string;
25
+ sophisticatedValueChange: Subject<SophisticatedValueChange>;
26
+ smartFormWidgetType: typeof SmartFormWidgetType;
27
+ capsOn: any;
28
+ chipInputChild?: ElementRef<HTMLInputElement>;
29
+ filteredValueList?: Observable<string[] | undefined>;
30
+ hasError: boolean;
31
+ errorKey?: string;
32
+ indicatorItems?: any[];
33
+ customComponentVcRef?: ViewContainerRef;
34
+ customComponentRef?: ComponentRef<any>;
35
+ filteredOptions?: Observable<SmartItem<any>[]>;
36
+ isEnterPressed: boolean;
37
+ isDatePickerRequired: boolean;
38
+ SmartWidgetHintPosition: typeof SmartWidgetHintPosition;
39
+ constructor(service: SmartFormService, cfService: ComponentFactoryService);
40
+ ngOnInit(): void;
41
+ parseYoutubeUrl(url: string): string | false;
42
+ _hasJustChanged: boolean;
43
+ get hasJustChanged(): boolean;
44
+ set hasJustChanged(hasJustChanged: boolean);
45
+ hasCreated: boolean;
46
+ dateInputChild?: ElementRef;
47
+ timeInputChild?: ElementRef;
48
+ onDatePickerBlur(event: any): void;
49
+ onTimePickerBlur(event: any): void;
50
+ ngAfterViewInit(): void;
51
+ handleDateChanged(_moment: any): void;
52
+ handleTimeChanged(timeValue: string): void;
53
+ private setDateFormControl;
54
+ getTime(): string;
55
+ ngOnDestroy(): void;
56
+ onKeydown(): void;
57
+ togglePasswordVisibility(event: any): void;
58
+ addOnBlur: boolean;
59
+ readonly separatorKeysCodes: readonly [13, 188];
60
+ add(event: MatChipInputEvent): void;
61
+ remove(value: SmartFormWidget<any>): void;
62
+ selected(event: MatAutocompleteSelectedEvent, widgetInstance: SmartFormWidget<any>): void;
63
+ getDirection(): string;
64
+ smartFormTextFieldButtonIconPosition(): typeof SmartFormTextFieldButtonIconPosition;
65
+ getType(): typeof SmartFormWidgetType;
66
+ getWidgetLabel(widget: SmartFormWidget<any>): string;
67
+ private fieldIsRequired;
68
+ hasCustomError(widget: SmartFormWidget<any>, validator: SmartValidator): boolean;
69
+ getErrorMessage(widgetInstance: SmartFormWidget<any>): boolean;
70
+ getIndicatorItemClass(index: number): string;
71
+ getIndicatorStatusLabelColor(): string;
72
+ getIndicatorStatusLabel(): string;
73
+ upload(files: any[]): void;
74
+ getButtonType(descriptor: any): string;
75
+ isOnlyIcon(descriptor: any): boolean;
76
+ onButtonClicked(instance: SmartButton): void;
77
+ private _filter;
78
+ dateFilter(d: Date | null): boolean;
79
+ asd(opt: any): string;
80
+ getMatrixDisplayValue(question: Value, key: string): void;
81
+ handleYearMonthPicked(yearMonthValue: any): void;
82
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartformwidgetComponent, never>;
83
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartformwidgetComponent, "smartformwidget", never, { "form": "form"; "widgetInstance": "widgetInstance"; "onBlur": "onBlur"; "onValueChange": "onValueChange"; "labelColor": "labelColor"; "sophisticatedValueChange": "sophisticatedValueChange"; }, {}, never, never>;
84
+ }
@@ -0,0 +1,20 @@
1
+ import { CdkDragDrop } from "@angular/cdk/drag-drop";
2
+ import { OnChanges, SimpleChanges } from "@angular/core";
3
+ import { ControlValueAccessor } from "@angular/forms";
4
+ import { SmartSortable } from "../../../smartform.form-model";
5
+ import * as i0 from "@angular/core";
6
+ export declare class SortableWidgetComponent implements ControlValueAccessor, OnChanges {
7
+ widgetInstance: SmartSortable<any>;
8
+ private onChange;
9
+ private onTouched;
10
+ isDisabled: boolean;
11
+ constructor();
12
+ ngOnChanges(changes: SimpleChanges): void;
13
+ onDrop(event: CdkDragDrop<string[]>): void;
14
+ writeValue(value: any[]): void;
15
+ registerOnChange(fn: (value: string[]) => void): void;
16
+ registerOnTouched(fn: () => void): void;
17
+ setDisabledState?(isDisabled: boolean): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<SortableWidgetComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<SortableWidgetComponent, "lib-sortable-widget", never, { "widgetInstance": "widgetInstance"; }, {}, never, never>;
20
+ }
@@ -0,0 +1,9 @@
1
+ import { EventEmitter } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class TrackCapsDirective {
4
+ capsLock: EventEmitter<Boolean>;
5
+ onKeyDown(event: KeyboardEvent): void;
6
+ onKeyUp(event: KeyboardEvent): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<TrackCapsDirective, never>;
8
+ static ɵdir: i0.ɵɵDirectiveDeclaration<TrackCapsDirective, "[capsLock]", never, {}, { "capsLock": "capsLock"; }, never>;
9
+ }
@@ -0,0 +1,3 @@
1
+ export * from './grid.service';
2
+ import { GridService } from './grid.service';
3
+ export declare const APIS: (typeof GridService)[];
@@ -0,0 +1,140 @@
1
+ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { GridModel } from '../model/gridModel';
4
+ import { GridUpdateData } from '../model/gridUpdateData';
5
+ import { ViewContextChange } from '../../../../view-context/api/model/viewContextChange';
6
+ import { Configuration } from '../configuration';
7
+ import * as i0 from "@angular/core";
8
+ export declare class GridService {
9
+ protected httpClient: HttpClient;
10
+ protected basePath: string;
11
+ defaultHeaders: HttpHeaders;
12
+ configuration: Configuration;
13
+ encoder: HttpParameterCodec;
14
+ constructor(httpClient: HttpClient, basePath: string, configuration: Configuration);
15
+ private addToHttpParams;
16
+ private addToHttpParamsRecursive;
17
+ /**
18
+ *
19
+ * @param uuid
20
+ * @param gridId
21
+ * @param rowId
22
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
23
+ * @param reportProgress flag to report request and response progress.
24
+ */
25
+ expand(uuid: string, gridId: string, rowId: string, observe?: 'body', reportProgress?: boolean, options?: {
26
+ httpHeaderAccept?: 'application/json';
27
+ context?: HttpContext;
28
+ }): Observable<object>;
29
+ expand(uuid: string, gridId: string, rowId: string, observe?: 'response', reportProgress?: boolean, options?: {
30
+ httpHeaderAccept?: 'application/json';
31
+ context?: HttpContext;
32
+ }): Observable<HttpResponse<object>>;
33
+ expand(uuid: string, gridId: string, rowId: string, observe?: 'events', reportProgress?: boolean, options?: {
34
+ httpHeaderAccept?: 'application/json';
35
+ context?: HttpContext;
36
+ }): Observable<HttpEvent<object>>;
37
+ /**
38
+ *
39
+ * @param uuid
40
+ * @param gridIdentifier
41
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
42
+ * @param reportProgress flag to report request and response progress.
43
+ */
44
+ load(uuid: string, gridIdentifier: string, observe?: 'body', reportProgress?: boolean, options?: {
45
+ httpHeaderAccept?: 'application/json';
46
+ context?: HttpContext;
47
+ }): Observable<GridModel>;
48
+ load(uuid: string, gridIdentifier: string, observe?: 'response', reportProgress?: boolean, options?: {
49
+ httpHeaderAccept?: 'application/json';
50
+ context?: HttpContext;
51
+ }): Observable<HttpResponse<GridModel>>;
52
+ load(uuid: string, gridIdentifier: string, observe?: 'events', reportProgress?: boolean, options?: {
53
+ httpHeaderAccept?: 'application/json';
54
+ context?: HttpContext;
55
+ }): Observable<HttpEvent<GridModel>>;
56
+ /**
57
+ *
58
+ * @param uuid
59
+ * @param gridId
60
+ * @param rowId
61
+ * @param selected
62
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
63
+ * @param reportProgress flag to report request and response progress.
64
+ */
65
+ select(uuid: string, gridId: string, rowId: string, selected?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
66
+ httpHeaderAccept?: 'application/json';
67
+ context?: HttpContext;
68
+ }): Observable<ViewContextChange>;
69
+ select(uuid: string, gridId: string, rowId: string, selected?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
70
+ httpHeaderAccept?: 'application/json';
71
+ context?: HttpContext;
72
+ }): Observable<HttpResponse<ViewContextChange>>;
73
+ select(uuid: string, gridId: string, rowId: string, selected?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
74
+ httpHeaderAccept?: 'application/json';
75
+ context?: HttpContext;
76
+ }): Observable<HttpEvent<ViewContextChange>>;
77
+ /**
78
+ *
79
+ * @param uuid
80
+ * @param gridId
81
+ * @param selected
82
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
83
+ * @param reportProgress flag to report request and response progress.
84
+ */
85
+ selectAll(uuid: string, gridId: string, selected?: boolean, observe?: 'body', reportProgress?: boolean, options?: {
86
+ httpHeaderAccept?: 'application/json';
87
+ context?: HttpContext;
88
+ }): Observable<ViewContextChange>;
89
+ selectAll(uuid: string, gridId: string, selected?: boolean, observe?: 'response', reportProgress?: boolean, options?: {
90
+ httpHeaderAccept?: 'application/json';
91
+ context?: HttpContext;
92
+ }): Observable<HttpResponse<ViewContextChange>>;
93
+ selectAll(uuid: string, gridId: string, selected?: boolean, observe?: 'events', reportProgress?: boolean, options?: {
94
+ httpHeaderAccept?: 'application/json';
95
+ context?: HttpContext;
96
+ }): Observable<HttpEvent<ViewContextChange>>;
97
+ /**
98
+ *
99
+ * @param uuid
100
+ * @param gridIdentifier
101
+ * @param offset
102
+ * @param limit
103
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
104
+ * @param reportProgress flag to report request and response progress.
105
+ */
106
+ setPage(uuid: string, gridIdentifier: string, offset: string, limit: string, observe?: 'body', reportProgress?: boolean, options?: {
107
+ httpHeaderAccept?: undefined;
108
+ context?: HttpContext;
109
+ }): Observable<any>;
110
+ setPage(uuid: string, gridIdentifier: string, offset: string, limit: string, observe?: 'response', reportProgress?: boolean, options?: {
111
+ httpHeaderAccept?: undefined;
112
+ context?: HttpContext;
113
+ }): Observable<HttpResponse<any>>;
114
+ setPage(uuid: string, gridIdentifier: string, offset: string, limit: string, observe?: 'events', reportProgress?: boolean, options?: {
115
+ httpHeaderAccept?: undefined;
116
+ context?: HttpContext;
117
+ }): Observable<HttpEvent<any>>;
118
+ /**
119
+ *
120
+ * @param uuid
121
+ * @param gridIdentifier
122
+ * @param gridUpdateData
123
+ * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
124
+ * @param reportProgress flag to report request and response progress.
125
+ */
126
+ update(uuid: string, gridIdentifier: string, gridUpdateData: GridUpdateData, observe?: 'body', reportProgress?: boolean, options?: {
127
+ httpHeaderAccept?: 'application/json';
128
+ context?: HttpContext;
129
+ }): Observable<GridModel>;
130
+ update(uuid: string, gridIdentifier: string, gridUpdateData: GridUpdateData, observe?: 'response', reportProgress?: boolean, options?: {
131
+ httpHeaderAccept?: 'application/json';
132
+ context?: HttpContext;
133
+ }): Observable<HttpResponse<GridModel>>;
134
+ update(uuid: string, gridIdentifier: string, gridUpdateData: GridUpdateData, observe?: 'events', reportProgress?: boolean, options?: {
135
+ httpHeaderAccept?: 'application/json';
136
+ context?: HttpContext;
137
+ }): Observable<HttpEvent<GridModel>>;
138
+ static ɵfac: i0.ɵɵFactoryDeclaration<GridService, [null, { optional: true; }, { optional: true; }]>;
139
+ static ɵprov: i0.ɵɵInjectableDeclaration<GridService>;
140
+ }
@@ -0,0 +1,11 @@
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import { Configuration } from './configuration';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import * as i0 from "@angular/core";
5
+ export declare class ApiModule {
6
+ static forRoot(configurationFactory: () => Configuration): ModuleWithProviders<ApiModule>;
7
+ constructor(parentModule: ApiModule, http: HttpClient);
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApiModule, [{ optional: true; skipSelf: true; }, { optional: true; }]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApiModule, never, never, never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApiModule>;
11
+ }
@@ -0,0 +1,80 @@
1
+ import { HttpParameterCodec } from '@angular/common/http';
2
+ export interface ConfigurationParameters {
3
+ /**
4
+ * @deprecated Since 5.0. Use credentials instead
5
+ */
6
+ apiKeys?: {
7
+ [key: string]: string;
8
+ };
9
+ username?: string;
10
+ password?: string;
11
+ /**
12
+ * @deprecated Since 5.0. Use credentials instead
13
+ */
14
+ accessToken?: string | (() => string);
15
+ basePath?: string;
16
+ withCredentials?: boolean;
17
+ encoder?: HttpParameterCodec;
18
+ /**
19
+ * The keys are the names in the securitySchemes section of the OpenAPI
20
+ * document. They should map to the value used for authentication
21
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
22
+ */
23
+ credentials?: {
24
+ [key: string]: string | (() => string | undefined);
25
+ };
26
+ }
27
+ export declare class Configuration {
28
+ /**
29
+ * @deprecated Since 5.0. Use credentials instead
30
+ */
31
+ apiKeys?: {
32
+ [key: string]: string;
33
+ };
34
+ username?: string;
35
+ password?: string;
36
+ /**
37
+ * @deprecated Since 5.0. Use credentials instead
38
+ */
39
+ accessToken?: string | (() => string);
40
+ basePath?: string;
41
+ withCredentials?: boolean;
42
+ encoder?: HttpParameterCodec;
43
+ /**
44
+ * The keys are the names in the securitySchemes section of the OpenAPI
45
+ * document. They should map to the value used for authentication
46
+ * minus any standard prefixes such as 'Basic' or 'Bearer'.
47
+ */
48
+ credentials: {
49
+ [key: string]: string | (() => string | undefined);
50
+ };
51
+ constructor(configurationParameters?: ConfigurationParameters);
52
+ /**
53
+ * Select the correct content-type to use for a request.
54
+ * Uses {@link Configuration#isJsonMime} to determine the correct content-type.
55
+ * If no content type is found return the first found type if the contentTypes is not empty
56
+ * @param contentTypes - the array of content types that are available for selection
57
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
58
+ */
59
+ selectHeaderContentType(contentTypes: string[]): string | undefined;
60
+ /**
61
+ * Select the correct accept content-type to use for a request.
62
+ * Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
63
+ * If no content type is found return the first found type if the contentTypes is not empty
64
+ * @param accepts - the array of content types that are available for selection.
65
+ * @returns the selected content-type or <code>undefined</code> if no selection could be made.
66
+ */
67
+ selectHeaderAccept(accepts: string[]): string | undefined;
68
+ /**
69
+ * Check if the given MIME is a JSON MIME.
70
+ * JSON MIME examples:
71
+ * application/json
72
+ * application/json; charset=UTF8
73
+ * APPLICATION/JSON
74
+ * application/vnd.company+json
75
+ * @param mime - MIME (Multipurpose Internet Mail Extensions)
76
+ * @return True if the given MIME is JSON, false otherwise.
77
+ */
78
+ isJsonMime(mime: string): boolean;
79
+ lookupCredential(key: string): string | undefined;
80
+ }
@@ -0,0 +1,11 @@
1
+ import { HttpParameterCodec } from '@angular/common/http';
2
+ /**
3
+ * Custom HttpParameterCodec
4
+ * Workaround for https://github.com/angular/angular/issues/18261
5
+ */
6
+ export declare class CustomHttpParameterCodec implements HttpParameterCodec {
7
+ encodeKey(k: string): string;
8
+ encodeValue(v: string): string;
9
+ decodeKey(k: string): string;
10
+ decodeValue(v: string): string;
11
+ }
@@ -0,0 +1,5 @@
1
+ export * from './api/api';
2
+ export * from './model/models';
3
+ export * from './variables';
4
+ export * from './configuration';
5
+ export * from './api.module';
@@ -0,0 +1,18 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export interface GridColumnMeta {
13
+ label: string;
14
+ propertyName: string;
15
+ typeClass?: string;
16
+ alwaysHidden?: boolean;
17
+ alwaysShow?: boolean;
18
+ }
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ * This is the backend object to setup the grid access api. The parameterization contain all the possible parameters requiered to identify the API to call or even the InvocationRequest to use. Register into the parameters of the View parameters as grid.identifier.config
14
+ */
15
+ export interface GridDataAccessConfig {
16
+ /**
17
+ * The uri of the table data that contains the data of the list.
18
+ */
19
+ dataUri?: string;
20
+ /**
21
+ * The path to access the identifier GridRow.data
22
+ */
23
+ identifierPath?: Array<string>;
24
+ apiClass?: string;
25
+ kind?: GridDataAccessConfig.KindEnum;
26
+ }
27
+ export declare namespace GridDataAccessConfig {
28
+ type KindEnum = 'TABLEDATA' | 'OBJECTLIST' | 'APIBASED' | 'INVOCATIONS';
29
+ const KindEnum: {
30
+ Tabledata: KindEnum;
31
+ Objectlist: KindEnum;
32
+ Apibased: KindEnum;
33
+ Invocations: KindEnum;
34
+ };
35
+ }
@@ -0,0 +1,30 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GridDataAccessConfig } from './gridDataAccessConfig';
13
+ import { GridPage } from './gridPage';
14
+ import { GridView } from './gridView';
15
+ /**
16
+ * This object represents the client model of a grid component.
17
+ */
18
+ export interface GridModel {
19
+ viewUuid?: string;
20
+ availableViews?: Array<GridView>;
21
+ view?: GridView;
22
+ accessConfig?: GridDataAccessConfig;
23
+ page: GridPage;
24
+ totalRowCount?: number;
25
+ selectedRowCount?: number;
26
+ allRowsSelected?: boolean;
27
+ pageSize?: number;
28
+ pageSizeOptions?: Array<number>;
29
+ defaultRowActions?: Array<string>;
30
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GridRow } from './gridRow';
13
+ /**
14
+ * This object containt the page information of the content. The currently seen row range, the total row cont and other options.
15
+ */
16
+ export interface GridPage {
17
+ /**
18
+ * The index of the first row in the current page. Startes from 1 and inclusive.
19
+ */
20
+ lowerBound?: number;
21
+ /**
22
+ * The index of the last row in the current page inclusive.
23
+ */
24
+ upperBound?: number;
25
+ rows?: Array<GridRow>;
26
+ }
@@ -0,0 +1,22 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { UiAction } from '../../../../view-context/api/model/uiAction';
13
+ /**
14
+ * This object is a grid row containening the identifier and actions releted with the row.
15
+ */
16
+ export interface GridRow {
17
+ id?: string;
18
+ actions: Array<UiAction>;
19
+ data?: object;
20
+ selectable?: boolean;
21
+ selected?: boolean;
22
+ }
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare type GridSelectionMode = 'none' | 'single' | 'multiple';
13
+ export declare const GridSelectionMode: {
14
+ None: GridSelectionMode;
15
+ Single: GridSelectionMode;
16
+ Multiple: GridSelectionMode;
17
+ };
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ export declare type GridSelectionType = 'row' | 'checkbox';
13
+ export declare const GridSelectionType: {
14
+ Row: GridSelectionType;
15
+ Checkbox: GridSelectionType;
16
+ };
@@ -0,0 +1,20 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GridRow } from './gridRow';
13
+ /**
14
+ * This object represents the server model of a grid component.
15
+ */
16
+ export interface GridServerModel {
17
+ selectedRows: {
18
+ [key: string]: GridRow;
19
+ };
20
+ }
@@ -0,0 +1,19 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { FilterExpressionOrderBy } from '../../../../smart-filter/projects';
13
+ /**
14
+ * Update request for grid\'s current view\'s behaviour.
15
+ */
16
+ export interface GridUpdateData {
17
+ orderedColumnNames: Array<string>;
18
+ orderByList: Array<FilterExpressionOrderBy>;
19
+ }
@@ -0,0 +1,21 @@
1
+ /**
2
+ * Grid api
3
+ * The grid api is resposible for the grid components that shows a list of item.
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: info@it4all.hu
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { GridViewDescriptor } from './gridViewDescriptor';
13
+ import { FilterExpressionOrderBy } from '../../../../smart-filter/projects';
14
+ /**
15
+ * The configuration of the grid view. It can be a simple table grid but a complex card representation also. A model has one or more view option to render the content.
16
+ */
17
+ export interface GridView {
18
+ descriptor?: GridViewDescriptor;
19
+ orderedColumnNames: Array<string>;
20
+ orderByList: Array<FilterExpressionOrderBy>;
21
+ }