@bigbinary/neeto-integrations-frontend 4.2.8 → 5.0.1
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 +6 -6
- package/app/javascript/src/translations/bg.json +5 -5
- package/app/javascript/src/translations/ca.json +8 -8
- package/app/javascript/src/translations/cs.json +5 -5
- package/app/javascript/src/translations/da.json +2 -2
- package/app/javascript/src/translations/de.json +2 -2
- package/app/javascript/src/translations/en.json +9 -9
- package/app/javascript/src/translations/es-MX.json +8 -8
- package/app/javascript/src/translations/es.json +3 -3
- package/app/javascript/src/translations/et.json +6 -6
- package/app/javascript/src/translations/fi.json +3 -3
- package/app/javascript/src/translations/fil.json +9 -9
- package/app/javascript/src/translations/fr.json +3 -3
- package/app/javascript/src/translations/he.json +4 -4
- package/app/javascript/src/translations/hi.json +5 -5
- package/app/javascript/src/translations/hr.json +5 -5
- package/app/javascript/src/translations/hu.json +2 -2
- package/app/javascript/src/translations/id.json +5 -5
- package/app/javascript/src/translations/it.json +5 -5
- package/app/javascript/src/translations/ja.json +9 -9
- package/app/javascript/src/translations/ko.json +5 -5
- package/app/javascript/src/translations/lv.json +3 -3
- package/app/javascript/src/translations/nl.json +2 -2
- package/app/javascript/src/translations/pl.json +2 -2
- package/app/javascript/src/translations/pt-BR.json +1 -1
- package/app/javascript/src/translations/pt.json +2 -2
- package/app/javascript/src/translations/ro.json +6 -6
- package/app/javascript/src/translations/ru.json +3 -3
- package/app/javascript/src/translations/sk.json +3 -3
- package/app/javascript/src/translations/sl.json +4 -4
- package/app/javascript/src/translations/sv.json +3 -3
- package/app/javascript/src/translations/th.json +4 -4
- package/app/javascript/src/translations/tr.json +9 -9
- package/app/javascript/src/translations/uk.json +4 -4
- package/app/javascript/src/translations/vi.json +9 -9
- package/app/javascript/src/translations/zh-CN.json +1 -1
- package/app/javascript/src/translations/zh-TW.json +2 -2
- package/dist/.ready +1 -1
- package/dist/Connect.js +1 -3
- package/dist/Connect.js.map +1 -1
- package/dist/Daily.js +2 -2
- package/dist/Daily.js.map +1 -1
- package/dist/DailyForm.js +2 -2
- package/dist/DailyForm.js.map +1 -1
- package/dist/Demo.js.map +1 -1
- package/dist/DisconnectAlert.js +1 -3
- package/dist/DisconnectAlert.js.map +1 -1
- package/dist/Finish.js +29 -6
- package/dist/Finish.js.map +1 -1
- package/dist/GoogleCalendar.js +1 -4
- package/dist/GoogleCalendar.js.map +1 -1
- package/dist/Manage.js +1 -3
- package/dist/Manage.js.map +1 -1
- package/dist/Modal.js.map +1 -1
- package/dist/Telnyx.js +8 -8
- package/dist/Telnyx.js.map +1 -1
- package/dist/Twilio.js +2 -4
- package/dist/Twilio.js.map +1 -1
- package/dist/WalkthroughModal.js.map +1 -1
- package/dist/ZapierForm.js +2 -6
- package/dist/ZapierForm.js.map +1 -1
- package/dist/Zoom.js +1 -1
- package/dist/Zoom.js.map +1 -1
- package/dist/cjs/Connect.js +1 -3
- package/dist/cjs/Connect.js.map +1 -1
- package/dist/cjs/Daily.js +2 -2
- package/dist/cjs/Daily.js.map +1 -1
- package/dist/cjs/DailyForm.js +2 -2
- package/dist/cjs/DailyForm.js.map +1 -1
- package/dist/cjs/Demo.js.map +1 -1
- package/dist/cjs/DisconnectAlert.js +1 -3
- package/dist/cjs/DisconnectAlert.js.map +1 -1
- package/dist/cjs/Finish.js +48 -6
- package/dist/cjs/Finish.js.map +1 -1
- package/dist/cjs/GoogleCalendar.js +1 -4
- package/dist/cjs/GoogleCalendar.js.map +1 -1
- package/dist/cjs/Manage.js +1 -3
- package/dist/cjs/Manage.js.map +1 -1
- package/dist/cjs/Modal.js.map +1 -1
- package/dist/cjs/Telnyx.js +8 -8
- package/dist/cjs/Telnyx.js.map +1 -1
- package/dist/cjs/Twilio.js +2 -4
- package/dist/cjs/Twilio.js.map +1 -1
- package/dist/cjs/WalkthroughModal.js.map +1 -1
- package/dist/cjs/ZapierForm.js +2 -6
- package/dist/cjs/ZapierForm.js.map +1 -1
- package/dist/cjs/Zoom.js +1 -1
- package/dist/cjs/Zoom.js.map +1 -1
- package/dist/cjs/index.js +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/v2/Connect.js +48 -46
- package/dist/cjs/v2/Connect.js.map +1 -1
- package/dist/cjs/v2/Daily.js +5 -3
- package/dist/cjs/v2/Daily.js.map +1 -1
- package/dist/cjs/v2/DailyForm.js +2 -2
- package/dist/cjs/v2/DailyForm.js.map +1 -1
- package/dist/cjs/v2/Demo.js.map +1 -1
- package/dist/cjs/v2/DisconnectAlert.js +1 -3
- package/dist/cjs/v2/DisconnectAlert.js.map +1 -1
- package/dist/cjs/v2/DisconnectedIntegrationsRibbon.js +1 -3
- package/dist/cjs/v2/DisconnectedIntegrationsRibbon.js.map +1 -1
- package/dist/cjs/v2/Finish.js +4 -6
- package/dist/cjs/v2/Finish.js.map +1 -1
- package/dist/cjs/v2/GoogleCalendar.js +1 -4
- package/dist/cjs/v2/GoogleCalendar.js.map +1 -1
- package/dist/cjs/v2/GoogleMapsForm.js +2 -2
- package/dist/cjs/v2/GoogleMapsForm.js.map +1 -1
- package/dist/cjs/v2/GoogleMapsIcon.js.map +1 -1
- package/dist/cjs/v2/GoogleMapsManage.js +5 -3
- package/dist/cjs/v2/GoogleMapsManage.js.map +1 -1
- package/dist/cjs/v2/Manage.js +70 -91
- package/dist/cjs/v2/Manage.js.map +1 -1
- package/dist/cjs/v2/Modal.js +1 -1
- package/dist/cjs/v2/Modal.js.map +1 -1
- package/dist/cjs/v2/SmsLogs.js +3 -9
- package/dist/cjs/v2/SmsLogs.js.map +1 -1
- package/dist/cjs/v2/Telnyx.js +26 -43
- package/dist/cjs/v2/Telnyx.js.map +1 -1
- package/dist/cjs/v2/Twilio.js +20 -39
- package/dist/cjs/v2/Twilio.js.map +1 -1
- package/dist/cjs/v2/WalkthroughModal.js.map +1 -1
- package/dist/cjs/v2/ZapierForm.js +4 -7
- package/dist/cjs/v2/ZapierForm.js.map +1 -1
- package/dist/cjs/v2/Zoom.js +4 -2
- package/dist/cjs/v2/Zoom.js.map +1 -1
- package/dist/cjs/v2/index.js +11 -8
- package/dist/cjs/v2/index.js.map +1 -1
- package/dist/index-MS1ts-9f.js.map +1 -1
- package/dist/index-dxk7jTL7.js.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/query-CyER0UTx.js.map +1 -1
- package/dist/query-DFg4la-L.js.map +1 -1
- package/dist/{useDailiesApi-CMyuK99l.js → useDailiesApi-BIZR1qiD.js} +2 -4
- package/dist/useDailiesApi-BIZR1qiD.js.map +1 -0
- package/dist/{useDailiesApi-BmI2LDF7.js → useDailiesApi-BS8aif9t.js} +2 -4
- package/dist/useDailiesApi-BS8aif9t.js.map +1 -0
- package/dist/useDisconnectionAlertsApi-BGaBOO_4.js.map +1 -1
- package/dist/useDisconnectionAlertsApi-BW25EN1l.js.map +1 -1
- package/dist/{useGoogleMapsApi-DypGXFnl.js → useGoogleMapsApi-DcJ5vTJZ.js} +2 -4
- package/dist/useGoogleMapsApi-DcJ5vTJZ.js.map +1 -0
- package/dist/{useGoogleMapsApi-BY5ZIbh1.js → useGoogleMapsApi-sMsxsnL9.js} +2 -4
- package/dist/useGoogleMapsApi-sMsxsnL9.js.map +1 -0
- package/dist/{useTelnyxApi-DH5XaYIo.js → useTelnyxApi-CqB3f44W.js} +2 -4
- package/dist/useTelnyxApi-CqB3f44W.js.map +1 -0
- package/dist/{useTelnyxApi-WH39oUwB.js → useTelnyxApi-fFpslv-E.js} +2 -4
- package/dist/useTelnyxApi-fFpslv-E.js.map +1 -0
- package/dist/{useTwilioApi-CYF8UIPN.js → useTwilioApi-BwkrNBtg.js} +2 -4
- package/dist/useTwilioApi-BwkrNBtg.js.map +1 -0
- package/dist/{useTwilioApi-nN6VRQYc.js → useTwilioApi-CEaEH5MG.js} +2 -4
- package/dist/useTwilioApi-CEaEH5MG.js.map +1 -0
- package/dist/useZoomApi-Be2unav5.js.map +1 -1
- package/dist/useZoomApi-i5CNstmT.js.map +1 -1
- package/dist/utils-fchHJTr3.js +44 -0
- package/dist/utils-fchHJTr3.js.map +1 -0
- package/dist/utils-jyxIYRHb.js +47 -0
- package/dist/utils-jyxIYRHb.js.map +1 -0
- package/dist/v2/Connect.js +48 -46
- package/dist/v2/Connect.js.map +1 -1
- package/dist/v2/Daily.js +5 -3
- package/dist/v2/Daily.js.map +1 -1
- package/dist/v2/DailyForm.js +2 -2
- package/dist/v2/DailyForm.js.map +1 -1
- package/dist/v2/Demo.js.map +1 -1
- package/dist/v2/DisconnectAlert.js +1 -3
- package/dist/v2/DisconnectAlert.js.map +1 -1
- package/dist/v2/DisconnectedIntegrationsRibbon.js +1 -3
- package/dist/v2/DisconnectedIntegrationsRibbon.js.map +1 -1
- package/dist/v2/Finish.js +6 -8
- package/dist/v2/Finish.js.map +1 -1
- package/dist/v2/GoogleCalendar.js +1 -4
- package/dist/v2/GoogleCalendar.js.map +1 -1
- package/dist/v2/GoogleMapsForm.js +2 -2
- package/dist/v2/GoogleMapsForm.js.map +1 -1
- package/dist/v2/GoogleMapsIcon.js.map +1 -1
- package/dist/v2/GoogleMapsManage.js +5 -3
- package/dist/v2/GoogleMapsManage.js.map +1 -1
- package/dist/v2/Manage.js +72 -93
- package/dist/v2/Manage.js.map +1 -1
- package/dist/v2/Modal.js +1 -1
- package/dist/v2/Modal.js.map +1 -1
- package/dist/v2/SmsLogs.js +3 -9
- package/dist/v2/SmsLogs.js.map +1 -1
- package/dist/v2/Telnyx.js +27 -44
- package/dist/v2/Telnyx.js.map +1 -1
- package/dist/v2/Twilio.js +21 -40
- package/dist/v2/Twilio.js.map +1 -1
- package/dist/v2/WalkthroughModal.js.map +1 -1
- package/dist/v2/ZapierForm.js +4 -7
- package/dist/v2/ZapierForm.js.map +1 -1
- package/dist/v2/Zoom.js +4 -2
- package/dist/v2/Zoom.js.map +1 -1
- package/dist/v2/index.js +11 -8
- package/dist/v2/index.js.map +1 -1
- package/package.json +19 -18
- package/dist/success-C6rQdhhF.js +0 -30
- package/dist/success-C6rQdhhF.js.map +0 -1
- package/dist/success-CsNvTPBG.js +0 -51
- package/dist/success-CsNvTPBG.js.map +0 -1
- package/dist/useDailiesApi-BmI2LDF7.js.map +0 -1
- package/dist/useDailiesApi-CMyuK99l.js.map +0 -1
- package/dist/useGoogleMapsApi-BY5ZIbh1.js.map +0 -1
- package/dist/useGoogleMapsApi-DypGXFnl.js.map +0 -1
- package/dist/useTelnyxApi-DH5XaYIo.js.map +0 -1
- package/dist/useTelnyxApi-WH39oUwB.js.map +0 -1
- package/dist/useTwilioApi-CYF8UIPN.js.map +0 -1
- package/dist/useTwilioApi-nN6VRQYc.js.map +0 -1
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "Chaves de API",
|
|
43
43
|
"copyApiKey": "Copiar chave de API",
|
|
44
|
-
"emptyText": "Gere uma chave de API para se
|
|
44
|
+
"emptyText": "Gere uma chave de API para conectar-se à plataforma Zapier.",
|
|
45
45
|
"generateApiKey": "Gerar chave de API",
|
|
46
46
|
"labelInputPlaceholder": "Insira um rótulo para a nova chave de API",
|
|
47
47
|
"tableColumns": {
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tableTitle": "Chaves de API geradas anteriormente",
|
|
53
53
|
"deleteApiKey": {
|
|
54
54
|
"title": "Excluir chave de API?",
|
|
55
|
-
"message": "
|
|
55
|
+
"message": " você está excluindo permanentemente a chave de API <strong>{{key}}</strong>. Todos os Zaps associados a esta chave de API serão desativados. Isso não pode ser desfeito."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Verifique como funciona",
|
|
58
58
|
"helpDoc": "Documento de ajuda",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
},
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "Chei API",
|
|
43
|
-
"copyApiKey": "
|
|
44
|
-
"emptyText": "
|
|
45
|
-
"generateApiKey": "
|
|
46
|
-
"labelInputPlaceholder": "
|
|
43
|
+
"copyApiKey": "Copiază cheia API",
|
|
44
|
+
"emptyText": "Generează o cheie API pentru a te conecta la platforma Zapier.",
|
|
45
|
+
"generateApiKey": "Generează cheie API",
|
|
46
|
+
"labelInputPlaceholder": "Introdu un label pentru noua cheie API",
|
|
47
47
|
"tableColumns": {
|
|
48
48
|
"createdAt": "Creat la",
|
|
49
49
|
"label": "Etichetă"
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"newApiKeyInstruction": "Iată cheia dumneavoastră API Zapier. Asigurați-vă că copiați cheia API acum, deoarece aceasta nu va fi arătată din nou. Dacă pierdeți cheia API, o puteți genera din nou oricând.",
|
|
52
52
|
"tableTitle": "Chei API generate anterior",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "
|
|
55
|
-
"message": "
|
|
54
|
+
"title": "Șterge cheia API?",
|
|
55
|
+
"message": "Ștergi permanent cheia API <strong>{{key}}</strong>. Toate Zaps asociate cu această cheie API vor fi dezactivate. Aceasta nu poate fi anulată."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Verificați cum se comportă",
|
|
58
58
|
"helpDoc": "Document de ajutor",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "API ключи",
|
|
43
43
|
"copyApiKey": "Скопировать API ключ",
|
|
44
|
-
"emptyText": "
|
|
45
|
-
"generateApiKey": "
|
|
44
|
+
"emptyText": "Сгенерируйте API ключ для подключения к платформе Zapier.",
|
|
45
|
+
"generateApiKey": "Сгенерировать API ключ",
|
|
46
46
|
"labelInputPlaceholder": "Введите метку для нового API ключа",
|
|
47
47
|
"tableColumns": {
|
|
48
48
|
"createdAt": "Создано",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tableTitle": "Ранее сгенерированные API ключи",
|
|
53
53
|
"deleteApiKey": {
|
|
54
54
|
"title": "Удалить API ключ?",
|
|
55
|
-
"message": "Вы навсегда удаляете API ключ <strong>{{key}}</strong>. Все связанные Zaps с этим API ключом будут
|
|
55
|
+
"message": "Вы навсегда удаляете API ключ <strong>{{key}}</strong>. Все связанные Zaps с этим API ключом будут выключены. Это действие нельзя отменить."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Проверьте, как это работает",
|
|
58
58
|
"helpDoc": "Документ помощи",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
},
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "API kľúče",
|
|
43
|
-
"copyApiKey": "
|
|
43
|
+
"copyApiKey": "Kopírovať API kľúč",
|
|
44
44
|
"emptyText": "Vygenerujte API kľúč na pripojenie k platforme Zapier.",
|
|
45
45
|
"generateApiKey": "Vygenerovať API kľúč",
|
|
46
46
|
"labelInputPlaceholder": "Zadajte názov pre nový API kľúč",
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"newApiKeyInstruction": "Tu je váš Zapier API kľúč. Uistite sa, že si ho skopírujete, pretože sa nezobrazí znova. Ak stratíte API kľúč, môžete kedykoľvek vygenerovať nový API kľúč.",
|
|
52
52
|
"tableTitle": "Predtým vygenerované API kľúče",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "
|
|
55
|
-
"message": "Natrvalo
|
|
54
|
+
"title": "Vymazať API kľúč?",
|
|
55
|
+
"message": "Natrvalo vymazávate API kľúč <strong>{{key}}</strong>. Všetky priradené Zaps s týmto API kľúčom budú vypnuté. Toto nie je možné vrátiť späť."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Skontrolujte, ako to funguje",
|
|
58
58
|
"helpDoc": "Dokument o pomoci",
|
|
@@ -41,18 +41,18 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "API ključi",
|
|
43
43
|
"copyApiKey": "Kopiraj API ključ",
|
|
44
|
-
"emptyText": "
|
|
44
|
+
"emptyText": "Ustvari API ključ za povezavo z Zapier platformo.",
|
|
45
45
|
"generateApiKey": "Ustvari API ključ",
|
|
46
46
|
"labelInputPlaceholder": "Vnesite oznako za nov API ključ",
|
|
47
47
|
"tableColumns": {
|
|
48
|
-
"createdAt": "Ustvarjeno
|
|
48
|
+
"createdAt": "Ustvarjeno ob",
|
|
49
49
|
"label": "Oznaka"
|
|
50
50
|
},
|
|
51
51
|
"newApiKeyInstruction": "Tukaj je vaš API ključ za Zapier. Prepričajte se, da ga zdaj kopirate, saj ključ ne bo več prikazan. Če izgubite API ključ, lahko kadar koli ustvarite nov.",
|
|
52
52
|
"tableTitle": "Prej ustvarjeni API ključi",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "
|
|
55
|
-
"message": "
|
|
54
|
+
"title": "Izbrisati API ključ?",
|
|
55
|
+
"message": "Nepovratno brišete API ključ <strong>{{key}}</strong>. Vsi povezani Zaps s tem API ključem bodo izklopljeni. Teh sprememb ni mogoče razveljaviti."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Preverite, kako deluje",
|
|
58
58
|
"helpDoc": "Pomoč pri dokumentaciji",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "API-nycklar",
|
|
43
43
|
"copyApiKey": "Kopiera API-nyckel",
|
|
44
|
-
"emptyText": "Generera en API-nyckel för att
|
|
44
|
+
"emptyText": "Generera en API-nyckel för att koppla till Zapier-plattformen.",
|
|
45
45
|
"generateApiKey": "Generera API-nyckel",
|
|
46
46
|
"labelInputPlaceholder": "Ange en etikett för den nya API-nyckeln",
|
|
47
47
|
"tableColumns": {
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"newApiKeyInstruction": "Här är din Zapier API-nyckel. Se till att kopiera API-nyckeln nu eftersom den inte kommer att visas igen. Om du tappar bort API-nyckeln kan du när som helst generera en ny API-nyckel.",
|
|
52
52
|
"tableTitle": "Tidigare genererade API-nycklar",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "
|
|
55
|
-
"message": "Du
|
|
54
|
+
"title": "Radera API-nyckel?",
|
|
55
|
+
"message": "Du raderar permanent API-nyckeln <strong>{{key}}</strong>. Alla associerade Zaps med denna API-nyckel kommer att stängas av. Detta kan inte ångras."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Kolla hur det fungerar",
|
|
58
58
|
"helpDoc": "Hjälpdokument",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "คีย์ API",
|
|
43
43
|
"copyApiKey": "คัดลอกคีย์ API",
|
|
44
|
-
"emptyText": "สร้างคีย์ API
|
|
44
|
+
"emptyText": "สร้างคีย์ API เพื่อเชื่อมต่อกับแพลตฟอร์ม Zapier",
|
|
45
45
|
"generateApiKey": "สร้างคีย์ API",
|
|
46
|
-
"labelInputPlaceholder": "
|
|
46
|
+
"labelInputPlaceholder": "ป้อนชื่อสำหรับคีย์ API ใหม่",
|
|
47
47
|
"tableColumns": {
|
|
48
48
|
"createdAt": "สร้างเมื่อ",
|
|
49
49
|
"label": "ฉลาก"
|
|
@@ -51,8 +51,8 @@
|
|
|
51
51
|
"newApiKeyInstruction": "นี่คือคีย์ API ของคุณจาก Zapier โปรดทำการคัดลอกคีย์ API ตอนนี้เพราะคีย์ API จะไม่ถูกแสดงอีก หากคุณสูญเสียคีย์ API คุณสามารถสร้างคีย์ API ใหม่ได้ทุกเมื่อ.",
|
|
52
52
|
"tableTitle": "คีย์ API ที่สร้างขึ้นก่อนหน้านี้",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "
|
|
55
|
-
"message": "คุณกำลังลบคีย์ API <strong>{{key}}</strong> อย่างถาวร
|
|
54
|
+
"title": "ต้องการลบคีย์ API หรือไม่?",
|
|
55
|
+
"message": "คุณกำลังลบคีย์ API <strong>{{key}}</strong> อย่างถาวร คำสั่งทั้งหมดที่เกี่ยวข้องกับคีย์ API นี้จะถูกปิดใช้งาน สิ่งนี้ไม่สามารถยกเลิกได้"
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "ตรวจสอบวิธีการทำงาน",
|
|
58
58
|
"helpDoc": "เอกสารช่วยเหลือ",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"continue": "Devam et"
|
|
40
40
|
},
|
|
41
41
|
"zapier": {
|
|
42
|
-
"apiKeys": "API
|
|
43
|
-
"copyApiKey": "API
|
|
44
|
-
"emptyText": "Zapier platformuna bağlanmak için bir API
|
|
45
|
-
"generateApiKey": "API
|
|
46
|
-
"labelInputPlaceholder": "Yeni API
|
|
42
|
+
"apiKeys": "API anahtarları",
|
|
43
|
+
"copyApiKey": "API anahtarını kopyala",
|
|
44
|
+
"emptyText": "Zapier platformuna bağlanmak için bir API anahtarı oluşturun.",
|
|
45
|
+
"generateApiKey": "API anahtarı oluştur",
|
|
46
|
+
"labelInputPlaceholder": "Yeni API anahtarı için bir etiket girin",
|
|
47
47
|
"tableColumns": {
|
|
48
|
-
"createdAt": "Oluşturulma
|
|
48
|
+
"createdAt": "Oluşturulma tarihi",
|
|
49
49
|
"label": "Etiket"
|
|
50
50
|
},
|
|
51
51
|
"newApiKeyInstruction": "İşte Zapier API anahtarınız. API anahtarını şimdi kopyaladığınızdan emin olun, çünkü API anahtarı bir daha gösterilmeyecek. Eğer API anahtarını kaybederseniz, istediğiniz zaman yeni bir API anahtarı oluşturabilirsiniz.",
|
|
52
|
-
"tableTitle": "Daha önce
|
|
52
|
+
"tableTitle": "Daha önce oluşturulan API anahtarları",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "API
|
|
55
|
-
"message": "API
|
|
54
|
+
"title": "API anahtarını silmek istiyor musunuz?",
|
|
55
|
+
"message": "API anahtarını <strong>{{key}}</strong> kalıcı olarak siliyorsunuz. Bu API anahtarıyla ilişkili tüm Zaps kapatılacaktır. Bu işlem geri alınamaz."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Nasıl davrandığını kontrol et",
|
|
58
58
|
"helpDoc": "Yardım belgesi",
|
|
@@ -41,9 +41,9 @@
|
|
|
41
41
|
"zapier": {
|
|
42
42
|
"apiKeys": "API ключі",
|
|
43
43
|
"copyApiKey": "Копіювати API ключ",
|
|
44
|
-
"emptyText": "
|
|
45
|
-
"generateApiKey": "
|
|
46
|
-
"labelInputPlaceholder": "Введіть
|
|
44
|
+
"emptyText": "Згенеруйте API ключ для підключення до платформи Zapier.",
|
|
45
|
+
"generateApiKey": "Згенерувати API ключ",
|
|
46
|
+
"labelInputPlaceholder": "Введіть позначку для нового API ключа",
|
|
47
47
|
"tableColumns": {
|
|
48
48
|
"createdAt": "Створено",
|
|
49
49
|
"label": "Назва"
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tableTitle": "Раніше згенеровані API ключі",
|
|
53
53
|
"deleteApiKey": {
|
|
54
54
|
"title": "Видалити API ключ?",
|
|
55
|
-
"message": "Ви назавжди видаляєте API ключ <strong>{{key}}</strong>. Усі
|
|
55
|
+
"message": "Ви назавжди видаляєте API ключ <strong>{{key}}</strong>. Усі пов'язані Zaps з цим API ключем будуть вимкнені. Це не можна скасувати."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Перевірте, як це працює",
|
|
58
58
|
"helpDoc": "Документ допомоги",
|
|
@@ -39,20 +39,20 @@
|
|
|
39
39
|
"continue": "Tiếp tục"
|
|
40
40
|
},
|
|
41
41
|
"zapier": {
|
|
42
|
-
"apiKeys": "API
|
|
43
|
-
"copyApiKey": "Sao chép API
|
|
44
|
-
"emptyText": "Tạo một API
|
|
45
|
-
"generateApiKey": "Tạo API
|
|
46
|
-
"labelInputPlaceholder": "Nhập nhãn cho API
|
|
42
|
+
"apiKeys": "Khóa API",
|
|
43
|
+
"copyApiKey": "Sao chép khóa API",
|
|
44
|
+
"emptyText": "Tạo một khóa API để kết nối với nền tảng Zapier.",
|
|
45
|
+
"generateApiKey": "Tạo khóa API",
|
|
46
|
+
"labelInputPlaceholder": "Nhập nhãn cho khóa API mới",
|
|
47
47
|
"tableColumns": {
|
|
48
|
-
"createdAt": "
|
|
48
|
+
"createdAt": "Được tạo vào",
|
|
49
49
|
"label": "Nhãn"
|
|
50
50
|
},
|
|
51
51
|
"newApiKeyInstruction": "Đây là API key Zapier của bạn. Hãy chắc chắn sao chép API key ngay bây giờ vì nó sẽ không được hiển thị lại. Nếu bạn mất API key, bạn có thể tạo một API key mới bất cứ lúc nào.",
|
|
52
|
-
"tableTitle": "API
|
|
52
|
+
"tableTitle": "Các khóa API đã được tạo trước đó",
|
|
53
53
|
"deleteApiKey": {
|
|
54
|
-
"title": "Xóa API
|
|
55
|
-
"message": "Bạn đang xóa vĩnh viễn API
|
|
54
|
+
"title": "Xóa khóa API?",
|
|
55
|
+
"message": "Bạn đang xóa vĩnh viễn khóa API <strong>{{key}}</strong>. Tất cả các Zap liên quan đến khóa API này sẽ bị tắt. Không thể hoàn tác điều này."
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "Kiểm tra cách hoạt động",
|
|
58
58
|
"helpDoc": "Tài liệu hỗ trợ",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"tableTitle": "以前生成的 API 密钥",
|
|
53
53
|
"deleteApiKey": {
|
|
54
54
|
"title": "删除 API 密钥?",
|
|
55
|
-
"message": "
|
|
55
|
+
"message": "您正在永久删除 API 密钥 <strong>{{key}}</strong>。所有与此 API 密钥关联的 Zaps 将被关闭。此操作无法撤消。"
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "检查其行为",
|
|
58
58
|
"helpDoc": "帮助文档",
|
|
@@ -49,10 +49,10 @@
|
|
|
49
49
|
"label": "標籤"
|
|
50
50
|
},
|
|
51
51
|
"newApiKeyInstruction": "這是您的 Zapier API 金鑰。請務必立即複製 API 金鑰,因為此 API 金鑰將不會再顯示。如果您丟失了 API 金鑰,則可以隨時生成新的 API 金鑰。",
|
|
52
|
-
"tableTitle": "
|
|
52
|
+
"tableTitle": "先前生成的 API 金鑰",
|
|
53
53
|
"deleteApiKey": {
|
|
54
54
|
"title": "刪除 API 金鑰?",
|
|
55
|
-
"message": "您將永久刪除 API 金鑰 <strong>{{key}}</strong
|
|
55
|
+
"message": "您將永久刪除 API 金鑰 <strong>{{key}}</strong>。與這個 API 金鑰相關的所有 Zaps 將會關閉。這無法撤消。"
|
|
56
56
|
},
|
|
57
57
|
"walkthroughText": "查看它的行為",
|
|
58
58
|
"helpDoc": "幫助文件",
|
package/dist/.ready
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
Built at 2026-11-
|
|
1
|
+
Built at 2026-11-25T16:09:40.558Z
|
package/dist/Connect.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import { humanize, noop } from '@bigbinary/neeto-cist';
|
|
3
3
|
import { withT } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
4
4
|
import CardLayout from '@bigbinary/neeto-molecules/CardLayout';
|
|
@@ -8,8 +8,6 @@ import { P as PropTypes } from './index-MS1ts-9f.js';
|
|
|
8
8
|
import { Trans } from 'react-i18next';
|
|
9
9
|
import { jsxs, jsx } from 'react/jsx-runtime';
|
|
10
10
|
|
|
11
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
12
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
11
|
var Connect = withT(function (_ref) {
|
|
14
12
|
var t = _ref.t,
|
|
15
13
|
Icon = _ref.Icon,
|
package/dist/Connect.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Connect.js","sources":["../app/javascript/src/components/Steps/Connect.jsx"],"sourcesContent":["import { humanize, noop } from \"neetocist\";\nimport { withT } from \"neetocommons/react-utils\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport { Typography, Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\n\nconst Connect = withT(\n ({\n t,\n Icon,\n title = \"\",\n description = \"\",\n integration = \"\",\n integrationName = \"\",\n helpDocUrl = \"\",\n buttonProps = {},\n onConnect = noop,\n children,\n secondaryButtonProps,\n }) => (\n <CardLayout\n actionBlock={\n <div className=\"flex w-full flex-wrap items-center gap-2\">\n <Button\n label={t(\"neetoIntegrations.common.connect\")}\n onClick={onConnect}\n {...buttonProps}\n />\n {secondaryButtonProps && (\n <Button style=\"secondary\" {...secondaryButtonProps} />\n )}\n </div>\n }\n >\n <div className=\"flex flex-col gap-y-2\">\n <Icon size={48} />\n <div className=\"flex flex-col gap-y-1\">\n <Typography style=\"h2\">{title}</Typography>\n <Typography style=\"body2\">{description}</Typography>\n </div>\n </div>\n {helpDocUrl && (\n <div className=\"w-full\">\n <Trans\n i18nKey=\"neetoIntegrations.common.helpDocUrl\"\n components={{\n helpLink: (\n <Button\n className=\"text-xs\"\n href={helpDocUrl}\n size=\"small\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n values={{\n integration: integrationName || humanize(integration),\n }}\n />\n </div>\n )}\n {children}\n </CardLayout>\n )\n);\n\nConnect.prototypes = {\n /**\n * To specify the Icon to be shown\n */\n Icon: PropTypes.node,\n /**\n * To specify the title of the connect component\n */\n title: PropTypes.string,\n /**\n * To specify the description for connect component\n */\n description: PropTypes.string,\n /**\n * To specify the props for the connect button\n */\n buttonProps: PropTypes.object,\n /**\n * Handler function that is triggered when the connect button is clicked.\n */\n onConnect: PropTypes.func,\n};\n\nexport default Connect;\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Connect.js","sources":["../app/javascript/src/components/Steps/Connect.jsx"],"sourcesContent":["import { humanize, noop } from \"neetocist\";\nimport { withT } from \"neetocommons/react-utils\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport { Typography, Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { Trans } from \"react-i18next\";\n\nconst Connect = withT(\n ({\n t,\n Icon,\n title = \"\",\n description = \"\",\n integration = \"\",\n integrationName = \"\",\n helpDocUrl = \"\",\n buttonProps = {},\n onConnect = noop,\n children,\n secondaryButtonProps,\n }) => (\n <CardLayout\n actionBlock={\n <div className=\"flex w-full flex-wrap items-center gap-2\">\n <Button\n label={t(\"neetoIntegrations.common.connect\")}\n onClick={onConnect}\n {...buttonProps}\n />\n {secondaryButtonProps && (\n <Button style=\"secondary\" {...secondaryButtonProps} />\n )}\n </div>\n }\n >\n <div className=\"flex flex-col gap-y-2\">\n <Icon size={48} />\n <div className=\"flex flex-col gap-y-1\">\n <Typography style=\"h2\">{title}</Typography>\n <Typography style=\"body2\">{description}</Typography>\n </div>\n </div>\n {helpDocUrl && (\n <div className=\"w-full\">\n <Trans\n i18nKey=\"neetoIntegrations.common.helpDocUrl\"\n components={{\n helpLink: (\n <Button\n className=\"text-xs\"\n href={helpDocUrl}\n size=\"small\"\n style=\"link\"\n target=\"_blank\"\n />\n ),\n }}\n values={{\n integration: integrationName || humanize(integration),\n }}\n />\n </div>\n )}\n {children}\n </CardLayout>\n )\n);\n\nConnect.prototypes = {\n /**\n * To specify the Icon to be shown\n */\n Icon: PropTypes.node,\n /**\n * To specify the title of the connect component\n */\n title: PropTypes.string,\n /**\n * To specify the description for connect component\n */\n description: PropTypes.string,\n /**\n * To specify the props for the connect button\n */\n buttonProps: PropTypes.object,\n /**\n * Handler function that is triggered when the connect button is clicked.\n */\n onConnect: PropTypes.func,\n};\n\nexport default Connect;\n"],"names":["_jsxs","_jsx"],"mappings":";;;;;;;;;;AAOA,IAAM,OAAO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CAAC;;;;"}
|
package/dist/Daily.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import i18next from 'i18next';
|
|
2
2
|
import { isPresent, noop } from '@bigbinary/neeto-cist';
|
|
3
3
|
import { withTitle, useQueryParams } from '@bigbinary/neeto-commons-frontend/react-utils';
|
|
4
|
-
import { u as useFetchDaily, a as useDestroyDaily } from './useDailiesApi-
|
|
4
|
+
import { u as useFetchDaily, a as useDestroyDaily } from './useDailiesApi-BIZR1qiD.js';
|
|
5
5
|
import Form from './DailyForm.js';
|
|
6
6
|
import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
|
|
7
7
|
import { useState } from 'react';
|
|
@@ -12,7 +12,7 @@ import Spinner from '@bigbinary/neetoui/Spinner';
|
|
|
12
12
|
import { useTranslation, Trans } from 'react-i18next';
|
|
13
13
|
import Manage$1 from './Manage.js';
|
|
14
14
|
import { jsx } from 'react/jsx-runtime';
|
|
15
|
-
import '@babel/runtime/helpers/
|
|
15
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
16
16
|
import '@tanstack/react-query';
|
|
17
17
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
18
18
|
import 'axios';
|
package/dist/Daily.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Daily.js","sources":["../app/javascript/src/components/Integrations/Daily/Manage.jsx","../app/javascript/src/components/Integrations/Daily/index.jsx"],"sourcesContent":["import { useState } from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport { buildUrl } from \"neetocommons/utils\";\nimport { Daily as DailyIcon } from \"neetoicons/misc\";\nimport CopyToClipboardButton from \"neetomolecules/CopyToClipboardButton\";\nimport { Spinner } from \"neetoui\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nimport ManageIntegrations from \"components/commons/Manage\";\nimport { useDestroyDaily, useFetchDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nconst Manage = ({ description, onDisconnect }) => {\n const [isDisconnectAlertOpen, setIsDisconnectAlertOpen] = useState(false);\n\n const { data: { metadata = {} } = {}, isFetching } = useFetchDaily();\n const { apiKey = null } = metadata || {};\n\n const { t } = useTranslation();\n\n const { mutate: destroyIntegration, isPending: isDisconnecting } =\n useDestroyDaily({\n onSuccess: () => {\n setIsDisconnectAlertOpen(false);\n onDisconnect?.();\n },\n });\n\n const isConnected = isPresent(apiKey);\n\n const handleDisconnect = () => destroyIntegration(\"daily\");\n\n if (isFetching || isDisconnecting) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <Spinner />\n </div>\n );\n }\n\n return (\n <ManageIntegrations\n {...{\n isConnected,\n isDisconnectAlertOpen,\n isDisconnecting,\n setIsDisconnectAlertOpen,\n }}\n Icon={DailyIcon}\n connectPath={buildUrl(window.location.pathname, { connect: true })}\n integration=\"daily\"\n description={\n isConnected ? (\n <Trans\n i18nKey=\"neetoIntegrations.daily.yourApiKey\"\n values={{ apiKey }}\n components={{\n wrapper: (\n <div className=\"neeto-ui-rounded-md mt-2 flex items-center justify-between gap-x-3 border px-3 py-2\" />\n ),\n span: <span className=\"break-all text-sm\" />,\n copy: (\n <CopyToClipboardButton\n className=\"shrink-0 self-start\"\n style=\"text\"\n value={apiKey}\n />\n ),\n }}\n />\n ) : (\n description\n )\n }\n title={\n isConnected\n ? t(\"neetoIntegrations.daily.connected\")\n : t(\"neetoIntegrations.daily.connect.account\")\n }\n onClose={() => setIsDisconnectAlertOpen(false)}\n onDisconnect={handleDisconnect}\n />\n );\n};\n\nexport default Manage;\n","import i18next from \"i18next\";\nimport { isPresent, noop } from \"neetocist\";\nimport { useQueryParams, withTitle } from \"neetocommons/react-utils\";\n\nimport { useFetchDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport Form from \"./Form\";\nimport Manage from \"./Manage\";\n\nconst Daily = ({\n isOnboarding = false,\n helpDocUrl = \"\",\n videoUrl = \"\",\n description = \"\",\n onConnect = noop,\n onDisconnect = noop,\n}) => {\n const { connect } = useQueryParams();\n\n const { data: { metadata = {} } = {} } = useFetchDaily();\n const { apiKey = null } = metadata || {};\n\n if ((isPresent(apiKey) && !isOnboarding) || !connect) {\n return <Manage {...{ description, onDisconnect }} />;\n }\n\n return <Form {...{ helpDocUrl, onConnect, videoUrl }} />;\n};\n\nexport default withTitle(\n Daily,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Daily.js","sources":["../app/javascript/src/components/Integrations/Daily/Manage.jsx","../app/javascript/src/components/Integrations/Daily/index.jsx"],"sourcesContent":["import { useState } from \"react\";\n\nimport { isPresent } from \"neetocist\";\nimport { buildUrl } from \"neetocommons/utils\";\nimport { Daily as DailyIcon } from \"neetoicons/misc\";\nimport CopyToClipboardButton from \"neetomolecules/CopyToClipboardButton\";\nimport { Spinner } from \"neetoui\";\nimport { Trans, useTranslation } from \"react-i18next\";\n\nimport ManageIntegrations from \"components/commons/Manage\";\nimport { useDestroyDaily, useFetchDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nconst Manage = ({ description, onDisconnect }) => {\n const [isDisconnectAlertOpen, setIsDisconnectAlertOpen] = useState(false);\n\n const { data: { metadata = {} } = {}, isFetching } = useFetchDaily();\n const { apiKey = null } = metadata || {};\n\n const { t } = useTranslation();\n\n const { mutate: destroyIntegration, isPending: isDisconnecting } =\n useDestroyDaily({\n onSuccess: () => {\n setIsDisconnectAlertOpen(false);\n onDisconnect?.();\n },\n });\n\n const isConnected = isPresent(apiKey);\n\n const handleDisconnect = () => destroyIntegration(\"daily\");\n\n if (isFetching || isDisconnecting) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <Spinner />\n </div>\n );\n }\n\n return (\n <ManageIntegrations\n {...{\n isConnected,\n isDisconnectAlertOpen,\n isDisconnecting,\n setIsDisconnectAlertOpen,\n }}\n Icon={DailyIcon}\n connectPath={buildUrl(window.location.pathname, { connect: true })}\n integration=\"daily\"\n description={\n isConnected ? (\n <Trans\n i18nKey=\"neetoIntegrations.daily.yourApiKey\"\n values={{ apiKey }}\n components={{\n wrapper: (\n <div className=\"neeto-ui-rounded-md mt-2 flex items-center justify-between gap-x-3 border px-3 py-2\" />\n ),\n span: <span className=\"break-all text-sm\" />,\n copy: (\n <CopyToClipboardButton\n className=\"shrink-0 self-start\"\n style=\"text\"\n value={apiKey}\n />\n ),\n }}\n />\n ) : (\n description\n )\n }\n title={\n isConnected\n ? t(\"neetoIntegrations.daily.connected\")\n : t(\"neetoIntegrations.daily.connect.account\")\n }\n onClose={() => setIsDisconnectAlertOpen(false)}\n onDisconnect={handleDisconnect}\n />\n );\n};\n\nexport default Manage;\n","import i18next from \"i18next\";\nimport { isPresent, noop } from \"neetocist\";\nimport { useQueryParams, withTitle } from \"neetocommons/react-utils\";\n\nimport { useFetchDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport Form from \"./Form\";\nimport Manage from \"./Manage\";\n\nconst Daily = ({\n isOnboarding = false,\n helpDocUrl = \"\",\n videoUrl = \"\",\n description = \"\",\n onConnect = noop,\n onDisconnect = noop,\n}) => {\n const { connect } = useQueryParams();\n\n const { data: { metadata = {} } = {} } = useFetchDaily();\n const { apiKey = null } = metadata || {};\n\n if ((isPresent(apiKey) && !isOnboarding) || !connect) {\n return <Manage {...{ description, onDisconnect }} />;\n }\n\n return <Form {...{ helpDocUrl, onConnect, videoUrl }} />;\n};\n\nexport default withTitle(\n Daily,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["_jsx","ManageIntegrations"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAYA,IAAM,MAAM,GAAG,SAAT,MAAM,CAAA,IAAA,EAAsC;EAAA,IAAhC,WAAW,QAAX,WAAW;AAAE,IAAA,YAAY,QAAZ,YAAY;EACzC,IAAA,SAAA,GAA0D,QAAQ,CAAC,KAAK,CAAC;AAAA,IAAA,UAAA,GAAA,cAAA,CAAA,SAAA,EAAA,CAAA,CAAA;IAAlE,q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;AAED,YAAe,SAAS,CACtB,KAAK,EACL,OAAO,CAAC,CAAC,CAAC,sDAAsD,CAClE,CAAC;;;;"}
|
package/dist/DailyForm.js
CHANGED
|
@@ -14,13 +14,13 @@ import ActionBlock from '@bigbinary/neetoui/formik/ActionBlock';
|
|
|
14
14
|
import { useTranslation, Trans } from 'react-i18next';
|
|
15
15
|
import { useHistory } from 'react-router-dom';
|
|
16
16
|
import WalkthroughModal from './WalkthroughModal.js';
|
|
17
|
-
import { b as useCreateDaily } from './useDailiesApi-
|
|
17
|
+
import { b as useCreateDaily } from './useDailiesApi-BIZR1qiD.js';
|
|
18
18
|
import * as yup from 'yup';
|
|
19
19
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
20
20
|
import '@bigbinary/neeto-cist';
|
|
21
21
|
import '@bigbinary/neeto-commons-frontend/react-utils/withT';
|
|
22
22
|
import '@bigbinary/neetoui/Modal';
|
|
23
|
-
import '@babel/runtime/helpers/
|
|
23
|
+
import '@babel/runtime/helpers/objectSpread2';
|
|
24
24
|
import '@tanstack/react-query';
|
|
25
25
|
import '@bigbinary/neeto-commons-frontend/constants';
|
|
26
26
|
import 'axios';
|
package/dist/DailyForm.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DailyForm.js","sources":["../app/javascript/src/components/Integrations/Daily/constants.js","../app/javascript/src/components/Integrations/Daily/Form.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const MANAGE_DAILY_CO_FORM_INITIAL_VALUES = { apiKey: \"\" };\n\nexport const DAILY_CO_VALIDATION_SCHEMA = yup.object().shape({\n apiKey: yup\n .string()\n .trim()\n .required(\n t(\"neetoIntegrations.errors.required\", {\n entity: t(\"neetoIntegrations.daily.apiKey\"),\n })\n ),\n});\n","import { useState } from \"react\";\n\nimport i18next from \"i18next\";\nimport { withTitle } from \"neetocommons/react-utils\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport { Button, Spinner, Typography } from \"neetoui\";\nimport { Input, Form as FormikForm, ActionBlock } from \"neetoui/formik\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport WalkthroughModal from \"components/WalkthroughModal\";\nimport { useCreateDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport {\n MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n DAILY_CO_VALIDATION_SCHEMA,\n} from \"./constants\";\n\nconst Form = ({ helpDocUrl, videoUrl, onConnect, breadcrumbs }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const [isDemoModalOpen, setIsDemoModalOpen] = useState(false);\n\n const { mutate: createDaily, isPending: isConnecting } = useCreateDaily({\n onSuccess: () => onConnect?.(),\n });\n\n const handleSubmit = payload => createDaily(payload);\n\n if (isConnecting) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <Spinner />\n </div>\n );\n }\n\n return (\n <Container isHeaderFixed>\n <Header\n {...{ breadcrumbs }}\n title={t(\"neetoIntegrations.daily.connect.title\")}\n titleHelpPopoverProps={{\n title: t(\"neetoIntegrations.daily.connect.title\"),\n description: (\n <Typography lineHeight=\"normal\" style=\"body2\">\n <Trans\n i18nKey=\"neetoIntegrations.daily.helpDoc\"\n components={{\n videoLink: (\n <Button\n style=\"link\"\n onClick={() => setIsDemoModalOpen(true)}\n />\n ),\n }}\n />\n </Typography>\n ),\n helpLinkProps: {\n href: helpDocUrl,\n \"data-testid\": \"api-key-help-doc-link\",\n },\n }}\n />\n <div className=\"w-full\">\n <FormikForm\n formikProps={{\n initialValues: MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n validationSchema: DAILY_CO_VALIDATION_SCHEMA,\n onSubmit: handleSubmit,\n }}\n >\n <CardLayout\n actionBlock={\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n isSubmitting={isConnecting}\n submitButtonProps={{\n label: t(\"neetoIntegrations.common.connect\"),\n }}\n />\n }\n >\n <Input\n autoFocus\n required\n label={t(\"neetoIntegrations.daily.apiKey\")}\n name=\"apiKey\"\n />\n </CardLayout>\n </FormikForm>\n <WalkthroughModal\n {...{ videoUrl }}\n isOpen={isDemoModalOpen}\n onClose={() => setIsDemoModalOpen(false)}\n />\n </div>\n </Container>\n );\n};\nexport default withTitle(\n Form,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DailyForm.js","sources":["../app/javascript/src/components/Integrations/Daily/constants.js","../app/javascript/src/components/Integrations/Daily/Form.jsx"],"sourcesContent":["import { t } from \"i18next\";\nimport * as yup from \"yup\";\n\nexport const MANAGE_DAILY_CO_FORM_INITIAL_VALUES = { apiKey: \"\" };\n\nexport const DAILY_CO_VALIDATION_SCHEMA = yup.object().shape({\n apiKey: yup\n .string()\n .trim()\n .required(\n t(\"neetoIntegrations.errors.required\", {\n entity: t(\"neetoIntegrations.daily.apiKey\"),\n })\n ),\n});\n","import { useState } from \"react\";\n\nimport i18next from \"i18next\";\nimport { withTitle } from \"neetocommons/react-utils\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport Container from \"neetomolecules/Container\";\nimport Header from \"neetomolecules/Header\";\nimport { Button, Spinner, Typography } from \"neetoui\";\nimport { Input, Form as FormikForm, ActionBlock } from \"neetoui/formik\";\nimport { Trans, useTranslation } from \"react-i18next\";\nimport { useHistory } from \"react-router-dom\";\n\nimport WalkthroughModal from \"components/WalkthroughModal\";\nimport { useCreateDaily } from \"hooks/reactQuery/useDailiesApi\";\n\nimport {\n MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n DAILY_CO_VALIDATION_SCHEMA,\n} from \"./constants\";\n\nconst Form = ({ helpDocUrl, videoUrl, onConnect, breadcrumbs }) => {\n const { t } = useTranslation();\n const history = useHistory();\n\n const [isDemoModalOpen, setIsDemoModalOpen] = useState(false);\n\n const { mutate: createDaily, isPending: isConnecting } = useCreateDaily({\n onSuccess: () => onConnect?.(),\n });\n\n const handleSubmit = payload => createDaily(payload);\n\n if (isConnecting) {\n return (\n <div className=\"flex h-full w-full items-center justify-center\">\n <Spinner />\n </div>\n );\n }\n\n return (\n <Container isHeaderFixed>\n <Header\n {...{ breadcrumbs }}\n title={t(\"neetoIntegrations.daily.connect.title\")}\n titleHelpPopoverProps={{\n title: t(\"neetoIntegrations.daily.connect.title\"),\n description: (\n <Typography lineHeight=\"normal\" style=\"body2\">\n <Trans\n i18nKey=\"neetoIntegrations.daily.helpDoc\"\n components={{\n videoLink: (\n <Button\n style=\"link\"\n onClick={() => setIsDemoModalOpen(true)}\n />\n ),\n }}\n />\n </Typography>\n ),\n helpLinkProps: {\n href: helpDocUrl,\n \"data-testid\": \"api-key-help-doc-link\",\n },\n }}\n />\n <div className=\"w-full\">\n <FormikForm\n formikProps={{\n initialValues: MANAGE_DAILY_CO_FORM_INITIAL_VALUES,\n validationSchema: DAILY_CO_VALIDATION_SCHEMA,\n onSubmit: handleSubmit,\n }}\n >\n <CardLayout\n actionBlock={\n <ActionBlock\n cancelButtonProps={{ onClick: () => history.goBack() }}\n isSubmitting={isConnecting}\n submitButtonProps={{\n label: t(\"neetoIntegrations.common.connect\"),\n }}\n />\n }\n >\n <Input\n autoFocus\n required\n label={t(\"neetoIntegrations.daily.apiKey\")}\n name=\"apiKey\"\n />\n </CardLayout>\n </FormikForm>\n <WalkthroughModal\n {...{ videoUrl }}\n isOpen={isDemoModalOpen}\n onClose={() => setIsDemoModalOpen(false)}\n />\n </div>\n </Container>\n );\n};\nexport default withTitle(\n Form,\n i18next.t(\"neetoIntegrations.browserTitles.integrations.dailyco\")\n);\n"],"names":["_jsx","_jsxs","FormikForm"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAGO,IAAM,mCAAmC,GAAG;AAAE,EAAA,MAAM,EAAE;AAAG,CAAC;AAE1D,IAAM,0BAA0B,GAAG,GAAG,CAAC,MAAM,EAAE,CAAC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AE,YAAa;AAC3B,YAAA,iBAAiB,EAAE;cACjB,KAAK,EAAE,CAAC,CAAC,kCAAkC;AAC7C;AAAE,WACH,CACF;AAAA,UAAA,QAAA,eAEDA,IAAC,KAAK,EAAA;YACJ,SAAS,EAAA,IAAA;YACT,QAAQ,EAAA,IAAA;AACR,YAAA,KAAK,EAAE,CAAC,CAAC,gCAAgC,CAAE;AAC3C,YAAA,IAAI,EAAC;WACN;SACS;OACF,CAAC,eACbA,GAAA,CAAC,gBAAgB,EAAA;AACT,QAAA,QAAQ,EAAR,QAAQ;AACd,QAAA,MAAM,EAAE,eAAgB;QACxB,OAAO,EAAE,SAAT,OAAO,GAAA;UAAA,OAAQ,kBAAkB,CAAC,KAAK,CAAC;AAAA,QAAA;AAAC,OAC1C,CAAC;AAAA,KACC,CAAC;AAAA,GACG,CAAC;AAEhB,CAAC;AACD,aAAe,SAAS,CACtB,IAAI,EACJ,OAAO,CAAC,CAAC,CAAC,sDAAsD,CAClE,CAAC;;;;"}
|
package/dist/Demo.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Demo.js","sources":["../app/javascript/src/components/Steps/utils.js","../app/javascript/src/components/Steps/Demo.jsx"],"sourcesContent":["import { isEmpty } from \"ramda\";\n\nexport const isYouTubeLink = videoUrl => {\n const youtubeRegex = /^(https?:\\/\\/)?(www\\.)?(youtube\\.com|youtu\\.be)\\//;\n\n return youtubeRegex.test(videoUrl);\n};\n\nexport const renderText = (text, fallbackTranslation) =>\n isEmpty(text) ? fallbackTranslation : text;\n","import { noop } from \"neetocist\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport { Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { isYouTubeLink, renderText } from \"./utils\";\n\nconst Demo = ({\n title = \"\",\n subtitle = \"\",\n iframeTitle = \"\",\n onClose = noop,\n videoUrl = \"\",\n children,\n}) => {\n const { t } = useTranslation();\n\n const renderVideo = videoUrl =>\n isYouTubeLink(videoUrl) ? (\n <iframe\n allowFullScreen\n className=\"aspect-video w-full max-w-3xl border-none\"\n frameBorder=\"0\"\n id=\"ytplayer\"\n src={videoUrl}\n title={renderText(iframeTitle, t(\"neetoIntegrations.demo.iFrameTitle\"))}\n type=\"text/html\"\n />\n ) : (\n <video\n autoPlay\n controls\n muted\n className=\"neeto-ui-rounded-xl aspect-video w-full max-w-3xl cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n );\n\n return (\n <CardLayout\n description={renderText(subtitle, t(\"neetoIntegrations.demo.subtitle\"))}\n title={renderText(title, t(\"neetoIntegrations.demo.title\"))}\n actionBlock={\n <Button\n data-testid=\"neeto-integrations-demo-finish-button\"\n label={t(\"neetoIntegrations.common.finish\")}\n onClick={onClose}\n />\n }\n >\n {children}\n {videoUrl && <div className=\"w-full\">{renderVideo(videoUrl)}</div>}\n </CardLayout>\n );\n};\n\nDemo.prototypes = {\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n onClose: PropTypes.func,\n /**\n * To specify the walkthrough video link\n */\n videoUrl: PropTypes.string,\n /**\n * To specify the title of the demo component\n */\n title: PropTypes.string,\n /**\n * To specify the subtitle of the demo component\n */\n subtitle: PropTypes.string,\n /**\n * To specify the title of the video in the iframe\n */\n iframeTitle: PropTypes.string,\n};\n\nexport default Demo;\n"],"names":["
|
|
1
|
+
{"version":3,"file":"Demo.js","sources":["../app/javascript/src/components/Steps/utils.js","../app/javascript/src/components/Steps/Demo.jsx"],"sourcesContent":["import { isEmpty } from \"ramda\";\n\nexport const isYouTubeLink = videoUrl => {\n const youtubeRegex = /^(https?:\\/\\/)?(www\\.)?(youtube\\.com|youtu\\.be)\\//;\n\n return youtubeRegex.test(videoUrl);\n};\n\nexport const renderText = (text, fallbackTranslation) =>\n isEmpty(text) ? fallbackTranslation : text;\n","import { noop } from \"neetocist\";\nimport CardLayout from \"neetomolecules/CardLayout\";\nimport { Button } from \"neetoui\";\nimport PropTypes from \"prop-types\";\nimport { useTranslation } from \"react-i18next\";\n\nimport { isYouTubeLink, renderText } from \"./utils\";\n\nconst Demo = ({\n title = \"\",\n subtitle = \"\",\n iframeTitle = \"\",\n onClose = noop,\n videoUrl = \"\",\n children,\n}) => {\n const { t } = useTranslation();\n\n const renderVideo = videoUrl =>\n isYouTubeLink(videoUrl) ? (\n <iframe\n allowFullScreen\n className=\"aspect-video w-full max-w-3xl border-none\"\n frameBorder=\"0\"\n id=\"ytplayer\"\n src={videoUrl}\n title={renderText(iframeTitle, t(\"neetoIntegrations.demo.iFrameTitle\"))}\n type=\"text/html\"\n />\n ) : (\n <video\n autoPlay\n controls\n muted\n className=\"neeto-ui-rounded-xl aspect-video w-full max-w-3xl cursor-pointer\"\n id=\"walkthrough-video\"\n >\n <source src={videoUrl} />\n </video>\n );\n\n return (\n <CardLayout\n description={renderText(subtitle, t(\"neetoIntegrations.demo.subtitle\"))}\n title={renderText(title, t(\"neetoIntegrations.demo.title\"))}\n actionBlock={\n <Button\n data-testid=\"neeto-integrations-demo-finish-button\"\n label={t(\"neetoIntegrations.common.finish\")}\n onClick={onClose}\n />\n }\n >\n {children}\n {videoUrl && <div className=\"w-full\">{renderVideo(videoUrl)}</div>}\n </CardLayout>\n );\n};\n\nDemo.prototypes = {\n /**\n * To specify whether the integration modal should be opened or closed.\n */\n onClose: PropTypes.func,\n /**\n * To specify the walkthrough video link\n */\n videoUrl: PropTypes.string,\n /**\n * To specify the title of the demo component\n */\n title: PropTypes.string,\n /**\n * To specify the subtitle of the demo component\n */\n subtitle: PropTypes.string,\n /**\n * To specify the title of the video in the iframe\n */\n iframeTitle: PropTypes.string,\n};\n\nexport default Demo;\n"],"names":["_jsx","_jsxs"],"mappings":";;;;;;;;AAEO,IAAM,aAAa,GAAG,SAAhB,aAAa,CAAG,QAAQ,EAAI;EACvC,IAAM,YAAY,GAAG,mDAAmD;AAExE,EAAA,OAAO,YAAY,CAAC,IAAI,CAAC,QAAQ,CAAC;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R,KAAK,EAAA,IAAA;AACL,MAAA,SAAS,EAAC,kEAAkE;AAC5E,MAAA,EAAE,EAAC,mBAAmB;MAAA,QAAA,eAEtBA,GAAA,CAAA,QAAA,EAAA;AAAQ,QAAA,GAAG,EAAE;OAAW;AAAC,KACpB,CACR;AAAA,EAAA,CAAA;AAEH,EAAA,oBACEC,KAAC,UAAU,EAAA;IACT,WAAW,EAAE,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAC,iCAAiC,CAAC,CAAE;IACxE,KAAK,EAAE,UAAU,CAAC,KAAK,EAAE,CAAC,CAAC,8BAA8B,CAAC,CAAE;IAC5D,WAAW,eACTD,IAAC,MAAM,EAAA;AACL,MAAA,aAAA,EAAY,uCAAuC;AACnD,MAAA,KAAK,EAAE,CAAC,CAAC,iCAAiC,CAAE;AAC5C,MAAA,OAAO,EAAE;AAAQ,KAClB,CACF;IAAA,QAAA,EAAA,CAEA,QAAQ,EACR,QAAQ,iBAAIA,GAAA,CAAA,KAAA,EAAA;AAAK,MAAA,SAAS,EAAC,QAAQ;MAAA,QAAA,EAAE,WAAW,CAAC,QAAQ;AAAC,KAAM,CAAC;AAAA,GACxD,CAAC;AAEjB;AAEA,IAAI,CAAC,UAAU,GAAG;AAChB;AACF;AACA;EACE,OAAO,EAAE,SAAS,CAAC,IAAI;AACvB;AACF;AACA;EACE,QAAQ,EAAE,SAAS,CAAC,MAAM;AAC1B;AACF;AACA;EACE,KAAK,EAAE,SAAS,CAAC,MAAM;AACvB;AACF;AACA;EACE,QAAQ,EAAE,SAAS,CAAC,MAAM;AAC1B;AACF;AACA;EACE,WAAW,EAAE,SAAS,CAAC;AACzB,CAAC;;;;"}
|
package/dist/DisconnectAlert.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import _objectSpread from '@babel/runtime/helpers/objectSpread2';
|
|
2
2
|
import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
|
|
3
3
|
import { noop } from '@bigbinary/neeto-cist';
|
|
4
4
|
import withT from '@bigbinary/neeto-commons-frontend/react-utils/withT';
|
|
@@ -6,8 +6,6 @@ import Alert from '@bigbinary/neetoui/Alert';
|
|
|
6
6
|
import { jsx } from 'react/jsx-runtime';
|
|
7
7
|
|
|
8
8
|
var _excluded = ["t", "isOpen", "isDisconnecting", "title", "message", "onClose", "onDisconnect"];
|
|
9
|
-
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
10
|
-
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), true).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
11
9
|
var DisconnectAlert = withT(function (_ref) {
|
|
12
10
|
var t = _ref.t,
|
|
13
11
|
_ref$isOpen = _ref.isOpen,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DisconnectAlert.js","sources":["../app/javascript/src/components/DisconnectAlert/index.jsx"],"sourcesContent":["import { noop } from \"neetocist\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { Alert } from \"neetoui\";\n\nconst DisconnectAlert = withT(\n ({\n t,\n isOpen = false,\n isDisconnecting = false,\n title = \"\",\n message = \"\",\n onClose = noop,\n onDisconnect = noop,\n ...otherProps\n }) => (\n <Alert\n {...{ isOpen, message, onClose, title }}\n isSubmitting={isDisconnecting}\n submitButtonLabel={t(\"neetoIntegrations.common.disconnect\")}\n onSubmit={onDisconnect}\n {...otherProps}\n />\n )\n);\n\nexport default DisconnectAlert;\n"],"names":["
|
|
1
|
+
{"version":3,"file":"DisconnectAlert.js","sources":["../app/javascript/src/components/DisconnectAlert/index.jsx"],"sourcesContent":["import { noop } from \"neetocist\";\nimport withT from \"neetocommons/react-utils/withT\";\nimport { Alert } from \"neetoui\";\n\nconst DisconnectAlert = withT(\n ({\n t,\n isOpen = false,\n isDisconnecting = false,\n title = \"\",\n message = \"\",\n onClose = noop,\n onDisconnect = noop,\n ...otherProps\n }) => (\n <Alert\n {...{ isOpen, message, onClose, title }}\n isSubmitting={isDisconnecting}\n submitButtonLabel={t(\"neetoIntegrations.common.disconnect\")}\n onSubmit={onDisconnect}\n {...otherProps}\n />\n )\n);\n\nexport default DisconnectAlert;\n"],"names":["_jsx"],"mappings":";;;;;;;;AAIA,IAAM,eAAe,GAAG,KAAK,CAC3B,UAAA,IAAA,EAAA;EAAA,IACE,CAAC,QAAD,CAAC;AAAA,IAAA,WAAA,GAAA,IAAA,CACD,MAAM;AAAN,IAAA,MAAM,4BAAG,KAAK,GAAA,WAAA;AAAA,IAAA,oBAAA,GAAA,IAAA,CACd,eAAe;AAAf,IAAA,eAAe,qCAAG,KAAK,GAAA,oBAAA;AAAA,IAAA,UAAA,GAAA,IAAA,CACvB,KAAK;AAAL,IAAA,KAAK,2BAAG,EAAE,GAAA,UAAA;AAAA,IAAA,YAAA,GAAA,IAAA,CACV,OAAO;AAAP,IAAA,OAAO,6BAAG,EAAE,GAAA,YAAA;AAAA,IAAA,YAAA,GAAA,IAAA,CACZ,OAAO;AAAP,IAAA,OAAO,6BAAG,IAAI,GAAA,YAAA;AAAA,IAAA,iBAAA,GAAA,IAAA,CACd,YAAY;AAAZ,IAAA,YAAY,kCAAG,IAAI,GAAA,iBAAA;IAChB,UAAU,GAAA,wBAAA,CAAA,IAAA,EAAA,SAAA,CAAA;AAAA,EAAA,oBAEbA,IAAC,KAAK,EAAA,aAAA,CAAA;AACE,IAAA,MAAM,EAAN,MAAM;AAAE,IAAA,OAAO,EAAP,OAAO;AAAE,IAAA,OAAO,EAAP,OAAO;AAAE,IAAA,KAAK,EAAL,KAAK;AACrC,IAAA,YAAY,EAAE,eAAgB;AAC9B,IAAA,iBAAiB,EAAE,CAAC,CAAC,qCAAqC,CAAE;AAC5D,IAAA,QAAQ,EAAE;GAAa,EACnB,UAAU,CACf,CAAC;AAAA,CAEN;;;;"}
|