@smartbit4all/ng-client 3.3.206 → 4.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/esm2022/lib/component-factory-service/component-factory-service.module.mjs +17 -0
- package/{esm2020 → esm2022}/lib/component-factory-service/component-factory-service.service.mjs +35 -35
- package/{esm2020 → esm2022}/lib/component-factory-service/projects.mjs +5 -5
- package/{esm2020 → esm2022}/lib/session/api/api/api.mjs +3 -3
- package/esm2022/lib/session/api/api/session.service.mjs +306 -0
- package/esm2022/lib/session/api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/session/api/encoder.mjs +18 -18
- package/{esm2020 → esm2022}/lib/session/api/index.mjs +2 -2
- package/{esm2020 → esm2022}/lib/session/api/model/accountInfo.mjs +12 -12
- package/{esm2020 → esm2022}/lib/session/api/model/apiError.mjs +12 -12
- package/{esm2020 → esm2022}/lib/session/api/model/authenticationProviderData.mjs +12 -12
- package/{esm2020 → esm2022}/lib/session/api/model/getAuthenticationProvidersResponse.mjs +1 -1
- package/{esm2020 → esm2022}/lib/session/api/model/models.mjs +8 -8
- package/{esm2020 → esm2022}/lib/session/api/model/refreshSessionRequest.mjs +12 -12
- package/{esm2020 → esm2022}/lib/session/api/model/session.mjs +1 -1
- package/esm2022/lib/session/api/model/sessionInfoData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/session/api/model/userActivityLog.mjs +12 -12
- package/{esm2020 → esm2022}/lib/session/api/param.mjs +1 -1
- package/{esm2020 → esm2022}/lib/session/api/variables.mjs +8 -8
- package/esm2022/lib/session/cookie-service/smart-cookie.service.mjs +225 -0
- package/{esm2020 → esm2022}/lib/session/projects.mjs +9 -9
- package/esm2022/lib/session/smart-error-catching.interceptor.mjs +71 -0
- package/esm2022/lib/session/smart-header-maintainer.interceptor.mjs +46 -0
- package/{esm2020 → esm2022}/lib/session/smart-session-handler.service.mjs +5 -5
- package/esm2022/lib/session/smart-session.module.mjs +58 -0
- package/esm2022/lib/session/smart-session.service.mjs +225 -0
- package/{esm2020 → esm2022}/lib/session/smart-timer/smart-session-timer.component.mjs +35 -35
- package/esm2022/lib/session/smart-timer/smart-session-timer.service.mjs +58 -0
- package/{esm2020 → esm2022}/lib/shared/projects.mjs +3 -3
- package/esm2022/lib/shared/shared.module.mjs +19 -0
- package/esm2022/lib/shared/smart-tooltip.directive.mjs +58 -0
- package/{esm2020 → esm2022}/lib/shared/smarttable.date-pipe.mjs +43 -43
- package/{esm2020 → esm2022}/lib/smart-client/projects.mjs +4 -4
- package/{esm2020 → esm2022}/lib/smart-client/smart-authentication.service.mjs +21 -21
- package/esm2022/lib/smart-client/smart-component-api-client.mjs +717 -0
- package/esm2022/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +53 -0
- package/{esm2020 → esm2022}/lib/smart-client/smart.component.mjs +77 -77
- package/{esm2020 → esm2022}/lib/smart-client/smart.service.mjs +75 -75
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/api/api.mjs +4 -4
- package/esm2022/lib/smart-component-layout/api/api/default.service.mjs +133 -0
- package/esm2022/lib/smart-component-layout/api/api.module.mjs +40 -0
- package/esm2022/lib/smart-component-layout/api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/encoder.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/index.mjs +7 -7
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/model/componentType.mjs +18 -18
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/model/componentWidgetType.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/model/layoutDirection.mjs +17 -17
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/model/models.mjs +6 -6
- package/esm2022/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +2 -0
- package/esm2022/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +2 -0
- package/esm2022/lib/smart-component-layout/api/param.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-component-layout/api/variables.mjs +9 -9
- package/{esm2020 → esm2022}/lib/smart-component-layout/projects.mjs +7 -7
- package/esm2022/lib/smart-component-layout/smart-component-layout-utility.mjs +94 -0
- package/esm2022/lib/smart-component-layout/smart-component-layout.component.mjs +259 -0
- package/esm2022/lib/smart-component-layout/smart-component-layout.module.mjs +41 -0
- package/{esm2020 → esm2022}/lib/smart-dialog/projects.mjs +7 -7
- package/esm2022/lib/smart-dialog/smartdialog.component.mjs +54 -0
- package/{esm2020 → esm2022}/lib/smart-dialog/smartdialog.model.mjs +15 -15
- package/esm2022/lib/smart-dialog/smartdialog.module.mjs +46 -0
- package/{esm2020 → esm2022}/lib/smart-dialog/smartdialog.service.mjs +54 -54
- package/esm2022/lib/smart-expandable-section/expandable-section.component.mjs +88 -0
- package/{esm2020 → esm2022}/lib/smart-expandable-section/expandable-section.model.mjs +11 -11
- package/{esm2020 → esm2022}/lib/smart-expandable-section/projects.mjs +7 -7
- package/esm2022/lib/smart-expandable-section/smart-expandable-section.module.mjs +49 -0
- package/{esm2020 → esm2022}/lib/smart-expandable-section/smart-expandable-section.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.mjs +17 -17
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +2 -0
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +8 -0
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +2 -0
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionDataType.mjs +20 -20
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.mjs +27 -27
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionList.mjs +2 -0
- package/esm2022/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionOperation.mjs +32 -32
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/filterExpressionOrderBy.mjs +18 -18
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/model.mjs +15 -15
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.mjs +12 -12
- package/{esm2020 → esm2022}/lib/smart-filter/api/value/model/value.mjs +12 -12
- package/{esm2020 → esm2022}/lib/smart-filter/projects.mjs +8 -8
- package/{esm2020 → esm2022}/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.mjs +14 -14
- package/esm2022/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +165 -0
- package/{esm2020 → esm2022}/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.mjs +45 -45
- package/esm2022/lib/smart-filter/smart-filter/smart-filter.component.mjs +36 -0
- package/{esm2020 → esm2022}/lib/smart-filter/smart-filter/smart-filter.service.mjs +31 -31
- package/{esm2020 → esm2022}/lib/smart-filter/smart-filter.model.mjs +12 -12
- package/esm2022/lib/smart-filter/smart-filter.module.mjs +33 -0
- package/esm2022/lib/smart-filter-editor/api/api/filter.service.mjs +198 -0
- package/esm2022/lib/smart-filter-editor/api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/encoder.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.mjs +17 -17
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +13 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +8 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +7 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionDataType.mjs +20 -20
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionField.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.mjs +27 -27
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionList.mjs +2 -0
- package/esm2022/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionOperation.mjs +32 -32
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/filterExpressionOrderBy.mjs +18 -18
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/model/smartFilterType.mjs +17 -17
- package/esm2022/lib/smart-filter-editor/api/param.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/api/variables.mjs +9 -9
- package/{esm2020 → esm2022}/lib/smart-filter-editor/filterExpressionBuilderApiActions.mjs +14 -14
- package/{esm2020 → esm2022}/lib/smart-filter-editor/project.mjs +7 -7
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +73 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.mjs +40 -40
- package/esm2022/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +235 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/smart-filter-editor.model.mjs +1 -1
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.module.mjs +69 -0
- package/esm2022/lib/smart-filter-editor/smart-filter-editor.service.mjs +47 -0
- package/{esm2020 → esm2022}/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.mjs +24 -24
- package/esm2022/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +57 -0
- package/{esm2020 → esm2022}/lib/smart-form/api/api/api.mjs +3 -3
- package/esm2022/lib/smart-form/api/api/default.service.mjs +133 -0
- package/esm2022/lib/smart-form/api/api.module.mjs +40 -0
- package/esm2022/lib/smart-form/api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/smart-form/api/encoder.mjs +18 -18
- package/{esm2020 → esm2022}/lib/smart-form/api/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/smart-form/api/model/models.mjs +10 -10
- package/{esm2020 → esm2022}/lib/smart-form/api/model/propertyMapping.mjs +12 -12
- package/{esm2020 → esm2022}/lib/smart-form/api/model/selectionDefinition.mjs +6 -6
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartFormInputMode.mjs +21 -21
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartFormWidgetDirection.mjs +16 -16
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartFormWidgetType.mjs +44 -44
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartLayoutDefinition.mjs +1 -1
- package/esm2022/lib/smart-form/api/model/smartMatrixModel.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartWidgetDefinition.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-form/api/model/smartWidgetHint.mjs +17 -17
- package/{esm2020 → esm2022}/lib/smart-form/api/model/valueChangeMode.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-form/api/param.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-form/api/variables.mjs +8 -8
- package/{esm2020 → esm2022}/lib/smart-form/highlightMacthingString-pipe.mjs +20 -20
- package/{esm2020 → esm2022}/lib/smart-form/projects.mjs +12 -12
- package/esm2022/lib/smart-form/services/smartform.layout-definition.service.mjs +542 -0
- package/esm2022/lib/smart-form/services/smartform.service.mjs +640 -0
- package/esm2022/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +15 -0
- package/esm2022/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +78 -0
- package/{esm2020 → esm2022}/lib/smart-form/smartfileuploader/smartfileuploader.model.mjs +1 -1
- package/esm2022/lib/smart-form/smartform.component.mjs +178 -0
- package/{esm2020 → esm2022}/lib/smart-form/smartform.form-model.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-form/smartform.model.mjs +37 -37
- package/esm2022/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +84 -0
- package/esm2022/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +735 -0
- package/esm2022/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +59 -0
- package/{esm2020 → esm2022}/lib/smart-form/widgets/smartformwidget/trackCaps.directive.mjs +31 -31
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/api/api.mjs +3 -3
- package/esm2022/lib/smart-grid/api/grid-api/api/grid.service.mjs +451 -0
- package/esm2022/lib/smart-grid/api/grid-api/api.module.mjs +40 -0
- package/esm2022/lib/smart-grid/api/grid-api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/encoder.mjs +18 -18
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/index.mjs +6 -6
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridColumnContentType.mjs +16 -16
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridColumnMeta.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridPage.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridRow.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridSelectionChange.mjs +12 -12
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridSelectionMode.mjs +17 -17
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridSelectionType.mjs +16 -16
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridServerModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridUpdateData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridView.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/gridViewDescriptor.mjs +7 -7
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/model/models.mjs +13 -13
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/param.mjs +1 -1
- package/{esm2020 → esm2022}/lib/smart-grid/api/grid-api/variables.mjs +8 -8
- package/{esm2020 → esm2022}/lib/smart-grid/components/expandable-grid/expandable-grid.component.mjs +20 -20
- package/esm2022/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +61 -0
- package/esm2022/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +182 -0
- package/{esm2020 → esm2022}/lib/smart-grid/models/model.mjs +28 -28
- package/{esm2020 → esm2022}/lib/smart-grid/projects.mjs +8 -8
- package/esm2022/lib/smart-grid/smart-grid.component.mjs +767 -0
- package/esm2022/lib/smart-grid/smart-grid.module.mjs +76 -0
- package/esm2022/lib/smart-grid/smart-grid.service.mjs +80 -0
- package/{esm2020 → esm2022}/lib/smart-icon/projects.mjs +6 -6
- package/esm2022/lib/smart-icon/smart-icon/smart-icon.component.mjs +40 -0
- package/esm2022/lib/smart-icon/smart-icon.module.mjs +22 -0
- package/esm2022/lib/smart-icon/smart-icon.service.mjs +74 -0
- package/{esm2020 → esm2022}/lib/smart-navbar/projects.mjs +7 -7
- package/esm2022/lib/smart-navbar/smart-navbar.component.mjs +61 -0
- package/{esm2020 → esm2022}/lib/smart-navbar/smart-navbar.model.mjs +5 -5
- package/esm2022/lib/smart-navbar/smart-navbar.module.mjs +63 -0
- package/{esm2020 → esm2022}/lib/smart-navbar/smart-navbar.service.mjs +14 -14
- package/{esm2020 → esm2022}/lib/smart-navigation/projects.mjs +5 -5
- package/{esm2020 → esm2022}/lib/smart-navigation/smart-navigation.interface.mjs +1 -1
- package/esm2022/lib/smart-navigation/smart-navigation.module.mjs +18 -0
- package/esm2022/lib/smart-navigation/smart-navigation.service.mjs +56 -0
- package/esm2022/lib/smart-ng-client.module.mjs +126 -0
- package/{esm2020 → esm2022}/lib/smart-ng-client.service.mjs +19 -19
- package/{esm2020 → esm2022}/lib/smart-subject/projects.mjs +4 -4
- package/esm2022/lib/smart-subject/smart-subject.mjs +21 -0
- package/{esm2020 → esm2022}/lib/smart-tab-group/projects.mjs +8 -8
- package/esm2022/lib/smart-tab-group/smart-tab-group.component.mjs +43 -0
- package/esm2022/lib/smart-tab-group/smart-tab-group.module.mjs +25 -0
- package/{esm2020 → esm2022}/lib/smart-tab-group/smart-tab-group.service.mjs +14 -14
- package/esm2022/lib/smart-tab-group/tab-content/tab-content.component.mjs +31 -0
- package/esm2022/lib/smart-tab-group/tab-group-simplified/tab-group.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/smart-tab-group/tabTile.model.mjs +1 -1
- package/esm2022/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +43 -0
- package/{esm2020 → esm2022}/lib/smart-table/components/loading/loading.component.mjs +15 -15
- package/esm2022/lib/smart-table/directives/mat-context-menu-trigger-for.directive.mjs +52 -0
- package/{esm2020 → esm2022}/lib/smart-table/projects.mjs +7 -7
- package/esm2022/lib/smart-table/smarttable.component.mjs +98 -0
- package/esm2022/lib/smart-table/smarttable.model.mjs +169 -0
- package/esm2022/lib/smart-table/smarttable.module.mjs +105 -0
- package/{esm2020 → esm2022}/lib/smart-table/smarttable.service.mjs +14 -14
- package/esm2022/lib/smart-table/tables/material-table/material-table.component.mjs +39 -0
- package/{esm2020 → esm2022}/lib/smart-table/tables/mobile-table/mobile-table.component.mjs +23 -23
- package/esm2022/lib/smart-table/tables/table.mjs +520 -0
- package/{esm2020 → esm2022}/lib/smart-tree/projects.mjs +8 -8
- package/esm2022/lib/smart-tree/smarttree-generic.service.mjs +288 -0
- package/esm2022/lib/smart-tree/smarttree.component.mjs +181 -0
- package/{esm2020 → esm2022}/lib/smart-tree/smarttree.model.mjs +6 -6
- package/esm2022/lib/smart-tree/smarttree.module.mjs +60 -0
- package/{esm2020 → esm2022}/lib/smart-tree/smarttree.node.model.mjs +5 -5
- package/{esm2020 → esm2022}/lib/smart-tree/smarttree.service.interface.mjs +1 -1
- package/esm2022/lib/smart-tree/smarttree.service.mjs +47 -0
- package/esm2022/lib/smart-tree/tree-api/api/tree.service.mjs +1190 -0
- package/esm2022/lib/smart-tree/tree-api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/smart-tree/tree-api/encoder.mjs +19 -19
- package/esm2022/lib/smart-tree/tree-api/param.mjs +2 -0
- package/{esm2020 → esm2022}/lib/smart-tree/tree-api/variables.mjs +9 -9
- package/{esm2020 → esm2022}/lib/view-context/api/api/api.mjs +3 -3
- package/esm2022/lib/view-context/api/api/view.service.mjs +903 -0
- package/esm2022/lib/view-context/api/api.module.mjs +40 -0
- package/esm2022/lib/view-context/api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/view-context/api/encoder.mjs +18 -18
- package/{esm2020 → esm2022}/lib/view-context/api/index.mjs +6 -6
- package/esm2022/lib/view-context/api/model/clipboardData.mjs +13 -0
- package/{esm2020 → esm2022}/lib/view-context/api/model/closeResult.mjs +17 -17
- package/{esm2020 → esm2022}/lib/view-context/api/model/componentConstraint.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/componentModel.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/componentModelChange.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/dataChange.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/dataChangeEvent.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/dataChangeKind.mjs +20 -20
- package/{esm2020 → esm2022}/lib/view-context/api/model/downloadedFile.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/iconPosition.mjs +19 -19
- package/{esm2020 → esm2022}/lib/view-context/api/model/imageResource.mjs +7 -7
- package/{esm2020 → esm2022}/lib/view-context/api/model/link.mjs +19 -19
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageOption.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageOptionType.mjs +17 -17
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageResult.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageTextType.mjs +16 -16
- package/{esm2020 → esm2022}/lib/view-context/api/model/messageType.mjs +18 -18
- package/{esm2020 → esm2022}/lib/view-context/api/model/models.mjs +52 -52
- package/{esm2020 → esm2022}/lib/view-context/api/model/openPendingData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/serverRequestExecutionStat.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/serverRequestTrack.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/serverRequestType.mjs +23 -23
- package/{esm2020 → esm2022}/lib/view-context/api/model/smartLinkData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/statisticRecord.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/style.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiAction.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionButtonDescriptor.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionButtonType.mjs +26 -26
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionConstraint.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionDescriptor.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionDialogDescriptor.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionFeedbackType.mjs +19 -19
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionInputType.mjs +20 -20
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionRequest.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionTooltip.mjs +21 -21
- package/{esm2020 → esm2022}/lib/view-context/api/model/uiActionUploadDescriptor.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/uploadedFile.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/valueSet.mjs +1 -1
- package/esm2022/lib/view-context/api/model/view.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewApiError.mjs +12 -12
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewConstraint.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContext.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewContextChange.mjs +1 -1
- package/esm2022/lib/view-context/api/model/viewContextData.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewContextUpdate.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewData.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewEventHandler.mjs +17 -17
- package/esm2022/lib/view-context/api/model/viewPlaceholder.mjs +13 -0
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewState.mjs +21 -21
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewStateUpdate.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/model/viewType.mjs +17 -17
- package/{esm2020 → esm2022}/lib/view-context/api/param.mjs +1 -1
- package/{esm2020 → esm2022}/lib/view-context/api/variables.mjs +8 -8
- package/esm2022/lib/view-context/invalid-fields-snack-bar/invalid-fields-snack-bar.component.mjs +20 -0
- package/esm2022/lib/view-context/message-dialog/message-dialog.component.mjs +66 -0
- package/{esm2020 → esm2022}/lib/view-context/projects.mjs +16 -16
- package/{esm2020 → esm2022}/lib/view-context/property-definition-data.mjs +1 -1
- package/esm2022/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +30 -0
- package/{esm2020 → esm2022}/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.mjs +56 -56
- package/{esm2020 → esm2022}/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.mjs +48 -48
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +72 -0
- package/{esm2020 → esm2022}/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.mjs +53 -53
- package/esm2022/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +126 -0
- package/{esm2020 → esm2022}/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.mjs +52 -52
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +146 -0
- package/esm2022/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +180 -0
- package/{esm2020 → esm2022}/lib/view-context/smart-ui-action/ui-action.model.mjs +6 -6
- package/esm2022/lib/view-context/smart-ui-action/ui-action.service.mjs +211 -0
- package/esm2022/lib/view-context/smart-view-context-dialog.service.mjs +54 -0
- package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +29 -0
- package/esm2022/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +69 -0
- package/esm2022/lib/view-context/smart-view-context.interceptor.mjs +39 -0
- package/{esm2020 → esm2022}/lib/view-context/smart-view-context.model.mjs +1 -1
- package/esm2022/lib/view-context/smart-view-context.module.mjs +221 -0
- package/esm2022/lib/view-context/smart-view-context.service.mjs +685 -0
- package/esm2022/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +33 -0
- package/esm2022/lib/view-context/utility/smart-object-utility.mjs +30 -0
- package/esm2022/lib/view-context/utility/smart-style-utility.mjs +68 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/api/api.mjs +4 -4
- package/esm2022/lib/view-context/value-api/api/value.service.mjs +138 -0
- package/esm2022/lib/view-context/value-api/api.module.mjs +40 -0
- package/esm2022/lib/view-context/value-api/configuration.mjs +91 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/encoder.mjs +19 -19
- package/{esm2020 → esm2022}/lib/view-context/value-api/index.mjs +7 -7
- package/esm2022/lib/view-context/value-api/model/genericValue.mjs +13 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/models.mjs +11 -11
- package/esm2022/lib/view-context/value-api/model/value.mjs +13 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/valueSetData.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinition.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/valueSetDefinitionData.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +13 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/valueSetDefinitionKind.mjs +23 -23
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/valueSetExpression.mjs +1 -1
- package/esm2022/lib/view-context/value-api/model/valueSetOperand.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/model/valueSetOperation.mjs +18 -18
- package/esm2022/lib/view-context/value-api/param.mjs +2 -0
- package/{esm2020 → esm2022}/lib/view-context/value-api/variables.mjs +9 -9
- package/{esm2020 → esm2022}/projects.mjs +25 -25
- package/{esm2020 → esm2022}/smartbit4all-ng-client.mjs +4 -4
- package/{fesm2020 → fesm2022}/smartbit4all-ng-client.mjs +15903 -15913
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -0
- package/{smartbit4all-ng-client.d.ts → index.d.ts} +5 -5
- package/lib/component-factory-service/component-factory-service.module.d.ts +6 -6
- package/lib/component-factory-service/component-factory-service.service.d.ts +13 -13
- package/lib/component-factory-service/projects.d.ts +2 -2
- package/lib/session/api/api/api.d.ts +3 -3
- package/lib/session/api/api/session.service.d.ts +107 -107
- package/lib/session/api/configuration.d.ts +104 -104
- package/lib/session/api/encoder.d.ts +11 -11
- package/lib/session/api/index.d.ts +2 -2
- package/lib/session/api/model/accountInfo.d.ts +22 -22
- package/lib/session/api/model/apiError.d.ts +15 -15
- package/lib/session/api/model/authenticationProviderData.d.ts +17 -17
- package/lib/session/api/model/getAuthenticationProvidersResponse.d.ts +15 -15
- package/lib/session/api/model/models.d.ts +8 -8
- package/lib/session/api/model/refreshSessionRequest.d.ts +14 -14
- package/lib/session/api/model/session.d.ts +32 -32
- package/lib/session/api/model/sessionInfoData.d.ts +26 -26
- package/lib/session/api/model/userActivityLog.d.ts +33 -33
- package/lib/session/api/param.d.ts +37 -37
- package/lib/session/api/variables.d.ts +8 -8
- package/lib/session/cookie-service/smart-cookie.service.d.ts +129 -129
- package/lib/session/projects.d.ts +6 -6
- package/lib/session/smart-error-catching.interceptor.d.ts +13 -13
- package/lib/session/smart-header-maintainer.interceptor.d.ts +11 -11
- package/lib/session/smart-session-handler.service.d.ts +11 -11
- package/lib/session/smart-session.module.d.ts +12 -12
- package/lib/session/smart-session.service.d.ts +54 -54
- package/lib/session/smart-timer/smart-session-timer.component.d.ts +14 -14
- package/lib/session/smart-timer/smart-session-timer.service.d.ts +21 -21
- package/lib/shared/projects.d.ts +3 -3
- package/lib/shared/shared.module.d.ts +9 -9
- package/lib/shared/smart-tooltip.directive.d.ts +16 -16
- package/lib/shared/smarttable.date-pipe.d.ts +18 -18
- package/lib/smart-client/projects.d.ts +4 -4
- package/lib/smart-client/smart-authentication.service.d.ts +15 -15
- package/lib/smart-client/smart-component-api-client.d.ts +111 -111
- package/lib/smart-client/smart-file-uploader/smart-file-uploader.component.d.ts +18 -18
- package/lib/smart-client/smart.component.d.ts +30 -30
- package/lib/smart-client/smart.service.d.ts +30 -30
- package/lib/smart-component-layout/api/api/api.d.ts +3 -3
- package/lib/smart-component-layout/api/api/default.service.d.ts +33 -33
- package/lib/smart-component-layout/api/api.module.d.ts +11 -11
- package/lib/smart-component-layout/api/configuration.d.ts +104 -104
- package/lib/smart-component-layout/api/encoder.d.ts +11 -11
- package/lib/smart-component-layout/api/index.d.ts +6 -6
- package/lib/smart-component-layout/api/model/componentType.d.ts +16 -16
- package/lib/smart-component-layout/api/model/componentWidgetType.d.ts +17 -17
- package/lib/smart-component-layout/api/model/layoutDirection.d.ts +15 -15
- package/lib/smart-component-layout/api/model/models.d.ts +5 -5
- package/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.d.ts +26 -26
- package/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.d.ts +20 -20
- package/lib/smart-component-layout/api/param.d.ts +37 -37
- package/lib/smart-component-layout/api/variables.d.ts +8 -8
- package/lib/smart-component-layout/projects.d.ts +4 -4
- package/lib/smart-component-layout/smart-component-layout-utility.d.ts +14 -14
- package/lib/smart-component-layout/smart-component-layout.component.d.ts +58 -58
- package/lib/smart-component-layout/smart-component-layout.module.d.ts +13 -13
- package/lib/smart-dialog/projects.d.ts +4 -4
- package/lib/smart-dialog/smartdialog.component.d.ts +19 -19
- package/lib/smart-dialog/smartdialog.model.d.ts +67 -67
- package/lib/smart-dialog/smartdialog.module.d.ts +14 -14
- package/lib/smart-dialog/smartdialog.service.d.ts +23 -23
- package/lib/smart-expandable-section/expandable-section.component.d.ts +25 -25
- package/lib/smart-expandable-section/expandable-section.model.d.ts +42 -42
- package/lib/smart-expandable-section/projects.d.ts +4 -4
- package/lib/smart-expandable-section/smart-expandable-section.module.d.ts +15 -15
- package/lib/smart-expandable-section/smart-expandable-section.service.d.ts +6 -6
- package/lib/smart-filter/api/filter/model/filterExpressionBoolOperator.d.ts +15 -15
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderField.d.ts +27 -27
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.d.ts +36 -36
- package/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.d.ts +27 -27
- package/lib/smart-filter/api/filter/model/filterExpressionData.d.ts +27 -27
- package/lib/smart-filter/api/filter/model/filterExpressionDataType.d.ts +18 -18
- package/lib/smart-filter/api/filter/model/filterExpressionField.d.ts +40 -40
- package/lib/smart-filter/api/filter/model/filterExpressionFieldList.d.ts +21 -21
- package/lib/smart-filter/api/filter/model/filterExpressionFieldWidgetType.d.ts +25 -25
- package/lib/smart-filter/api/filter/model/filterExpressionList.d.ts +18 -18
- package/lib/smart-filter/api/filter/model/filterExpressionOperandData.d.ts +24 -24
- package/lib/smart-filter/api/filter/model/filterExpressionOperation.d.ts +30 -30
- package/lib/smart-filter/api/filter/model/filterExpressionOrderBy.d.ts +25 -25
- package/lib/smart-filter/api/filter/model/model.d.ts +15 -15
- package/lib/smart-filter/api/filter/model/searchIndexObjectDefinitionData.d.ts +19 -19
- package/lib/smart-filter/api/filter/model/searchIndexPropertyDefinitionData.d.ts +18 -18
- package/lib/smart-filter/api/value/model/value.d.ts +29 -29
- package/lib/smart-filter/projects.d.ts +5 -5
- package/lib/smart-filter/smart-filter/components/smart-filter-expression-field/smart-filter-expression-field.component.d.ts +8 -8
- package/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.d.ts +31 -31
- package/lib/smart-filter/smart-filter/components/smart-filter-simple/smart-filter-simple.component.d.ts +18 -18
- package/lib/smart-filter/smart-filter/smart-filter.component.d.ts +15 -15
- package/lib/smart-filter/smart-filter/smart-filter.service.d.ts +16 -16
- package/lib/smart-filter/smart-filter.model.d.ts +25 -25
- package/lib/smart-filter/smart-filter.module.d.ts +15 -15
- package/lib/smart-filter-editor/api/api/filter.service.d.ts +57 -57
- package/lib/smart-filter-editor/api/configuration.d.ts +104 -104
- package/lib/smart-filter-editor/api/encoder.d.ts +11 -11
- package/lib/smart-filter-editor/api/model/filterExpressionBoolOperator.d.ts +15 -15
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.d.ts +16 -16
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderField.d.ts +27 -27
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.d.ts +36 -36
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.d.ts +27 -27
- package/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.d.ts +38 -38
- package/lib/smart-filter-editor/api/model/filterExpressionData.d.ts +27 -27
- package/lib/smart-filter-editor/api/model/filterExpressionDataType.d.ts +18 -18
- package/lib/smart-filter-editor/api/model/filterExpressionField.d.ts +40 -40
- package/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.d.ts +17 -17
- package/lib/smart-filter-editor/api/model/filterExpressionFieldList.d.ts +21 -21
- package/lib/smart-filter-editor/api/model/filterExpressionFieldWidgetType.d.ts +25 -25
- package/lib/smart-filter-editor/api/model/filterExpressionList.d.ts +18 -18
- package/lib/smart-filter-editor/api/model/filterExpressionOperandData.d.ts +24 -24
- package/lib/smart-filter-editor/api/model/filterExpressionOperation.d.ts +30 -30
- package/lib/smart-filter-editor/api/model/filterExpressionOrderBy.d.ts +28 -28
- package/lib/smart-filter-editor/api/model/smartFilterType.d.ts +15 -15
- package/lib/smart-filter-editor/api/param.d.ts +37 -37
- package/lib/smart-filter-editor/api/variables.d.ts +8 -8
- package/lib/smart-filter-editor/filterExpressionBuilderApiActions.d.ts +13 -13
- package/lib/smart-filter-editor/project.d.ts +7 -7
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.d.ts +19 -19
- package/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-items/smart-filter-expression-items.component.d.ts +17 -17
- package/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.d.ts +40 -40
- package/lib/smart-filter-editor/smart-filter-editor.model.d.ts +4 -4
- package/lib/smart-filter-editor/smart-filter-editor.module.d.ts +18 -18
- package/lib/smart-filter-editor/smart-filter-editor.service.d.ts +35 -35
- package/lib/smart-filter-editor/smart-filter-params/components/smart-filter-param/smart-filter-param.component.d.ts +9 -9
- package/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.d.ts +21 -21
- package/lib/smart-form/api/api/api.d.ts +3 -3
- package/lib/smart-form/api/api/default.service.d.ts +33 -33
- package/lib/smart-form/api/api.module.d.ts +11 -11
- package/lib/smart-form/api/configuration.d.ts +104 -104
- package/lib/smart-form/api/encoder.d.ts +11 -11
- package/lib/smart-form/api/index.d.ts +6 -6
- package/lib/smart-form/api/model/models.d.ts +10 -10
- package/lib/smart-form/api/model/propertyMapping.d.ts +24 -24
- package/lib/smart-form/api/model/selectionDefinition.d.ts +41 -41
- package/lib/smart-form/api/model/smartFormInputMode.d.ts +20 -20
- package/lib/smart-form/api/model/smartFormWidgetDirection.d.ts +15 -15
- package/lib/smart-form/api/model/smartFormWidgetType.d.ts +43 -43
- package/lib/smart-form/api/model/smartLayoutDefinition.d.ts +15 -15
- package/lib/smart-form/api/model/smartMatrixModel.d.ts +29 -29
- package/lib/smart-form/api/model/smartWidgetDefinition.d.ts +106 -106
- package/lib/smart-form/api/model/smartWidgetHint.d.ts +19 -19
- package/lib/smart-form/api/model/valueChangeMode.d.ts +18 -18
- package/lib/smart-form/api/param.d.ts +37 -37
- package/lib/smart-form/api/variables.d.ts +8 -8
- package/lib/smart-form/highlightMacthingString-pipe.d.ts +7 -7
- package/lib/smart-form/projects.d.ts +9 -9
- package/lib/smart-form/services/smartform.layout-definition.service.d.ts +45 -45
- package/lib/smart-form/services/smartform.service.d.ts +46 -46
- package/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.d.ts +8 -8
- package/lib/smart-form/smartfileuploader/smartfileuploader.component.d.ts +22 -22
- package/lib/smart-form/smartfileuploader/smartfileuploader.model.d.ts +7 -7
- package/lib/smart-form/smartform.component.d.ts +40 -40
- package/lib/smart-form/smartform.form-model.d.ts +631 -631
- package/lib/smart-form/smartform.model.d.ts +120 -120
- package/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.d.ts +29 -29
- package/lib/smart-form/widgets/smartformwidget/smartformwidget.component.d.ts +132 -132
- package/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.d.ts +20 -20
- package/lib/smart-form/widgets/smartformwidget/trackCaps.directive.d.ts +9 -9
- package/lib/smart-grid/api/grid-api/api/api.d.ts +3 -3
- package/lib/smart-grid/api/grid-api/api/grid.service.d.ts +161 -161
- package/lib/smart-grid/api/grid-api/api.module.d.ts +11 -11
- package/lib/smart-grid/api/grid-api/configuration.d.ts +104 -104
- package/lib/smart-grid/api/grid-api/encoder.d.ts +11 -11
- package/lib/smart-grid/api/grid-api/index.d.ts +6 -6
- package/lib/smart-grid/api/grid-api/model/gridColumnContentType.d.ts +15 -15
- package/lib/smart-grid/api/grid-api/model/gridColumnMeta.d.ts +33 -33
- package/lib/smart-grid/api/grid-api/model/gridDataAccessConfig.d.ts +40 -40
- package/lib/smart-grid/api/grid-api/model/gridModel.d.ts +34 -34
- package/lib/smart-grid/api/grid-api/model/gridPage.d.ts +26 -26
- package/lib/smart-grid/api/grid-api/model/gridRow.d.ts +39 -39
- package/lib/smart-grid/api/grid-api/model/gridSelectionChange.d.ts +18 -18
- package/lib/smart-grid/api/grid-api/model/gridSelectionMode.d.ts +16 -16
- package/lib/smart-grid/api/grid-api/model/gridSelectionType.d.ts +15 -15
- package/lib/smart-grid/api/grid-api/model/gridServerModel.d.ts +22 -22
- package/lib/smart-grid/api/grid-api/model/gridUpdateData.d.ts +20 -20
- package/lib/smart-grid/api/grid-api/model/gridView.d.ts +21 -21
- package/lib/smart-grid/api/grid-api/model/gridViewDescriptor.d.ts +37 -37
- package/lib/smart-grid/api/grid-api/model/models.d.ts +13 -13
- package/lib/smart-grid/api/grid-api/param.d.ts +37 -37
- package/lib/smart-grid/api/grid-api/variables.d.ts +8 -8
- package/lib/smart-grid/components/expandable-grid/expandable-grid.component.d.ts +10 -10
- package/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.d.ts +23 -23
- package/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.d.ts +46 -46
- package/lib/smart-grid/models/model.d.ts +71 -71
- package/lib/smart-grid/projects.d.ts +5 -5
- package/lib/smart-grid/smart-grid.component.d.ts +103 -103
- package/lib/smart-grid/smart-grid.module.d.ts +22 -22
- package/lib/smart-grid/smart-grid.service.d.ts +23 -23
- package/lib/smart-icon/projects.d.ts +3 -3
- package/lib/smart-icon/smart-icon/smart-icon.component.d.ts +16 -16
- package/lib/smart-icon/smart-icon.module.d.ts +10 -10
- package/lib/smart-icon/smart-icon.service.d.ts +28 -28
- package/lib/smart-navbar/projects.d.ts +4 -4
- package/lib/smart-navbar/smart-navbar.component.d.ts +20 -20
- package/lib/smart-navbar/smart-navbar.model.d.ts +48 -48
- package/lib/smart-navbar/smart-navbar.module.d.ts +18 -18
- package/lib/smart-navbar/smart-navbar.service.d.ts +6 -6
- package/lib/smart-navigation/projects.d.ts +2 -2
- package/lib/smart-navigation/smart-navigation.interface.d.ts +11 -11
- package/lib/smart-navigation/smart-navigation.module.d.ts +6 -6
- package/lib/smart-navigation/smart-navigation.service.d.ts +18 -18
- package/lib/smart-ng-client.module.d.ts +24 -24
- package/lib/smart-ng-client.service.d.ts +10 -10
- package/lib/smart-subject/projects.d.ts +1 -1
- package/lib/smart-subject/smart-subject.d.ts +6 -6
- package/lib/smart-tab-group/projects.d.ts +5 -5
- package/lib/smart-tab-group/smart-tab-group.component.d.ts +21 -21
- package/lib/smart-tab-group/smart-tab-group.module.d.ts +13 -13
- package/lib/smart-tab-group/smart-tab-group.service.d.ts +6 -6
- package/lib/smart-tab-group/tab-content/tab-content.component.d.ts +14 -14
- package/lib/smart-tab-group/tab-group-simplified/tab-group.component.d.ts +29 -29
- package/lib/smart-tab-group/tabTile.model.d.ts +8 -8
- package/lib/smart-table/components/default-actions-popup/default-actions-popup.component.d.ts +19 -19
- package/lib/smart-table/components/loading/loading.component.d.ts +8 -8
- package/lib/smart-table/directives/mat-context-menu-trigger-for.directive.d.ts +10 -10
- package/lib/smart-table/projects.d.ts +4 -4
- package/lib/smart-table/smarttable.component.d.ts +34 -34
- package/lib/smart-table/smarttable.model.d.ts +198 -198
- package/lib/smart-table/smarttable.module.d.ts +28 -28
- package/lib/smart-table/smarttable.service.d.ts +6 -6
- package/lib/smart-table/tables/material-table/material-table.component.d.ts +8 -8
- package/lib/smart-table/tables/mobile-table/mobile-table.component.d.ts +8 -8
- package/lib/smart-table/tables/table.d.ts +85 -85
- package/lib/smart-tree/projects.d.ts +5 -5
- package/lib/smart-tree/smarttree-generic.service.d.ts +49 -49
- package/lib/smart-tree/smarttree.component.d.ts +42 -42
- package/lib/smart-tree/smarttree.model.d.ts +41 -41
- package/lib/smart-tree/smarttree.module.d.ts +15 -15
- package/lib/smart-tree/smarttree.node.model.d.ts +13 -13
- package/lib/smart-tree/smarttree.service.d.ts +24 -24
- package/lib/smart-tree/smarttree.service.interface.d.ts +43 -43
- package/lib/smart-tree/tree-api/api/tree.service.d.ts +336 -336
- package/lib/smart-tree/tree-api/configuration.d.ts +104 -104
- package/lib/smart-tree/tree-api/encoder.d.ts +11 -11
- package/lib/smart-tree/tree-api/param.d.ts +37 -37
- package/lib/smart-tree/tree-api/variables.d.ts +8 -8
- package/lib/view-context/api/api/api.d.ts +3 -3
- package/lib/view-context/api/api/view.service.d.ts +331 -331
- package/lib/view-context/api/api.module.d.ts +11 -11
- package/lib/view-context/api/configuration.d.ts +104 -104
- package/lib/view-context/api/encoder.d.ts +11 -11
- package/lib/view-context/api/index.d.ts +6 -6
- package/lib/view-context/api/model/clipboardData.d.ts +20 -20
- package/lib/view-context/api/model/closeResult.d.ts +16 -16
- package/lib/view-context/api/model/componentConstraint.d.ts +25 -25
- package/lib/view-context/api/model/componentModel.d.ts +42 -42
- package/lib/view-context/api/model/componentModelChange.d.ts +29 -29
- package/lib/view-context/api/model/dataChange.d.ts +25 -25
- package/lib/view-context/api/model/dataChangeEvent.d.ts +31 -31
- package/lib/view-context/api/model/dataChangeKind.d.ts +19 -19
- package/lib/view-context/api/model/downloadedFile.d.ts +19 -19
- package/lib/view-context/api/model/iconPosition.d.ts +18 -18
- package/lib/view-context/api/model/imageResource.d.ts +26 -26
- package/lib/view-context/api/model/link.d.ts +35 -35
- package/lib/view-context/api/model/messageData.d.ts +29 -29
- package/lib/view-context/api/model/messageOption.d.ts +18 -18
- package/lib/view-context/api/model/messageOptionType.d.ts +16 -16
- package/lib/view-context/api/model/messageResult.d.ts +16 -16
- package/lib/view-context/api/model/messageTextType.d.ts +15 -15
- package/lib/view-context/api/model/messageType.d.ts +17 -17
- package/lib/view-context/api/model/models.d.ts +51 -51
- package/lib/view-context/api/model/openPendingData.d.ts +29 -29
- package/lib/view-context/api/model/serverRequestExecutionStat.d.ts +40 -40
- package/lib/view-context/api/model/serverRequestTrack.d.ts +60 -60
- package/lib/view-context/api/model/serverRequestType.d.ts +22 -22
- package/lib/view-context/api/model/smartLinkData.d.ts +21 -21
- package/lib/view-context/api/model/statisticRecord.d.ts +36 -36
- package/lib/view-context/api/model/style.d.ts +21 -21
- package/lib/view-context/api/model/uiAction.d.ts +48 -48
- package/lib/view-context/api/model/uiActionButtonDescriptor.d.ts +18 -18
- package/lib/view-context/api/model/uiActionButtonType.d.ts +25 -25
- package/lib/view-context/api/model/uiActionConstraint.d.ts +22 -22
- package/lib/view-context/api/model/uiActionDescriptor.d.ts +36 -36
- package/lib/view-context/api/model/uiActionDialogDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uiActionFeedbackType.d.ts +18 -18
- package/lib/view-context/api/model/uiActionInputType.d.ts +19 -19
- package/lib/view-context/api/model/uiActionRequest.d.ts +28 -28
- package/lib/view-context/api/model/uiActionTooltip.d.ts +25 -25
- package/lib/view-context/api/model/uiActionUploadDescriptor.d.ts +23 -23
- package/lib/view-context/api/model/uploadedFile.d.ts +19 -19
- package/lib/view-context/api/model/valueSet.d.ts +20 -20
- package/lib/view-context/api/model/view.d.ts +80 -80
- package/lib/view-context/api/model/viewApiError.d.ts +18 -18
- package/lib/view-context/api/model/viewConstraint.d.ts +18 -18
- package/lib/view-context/api/model/viewContext.d.ts +30 -30
- package/lib/view-context/api/model/viewContextChange.d.ts +24 -24
- package/lib/view-context/api/model/viewContextData.d.ts +25 -25
- package/lib/view-context/api/model/viewContextUpdate.d.ts +22 -22
- package/lib/view-context/api/model/viewData.d.ts +25 -25
- package/lib/view-context/api/model/viewEventHandler.d.ts +30 -30
- package/lib/view-context/api/model/viewPlaceholder.d.ts +21 -21
- package/lib/view-context/api/model/viewState.d.ts +20 -20
- package/lib/view-context/api/model/viewStateUpdate.d.ts +22 -22
- package/lib/view-context/api/model/viewType.d.ts +16 -16
- package/lib/view-context/api/param.d.ts +37 -37
- package/lib/view-context/api/variables.d.ts +8 -8
- package/lib/view-context/invalid-fields-snack-bar/invalid-fields-snack-bar.component.d.ts +9 -9
- package/lib/view-context/message-dialog/message-dialog.component.d.ts +18 -18
- package/lib/view-context/projects.d.ts +13 -13
- package/lib/view-context/property-definition-data.d.ts +5 -5
- package/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.d.ts +13 -13
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.component.d.ts +25 -25
- package/lib/view-context/smart-ui-action/dialogs/ui-action-confirm-dialog/ui-action-confirm-dialog.service.d.ts +18 -18
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.d.ts +30 -30
- package/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.service.d.ts +22 -22
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.d.ts +29 -29
- package/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.service.d.ts +25 -25
- package/lib/view-context/smart-ui-action/ui-action-toolbar.component.d.ts +36 -36
- package/lib/view-context/smart-ui-action/ui-action.descriptor.service.d.ts +23 -23
- package/lib/view-context/smart-ui-action/ui-action.model.d.ts +43 -43
- package/lib/view-context/smart-ui-action/ui-action.service.d.ts +39 -39
- package/lib/view-context/smart-view-context-dialog.service.d.ts +16 -16
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.d.ts +13 -13
- package/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.d.ts +19 -19
- package/lib/view-context/smart-view-context.interceptor.d.ts +13 -13
- package/lib/view-context/smart-view-context.model.d.ts +31 -31
- package/lib/view-context/smart-view-context.module.d.ts +46 -47
- package/lib/view-context/smart-view-context.service.d.ts +119 -119
- package/lib/view-context/smart-view-redirect/smart-view-redirect.d.ts +14 -14
- package/lib/view-context/utility/smart-object-utility.d.ts +4 -4
- package/lib/view-context/utility/smart-style-utility.d.ts +12 -12
- package/lib/view-context/value-api/api/api.d.ts +3 -3
- package/lib/view-context/value-api/api/value.service.d.ts +35 -35
- package/lib/view-context/value-api/api.module.d.ts +11 -11
- package/lib/view-context/value-api/configuration.d.ts +104 -104
- package/lib/view-context/value-api/encoder.d.ts +11 -11
- package/lib/view-context/value-api/index.d.ts +6 -6
- package/lib/view-context/value-api/model/genericValue.d.ts +33 -33
- package/lib/view-context/value-api/model/models.d.ts +10 -10
- package/lib/view-context/value-api/model/value.d.ts +29 -29
- package/lib/view-context/value-api/model/valueSetData.d.ts +41 -41
- package/lib/view-context/value-api/model/valueSetDefinition.d.ts +16 -16
- package/lib/view-context/value-api/model/valueSetDefinitionData.d.ts +53 -53
- package/lib/view-context/value-api/model/valueSetDefinitionIdentifier.d.ts +21 -21
- package/lib/view-context/value-api/model/valueSetDefinitionKind.d.ts +22 -22
- package/lib/view-context/value-api/model/valueSetExpression.d.ts +18 -18
- package/lib/view-context/value-api/model/valueSetOperand.d.ts +25 -25
- package/lib/view-context/value-api/model/valueSetOperation.d.ts +17 -17
- package/lib/view-context/value-api/param.d.ts +37 -37
- package/lib/view-context/value-api/variables.d.ts +8 -8
- package/package.json +14 -20
- package/projects.d.ts +22 -22
- package/smartbit4all-ng-client-4.0.1.tgz +0 -0
- package/esm2020/lib/component-factory-service/component-factory-service.module.mjs +0 -17
- package/esm2020/lib/session/api/api/session.service.mjs +0 -306
- package/esm2020/lib/session/api/configuration.mjs +0 -91
- package/esm2020/lib/session/api/model/sessionInfoData.mjs +0 -2
- package/esm2020/lib/session/cookie-service/smart-cookie.service.mjs +0 -225
- package/esm2020/lib/session/smart-error-catching.interceptor.mjs +0 -71
- package/esm2020/lib/session/smart-header-maintainer.interceptor.mjs +0 -46
- package/esm2020/lib/session/smart-session.module.mjs +0 -58
- package/esm2020/lib/session/smart-session.service.mjs +0 -225
- package/esm2020/lib/session/smart-timer/smart-session-timer.service.mjs +0 -58
- package/esm2020/lib/shared/shared.module.mjs +0 -19
- package/esm2020/lib/shared/smart-tooltip.directive.mjs +0 -58
- package/esm2020/lib/smart-client/smart-component-api-client.mjs +0 -717
- package/esm2020/lib/smart-client/smart-file-uploader/smart-file-uploader.component.mjs +0 -53
- package/esm2020/lib/smart-component-layout/api/api/default.service.mjs +0 -133
- package/esm2020/lib/smart-component-layout/api/api.module.mjs +0 -40
- package/esm2020/lib/smart-component-layout/api/configuration.mjs +0 -91
- package/esm2020/lib/smart-component-layout/api/model/smartComponentLayoutDefinition.mjs +0 -2
- package/esm2020/lib/smart-component-layout/api/model/smartComponentWidgetDefinition.mjs +0 -2
- package/esm2020/lib/smart-component-layout/api/param.mjs +0 -2
- package/esm2020/lib/smart-component-layout/smart-component-layout-utility.mjs +0 -94
- package/esm2020/lib/smart-component-layout/smart-component-layout.component.mjs +0 -259
- package/esm2020/lib/smart-component-layout/smart-component-layout.module.mjs +0 -43
- package/esm2020/lib/smart-dialog/smartdialog.component.mjs +0 -54
- package/esm2020/lib/smart-dialog/smartdialog.module.mjs +0 -48
- package/esm2020/lib/smart-expandable-section/expandable-section.component.mjs +0 -88
- package/esm2020/lib/smart-expandable-section/smart-expandable-section.module.mjs +0 -51
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderField.mjs +0 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderGroup.mjs +0 -8
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionBuilderModel.mjs +0 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionData.mjs +0 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionFieldList.mjs +0 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionList.mjs +0 -2
- package/esm2020/lib/smart-filter/api/filter/model/filterExpressionOperandData.mjs +0 -2
- package/esm2020/lib/smart-filter/smart-filter/components/smart-filter-simple/components/smart-filter-simple-field/smart-filter-simple-field.component.mjs +0 -165
- package/esm2020/lib/smart-filter/smart-filter/smart-filter.component.mjs +0 -36
- package/esm2020/lib/smart-filter/smart-filter.module.mjs +0 -33
- package/esm2020/lib/smart-filter-editor/api/api/filter.service.mjs +0 -198
- package/esm2020/lib/smart-filter-editor/api/configuration.mjs +0 -91
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderApiConfig.mjs +0 -13
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderField.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderGroup.mjs +0 -8
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderModel.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionBuilderUiModel.mjs +0 -7
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionData.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldEditor.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionFieldList.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionList.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/model/filterExpressionOperandData.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/api/param.mjs +0 -2
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/components/smart-filter-expression-item/smart-filter-expression-item.component.mjs +0 -73
- package/esm2020/lib/smart-filter-editor/smart-filter-editor-content/smart-filter-editor-content.component.mjs +0 -235
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.module.mjs +0 -71
- package/esm2020/lib/smart-filter-editor/smart-filter-editor.service.mjs +0 -47
- package/esm2020/lib/smart-filter-editor/smart-filter-params/smart-filter-params.component.mjs +0 -57
- package/esm2020/lib/smart-form/api/api/default.service.mjs +0 -133
- package/esm2020/lib/smart-form/api/api.module.mjs +0 -40
- package/esm2020/lib/smart-form/api/configuration.mjs +0 -91
- package/esm2020/lib/smart-form/api/model/smartMatrixModel.mjs +0 -2
- package/esm2020/lib/smart-form/services/smartform.layout-definition.service.mjs +0 -542
- package/esm2020/lib/smart-form/services/smartform.service.mjs +0 -640
- package/esm2020/lib/smart-form/smartfileuploader/large-file-snack-bar/large-file-snack-bar.component.mjs +0 -14
- package/esm2020/lib/smart-form/smartfileuploader/smartfileuploader.component.mjs +0 -78
- package/esm2020/lib/smart-form/smartform.component.mjs +0 -178
- package/esm2020/lib/smart-form/widgets/components/smart-month-picker/smart-month-picker.component.mjs +0 -84
- package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +0 -736
- package/esm2020/lib/smart-form/widgets/smartformwidget/sortable-widget/sortable-widget.component.mjs +0 -59
- package/esm2020/lib/smart-grid/api/grid-api/api/grid.service.mjs +0 -451
- package/esm2020/lib/smart-grid/api/grid-api/api.module.mjs +0 -40
- package/esm2020/lib/smart-grid/api/grid-api/configuration.mjs +0 -91
- package/esm2020/lib/smart-grid/components/smart-grid-card/smart-grid-card.component.mjs +0 -61
- package/esm2020/lib/smart-grid/components/table-layout-definer/table-layout-definer.component.mjs +0 -182
- package/esm2020/lib/smart-grid/smart-grid.component.mjs +0 -767
- package/esm2020/lib/smart-grid/smart-grid.module.mjs +0 -78
- package/esm2020/lib/smart-grid/smart-grid.service.mjs +0 -80
- package/esm2020/lib/smart-icon/smart-icon/smart-icon.component.mjs +0 -40
- package/esm2020/lib/smart-icon/smart-icon.module.mjs +0 -22
- package/esm2020/lib/smart-icon/smart-icon.service.mjs +0 -74
- package/esm2020/lib/smart-navbar/smart-navbar.component.mjs +0 -61
- package/esm2020/lib/smart-navbar/smart-navbar.module.mjs +0 -65
- package/esm2020/lib/smart-navigation/smart-navigation.module.mjs +0 -18
- package/esm2020/lib/smart-navigation/smart-navigation.service.mjs +0 -56
- package/esm2020/lib/smart-ng-client.module.mjs +0 -128
- package/esm2020/lib/smart-subject/smart-subject.mjs +0 -21
- package/esm2020/lib/smart-tab-group/smart-tab-group.component.mjs +0 -43
- package/esm2020/lib/smart-tab-group/smart-tab-group.module.mjs +0 -25
- package/esm2020/lib/smart-tab-group/tab-content/tab-content.component.mjs +0 -31
- package/esm2020/lib/smart-tab-group/tab-group-simplified/tab-group.component.mjs +0 -66
- package/esm2020/lib/smart-table/components/default-actions-popup/default-actions-popup.component.mjs +0 -43
- package/esm2020/lib/smart-table/directives/mat-context-menu-trigger-for.directive.mjs +0 -52
- package/esm2020/lib/smart-table/smarttable.component.mjs +0 -98
- package/esm2020/lib/smart-table/smarttable.model.mjs +0 -169
- package/esm2020/lib/smart-table/smarttable.module.mjs +0 -107
- package/esm2020/lib/smart-table/tables/material-table/material-table.component.mjs +0 -39
- package/esm2020/lib/smart-table/tables/table.mjs +0 -520
- package/esm2020/lib/smart-tree/smarttree-generic.service.mjs +0 -288
- package/esm2020/lib/smart-tree/smarttree.component.mjs +0 -181
- package/esm2020/lib/smart-tree/smarttree.module.mjs +0 -62
- package/esm2020/lib/smart-tree/smarttree.service.mjs +0 -47
- package/esm2020/lib/smart-tree/tree-api/api/tree.service.mjs +0 -1190
- package/esm2020/lib/smart-tree/tree-api/configuration.mjs +0 -91
- package/esm2020/lib/smart-tree/tree-api/param.mjs +0 -2
- package/esm2020/lib/view-context/api/api/view.service.mjs +0 -903
- package/esm2020/lib/view-context/api/api.module.mjs +0 -40
- package/esm2020/lib/view-context/api/configuration.mjs +0 -91
- package/esm2020/lib/view-context/api/model/clipboardData.mjs +0 -13
- package/esm2020/lib/view-context/api/model/view.mjs +0 -2
- package/esm2020/lib/view-context/api/model/viewContext.mjs +0 -2
- package/esm2020/lib/view-context/api/model/viewContextData.mjs +0 -2
- package/esm2020/lib/view-context/api/model/viewPlaceholder.mjs +0 -13
- package/esm2020/lib/view-context/invalid-fields-snack-bar/invalid-fields-snack-bar.component.mjs +0 -19
- package/esm2020/lib/view-context/message-dialog/message-dialog.component.mjs +0 -66
- package/esm2020/lib/view-context/smart-ui-action/components/success-snack-bar/success-snack-bar.component.mjs +0 -30
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-file-upload-dialog/ui-action-file-upload-dialog.component.mjs +0 -72
- package/esm2020/lib/view-context/smart-ui-action/dialogs/ui-action-input-dialog/ui-action-input-dialog.component.mjs +0 -126
- package/esm2020/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +0 -146
- package/esm2020/lib/view-context/smart-ui-action/ui-action.descriptor.service.mjs +0 -180
- package/esm2020/lib/view-context/smart-ui-action/ui-action.service.mjs +0 -211
- package/esm2020/lib/view-context/smart-view-context-dialog.service.mjs +0 -54
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.component.mjs +0 -29
- package/esm2020/lib/view-context/smart-view-context-error-dialog/smart-view-context-error-dialog.service.mjs +0 -69
- package/esm2020/lib/view-context/smart-view-context.interceptor.mjs +0 -39
- package/esm2020/lib/view-context/smart-view-context.module.mjs +0 -222
- package/esm2020/lib/view-context/smart-view-context.service.mjs +0 -685
- package/esm2020/lib/view-context/smart-view-redirect/smart-view-redirect.mjs +0 -33
- package/esm2020/lib/view-context/utility/smart-object-utility.mjs +0 -30
- package/esm2020/lib/view-context/utility/smart-style-utility.mjs +0 -68
- package/esm2020/lib/view-context/value-api/api/value.service.mjs +0 -138
- package/esm2020/lib/view-context/value-api/api.module.mjs +0 -40
- package/esm2020/lib/view-context/value-api/configuration.mjs +0 -91
- package/esm2020/lib/view-context/value-api/model/genericValue.mjs +0 -13
- package/esm2020/lib/view-context/value-api/model/value.mjs +0 -13
- package/esm2020/lib/view-context/value-api/model/valueSetDefinition.mjs +0 -2
- package/esm2020/lib/view-context/value-api/model/valueSetDefinitionIdentifier.mjs +0 -13
- package/esm2020/lib/view-context/value-api/model/valueSetOperand.mjs +0 -2
- package/esm2020/lib/view-context/value-api/param.mjs +0 -2
- package/fesm2015/smartbit4all-ng-client.mjs +0 -16437
- package/fesm2015/smartbit4all-ng-client.mjs.map +0 -1
- package/fesm2020/smartbit4all-ng-client.mjs.map +0 -1
- package/smartbit4all-ng-client-3.3.206.tgz +0 -0
- package/src/lib/component-factory-service/README.md +0 -99
- package/src/lib/session/api/README.md +0 -226
- package/src/lib/smart-component-layout/README.md +0 -31
- package/src/lib/smart-component-layout/api/README.md +0 -226
- package/src/lib/smart-dialog/README.md +0 -197
- package/src/lib/smart-expandable-section/README.md +0 -249
- package/src/lib/smart-filter/README.md +0 -101
- package/src/lib/smart-filter-editor/api/README.md +0 -226
- package/src/lib/smart-form/README.md +0 -1178
- package/src/lib/smart-form/api/README.md +0 -226
- package/src/lib/smart-grid/README.md +0 -24
- package/src/lib/smart-grid/api/grid-api/README.md +0 -226
- package/src/lib/smart-icon/README.md +0 -116
- package/src/lib/smart-navbar/README.md +0 -119
- package/src/lib/smart-navigation/README.md +0 -141
- package/src/lib/smart-tab-group/README.md +0 -155
- package/src/lib/smart-table/README.md +0 -667
- package/src/lib/smart-tree/tree-api/README.md +0 -226
- package/src/lib/view-context/api/README.md +0 -226
- package/src/lib/view-context/value-api/README.md +0 -226
|
@@ -1,225 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { Subject } from 'rxjs';
|
|
3
|
-
import { SmartSubject } from '../smart-subject/projects';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "./api";
|
|
6
|
-
import * as i2 from "./cookie-service/smart-cookie.service";
|
|
7
|
-
export class SmartSessionService {
|
|
8
|
-
constructor(apiService, cookieService) {
|
|
9
|
-
this.apiService = apiService;
|
|
10
|
-
this.cookieService = cookieService;
|
|
11
|
-
this._destroy$ = new Subject();
|
|
12
|
-
this.isAuthenticated = false;
|
|
13
|
-
this.authenticationStateChanged = new SmartSubject(this._destroy$);
|
|
14
|
-
this.headerParams = new Array();
|
|
15
|
-
this.headersUpdated = new SmartSubject(this._destroy$);
|
|
16
|
-
// Locale
|
|
17
|
-
this.localStorageLocaleName = 'locale';
|
|
18
|
-
this.localeChanged = new SmartSubject(this._destroy$);
|
|
19
|
-
this.sessionExpiracyChanged = new SmartSubject(this._destroy$);
|
|
20
|
-
}
|
|
21
|
-
get sessionInfoData() {
|
|
22
|
-
return this._sessionInfoData;
|
|
23
|
-
}
|
|
24
|
-
set sessionInfoData(sessionInfoData) {
|
|
25
|
-
let expiracyChanged = this.sessionInfoData?.expiration !== sessionInfoData?.expiration;
|
|
26
|
-
this._sessionInfoData = sessionInfoData;
|
|
27
|
-
if (expiracyChanged) {
|
|
28
|
-
this.sessionExpiracyChanged.next();
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
ngOnDestroy() {
|
|
32
|
-
this._destroy$.next();
|
|
33
|
-
this._destroy$.complete();
|
|
34
|
-
}
|
|
35
|
-
setSessionHandlerService(smartSessionHandlerService) {
|
|
36
|
-
this.sessionHandlerService = smartSessionHandlerService;
|
|
37
|
-
}
|
|
38
|
-
async handleSessionError(sessionError) {
|
|
39
|
-
if (this.sessionHandlerService) {
|
|
40
|
-
await this.sessionHandlerService.handleSessionError(sessionError);
|
|
41
|
-
}
|
|
42
|
-
throw new Error(`sessionHandlerService was not initialized. Error: ${sessionError.code}`);
|
|
43
|
-
}
|
|
44
|
-
addHeaderParam(headerParam) {
|
|
45
|
-
if (this.headerParams.find((h) => h.headerName === headerParam.headerName)) {
|
|
46
|
-
let index = this.headerParams.findIndex((h) => h.headerName === headerParam.headerName);
|
|
47
|
-
this.headerParams[index].value = headerParam.value;
|
|
48
|
-
}
|
|
49
|
-
else {
|
|
50
|
-
this.headerParams.push(headerParam);
|
|
51
|
-
}
|
|
52
|
-
this.headersUpdated.next();
|
|
53
|
-
}
|
|
54
|
-
setUpTokenForSessionService() {
|
|
55
|
-
this.addHeaderParam({
|
|
56
|
-
headerName: 'Authorization',
|
|
57
|
-
value: `Bearer ${this.token}`,
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
setUrl(url) {
|
|
61
|
-
this.basePath = url;
|
|
62
|
-
}
|
|
63
|
-
getBasePath() {
|
|
64
|
-
if (!this.basePath) {
|
|
65
|
-
throw new Error('BasePath has not been set in SmartSessionService!');
|
|
66
|
-
}
|
|
67
|
-
return this.basePath;
|
|
68
|
-
}
|
|
69
|
-
setCookieName(name) {
|
|
70
|
-
this.cookieName = name;
|
|
71
|
-
}
|
|
72
|
-
saveTokenToLocalStorage() {
|
|
73
|
-
if (this.sessionInfoData && this.cookieName) {
|
|
74
|
-
localStorage.setItem('token', this.sessionInfoData.sid);
|
|
75
|
-
if (this.sessionInfoData.refreshToken &&
|
|
76
|
-
this.sessionInfoData.refreshToken !== localStorage.getItem('refreshToken')) {
|
|
77
|
-
localStorage.setItem('refreshToken', this.sessionInfoData.refreshToken);
|
|
78
|
-
}
|
|
79
|
-
this.cookieService.set(this.cookieName, this.token);
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
setAuthenticationStatus() {
|
|
83
|
-
if (this.sessionInfoData && this.sessionInfoData.authentications) {
|
|
84
|
-
this.isAuthenticated = this.sessionInfoData.authentications.length > 0;
|
|
85
|
-
}
|
|
86
|
-
this.authenticationStateChanged.next(this.isAuthenticated);
|
|
87
|
-
}
|
|
88
|
-
checkStatements() {
|
|
89
|
-
if (!this.basePath) {
|
|
90
|
-
throw new Error('The url of the backend api has not been set!');
|
|
91
|
-
}
|
|
92
|
-
else if (!this.cookieName) {
|
|
93
|
-
throw new Error('The name of the cookie required by the backend has not been set!');
|
|
94
|
-
}
|
|
95
|
-
}
|
|
96
|
-
async initialize() {
|
|
97
|
-
if (this.initializeRunning) {
|
|
98
|
-
return this.initializeRunning.toPromise();
|
|
99
|
-
}
|
|
100
|
-
else {
|
|
101
|
-
this.initializeRunning = new SmartSubject(this._destroy$);
|
|
102
|
-
try {
|
|
103
|
-
this.checkStatements();
|
|
104
|
-
let tokenFromLocalStorage = localStorage.getItem('token');
|
|
105
|
-
let tokenFromCookies = this.cookieService.get(this.cookieName);
|
|
106
|
-
if (tokenFromLocalStorage &&
|
|
107
|
-
tokenFromCookies &&
|
|
108
|
-
tokenFromLocalStorage === tokenFromCookies) {
|
|
109
|
-
this.token = tokenFromLocalStorage;
|
|
110
|
-
this.setUpTokenForSessionService();
|
|
111
|
-
try {
|
|
112
|
-
await this.getSession();
|
|
113
|
-
}
|
|
114
|
-
catch (err) {
|
|
115
|
-
await this.startSession();
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
else {
|
|
119
|
-
await this.clearAndStartNewSession();
|
|
120
|
-
}
|
|
121
|
-
if (this.sessionInfoData && this.sessionInfoData.locale) {
|
|
122
|
-
localStorage.setItem(this.localStorageLocaleName, this.sessionInfoData.locale);
|
|
123
|
-
this.localeChanged.next();
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
finally {
|
|
127
|
-
this.initializeRunning.complete();
|
|
128
|
-
this.initializeRunning = undefined;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
async startSession() {
|
|
133
|
-
let sessionInfo = await this.apiService.startSession().toPromise();
|
|
134
|
-
if (sessionInfo) {
|
|
135
|
-
this.sessionInfoData = sessionInfo;
|
|
136
|
-
this.token = sessionInfo.sid;
|
|
137
|
-
this.saveTokenToLocalStorage();
|
|
138
|
-
this.setAuthenticationStatus();
|
|
139
|
-
this.setUpTokenForSessionService();
|
|
140
|
-
}
|
|
141
|
-
return this.sessionInfoData;
|
|
142
|
-
}
|
|
143
|
-
async getSession() {
|
|
144
|
-
let sessionInfo = await this.apiService.getSession().toPromise();
|
|
145
|
-
if (sessionInfo) {
|
|
146
|
-
this.sessionInfoData = sessionInfo;
|
|
147
|
-
this.token = sessionInfo.sid;
|
|
148
|
-
this.saveTokenToLocalStorage();
|
|
149
|
-
this.setAuthenticationStatus();
|
|
150
|
-
}
|
|
151
|
-
return this.sessionInfoData;
|
|
152
|
-
}
|
|
153
|
-
async refreshSession() {
|
|
154
|
-
let refreshToken = localStorage.getItem('refreshToken');
|
|
155
|
-
if (!refreshToken) {
|
|
156
|
-
return await this.startSession();
|
|
157
|
-
}
|
|
158
|
-
let sessionInfo = await this.apiService
|
|
159
|
-
.refreshSession({
|
|
160
|
-
refreshToken,
|
|
161
|
-
})
|
|
162
|
-
.toPromise()
|
|
163
|
-
.catch(async (error) => {
|
|
164
|
-
if (error.error &&
|
|
165
|
-
error.error.code &&
|
|
166
|
-
error.error.code === 'session.refreshtoken.invalid') {
|
|
167
|
-
await this.startSession();
|
|
168
|
-
}
|
|
169
|
-
});
|
|
170
|
-
if (sessionInfo) {
|
|
171
|
-
this.sessionInfoData = sessionInfo;
|
|
172
|
-
this.token = sessionInfo.sid;
|
|
173
|
-
this.saveTokenToLocalStorage();
|
|
174
|
-
this.setAuthenticationStatus();
|
|
175
|
-
this.setUpTokenForSessionService();
|
|
176
|
-
}
|
|
177
|
-
return this.sessionInfoData;
|
|
178
|
-
}
|
|
179
|
-
async getAuthenticationProviders() {
|
|
180
|
-
let providers = await this.apiService
|
|
181
|
-
.getAuthenticationProviders()
|
|
182
|
-
.toPromise();
|
|
183
|
-
this.providers = providers?.authenticationProviders;
|
|
184
|
-
return this.providers;
|
|
185
|
-
}
|
|
186
|
-
async getIsAuthenticated() {
|
|
187
|
-
if (this.sessionInfoData) {
|
|
188
|
-
return this.isAuthenticated;
|
|
189
|
-
}
|
|
190
|
-
await this.getSession();
|
|
191
|
-
return this.isAuthenticated;
|
|
192
|
-
}
|
|
193
|
-
async clearAndStartNewSession() {
|
|
194
|
-
sessionStorage.clear();
|
|
195
|
-
localStorage.clear();
|
|
196
|
-
this.headerParams = [];
|
|
197
|
-
this.cookieService.delete(this.cookieName);
|
|
198
|
-
await this.startSession();
|
|
199
|
-
}
|
|
200
|
-
getLocale() {
|
|
201
|
-
if (this.sessionInfoData && this.sessionInfoData.locale) {
|
|
202
|
-
if (localStorage.getItem(this.localStorageLocaleName) !== this.sessionInfoData.locale) {
|
|
203
|
-
localStorage.setItem(this.localStorageLocaleName, this.sessionInfoData.locale);
|
|
204
|
-
}
|
|
205
|
-
return this.sessionInfoData.locale;
|
|
206
|
-
}
|
|
207
|
-
throw new Error('There is no SessionInfoData or locale is undefined.');
|
|
208
|
-
}
|
|
209
|
-
async changeLocale(locale) {
|
|
210
|
-
this.sessionInfoData = await this.apiService.setLocale(locale).toPromise();
|
|
211
|
-
if (this.sessionInfoData && this.sessionInfoData.locale) {
|
|
212
|
-
localStorage.setItem(this.localStorageLocaleName, this.sessionInfoData.locale);
|
|
213
|
-
this.localeChanged.next();
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
}
|
|
217
|
-
SmartSessionService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionService, deps: [{ token: i1.SessionService }, { token: i2.SmartCookieService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
218
|
-
SmartSessionService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionService, providedIn: 'root' });
|
|
219
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionService, decorators: [{
|
|
220
|
-
type: Injectable,
|
|
221
|
-
args: [{
|
|
222
|
-
providedIn: 'root',
|
|
223
|
-
}]
|
|
224
|
-
}], ctorParameters: function () { return [{ type: i1.SessionService }, { type: i2.SmartCookieService }]; } });
|
|
225
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtc2Vzc2lvbi5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc21hcnQtbmctY2xpZW50L3NyYy9saWIvc2Vzc2lvbi9zbWFydC1zZXNzaW9uLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQ0EsT0FBTyxFQUFFLFVBQVUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sTUFBTSxDQUFDO0FBVS9CLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSwyQkFBMkIsQ0FBQzs7OztBQVN6RCxNQUFNLE9BQU8sbUJBQW1CO0lBcUM5QixZQUFvQixVQUEwQixFQUFVLGFBQWlDO1FBQXJFLGVBQVUsR0FBVixVQUFVLENBQWdCO1FBQVUsa0JBQWEsR0FBYixhQUFhLENBQW9CO1FBakNqRixjQUFTLEdBQWtCLElBQUksT0FBTyxFQUFFLENBQUM7UUFpQjFDLG9CQUFlLEdBQVksS0FBSyxDQUFDO1FBRWpDLCtCQUEwQixHQUFxQixJQUFJLFlBQVksQ0FBQyxJQUFJLENBQUMsU0FBUyxDQUFDLENBQUM7UUFFaEYsaUJBQVksR0FBdUIsSUF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lTmFtZSwgdGhpcy5zZXNzaW9uSW5mb0RhdGEubG9jYWxlKTtcclxuICAgICAgfVxyXG4gICAgICByZXR1cm4gdGhpcy5zZXNzaW9uSW5mb0RhdGEubG9jYWxlO1xyXG4gICAgfVxyXG4gICAgdGhyb3cgbmV3IEVycm9yKCdUaGVyZSBpcyBubyBTZXNzaW9uSW5mb0RhdGEgb3IgbG9jYWxlIGlzIHVuZGVmaW5lZC4nKTtcclxuICB9XHJcblxyXG4gIHB1YmxpYyBhc3luYyBjaGFuZ2VMb2NhbGUobG9jYWxlOiBzdHJpbmcpOiBQcm9taXNlPHZvaWQ+IHtcclxuICAgIHRoaXMuc2Vzc2lvbkluZm9EYXRhID0gYXdhaXQgdGhpcy5hcGlTZXJ2aWNlLnNldExvY2FsZShsb2NhbGUpLnRvUHJvbWlzZSgpO1xyXG4gICAgaWYgKHRoaXMuc2Vzc2lvbkluZm9EYXRhICYmIHRoaXMuc2Vzc2lvbkluZm9EYXRhLmxvY2FsZSkge1xyXG4gICAgICBsb2NhbFN0b3JhZ2Uuc2V0SXRlbSh0aGlzLmxvY2FsU3RvcmFnZUxvY2FsZU5hbWUsIHRoaXMuc2Vzc2lvbkluZm9EYXRhLmxvY2FsZSk7XHJcbiAgICAgIHRoaXMubG9jYWxlQ2hhbmdlZC5uZXh0KCk7XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Injectable } from '@angular/core';
|
|
2
|
-
import { Subject, takeUntil } from 'rxjs';
|
|
3
|
-
import { SmartSubject } from '../../smart-subject/projects';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
import * as i1 from "../smart-session.service";
|
|
6
|
-
export class SmartSessionTimerService {
|
|
7
|
-
constructor(session) {
|
|
8
|
-
this.session = session;
|
|
9
|
-
this._destroy$ = new Subject();
|
|
10
|
-
this.totalTimeInMinutes = 30;
|
|
11
|
-
this.sessionExpiration = 'sessionExpiracy';
|
|
12
|
-
this.timeChanged = new SmartSubject(this._destroy$);
|
|
13
|
-
this.onTimerExpired = new SmartSubject(this._destroy$);
|
|
14
|
-
this.session.sessionExpiracyChanged.pipe(takeUntil(this._destroy$)).subscribe(() => {
|
|
15
|
-
this.restart();
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
ngOnDestroy() {
|
|
19
|
-
this._destroy$.next();
|
|
20
|
-
this._destroy$.complete();
|
|
21
|
-
}
|
|
22
|
-
startTimer() {
|
|
23
|
-
const sessionInfoData = this.session.sessionInfoData;
|
|
24
|
-
const lifetimeSeconds = sessionInfoData?.duration;
|
|
25
|
-
if (lifetimeSeconds && lifetimeSeconds !== 0) {
|
|
26
|
-
this.timeLeftInSeconds = lifetimeSeconds;
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
const expiration = new Date(sessionInfoData.expiration);
|
|
30
|
-
const now = new Date();
|
|
31
|
-
this.timeLeftInSeconds = Math.floor((expiration.getTime() - now.getTime()) / 1000);
|
|
32
|
-
}
|
|
33
|
-
this.timer = setInterval(() => {
|
|
34
|
-
this.timeLeftInSeconds--;
|
|
35
|
-
if (this.timeLeftInSeconds === 0) {
|
|
36
|
-
this.timeout();
|
|
37
|
-
}
|
|
38
|
-
this.timeChanged.next();
|
|
39
|
-
}, 1000);
|
|
40
|
-
}
|
|
41
|
-
restart() {
|
|
42
|
-
clearInterval(this.timer);
|
|
43
|
-
this.startTimer();
|
|
44
|
-
}
|
|
45
|
-
timeout() {
|
|
46
|
-
clearInterval(this.timer);
|
|
47
|
-
this.onTimerExpired.next();
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
SmartSessionTimerService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionTimerService, deps: [{ token: i1.SmartSessionService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
51
|
-
SmartSessionTimerService.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionTimerService, providedIn: 'root' });
|
|
52
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartSessionTimerService, decorators: [{
|
|
53
|
-
type: Injectable,
|
|
54
|
-
args: [{
|
|
55
|
-
providedIn: 'root',
|
|
56
|
-
}]
|
|
57
|
-
}], ctorParameters: function () { return [{ type: i1.SmartSessionService }]; } });
|
|
58
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic21hcnQtc2Vzc2lvbi10aW1lci5zZXJ2aWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvc21hcnQtbmctY2xpZW50L3NyYy9saWIvc2Vzc2lvbi9zbWFydC10aW1lci9zbWFydC1zZXNzaW9uLXRpbWVyLnNlcnZpY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFVBQVUsRUFBYSxNQUFNLGVBQWUsQ0FBQztBQUN0RCxPQUFPLEVBQUUsT0FBTyxFQUFFLFNBQVMsRUFBRSxNQUFNLE1BQU0sQ0FBQztBQUUxQyxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0sOEJBQThCLENBQUM7OztBQUs1RCxNQUFNLE9BQU8sd0JBQXdCO0lBY25DLFlBQW9CLE9BQTRCO1FBQTVCLFlBQU8sR0FBUCxPQUFPLENBQXFCO1FBYnhDLGNBQVMsR0FBa0IsSUFBSSxPQUFPLEVBQUUsQ0FBQztRQUVqRCx1QkFBa0IsR0FBVyxFQUFFLENBQUM7UUFHdkIsc0JBQWlCLEdBQVcsaUJBQWlCLENBQUM7UUFFdkQsZ0JBQVcsR0FBa0IsSUFBSSxZQUFZLENBQUMsSUFBSSxDQUFDLFNBQVMsQ0FBQyxDQUFDO1FBRTlELG1CQUFjLEdBQWtCLElBQ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|
1
|
-
import { NgModule } from '@angular/core';
|
|
2
|
-
import { CommonModule } from '@angular/common';
|
|
3
|
-
import { SmartTooltipDirective } from './smart-tooltip.directive';
|
|
4
|
-
import { SmartDatePipe, SmartDateTimePipe, SmartTimePipe } from './smarttable.date-pipe';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export class SharedModule {
|
|
7
|
-
}
|
|
8
|
-
SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
9
|
-
SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SharedModule, declarations: [SmartTooltipDirective, SmartDateTimePipe, SmartDatePipe, SmartTimePipe], imports: [CommonModule], exports: [SmartTooltipDirective, SmartDateTimePipe, SmartDatePipe, SmartTimePipe] });
|
|
10
|
-
SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SharedModule, imports: [[CommonModule]] });
|
|
11
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SharedModule, decorators: [{
|
|
12
|
-
type: NgModule,
|
|
13
|
-
args: [{
|
|
14
|
-
declarations: [SmartTooltipDirective, SmartDateTimePipe, SmartDatePipe, SmartTimePipe],
|
|
15
|
-
imports: [CommonModule],
|
|
16
|
-
exports: [SmartTooltipDirective, SmartDateTimePipe, SmartDatePipe, SmartTimePipe],
|
|
17
|
-
}]
|
|
18
|
-
}] });
|
|
19
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic2hhcmVkLm1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL3NtYXJ0LW5nLWNsaWVudC9zcmMvbGliL3N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VjdGl2ZSc7XHJcbmltcG9ydCB7IFNtYXJ0RGF0ZVBpcGUsIFNtYXJ0RGF0ZVRpbWVQaXBlLCBTbWFydFRpbWVQaXBlIH0gZnJvbSAnLi9zbWFydHRhYmxlLmRhdGUtcGlwZSc7XHJcblxyXG5ATmdNb2R1bGUoe1xyXG4gIGRlY2xhcmF0aW9uczogW1NtYXJ0VG9vbHRpcERpcmVjdGl2ZSwgU21hcnREYXRlVGltZVBpcGUsIFNtYXJ0RGF0ZVBpcGUsIFNtYXJ0VGltZVBpcGVdLFxyXG4gIGltcG9ydHM6IFtDb21tb25Nb2R1bGVdLFxyXG4gIGV4cG9ydHM6IFtTbWFydFRvb2x0aXBEaXJlY3RpdmUsIFNtYXJ0RGF0ZVRpbWVQaXBlLCBTbWFydERhdGVQaXBlLCBTbWFydFRpbWVQaXBlXSxcclxufSlcclxuZXhwb3J0IGNsYXNzIFNoYXJlZE1vZHVsZSB7fVxyXG4iXX0=
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { Directive, HostBinding, HostListener, Input } from '@angular/core';
|
|
2
|
-
import { MatTooltip } from '@angular/material/tooltip';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
import * as i1 from "@angular/material/tooltip";
|
|
5
|
-
export class SmartTooltipDirective {
|
|
6
|
-
constructor(tooltip) {
|
|
7
|
-
this.tooltip = tooltip;
|
|
8
|
-
this.cursor = 'pointer';
|
|
9
|
-
}
|
|
10
|
-
mouseover() {
|
|
11
|
-
if (!this.smartTooltip)
|
|
12
|
-
return;
|
|
13
|
-
this.tooltip.message = this.smartTooltip.tooltip;
|
|
14
|
-
this.tooltip.position = this.getTooltipPos(this.smartTooltip.tooltipPosition);
|
|
15
|
-
this.tooltip.showDelay = this.getTooltipDelay(this.smartTooltip.tooltipDelay);
|
|
16
|
-
this.tooltip.tooltipClass = 'override-mouse-over-display';
|
|
17
|
-
this.tooltip.show();
|
|
18
|
-
}
|
|
19
|
-
mouseleave() {
|
|
20
|
-
this.tooltip.tooltipClass = 'override-mouse-out-display';
|
|
21
|
-
this.tooltip.hide();
|
|
22
|
-
}
|
|
23
|
-
getTooltipPos(pos) {
|
|
24
|
-
if (pos) {
|
|
25
|
-
return pos.toLowerCase();
|
|
26
|
-
}
|
|
27
|
-
else {
|
|
28
|
-
return 'before';
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
getTooltipDelay(delay) {
|
|
32
|
-
return delay ? delay : 1000;
|
|
33
|
-
}
|
|
34
|
-
getTooltipHideDelay(delay) {
|
|
35
|
-
return delay ? delay : 2000;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
SmartTooltipDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartTooltipDirective, deps: [{ token: i1.MatTooltip }], target: i0.ɵɵFactoryTarget.Directive });
|
|
39
|
-
SmartTooltipDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.4.0", type: SmartTooltipDirective, selector: "[smartTooltip]", inputs: { smartTooltip: "smartTooltip" }, host: { listeners: { "mouseover": "mouseover()", "mouseleave": "mouseleave()" }, properties: { "style.cursor": "this.cursor" } }, providers: [MatTooltip], ngImport: i0 });
|
|
40
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImport: i0, type: SmartTooltipDirective, decorators: [{
|
|
41
|
-
type: Directive,
|
|
42
|
-
args: [{
|
|
43
|
-
selector: '[smartTooltip]',
|
|
44
|
-
providers: [MatTooltip],
|
|
45
|
-
}]
|
|
46
|
-
}], ctorParameters: function () { return [{ type: i1.MatTooltip }]; }, propDecorators: { smartTooltip: [{
|
|
47
|
-
type: Input
|
|
48
|
-
}], cursor: [{
|
|
49
|
-
type: HostBinding,
|
|
50
|
-
args: ['style.cursor']
|
|
51
|
-
}], mouseover: [{
|
|
52
|
-
type: HostListener,
|
|
53
|
-
args: ['mouseover']
|
|
54
|
-
}], mouse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