@smartbit4all/ng-client 7.3.49 → 7.3.50

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.3.49",
3
+ "version": "7.3.50",
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": {
@@ -86,6 +86,18 @@ interface SmartNgClientConfig {
86
86
  gridMenuIcon?: string;
87
87
  /** Icon of a tree node's action menu trigger. Default: `'more_vert'`. */
88
88
  treeMenuIcon?: string;
89
+ /**
90
+ * Stylesheet of the Material Symbols Outlined font the library's icons are drawn with, linked
91
+ * at start-up unless the document already loads that font. Default: the Google Fonts
92
+ * stylesheet ({@link SMART_ICON_FONT_URL}); `false` when the host loads the font in a way the
93
+ * library cannot see.
94
+ */
95
+ iconFont?: string | false;
96
+ /**
97
+ * Draws every `<mat-icon>` that names no `fontSet` with Material Symbols Outlined too, the
98
+ * host's own included, so the Material Icons font is no longer needed. Default: `false`.
99
+ */
100
+ materialSymbolsByDefault?: boolean;
89
101
  /** Backend view name rendered by the built-in search page. */
90
102
  searchPageName?: string;
91
103
  /** Component name the built-in search page reports to the view context. */
@@ -156,7 +168,7 @@ interface SmartNgClientConfig {
156
168
  valueSetStoreSize?: number;
157
169
  }
158
170
  /** {@link SmartNgClientConfig} with the library defaults filled in. */
159
- type ResolvedSmartNgClientConfig = SmartNgClientConfig & Required<Pick<SmartNgClientConfig, 'gridMenuIcon' | 'treeMenuIcon' | 'dialogDisableClose' | 'dateLocale' | 'valueSetStoreSize'>> & {
171
+ type ResolvedSmartNgClientConfig = SmartNgClientConfig & Required<Pick<SmartNgClientConfig, 'gridMenuIcon' | 'treeMenuIcon' | 'iconFont' | 'dialogDisableClose' | 'dateLocale' | 'valueSetStoreSize'>> & {
160
172
  errorDialog: Required<SmartErrorDialogLabels>;
161
173
  messages: {
162
174
  [key: string]: string;
@@ -11904,6 +11916,22 @@ declare class SmartIconService {
11904
11916
  static ɵprov: i0.ɵɵInjectableDeclaration<SmartIconService>;
11905
11917
  }
11906
11918
 
11919
+ /**
11920
+ * Stylesheet of the library's icon font with the default axis values only, which is all the
11921
+ * library renders. `display=block` keeps the ligature text hidden while the font arrives.
11922
+ */
11923
+ declare const SMART_ICON_FONT_URL = "https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0&display=block";
11924
+ /**
11925
+ * The classes of a `<mat-icon>` without `fontSet` once Material Symbols is the default font
11926
+ * set; `mat-ligature-font` keeps the `fontIcon` attribute working, as it does for Material Icons.
11927
+ */
11928
+ declare const SMART_ICON_FONT_SET_CLASSES: string[];
11929
+ /**
11930
+ * Links the icon font stylesheet into the document, unless the host turned it off or already
11931
+ * loads the font: by a link of its own, or by a font face its stylesheets declare.
11932
+ */
11933
+ declare function loadSmartIconFont(document: Document, iconFont: string | false): void;
11934
+
11907
11935
  declare class SmartIconComponent implements OnChanges {
11908
11936
  private service;
11909
11937
  changeDetector: ChangeDetectorRef;
@@ -12646,5 +12674,5 @@ declare class InvalidSmartlinkComponent extends SmartComponent<Object> {
12646
12674
  static ɵcmp: i0.ɵɵComponentDeclaration<InvalidSmartlinkComponent, "lib-invalid-smartlink", never, {}, {}, never, never, true, never>;
12647
12675
  }
12648
12676
 
12649
- export { ACLEntry, APIS, AclEditingViewComponent, ApiModule, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CaptureDeviceStart, CaptureHandover, CaptureMode, CaptureOpenDirection, CloseResult, CodeEditorLang, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DEFAULT_ROW_LAYOUT, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FileUploaderSource, FileUploaderThumbnail, 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, GridDefaultRowActionTrigger, GridRowStateDisplay, 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, PageExportFieldScope, PageExportSelectionKind, PageExportValueType, PageExportValuesSource, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_MESSAGE_DEFAULTS, SMART_NG_CLIENT_CONFIG, SMART_ROW_LAYOUT_COMPONENT, SearchPageComponent, SelectAllMode, 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, SmartKeybindingService, 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, SmartValueSetStore, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarAppearance, ToolbarDirection, TreeArrowPosition, TreeGridControl, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ValueSetDependencyWhenParentEmptyEnum, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, formatChord, formatMessage, hasGroupEditActions, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, isMacPlatform, isMergedExtra, matches, multiAxisLineChart, parseChord, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
12677
+ export { ACLEntry, APIS, AclEditingViewComponent, ApiModule, ApiQueueService, BASE_PATH, COLLECTION_FORMATS, CUSTOM_DIAGRAM_OPTIONS, CaptureDeviceStart, CaptureHandover, CaptureMode, CaptureOpenDirection, CloseResult, CodeEditorLang, ComponentFactoryService, ComponentType, ComponentWidgetType, Configuration$1 as Configuration, DEFAULT_ROW_LAYOUT, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultChartOptionsProvider, DefaultUiActionCode_CLOSE, DiagramShape, DrawTime, EMPTY_PARAMS, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FileUploaderSource, FileUploaderThumbnail, 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, GridDefaultRowActionTrigger, GridRowStateDisplay, 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, PageExportFieldScope, PageExportSelectionKind, PageExportValueType, PageExportValuesSource, REUSE_ROUTER_SLOT_COMPONENT, ROOT_CONTAINER_UUID, ROUTER_SLOT_ID, RecordingUploaderPropertiesOpenDirectionEnum, SMART_DATE_FORMATS, SMART_DEFAULT_VIEW_COMPONENTS, SMART_ICON_FONT_SET_CLASSES, SMART_ICON_FONT_URL, SMART_MESSAGE_DEFAULTS, SMART_NG_CLIENT_CONFIG, SMART_ROW_LAYOUT_COMPONENT, SearchPageComponent, SelectAllMode, 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, SmartKeybindingService, 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, SmartValueSetStore, SmartViewContextService, SmartViewRedirect, SmartVoiceRecorderComponent, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmarttreeGenericService, SmarttreeService, SubjectSelectorComponent, ThemeService, ToggleLabelPosition, ToolbarAlignment, ToolbarAppearance, ToolbarDirection, TreeArrowPosition, TreeGridControl, USE_ADVANCED_FILTER, UiActionButtonComponent, UiActionButtonType, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogButtonComponent, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, UiBadgeComponent, UiBadgeDirective, UploadWidgetType, ValidationResultPageComponent, ValueChangeMode, ValueSetDependencyWhenParentEmptyEnum, ViewContextRebuiltError, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType, barChart, bubbleChart, createBasicOptions, doughnutChart, formatChord, formatMessage, hasGroupEditActions, horizontalBarChart, horizontalStackedBarChart, injectSmartComponent, isMacPlatform, isMergedExtra, loadSmartIconFont, matches, multiAxisLineChart, parseChord, pieChart, polarAreaChart, provideSmartNgClient, radarChart, registerSmartWidget, resolveDateLocale, resolveSlot, resolveSmartNgClientConfig, resolveViewHandler, scatterChart, stackedBarChart, transformDataToBarLikeDataSet, transformDataToBasicDataSets, transformDataToBubble, transformDataToScatter, withSmartDiagram, withSmartMap };
12650
12678
  export type { ACL, AccountInfo, ApiError, ApiQueueCall, AuthenticationProviderData, BackgroundProcessInfo, BadgeDescriptor, CaptureProperties, ClipboardData, CodeEditorProperties, 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, EmbeddedSlotProperties, ExecuteUiActionOptions, ExpandableSection, ExpandableSectionButton, ExpandableSectionStateChange, FileUploaderProperties, FilterExpressionBuilderApiConfig, FilterExpressionBuilderField, FilterExpressionBuilderGroup, FilterExpressionBuilderModel, FilterExpressionBuilderUiModel, FilterExpressionData$1 as FilterExpressionData, FilterExpressionField, FilterExpressionFieldEditor, FilterExpressionFieldList, FilterExpressionList$2 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, HtmlProperties, ISmartFilterEditorService, ImageProperties, ImageResource, InvocationRequest$1 as InvocationRequest, KeyChord, Keybinding, KeybindingHost, LabelText, LayoutDefinitionDescriptor, Link, MapClickedEvent, MapDraggedEvent, MapEditingItemClickedEvent, MapEditingItemDraggedEvent, MapItemClickedEvent, MapItemConfiguration, MapZoomChangedEvent, MenuDescriptor, MessageData, MessageOption, MessageResult, ModelSync, ModelSyncParticipant, MultiComboBoxElement, MultiComboBoxModel, MultiFileUploaderProperties, MultiSelectProperties, NamedValidator, OpenPendingData, PageExport, PageExportCondition, PageExportData, PageExportField, PageExportLookup, PageExportOption, PageExportRequest, PageExportSelection, PageExportValueSet, PageExportValues, Param$1 as Param, ParamLocation$1 as ParamLocation, ParamStyle$1 as ParamStyle, PendingModelSync, PropertyDefinitionData, PropertyMapping, PublishedViewData, RecordingUploaderProperties, RefreshSessionRequest, ResolvedSlot, ResolvedSmartNgClientConfig, SearchIndexObjectDefinitionData, SearchIndexPropertyDefinitionData, SearchPageModel, SelectProperties, SelectionDefinition, ServerRequestExecutionStat, ServerRequestTrack, Session, SessionError, SessionInfoData, ShellProperty, SlotKind, SmartBackendBootstrapConfig, SmartBackendBootstrapCredentials, SmartButton, SmartCheckBox, SmartCheckBox2, SmartComponentCollectInvalidFieldsCommand, SmartComponentCommand, SmartComponentFileUploader, SmartComponentFlushCommand, 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, SmartHtml, SmartIconSet, SmartImage, SmartIndicator, SmartIndicatorItem, SmartItem, SmartItemGroup, SmartItems, SmartLabel, SmartLayoutDefinition, SmartLinkCreationConfig, 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, ValueSetDependency, ValueSetFetchItem, ValueSetFetchRequest, ValueSetFetchResponse, ValueSetFetchResult, ValueSetSelection, ValueSetVersion, View, ViewApiError, ViewConstraint, ViewContext, ViewContextChange, ViewContextData, ViewContextUpdate, ViewData, ViewDefinitionData, ViewDefinitionEntry, ViewEventHandler, ViewExtra, ViewPlaceholder, ViewStateUpdate, ViewTab, ViewTabs, WindowDescriptor };
Binary file