iguazio.dashboard-controls 1.2.11 → 1.2.13
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/dist/i18n/en/functions.json +1 -1
- package/dist/js/iguazio.dashboard-controls.js +6024 -5993
- package/dist/less/iguazio.dashboard-controls.less +649 -649
- package/package.json +1 -1
- package/src/i18n/en/functions.json +1 -1
- package/src/nuclio/common/screens/create-function/function-from-scratch/function-from-scratch.component.js +6 -0
- package/src/nuclio/common/screens/create-function/function-from-template/function-from-template.component.js +6 -0
- package/src/nuclio/functions/version/version-code/version-code.component.js +22 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "iguazio.dashboard-controls",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.13",
|
|
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": {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
"EXTERNAL_INVOCATION_URLS": "External invocation URLs",
|
|
141
141
|
"EXECUTION_LOG": "Execution log",
|
|
142
142
|
"FAILED_TO_DEPLOY": "Failed to deploy",
|
|
143
|
-
"FUNCTION_NAME_IS_USED_WARNING": "The
|
|
143
|
+
"FUNCTION_NAME_IS_USED_WARNING": "The function name you specified is already in use. Function names must be unique across projects. Choose a different name.",
|
|
144
144
|
"FUNCTIONS_NOT_FOUND": "There are currently no functions, you can create a function by pressing ‘New Function’",
|
|
145
145
|
"GET_STARTED_WITH_YOUR_PROJECT": "Get started with your project.",
|
|
146
146
|
"GO_TO_EXISTING_FUNCTION": "Go to existing function",
|
|
@@ -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,8 +225,22 @@ such restriction.
|
|
|
225
225
|
function onChanges(changes) {
|
|
226
226
|
if (angular.isDefined(changes.version)) {
|
|
227
227
|
ctrl.runtimeArray = getRuntimes();
|
|
228
|
-
ctrl.selectedRuntime = lodash.
|
|
229
|
-
|
|
228
|
+
ctrl.selectedRuntime = lodash.find(ctrl.runtimeArray, ['id', ctrl.version.spec.runtime]);
|
|
229
|
+
|
|
230
|
+
if (!ctrl.selectedRuntime) {
|
|
231
|
+
var customRuntime = {
|
|
232
|
+
id: ctrl.version.spec.runtime,
|
|
233
|
+
ext: 'py',
|
|
234
|
+
name: lodash.capitalize(ctrl.version.spec.runtime),
|
|
235
|
+
language: 'python',
|
|
236
|
+
sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
|
|
237
|
+
visible: true
|
|
238
|
+
};
|
|
239
|
+
|
|
240
|
+
ctrl.runtimeArray.push(customRuntime);
|
|
241
|
+
ctrl.selectedRuntime = customRuntime;
|
|
242
|
+
}
|
|
243
|
+
|
|
230
244
|
ctrl.editorLanguage = ctrl.selectedRuntime.language;
|
|
231
245
|
|
|
232
246
|
var sourceCode = lodash.get(ctrl.version, 'spec.build.functionSourceCode', '');
|
|
@@ -496,6 +510,12 @@ such restriction.
|
|
|
496
510
|
sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
|
|
497
511
|
visible: true
|
|
498
512
|
},
|
|
513
|
+
{
|
|
514
|
+
id: 'python:3.12',
|
|
515
|
+
name: 'Python 3.12',
|
|
516
|
+
sourceCode: 'ZGVmIGhhbmRsZXIoY29udGV4dCwgZXZlbnQpOg0KICAgIHJldHVybiAiIg==', // source code in base64
|
|
517
|
+
visible: true
|
|
518
|
+
},
|
|
499
519
|
{
|
|
500
520
|
id: 'dotnetcore',
|
|
501
521
|
ext: 'cs',
|