@smartbit4all/ng-client 4.5.38 → 4.5.40
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/session/smart-backend-bootstrap.config.mjs +1 -1
- package/esm2022/lib/session/smart-backend-bootstrap.service.mjs +4 -4
- package/esm2022/lib/theme/theme.service.mjs +48 -0
- package/esm2022/lib/view-context/api/api/view.service.mjs +82 -1
- package/esm2022/lib/view-context/api/api-default/binaryContentData.mjs +2 -0
- package/esm2022/lib/view-context/api/model/deviceInfo.mjs +1 -1
- package/esm2022/lib/view-context/api/model/models.mjs +4 -1
- package/esm2022/lib/view-context/api/model/shellProperties.mjs +13 -0
- package/esm2022/lib/view-context/api/model/themeDefinition.mjs +2 -0
- package/esm2022/lib/view-context/api/model/themeDescriptor.mjs +2 -0
- package/esm2022/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.mjs +35 -0
- package/esm2022/lib/view-context/smart-ui-action/file-editor-toolbar/file-editor-toolbar.component.mjs +4 -3
- package/esm2022/lib/view-context/smart-ui-action/ui-action-toolbar.component.mjs +6 -5
- package/esm2022/lib/view-context/smart-view-context.module.mjs +5 -2
- package/esm2022/lib/view-context/smart-view-context.service.mjs +9 -5
- package/fesm2022/smartbit4all-ng-client.mjs +186 -13
- package/fesm2022/smartbit4all-ng-client.mjs.map +1 -1
- package/lib/session/smart-backend-bootstrap.config.d.ts +1 -1
- package/lib/theme/theme.service.d.ts +17 -0
- package/lib/view-context/api/api/view.service.d.ts +37 -0
- package/lib/view-context/api/api-default/binaryContentData.d.ts +2 -0
- package/lib/view-context/api/model/deviceInfo.d.ts +1 -0
- package/lib/view-context/api/model/models.d.ts +3 -0
- package/lib/view-context/api/model/shellProperties.d.ts +15 -0
- package/lib/view-context/api/model/themeDefinition.d.ts +22 -0
- package/lib/view-context/api/model/themeDescriptor.d.ts +16 -0
- package/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.d.ts +16 -0
- package/lib/view-context/smart-view-context.module.d.ts +49 -48
- package/lib/view-context/smart-view-context.service.d.ts +4 -2
- package/package.json +1 -1
- package/smartbit4all-ng-client-4.5.40.tgz +0 -0
- package/smartbit4all-ng-client-4.5.38.tgz +0 -0
|
@@ -34,7 +34,7 @@ export interface SmartBackendBootstrapConfig {
|
|
|
34
34
|
/** Optional override for the default `handleSessionError` flow. */
|
|
35
35
|
onSessionError?: (err: SessionError) => Promise<void> | void;
|
|
36
36
|
/** Optional override for the default `openSmartLink` handler. */
|
|
37
|
-
onSmartLink?: (channel: string) => Promise<void> | void;
|
|
37
|
+
onSmartLink?: (channel: string, uuid: string) => Promise<void> | void;
|
|
38
38
|
/** Hook for host UX when `start()` rejects (snackbar + retry). */
|
|
39
39
|
onStartError?: (err: unknown) => Promise<void> | void;
|
|
40
40
|
/**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ViewService } from '../view-context/api/api/api';
|
|
3
|
+
import { ThemeDescriptor } from '../view-context/api';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ThemeService {
|
|
6
|
+
private viewService;
|
|
7
|
+
private _currentTheme;
|
|
8
|
+
currentTheme: import("@angular/core").Signal<string>;
|
|
9
|
+
private themes;
|
|
10
|
+
constructor(viewService: ViewService);
|
|
11
|
+
setTheme(themeDescriptor: ThemeDescriptor): void;
|
|
12
|
+
getThemes(): Observable<ThemeDescriptor[]>;
|
|
13
|
+
getSelectedTheme(): Promise<ThemeDescriptor>;
|
|
14
|
+
getSystemTheme(): string;
|
|
15
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
16
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
17
|
+
}
|
|
@@ -4,6 +4,8 @@ import { ComponentModel } from '../model/componentModel';
|
|
|
4
4
|
import { DataChange } from '../model/dataChange';
|
|
5
5
|
import { MessageResult } from '../model/messageResult';
|
|
6
6
|
import { PublishedViewData } from '../model/publishedViewData';
|
|
7
|
+
import { ThemeDefinition } from '../model/themeDefinition';
|
|
8
|
+
import { ThemeDescriptor } from '../model/themeDescriptor';
|
|
7
9
|
import { UiActionRequest } from '../model/uiActionRequest';
|
|
8
10
|
import { ViewConstraint } from '../model/viewConstraint';
|
|
9
11
|
import { ViewContextChange } from '../model/viewContextChange';
|
|
@@ -152,6 +154,41 @@ export declare class ViewService {
|
|
|
152
154
|
httpHeaderAccept?: 'application/json';
|
|
153
155
|
context?: HttpContext;
|
|
154
156
|
}): Observable<HttpEvent<PublishedViewData>>;
|
|
157
|
+
/**
|
|
158
|
+
* Get theme descriptor by name
|
|
159
|
+
* @param name
|
|
160
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
161
|
+
* @param reportProgress flag to report request and response progress.
|
|
162
|
+
*/
|
|
163
|
+
getTheme(name: string, observe?: 'body', reportProgress?: boolean, options?: {
|
|
164
|
+
httpHeaderAccept?: 'application/json';
|
|
165
|
+
context?: HttpContext;
|
|
166
|
+
}): Observable<ThemeDefinition>;
|
|
167
|
+
getTheme(name: string, observe?: 'response', reportProgress?: boolean, options?: {
|
|
168
|
+
httpHeaderAccept?: 'application/json';
|
|
169
|
+
context?: HttpContext;
|
|
170
|
+
}): Observable<HttpResponse<ThemeDefinition>>;
|
|
171
|
+
getTheme(name: string, observe?: 'events', reportProgress?: boolean, options?: {
|
|
172
|
+
httpHeaderAccept?: 'application/json';
|
|
173
|
+
context?: HttpContext;
|
|
174
|
+
}): Observable<HttpEvent<ThemeDefinition>>;
|
|
175
|
+
/**
|
|
176
|
+
* Get all available themes
|
|
177
|
+
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
178
|
+
* @param reportProgress flag to report request and response progress.
|
|
179
|
+
*/
|
|
180
|
+
getThemes(observe?: 'body', reportProgress?: boolean, options?: {
|
|
181
|
+
httpHeaderAccept?: 'application/json';
|
|
182
|
+
context?: HttpContext;
|
|
183
|
+
}): Observable<Array<ThemeDescriptor>>;
|
|
184
|
+
getThemes(observe?: 'response', reportProgress?: boolean, options?: {
|
|
185
|
+
httpHeaderAccept?: 'application/json';
|
|
186
|
+
context?: HttpContext;
|
|
187
|
+
}): Observable<HttpResponse<Array<ThemeDescriptor>>>;
|
|
188
|
+
getThemes(observe?: 'events', reportProgress?: boolean, options?: {
|
|
189
|
+
httpHeaderAccept?: 'application/json';
|
|
190
|
+
context?: HttpContext;
|
|
191
|
+
}): Observable<HttpEvent<Array<ThemeDescriptor>>>;
|
|
155
192
|
/**
|
|
156
193
|
* Returns the view constraint object belongs to the given view
|
|
157
194
|
* @param uuid View\'s unique identifier.
|
|
@@ -27,10 +27,13 @@ export * from './publishedViewData';
|
|
|
27
27
|
export * from './serverRequestExecutionStat';
|
|
28
28
|
export * from './serverRequestTrack';
|
|
29
29
|
export * from './serverRequestType';
|
|
30
|
+
export * from './shellProperties';
|
|
30
31
|
export * from './smartLinkData';
|
|
31
32
|
export * from './smartLinkMigrationStatus';
|
|
32
33
|
export * from './statisticRecord';
|
|
33
34
|
export * from './style';
|
|
35
|
+
export * from './themeDefinition';
|
|
36
|
+
export * from './themeDescriptor';
|
|
34
37
|
export * from './uiAction';
|
|
35
38
|
export * from './uiActionButtonDescriptor';
|
|
36
39
|
export * from './uiActionButtonType';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface ShellProperties {
|
|
13
|
+
propertyName?: string;
|
|
14
|
+
propertyValue?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { BinaryContentData } from '../api-default/binaryContentData';
|
|
13
|
+
import { ShellProperties } from './shellProperties';
|
|
14
|
+
export interface ThemeDefinition {
|
|
15
|
+
uri?: string;
|
|
16
|
+
name?: string;
|
|
17
|
+
appTitle?: string;
|
|
18
|
+
css?: BinaryContentData;
|
|
19
|
+
favicon?: BinaryContentData;
|
|
20
|
+
iosProperties?: Array<ShellProperties>;
|
|
21
|
+
androidProperties?: Array<ShellProperties>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* View API
|
|
3
|
+
* View API
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0.0
|
|
6
|
+
* Contact: info@it4all.hu
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { UiActionDescriptor } from './uiActionDescriptor';
|
|
13
|
+
export interface ThemeDescriptor {
|
|
14
|
+
name?: string;
|
|
15
|
+
descriptor?: UiActionDescriptor;
|
|
16
|
+
}
|
package/lib/view-context/smart-ui-action/components/theme-selector/theme-selector.component.d.ts
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ThemeDescriptor, UiAction } from '../../../api';
|
|
2
|
+
import { UiActionModel } from '../../ui-action.model';
|
|
3
|
+
import { ThemeService } from '../../../../theme/theme.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ThemeSelectorComponent {
|
|
6
|
+
private themeService;
|
|
7
|
+
model: import("@angular/core").InputSignal<UiActionModel>;
|
|
8
|
+
action: import("@angular/core").Signal<UiAction | undefined>;
|
|
9
|
+
themeDescriptor?: ThemeDescriptor;
|
|
10
|
+
themes: ThemeDescriptor[];
|
|
11
|
+
constructor(themeService: ThemeService);
|
|
12
|
+
ngOnInit(): void;
|
|
13
|
+
onActionClicked(event: any, themeDescriptor: ThemeDescriptor): Promise<void>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeSelectorComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ThemeSelectorComponent, "theme-selector", never, { "model": { "alias": "model"; "required": true; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
16
|
+
}
|
|
@@ -29,55 +29,56 @@ import * as i27 from "./smart-ui-action/components/upload-widget/voice-record-wi
|
|
|
29
29
|
import * as i28 from "./smart-ui-action/components/upload-widget/photo-capture-widget/photo-capture-widget.component";
|
|
30
30
|
import * as i29 from "./smart-ui-action/components/upload-widget/prime-file-uploader/prime-file-uploader.component";
|
|
31
31
|
import * as i30 from "./smart-embedded-slot.directive";
|
|
32
|
-
import * as i31 from "
|
|
33
|
-
import * as i32 from "@angular/common
|
|
34
|
-
import * as i33 from "@angular/
|
|
35
|
-
import * as i34 from "@angular/material/
|
|
36
|
-
import * as i35 from "
|
|
37
|
-
import * as i36 from "
|
|
38
|
-
import * as i37 from "@angular/material/
|
|
39
|
-
import * as i38 from "
|
|
40
|
-
import * as i39 from "
|
|
41
|
-
import * as i40 from "
|
|
42
|
-
import * as i41 from "
|
|
43
|
-
import * as i42 from "
|
|
44
|
-
import * as i43 from "@angular/
|
|
45
|
-
import * as i44 from "@angular/
|
|
46
|
-
import * as i45 from "@angular/
|
|
47
|
-
import * as i46 from "@angular/material/
|
|
48
|
-
import * as i47 from "@angular/material/
|
|
49
|
-
import * as i48 from "@angular/material/
|
|
50
|
-
import * as i49 from "@angular/material/
|
|
51
|
-
import * as i50 from "@angular/material
|
|
52
|
-
import * as i51 from "@angular/material
|
|
53
|
-
import * as i52 from "@angular/material/
|
|
54
|
-
import * as i53 from "@angular/material/
|
|
55
|
-
import * as i54 from "
|
|
56
|
-
import * as i55 from "
|
|
57
|
-
import * as i56 from "@angular/
|
|
58
|
-
import * as i57 from "
|
|
59
|
-
import * as i58 from "primeng/
|
|
60
|
-
import * as i59 from "primeng/
|
|
61
|
-
import * as i60 from "primeng/
|
|
62
|
-
import * as i61 from "primeng/
|
|
63
|
-
import * as i62 from "primeng/
|
|
64
|
-
import * as i63 from "primeng/
|
|
65
|
-
import * as i64 from "primeng/
|
|
66
|
-
import * as i65 from "primeng/
|
|
67
|
-
import * as i66 from "primeng/
|
|
68
|
-
import * as i67 from "primeng/
|
|
69
|
-
import * as i68 from "primeng/
|
|
70
|
-
import * as i69 from "primeng/
|
|
71
|
-
import * as i70 from "primeng/
|
|
72
|
-
import * as i71 from "primeng/
|
|
73
|
-
import * as i72 from "primeng/
|
|
74
|
-
import * as i73 from "primeng/
|
|
75
|
-
import * as i74 from "primeng/
|
|
76
|
-
import * as i75 from "primeng/
|
|
77
|
-
import * as i76 from "primeng/
|
|
78
|
-
import * as i77 from "
|
|
32
|
+
import * as i31 from "./smart-ui-action/components/theme-selector/theme-selector.component";
|
|
33
|
+
import * as i32 from "@angular/common";
|
|
34
|
+
import * as i33 from "@angular/common/http";
|
|
35
|
+
import * as i34 from "@angular/material/core";
|
|
36
|
+
import * as i35 from "@angular/material/button";
|
|
37
|
+
import * as i36 from "primeng/button";
|
|
38
|
+
import * as i37 from "@angular/material/icon";
|
|
39
|
+
import * as i38 from "@angular/material/snack-bar";
|
|
40
|
+
import * as i39 from "../smart-icon/smart-icon.module";
|
|
41
|
+
import * as i40 from "@angular/material/tooltip";
|
|
42
|
+
import * as i41 from "../shared/shared.module";
|
|
43
|
+
import * as i42 from "primeng/api";
|
|
44
|
+
import * as i43 from "@angular/platform-browser";
|
|
45
|
+
import * as i44 from "@angular/material/chips";
|
|
46
|
+
import * as i45 from "@angular/forms";
|
|
47
|
+
import * as i46 from "@angular/material/form-field";
|
|
48
|
+
import * as i47 from "@angular/material/checkbox";
|
|
49
|
+
import * as i48 from "@angular/material/select";
|
|
50
|
+
import * as i49 from "@angular/material/input";
|
|
51
|
+
import * as i50 from "@angular/material/datepicker";
|
|
52
|
+
import * as i51 from "@angular/material-moment-adapter";
|
|
53
|
+
import * as i52 from "@angular/material/radio";
|
|
54
|
+
import * as i53 from "@angular/material/slide-toggle";
|
|
55
|
+
import * as i54 from "@angular/material/autocomplete";
|
|
56
|
+
import * as i55 from "ngx-quill";
|
|
57
|
+
import * as i56 from "@angular/cdk/drag-drop";
|
|
58
|
+
import * as i57 from "@angular/youtube-player";
|
|
59
|
+
import * as i58 from "primeng/inputtext";
|
|
60
|
+
import * as i59 from "primeng/messages";
|
|
61
|
+
import * as i60 from "primeng/overlaypanel";
|
|
62
|
+
import * as i61 from "primeng/dropdown";
|
|
63
|
+
import * as i62 from "primeng/multiselect";
|
|
64
|
+
import * as i63 from "primeng/inputswitch";
|
|
65
|
+
import * as i64 from "primeng/inputnumber";
|
|
66
|
+
import * as i65 from "primeng/tooltip";
|
|
67
|
+
import * as i66 from "primeng/inputtextarea";
|
|
68
|
+
import * as i67 from "primeng/image";
|
|
69
|
+
import * as i68 from "primeng/floatlabel";
|
|
70
|
+
import * as i69 from "primeng/toast";
|
|
71
|
+
import * as i70 from "primeng/dynamicdialog";
|
|
72
|
+
import * as i71 from "primeng/fileupload";
|
|
73
|
+
import * as i72 from "primeng/chips";
|
|
74
|
+
import * as i73 from "primeng/calendar";
|
|
75
|
+
import * as i74 from "primeng/checkbox";
|
|
76
|
+
import * as i75 from "primeng/orderlist";
|
|
77
|
+
import * as i76 from "primeng/inputmask";
|
|
78
|
+
import * as i77 from "primeng/editor";
|
|
79
|
+
import * as i78 from "@angular/material/menu";
|
|
79
80
|
export declare class SmartViewContextModule {
|
|
80
81
|
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextModule, never>;
|
|
81
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.MenuComponent, typeof i26.UploadWidgetComponent, typeof i27.VoiceRecordWidgetComponent, typeof i28.PhotoCaptureWidgetComponent, typeof i29.PrimeFileUploaderComponent, typeof i30.SmartEmbeddedSlotDirective
|
|
82
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SmartViewContextModule, [typeof i1.MessageDialogComponent, typeof i2.SmartViewContextErrorDialogComponent, typeof i3.SmartViewRedirect, typeof i4.UiActionToolbarComponent, typeof i5.FileEditorToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i7.UiActionConfirmDialogComponent, typeof i8.UiActionFileUploadDialogComponent, typeof i9.InvalidFieldsSnackBarComponent, typeof i10.SmartformComponent, typeof i11.UiActionDialogButtonComponent, typeof i12.SmartformwidgetComponent, typeof i13.SmartfileuploaderComponent, typeof i14.TrackCapsDirective, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i17.LargeFileSnackBarComponent, typeof i18.SortableWidgetComponent, typeof i19.SmartMonthPickerComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i23.HighlightPipe, typeof i24.UiActionButtonComponent, typeof i25.MenuComponent, typeof i26.UploadWidgetComponent, typeof i27.VoiceRecordWidgetComponent, typeof i28.PhotoCaptureWidgetComponent, typeof i29.PrimeFileUploaderComponent, typeof i30.SmartEmbeddedSlotDirective, typeof i31.ThemeSelectorComponent], [typeof i32.CommonModule, typeof i33.HttpClientModule, typeof i34.MatCommonModule, typeof i35.MatButtonModule, typeof i36.ButtonModule, typeof i37.MatIconModule, typeof i38.MatSnackBarModule, typeof i39.SmartIconModule, typeof i40.MatTooltipModule, typeof i41.SharedModule, typeof i42.SharedModule, typeof i43.BrowserModule, typeof i44.MatChipsModule, typeof i45.FormsModule, typeof i45.ReactiveFormsModule, typeof i46.MatFormFieldModule, typeof i47.MatCheckboxModule, typeof i48.MatSelectModule, typeof i49.MatInputModule, typeof i50.MatDatepickerModule, typeof i51.MatMomentDateModule, typeof i52.MatRadioModule, typeof i53.MatSlideToggleModule, typeof i54.MatAutocompleteModule, typeof i55.QuillModule, typeof i56.DragDropModule, typeof i57.YouTubePlayerModule, typeof i58.InputTextModule, typeof i59.MessagesModule, typeof i60.OverlayPanelModule, typeof i61.DropdownModule, typeof i62.MultiSelectModule, typeof i45.FormsModule, typeof i63.InputSwitchModule, typeof i64.InputNumberModule, typeof i65.TooltipModule, typeof i66.InputTextareaModule, typeof i67.ImageModule, typeof i68.FloatLabelModule, typeof i32.CommonModule, typeof i69.ToastModule, typeof i70.DynamicDialogModule, typeof i71.FileUploadModule, typeof i72.ChipsModule, typeof i73.CalendarModule, typeof i74.CheckboxModule, typeof i75.OrderListModule, typeof i76.InputMaskModule, typeof i77.EditorModule, typeof i78.MatMenuModule, typeof i39.SmartIconModule], [typeof i4.UiActionToolbarComponent, typeof i6.UiActionInputDialogComponent, typeof i10.SmartformComponent, typeof i12.SmartformwidgetComponent, typeof i11.UiActionDialogButtonComponent, typeof i13.SmartfileuploaderComponent, typeof i23.HighlightPipe, typeof i15.ComparableDropdownDirective, typeof i16.ComparableMultiselectDirective, typeof i24.UiActionButtonComponent, typeof i25.MenuComponent, typeof i26.UploadWidgetComponent, typeof i27.VoiceRecordWidgetComponent, typeof i28.PhotoCaptureWidgetComponent, typeof i20.SmartFileEditorComponent, typeof i21.SmartMultiFileEditorComponent, typeof i22.SmartVoiceRecorderComponent, typeof i30.SmartEmbeddedSlotDirective]>;
|
|
82
83
|
static ɵinj: i0.ɵɵInjectorDeclaration<SmartViewContextModule>;
|
|
83
84
|
}
|
|
@@ -8,6 +8,7 @@ import { SmartSubject } from '../smart-subject/projects';
|
|
|
8
8
|
import { SmartNavigationService } from '../smart-navigation/projects';
|
|
9
9
|
import { SmartViewContextDialogService } from './smart-view-context-dialog.service';
|
|
10
10
|
import { ComponentLibrary } from './utility/componentLibrary';
|
|
11
|
+
import { ThemeService } from '../theme/theme.service';
|
|
11
12
|
import * as i0 from "@angular/core";
|
|
12
13
|
export declare const SmartViewContextErrorDialogButtonLabel = "SmartViewContextErrorDialogButtonLabel";
|
|
13
14
|
export declare const SmartViewContextErrorDialogTitle = "SmartViewContextErrorDialogTitle";
|
|
@@ -20,6 +21,7 @@ export declare class SmartViewContextService implements OnDestroy {
|
|
|
20
21
|
private navigation;
|
|
21
22
|
private dialog;
|
|
22
23
|
private apiQueueService;
|
|
24
|
+
private themeService;
|
|
23
25
|
private inject;
|
|
24
26
|
private readonly viewContextUuidName;
|
|
25
27
|
private readonly viewContextUuidHeaderName;
|
|
@@ -53,7 +55,7 @@ export declare class SmartViewContextService implements OnDestroy {
|
|
|
53
55
|
private _translateService?;
|
|
54
56
|
translateServiceChanged: Subject<void>;
|
|
55
57
|
componentLibrary: ComponentLibrary | undefined;
|
|
56
|
-
constructor(view: ViewService, session: SmartSessionService, navigation: SmartNavigationService, dialog: SmartViewContextDialogService, apiQueueService: ApiQueueService, inject: Injector, compLib?: ComponentLibrary);
|
|
58
|
+
constructor(view: ViewService, session: SmartSessionService, navigation: SmartNavigationService, dialog: SmartViewContextDialogService, apiQueueService: ApiQueueService, themeService: ThemeService, inject: Injector, compLib?: ComponentLibrary);
|
|
57
59
|
ngOnDestroy(): void;
|
|
58
60
|
follow(uuid: string, detectChange: SmartSubject<any>): void;
|
|
59
61
|
unfollow(uuid: string): void;
|
|
@@ -129,7 +131,7 @@ export declare class SmartViewContextService implements OnDestroy {
|
|
|
129
131
|
load(uuid: string): Promise<ComponentModel | undefined>;
|
|
130
132
|
load2(uuid: string): Promise<ViewContextChange | undefined>;
|
|
131
133
|
getCurrentViewContext(): ViewContextData | undefined;
|
|
132
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextService, [null, null, null, null, null, null, { optional: true; }]>;
|
|
134
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SmartViewContextService, [null, null, null, null, null, null, null, { optional: true; }]>;
|
|
133
135
|
static ɵprov: i0.ɵɵInjectableDeclaration<SmartViewContextService>;
|
|
134
136
|
}
|
|
135
137
|
export declare const IS_ASYNC_PARAM_NAME = "isAsync";
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|