@bigbinary/neeto-api-keys-frontend 3.0.1 → 3.0.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.
- package/app/javascript/src/translations/ar.json +3 -1
- package/app/javascript/src/translations/bg.json +3 -1
- package/app/javascript/src/translations/ca.json +3 -1
- package/app/javascript/src/translations/cs.json +3 -1
- package/app/javascript/src/translations/da.json +3 -1
- package/app/javascript/src/translations/de.json +3 -1
- package/app/javascript/src/translations/en.json +3 -1
- package/app/javascript/src/translations/es-MX.json +3 -1
- package/app/javascript/src/translations/es.json +3 -1
- package/app/javascript/src/translations/et.json +3 -1
- package/app/javascript/src/translations/fi.json +3 -1
- package/app/javascript/src/translations/fil.json +3 -1
- package/app/javascript/src/translations/fr.json +3 -1
- package/app/javascript/src/translations/he.json +76 -0
- package/app/javascript/src/translations/hi.json +3 -1
- package/app/javascript/src/translations/hr.json +3 -1
- package/app/javascript/src/translations/id.json +3 -1
- package/app/javascript/src/translations/it.json +3 -1
- package/app/javascript/src/translations/ja.json +3 -1
- package/app/javascript/src/translations/ko.json +3 -1
- package/app/javascript/src/translations/nl.json +3 -1
- package/app/javascript/src/translations/pl.json +3 -1
- package/app/javascript/src/translations/pt-BR.json +3 -1
- package/app/javascript/src/translations/pt.json +3 -1
- package/app/javascript/src/translations/ro.json +3 -1
- package/app/javascript/src/translations/ru.json +3 -1
- package/app/javascript/src/translations/sk.json +3 -1
- package/app/javascript/src/translations/sl.json +3 -1
- package/app/javascript/src/translations/sv.json +3 -1
- package/app/javascript/src/translations/th.json +3 -1
- package/app/javascript/src/translations/tr.json +3 -1
- package/app/javascript/src/translations/uk.json +3 -1
- package/app/javascript/src/translations/vi.json +3 -1
- package/app/javascript/src/translations/zh-CN.json +3 -1
- package/app/javascript/src/translations/zh-TW.json +3 -1
- package/dist/ApiKeys.js +19 -2
- package/dist/ApiKeys.js.map +1 -1
- package/dist/cjs/ApiKeys.js +19 -2
- package/dist/cjs/ApiKeys.js.map +1 -1
- package/dist/cjs/index.js +3 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +11 -11
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Mai",
|
|
7
7
|
"general": "General",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipus"
|
|
9
|
+
"type": "Tipus",
|
|
10
|
+
"apiKeyCount_one": "{{count}} clau de l'API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} claus de l'API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Afegir nova clau d'API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nie",
|
|
7
7
|
"general": "Allgemein",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Typ"
|
|
9
|
+
"type": "Typ",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API-Schlüssel",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API-Schlüssel"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Neuen API-Schlüssel hinzufügen",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nunca",
|
|
7
7
|
"general": "General",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipo"
|
|
9
|
+
"type": "Tipo",
|
|
10
|
+
"apiKeyCount_one": "{{count}} clave de API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} claves de API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Agregar nueva clave API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nunca",
|
|
7
7
|
"general": "General",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipo"
|
|
9
|
+
"type": "Tipo",
|
|
10
|
+
"apiKeyCount_one": "{{count}} clave de API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} claves de API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Agregar nueva clave de API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Ei koskaan",
|
|
7
7
|
"general": "Yleinen",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tyyppi"
|
|
9
|
+
"type": "Tyyppi",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API avain",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API avainta"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Lisää uusi API-avain",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Kailanman",
|
|
7
7
|
"general": "Pangkalahatan",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Uri"
|
|
9
|
+
"type": "Uri",
|
|
10
|
+
"apiKeyCount_one": "{{count}} Pangunahing susi ng API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} Mga susi ng API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Magdagdag ng bagong API susi",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Jamais",
|
|
7
7
|
"general": "Général",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Type"
|
|
9
|
+
"type": "Type",
|
|
10
|
+
"apiKeyCount_one": "{{count}} clé API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} clés API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Ajouter une nouvelle clé API",
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
{
|
|
2
|
+
"neetoApiKeys": {
|
|
3
|
+
"common": {
|
|
4
|
+
"apiKey_one": "מפתח API",
|
|
5
|
+
"apiKey_other": "מפתחות API",
|
|
6
|
+
"never": "מעולם",
|
|
7
|
+
"general": "כללי",
|
|
8
|
+
"zapier": "זאפייר",
|
|
9
|
+
"type": "סוג",
|
|
10
|
+
"apiKeyCount_one": "{{count}} מפתחות API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} מפתחות API"
|
|
12
|
+
},
|
|
13
|
+
"headers": {
|
|
14
|
+
"createApiKey": "הוסף מפתח API חדש",
|
|
15
|
+
"updateApiKey": "ערוך מפתח API"
|
|
16
|
+
},
|
|
17
|
+
"noData": {
|
|
18
|
+
"title": "אין מפתחות API להציג.",
|
|
19
|
+
"helpText": "הנה איך אתה יכול <helpLink>ליצור מפתח API</helpLink>."
|
|
20
|
+
},
|
|
21
|
+
"alert": {
|
|
22
|
+
"titles": {
|
|
23
|
+
"deleteApiKey": "למחוק מפתח API?"
|
|
24
|
+
},
|
|
25
|
+
"descriptions": {
|
|
26
|
+
"deleteApiKey": "אתה מוחק לצמיתות את מפתח ה-API בשם <strong>{{name}}</strong>. זה לא ניתן לביטול.",
|
|
27
|
+
"deleteZapierApiKey": "אתה מוחק לצמיתות את מפתח ה-API <strong>{{name}}</strong>. כל הזאפים שקשורים למפתח API זה יכבו. זה לא ניתן לביטול."
|
|
28
|
+
}
|
|
29
|
+
},
|
|
30
|
+
"buttons": {
|
|
31
|
+
"delete": "מחק",
|
|
32
|
+
"addApiKey": "הוסף מפתח API",
|
|
33
|
+
"edit": "ערוך",
|
|
34
|
+
"submit": "שלח",
|
|
35
|
+
"cancel": "בטל",
|
|
36
|
+
"saveChanges": "שמור שינויים"
|
|
37
|
+
},
|
|
38
|
+
"placeholders": {
|
|
39
|
+
"search": "חפש מפתחות API",
|
|
40
|
+
"selectExpiryDate": "בחר תאריך תפוגה",
|
|
41
|
+
"label": "הוסף תווית עבור מפתח ה-API"
|
|
42
|
+
},
|
|
43
|
+
"notifications": {
|
|
44
|
+
"copiedToClipboard": "מפתח ה-API הועתק ללוח"
|
|
45
|
+
},
|
|
46
|
+
"tooltips": {
|
|
47
|
+
"apiKeys": "מפתחות API",
|
|
48
|
+
"apiKeysDescription": "צור מפתחות API כדי להשתמש ב-APIs ציבוריים",
|
|
49
|
+
"copyToClipboard": "העתק ללוח"
|
|
50
|
+
},
|
|
51
|
+
"table": {
|
|
52
|
+
"headers": {
|
|
53
|
+
"label": "תיוג",
|
|
54
|
+
"token": "מפתח API",
|
|
55
|
+
"expiresAt": "תאריך תפוגה",
|
|
56
|
+
"createdAt": "נוצר בתאריך",
|
|
57
|
+
"status": "סטטוס",
|
|
58
|
+
"type": "סוג"
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
"fields": {
|
|
62
|
+
"label": "תיוג",
|
|
63
|
+
"expiryDate": "תאריך תפוגה",
|
|
64
|
+
"neverExpire": "לא פג תוקף"
|
|
65
|
+
},
|
|
66
|
+
"validations": {
|
|
67
|
+
"expiry": "$t(neetoApiKeys.fields.expiryDate) צריך להיות לפחות {{date}}",
|
|
68
|
+
"required": "{{entity}} הוא נדרש",
|
|
69
|
+
"maxLength": "{{entity}} יכול להיות עד {{max}} תווים"
|
|
70
|
+
},
|
|
71
|
+
"tags": {
|
|
72
|
+
"expired": "פג תוקף",
|
|
73
|
+
"active": "פעיל"
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "कभी नहीं",
|
|
7
7
|
"general": "सामान्य",
|
|
8
8
|
"zapier": "ज़ेपियर",
|
|
9
|
-
"type": "प्रकार"
|
|
9
|
+
"type": "प्रकार",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API कुंजी",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API कुंजी"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "नया एपीआई कुंजी जोड़ें",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nikada",
|
|
7
7
|
"general": "Općenito",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Vrsta"
|
|
9
|
+
"type": "Vrsta",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API ključ",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API ključevi"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Dodaj novi API ključ",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Tidak pernah",
|
|
7
7
|
"general": "Umum",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipe"
|
|
9
|
+
"type": "Tipe",
|
|
10
|
+
"apiKeyCount_one": "{{count}} Kunci API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} Kunci API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Tambahkan kunci API baru",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Mai",
|
|
7
7
|
"general": "Generale",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipo"
|
|
9
|
+
"type": "Tipo",
|
|
10
|
+
"apiKeyCount_one": "{{count}} chiave API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} chiavi API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Aggiungi nuova chiave API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nooit",
|
|
7
7
|
"general": "Algemeen",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Type"
|
|
9
|
+
"type": "Type",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API sleutel",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API sleutels"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Voeg nieuwe API-sleutel toe",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nunca",
|
|
7
7
|
"general": "Geral",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipo"
|
|
9
|
+
"type": "Tipo",
|
|
10
|
+
"apiKeyCount_one": "{{count}} chave de API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} chaves de API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Adicionar nova chave de API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Nunca",
|
|
7
7
|
"general": "Geral",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tipo"
|
|
9
|
+
"type": "Tipo",
|
|
10
|
+
"apiKeyCount_one": "{{count}} chave de API",
|
|
11
|
+
"apiKeyCount_other": "{{count}} chaves de API"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Adicionar nova chave de API",
|
|
@@ -6,7 +6,9 @@
|
|
|
6
6
|
"never": "Asla",
|
|
7
7
|
"general": "Genel",
|
|
8
8
|
"zapier": "Zapier",
|
|
9
|
-
"type": "Tür"
|
|
9
|
+
"type": "Tür",
|
|
10
|
+
"apiKeyCount_one": "{{count}} API anahtarı",
|
|
11
|
+
"apiKeyCount_other": "{{count}} API anahtarları"
|
|
10
12
|
},
|
|
11
13
|
"headers": {
|
|
12
14
|
"createApiKey": "Yeni API anahtarı ekle",
|
package/dist/ApiKeys.js
CHANGED
|
@@ -6,9 +6,12 @@ import { truncate, isPresent, humanize, isNotPresent, isNotEmpty } from '@bigbin
|
|
|
6
6
|
import { DEFAULT_PAGE_INDEX, DEFAULT_PAGE_SIZE, PLURAL } from '@bigbinary/neeto-commons-frontend/constants';
|
|
7
7
|
import { useUpdateEffect, useMutationWithInvalidation, withT, withTitle, useQueryParams, useDebounce } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
8
8
|
import { getQueryParams, buildUrl, dayjs, dateFormat } from '@bigbinary/neeto-commons-frontend/utils';
|
|
9
|
+
import FilterBar from '@bigbinary/neeto-filters-frontend/Bar';
|
|
9
10
|
import Header from '@bigbinary/neeto-molecules/Header';
|
|
11
|
+
import SubHeader from '@bigbinary/neeto-molecules/SubHeader';
|
|
10
12
|
import Alert from '@bigbinary/neetoui/Alert';
|
|
11
13
|
import Button from '@bigbinary/neetoui/Button';
|
|
14
|
+
import Typography from '@bigbinary/neetoui/Typography';
|
|
12
15
|
import { useTranslation, Trans } from 'react-i18next';
|
|
13
16
|
import { mergeLeft, prop } from 'ramda';
|
|
14
17
|
import { useHistory } from 'react-router-dom';
|
|
@@ -18,7 +21,6 @@ import axios from 'axios';
|
|
|
18
21
|
import * as yup from 'yup';
|
|
19
22
|
import HelpPopover from '@bigbinary/neeto-molecules/HelpPopover';
|
|
20
23
|
import Pane from '@bigbinary/neetoui/Pane';
|
|
21
|
-
import Typography from '@bigbinary/neetoui/Typography';
|
|
22
24
|
import NeetoUIForm from '@bigbinary/neetoui/formik/Form';
|
|
23
25
|
import Input from '@bigbinary/neetoui/formik/Input';
|
|
24
26
|
import Radio from '@bigbinary/neetoui/formik/Radio';
|
|
@@ -676,7 +678,22 @@ var ApiKeys = function ApiKeys(_ref) {
|
|
|
676
678
|
},
|
|
677
679
|
title: t("neetoApiKeys.tooltips.apiKeys")
|
|
678
680
|
}, titleHelpPopoverProps)
|
|
679
|
-
}, headerProps)), /*#__PURE__*/jsx(
|
|
681
|
+
}, headerProps)), /*#__PURE__*/jsx(SubHeader, {
|
|
682
|
+
leftActionBlock: /*#__PURE__*/jsxs(Fragment, {
|
|
683
|
+
children: [/*#__PURE__*/jsx(Typography, {
|
|
684
|
+
component: "h4",
|
|
685
|
+
children: t("neetoApiKeys.common.apiKeyCount", {
|
|
686
|
+
count: (data === null || data === void 0 ? void 0 : data.totalCount) || 0
|
|
687
|
+
})
|
|
688
|
+
}), /*#__PURE__*/jsx(FilterBar, {
|
|
689
|
+
className: "ml-4 mb-0",
|
|
690
|
+
keyword: {
|
|
691
|
+
key: "search_term",
|
|
692
|
+
node: "label"
|
|
693
|
+
}
|
|
694
|
+
})]
|
|
695
|
+
})
|
|
696
|
+
}), /*#__PURE__*/jsx(Table, {
|
|
680
697
|
currentPage: currentPage,
|
|
681
698
|
data: data,
|
|
682
699
|
helpDocUrl: helpDocUrl,
|