@smartbit4all/ng-client 3.3.151 → 3.3.153

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.
Files changed (29) hide show
  1. package/esm2020/lib/smart-client/smart-component-api-client.mjs +8 -1
  2. package/esm2020/lib/smart-form/widgets/smartformwidget/smartformwidget.component.mjs +3 -3
  3. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  4. package/esm2020/lib/view-context/api/model/models.mjs +5 -1
  5. package/esm2020/lib/view-context/api/model/serverRequestExecutionStat.mjs +2 -0
  6. package/esm2020/lib/view-context/api/model/serverRequestTrack.mjs +2 -0
  7. package/esm2020/lib/view-context/api/model/serverRequestType.mjs +24 -0
  8. package/esm2020/lib/view-context/api/model/statisticRecord.mjs +13 -0
  9. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  10. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  11. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  12. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  13. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  14. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  15. package/fesm2015/smartbit4all-ng-client.mjs +36 -5
  16. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  17. package/fesm2020/smartbit4all-ng-client.mjs +46 -3
  18. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  19. package/lib/view-context/api/model/componentModel.d.ts +1 -0
  20. package/lib/view-context/api/model/models.d.ts +4 -0
  21. package/lib/view-context/api/model/serverRequestExecutionStat.d.ts +40 -0
  22. package/lib/view-context/api/model/serverRequestTrack.d.ts +60 -0
  23. package/lib/view-context/api/model/serverRequestType.d.ts +22 -0
  24. package/lib/view-context/api/model/statisticRecord.d.ts +36 -0
  25. package/lib/view-context/api/model/view.d.ts +1 -0
  26. package/lib/view-context/api/model/viewContext.d.ts +2 -0
  27. package/package.json +1 -1
  28. package/smartbit4all-ng-client-3.3.153.tgz +0 -0
  29. package/smartbit4all-ng-client-3.3.151.tgz +0 -0
@@ -2193,6 +2193,42 @@ var MessageType;
2193
2193
  MessageType["ERROR"] = "error";
2194
2194
  })(MessageType || (MessageType = {}));
2195
2195
 
2196
+ /**
2197
+ * View API
2198
+ * View API
2199
+ *
2200
+ * The version of the OpenAPI document: 1.0.0
2201
+ * Contact: info@it4all.hu
2202
+ *
2203
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2204
+ * https://openapi-generator.tech
2205
+ * Do not edit the class manually.
2206
+ */
2207
+ var ServerRequestType;
2208
+ (function (ServerRequestType) {
2209
+ ServerRequestType["ACTION"] = "ACTION";
2210
+ ServerRequestType["WIDGET_ACTION"] = "WIDGET_ACTION";
2211
+ ServerRequestType["CREATE_VIEW_CONTEXT"] = "CREATE_VIEW_CONTEXT";
2212
+ ServerRequestType["UPDATE_VIEW_CONTEXT"] = "UPDATE_VIEW_CONTEXT";
2213
+ ServerRequestType["GET_VIEW_CONTEXT"] = "GET_VIEW_CONTEXT";
2214
+ ServerRequestType["HANDLE_MESSAGE_RESULT"] = "HANDLE_MESSAGE_RESULT";
2215
+ ServerRequestType["SHOW_SMARTLINK"] = "SHOW_SMARTLINK";
2216
+ ServerRequestType["DOWNLOAD"] = "DOWNLOAD";
2217
+ ServerRequestType["GET_COMPONENT_MODEL"] = "GET_COMPONENT_MODEL";
2218
+ })(ServerRequestType || (ServerRequestType = {}));
2219
+
2220
+ /**
2221
+ * View API
2222
+ * View API
2223
+ *
2224
+ * The version of the OpenAPI document: 1.0.0
2225
+ * Contact: info@it4all.hu
2226
+ *
2227
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2228
+ * https://openapi-generator.tech
2229
+ * Do not edit the class manually.
2230
+ */
2231
+
2196
2232
  /**
2197
2233
  * View API
2198
2234
  * View API
@@ -5487,7 +5523,7 @@ class SmartformwidgetComponent {
5487
5523
  }
5488
5524
  if (this.widgetInstance.type === SmartFormWidgetType.TEXT_FIELD &&
5489
5525
  this.widgetInstance.selection) {
5490
- this.filteredOptions = this.onValueChange.pipe(takeUntil(this._destroy$)).pipe(startWith(''), map((value) => this._filter(value || '')));
5526
+ this.filteredOptions = this.onValueChange.pipe(startWith(''), map((value) => this._filter(value || '')), takeUntil(this._destroy$));
5491
5527
  }
5492
5528
  if (this.widgetInstance.type === SmartFormWidgetType.YOUTUBE_PLAYER) {
5493
5529
  let videoId = this.parseYoutubeUrl(this.widgetInstance.link);
@@ -5500,7 +5536,7 @@ class SmartformwidgetComponent {
5500
5536
  let formControls = Object.keys(this.form.controls).filter((key) => key === this.widgetInstance.key || key.startsWith(`${this.widgetInstance.key}.`));
5501
5537
  formControls.map((key) => {
5502
5538
  this.form.controls[key].valueChanges
5503
- .pipe(takeUntil(this._destroy$), distinctUntilChanged())
5539
+ .pipe(distinctUntilChanged(), takeUntil(this._destroy$))
5504
5540
  .subscribe((value) => {
5505
5541
  const valueChange = {
5506
5542
  key,
@@ -15227,6 +15263,13 @@ class SmartComponentApiClient {
15227
15263
  }
15228
15264
  initComponentByModel() {
15229
15265
  SmartStyleUtility.applyStyle(this.model?.style, this.element, this.renderer);
15266
+ if (this.model?.parentStyle) {
15267
+ let element = this.element?.nativeElement;
15268
+ if (element && element.parentNode) {
15269
+ element = element.parentNode;
15270
+ SmartStyleUtility.applyStyle(this.model?.style, element, this.renderer);
15271
+ }
15272
+ }
15230
15273
  this.initData();
15231
15274
  this.initActions();
15232
15275
  if (this.useQueryLists) {
@@ -15875,5 +15918,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
15875
15918
  * Generated bundle index. Do not edit.
15876
15919
  */
