iguazio.dashboard-controls 1.2.8 → 1.2.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "iguazio.dashboard-controls",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "main": "dist/js/iguazio.dashboard-controls.js",
5
5
  "description": "Collection of resources (such as CSS styles, fonts and images) and AngularJs 1.x components and services to share among different Iguazio repos.",
6
6
  "repository": {
@@ -236,6 +236,12 @@ such restriction.
236
236
  sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
237
237
  visible: true
238
238
  },
239
+ {
240
+ id: 'python:3.12',
241
+ name: 'Python 3.12',
242
+ sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
243
+ visible: true
244
+ },
239
245
  {
240
246
  id: 'dotnetcore',
241
247
  name: '.NET Core ' + $i18next.t('functions:TECH_PREVIEW_LABEL', { lng: lng }),
@@ -403,6 +403,12 @@ such restriction.
403
403
  sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
404
404
  visible: true
405
405
  },
406
+ {
407
+ id: 'python:3.12',
408
+ name: 'Python 3.12',
409
+ sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
410
+ visible: true
411
+ },
406
412
  {
407
413
  id: 'dotnetcore',
408
414
  name: '.NET Core ' + $i18next.t('functions:TECH_PREVIEW_LABEL', {lng: lng}),
@@ -225,7 +225,8 @@ such restriction.
225
225
  function onChanges(changes) {
226
226
  if (angular.isDefined(changes.version)) {
227
227
  ctrl.runtimeArray = getRuntimes();
228
- ctrl.selectedRuntime = lodash.find(ctrl.runtimeArray, ['id', ctrl.version.spec.runtime]);
228
+ ctrl.selectedRuntime = lodash.defaultTo(lodash.find(ctrl.runtimeArray, ['id', ctrl.version.spec.runtime]),
229
+ lodash.find(ctrl.runtimeArray, ['id', 'python']));
229
230
  ctrl.editorLanguage = ctrl.selectedRuntime.language;
230
231
 
231
232
  var sourceCode = lodash.get(ctrl.version, 'spec.build.functionSourceCode', '');
@@ -495,6 +496,12 @@ such restriction.
495
496
  sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
496
497
  visible: true
497
498
  },
499
+ {
500
+ id: 'python:3.12',
501
+ name: 'Python 3.12',
502
+ sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
503
+ visible: true
504
+ },
498
505
  {
499
506
  id: 'dotnetcore',
500
507
  ext: 'cs',