@smartbit4all/ng-client 7.0.7 → 7.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartbit4all/ng-client",
3
- "version": "7.0.7",
3
+ "version": "7.0.10",
4
4
  "description": "Angular client library for the smartbit4all platform — a server-driven UI framework that renders views, pages, forms, grids, trees and dialogs from backend (ViewApi/PageApi) definitions. Provides reactive view-context state management, dynamic component layouts and OpenAPI-generated BFF clients.",
5
5
  "sideEffects": false,
6
6
  "peerDependencies": {
@@ -1,6 +1,6 @@
1
1
  import { HttpFeature, HttpFeatureKind, HttpParameterCodec, HttpClient, HttpHeaders, HttpContext, HttpResponse, HttpEvent, HttpErrorResponse } from '@angular/common/http';
2
2
  import * as i0 from '@angular/core';
3
- import { InjectionToken, ComponentRef, OnDestroy, ViewContainerRef, ElementRef, ChangeDetectorRef, Signal, EffectRef, OnInit, AfterViewInit, WritableSignal, Provider, EnvironmentProviders, OnChanges, SimpleChanges, PipeTransform, QueryList, Injector, Renderer2, AfterViewChecked, ApplicationRef } from '@angular/core';
3
+ import { InjectionToken, ComponentRef, OnDestroy, ViewContainerRef, ElementRef, ChangeDetectorRef, Signal, EffectRef, OnInit, AfterViewInit, WritableSignal, Provider, EnvironmentProviders, OnChanges, SimpleChanges, PipeTransform, QueryList, AnimationCallbackEvent, Injector, Renderer2, AfterViewChecked, ApplicationRef } from '@angular/core';
4
4
  import { ComponentType as ComponentType$1 } from '@angular/cdk/portal';
5
5
  import { ValidatorFn, UntypedFormGroup, ControlValueAccessor } from '@angular/forms';
6
6
  import { Observable, Subject as Subject$1, Subscription } from 'rxjs';
@@ -7048,7 +7048,8 @@ declare class Table implements OnInit, OnDestroy {
7048
7048
  protected cfService: ComponentFactoryService;
7049
7049
  protected changeDetector: ChangeDetectorRef;
7050
7050
  _destroy$: Subject$1<void>;
7051
- vcRef?: ViewContainerRef[];
7051
+ /** The detail row's container; the table renders one for the expanded row only. */
7052
+ vcRef?: QueryList<ViewContainerRef>;
7052
7053
  componentRef?: ComponentRef<any>;
7053
7054
  defaultActionMenuComponents: QueryList<DefaultActionsPopupComponent>;
7054
7055
  myTableChild: MatTable<any>;
@@ -7060,6 +7061,16 @@ declare class Table implements OnInit, OnDestroy {
7060
7061
  highlightedRows: any[];
7061
7062
  sortEvent: Subject$1<SmartTableHeader>;
7062
7063
  expandedElement: any | null;
7064
+ /** The `when` predicate of the detail row definition. */
7065
+ isExpandedRow: (_index: number, row: any) => boolean;
7066
+ /**
7067
+ * `animate.leave` of the detail row: collapses the detail the way it expanded, then lets
7068
+ * the row go. A class on the detail itself would not do — the row is what leaves, and
7069
+ * Angular does not look for leave animations behind the `mat-row` component boundary.
7070
+ * Angular calls this once for detaching and once for destroying the row; both wait for
7071
+ * the one animation.
7072
+ */
7073
+ onDetailRowLeave(event: AnimationCallbackEvent): void;
7063
7074
  triggers: QueryList<MatMenuTrigger>;
7064
7075
  element?: any;
7065
7076
  cellToActionMap: Record<string, any[]>;
@@ -9265,6 +9276,7 @@ declare class SmartComponentLayoutComponent implements AfterViewInit, AfterViewC
9265
9276
  smartGrid?: SmartGrid;
9266
9277
  mapId?: string;
9267
9278
  smartDiagramId?: string;
9279
+ filterId?: string;
9268
9280
  toolbarId?: string;
9269
9281
  toolbarPropertes?: ToolbarProperties;
9270
9282
  treeService?: SmarttreeGenericService;
@@ -9285,6 +9297,7 @@ declare class SmartComponentLayoutComponent implements AfterViewInit, AfterViewC
9285
9297
  constructGrid(): void;
9286
9298
  constructMap(): void;
9287
9299
  construcDiagram(): void;
9300
+ constructFilter(): void;
9288
9301
  constructTree(): void;
9289
9302
  constructToolbar(): void;
9290
9303
  constructEmbeddedSlot(): void;
@@ -9948,6 +9961,25 @@ declare class SmartFilterEditorContentComponent implements OnInit, AfterViewInit
9948
9961
  static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterEditorContentComponent, "smart-filter-expression-editor", never, { "service": { "alias": "service"; "required": false; }; }, {}, never, never, true, never>;
9949
9962
  }
9950
9963
 
9964
+ /**
9965
+ * A filter builder placed in a component layout. The identifier is the builder's filterId in the
9966
+ * view: the widget loads the builder by it, and the editor inside registers itself with the
9967
+ * screen component above under the same id for push updates. Each widget owns its own
9968
+ * SmartFilterEditorService.
9969
+ */
9970
+ declare class SmartFilterWidgetComponent implements OnChanges {
9971
+ readonly service: SmartFilterEditorService;
9972
+ /** The screen component this builder belongs to; the source of its uuid. (ADR-0005) */
9973
+ private readonly smartComponent;
9974
+ readonly identifier: i0.InputSignal<string>;
9975
+ uuid?: string;
9976
+ constructor();
9977
+ ngOnChanges(): void;
9978
+ private configure;
9979
+ static ɵfac: i0.ɵɵFactoryDeclaration<SmartFilterWidgetComponent, never>;
9980
+ static ɵcmp: i0.ɵɵComponentDeclaration<SmartFilterWidgetComponent, "smart-filter-widget", never, { "identifier": { "alias": "identifier"; "required": true; "isSignal": true; }; "uuid": { "alias": "uuid"; "required": false; }; }, {}, never, never, true, never>;
9981
+ }
9982
+
9951
9983
  declare const USE_ADVANCED_FILTER: InjectionToken<boolean>;
9952
9984
 
9953
9985
  declare class SmartTooltipDirective {
@@ -10363,5 +10395,5 @@ declare class InvalidSmartlinkComponent extends SmartComponent<Object> {
10363
10395
  static ɵcmp: i0.ɵɵComponentDeclaration<InvalidSmartlinkComponent, "lib-invalid-smartlink", never, {}, {}, never, never, true, never>;
10364
10396
  }
10365
10397
 
10366
- export { ACLEntry, APIS, AclEditingViewComponent, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CloseResult, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionBuilderUiModelTypeEnum, FilterExpressionDataType$1 as FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation$1 as FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GenericPageComponent, GeoMapDataLoadingMode, GeoMapDataSourceType, GeoMapItemKind, GeoMapOperationMode, GeoMapSelectionMode, GeoMapTextType, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, InvalidSmartlinkComponent, LayoutDirection, LinkTargetEnum, MAP_ENGINE, MapEngine, MenuOpenDirection, MenuTriggerType, MessageOptionType, MessageTextType, MessageType, NAMED_VALIDATOR, NamedValidatorOperationEnum, NamedValidatorService, NoPermissionPageComponent, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_NG_CLIENT_CONFIG, SearchPageComponent, SelectionDefinitionTypeEnum, SelectionDefinitionValueSetValueTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartActionHost, SmartActionType, SmartBackendBootstrapService, SmartComponent, SmartComponentApiClient, SmartComponentDetachedDirective, SmartComponentHost, SmartComponentLayoutComponent, SmartDateFnsAdapter, SmartDatePipe, SmartDateTimePipe, SmartDefaultErrorUiService, SmartDiagramComponent, SmartDialog, SmartEmbeddedSlotDirective, SmartExpandableSectionService, SmartFileEditorComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorService, SmartFilterExpressionFieldComponent, SmartFilterPosition, SmartFilterType, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridService, SmartGridType, SmartIconComponent, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkMigrationStatusStatusEnum, SmartLinkUuidVariableInPath, SmartMapComponent, SmartMultiFileEditorComponent, SmartNavbarComponent, SmartNavbarService, SmartNavigationService, SmartNgClientFeatureKind, SmartService, SmartSessionService, SmartSessionTimerComponent, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarDirection, TreeArrowPosition, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, multiAxisLineChart, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
10398
+ export { ACLEntry, APIS, AclEditingViewComponent, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CloseResult, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionBuilderUiModelTypeEnum, FilterExpressionDataType$1 as FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation$1 as FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GenericPageComponent, GeoMapDataLoadingMode, GeoMapDataSourceType, GeoMapItemKind, GeoMapOperationMode, GeoMapSelectionMode, GeoMapTextType, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, InvalidSmartlinkComponent, LayoutDirection, LinkTargetEnum, MAP_ENGINE, MapEngine, MenuOpenDirection, MenuTriggerType, MessageOptionType, MessageTextType, MessageType, NAMED_VALIDATOR, NamedValidatorOperationEnum, NamedValidatorService, NoPermissionPageComponent, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_NG_CLIENT_CONFIG, SearchPageComponent, SelectionDefinitionTypeEnum, SelectionDefinitionValueSetValueTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SmartActionHost, SmartActionType, SmartBackendBootstrapService, SmartComponent, SmartComponentApiClient, SmartComponentDetachedDirective, SmartComponentHost, SmartComponentLayoutComponent, SmartDateFnsAdapter, SmartDatePipe, SmartDateTimePipe, SmartDefaultErrorUiService, SmartDiagramComponent, SmartDialog, SmartEmbeddedSlotDirective, SmartExpandableSectionService, SmartFileEditorComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorService, SmartFilterExpressionFieldComponent, SmartFilterPosition, SmartFilterType, SmartFilterWidgetComponent, SmartFormInputMode, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridService, SmartGridType, SmartIconComponent, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkMigrationStatusStatusEnum, SmartLinkUuidVariableInPath, SmartMapComponent, SmartMultiFileEditorComponent, SmartNavbarComponent, SmartNavbarService, SmartNavigationService, SmartNgClientFeatureKind, SmartService, SmartSessionService, SmartSessionTimerComponent, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarDirection, TreeArrowPosition, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, multiAxisLineChart, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
10367
10399
  export type { ACL, AccountInfo, ApiError, ApiQueueCall, AuthenticationProviderData, BackgroundProcessInfo, BadgeDescriptor, ClipboardData, ComponentConstraint, ComponentModel, ComponentModelChange, ConfigurationParameters$1 as ConfigurationParameters, Coord, DataChange, DataChangeEvent, DataFormat$1 as DataFormat, DataType$1 as DataType, DateFieldProperties, DefaultErrorUiLanguage, DefaultErrorUiOptions, DefaultErrorUiStrings, DefaultViewComponentEntry, DeviceInfo, DiagramColor, DiagramDataContainer, DiagramDataItem, DiagramDataSet, DiagramDescriptor, DiagramFactory, DiagramModel, DivProperties, DownloadedFile, EditFolderAction, ExecuteUiActionOptions, ExpandableSection, ExpandableSectionButton, ExpandableSectionStateChange, FileUploaderProperties, FilterExpressionBuilderApiConfig, FilterExpressionBuilderField, FilterExpressionBuilderGroup, FilterExpressionBuilderModel, FilterExpressionBuilderUiModel, FilterExpressionData$1 as FilterExpressionData, FilterExpressionField, FilterExpressionFieldEditor, FilterExpressionFieldList, FilterExpressionList$1 as FilterExpressionList, FilterExpressionOperandData$1 as FilterExpressionOperandData, FilterExpressionOrderBy, GPSPosition, GPSRoute, GeoMapChange, GeoMapDataSourceDescriptor, GeoMapEditingSession, GeoMapInteraction, GeoMapItem, GeoMapLayer, GeoMapLayerChange, GeoMapLayerDescriptor, GeoMapModel, GeoMapServerModel, GeoMapViewState, GeoMapViewport, GetAuthenticationProvidersResponse, GridColumnMeta, GridDataAccessConfig, GridExportDescriptor, GridModel, GridOptions, GridPage, GridRow, GridRowLayoutDescriptor, GridSelectionChange, GridServerModel, GridUpdateData, GridView, GridViewDescriptor, HeaderParam, ISmartFilterEditorService, ImageProperties, ImageResource, InvocationRequest$1 as InvocationRequest, LabelText, LayoutDefinitionDescriptor, Link, MapClickedEvent, MapDraggedEvent, MapEditingItemClickedEvent, MapEditingItemDraggedEvent, MapItemClickedEvent, MapItemConfiguration, MapZoomChangedEvent, MenuDescriptor, MessageData, MessageOption, MessageResult, MultiComboBoxElement, MultiComboBoxModel, MultiFileUploaderProperties, NamedValidator, OpenPendingData, Param$1 as Param, ParamLocation$1 as ParamLocation, ParamStyle$1 as ParamStyle, PropertyDefinitionData, PropertyMapping, PublishedViewData, RecordingUploaderProperties, RefreshSessionRequest, ResolvedSlot, ResolvedSmartNgClientConfig, SearchIndexObjectDefinitionData, SearchIndexPropertyDefinitionData, SearchPageModel, SelectionDefinition, ServerRequestExecutionStat, ServerRequestTrack, Session, SessionError, SessionInfoData, ShellProperty, SlotKind, SmartBackendBootstrapConfig, SmartBackendBootstrapCredentials, SmartButton, SmartCheckBox, SmartCheckBox2, SmartComponentCollectInvalidFieldsCommand, SmartComponentCommand, SmartComponentFileUploader, SmartComponentInvalidFields, SmartComponentLayoutDefinition, SmartComponentSubmitCommand, SmartComponentWidgetChangedCommand, SmartComponentWidgetDefinition, SmartContainer, SmartContent, SmartDatePicker, SmartDateTimePicker, SmartDialogData, SmartDialogSize, SmartDiv, SmartDivider, SmartEmbeddedViewRef, SmartErrorDialogLabels, SmartFileUploader, SmartFileUploaderI18n, SmartFilter, SmartFilterEditorConfig, SmartForm, SmartFormComponentConstraint, SmartFormInlineComponent, SmartFormInvalidFields, SmartFormTextFieldButton, SmartFormWidget, SmartGrid, SmartGridButton, SmartGridData, SmartIconSet, SmartImage, SmartIndicator, SmartIndicatorItem, SmartItem, SmartItemGroup, SmartItems, SmartLabel, SmartLayoutDefinition, SmartLinkData, SmartLinkMigrationStatus, SmartMatrix, SmartMatrixButton, SmartMatrixModel, SmartMonthPicker, SmartMultiFileUploader, SmartNavbar, SmartNgClientConfig, SmartNgClientFeature, SmartNotification, SmartRadioButton, SmartRecordingUploader, SmartRichText, SmartSearchBar, SmartSearchRequest, SmartSelect, SmartSelectMultiple, SmartSessionHandlerService, SmartSortable, SmartSvg, SmartTableButton, SmartTableGridInterface, SmartTableHeader, SmartTableHeaderIcons, SmartTableHeaderProperties, SmartTableIcon, SmartTableInterface, SmartTableInterfaceType, SmartTableOption, SmartTableRowExpander, SmartTextBox, SmartTextField, SmartTextFieldChips, SmartTextFieldLookup, SmartTextFieldNumber, SmartTime, SmartToggle, SmartTreeModel, SmartTreeNode, SmartTreeNodeButton, SmartTreeNodeType, SmartUserSetting, SmartUserSettings, SmartValidator, SmartViewContextApiError, SmartViewContextApiErrors, SmartViewDialogRef, SmartViewHandlerModel, SmartWidgetDefinition, SmartWidgetHint, SmartWidgetHintConfig, SmartWidgetRegistration, SmartYoutubePlayer, SmartformLayoutCreateWidgetConfig, SmarttreeConfiguration, SophisticatedValueChange, SortDefinition, StandardDataFormat$1 as StandardDataFormat, StandardDataType$1 as StandardDataType, StandardParamStyle$1 as StandardParamStyle, StatisticRecord, StoredCollectionDescriptor, Style, Subject, TextBoxProperties, TextFieldProperties, ThemeDefinition, ThemeDescriptor, ThemeShellDescriptor, ToolbarEntry, ToolbarProperties, TreeStyle, UiAction, UiActionAdditionalParams, UiActionButtonDescriptor, UiActionConstraint, UiActionDefinition, UiActionDefinitionEntry, UiActionDescriptor, UiActionDialogDescriptor, UiActionExecutor, UiActionModel, UiActionRequest, UiActionSchedule, UiActionSpecificDemandResponse, UiActionTooltip, UiActionUploadDescriptor, UploadedFile, UserActivityLog, ValidatedWidget, ValidatorFactory, ValidatorParameters, Value$1 as Value, ValueSet, ValueSetData, View, ViewApiError, ViewConstraint, ViewContext, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewEventHandler, ViewPlaceholder, ViewStateUpdate };
Binary file