@smartbit4all/ng-client 6.0.9 → 6.0.11
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/README.md +386 -386
- package/esm2022/lib/component-factory-service/component-factory-service.module.mjs +1 -1
- package/esm2022/lib/component-factory-service/component-factory-service.service.mjs +1 -1
- package/esm2022/lib/component-factory-service/projects.mjs +1 -1
- package/esm2022/lib/session/api/api/api.mjs +1 -1
- package/esm2022/lib/session/api/api/session.service.mjs +1 -1
- package/esm2022/lib/session/api/configuration.mjs +1 -1
- package/esm2022/lib/session/api/encoder.mjs +1 -1
- package/esm2022/lib/session/api/index.mjs +1 -1
- package/esm2022/lib/session/api/model/accountInfo.mjs +1 -1
- package/esm2022/lib/session/api/model/apiError.mjs +1 -1
- package/esm2022/lib/session/api/model/authenticationProviderData.mjs +1 -1
- package/esm2022/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
- package/esm2022/lib/session/api/model/models.mjs +1 -1
- package/esm2022/lib/session/api/model/refreshSessionRequest.mjs +1 -1
- package/esm2022/lib/session/api/model/session.mjs +1 -1
- package/esm2022/lib/session/api/model/sessionInfoData.mjs +1 -1
- package/esm2022/lib/session/api/model/userActivityLog.mjs +1 -1
- package/esm2022/lib/session/api/param.mjs +1 -1
- package/esm2022/lib/session/api/variables.mjs +1 -1
- package/esm2022/lib/session/cookie-service/smart-cookie.service.mjs +1 -1
- package/esm2022/lib/session/projects.mjs +1 -1
- package/esm2022/lib/session/smart-backend-bootstrap.config.mjs +1 -1
- package/esm2022/lib/session/smart-backend-bootstrap.service.mjs +7 -4
- package/esm2022/lib/session/smart-default-error-ui.service.mjs +1 -1
- package/esm2022/lib/session/smart-error-catching.interceptor.mjs +1 -1
- package/esm2022/lib/session/smart-header-maintainer.interceptor.mjs +1 -1
- package/esm2022/lib/session/smart-session-handler.service.mjs +1 -1
- package/esm2022/lib/session/smart-session.module.mjs +1 -1
- package/esm2022/lib/session/smart-session.service.mjs +1 -1
- package/esm2022/lib/session/smart-timer/smart-session-timer.component.mjs +3 -3
- package/esm2022/lib/session/smart-timer/smart-session-timer.service.mjs +1 -1
- package/esm2022/lib/shared/projects.mjs +1 -1
- package/esm2022/lib/shared/shared.module.mjs +1 -1
- package/esm2022/lib/shared/smart-tooltip.directive.mjs +1 -1
- package/esm2022/lib/shared/smarttable.date-pipe.mjs +1 -1
- package/esm2022/lib/smart-client/projects.mjs +1 -1
- package/esm2022/lib/smart-client/smart-component-api-client.mjs +1 -1
- package/esm2022/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +3 -3
- package/esm2022/lib/smart-client/smart.component.mjs +1 -1
- package/esm2022/lib/smart-client/smart.service.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/componentWidgetType.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/toolbarDirection.mjs +1 -1
- package/esm2022/lib/smart-component-layout/api/model/toolbarProperties.mjs +1 -1
- package/esm2022/lib/smart-component-layout/projects.mjs +1 -1
- package/esm2022/lib/smart-component-layout/smart-component-layout-utility.mjs +1 -1
- package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +3 -3
- package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +1 -1
- package/esm2022/lib/smart-diagram/component/default-smart-diagram-options.provider.mjs +1 -1
- package/esm2022/lib/smart-diagram/component/smart-diagram.component.mjs +22 -22
- package/esm2022/lib/smart-diagram/component/smart-diagram.module.mjs +1 -1
- package/esm2022/lib/smart-diagram/component/smart-diagram.util.mjs +1 -1
- package/esm2022/lib/smart-diagram/projects.mjs +1 -1
- package/esm2022/lib/smart-dialog/projects.mjs +1 -1
- package/esm2022/lib/smart-dialog/smartdialog.component.mjs +3 -3
- package/esm2022/lib/smart-dialog/smartdialog.model.mjs +1 -1
- package/esm2022/lib/smart-dialog/smartdialog.module.mjs +1 -1
- package/esm2022/lib/smart-dialog/smartdialog.service.mjs +1 -1
- package/esm2022/lib/smart-expandable-section/expandable-section.component.mjs +3 -3
- package/esm2022/lib/smart-expandable-section/expandable-section.model.mjs +1 -1
- package/esm2022/lib/smart-expandable-section/projects.mjs +1 -1
- package/esm2022/lib/smart-expandable-section/smart-expandable-section.module.mjs +1 -1
- package/esm2022/lib/smart-expandable-section/smart-expandable-section.service.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionList.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/model.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.mjs +1 -1
- package/esm2022/lib/smart-filter/api/value/model/value.mjs +1 -1
- package/esm2022/lib/smart-filter/projects.mjs +1 -1
- package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.mjs +1 -1
- package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +3 -3
- package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +3 -3
- package/esm2022/lib/smart-filter/smart-filter/smart-filter.component.mjs +3 -3
- package/esm2022/lib/smart-filter/smart-filter/smart-filter.service.mjs +1 -1
- package/esm2022/lib/smart-filter/smart-filter.model.mjs +1 -1
- package/esm2022/lib/smart-filter/smart-filter.module.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/api/filter.service.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/configuration.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/encoder.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionList.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOrderBy.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/smartFilterType.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/param.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/variables.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/filterExpressionBuilderApiActions.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/project.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +3 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +3 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +3 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.model.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.module.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.service.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +3 -3
- package/esm2022/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +3 -3
- package/esm2022/lib/smart-form/api/model/divProperties.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/models.mjs +1 -1
- package/esm2022/lib/smart-form/highlightMacthingString-pipe.mjs +1 -1
- package/esm2022/lib/smart-form/projects.mjs +1 -1
- package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +1 -1
- package/esm2022/lib/smart-form/services/smartform.service.mjs +1 -1
- package/esm2022/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +3 -3
- package/esm2022/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +3 -3
- package/esm2022/lib/smart-form/smartfileuploader/smartfileuploader.model.mjs +1 -1
- package/esm2022/lib/smart-form/smartform.component.mjs +3 -3
- package/esm2022/lib/smart-form/smartform.form-model.mjs +1 -1
- package/esm2022/lib/smart-form/smartform.model.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/components/smart-file-editor/smart-file-editor.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/components/smart-multi-file-editor/smart-multi-file-editor.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/components/smart-voice-recorder/smart-voice-recorder.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/directives/comparable-dropdown.directive.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/directives/comparable-multiselect.directive.mjs +1 -1
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +3 -3
- package/esm2022/lib/smart-form/widgets/smartformwidget/trackCaps.directive.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/acl-editing-view/acl-editing-view.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/api/platform/acl/model/aCL.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/acl/model/aCLEntry.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/acl/model/objectValidationSeverity.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/acl/model/subject.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/api-default/objectHistoryRangeData.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/searchpage/model/searchPageModel.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/subjectselector/model/subjectSelectorPageModel.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/validation/model/validationItem.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/api/platform/validation/model/validationResultPageModel.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/generic-page/generic-page.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/invalid-smartlink/invalid-smartlink.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/no-permission-page/no-permission-page.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/projects.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/search-page/search-page.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/smart-generic-pages.module.mjs +1 -1
- package/esm2022/lib/smart-generic-pages/subject-selector/subject-selector.component.mjs +3 -3
- package/esm2022/lib/smart-generic-pages/validation-result-page/validation-result-page.component.mjs +3 -3
- package/esm2022/lib/smart-grid/api/grid-api/api/api.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/encoder.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/index.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridExportDescriptor.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/model/models.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/esm2022/lib/smart-grid/api/grid-api/variables.mjs +1 -1
- package/esm2022/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +3 -3
- package/esm2022/lib/smart-grid/components/generic-component/expanded-row-renderer.component.mjs +3 -3
- package/esm2022/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +3 -3
- package/esm2022/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +3 -3
- package/esm2022/lib/smart-grid/models/model.mjs +1 -1
- package/esm2022/lib/smart-grid/projects.mjs +1 -1
- package/esm2022/lib/smart-grid/smart-grid-toolbar-util.mjs +13 -9
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +36 -3
- package/esm2022/lib/smart-grid/smart-grid.module.mjs +1 -1
- package/esm2022/lib/smart-grid/smart-grid.service.mjs +1 -1
- package/esm2022/lib/smart-icon/projects.mjs +1 -1
- package/esm2022/lib/smart-icon/smart-icon/smart-icon.component.mjs +3 -3
- package/esm2022/lib/smart-icon/smart-icon/ui-badge/ui-badge.component.mjs +3 -3
- package/esm2022/lib/smart-icon/smart-icon/ui-badge/ui-badge.directive.mjs +1 -1
- package/esm2022/lib/smart-icon/smart-icon.module.mjs +1 -1
- package/esm2022/lib/smart-icon/smart-icon.service.mjs +1 -1
- package/esm2022/lib/smart-map/abstract-map.mjs +1 -1
- package/esm2022/lib/smart-map/api-default/api-default.mjs +1 -1
- package/esm2022/lib/smart-map/impl/google-map.mjs +1 -1
- package/esm2022/lib/smart-map/impl/leaflet-map.mjs +1 -1
- package/esm2022/lib/smart-map/projects.mjs +1 -1
- package/esm2022/lib/smart-map/smart-map.component.mjs +3 -3
- package/esm2022/lib/smart-map/smart-map.module.mjs +1 -1
- package/esm2022/lib/smart-map/smart-map.types.mjs +1 -1
- package/esm2022/lib/smart-navbar/projects.mjs +1 -1
- package/esm2022/lib/smart-navbar/smart-navbar.component.mjs +3 -3
- package/esm2022/lib/smart-navbar/smart-navbar.model.mjs +1 -1
- package/esm2022/lib/smart-navbar/smart-navbar.module.mjs +1 -1
- package/esm2022/lib/smart-navbar/smart-navbar.service.mjs +1 -1
- package/esm2022/lib/smart-navigation/projects.mjs +1 -1
- package/esm2022/lib/smart-navigation/smart-navigation.interface.mjs +1 -1
- package/esm2022/lib/smart-navigation/smart-navigation.module.mjs +1 -1
- package/esm2022/lib/smart-navigation/smart-navigation.service.mjs +1 -1
- package/esm2022/lib/smart-ng-client.module.mjs +1 -1
- package/esm2022/lib/smart-ng-client.service.mjs +1 -1
- package/esm2022/lib/smart-subject/projects.mjs +1 -1
- package/esm2022/lib/smart-subject/smart-subject.mjs +1 -1
- package/esm2022/lib/smart-tab-group/projects.mjs +1 -1
- package/esm2022/lib/smart-tab-group/smart-tab-group.module.mjs +1 -1
- package/esm2022/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +3 -3
- package/esm2022/lib/smart-table/components/loading/loading.component.mjs +3 -3
- package/esm2022/lib/smart-table/directives/mat-context-menu-trigger-for.directive.mjs +1 -1
- package/esm2022/lib/smart-table/projects.mjs +1 -1
- package/esm2022/lib/smart-table/smarttable.component.mjs +3 -3
- package/esm2022/lib/smart-table/smarttable.model.mjs +1 -1
- package/esm2022/lib/smart-table/smarttable.module.mjs +1 -1
- package/esm2022/lib/smart-table/smarttable.service.mjs +1 -1
- package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +7 -11
- package/esm2022/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +5 -5
- package/esm2022/lib/smart-table/tables/table.mjs +53 -59
- package/esm2022/lib/smart-tree/projects.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree-generic.service.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.component.mjs +3 -3
- package/esm2022/lib/smart-tree/smarttree.model.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.module.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.node.model.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.service.interface.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.service.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/api/tree.service.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/configuration.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/encoder.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/param.mjs +1 -1
- package/esm2022/lib/smart-tree/tree-api/variables.mjs +1 -1
- package/esm2022/lib/smart-validation/named-validator.service.mjs +1 -1
- package/esm2022/lib/smart-validation/projects.mjs +1 -1
- package/esm2022/lib/smart-validation/smart-validation.module.mjs +1 -1
- package/esm2022/lib/smart-validation/smart-validation.types.mjs +1 -1
- package/esm2022/lib/theme/theme.service.mjs +48 -0
- package/esm2022/lib/view-context/api/api/view.service.mjs +211 -1
- package/esm2022/lib/view-context/api/api-default/binaryContentData.mjs +2 -0
- package/esm2022/lib/view-context/api/api-default/binaryData.mjs +1 -1
- package/esm2022/lib/view-context/api/api-default/invocationError.mjs +1 -1
- package/esm2022/lib/view-context/api/api-default/invocationRequest.mjs +1 -1
- package/esm2022/lib/view-context/api/api-default/invocationRun.mjs +1 -1
- package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
- package/esm2022/lib/view-context/api/model/menuDescriptor.mjs +2 -0
- package/esm2022/lib/view-context/api/model/menuOpenDirection.mjs +23 -0
- package/esm2022/lib/view-context/api/model/menuTriggerType.mjs +17 -0
- package/esm2022/lib/view-context/api/model/models.mjs +9 -1
- package/esm2022/lib/view-context/api/model/publishedViewData.mjs +13 -0
- package/esm2022/lib/view-context/api/model/shellProperty.mjs +13 -0
- package/esm2022/lib/view-context/api/model/themeDefinition.mjs +2 -0
- package/esm2022/lib/view-context/api/model/themeDescriptor.mjs +2 -0
- package/esm2022/lib/view-context/api/model/themeShellDescriptor.mjs +2 -0
- package/esm2022/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/esm2022/lib/view-context/default-view-components.token.mjs +1 -1
- package/esm2022/lib/view-context/invalid-fields-snack-bar/invalid-fields-snack-bar.component.mjs +3 -3
- package/esm2022/lib/view-context/message-dialog/message-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/projects.mjs +3 -2
- package/esm2022/lib/view-context/property-definition-data.mjs +1 -1
- package/esm2022/lib/view-context/reuse-router-slot.token.mjs +1 -1
- package/esm2022/lib/view-context/smart-embedded-slot.directive.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/menu/click/menu.component.mjs +209 -0
- package/esm2022/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.mjs +209 -0
- package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.constants.mjs +58 -68
- package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.mjs +35 -0
- package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/prime-file-uploader/prime-file-uploader.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/upload-widget.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/upload-widget.utils.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +6 -4
- package/esm2022/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.mjs +20 -12
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +12 -7
- package/esm2022/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/ui-action.model.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/ui-action.service.mjs +13 -3
- package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +3 -3
- package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context.interceptor.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context.model.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context.module.mjs +13 -7
- package/esm2022/lib/view-context/smart-view-context.service.mjs +14 -5
- package/esm2022/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +1 -1
- package/esm2022/lib/view-context/utility/componentLibrary.mjs +1 -1
- package/esm2022/lib/view-context/utility/smart-object-utility.mjs +1 -1
- package/esm2022/lib/view-context/utility/smart-style-utility.mjs +1 -1
- package/esm2022/lib/view-context/value-api/api/api.mjs +1 -1
- package/esm2022/lib/view-context/value-api/api/value.service.mjs +1 -1
- package/esm2022/lib/view-context/value-api/api.module.mjs +1 -1
- package/esm2022/lib/view-context/value-api/configuration.mjs +1 -1
- package/esm2022/lib/view-context/value-api/encoder.mjs +1 -1
- package/esm2022/lib/view-context/value-api/index.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/genericValue.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/models.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/value.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinition.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetOperand.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetOperation.mjs +1 -1
- package/esm2022/lib/view-context/value-api/param.mjs +1 -1
- package/esm2022/lib/view-context/value-api/variables.mjs +1 -1
- package/esm2022/lib/view-context/view-handler-resolution.mjs +1 -1
- package/esm2022/lib/view-context/view-op.mjs +1 -1
- package/esm2022/lib/view-context/view-slot-resolution.mjs +1 -1
- package/esm2022/projects.mjs +2 -1
- package/fesm2022/smartbit4all-ng-client.mjs +916 -306
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/session/smart-backend-bootstrap.config.d.ts +9 -1
- package/lib/session/smart-backend-bootstrap.service.d.ts +3 -1
- package/lib/smart-grid/smart-grid.component.d.ts +3 -0
- package/lib/smart-table/tables/material-table/material-table.component.d.ts +0 -1
- package/lib/smart-table/tables/table.d.ts +6 -5
- package/lib/theme/theme.service.d.ts +17 -0
- package/lib/view-context/api/api/view.service.d.ts +94 -0
- package/lib/view-context/api/api-default/binaryContentData.d.ts +2 -0
- package/lib/view-context/api/model/deviceInfo.d.ts +1 -0
- package/lib/view-context/api/model/menuDescriptor.d.ts +17 -0
- package/lib/view-context/api/model/menuOpenDirection.d.ts +21 -0
- package/lib/view-context/api/model/menuTriggerType.d.ts +15 -0
- package/lib/view-context/api/model/models.d.ts +8 -0
- package/lib/view-context/api/model/publishedViewData.d.ts +14 -0
- package/lib/view-context/api/model/shellProperty.d.ts +15 -0
- package/lib/view-context/api/model/themeDefinition.d.ts +22 -0
- package/lib/view-context/api/model/themeDescriptor.d.ts +16 -0
- package/lib/view-context/api/model/themeShellDescriptor.d.ts +17 -0
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +2 -0
- package/lib/view-context/projects.d.ts +2 -1
- package/lib/view-context/smart-ui-action/components/menu/{menu.component.d.ts → click/menu.component.d.ts} +9 -7
- package/lib/view-context/smart-ui-action/components/menu/hover/hover-menu.component.d.ts +44 -0
- package/lib/view-context/smart-ui-action/components/menu/menu.constants.d.ts +4 -0
- package/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.d.ts +16 -0
- package/lib/view-context/smart-ui-action/ui-action-button/ui-action-button.component.d.ts +1 -0
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +2 -1
- package/lib/view-context/smart-ui-action/ui-action.service.d.ts +3 -1
- package/lib/view-context/smart-view-context.module.d.ts +56 -54
- package/lib/view-context/smart-view-context.service.d.ts +4 -2
- package/package.json +1 -1
- package/projects.d.ts +1 -0
- package/smartbit4all-ng-client-6.0.11.tgz +0 -0
- package/esm2022/lib/view-context/smart-ui-action/components/menu/menu.component.mjs +0 -199
- package/smartbit4all-ng-client-6.0.9.tgz +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { UiActionDescriptor } from '../view-context/api';
|
|
2
|
+
import { UiActionDescriptor, UiActionRequest } from '../view-context/api';
|
|
3
3
|
import { SmartViewHandlerModel } from '../view-context/smart-view-context.model';
|
|
4
4
|
import { SessionError } from './smart-session-handler.service';
|
|
5
5
|
/**
|
|
@@ -62,4 +62,12 @@ export interface SmartBackendBootstrapConfig {
|
|
|
62
62
|
* tear down the webview and return to the native login page.
|
|
63
63
|
*/
|
|
64
64
|
onViewContextLost?: (err: SessionError) => Promise<void> | void;
|
|
65
|
+
/**
|
|
66
|
+
* Hook called when an action is rejected by the server by returning a 4xx status code.
|
|
67
|
+
*
|
|
68
|
+
* @param req the UiActionRequest attempted to be executed
|
|
69
|
+
* @param err the error the server responded with
|
|
70
|
+
* @returns
|
|
71
|
+
*/
|
|
72
|
+
onActionError?: (req: UiActionRequest, err: any) => void;
|
|
65
73
|
}
|
|
@@ -3,6 +3,7 @@ import { SmartSessionService } from './smart-session.service';
|
|
|
3
3
|
import { SmartViewContextService } from '../view-context/smart-view-context.service';
|
|
4
4
|
import { SessionError, SmartSessionHandlerService } from './smart-session-handler.service';
|
|
5
5
|
import { SmartBackendBootstrapConfig, SmartBackendBootstrapCredentials } from './smart-backend-bootstrap.config';
|
|
6
|
+
import { UiActionService } from '../view-context/smart-ui-action/ui-action.service';
|
|
6
7
|
import * as i0 from "@angular/core";
|
|
7
8
|
/**
|
|
8
9
|
* Thrown by `whenReady()` when the viewcontext was rebuilt between the
|
|
@@ -18,13 +19,14 @@ export declare class ViewContextRebuiltError extends Error {
|
|
|
18
19
|
export declare class SmartBackendBootstrapService implements SmartSessionHandlerService {
|
|
19
20
|
private session;
|
|
20
21
|
private viewContext;
|
|
22
|
+
private uiActionService;
|
|
21
23
|
private config?;
|
|
22
24
|
private runningInit?;
|
|
23
25
|
private lastInitFailed;
|
|
24
26
|
private mode?;
|
|
25
27
|
private runningViewContextLost?;
|
|
26
28
|
private runningSessionError?;
|
|
27
|
-
constructor(session: SmartSessionService, viewContext: SmartViewContextService);
|
|
29
|
+
constructor(session: SmartSessionService, viewContext: SmartViewContextService, uiActionService: UiActionService);
|
|
28
30
|
configure(config: SmartBackendBootstrapConfig): void;
|
|
29
31
|
private handleSmartLink;
|
|
30
32
|
start(): Promise<void>;
|
|
@@ -147,6 +147,9 @@ export declare class SmartGridComponent implements AfterViewInit, OnDestroy, OnC
|
|
|
147
147
|
calculateMenuActions(row: GridRow): UiAction[];
|
|
148
148
|
createCellToActionMap(): void;
|
|
149
149
|
rowTrackByFn(index: number, row: any): any;
|
|
150
|
+
private rowMenuActionModelCache;
|
|
151
|
+
private rowMenuActionModelArrayCache;
|
|
152
|
+
getRowMenuActionModelArray(row: GridRow): any[];
|
|
150
153
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartGridComponent, never>;
|
|
151
154
|
static ɵcmp: i0.ɵɵComponentDeclaration<SmartGridComponent, "smart-grid", never, { "smartGrid": { "alias": "smartGrid"; "required": false; }; "uuid": { "alias": "uuid"; "required": false; }; "dev": { "alias": "dev"; "required": false; }; }, {}, never, never, false, never>;
|
|
152
155
|
}
|
|
@@ -2,7 +2,6 @@ import { Table } from '../table';
|
|
|
2
2
|
import { ComponentFactoryService } from '../../../component-factory-service/projects';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class MaterialTableComponent extends Table {
|
|
5
|
-
defaultActionToolbarId: string;
|
|
6
5
|
constructor(cfService: ComponentFactoryService);
|
|
7
6
|
static ɵfac: i0.ɵɵFactoryDeclaration<MaterialTableComponent, never>;
|
|
8
7
|
static ɵcmp: i0.ɵɵComponentDeclaration<MaterialTableComponent, "lib-material-table", never, {}, {}, never, never, false, never>;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { ComponentRef, OnDestroy, OnInit, QueryList, ViewContainerRef } from '@angular/core';
|
|
2
2
|
import { ThemePalette } from '@angular/material/core';
|
|
3
|
-
import { MatMenuTrigger } from '@angular/material/menu';
|
|
4
3
|
import { MatTable } from '@angular/material/table';
|
|
5
4
|
import { Subject } from 'rxjs';
|
|
6
5
|
import { ComponentFactoryService } from '../../component-factory-service/projects';
|
|
@@ -11,7 +10,6 @@ import * as i0 from "@angular/core";
|
|
|
11
10
|
export declare class Table implements OnInit, OnDestroy {
|
|
12
11
|
protected cfService: ComponentFactoryService;
|
|
13
12
|
_destroy$: Subject<void>;
|
|
14
|
-
triggers: QueryList<MatMenuTrigger>;
|
|
15
13
|
vcRef?: ViewContainerRef[];
|
|
16
14
|
componentRef?: ComponentRef<any>;
|
|
17
15
|
defaultActionMenuComponents: QueryList<DefaultActionsPopupComponent>;
|
|
@@ -70,7 +68,6 @@ export declare class Table implements OnInit, OnDestroy {
|
|
|
70
68
|
onRowDoubleClick(row: any): void;
|
|
71
69
|
onToggle(element: any, event?: any): Promise<void>;
|
|
72
70
|
setSelection(element: any): void;
|
|
73
|
-
showMenuButton(element: any, button: SmartTableButton): boolean;
|
|
74
71
|
getValue(element: any, header: string): any;
|
|
75
72
|
showButton(button: SmartTableButton, element: any): boolean;
|
|
76
73
|
isDisabled(element: any): boolean;
|
|
@@ -83,10 +80,14 @@ export declare class Table implements OnInit, OnDestroy {
|
|
|
83
80
|
getImageResourceStyle(resource: ImageResource): any;
|
|
84
81
|
openDefaultActionsMenu(event: any, row: any): void;
|
|
85
82
|
getDefaultActionsForRow(element: any): Map<SmartTableButton, UiAction> | undefined;
|
|
83
|
+
defaultActionToolbarId: string;
|
|
86
84
|
getRowColumnAction(row: any, header: string): any[];
|
|
87
85
|
showCellToolbar(row: any, columnName: string): boolean;
|
|
88
|
-
|
|
89
|
-
|
|
86
|
+
private rowMenuActionModelCache;
|
|
87
|
+
getRowMenuActionModel(element: any): any;
|
|
88
|
+
private rowMenuActionModelArrayCache;
|
|
89
|
+
getRowMenuActionModelArray(element: any): any[];
|
|
90
|
+
shouldShowMenuButton(row: any): boolean;
|
|
90
91
|
static ɵfac: i0.ɵɵFactoryDeclaration<Table, never>;
|
|
91
92
|
static ɵcmp: i0.ɵɵComponentDeclaration<Table, "ng-component", never, { "smartTable": { "alias": "smartTable"; "required": false; }; }, {}, never, never, false, never>;
|
|
92
93
|
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ViewService } from '../view-context/api/api/api';
|
|
3
|
+
import { ThemeDescriptor } from '../view-context/api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ThemeService {
|
|
6
|
+
private viewService;
|
|
7
|
+
private _currentTheme;
|
|
8
|
+
currentTheme: import("@angular/core").Signal<string>;
|
|
9
|
+
private themes;
|
|
10
|
+
constructor(viewService: ViewService);
|
|
11
|
+
setTheme(themeDescriptor: ThemeDescriptor): void;
|
|
12
|
+
getThemes(): Observable<ThemeDescriptor[]>;
|
|
13
|
+
getSelectedTheme(): Promise<ThemeDescriptor>;
|
|
14
|
+
getSystemTheme(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
17
|
+
}
|
|
@@ -3,6 +3,10 @@ import { Observable } from 'rxjs';
|
|
|
3
3
|
import { ComponentModel } from '../model/componentModel';
|
|
4
4
|
import { DataChange } from '../model/dataChange';
|
|
5
5
|
import { MessageResult } from '../model/messageResult';
|
|
6
|
+
import { PublishedViewData } from '../model/publishedViewData';
|
|
7
|
+
import { ThemeDefinition } from '../model/themeDefinition';
|
|
8
|
+
import { ThemeDescriptor } from '../model/themeDescriptor';
|
|
9
|
+
import { ThemeShellDescriptor } from '../model/themeShellDescriptor';
|
|
6
10
|
import { UiActionRequest } from '../model/uiActionRequest';
|
|
7
11
|
import { ViewConstraint } from '../model/viewConstraint';
|
|
8
12
|
import { ViewContextChange } from '../model/viewContextChange';
|
|
@@ -96,6 +100,24 @@ export declare class ViewService {
|
|
|
96
100
|
httpHeaderAccept?: 'application/octet-stream';
|
|
97
101
|
context?: HttpContext;
|
|
98
102
|
}): Observable<HttpEvent<Blob>>;
|
|
103
|
+
/**
|
|
104
|
+
* Get Android theme descriptor by name
|
|
105
|
+
* @param name
|
|
106
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
107
|
+
* @param reportProgress flag to report request and response progress.
|
|
108
|
+
*/
|
|
109
|
+
getAndroidTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
110
|
+
httpHeaderAccept?: 'application/json';
|
|
111
|
+
context?: HttpContext;
|
|
112
|
+
}): Observable<ThemeShellDescriptor>;
|
|
113
|
+
getAndroidTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
114
|
+
httpHeaderAccept?: 'application/json';
|
|
115
|
+
context?: HttpContext;
|
|
116
|
+
}): Observable<HttpResponse<ThemeShellDescriptor>>;
|
|
117
|
+
getAndroidTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
118
|
+
httpHeaderAccept?: 'application/json';
|
|
119
|
+
context?: HttpContext;
|
|
120
|
+
}): Observable<HttpEvent<ThemeShellDescriptor>>;
|
|
99
121
|
/**
|
|
100
122
|
* Returns component\'s model.
|
|
101
123
|
* @param uuid Component\'s unique identifier.
|
|
@@ -132,6 +154,78 @@ export declare class ViewService {
|
|
|
132
154
|
httpHeaderAccept?: 'application/json';
|
|
133
155
|
context?: HttpContext;
|
|
134
156
|
}): Observable<HttpEvent<ViewContextChange>>;
|
|
157
|
+
/**
|
|
158
|
+
* Get iOS theme descriptor by name
|
|
159
|
+
* @param name
|
|
160
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
161
|
+
* @param reportProgress flag to report request and response progress.
|
|
162
|
+
*/
|
|
163
|
+
getIosTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
164
|
+
httpHeaderAccept?: 'application/json';
|
|
165
|
+
context?: HttpContext;
|
|
166
|
+
}): Observable<ThemeShellDescriptor>;
|
|
167
|
+
getIosTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
168
|
+
httpHeaderAccept?: 'application/json';
|
|
169
|
+
context?: HttpContext;
|
|
170
|
+
}): Observable<HttpResponse<ThemeShellDescriptor>>;
|
|
171
|
+
getIosTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
172
|
+
httpHeaderAccept?: 'application/json';
|
|
173
|
+
context?: HttpContext;
|
|
174
|
+
}): Observable<HttpEvent<ThemeShellDescriptor>>;
|
|
175
|
+
/**
|
|
176
|
+
* Get Published View Data
|
|
177
|
+
* @param channel Smartlink\'s channel.
|
|
178
|
+
* @param uuid Smartlink\'s unique identifier. Not a UUID anymore.
|
|
179
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
180
|
+
* @param reportProgress flag to report request and response progress.
|
|
181
|
+
*/
|
|
182
|
+
getPublishedViewData(channel: string, uuid: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
183
|
+
httpHeaderAccept?: 'application/json';
|
|
184
|
+
context?: HttpContext;
|
|
185
|
+
}): Observable<PublishedViewData>;
|
|
186
|
+
getPublishedViewData(channel: string, uuid: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
187
|
+
httpHeaderAccept?: 'application/json';
|
|
188
|
+
context?: HttpContext;
|
|
189
|
+
}): Observable<HttpResponse<PublishedViewData>>;
|
|
190
|
+
getPublishedViewData(channel: string, uuid: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
191
|
+
httpHeaderAccept?: 'application/json';
|
|
192
|
+
context?: HttpContext;
|
|
193
|
+
}): Observable<HttpEvent<PublishedViewData>>;
|
|
194
|
+
/**
|
|
195
|
+
* Get theme descriptor by name
|
|
196
|
+
* @param name
|
|
197
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
198
|
+
* @param reportProgress flag to report request and response progress.
|
|
199
|
+
*/
|
|
200
|
+
getTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
201
|
+
httpHeaderAccept?: 'application/json';
|
|
202
|
+
context?: HttpContext;
|
|
203
|
+
}): Observable<ThemeDefinition>;
|
|
204
|
+
getTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
205
|
+
httpHeaderAccept?: 'application/json';
|
|
206
|
+
context?: HttpContext;
|
|
207
|
+
}): Observable<HttpResponse<ThemeDefinition>>;
|
|
208
|
+
getTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
209
|
+
httpHeaderAccept?: 'application/json';
|
|
210
|
+
context?: HttpContext;
|
|
211
|
+
}): Observable<HttpEvent<ThemeDefinition>>;
|
|
212
|
+
/**
|
|
213
|
+
* Get all available themes
|
|
214
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
215
|
+
* @param reportProgress flag to report request and response progress.
|
|
216
|
+
*/
|
|
217
|
+
getThemes(observe?: 'body', reportProgress?: boolean, options?: {
|
|
218
|
+
httpHeaderAccept?: 'application/json';
|
|
219
|
+
context?: HttpContext;
|
|
220
|
+
}): Observable<Array<ThemeDescriptor>>;
|
|
221
|
+
getThemes(observe?: 'response', reportProgress?: boolean, options?: {
|
|
222
|
+
httpHeaderAccept?: 'application/json';
|
|
223
|
+
context?: HttpContext;
|
|
224
|
+
}): Observable<HttpResponse<Array<ThemeDescriptor>>>;
|
|
225
|
+
getThemes(observe?: 'events', reportProgress?: boolean, options?: {
|
|
226
|
+
httpHeaderAccept?: 'application/json';
|
|
227
|
+
context?: HttpContext;
|
|
228
|
+
}): Observable<HttpEvent<Array<ThemeDescriptor>>>;
|
|
135
229
|
/**
|
|
136
230
|
* Returns the view constraint object belongs to the given view
|
|
137
231
|
* @param uuid View\'s unique identifier.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 { MenuTriggerType } from './menuTriggerType';
|
|
13
|
+
import { MenuOpenDirection } from './menuOpenDirection';
|
|
14
|
+
export interface MenuDescriptor {
|
|
15
|
+
triggerType?: MenuTriggerType;
|
|
16
|
+
openDirection?: MenuOpenDirection;
|
|
17
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 enum MenuOpenDirection {
|
|
13
|
+
BELOW_LEFT = "BELOW_LEFT",
|
|
14
|
+
BELOW_RIGHT = "BELOW_RIGHT",
|
|
15
|
+
ABOVE_LEFT = "ABOVE_LEFT",
|
|
16
|
+
ABOVE_RIGHT = "ABOVE_RIGHT",
|
|
17
|
+
RIGHT_TOP = "RIGHT_TOP",
|
|
18
|
+
RIGHT_BOTTOM = "RIGHT_BOTTOM",
|
|
19
|
+
LEFT_TOP = "LEFT_TOP",
|
|
20
|
+
LEFT_BOTTOM = "LEFT_BOTTOM"
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 enum MenuTriggerType {
|
|
13
|
+
CLICK = "CLICK",
|
|
14
|
+
HOVER = "HOVER"
|
|
15
|
+
}
|
|
@@ -13,6 +13,9 @@ export * from './downloadedFile';
|
|
|
13
13
|
export * from './iconPosition';
|
|
14
14
|
export * from './imageResource';
|
|
15
15
|
export * from './link';
|
|
16
|
+
export * from './menuDescriptor';
|
|
17
|
+
export * from './menuOpenDirection';
|
|
18
|
+
export * from './menuTriggerType';
|
|
16
19
|
export * from './messageData';
|
|
17
20
|
export * from './messageOption';
|
|
18
21
|
export * from './messageOptionType';
|
|
@@ -23,13 +26,18 @@ export * from './multiComboBoxElement';
|
|
|
23
26
|
export * from './multiComboBoxModel';
|
|
24
27
|
export * from './namedValidator';
|
|
25
28
|
export * from './openPendingData';
|
|
29
|
+
export * from './publishedViewData';
|
|
26
30
|
export * from './serverRequestExecutionStat';
|
|
27
31
|
export * from './serverRequestTrack';
|
|
28
32
|
export * from './serverRequestType';
|
|
33
|
+
export * from './shellProperty';
|
|
29
34
|
export * from './smartLinkData';
|
|
30
35
|
export * from './smartLinkMigrationStatus';
|
|
31
36
|
export * from './statisticRecord';
|
|
32
37
|
export * from './style';
|
|
38
|
+
export * from './themeDefinition';
|
|
39
|
+
export * from './themeDescriptor';
|
|
40
|
+
export * from './themeShellDescriptor';
|
|
33
41
|
export * from './uiAction';
|
|
34
42
|
export * from './uiActionButtonDescriptor';
|
|
35
43
|
export * from './uiActionButtonType';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 PublishedViewData {
|
|
13
|
+
isPublic?: boolean;
|
|
14
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 ShellProperty {
|
|
13
|
+
propertyName?: string;
|
|
14
|
+
propertyValue?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 { BinaryContentData } from '../api-default/binaryContentData';
|
|
13
|
+
import { ShellProperty } from './shellProperty';
|
|
14
|
+
export interface ThemeDefinition {
|
|
15
|
+
uri?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
appTitle?: string;
|
|
18
|
+
css?: BinaryContentData;
|
|
19
|
+
favicon?: BinaryContentData;
|
|
20
|
+
iosProperties?: Array<ShellProperty>;
|
|
21
|
+
androidProperties?: Array<ShellProperty>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 { UiActionDescriptor } from './uiActionDescriptor';
|
|
13
|
+
export interface ThemeDescriptor {
|
|
14
|
+
name?: string;
|
|
15
|
+
descriptor?: UiActionDescriptor;
|
|
16
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
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 { ShellProperty } from './shellProperty';
|
|
13
|
+
export interface ThemeShellDescriptor {
|
|
14
|
+
name?: string;
|
|
15
|
+
shellType?: string;
|
|
16
|
+
properties?: Array<ShellProperty>;
|
|
17
|
+
}
|
|
@@ -13,6 +13,7 @@ import { UiActionTooltip } from './uiActionTooltip';
|
|
|
13
13
|
import { ImageResource } from './imageResource';
|
|
14
14
|
import { IconPosition } from './iconPosition';
|
|
15
15
|
import { BadgeDescriptor } from './badgeDescriptor';
|
|
16
|
+
import { MenuDescriptor } from './menuDescriptor';
|
|
16
17
|
import { Style } from './style';
|
|
17
18
|
import { UiActionFeedbackType } from './uiActionFeedbackType';
|
|
18
19
|
import { UiActionDialogDescriptor } from './uiActionDialogDescriptor';
|
|
@@ -39,4 +40,5 @@ export interface UiActionDescriptor {
|
|
|
39
40
|
upload?: UiActionUploadDescriptor;
|
|
40
41
|
tooltip?: UiActionTooltip;
|
|
41
42
|
style?: Style;
|
|
43
|
+
menu?: MenuDescriptor;
|
|
42
44
|
}
|
|
@@ -15,7 +15,8 @@ export * from './smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-
|
|
|
15
15
|
export * from './smart-ui-action/dialogs/ui-action-dialog-button/ui-action-dialog-button.component';
|
|
16
16
|
export * from './utility/componentLibrary';
|
|
17
17
|
export * from './smart-ui-action/ui-action-button/ui-action-button.component';
|
|
18
|
-
export * from './smart-ui-action/components/menu/menu.component';
|
|
18
|
+
export * from './smart-ui-action/components/menu/click/menu.component';
|
|
19
|
+
export * from './smart-ui-action/components/menu/hover/hover-menu.component';
|
|
19
20
|
export * from './smart-ui-action/components/upload-widget/upload-widget.component';
|
|
20
21
|
export * from './smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component';
|
|
21
22
|
export * from './smart-ui-action/components/upload-widget/voice-record-widget/voice-record-widget.component';
|
|
@@ -1,20 +1,21 @@
|
|
|
1
1
|
import { EventEmitter, QueryList, SimpleChanges, TemplateRef, ViewContainerRef, AfterViewChecked } from '@angular/core';
|
|
2
|
-
import { UiAction } from '../../../api';
|
|
3
|
-
import { UiMenuService } from './menu.service';
|
|
4
|
-
import { ComponentLibrary } from '../../../utility/componentLibrary';
|
|
5
2
|
import { Overlay, OverlayPositionBuilder, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
+
import { MenuOpenDirection, UiAction } from '../../../../api';
|
|
4
|
+
import { UiMenuService } from '../menu.service';
|
|
5
|
+
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class
|
|
7
|
+
export declare class ClickMenuComponent implements AfterViewChecked {
|
|
8
8
|
private menuService;
|
|
9
9
|
private overlay;
|
|
10
10
|
private viewContainerRef;
|
|
11
11
|
private overlayPositionBuilder;
|
|
12
12
|
compLib?: ComponentLibrary | undefined;
|
|
13
|
-
submenuComponents: QueryList<
|
|
13
|
+
submenuComponents: QueryList<ClickMenuComponent>;
|
|
14
14
|
menuTemplate: TemplateRef<any>;
|
|
15
15
|
overlayRef: OverlayRef | null;
|
|
16
16
|
triggerAction: UiAction;
|
|
17
17
|
isSubmenu: boolean;
|
|
18
|
+
menuOpenDirection?: MenuOpenDirection;
|
|
18
19
|
actionClick: EventEmitter<UiAction>;
|
|
19
20
|
submenuOpened: EventEmitter<UiAction>;
|
|
20
21
|
private destroy$;
|
|
@@ -37,6 +38,7 @@ export declare class MenuComponent implements AfterViewChecked {
|
|
|
37
38
|
openMenu(event: MouseEvent): void;
|
|
38
39
|
toggleMenu(event: MouseEvent): void;
|
|
39
40
|
onSubmenuOpened(openedAction: UiAction): void;
|
|
40
|
-
|
|
41
|
-
static
|
|
41
|
+
closeSiblingSubmenus(exceptAction: UiAction): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ClickMenuComponent, [null, null, null, null, { optional: true; }]>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ClickMenuComponent, "ui-tiered-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; "menuOpenDirection": { "alias": "menuOpenDirection"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
|
|
42
44
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { AfterViewChecked, EventEmitter, OnDestroy, OnInit, QueryList, SimpleChanges, TemplateRef, ViewContainerRef } from '@angular/core';
|
|
2
|
+
import { Overlay, OverlayPositionBuilder, OverlayRef } from '@angular/cdk/overlay';
|
|
3
|
+
import { MenuOpenDirection, UiAction } from '../../../../api';
|
|
4
|
+
import { UiMenuService } from '../menu.service';
|
|
5
|
+
import { ComponentLibrary } from '../../../../utility/componentLibrary';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class HoverMenuComponent implements OnInit, AfterViewChecked, OnDestroy {
|
|
8
|
+
private menuService;
|
|
9
|
+
private overlay;
|
|
10
|
+
private viewContainerRef;
|
|
11
|
+
private overlayPositionBuilder;
|
|
12
|
+
compLib?: ComponentLibrary | undefined;
|
|
13
|
+
submenuComponents: QueryList<HoverMenuComponent>;
|
|
14
|
+
menuTemplate: TemplateRef<any>;
|
|
15
|
+
overlayRef: OverlayRef | null;
|
|
16
|
+
triggerAction: UiAction;
|
|
17
|
+
isSubmenu: boolean;
|
|
18
|
+
menuOpenDirection?: MenuOpenDirection;
|
|
19
|
+
actionClick: EventEmitter<UiAction>;
|
|
20
|
+
submenuOpened: EventEmitter<UiAction>;
|
|
21
|
+
private destroy$;
|
|
22
|
+
icon: string;
|
|
23
|
+
submenuOpenMap: Map<UiAction, boolean>;
|
|
24
|
+
subActions: UiAction[];
|
|
25
|
+
private hasCheckedChildren;
|
|
26
|
+
constructor(menuService: UiMenuService, overlay: Overlay, viewContainerRef: ViewContainerRef, overlayPositionBuilder: OverlayPositionBuilder, compLib?: ComponentLibrary | undefined);
|
|
27
|
+
ngOnInit(): void;
|
|
28
|
+
ngAfterViewChecked(): void;
|
|
29
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
30
|
+
private hasSubActionsChanged;
|
|
31
|
+
ngOnDestroy(): void;
|
|
32
|
+
onActionClick(action: UiAction): void;
|
|
33
|
+
onMenuClick(event: Event): void;
|
|
34
|
+
onDocumentClick(event: Event): void;
|
|
35
|
+
get isOpen(): boolean;
|
|
36
|
+
closeMenu(): void;
|
|
37
|
+
refreshOverlay(): void;
|
|
38
|
+
openMenu(event: MouseEvent): void;
|
|
39
|
+
toggleMenu(event: MouseEvent): void;
|
|
40
|
+
onSubmenuOpened(openedAction: UiAction): void;
|
|
41
|
+
closeSiblingSubmenus(exceptAction: UiAction): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HoverMenuComponent, [null, null, null, null, { optional: true; }]>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<HoverMenuComponent, "ui-hover-menu", never, { "triggerAction": { "alias": "triggerAction"; "required": false; }; "isSubmenu": { "alias": "isSubmenu"; "required": false; }; "menuOpenDirection": { "alias": "menuOpenDirection"; "required": false; }; }, { "actionClick": "actionClick"; "submenuOpened": "submenuOpened"; }, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
1
|
import { ConnectedPosition } from '@angular/cdk/overlay';
|
|
2
|
+
import { MenuOpenDirection } from '../../../api';
|
|
2
3
|
export declare const SUBMENU_POSITIONS: ConnectedPosition[];
|
|
4
|
+
export declare function getSubmenuPositions(direction?: MenuOpenDirection): ConnectedPosition[];
|
|
5
|
+
export declare const MENU_POSITIONS: Record<MenuOpenDirection, ConnectedPosition[]>;
|
|
3
6
|
export declare const ROOT_MENU_POSITIONS: ConnectedPosition[];
|
|
7
|
+
export declare function getMenuPositions(direction?: MenuOpenDirection): ConnectedPosition[];
|
package/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ThemeDescriptor, UiAction } from '../../../api';
|
|
2
|
+
import { UiActionModel } from '../../ui-action.model';
|
|
3
|
+
import { ThemeService } from '../../../../theme/theme.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ThemeSelectorComponent {
|
|
6
|
+
private themeService;
|
|
7
|
+
model: import("@angular/core").InputSignal<UiActionModel>;
|
|
8
|
+
action: import("@angular/core").Signal<UiAction | undefined>;
|
|
9
|
+
themeDescriptor?: ThemeDescriptor;
|
|
10
|
+
themes: ThemeDescriptor[];
|
|
11
|
+
constructor(themeService: ThemeService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onActionClicked(event: any, themeDescriptor: ThemeDescriptor): Promise<void>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSelectorComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThemeSelectorComponent, "theme-selector", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -31,6 +31,7 @@ export declare class UiActionButtonComponent implements OnInit, OnDestroy {
|
|
|
31
31
|
constructor(changeDetector: ChangeDetectorRef, compLib?: ComponentLibrary);
|
|
32
32
|
ngOnInit(): void;
|
|
33
33
|
ngOnChanges(changes: SimpleChanges): void;
|
|
34
|
+
private buildMainActionModel;
|
|
34
35
|
ngOnDestroy(): void;
|
|
35
36
|
onActionClicked(event: MouseEvent, model: UiActionModel): Promise<void>;
|
|
36
37
|
onActionDoubleClicked(event: any): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ChangeDetectorRef, ElementRef, Injector, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core';
|
|
2
2
|
import { TooltipPosition } from '@angular/material/tooltip';
|
|
3
|
-
import { IconPosition, UiActionDescriptor, UiActionTooltipTooltipPositionEnum } from '../api';
|
|
3
|
+
import { IconPosition, MenuTriggerType, UiActionDescriptor, UiActionTooltipTooltipPositionEnum } from '../api';
|
|
4
4
|
import { UiActionDescriptorService } from './ui-action.descriptor.service';
|
|
5
5
|
import { UiActionModel } from './ui-action.model';
|
|
6
6
|
import { UiActionService } from './ui-action.service';
|
|
@@ -60,6 +60,7 @@ export declare class UiActionToolbarComponent implements OnInit, OnChanges, OnDe
|
|
|
60
60
|
buttonLeft: UiActionDescriptor;
|
|
61
61
|
buttonRight: UiActionDescriptor;
|
|
62
62
|
get isVertical(): boolean;
|
|
63
|
+
get triggerType(): typeof MenuTriggerType;
|
|
63
64
|
static ɵfac: i0.ɵɵFactoryDeclaration<UiActionToolbarComponent, never>;
|
|
64
65
|
static ɵcmp: i0.ɵɵComponentDeclaration<UiActionToolbarComponent, "smart-ui-action-toolbar", never, { "uiActionModels": { "alias": "uiActionModels"; "required": false; }; "uiActionDescriptorService": { "alias": "uiActionDescriptorService"; "required": false; }; "id": { "alias": "id"; "required": false; }; "scrollOnWrap": { "alias": "scrollOnWrap"; "required": false; }; "toolbarPropertes": { "alias": "toolbarPropertes"; "required": false; }; }, {}, never, never, false, never>;
|
|
65
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnDestroy } from '@angular/core';
|
|
2
2
|
import { MatSnackBar } from '@angular/material/snack-bar';
|
|
3
|
-
import { UiAction } from '../api';
|
|
3
|
+
import { UiAction, UiActionRequest } from '../api';
|
|
4
4
|
import type { UiActionConfirmDialogService } from './dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service';
|
|
5
5
|
import type { UiActionInputDialogService } from './dialogs/ui-action-input-dialog/ui-action-input-dialog.service';
|
|
6
6
|
import { UiActionModel } from './ui-action.model';
|
|
@@ -25,8 +25,10 @@ export declare class UiActionService implements OnDestroy {
|
|
|
25
25
|
private _snackBar;
|
|
26
26
|
private viewContext;
|
|
27
27
|
private _destroy$;
|
|
28
|
+
private onActionError;
|
|
28
29
|
constructor(confirmDialogService: UiActionConfirmDialogService, textFieldDialogService: UiActionInputDialogService, fileUploadDialogService: UiActionFileUploadDialogService, _snackBar: MatSnackBar, viewContext: SmartViewContextService);
|
|
29
30
|
ngOnDestroy(): void;
|
|
31
|
+
setActionErrorHandler(f: (uiActionRequest: UiActionRequest, err: any) => void): void;
|
|
30
32
|
execute(uiAction: UiAction, uiActionModel: UiActionModel, options?: ExecuteUiActionOptions): Promise<void>;
|
|
31
33
|
private handleInputType;
|
|
32
34
|
private handleInputTypeTextField;
|