@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.
- package/esm2020/lib/component-factory-service/component-factory-service.module.mjs +17 -0
- package/esm2020/lib/component-factory-service/component-factory-service.service.mjs +35 -0
- package/esm2020/lib/component-factory-service/projects.mjs +6 -0
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.component.mjs +1 -1
- package/esm2020/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.mjs +5 -5
- package/esm2020/lib/session/dev-tool/smart-dev-tool-floating-button/smart-dev-tool-floating-button.component.mjs +1 -1
- package/esm2020/lib/session/dev-tool/smart-dev-tool.service.mjs +2 -2
- package/esm2020/lib/session/smart-session.module.mjs +18 -18
- package/esm2020/lib/session/smart-session.service.mjs +2 -2
- package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +2 -2
- package/esm2020/lib/smart-client/smart-authentication.service.mjs +2 -2
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +2 -3
- package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +2 -2
- package/esm2020/lib/smart-component-layout/api/api/api.mjs +4 -0
- package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +133 -0
- package/esm2020/lib/smart-component-layout/api/api.module.mjs +40 -0
- package/esm2020/lib/smart-component-layout/api/configuration.mjs +91 -0
- package/esm2020/lib/smart-component-layout/api/encoder.mjs +19 -0
- package/esm2020/lib/smart-component-layout/api/index.mjs +7 -0
- package/esm2020/lib/smart-component-layout/api/model/componentType.mjs +17 -0
- package/esm2020/lib/smart-component-layout/api/model/componentWidgetType.mjs +17 -0
- package/esm2020/lib/smart-component-layout/api/model/layoutDirection.mjs +16 -0
- package/esm2020/lib/smart-component-layout/api/model/models.mjs +6 -0
- package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +2 -0
- package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +2 -0
- package/esm2020/lib/smart-component-layout/api/param.mjs +2 -0
- package/esm2020/lib/smart-component-layout/api/variables.mjs +9 -0
- package/esm2020/lib/smart-component-layout/projects.mjs +8 -0
- package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +7 -0
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +123 -0
- package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +43 -0
- package/esm2020/lib/smart-dialog/projects.mjs +8 -0
- package/esm2020/lib/smart-dialog/smartdialog.component.mjs +54 -0
- package/esm2020/lib/smart-dialog/smartdialog.model.mjs +16 -0
- package/esm2020/lib/smart-dialog/smartdialog.module.mjs +49 -0
- package/esm2020/lib/smart-dialog/smartdialog.service.mjs +60 -0
- package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +82 -0
- package/esm2020/lib/smart-expandable-section/expandable-section.model.mjs +12 -0
- package/esm2020/lib/smart-expandable-section/projects.mjs +8 -0
- package/esm2020/lib/smart-expandable-section/smart-expandable-section.module.mjs +51 -0
- package/esm2020/lib/smart-expandable-section/smart-expandable-section.service.mjs +14 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +16 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +9 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +19 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionField.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +25 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +31 -0
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +19 -0
- package/esm2020/lib/smart-filter/api/filter/model/model.mjs +16 -0
- package/esm2020/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.mjs +2 -0
- package/esm2020/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.mjs +13 -0
- package/esm2020/lib/smart-filter/api/value/model/value.mjs +13 -0
- package/esm2020/lib/smart-filter/projects.mjs +9 -0
- package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.mjs +14 -0
- package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +159 -0
- package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +45 -0
- package/esm2020/lib/smart-filter/smart-filter/smart-filter.component.mjs +36 -0
- package/esm2020/lib/smart-filter/smart-filter/smart-filter.service.mjs +31 -0
- package/esm2020/lib/smart-filter/smart-filter.model.mjs +13 -0
- package/esm2020/lib/smart-filter/smart-filter.module.mjs +33 -0
- package/esm2020/lib/smart-form/api/api/api.mjs +4 -0
- package/esm2020/lib/smart-form/api/api/default.service.mjs +133 -0
- package/esm2020/lib/smart-form/api/api.module.mjs +40 -0
- package/esm2020/lib/smart-form/api/configuration.mjs +91 -0
- package/esm2020/lib/smart-form/api/encoder.mjs +19 -0
- package/esm2020/lib/smart-form/api/index.mjs +7 -0
- package/esm2020/lib/smart-form/api/model/models.mjs +8 -0
- package/esm2020/lib/smart-form/api/model/propertyMapping.mjs +13 -0
- package/esm2020/lib/smart-form/api/model/selectionDefinition.mjs +8 -0
- package/esm2020/lib/smart-form/api/model/smartFormWidgetDirection.mjs +16 -0
- package/esm2020/lib/smart-form/api/model/smartFormWidgetType.mjs +44 -0
- package/esm2020/lib/smart-form/api/model/smartLayoutDefinition.mjs +2 -0
- package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +2 -0
- package/esm2020/lib/smart-form/api/model/smartWidgetDefinition.mjs +2 -0
- package/esm2020/lib/smart-form/api/param.mjs +2 -0
- package/esm2020/lib/smart-form/api/variables.mjs +9 -0
- package/esm2020/lib/smart-form/projects.mjs +13 -0
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +397 -0
- package/esm2020/lib/smart-form/services/smartform.service.mjs +483 -0
- package/esm2020/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +14 -0
- package/esm2020/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +78 -0
- package/esm2020/lib/smart-form/smartfileuploader/smartfileuploader.model.mjs +2 -0
- package/esm2020/lib/smart-form/smartform.component.mjs +117 -0
- package/esm2020/lib/smart-form/smartform.form-model.mjs +2 -0
- package/esm2020/lib/smart-form/smartform.model.mjs +38 -0
- package/esm2020/lib/smart-form/smartform.module.mjs +146 -0
- package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +76 -0
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +589 -0
- package/esm2020/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +59 -0
- package/esm2020/lib/smart-form/widgets/smartformwidget/trackCaps.directive.mjs +31 -0
- package/esm2020/lib/smart-grid/api/grid-api/api/api.mjs +4 -0
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +372 -0
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +40 -0
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +72 -0
- package/esm2020/lib/smart-grid/api/grid-api/encoder.mjs +19 -0
- package/esm2020/lib/smart-grid/api/grid-api/index.mjs +6 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +13 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +21 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridModel.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridPage.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridRow.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +17 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +16 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridView.mjs +2 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +8 -0
- package/esm2020/lib/smart-grid/api/grid-api/model/models.mjs +12 -0
- package/esm2020/lib/smart-grid/api/grid-api/variables.mjs +9 -0
- package/esm2020/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +20 -0
- package/esm2020/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +56 -0
- package/esm2020/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +166 -0
- package/esm2020/lib/smart-grid/models/model.mjs +28 -0
- package/esm2020/lib/smart-grid/projects.mjs +9 -0
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +452 -0
- package/esm2020/lib/smart-grid/smart-grid.module.mjs +69 -0
- package/esm2020/lib/smart-grid/smart-grid.service.mjs +71 -0
- package/esm2020/lib/smart-icon/projects.mjs +7 -0
- package/esm2020/lib/smart-icon/smart-icon/smart-icon.component.mjs +48 -0
- package/esm2020/lib/smart-icon/smart-icon.module.mjs +22 -0
- package/esm2020/lib/smart-icon/smart-icon.service.mjs +45 -0
- package/esm2020/lib/smart-navbar/projects.mjs +8 -0
- package/esm2020/lib/smart-navbar/smart-navbar.component.mjs +61 -0
- package/esm2020/lib/smart-navbar/smart-navbar.model.mjs +6 -0
- package/esm2020/lib/smart-navbar/smart-navbar.module.mjs +65 -0
- package/esm2020/lib/smart-navbar/smart-navbar.service.mjs +14 -0
- package/esm2020/lib/smart-navigation/projects.mjs +6 -0
- package/esm2020/lib/smart-navigation/smart-navigation.interface.mjs +2 -0
- package/esm2020/lib/smart-navigation/smart-navigation.module.mjs +18 -0
- package/esm2020/lib/smart-navigation/smart-navigation.service.mjs +56 -0
- package/esm2020/lib/smart-ng-client.module.mjs +16 -4
- package/esm2020/lib/smart-subject/projects.mjs +5 -0
- package/esm2020/lib/smart-subject/smart-subject.mjs +21 -0
- package/esm2020/lib/smart-tab-group/projects.mjs +8 -0
- package/esm2020/lib/smart-tab-group/smart-tab-group.component.mjs +43 -0
- package/esm2020/lib/smart-tab-group/smart-tab-group.module.mjs +25 -0
- package/esm2020/lib/smart-tab-group/smart-tab-group.service.mjs +14 -0
- package/esm2020/lib/smart-tab-group/tab-content/tab-content.component.mjs +31 -0
- package/esm2020/lib/smart-tab-group/tab-group-simplified/tab-group.component.mjs +66 -0
- package/esm2020/lib/smart-tab-group/tabTile.model.mjs +2 -0
- package/esm2020/lib/smart-table/components/loading/loading.component.mjs +15 -0
- package/esm2020/lib/smart-table/projects.mjs +9 -0
- package/esm2020/lib/smart-table/smarttable.component.mjs +98 -0
- package/esm2020/lib/smart-table/smarttable.date-pipe.mjs +43 -0
- package/esm2020/lib/smart-table/smarttable.model.mjs +167 -0
- package/esm2020/lib/smart-table/smarttable.module.mjs +89 -0
- package/esm2020/lib/smart-table/smarttable.service.mjs +14 -0
- package/esm2020/lib/smart-table/tables/material-table/material-table.component.mjs +36 -0
- package/esm2020/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +22 -0
- package/esm2020/lib/smart-table/tables/table.mjs +411 -0
- package/esm2020/lib/smart-tree/smarttree.component.mjs +2 -2
- package/esm2020/lib/smart-tree/smarttree.model.mjs +1 -1
- package/esm2020/lib/smart-tree/smarttree.module.mjs +2 -2
- package/esm2020/lib/smart-tree/smarttree.service.interface.mjs +1 -1
- package/esm2020/lib/smart-tree/smarttree.service.mjs +1 -1
- package/esm2020/lib/view-context/api/api/api.mjs +1 -1
- package/esm2020/lib/view-context/api/api/view.service.mjs +1 -1
- package/esm2020/lib/view-context/api/api.module.mjs +1 -1
- package/esm2020/lib/view-context/api/configuration.mjs +1 -1
- package/esm2020/lib/view-context/api/encoder.mjs +1 -1
- package/esm2020/lib/view-context/api/index.mjs +1 -1
- package/esm2020/lib/view-context/api/model/closeResult.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
- package/esm2020/lib/view-context/api/model/componentModelChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
- package/esm2020/lib/view-context/api/model/dataChangeKind.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOption.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageOptionType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageResult.mjs +1 -1
- package/esm2020/lib/view-context/api/model/messageType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/models.mjs +1 -1
- package/esm2020/lib/view-context/api/model/openPendingData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/smartLinkData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonIconPos.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionButtonType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionFeedbackType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionInputType.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
- package/esm2020/lib/view-context/api/model/uiActionUploadDescriptor.mjs +1 -1
- package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
- package/esm2020/lib/view-context/api/model/view.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewApiError.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewConstraint.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewData.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewState.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
- package/esm2020/lib/view-context/api/model/viewType.mjs +1 -1
- package/esm2020/lib/view-context/api/param.mjs +1 -1
- package/esm2020/lib/view-context/api/variables.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +3 -3
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +3 -3
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +3 -3
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +8 -7
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +3 -3
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +4 -3
- package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +2 -2
- package/esm2020/lib/view-context/smart-view-context.module.mjs +3 -3
- package/esm2020/lib/view-context/smart-view-context.service.mjs +4 -4
- package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +9 -9
- package/esm2020/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2020/projects.mjs +15 -3
- package/fesm2015/smartbit4all-ng-client.mjs +9465 -3578
- package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
- package/fesm2020/smartbit4all-ng-client.mjs +9275 -3460
- package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/component-factory-service/component-factory-service.module.d.ts +6 -0
- package/lib/component-factory-service/component-factory-service.service.d.ts +13 -0
- package/lib/component-factory-service/projects.d.ts +2 -0
- package/lib/session/dev-tool/smart-dev-tool-dialog/smart-dev-tool-dialog.service.d.ts +1 -1
- package/lib/session/smart-session.module.d.ts +1 -1
- package/lib/smart-client/smart-component-api-client.d.ts +3 -4
- package/lib/smart-client/smart-file-uploader/smart-file-uploader.component.d.ts +3 -3
- package/lib/smart-component-layout/api/api/api.d.ts +3 -0
- package/lib/smart-component-layout/api/api/default.service.d.ts +33 -0
- package/lib/smart-component-layout/api/api.module.d.ts +11 -0
- package/lib/smart-component-layout/api/configuration.d.ts +104 -0
- package/lib/smart-component-layout/api/encoder.d.ts +11 -0
- package/lib/smart-component-layout/api/index.d.ts +6 -0
- package/lib/smart-component-layout/api/model/componentType.d.ts +17 -0
- package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +17 -0
- package/lib/smart-component-layout/api/model/layoutDirection.d.ts +16 -0
- package/lib/smart-component-layout/api/model/models.d.ts +5 -0
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +29 -0
- package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +21 -0
- package/lib/smart-component-layout/api/param.d.ts +37 -0
- package/lib/smart-component-layout/api/variables.d.ts +8 -0
- package/lib/smart-component-layout/projects.d.ts +4 -0
- package/lib/smart-component-layout/smart-component-layout-utility.d.ts +4 -0
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +35 -0
- package/lib/smart-component-layout/smart-component-layout.module.d.ts +13 -0
- package/lib/smart-dialog/projects.d.ts +4 -0
- package/lib/smart-dialog/smartdialog.component.d.ts +19 -0
- package/lib/smart-dialog/smartdialog.model.d.ts +67 -0
- package/lib/smart-dialog/smartdialog.module.d.ts +14 -0
- package/lib/smart-dialog/smartdialog.service.d.ts +20 -0
- package/lib/smart-expandable-section/expandable-section.component.d.ts +25 -0
- package/lib/smart-expandable-section/expandable-section.model.d.ts +40 -0
- package/lib/smart-expandable-section/projects.d.ts +4 -0
- package/lib/smart-expandable-section/smart-expandable-section.module.d.ts +15 -0
- package/lib/smart-expandable-section/smart-expandable-section.service.d.ts +6 -0
- package/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.d.ts +16 -0
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderField.d.ts +27 -0
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.d.ts +39 -0
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.d.ts +21 -0
- package/lib/smart-filter/api/filter/model/filterExpressionData.d.ts +27 -0
- package/lib/smart-filter/api/filter/model/filterExpressionDataType.d.ts +19 -0
- package/lib/smart-filter/api/filter/model/filterExpressionField.d.ts +37 -0
- package/lib/smart-filter/api/filter/model/filterExpressionFieldList.d.ts +21 -0
- package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +25 -0
- package/lib/smart-filter/api/filter/model/filterExpressionList.d.ts +18 -0
- package/lib/smart-filter/api/filter/model/filterExpressionOperandData.d.ts +24 -0
- package/lib/smart-filter/api/filter/model/filterExpressionOperation.d.ts +31 -0
- package/lib/smart-filter/api/filter/model/filterExpressionOrderBy.d.ts +28 -0
- package/lib/smart-filter/api/filter/model/model.d.ts +15 -0
- package/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.d.ts +19 -0
- package/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.d.ts +18 -0
- package/lib/smart-filter/api/value/model/value.d.ts +29 -0
- package/lib/smart-filter/projects.d.ts +5 -0
- package/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.d.ts +8 -0
- package/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.d.ts +31 -0
- package/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.d.ts +18 -0
- package/lib/smart-filter/smart-filter/smart-filter.component.d.ts +15 -0
- package/lib/smart-filter/smart-filter/smart-filter.service.d.ts +16 -0
- package/lib/smart-filter/smart-filter.model.d.ts +25 -0
- package/lib/smart-filter/smart-filter.module.d.ts +15 -0
- package/lib/smart-form/api/api/api.d.ts +3 -0
- package/lib/smart-form/api/api/default.service.d.ts +33 -0
- package/lib/smart-form/api/api.module.d.ts +11 -0
- package/lib/smart-form/api/configuration.d.ts +104 -0
- package/lib/smart-form/api/encoder.d.ts +11 -0
- package/lib/smart-form/api/index.d.ts +6 -0
- package/lib/smart-form/api/model/models.d.ts +7 -0
- package/lib/smart-form/api/model/propertyMapping.d.ts +24 -0
- package/lib/smart-form/api/model/selectionDefinition.d.ts +40 -0
- package/lib/smart-form/api/model/smartFormWidgetDirection.d.ts +16 -0
- package/lib/smart-form/api/model/smartFormWidgetType.d.ts +42 -0
- package/lib/smart-form/api/model/smartLayoutDefinition.d.ts +15 -0
- package/lib/smart-form/api/model/smartMatrixModel.d.ts +28 -0
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +77 -0
- package/lib/smart-form/api/param.d.ts +37 -0
- package/lib/smart-form/api/variables.d.ts +8 -0
- package/lib/smart-form/projects.d.ts +9 -0
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +40 -0
- package/lib/smart-form/services/smartform.service.d.ts +29 -0
- package/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.d.ts +8 -0
- package/lib/smart-form/smartfileuploader/smartfileuploader.component.d.ts +22 -0
- package/lib/smart-form/smartfileuploader/smartfileuploader.model.d.ts +7 -0
- package/lib/smart-form/smartform.component.d.ts +33 -0
- package/lib/smart-form/smartform.form-model.d.ts +521 -0
- package/lib/smart-form/smartform.model.d.ts +120 -0
- package/lib/smart-form/smartform.module.d.ts +34 -0
- package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +29 -0
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +84 -0
- package/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.d.ts +20 -0
- package/lib/smart-form/widgets/smartformwidget/trackCaps.directive.d.ts +9 -0
- package/lib/smart-grid/api/grid-api/api/api.d.ts +3 -0
- package/lib/smart-grid/api/grid-api/api/grid.service.d.ts +140 -0
- package/lib/smart-grid/api/grid-api/api.module.d.ts +11 -0
- package/lib/smart-grid/api/grid-api/configuration.d.ts +80 -0
- package/lib/smart-grid/api/grid-api/encoder.d.ts +11 -0
- package/lib/smart-grid/api/grid-api/index.d.ts +5 -0
- package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +18 -0
- package/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.d.ts +35 -0
- package/lib/smart-grid/api/grid-api/model/gridModel.d.ts +30 -0
- package/lib/smart-grid/api/grid-api/model/gridPage.d.ts +26 -0
- package/lib/smart-grid/api/grid-api/model/gridRow.d.ts +22 -0
- package/lib/smart-grid/api/grid-api/model/gridSelectionMode.d.ts +17 -0
- package/lib/smart-grid/api/grid-api/model/gridSelectionType.d.ts +16 -0
- package/lib/smart-grid/api/grid-api/model/gridServerModel.d.ts +20 -0
- package/lib/smart-grid/api/grid-api/model/gridUpdateData.d.ts +19 -0
- package/lib/smart-grid/api/grid-api/model/gridView.d.ts +21 -0
- package/lib/smart-grid/api/grid-api/model/gridViewDescriptor.d.ts +33 -0
- package/lib/smart-grid/api/grid-api/model/models.d.ts +11 -0
- package/lib/smart-grid/api/grid-api/variables.d.ts +8 -0
- package/lib/smart-grid/components/expandable-grid/expandable-grid.component.d.ts +10 -0
- package/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.d.ts +21 -0
- package/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.d.ts +40 -0
- package/lib/smart-grid/models/model.d.ts +70 -0
- package/lib/smart-grid/projects.d.ts +5 -0
- package/lib/smart-grid/smart-grid.component.d.ts +67 -0
- package/lib/smart-grid/smart-grid.module.d.ts +20 -0
- package/lib/smart-grid/smart-grid.service.d.ts +26 -0
- package/lib/smart-icon/projects.d.ts +3 -0
- package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +17 -0
- package/lib/smart-icon/smart-icon.module.d.ts +10 -0
- package/lib/smart-icon/smart-icon.service.d.ts +21 -0
- package/lib/smart-navbar/projects.d.ts +4 -0
- package/lib/smart-navbar/smart-navbar.component.d.ts +20 -0
- package/lib/smart-navbar/smart-navbar.model.d.ts +48 -0
- package/lib/smart-navbar/smart-navbar.module.d.ts +18 -0
- package/lib/smart-navbar/smart-navbar.service.d.ts +6 -0
- package/lib/smart-navigation/projects.d.ts +2 -0
- package/lib/smart-navigation/smart-navigation.interface.d.ts +11 -0
- package/lib/smart-navigation/smart-navigation.module.d.ts +6 -0
- package/lib/smart-navigation/smart-navigation.service.d.ts +18 -0
- package/lib/smart-ng-client.module.d.ts +9 -6
- package/lib/smart-subject/projects.d.ts +1 -0
- package/lib/smart-subject/smart-subject.d.ts +6 -0
- package/lib/smart-tab-group/projects.d.ts +4 -0
- package/lib/smart-tab-group/smart-tab-group.component.d.ts +21 -0
- package/lib/smart-tab-group/smart-tab-group.module.d.ts +13 -0
- package/lib/smart-tab-group/smart-tab-group.service.d.ts +6 -0
- package/lib/smart-tab-group/tab-content/tab-content.component.d.ts +14 -0
- package/lib/smart-tab-group/tab-group-simplified/tab-group.component.d.ts +29 -0
- package/lib/smart-tab-group/tabTile.model.d.ts +8 -0
- package/lib/smart-table/components/loading/loading.component.d.ts +8 -0
- package/lib/smart-table/projects.d.ts +5 -0
- package/lib/smart-table/smarttable.component.d.ts +34 -0
- package/lib/smart-table/smarttable.date-pipe.d.ts +18 -0
- package/lib/smart-table/smarttable.model.d.ts +183 -0
- package/lib/smart-table/smarttable.module.d.ts +23 -0
- package/lib/smart-table/smarttable.service.d.ts +6 -0
- package/lib/smart-table/tables/material-table/material-table.component.d.ts +8 -0
- package/lib/smart-table/tables/mobile-table/mobile-table.component.d.ts +8 -0
- package/lib/smart-table/tables/table.d.ts +59 -0
- package/lib/smart-tree/smarttree.component.d.ts +1 -1
- package/lib/smart-tree/smarttree.model.d.ts +1 -1
- package/lib/smart-tree/smarttree.module.d.ts +1 -1
- package/lib/smart-tree/smarttree.service.d.ts +1 -1
- package/lib/smart-tree/smarttree.service.interface.d.ts +1 -1
- package/lib/view-context/api/model/componentModel.d.ts +3 -2
- package/lib/view-context/api/model/view.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +1 -1
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +1 -1
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +3 -1
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +1 -1
- package/lib/view-context/smart-view-context.module.d.ts +2 -2
- package/lib/view-context/smart-view-context.service.d.ts +3 -3
- package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +3 -3
- package/lib/view-context/value-api/model/valueSetData.d.ts +1 -1
- package/package.json +1 -4
- package/projects.d.ts +14 -2
- package/smartbit4all-ng-client-3.0.1.tgz +0 -0
- package/src/lib/component-factory-service/README.md +99 -0
- package/src/lib/smart-component-layout/README.md +31 -0
- package/src/lib/smart-component-layout/api/README.md +226 -0
- package/src/lib/smart-dialog/README.md +197 -0
- package/src/lib/smart-expandable-section/README.md +249 -0
- package/src/lib/smart-filter/README.md +101 -0
- package/src/lib/smart-form/README.md +1178 -0
- package/src/lib/smart-form/api/README.md +226 -0
- package/src/lib/smart-grid/README.md +24 -0
- package/src/lib/smart-grid/api/grid-api/README.md +203 -0
- package/src/lib/smart-icon/README.md +116 -0
- package/src/lib/smart-navbar/README.md +119 -0
- package/src/lib/smart-navigation/README.md +141 -0
- package/src/lib/smart-tab-group/README.md +155 -0
- package/src/lib/smart-table/README.md +667 -0
- package/src/lib/view-context/api/README.md +226 -226
- package/esm2020/lib/smart-client/projects.mjs +0 -5
- package/esm2020/lib/smart-client/smart.component.mjs +0 -30
- package/esm2020/lib/smart-client/smart.service.mjs +0 -30
- package/lib/smart-client/projects.d.ts +0 -4
- package/lib/smart-client/smart.component.d.ts +0 -11
- package/lib/smart-client/smart.service.d.ts +0 -11
- package/smartbit4all-ng-client-2.2.2.tgz +0 -0
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ComponentFactoryServiceModule {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentFactoryServiceModule, never>;
|
|
4
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ComponentFactoryServiceModule, never, never, never>;
|
|
5
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ComponentFactoryServiceModule>;
|
|
6
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ComponentFactory, ComponentFactoryResolver, ComponentRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ComponentFactoryService {
|
|
4
|
+
private resolver;
|
|
5
|
+
factory?: ComponentFactory<any>;
|
|
6
|
+
constructor(resolver: ComponentFactoryResolver);
|
|
7
|
+
createComponent(vcRef: ViewContainerRef, componentType: any, inputs?: Map<string, any>): ComponentRef<any>;
|
|
8
|
+
destroyComponent(componentRef: ComponentRef<any>): void;
|
|
9
|
+
private setComponentFactory;
|
|
10
|
+
private setComponentInputParameters;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ComponentFactoryService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ComponentFactoryService>;
|
|
13
|
+
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
2
|
import { Router } from '@angular/router';
|
|
3
|
-
import { SmartdialogService } from '@smartbit4all/dialog';
|
|
4
3
|
import { Subject } from 'rxjs';
|
|
5
4
|
import { SmartDevToolDescriptor, SmartDevToolService } from '../smart-dev-tool.service';
|
|
5
|
+
import { SmartdialogService } from '../../../../projects';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class SmartDevToolDialogService extends SmartdialogService {
|
|
8
8
|
service: SmartDevToolService;
|
|
@@ -7,7 +7,7 @@ import * as i5 from "@angular/platform-browser";
|
|
|
7
7
|
import * as i6 from "@angular/material/core";
|
|
8
8
|
import * as i7 from "@angular/material/expansion";
|
|
9
9
|
import * as i8 from "@angular/material/button";
|
|
10
|
-
import * as i9 from "
|
|
10
|
+
import * as i9 from "../smart-icon/smart-icon.module";
|
|
11
11
|
export declare class SmartSessionModule {
|
|
12
12
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartSessionModule, never>;
|
|
13
13
|
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartSessionModule, [typeof i1.SmartDevToolDialogComponent, typeof i2.SmartDevToolFloatingButtonComponent, typeof i3.SmartDevToolDatePipe, typeof i4.SmartSessionTimerComponent], [typeof i5.BrowserModule, typeof i6.MatCommonModule, typeof i7.MatExpansionModule, typeof i8.MatButtonModule, typeof i9.SmartIconModule], [typeof i2.SmartDevToolFloatingButtonComponent, typeof i4.SmartSessionTimerComponent]>;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { Injector } from '@angular/core';
|
|
2
|
-
import { SmartForm, SmartformComponent } from '@smartbit4all/form';
|
|
3
|
-
import { GridOptions, SmartGrid, SmartGridComponent } from '@smartbit4all/grid';
|
|
4
2
|
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
5
3
|
import { Subject } from 'rxjs';
|
|
6
4
|
import { ComponentModel, SmartTranslateService, SmartViewContextService, UiAction, UiActionAdditionalParams, UiActionDescriptorService, UiActionModel, UiActionRequest, UiActionService, UiActionSpecificDemandResponse, UseUiAction2 } from '../view-context/projects';
|
|
7
5
|
import { SmartAuthenticationServiceInterface } from './smart-authentication.service';
|
|
6
|
+
import { GridOptions, SmartForm, SmartGrid, SmartGridComponent, SmartformComponent } from '../../projects';
|
|
8
7
|
export declare abstract class SmartComponentApiClient<T> implements UseUiAction2 {
|
|
9
8
|
protected inject: Injector;
|
|
10
9
|
protected auth: SmartAuthenticationServiceInterface;
|
|
@@ -54,7 +53,7 @@ export declare abstract class SmartComponentApiClient<T> implements UseUiAction2
|
|
|
54
53
|
addForm(smartFormId: string, smartForm: SmartForm, componentReference?: SmartformComponent): SmartForm;
|
|
55
54
|
setUpDefaultTree(treeId: string): void;
|
|
56
55
|
createTreeService(treeId: string): SmarttreeGenericService;
|
|
57
|
-
addFileUploader(uiActionCode: string, fileFormats?: string[], maxSizeMb?: number, isMultiple?: boolean):
|
|
56
|
+
addFileUploader(uiActionCode: string, fileFormats?: string[], maxSizeMb?: number, isMultiple?: boolean): SmartComponentFileUploader;
|
|
58
57
|
private handleValueChanges;
|
|
59
58
|
private handleChanges;
|
|
60
59
|
private handleChangeWidgets;
|
|
@@ -75,7 +74,7 @@ export declare class WidgetMap<T> {
|
|
|
75
74
|
clearWidgets(): void;
|
|
76
75
|
get(key: string): T | undefined;
|
|
77
76
|
}
|
|
78
|
-
export interface
|
|
77
|
+
export interface SmartComponentFileUploader {
|
|
79
78
|
uiActionCode: string;
|
|
80
79
|
maxSizeMb?: number;
|
|
81
80
|
fileFormats?: string[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import { SmartFileUploaderI18n } from '@smartbit4all/form';
|
|
3
2
|
import { UiActionDescriptorService, UiActionService } from '../../view-context/projects';
|
|
4
|
-
import {
|
|
3
|
+
import { SmartComponentFileUploader } from '../smart-component-api-client';
|
|
4
|
+
import { SmartFileUploaderI18n } from '../../smart-form/smartfileuploader/smartfileuploader.model';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class SmartFileUploaderComponent implements OnChanges {
|
|
7
7
|
private uiActionService;
|
|
8
8
|
private uiActionDescriptorService;
|
|
9
|
-
config?:
|
|
9
|
+
config?: SmartComponentFileUploader;
|
|
10
10
|
i18n?: SmartFileUploaderI18n;
|
|
11
11
|
private uiActionModel?;
|
|
12
12
|
constructor(uiActionService: UiActionService, uiActionDescriptorService: UiActionDescriptorService);
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { Configuration } from '../configuration';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class DefaultService {
|
|
6
|
+
protected httpClient: HttpClient;
|
|
7
|
+
protected basePath: string;
|
|
8
|
+
defaultHeaders: HttpHeaders;
|
|
9
|
+
configuration: Configuration;
|
|
10
|
+
encoder: HttpParameterCodec;
|
|
11
|
+
constructor(httpClient: HttpClient, basePath: string | string[], configuration: Configuration);
|
|
12
|
+
private addToHttpParams;
|
|
13
|
+
private addToHttpParamsRecursive;
|
|
14
|
+
/**
|
|
15
|
+
* Placeholder for generation
|
|
16
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
17
|
+
* @param reportProgress flag to report request and response progress.
|
|
18
|
+
*/
|
|
19
|
+
nopePost(observe?: 'body', reportProgress?: boolean, options?: {
|
|
20
|
+
httpHeaderAccept?: undefined;
|
|
21
|
+
context?: HttpContext;
|
|
22
|
+
}): Observable<any>;
|
|
23
|
+
nopePost(observe?: 'response', reportProgress?: boolean, options?: {
|
|
24
|
+
httpHeaderAccept?: undefined;
|
|
25
|
+
context?: HttpContext;
|
|
26
|
+
}): Observable<HttpResponse<any>>;
|
|
27
|
+
nopePost(observe?: 'events', reportProgress?: boolean, options?: {
|
|
28
|
+
httpHeaderAccept?: undefined;
|
|
29
|
+
context?: HttpContext;
|
|
30
|
+
}): Observable<HttpEvent<any>>;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultService, [null, { optional: true; }, { optional: true; }]>;
|
|
32
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DefaultService>;
|
|
33
|
+
}
|
|
@@ -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,104 @@
|
|
|
1
|
+
import { HttpParameterCodec } from '@angular/common/http';
|
|
2
|
+
import { Param } from './param';
|
|
3
|
+
export interface ConfigurationParameters {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
6
|
+
*/
|
|
7
|
+
apiKeys?: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
username?: string;
|
|
11
|
+
password?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
14
|
+
*/
|
|
15
|
+
accessToken?: string | (() => string);
|
|
16
|
+
basePath?: string;
|
|
17
|
+
withCredentials?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Takes care of encoding query- and form-parameters.
|
|
20
|
+
*/
|
|
21
|
+
encoder?: HttpParameterCodec;
|
|
22
|
+
/**
|
|
23
|
+
* Override the default method for encoding path parameters in various
|
|
24
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
25
|
+
* <p>
|
|
26
|
+
* See {@link README.md} for more details
|
|
27
|
+
* </p>
|
|
28
|
+
*/
|
|
29
|
+
encodeParam?: (param: Param) => string;
|
|
30
|
+
/**
|
|
31
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
32
|
+
* document. They should map to the value used for authentication
|
|
33
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
34
|
+
*/
|
|
35
|
+
credentials?: {
|
|
36
|
+
[key: string]: string | (() => string | undefined);
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
export declare class Configuration {
|
|
40
|
+
/**
|
|
41
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
42
|
+
*/
|
|
43
|
+
apiKeys?: {
|
|
44
|
+
[key: string]: string;
|
|
45
|
+
};
|
|
46
|
+
username?: string;
|
|
47
|
+
password?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @deprecated Since 5.0. Use credentials instead
|
|
50
|
+
*/
|
|
51
|
+
accessToken?: string | (() => string);
|
|
52
|
+
basePath?: string;
|
|
53
|
+
withCredentials?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Takes care of encoding query- and form-parameters.
|
|
56
|
+
*/
|
|
57
|
+
encoder?: HttpParameterCodec;
|
|
58
|
+
/**
|
|
59
|
+
* Encoding of various path parameter
|
|
60
|
+
* <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#style-values">styles</a>.
|
|
61
|
+
* <p>
|
|
62
|
+
* See {@link README.md} for more details
|
|
63
|
+
* </p>
|
|
64
|
+
*/
|
|
65
|
+
encodeParam: (param: Param) => string;
|
|
66
|
+
/**
|
|
67
|
+
* The keys are the names in the securitySchemes section of the OpenAPI
|
|
68
|
+
* document. They should map to the value used for authentication
|
|
69
|
+
* minus any standard prefixes such as 'Basic' or 'Bearer'.
|
|
70
|
+
*/
|
|
71
|
+
credentials: {
|
|
72
|
+
[key: string]: string | (() => string | undefined);
|
|
73
|
+
};
|
|
74
|
+
constructor(configurationParameters?: ConfigurationParameters);
|
|
75
|
+
/**
|
|
76
|
+
* Select the correct content-type to use for a request.
|
|
77
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct content-type.
|
|
78
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
79
|
+
* @param contentTypes - the array of content types that are available for selection
|
|
80
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
81
|
+
*/
|
|
82
|
+
selectHeaderContentType(contentTypes: string[]): string | undefined;
|
|
83
|
+
/**
|
|
84
|
+
* Select the correct accept content-type to use for a request.
|
|
85
|
+
* Uses {@link Configuration#isJsonMime} to determine the correct accept content-type.
|
|
86
|
+
* If no content type is found return the first found type if the contentTypes is not empty
|
|
87
|
+
* @param accepts - the array of content types that are available for selection.
|
|
88
|
+
* @returns the selected content-type or <code>undefined</code> if no selection could be made.
|
|
89
|
+
*/
|
|
90
|
+
selectHeaderAccept(accepts: string[]): string | undefined;
|
|
91
|
+
/**
|
|
92
|
+
* Check if the given MIME is a JSON MIME.
|
|
93
|
+
* JSON MIME examples:
|
|
94
|
+
* application/json
|
|
95
|
+
* application/json; charset=UTF8
|
|
96
|
+
* APPLICATION/JSON
|
|
97
|
+
* application/vnd.company+json
|
|
98
|
+
* @param mime - MIME (Multipurpose Internet Mail Extensions)
|
|
99
|
+
* @return True if the given MIME is JSON, false otherwise.
|
|
100
|
+
*/
|
|
101
|
+
isJsonMime(mime: string): boolean;
|
|
102
|
+
lookupCredential(key: string): string | undefined;
|
|
103
|
+
private defaultEncodeParam;
|
|
104
|
+
}
|
|
@@ -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,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 ComponentType = 'container' | 'form' | 'widget';
|
|
13
|
+
export declare const ComponentType: {
|
|
14
|
+
Container: ComponentType;
|
|
15
|
+
Form: ComponentType;
|
|
16
|
+
Widget: ComponentType;
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 ComponentWidgetType = 'grid' | 'filter' | 'tree';
|
|
13
|
+
export declare const ComponentWidgetType: {
|
|
14
|
+
Grid: ComponentWidgetType;
|
|
15
|
+
Filter: ComponentWidgetType;
|
|
16
|
+
Tree: ComponentWidgetType;
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 LayoutDirection = 'horizontal' | 'vertical';
|
|
13
|
+
export declare const LayoutDirection: {
|
|
14
|
+
Horizontal: LayoutDirection;
|
|
15
|
+
Vertical: LayoutDirection;
|
|
16
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 { SmartWidgetDefinition } from '../../../smart-form/projects';
|
|
13
|
+
import { ComponentType } from './componentType';
|
|
14
|
+
import { LayoutDirection } from './layoutDirection';
|
|
15
|
+
import { SmartComponentWidgetDefinition } from './smartComponentWidgetDefinition';
|
|
16
|
+
export interface SmartComponentLayoutDefinition {
|
|
17
|
+
type: ComponentType;
|
|
18
|
+
expandable?: boolean;
|
|
19
|
+
expandableSectionLabel?: string;
|
|
20
|
+
direction?: LayoutDirection;
|
|
21
|
+
/**
|
|
22
|
+
* This is a placeholder for SmartComponentApiClient. You might want to describe this further.
|
|
23
|
+
*/
|
|
24
|
+
parentComponent?: object;
|
|
25
|
+
components?: Array<SmartComponentLayoutDefinition>;
|
|
26
|
+
widget?: SmartComponentWidgetDefinition;
|
|
27
|
+
form?: Array<SmartWidgetDefinition>;
|
|
28
|
+
}
|
|
29
|
+
export declare namespace SmartComponentLayoutDefinition { }
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Form layout definition
|
|
3
|
+
* Contains form layout definition objects.
|
|
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 { FilterExpressionFieldList, SmartFilterType } from '../../../smart-filter/projects';
|
|
13
|
+
import { ComponentWidgetType } from './componentWidgetType';
|
|
14
|
+
export interface SmartComponentWidgetDefinition {
|
|
15
|
+
type: ComponentWidgetType;
|
|
16
|
+
gridIdentifier?: string;
|
|
17
|
+
treeIdentifier?: string;
|
|
18
|
+
filterExpressionFieldList?: FilterExpressionFieldList;
|
|
19
|
+
filterType?: SmartFilterType;
|
|
20
|
+
}
|
|
21
|
+
export declare namespace SmartComponentWidgetDefinition { }
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Standard parameter styles defined by OpenAPI spec
|
|
3
|
+
*/
|
|
4
|
+
export declare type StandardParamStyle = 'matrix' | 'label' | 'form' | 'simple' | 'spaceDelimited' | 'pipeDelimited' | 'deepObject';
|
|
5
|
+
/**
|
|
6
|
+
* The OpenAPI standard {@link StandardParamStyle}s may be extended by custom styles by the user.
|
|
7
|
+
*/
|
|
8
|
+
export declare type ParamStyle = StandardParamStyle | string;
|
|
9
|
+
/**
|
|
10
|
+
* Standard parameter locations defined by OpenAPI spec
|
|
11
|
+
*/
|
|
12
|
+
export declare type ParamLocation = 'query' | 'header' | 'path' | 'cookie';
|
|
13
|
+
/**
|
|
14
|
+
* Standard types as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
15
|
+
*/
|
|
16
|
+
export declare type StandardDataType = "integer" | "number" | "boolean" | "string" | "object" | "array";
|
|
17
|
+
/**
|
|
18
|
+
* Standard {@link DataType}s plus your own types/classes.
|
|
19
|
+
*/
|
|
20
|
+
export declare type DataType = StandardDataType | string;
|
|
21
|
+
/**
|
|
22
|
+
* Standard formats as defined in <a href="https://swagger.io/specification/#data-types">OpenAPI Specification: Data Types</a>
|
|
23
|
+
*/
|
|
24
|
+
export declare type StandardDataFormat = "int32" | "int64" | "float" | "double" | "byte" | "binary" | "date" | "date-time" | "password";
|
|
25
|
+
export declare type DataFormat = StandardDataFormat | string;
|
|
26
|
+
/**
|
|
27
|
+
* The parameter to encode.
|
|
28
|
+
*/
|
|
29
|
+
export interface Param {
|
|
30
|
+
name: string;
|
|
31
|
+
value: unknown;
|
|
32
|
+
in: ParamLocation;
|
|
33
|
+
style: ParamStyle;
|
|
34
|
+
explode: boolean;
|
|
35
|
+
dataType: DataType;
|
|
36
|
+
dataFormat: DataFormat | undefined;
|
|
37
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { OnChanges, OnInit, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { ComponentType, SmartComponentLayoutDefinition } from './api';
|
|
3
|
+
import { SmartForm, SmartformComponent, SmartformLayoutDefinitionService } from '../smart-form/projects';
|
|
4
|
+
import { SmartGrid, SmartGridComponent } from '../smart-grid/projects';
|
|
5
|
+
import { SmartFilter, SmartFilterComponent } from '../smart-filter/projects';
|
|
6
|
+
import { SmarttreeGenericService } from '../smart-tree/projects';
|
|
7
|
+
import { ExpandableSection } from '../smart-expandable-section/projects';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class SmartComponentLayoutComponent implements OnInit, OnChanges {
|
|
10
|
+
private layoutService;
|
|
11
|
+
smartComponentLayout?: SmartComponentLayoutDefinition;
|
|
12
|
+
uuid?: string;
|
|
13
|
+
formChild?: SmartformComponent;
|
|
14
|
+
smartForm?: SmartForm;
|
|
15
|
+
gridChild?: SmartGridComponent;
|
|
16
|
+
smartGrid?: SmartGrid;
|
|
17
|
+
filterChild?: SmartFilterComponent;
|
|
18
|
+
smartFilter?: SmartFilter;
|
|
19
|
+
parent?: any;
|
|
20
|
+
treeService?: SmarttreeGenericService;
|
|
21
|
+
expandableSection?: ExpandableSection<SmartComponentLayoutDefinition>;
|
|
22
|
+
constructor(layoutService: SmartformLayoutDefinitionService);
|
|
23
|
+
ngOnInit(): void;
|
|
24
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
25
|
+
private setUp;
|
|
26
|
+
type(): typeof ComponentType;
|
|
27
|
+
constructExpandableSection(): void;
|
|
28
|
+
constructForm(): void;
|
|
29
|
+
makeid(length: number): string;
|
|
30
|
+
constructGrid(): void;
|
|
31
|
+
constructFilter(): void;
|
|
32
|
+
constructTree(): void;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutComponent, never>;
|
|
34
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartComponentLayoutComponent, "smart-component-layout", never, { "smartComponentLayout": "smartComponentLayout"; }, {}, never, never>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./smart-component-layout.component";
|
|
3
|
+
import * as i2 from "@angular/platform-browser";
|
|
4
|
+
import * as i3 from "@angular/material/core";
|
|
5
|
+
import * as i4 from "../smart-form/smartform.module";
|
|
6
|
+
import * as i5 from "../smart-grid/smart-grid.module";
|
|
7
|
+
import * as i6 from "../smart-expandable-section/smart-expandable-section.module";
|
|
8
|
+
import * as i7 from "../smart-tree/smarttree.module";
|
|
9
|
+
export declare class SmartComponentLayoutModule {
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartComponentLayoutModule, never>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartComponentLayoutModule, [typeof i1.SmartComponentLayoutComponent], [typeof i2.BrowserModule, typeof i3.MatCommonModule, typeof i4.SmartformModule, typeof i5.SmartGridModule, typeof i6.SmartExpandableSectionModule, typeof i7.SmarttreeModule], [typeof i1.SmartComponentLayoutComponent]>;
|
|
12
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartComponentLayoutModule>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AfterViewInit, ComponentFactoryResolver, ComponentRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { SmartDialogData } from './smartdialog.model';
|
|
4
|
+
import { SmartformComponent } from '../smart-form/smartform.component';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SmartDialog implements AfterViewInit {
|
|
7
|
+
dialogRef: MatDialogRef<SmartDialog>;
|
|
8
|
+
data: SmartDialogData;
|
|
9
|
+
private resolver;
|
|
10
|
+
smartFormComponent: SmartformComponent;
|
|
11
|
+
vcRef?: ViewContainerRef;
|
|
12
|
+
componentRef?: ComponentRef<any>;
|
|
13
|
+
constructor(dialogRef: MatDialogRef<SmartDialog>, data: SmartDialogData, resolver: ComponentFactoryResolver);
|
|
14
|
+
ngAfterViewInit(): void;
|
|
15
|
+
onActionClick(): void;
|
|
16
|
+
onNoClick(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartDialog, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SmartDialog, "smartdialog", never, {}, {}, never, never>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import { SmartForm } from '../smart-form/projects';
|
|
2
|
+
import { SmartTable } from '../smart-table/projects';
|
|
3
|
+
/**
|
|
4
|
+
* This interface defines the size of a dialog.
|
|
5
|
+
*
|
|
6
|
+
* @author Roland Fényes
|
|
7
|
+
*/
|
|
8
|
+
export interface SmartDialogSize {
|
|
9
|
+
width?: number;
|
|
10
|
+
height?: number;
|
|
11
|
+
fullScreen?: boolean;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* This enum helps to define the action of a dialog.
|
|
15
|
+
*
|
|
16
|
+
* @author Roland Fényes
|
|
17
|
+
*/
|
|
18
|
+
export declare enum SmartActionType {
|
|
19
|
+
ADD = 0,
|
|
20
|
+
CREATE = 1,
|
|
21
|
+
UPDATE = 2,
|
|
22
|
+
REMOVE = 3,
|
|
23
|
+
DELETE = 4,
|
|
24
|
+
SAVE = 5,
|
|
25
|
+
OK = 6
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* This interface describes the content of a dialog.
|
|
29
|
+
*
|
|
30
|
+
* @author Roland Fényes
|
|
31
|
+
*/
|
|
32
|
+
export interface SmartContent {
|
|
33
|
+
title: string;
|
|
34
|
+
description?: string;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* With this interface any kind of dialogs can be easily created.
|
|
38
|
+
*
|
|
39
|
+
* You must close the dialog manually!
|
|
40
|
+
*
|
|
41
|
+
* @param size Required. You can define the desired size of the dialog
|
|
42
|
+
* @param actionType Required. The main action type of the dialog
|
|
43
|
+
* @param content Required. Defines the title and the description of the dialog
|
|
44
|
+
* @param form Not required. You can present a custom and dynamic form.
|
|
45
|
+
* @param table Not required. You can present a custom table.
|
|
46
|
+
* @param okCallback Not required. A custom callback function.
|
|
47
|
+
* @param closeCallback Not required. A custom callback function.
|
|
48
|
+
* @param actionCallback Required. A custom action callback function.
|
|
49
|
+
* @param actionLabel Required. The name of the action button.
|
|
50
|
+
*
|
|
51
|
+
* @author Roland Fényes
|
|
52
|
+
*/
|
|
53
|
+
export interface SmartDialogData {
|
|
54
|
+
size: SmartDialogSize;
|
|
55
|
+
content: SmartContent;
|
|
56
|
+
customComponent?: any;
|
|
57
|
+
customComponentInputs?: any;
|
|
58
|
+
actionType?: SmartActionType;
|
|
59
|
+
form?: SmartForm;
|
|
60
|
+
table?: SmartTable<any>;
|
|
61
|
+
okCallback?: () => void;
|
|
62
|
+
cancelCallback?: (args: any[]) => void;
|
|
63
|
+
closeCallback?: (args: any[]) => void;
|
|
64
|
+
actionCallback?: (args: any[]) => void;
|
|
65
|
+
actionLabel?: string;
|
|
66
|
+
outlets?: any;
|
|
67
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./smartdialog.component";
|
|
3
|
+
import * as i2 from "@angular/platform-browser";
|
|
4
|
+
import * as i3 from "@angular/material/dialog";
|
|
5
|
+
import * as i4 from "@angular/material/core";
|
|
6
|
+
import * as i5 from "@angular/material/icon";
|
|
7
|
+
import * as i6 from "../smart-form/smartform.module";
|
|
8
|
+
import * as i7 from "../smart-table/smarttable.module";
|
|
9
|
+
import * as i8 from "../smart-icon/smart-icon.module";
|
|
10
|
+
export declare class SmartdialogModule {
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartdialogModule, never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartdialogModule, [typeof i1.SmartDialog], [typeof i2.BrowserModule, typeof i3.MatDialogModule, typeof i4.MatCommonModule, typeof i5.MatIconModule, typeof i6.SmartformModule, typeof i7.SmarttableModule, typeof i8.SmartIconModule], [typeof i1.SmartDialog]>;
|
|
13
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SmartdialogModule>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { ComponentType } from '@angular/cdk/portal';
|
|
2
|
+
import { MatDialog, MatDialogRef } from '@angular/material/dialog';
|
|
3
|
+
import { Router } from '@angular/router';
|
|
4
|
+
import { SmartDialogData } from './smartdialog.model';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SmartdialogService {
|
|
7
|
+
protected dialog: MatDialog;
|
|
8
|
+
protected router: Router;
|
|
9
|
+
dialogRef?: MatDialogRef<any, any>;
|
|
10
|
+
dialogData?: SmartDialogData;
|
|
11
|
+
constructor(dialog: MatDialog, router: Router);
|
|
12
|
+
createDialog(smartDialog: SmartDialogData, component: ComponentType<any>): void;
|
|
13
|
+
createDialogRef(smartDialog: SmartDialogData, component: ComponentType<any>): MatDialogRef<any, any>;
|
|
14
|
+
openComponentAsDialog(component: ComponentType<any>, viewName: string): MatDialogRef<any, any>;
|
|
15
|
+
handleAfterClosed(result: any): void;
|
|
16
|
+
openDialog(): void;
|
|
17
|
+
closeDialog(): Promise<void>;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartdialogService, never>;
|
|
19
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SmartdialogService>;
|
|
20
|
+
}
|