@sisense/sdk-ui-angular 1.8.0 → 1.10.0

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.
@@ -2,3 +2,4 @@ export * from './query.service';
2
2
  export * from './sisense-context.service';
3
3
  export * from './theme.service';
4
4
  export * from './dashboard.service';
5
+ export * from './widget.service';
@@ -72,6 +72,88 @@ export declare class ThemeService {
72
72
  primaryButtonTextColor: string;
73
73
  primaryButtonHoverColor: string;
74
74
  };
75
+ aiChat: {
76
+ backgroundColor: string;
77
+ primaryTextColor: string;
78
+ secondaryTextColor: string;
79
+ primaryFontSize: [fontSize: string, lineHeight: string];
80
+ border: string | false;
81
+ borderRadius: string | false;
82
+ body: {
83
+ paddingLeft: string;
84
+ paddingRight: string;
85
+ paddingTop: string;
86
+ paddingBottom: string;
87
+ gapBetweenMessages: string;
88
+ };
89
+ footer: {
90
+ paddingLeft: string;
91
+ paddingRight: string;
92
+ paddingTop: string;
93
+ paddingBottom: string;
94
+ };
95
+ userMessages: {
96
+ backgroundColor: string;
97
+ };
98
+ systemMessages: {
99
+ backgroundColor: string;
100
+ };
101
+ input: {
102
+ backgroundColor: string;
103
+ focus: {
104
+ outlineColor: string;
105
+ };
106
+ };
107
+ header: {
108
+ backgroundColor: string;
109
+ textColor: string;
110
+ };
111
+ dropup: {
112
+ backgroundColor: string;
113
+ boxShadow: string;
114
+ borderRadius: string;
115
+ headers: {
116
+ textColor: string;
117
+ hover: {
118
+ backgroundColor: string;
119
+ };
120
+ };
121
+ items: {
122
+ textColor: string;
123
+ hover: {
124
+ backgroundColor: string;
125
+ };
126
+ };
127
+ };
128
+ suggestions: {
129
+ textColor: string;
130
+ backgroundColor: string;
131
+ border: string;
132
+ borderGradient: [string, string] | null;
133
+ borderRadius: string;
134
+ hover: {
135
+ backgroundColor: string;
136
+ textColor: string;
137
+ };
138
+ loadingGradient: [string, string];
139
+ gap: string;
140
+ };
141
+ clickableMessages: {
142
+ backgroundColor: string;
143
+ textColor: string;
144
+ border: string | false;
145
+ hover: {
146
+ textColor: string;
147
+ backgroundColor: string;
148
+ };
149
+ };
150
+ icons: {
151
+ color: string;
152
+ hover: {
153
+ color: string;
154
+ };
155
+ };
156
+ };
75
157
  }>;
76
158
  updateThemeSettings(theme: string | ThemeSettings): Promise<void>;
77
159
  static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, [null, { optional: true; }]>;
@@ -0,0 +1,22 @@
1
+ import { type GetWidgetModelParams } from '@sisense/sdk-ui-preact';
2
+ import { SisenseContextService } from './sisense-context.service';
3
+ import * as i0 from "@angular/core";
4
+ /**
5
+ * Service for working with Sisense Fusion widgets.
6
+ *
7
+ * @group Fusion Embed
8
+ * @fusionEmbed
9
+ */
10
+ export declare class WidgetService {
11
+ private sisenseContextService;
12
+ constructor(sisenseContextService: SisenseContextService);
13
+ /**
14
+ * Retrieves an existing widget model from the Sisense instance.
15
+ *
16
+ * @param params - Parameters to identify the target widget
17
+ * @returns Widget model
18
+ */
19
+ getWidgetModel(params: GetWidgetModelParams): Promise<import("@sisense/sdk-ui-preact").WidgetModel>;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<WidgetService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<WidgetService>;
22
+ }
package/dist/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.8.0",
14
+ "version": "1.10.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
package/dist/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "1.8.0";
1
+ declare const _default: "1.10.0";
2
2
  export default _default;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "Sisense",
12
12
  "Compose SDK"
13
13
  ],
14
- "version": "1.8.0",
14
+ "version": "1.10.0",
15
15
  "author": "Sisense",
16
16
  "license": "SEE LICENSE IN LICENSE.md",
17
17
  "main": "dist",
@@ -45,9 +45,9 @@
45
45
  "@angular/core": "^15.0.0 || ^16.0.0 || ^17.0.0"
46
46
  },
47
47
  "dependencies": {
48
- "@sisense/sdk-data": "^1.8.0",
49
- "@sisense/sdk-tracking": "^1.8.0",
50
- "@sisense/sdk-ui-preact": "^1.8.0",
48
+ "@sisense/sdk-data": "^1.10.0",
49
+ "@sisense/sdk-tracking": "^1.10.0",
50
+ "@sisense/sdk-ui-preact": "^1.10.0",
51
51
  "rxjs": "^7.8.1",
52
52
  "ts-deepmerge": "^6.2.0",
53
53
  "tslib": "^2.3.0"