@jskit-ai/connectors-web 0.2.22 → 0.2.24
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": "@jskit-ai/connectors-web",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.24",
|
|
4
4
|
"description": "Shared Vue fields for portable application integration configuration.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"./locales/en.json": "./locales/en.json"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@jskit-ai/connectors-core": "0.2.
|
|
18
|
+
"@jskit-ai/connectors-core": "0.2.24"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@jskit-ai/kernel": "0.2.
|
|
21
|
+
"@jskit-ai/kernel": "0.2.18",
|
|
22
22
|
"vue": "^3.5.13",
|
|
23
23
|
"vuetify": "^4.0.0"
|
|
24
24
|
},
|
|
@@ -112,6 +112,7 @@ function settingErrors(field) {
|
|
|
112
112
|
:placeholder="definition.name" :error-messages="errors[`${integrationPath}.displayName`]"
|
|
113
113
|
@update:model-value="editIntegration({ displayName: $event || undefined })"
|
|
114
114
|
/>
|
|
115
|
+
<!-- readable-check: allow selection-field - data: the provider definition this form edits lists its account modes, so nothing loads -->
|
|
115
116
|
<v-select
|
|
116
117
|
:label="t('jskit.connectors.configurationFields.accountMode.label')" :items="modes" :model-value="integration.accountMode" :disabled="disabled"
|
|
117
118
|
:error-messages="errors[`${integrationPath}.accountMode`]"
|
|
@@ -124,6 +125,7 @@ function settingErrors(field) {
|
|
|
124
125
|
<v-expansion-panel value="credentials" :title="t('jskit.connectors.configurationFields.panels.credentials')">
|
|
125
126
|
<v-expansion-panel-text>
|
|
126
127
|
<v-defaults-provider root>
|
|
128
|
+
<!-- readable-check: allow selection-field - data: the provider definition lists its sign-in methods, so nothing loads -->
|
|
127
129
|
<v-select
|
|
128
130
|
v-if="authenticationOptions.length > 1"
|
|
129
131
|
:label="t('jskit.connectors.configurationFields.authentication.label')" :items="authenticationOptions" :model-value="integration.authentication.method" :disabled="disabled"
|
|
@@ -132,6 +134,7 @@ function settingErrors(field) {
|
|
|
132
134
|
@update:model-value="editAuthentication"
|
|
133
135
|
/>
|
|
134
136
|
<template v-for="field in visibleSettings" :key="field.name">
|
|
137
|
+
<!-- readable-check: allow selection-field - data: a settings field of the provider definition lists its items, so nothing loads -->
|
|
135
138
|
<v-autocomplete
|
|
136
139
|
v-if="field.searchable"
|
|
137
140
|
:label="text(field.label)" :items="settingItems(field)" :disabled="disabled" auto-select-first
|
|
@@ -139,6 +142,7 @@ function settingErrors(field) {
|
|
|
139
142
|
:hint="settingHint(field)" persistent-hint :error-messages="settingErrors(field)"
|
|
140
143
|
@update:model-value="editSetting(field.name, $event)"
|
|
141
144
|
/>
|
|
145
|
+
<!-- readable-check: allow selection-field - data: a settings field of the provider definition lists its items, so nothing loads -->
|
|
142
146
|
<v-select
|
|
143
147
|
v-else-if="field.items"
|
|
144
148
|
:label="text(field.label)" :items="settingItems(field)" :disabled="disabled"
|
|
@@ -165,12 +169,14 @@ function settingErrors(field) {
|
|
|
165
169
|
</slot>
|
|
166
170
|
</template>
|
|
167
171
|
<template v-else-if="integration.authentication.method === 'oauth2'">
|
|
172
|
+
<!-- readable-check: allow selection-field - data: the registrations are those of the configuration being edited, so nothing loads -->
|
|
168
173
|
<v-select
|
|
169
174
|
:label="t('jskit.connectors.configurationFields.registration.label')" :items="registrationOptions" :model-value="registrationId" :disabled="disabled"
|
|
170
175
|
:error-messages="errors[`${integrationPath}.authentication.registrationRef`]"
|
|
171
176
|
@update:model-value="editIntegration({ authentication: { ...integration.authentication, registrationRef: $event } })"
|
|
172
177
|
/>
|
|
173
178
|
<template v-if="registration?.source === 'own'">
|
|
179
|
+
<!-- readable-check: allow selection-field - data: the provider definition lists its grant types, so nothing loads -->
|
|
174
180
|
<v-select
|
|
175
181
|
v-if="grantOptions.length > 1"
|
|
176
182
|
:label="t('jskit.connectors.configurationFields.grantType.label')" :items="grantOptions" :model-value="grantType" :disabled="disabled"
|