khiops-visualization 11.5.2 → 11.5.3

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.
@@ -53,6 +53,28 @@ SOFTWARE.
53
53
 
54
54
  @angular/animations
55
55
  MIT
56
+ The MIT License
57
+
58
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
59
+
60
+ Permission is hereby granted, free of charge, to any person obtaining a copy
61
+ of this software and associated documentation files (the "Software"), to deal
62
+ in the Software without restriction, including without limitation the rights
63
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
64
+ copies of the Software, and to permit persons to whom the Software is
65
+ furnished to do so, subject to the following conditions:
66
+
67
+ The above copyright notice and this permission notice shall be included in
68
+ all copies or substantial portions of the Software.
69
+
70
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
71
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
72
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
73
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
74
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
75
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
76
+ THE SOFTWARE.
77
+
56
78
 
57
79
  @angular/cdk
58
80
  MIT
@@ -81,18 +103,106 @@ THE SOFTWARE.
81
103
 
82
104
  @angular/common
83
105
  MIT
106
+ The MIT License
107
+
108
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
109
+
110
+ Permission is hereby granted, free of charge, to any person obtaining a copy
111
+ of this software and associated documentation files (the "Software"), to deal
112
+ in the Software without restriction, including without limitation the rights
113
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
114
+ copies of the Software, and to permit persons to whom the Software is
115
+ furnished to do so, subject to the following conditions:
116
+
117
+ The above copyright notice and this permission notice shall be included in
118
+ all copies or substantial portions of the Software.
119
+
120
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
121
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
122
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
123
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
124
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
125
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
126
+ THE SOFTWARE.
127
+
84
128
 
85
129
  @angular/core
86
130
  MIT
131
+ The MIT License
132
+
133
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
134
+
135
+ Permission is hereby granted, free of charge, to any person obtaining a copy
136
+ of this software and associated documentation files (the "Software"), to deal
137
+ in the Software without restriction, including without limitation the rights
138
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
139
+ copies of the Software, and to permit persons to whom the Software is
140
+ furnished to do so, subject to the following conditions:
141
+
142
+ The above copyright notice and this permission notice shall be included in
143
+ all copies or substantial portions of the Software.
144
+
145
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
146
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
147
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
148
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
149
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
150
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
151
+ THE SOFTWARE.
152
+
87
153
 
88
154
  @angular/elements
89
155
  MIT
156
+ The MIT License
157
+
158
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
159
+
160
+ Permission is hereby granted, free of charge, to any person obtaining a copy
161
+ of this software and associated documentation files (the "Software"), to deal
162
+ in the Software without restriction, including without limitation the rights
163
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
164
+ copies of the Software, and to permit persons to whom the Software is
165
+ furnished to do so, subject to the following conditions:
166
+
167
+ The above copyright notice and this permission notice shall be included in
168
+ all copies or substantial portions of the Software.
169
+
170
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
171
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
172
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
173
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
174
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
175
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
176
+ THE SOFTWARE.
177
+
90
178
 
91
179
  @angular/flex-layout
92
180
  MIT
93
181
 
94
182
  @angular/forms
95
183
  MIT
184
+ The MIT License
185
+
186
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
187
+
188
+ Permission is hereby granted, free of charge, to any person obtaining a copy
189
+ of this software and associated documentation files (the "Software"), to deal
190
+ in the Software without restriction, including without limitation the rights
191
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
192
+ copies of the Software, and to permit persons to whom the Software is
193
+ furnished to do so, subject to the following conditions:
194
+
195
+ The above copyright notice and this permission notice shall be included in
196
+ all copies or substantial portions of the Software.
197
+
198
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
199
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
200
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
201
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
202
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
203
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
204
+ THE SOFTWARE.
205
+
96
206
 
97
207
  @angular/material
98
208
  MIT
@@ -121,6 +231,28 @@ THE SOFTWARE.
121
231
 
122
232
  @angular/platform-browser
123
233
  MIT
234
+ The MIT License
235
+
236
+ Copyright (c) 2010-2024 Google LLC. https://angular.dev/license
237
+
238
+ Permission is hereby granted, free of charge, to any person obtaining a copy
239
+ of this software and associated documentation files (the "Software"), to deal
240
+ in the Software without restriction, including without limitation the rights
241
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
242
+ copies of the Software, and to permit persons to whom the Software is
243
+ furnished to do so, subject to the following conditions:
244
+
245
+ The above copyright notice and this permission notice shall be included in
246
+ all copies or substantial portions of the Software.
247
+
248
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
249
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
250
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
251
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
252
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
253
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
254
+ THE SOFTWARE.
255
+
124
256
 
