iguazio.dashboard-controls 1.3.3 → 1.3.5
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/.editorconfig +11 -0
- package/.vscode/extensions.json +5 -0
- package/.vscode/settings.json +24 -0
- package/dist/i18n/en/functions.json +17 -1
- package/dist/images/ic-alert-message.svg +1 -1
- package/dist/images/oops.png +0 -0
- package/dist/images/shape.svg +1 -1
- package/dist/js/iguazio.dashboard-controls.js +9511 -9267
- package/dist/less/iguazio.dashboard-controls.less +4656 -4650
- package/package.json +17 -4
- package/src/i18n/en/functions.json +17 -1
- package/src/nuclio/common/components/edit-item/edit-item-field/edit-item-field.tpl.html +16 -2
- package/src/nuclio/common/components/edit-item/edit-item.component.js +26 -14
- package/src/nuclio/common/components/edit-item/edit-item.less +6 -0
- package/src/nuclio/common/components/edit-item/edit-item.tpl.html +2 -1
- package/src/nuclio/common/components/key-value-input/key-value-input.component.js +142 -89
- package/src/nuclio/common/components/key-value-input/key-value-input.tpl.html +18 -9
- package/src/nuclio/functions/functions.service.js +167 -23
- package/src/nuclio/functions/version/version-configuration/tabs/version-configuration-environment-variables/version-configuration-environment-variables.component.js +20 -19
package/.editorconfig
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
{
|
|
2
|
+
"editor.formatOnSave": false,
|
|
3
|
+
"[javascript]": {
|
|
4
|
+
"editor.formatOnSave": false,
|
|
5
|
+
"editor.defaultFormatter": null
|
|
6
|
+
},
|
|
7
|
+
"[html]": {
|
|
8
|
+
"editor.formatOnSave": true,
|
|
9
|
+
"editor.defaultFormatter": "vscode.html-language-features"
|
|
10
|
+
},
|
|
11
|
+
"files.associations": {
|
|
12
|
+
"*.tpl.html": "html"
|
|
13
|
+
},
|
|
14
|
+
"html.format.wrapAttributes": "force-aligned",
|
|
15
|
+
"html.format.wrapLineLength": 120,
|
|
16
|
+
"html.format.indentInnerHtml": true,
|
|
17
|
+
"html.format.maxPreserveNewLines": 2,
|
|
18
|
+
"editor.codeActionsOnSave": {
|
|
19
|
+
"source.fixAll.eslint": "always"
|
|
20
|
+
},
|
|
21
|
+
"eslint.validate": [
|
|
22
|
+
"javascript"
|
|
23
|
+
]
|
|
24
|
+
}
|
|
@@ -32,6 +32,7 @@
|
|
|
32
32
|
"BUILD_COMMANDS_DESCRIPTION": "Custom build commands to execute as part of the container-image build",
|
|
33
33
|
"BUILD_LOG": "Build log",
|
|
34
34
|
"BYTES_TO_FETCH_DEFAULT": "Bytes to fetch (default)",
|
|
35
|
+
"CA_CERTIFICATE": "CA Certificate",
|
|
35
36
|
"CANARY": "Canary",
|
|
36
37
|
"CANNOT_CREATE_TRIGGER": "Cannot create more than one trigger of this kind",
|
|
37
38
|
"CHOOSE_TEMPLATE": "Choose a template",
|
|
@@ -92,6 +93,8 @@
|
|
|
92
93
|
"EDIT_API_GATEWAY": "Edit the API Gateway",
|
|
93
94
|
"EDIT_FUNCTION_EVENT": "Edit the function event",
|
|
94
95
|
"EDIT_PROJECT": "Edit the project",
|
|
96
|
+
"ENABLE_SASL": "Enable SASL",
|
|
97
|
+
"ENABLE_TLS": "Enable TLS",
|
|
95
98
|
"ENDPOINT": "Endpoint",
|
|
96
99
|
"ENRICHED_SERVICE_ACCOUNT": "Enriched service account",
|
|
97
100
|
"ENTER_HOST_TO_SEE_ENDPOINT": "Enter host to see endpoint",
|
|
@@ -141,6 +144,8 @@
|
|
|
141
144
|
"EXTERNAL_INVOCATION_URLS": "External invocation URLs",
|
|
142
145
|
"EXECUTION_LOG": "Execution log",
|
|
143
146
|
"FAILED_TO_DEPLOY": "Failed to deploy",
|
|
147
|
+
"FIELD_PATH": "Field path",
|
|
148
|
+
"FIELD_REF": "Field ref",
|
|
144
149
|
"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.",
|
|
145
150
|
"FUNCTIONS_NOT_FOUND": "There are currently no functions, you can create a function by pressing ‘New Function’",
|
|
146
151
|
"GET_STARTED_WITH_YOUR_PROJECT": "Get started with your project.",
|
|
@@ -192,6 +197,10 @@
|
|
|
192
197
|
"NORMAL": "Normal",
|
|
193
198
|
"NOT_START_WITH_FORBIDDEN_WORDS_LABEL": "Must not start with 'kubernetes.io', 'k8s.io' or 'nuclio.io'",
|
|
194
199
|
"NOT_YET_DEPLOYED": "Not yet deployed",
|
|
200
|
+
"OAUTH_CLIENT_ID": "OAuth Client ID",
|
|
201
|
+
"OAUTH_CLIENT_SECRET": "OAuth Client Secret",
|
|
202
|
+
"OAUTH_TOKEN_URL": "OAuth Token URL",
|
|
203
|
+
"OAUTH_SCOPES": "OAuth Scopes (comma separated)",
|
|
195
204
|
"OAUTH2": "OAuth2",
|
|
196
205
|
"ONBUILD_IMAGE": "Onbuild image",
|
|
197
206
|
"ONBUILD_IMAGE_DESCRIPTION": "The name of an \"onbuild\" container image from which to build the function's processor image; the name can include {{ .Label }} and {{ .Arch }} for formatting",
|
|
@@ -221,6 +230,7 @@
|
|
|
221
230
|
"ENTER_DURATION": "E.g. 1h, 30m, 10s",
|
|
222
231
|
"ENTER_ENDPOINT": "Enter endpoint",
|
|
223
232
|
"ENTER_EVENT_BODY": "Enter event body",
|
|
233
|
+
"ENTER_FIELD_PATH": "metadata.labels['mlrun/class']",
|
|
224
234
|
"ENTER_FUNCTION_NAME": "Enter function name",
|
|
225
235
|
"ENTER_IMAGE": "Enter image",
|
|
226
236
|
"ENTER_IMAGE_NAME": "Enter image name",
|
|
@@ -282,6 +292,8 @@
|
|
|
282
292
|
"RUN_ON_SPOT_NODES": "Run on Spot nodes",
|
|
283
293
|
"RUNTIME": "Runtime",
|
|
284
294
|
"RUNTIME_ATTRIBUTES": "Runtime attributes",
|
|
295
|
+
"SASL_HANDSHAKE": "SASL Handshake",
|
|
296
|
+
"SASL_MECHANISM": "SASL Mechanism",
|
|
285
297
|
"SASL_PASSWORD": "SASL password",
|
|
286
298
|
"SASL_USERNAME": "SASL username",
|
|
287
299
|
"SAVED": "Saved",
|
|
@@ -311,6 +323,10 @@
|
|
|
311
323
|
"TEMPLATES": "Templates",
|
|
312
324
|
"THEME": "Theme",
|
|
313
325
|
"TIMEOUT": "Timeout",
|
|
326
|
+
"TLS_ACCESS_KEY": "TLS Access Key",
|
|
327
|
+
"TLS_ACCESS_CERTIFICATE": "TLS Access Certificate",
|
|
328
|
+
"TLS_INSECURE_SKIP_VERIFY": "TLS Insecure Skip Verify",
|
|
329
|
+
"TLS_MINIMUM_VERSION": "TLS Minimum Version",
|
|
314
330
|
"TOKEN": "Token",
|
|
315
331
|
"TOOLTIP": {
|
|
316
332
|
"ADD_LABELS": "Labels can be set on function creation only.",
|
|
@@ -411,4 +427,4 @@
|
|
|
411
427
|
"WORKER_AVAILABILITY_TIMEOUT_MILLISECONDS_DESCRIPTION": "The number of milliseconds to wait for a worker if one is not available.\n(default: {{default}})",
|
|
412
428
|
"YES_REVERT_CONFIRM": "Yes, revert",
|
|
413
429
|
"YOU_CAN_DOWNLOAD_RESPONSE_BODY": "You can download response body"
|
|
414
|
-
}
|
|
430
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="29"><path fill="#E54158" fill-rule="evenodd" d="M33.722 28.027a1.93 1.93 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="34" height="29"><path fill="#E54158" fill-rule="evenodd" d="M33.722 28.027a1.93 1.93 0 01-1.674.971H1.927c-.691 0-1.33-.37-1.675-.971a1.957 1.957 0 01.001-1.941L15.315.965a1.933 1.933 0 011.672-.967c.689 0 1.327.369 1.672.967L33.72 26.086c.347.6.347 1.34.002 1.941zM16.987 1.937L1.927 27.058h30.121L16.987 1.937zM17.997 11v8h-2v-8h2zm0 12h-2v-2h2v2z"/></svg>
|
package/dist/images/oops.png
CHANGED
|
Binary file
|
package/dist/images/shape.svg
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" width="152" height="121"><path fill="#FDBC5A" fill-rule="evenodd" d="M142.99 89.987c-4.966 0-9.009-4.031-9.009-8.985 0-4.955 4.043-8.986 9.009-8.986 4.968 0 9.008 4.031 9.008 8.986 0 4.954-4.04 8.985-9.008 8.985zm0-16.473c-4.145 0-7.507 3.352-7.507 7.488 0 4.134 3.362 7.487 7.507 7.487 4.146 0 7.507-3.353 7.507-7.487 0-4.136-3.361-7.488-7.507-7.488zm2.428 11.199h-.112c-.463 0-.708-.25-.708-.721v-3.637c0-1.197-.445-1.708-1.488-1.708-1.041 0-1.713.891-1.713 2.27v3.075c0 .478-.247.721-.737.721h-.098c-.485 0-.722-.236-.722-.721v-5.855c0-.472.249-.721.722-.721h.098c.481 0 .724.242.724.721v.084c.45-.515 1.148-.931 1.979-.931 1.767 0 2.778 1.101 2.778 3.023v3.679c0 .485-.236.721-.723.721zm-10.752-27.232c-.471 0-.824-.355-.942-.948v-5.217c0-.593.471-.949.942-.949.588 0 .943.474.943.949v5.217a.933.933 0
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="152" height="121"><path fill="#FDBC5A" fill-rule="evenodd" d="M142.99 89.987c-4.966 0-9.009-4.031-9.009-8.985 0-4.955 4.043-8.986 9.009-8.986 4.968 0 9.008 4.031 9.008 8.986 0 4.954-4.04 8.985-9.008 8.985zm0-16.473c-4.145 0-7.507 3.352-7.507 7.488 0 4.134 3.362 7.487 7.507 7.487 4.146 0 7.507-3.353 7.507-7.487 0-4.136-3.361-7.488-7.507-7.488zm2.428 11.199h-.112c-.463 0-.708-.25-.708-.721v-3.637c0-1.197-.445-1.708-1.488-1.708-1.041 0-1.713.891-1.713 2.27v3.075c0 .478-.247.721-.737.721h-.098c-.485 0-.722-.236-.722-.721v-5.855c0-.472.249-.721.722-.721h.098c.481 0 .724.242.724.721v.084c.45-.515 1.148-.931 1.979-.931 1.767 0 2.778 1.101 2.778 3.023v3.679c0 .485-.236.721-.723.721zm-10.752-27.232c-.471 0-.824-.355-.942-.948v-5.217c0-.593.471-.949.942-.949.588 0 .943.474.943.949v5.217a.933.933 0 01-.943.948zm0-10.553c-.471 0-.824-.474-.942-.948V29.736c0-.593.471-.949.942-.949.588 0 .943.475.943.949V45.98a.933.933 0 01-.943.948zm-4.528-37.08a.89.89 0 01-.588-.237l-1.885-1.779a.937.937 0 010-1.304.92.92 0 011.296 0l1.766 1.778a.938.938 0 010 1.305.904.904 0 01-.589.237zm-1.177-6.047a.896.896 0 01-.589.237c-.235 0-.472-.118-.707-.237a.937.937 0 010-1.304l1.767-1.779a.919.919 0 011.295 0 .937.937 0 010 1.304l-1.766 1.779zm-1.416 81.267c0 2.024-1.697 3.734-3.708 3.734H18.721c-2.08 0-3.709-1.641-3.709-3.734V20.962c0-2.024 1.699-3.735 3.709-3.735h105.116c2.011 0 3.708 1.711 3.708 3.735v64.106zm-1.766-64.106c0-1.042-.908-1.957-1.942-1.957H18.721c-1.036 0-1.722.952-1.722 1.995v8.321h108.78v-8.359zm0 10.138H16.999V85c0 1.115.614 2.024 1.722 2.024h105.116c1.034 0 1.942-.914 1.942-1.956V31.1zm-13.363 29.686h-32.14c-.589 0-.943-.474-.943-.948V47.981c0-.593.472-.949.943-.949h32.14c.471 0 .943.356.943.948v11.858a.933.933 0 01-.943.948zm-.941-11.975H81.1v10.078h30.375V48.811zM97.32 43.002H80.276a.933.933 0 01-.943-.949c0-.593.472-.949.943-.949H97.32c.589 0 .942.475.942.949a.932.932 0 01-.942.949zM74.743 60.668H29.437a.932.932 0 01-.943-.949V47.862c0-.593.471-.948.943-.948h45.306c.588 0 .942.474.942.948v11.857a.932.932 0 01-.942.949zm-.942-11.857h-43.54v10.078h43.54V48.811zm-15.542-5.809H29.437a.932.932 0 01-.943-.949c0-.593.471-.949.943-.949h28.822c.588 0 .942.475.942.949a.932.932 0 01-.942.949zM30.726 69.988h3.501v-3.637c0-.491.395-.889.882-.889.488 0 .884.398.884.889v3.637h3.5c.486 0 .882.398.882.889a.886.886 0 01-.882.889h-3.5v3.637a.887.887 0 01-.884.889.886.886 0 01-.882-.889v-3.637h-3.501a.886.886 0 01-.882-.889c0-.491.395-.889.882-.889zm92.35-60.377a.904.904 0 01-.589.237c-.236 0-.471 0-.707-.237a.936.936 0 010-1.305l1.766-1.778a.917.917 0 011.294 0 .933.933 0 010 1.304l-1.764 1.779zm1.176-5.573a.894.894 0 01-.589-.237l-1.883-1.779a.935.935 0 010-1.304.92.92 0 011.296 0l1.764 1.779a.933.933 0 010 1.304.89.89 0 01-.588.237zm-78.229 4.83H31.78c-.588 0-.941-.474-.941-.949 0-.474.47-.83.941-.948h14.243c.587 0 .942.474.942.948a.932.932 0 01-.942.949zm-6.239-4.98h-3.178a.931.931 0 01-.941-.949c0-.592.47-.948.941-.948h3.178c.588 0 .942.356.942.948 0 .593-.47.949-.942.949zM22.482 6.971h4.59c.589 0 .942.474.942.948a.932.932 0 01-.942.949h-4.59c-.588 0-.943-.474-.943-.949 0-.474.471-.83.943-.948zm9.887-3.083h-9.887c-.472 0-.943-.356-.943-.83s.471-.949.943-1.067h9.887c.589 0 .941.356.941.948 0 .593-.47.949-.941.949zM8.303 29.973a.887.887 0 01-.588.237.891.891 0 01-.588-.237.935.935 0 010-1.304l1.765-1.778c.353-.356.942-.356 1.177 0a.935.935 0 010 1.304l-1.766 1.778zm0 2.727l1.65 1.779a.939.939 0 010 1.304.9.9 0 01-.589.237.89.89 0 01-.589-.237l-1.766-1.778a.936.936 0 010-1.305.92.92 0 011.294 0zm-.647 15.243v16.245a.932.932 0 01-.941.948c-.589 0-.943-.474-.943-.948V48.062c0-.593.472-.949.943-.949.47 0 .823.356.941.83zm-5.12-12.16a.894.894 0 01-.588.237.894.894 0 01-.589-.237.935.935 0 010-1.304L3.125 32.7c.235-.355.824-.355 1.177 0a.938.938 0 010 1.305l-1.766 1.778zm1.06-5.573a.894.894 0 01-.589-.237L1.24 28.195a.939.939 0 010-1.304.92.92 0 011.296 0l1.648 1.778a.935.935 0 010 1.304.894.894 0 01-.588.237zm3.119 38.483c.47 0 .823.356.941.949v5.217a.931.931 0 01-.941.948c-.589 0-.943-.474-.943-.948v-5.217c0-.593.472-.949.943-.949zm26.29 34.295c3.856 0 6.993 3.14 6.993 7.001 0 3.86-3.137 7-6.993 7-3.858 0-6.995-3.14-6.995-7 0-3.861 3.137-7.001 6.995-7.001zm0 12.835a5.83 5.83 0 005.828-5.834 5.83 5.83 0 00-5.828-5.834 5.831 5.831 0 00-5.829 5.834 5.831 5.831 0 005.829 5.834zm-1.885-8.627h.076c.372 0 .561.188.561.561v.066c.35-.401.891-.726 1.537-.726 1.372 0 2.156.858 2.156 2.355v2.867c0 .377-.183.562-.56.562h-.088c-.36 0-.55-.195-.55-.562v-2.834c0-.932-.346-1.331-1.155-1.331-.808 0-1.329.695-1.329 1.769v2.396c0 .372-.193.562-.572.562h-.076c-.378 0-.561-.185-.561-.562v-4.562c0-.367.193-.561.561-.561zm73.538-8.191a.894.894 0 01-.587-.237l-1.766-1.779a.933.933 0 010-1.304.919.919 0 011.295 0l1.646 1.779a.931.931 0 010 1.304.89.89 0 01-.588.237zm.588 3.913l-1.764 1.778a.896.896 0 01-.588.237.892.892 0 01-.589-.237.933.933 0 010-1.304l1.766-1.778c.352-.356.941-.356 1.175 0a.931.931 0 010 1.304zm4.121-1.304l1.648 1.778a.933.933 0 010 1.304.894.894 0 01-.589.237.896.896 0 01-.588-.237l-1.766-1.778a.935.935 0 010-1.304.919.919 0 011.295 0zm.59-5.929c.351-.356.823-.356 1.176 0a.937.937 0 010 1.304l-1.766 1.779a.899.899 0 01-.588.237.9.9 0 01-.589-.237.935.935 0 010-1.304l1.767-1.779zm-8.259 18.425h14.243c.588 0 .942.474.942.948s-.354.83-.942.949h-14.243c-.588 0-.941-.356-.941-.949a.93.93 0 01.941-.948zm6.24 4.979h3.176c.472 0 .943.356.943.949a.932.932 0 01-.943.949h-3.176c-.589 0-.943-.475-.943-.949 0-.593.471-.949.943-.949zm17.301-3.082h-4.59c-.588 0-.942-.356-.942-.949s.471-.948.942-.948h4.59c.589 0 .942.355.942.948s-.47.949-.942.949zm-9.887 3.082h9.887c.589 0 .942.356.942.949s-.47.949-.942.949h-9.887c-.588 0-.942-.475-.942-.949 0-.593.471-.949.942-.949z"/></svg>
|