15877
15920
 
15878
- export { APIS$3 as APIS, ApiModule$3 as ApiModule, ApiQueueService, BASE_PATH$5 as BASE_PATH, COLLECTION_FORMATS$5 as COLLECTION_FORMATS, CloseResult, ComponentFactoryService, ComponentFactoryServiceModule, ComponentType, ComponentWidgetType, Configuration$5 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultUiActionCode_CLOSE, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, LayoutDirection, LinkTargetEnum, MessageOptionType, MessageTextType, MessageType, SelectionDefinitionTypeEnum, SessionAPIS, SessionErrorBehaviour, SessionService, SharedModule, SimplifiedTabGroupComponent, SmartActionType, SmartAuthService, SmartComponent, SmartComponentApiClient, SmartComponentLayoutComponent, SmartComponentLayoutModule, SmartComponentLayoutUtility, SmartDatePipe, SmartDateTimePipe, SmartDialog, SmartExpandableSectionModule, SmartExpandableSectionService, SmartFileUploaderComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorModule, SmartFilterEditorService, SmartFilterExpressionItemComponent, SmartFilterExpressionItemsComponent, SmartFilterModule, SmartFilterParamComponent, SmartFilterParamsComponent, SmartFilterPosition, SmartFilterType, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridModule, SmartGridService, SmartGridType, SmartIconComponent, SmartIconModule, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNavbarComponent, SmartNavbarModule, SmartNavbarService, SmartNavigationModule, SmartNavigationService, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartTabGroupModule, SmartTabGroupService, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextErrorDialogButtonLabel, SmartViewContextErrorDialogMessage, SmartViewContextErrorDialogTitle, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartWidgetSettings, SmartdialogModule, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmartformwidgetComponent, SmarttableComponent, SmarttableModule, SmarttableService, SmarttreeGenericService, SmarttreeModule, SmarttreeService, TabGroupComponent, ToggleLabelPosition, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, ValueChangeMode, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType };
15921
+ export { APIS$3 as APIS, ApiModule$3 as ApiModule, ApiQueueService, BASE_PATH$5 as BASE_PATH, COLLECTION_FORMATS$5 as COLLECTION_FORMATS, CloseResult, ComponentFactoryService, ComponentFactoryServiceModule, ComponentType, ComponentWidgetType, Configuration$5 as Configuration, DIALOG_DISABLE_CLOSE, DataChangeKind, DefaultUiActionCode_CLOSE, ExpandableSectionButtonIconPosition, ExpandableSectionButtonType, ExpandableSectionComponent, FilterExpressionBoolOperator$1 as FilterExpressionBoolOperator, FilterExpressionBuilderGroupBuilderGroupKindEnum, FilterExpressionDataType, FilterExpressionFieldWidgetType, FilterExpressionOperation, FilterExpressionOrderByOrderEnum, GridColumnContentType, GridDataAccessConfigKindEnum, GridSelectionMode, GridSelectionType, GridUiActionType, GridViewDescriptorKindEnum, HighlightPipe, IS_ASYNC_PARAM_NAME, IconPosition, ImageResourceKindEnum, LayoutDirection, LinkTargetEnum, MessageOptionType, MessageTextType, MessageType, SelectionDefinitionTypeEnum, ServerRequestType, SessionAPIS, SessionErrorBehaviour, SessionService, SharedModule, SimplifiedTabGroupComponent, SmartActionType, SmartAuthService, SmartComponent, SmartComponentApiClient, SmartComponentLayoutComponent, SmartComponentLayoutModule, SmartComponentLayoutUtility, SmartDatePipe, SmartDateTimePipe, SmartDialog, SmartExpandableSectionModule, SmartExpandableSectionService, SmartFileUploaderComponent, SmartFilterComponent, SmartFilterEditorContentComponent, SmartFilterEditorModule, SmartFilterEditorService, SmartFilterExpressionItemComponent, SmartFilterExpressionItemsComponent, SmartFilterModule, SmartFilterParamComponent, SmartFilterParamsComponent, SmartFilterPosition, SmartFilterType, SmartFormTextFieldButtonIconPosition, SmartFormWidgetDirection, SmartFormWidgetType, SmartFormWidgetWidth, SmartGridButtonType, SmartGridComponent, SmartGridDataLayout, SmartGridModule, SmartGridService, SmartGridType, SmartIconComponent, SmartIconModule, SmartIconService, SmartLayoutDef, SmartLinkChannelVariableInPath, SmartLinkUuidVariableInPath, SmartNavbarComponent, SmartNavbarModule, SmartNavbarService, SmartNavigationModule, SmartNavigationService, SmartNgClientModule, SmartNgClientService, SmartService, SmartSessionModule, SmartSessionService, SmartSessionTimerComponent, SmartSessionTimerService, SmartSubject, SmartTabGroupModule, SmartTabGroupService, SmartTable, SmartTableButtonType, SmartTableHeaderPropertyType, SmartTableInterfaceTypeEnum, SmartTableOptionButtonDirection, SmartTableOrder, SmartTableType, SmartTimePipe, SmartTooltipDirective, SmartTreeComponent, SmartTreeNodeButtonType, SmartUserSettinsIconPosition, SmartValidatorName, SmartViewContextErrorDialogButtonLabel, SmartViewContextErrorDialogMessage, SmartViewContextErrorDialogTitle, SmartViewContextModule, SmartViewContextService, SmartViewRedirect, SmartWidgetHintPosition, SmartWidgetHintPositionEnum, SmartWidgetSettings, SmartdialogModule, SmartdialogService, SmartfileuploaderComponent, SmartformComponent, SmartformLayoutDefinitionService, SmartformwidgetComponent, SmarttableComponent, SmarttableModule, SmarttableService, SmarttreeGenericService, SmarttreeModule, SmarttreeService, TabGroupComponent, ToggleLabelPosition, UiActionButtonType, UiActionConfirmDialogComponent, UiActionConfirmDialogService, UiActionDescriptorService, UiActionDialogType, UiActionFeedbackType, UiActionInputDialogComponent, UiActionInputDialogService, UiActionInputType, UiActionService, UiActionToolbarComponent, UiActionTooltipTooltipPositionEnum, ValueChangeMode, ViewEventHandlerViewEventTypeEnum, ViewService, ViewState, ViewType };
15879
15922
  //# sourceMappingURL=smartbit4all-ng-client.mjs.map