125
257
  @babel/runtime
126
258
  MIT
@@ -161,6 +293,64 @@ The above copyright notice and this permission notice shall be included in all c
161
293
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
162
294
 
163
295
 
296
+ @ngrx/effects
297
+ MIT
298
+ The MIT License (MIT)
299
+
300
+ Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald
301
+
302
+ Permission is hereby granted, free of charge, to any person obtaining a copy
303
+ of this software and associated documentation files (the "Software"), to deal
304
+ in the Software without restriction, including without limitation the rights
305
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
306
+ copies of the Software, and to permit persons to whom the Software is
307
+ furnished to do so, subject to the following conditions:
308
+
309
+ The above copyright notice and this permission notice shall be included in all
310
+ copies or substantial portions of the Software.
311
+
312
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
313
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
314
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
315
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
316
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
317
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
318
+ SOFTWARE.
319
+
320
+ This repository includes a file "debounceSync.ts" originially copied from
321
+ https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the
322
+ file header for details.
323
+
324
+
325
+ @ngrx/store
326
+ MIT
327
+ The MIT License (MIT)
328
+
329
+ Copyright (c) 2017-2023 Brandon Roberts, Mike Ryan, Victor Savkin, Rob Wormald
330
+
331
+ Permission is hereby granted, free of charge, to any person obtaining a copy
332
+ of this software and associated documentation files (the "Software"), to deal
333
+ in the Software without restriction, including without limitation the rights
334
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
335
+ copies of the Software, and to permit persons to whom the Software is
336
+ furnished to do so, subject to the following conditions:
337
+
338
+ The above copyright notice and this permission notice shall be included in all
339
+ copies or substantial portions of the Software.
340
+
341
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
342
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
343
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
344
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
345
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
346
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
347
+ SOFTWARE.
348
+
349
+ This repository includes a file "debounceSync.ts" originially copied from
350
+ https://github.com/cartant/rxjs-etc by Nicholas Jamieson, MIT licensed. See the
351
+ file header for details.
352
+
353
+
164
354
  @ngstack/translate
165
355
  MIT
166
356
  MIT License
package/README.md CHANGED
@@ -18,26 +18,48 @@ npm i khiops-visualization
18
18
  ```
19
19
  const kv = document.querySelector('khiops-visualization');
20
20
  kv.setConfig({
21
- appSource : 'WEB',
21
+ appSource : 'WEB', // WEB or ELECTRON
22
+ showProjectTab: true, // Show or hide project tab
22
23
  onFileOpen : function() {
24
+ // Callback when a file is open
23
25
  console.log('fileOpen');
24
26
  },
25
27
  onCopyData : function(data) {
28
+ // Callback when datas are copied
26
29
  console.log(data);
27
30
  },
28
- onCopyImage : function(data) {
29
- console.log(data);
31
+ onCopyImage : function(base64data: any) {
32
+ // Callback when screenshot is copied
33
+ console.log(base64data);
30
34
  },
31
- onThemeChanged : function(data) {
35
+ onThemeChanged : function(data: string) {
36
+ // Callback when theme has changed
32
37
  console.log(data);
33
38
  },
34
-
39
+ readLocalFile : function(file: File | any, cb: Function) {
40
+ // Callback when a local file is loaded automatically
41
+ // For security reasons, local files can not be loaded automatically without Electron
42
+ // Used to load external datas at startup
43
+ // This method takes a file in input and a callback when file is loaded
44
+ },
45
+ onSendEvent : function(event: { message: string; data: any }) {
46
+ // Send custom events
47
+ // Event must have a message and may have additionnal datas of any type
48
+ console.log(message, data);
49
+ },
35
50
  });
36
- kv.setDatas(DATA);
51
+ const datas: CovisualizationDatas | VisualizationDatas;
52
+ kv.setDatas(datas);
37
53
  kv.getDatas();
38
54
 
39
55
  ```
40
56
 
57
+ ## Datas models
58
+
59
+ VisualizationDatas & CovisualizationDatas Models interfaces can be fount here:\
60
+ [VisualizationDatas](https://github.com/KhiopsML/khiops-visualization/blob/master/src/app/khiops-visualization/interfaces/app-datas.d.ts)\
61
+ [CovisualizationDatas](https://github.com/KhiopsML/khiops-visualization/blob/master/src/app/khiops-covisualization/interfaces/app-datas.d.ts)
62
+
41
63
  ## License
42
64
 
43
65
  Khiops visualization & covisualization webcomponents is available under the [BSD 3-Clause Clear License](LICENSE).