@smartbit4all/ng-client 3.3.152 → 3.3.154

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 (28) hide show
  1. package/esm2020/lib/smart-client/smart-component-api-client.mjs +8 -1
  2. package/esm2020/lib/view-context/api/model/componentModel.mjs +1 -1
  3. package/esm2020/lib/view-context/api/model/models.mjs +5 -1
  4. package/esm2020/lib/view-context/api/model/serverRequestExecutionStat.mjs +2 -0
  5. package/esm2020/lib/view-context/api/model/serverRequestTrack.mjs +2 -0
  6. package/esm2020/lib/view-context/api/model/serverRequestType.mjs +24 -0
  7. package/esm2020/lib/view-context/api/model/statisticRecord.mjs +13 -0
  8. package/esm2020/lib/view-context/api/model/uiAction.mjs +1 -1
  9. package/esm2020/lib/view-context/api/model/uiActionRequest.mjs +1 -1
  10. package/esm2020/lib/view-context/api/model/valueSet.mjs +1 -1
  11. package/esm2020/lib/view-context/api/model/view.mjs +1 -1
  12. package/esm2020/lib/view-context/api/model/viewContext.mjs +1 -1
  13. package/esm2020/lib/view-context/api/model/viewContextChange.mjs +1 -1
  14. package/fesm2015/smartbit4all-ng-client.mjs +34 -3
  15. package/fesm2015/smartbit4all-ng-client.mjs.map +1 -1
  16. package/fesm2020/smartbit4all-ng-client.mjs +44 -1
  17. package/fesm2020/smartbit4all-ng-client.mjs.map +1 -1
  18. package/lib/view-context/api/model/componentModel.d.ts +1 -0
  19. package/lib/view-context/api/model/models.d.ts +4 -0
  20. package/lib/view-context/api/model/serverRequestExecutionStat.d.ts +40 -0
  21. package/lib/view-context/api/model/serverRequestTrack.d.ts +60 -0
  22. package/lib/view-context/api/model/serverRequestType.d.ts +22 -0
  23. package/lib/view-context/api/model/statisticRecord.d.ts +36 -0
  24. package/lib/view-context/api/model/view.d.ts +1 -0
  25. package/lib/view-context/api/model/viewContext.d.ts +2 -0
  26. package/package.json +1 -1
  27. package/smartbit4all-ng-client-3.3.154.tgz +0 -0
  28. package/smartbit4all-ng-client-3.3.152.tgz +0 -0
@@ -2135,6 +2135,30 @@ var MessageType;
2135
2135
  MessageType["ERROR"] = "error";
2136
2136
  })(MessageType || (MessageType = {}));
2137
2137
 
2138
+ /**
2139
+ * View API
2140
+ * View API
2141
+ *
2142
+ * The version of the OpenAPI document: 1.0.0
2143
+ * Contact: info@it4all.hu
2144
+ *
2145
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
2146
+ * https://openapi-generator.tech
2147
+ * Do not edit the class manually.
2148
+ */
2149
+ var ServerRequestType;
2150
+ (function (ServerRequestType) {
2151
+ ServerRequestType["ACTION"] = "ACTION";
2152
+ ServerRequestType["WIDGET_ACTION"] = "WIDGET_ACTION";
2153
+ ServerRequestType["CREATE_VIEW_CONTEXT"] = "CREATE_VIEW_CONTEXT";
2154
+ ServerRequestType["UPDATE_VIEW_CONTEXT"] = "UPDATE_VIEW_CONTEXT";
2155
+ ServerRequestType["GET_VIEW_CONTEXT"] = "GET_VIEW_CONTEXT";
2156
+ ServerRequestType["HANDLE_MESSAGE_RESULT"] = "HANDLE_MESSAGE_RESULT";
2157
+ ServerRequestType["SHOW_SMARTLINK"] = "SHOW_SMARTLINK";
2158
+ ServerRequestType["DOWNLOAD"] = "DOWNLOAD";
2159
+ ServerRequestType["GET_COMPONENT_MODEL"] = "GET_COMPONENT_MODEL";
2160
+ })(ServerRequestType || (ServerRequestType = {}));
2161
+
2138
2162
  /**
2139
2163
  * View API
2140
2164
  * View API
@@ -15373,12 +15397,19 @@ class SmartComponentApiClient {
15373
15397
  return this.widgets;
15374
15398
  }
15375
15399
  initComponentByModel() {
15376
- var _a, _b;
15400
+ var _a, _b, _c, _d, _e;
15377
15401
  SmartStyleUtility.applyStyle((_a = this.model) === null || _a === void 0 ? void 0 : _a.style, this.element, this.renderer);
15402
+ if ((_b = this.model) === null || _b === void 0 ? void 0 : _b.parentStyle) {
15403
+ let element = (_c = this.element) === null || _c === void 0 ? void 0 : _c.nativeElement;
15404
+ if (element && element.parentNode) {
15405
+ element = element.parentNode;
15406
+ SmartStyleUtility.applyStyle((_d = this.model) === null || _d === void 0 ? void 0 : _d.parentStyle, element, this.renderer);
15407
+ }
15408
+ }
15378
15409
  this.initData();
15379
15410
  this.initActions();
15380
15411
  if (this.useQueryLists) {
15381
- (_b = this.getAllSmartFormComponents()) === null || _b === void 0 ? void 0 : _b.forEach((form) => {
15412
+ (_e = this.getAllSmartFormComponents()) === null || _e === void 0 ? void 0 : _e.forEach((form) => {
15382
15413
  if (form.smartForm) {
15383
15414
  form.smartForm.componentModel = this.model;
15384
15415
  // uses data, valueSets, constraints
@@ -16042,5 +16073,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.4.0", ngImpor
16042
16073
  * Generated bundle index. Do not edit.
16043
16074
  */
16044
16075
 
16045
- 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 };
16076
+ 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 };
16046
16077
  //# sourceMappingURL=smartbit4all-ng-client.mjs.map