@hortiview/default-components 1.2.1 → 1.4.0

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.
Files changed (42) hide show
  1. package/README.md +12 -0
  2. package/dist/{HealthCheckFailed-xzjSWKc-.js → HealthCheckFailed-CqLYAwpc.js} +13 -12
  3. package/dist/{Iconify-B64-1COA.js → Iconify-Cjdr-ccS.js} +11 -12
  4. package/dist/{LoadingSpinner-AfsNRWJD.js → LoadingSpinner-FRQEZvxs.js} +25 -24
  5. package/dist/OfflineView-HbuDPpQL-kqlzfoUS.js +46 -0
  6. package/dist/assets/DefaultFormSelect.css +1 -0
  7. package/dist/assets/GenericTable.css +1 -1
  8. package/dist/assets/OfflineView-HbuDPpQL.css +1 -0
  9. package/dist/{component-DsB0poTj-QmhaJp70.js → component-DsB0poTj-BDGiEcbP.js} +1 -1
  10. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +239 -251
  11. package/dist/components/DefaultFormSelect/DefaultFormSelect.d.ts +14 -0
  12. package/dist/components/DefaultFormSelect/DefaultFormSelect.js +189 -0
  13. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +2 -2
  14. package/dist/components/GenericTable/GenericTable.js +9938 -23557
  15. package/dist/components/HealthChecks/DataBaseHealthCheck.js +2 -2
  16. package/dist/components/HealthChecks/DefaultHealthCheck.js +2 -2
  17. package/dist/components/HealthChecks/IotServiceHealthCheck.js +2 -2
  18. package/dist/components/HealthChecks/PlatformHealthCheck.js +2 -2
  19. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +2 -2
  20. package/dist/components/OfflineView/OfflineView.d.ts +4 -0
  21. package/dist/components/OfflineView/OfflineView.js +18 -0
  22. package/dist/{index.es-D-CKRzIB-DgKmS30c.js → index.es--yyG47az-DBKBm3yD.js} +316 -450
  23. package/dist/index.es-Bx1E5MPK-CaV59rEP.js +344 -0
  24. package/dist/index.es-CzUKBF7E-C0X-mcdY.js +13567 -0
  25. package/dist/index.es-D-ph6ImM-CWxTa_iD.js +63 -0
  26. package/dist/index.es-DDo_AHL0-VqD9ikmU.js +1033 -0
  27. package/dist/index.es-Kg9soDed-BkTwDySy.js +440 -0
  28. package/dist/index.es-U5-b20Gv-ChQ_O81C.js +1010 -0
  29. package/dist/locales/en-US.js +10 -6
  30. package/dist/locales/en-US.json.d.ts +10 -0
  31. package/dist/locales/es-MX.js +11 -7
  32. package/dist/locales/es-MX.json.d.ts +10 -0
  33. package/dist/locales/tr-TR.js +15 -11
  34. package/dist/locales/tr-TR.json.d.ts +10 -0
  35. package/dist/main.d.ts +4 -1
  36. package/dist/main.js +22 -18
  37. package/dist/{index.es-25EARqhH-LGdAiMHi.js → omit-1Eom1PmQ-BLY9iMqj.js} +748 -1314
  38. package/dist/useHelperText-DD9_Dtkk.js +21 -0
  39. package/dist/useTranslation-B_ODv8uN.js +4306 -0
  40. package/package.json +3 -3
  41. package/dist/index.es-6TJ1S8Jr-CxeupS6f.js +0 -1806
  42. package/dist/useTranslation-DaMPyebp.js +0 -4223
@@ -1,13 +1,17 @@
1
- const e = { separator: "Please use a period as a decimal separator, e.g. 12,345.67" }, a = { pageOfTranslation: "of", pageTranslation: "Page", rowsPerPageTranslation: "Rows per page" }, t = { dataBase: "The data for this module is loading!", dataBaseSubtitle: "Please wait or come back later.", default: "Sorry, something went wrong!", defaultSubtitle: "The problem is being addressed by our technical team. Please come back later.", iotService: "The data of your devices cannot be retrieved currently.", iotServiceSubtitle: "The problem is being addressed by our technical team. Please come back later.", platform: "The platform data used by this module cannot be retrieved currently.", platformSubtitle: "Please wait or come back later." }, r = { baseMessage: "Loading...", impatienceMessage: "This is taking longer than expected. Please be patient." }, o = {
1
+ const e = { separator: "Please use a period as a decimal separator, e.g. 12,345.67" }, t = { filterOptions: "Show only selected options", multiItems: "items selected", noOptions: "No options", selectAll: "Select all" }, a = { pageOfTranslation: "of", pageTranslation: "Page", rowsPerPageTranslation: "Rows per page" }, o = { dataBase: "The data for this module is loading!", dataBaseSubtitle: "Please wait or come back later.", default: "Sorry, something went wrong!", defaultSubtitle: "The problem is being addressed by our technical team. Please come back later.", iotService: "The data of your devices cannot be retrieved currently.", iotServiceSubtitle: "The problem is being addressed by our technical team. Please come back later.", platform: "The platform data used by this module cannot be retrieved currently.", platformSubtitle: "Please wait or come back later." }, l = { baseMessage: "Loading...", impatienceMessage: "This is taking longer than expected. Please be patient." }, s = { subtitle: "This feature is unavailable until you reconnect", title: "You’re currently offline" }, i = {
2
2
  formNumber: e,
3
+ formSelect: t,
3
4
  genericTable: a,
4
- healthCheck: t,
5
- loadingSpinner: r
5
+ healthCheck: o,
6
+ loadingSpinner: l,
7
+ offlineView: s
6
8
  };
7
9
  export {
8
- o as default,
10
+ i as default,
9
11
  e as formNumber,
12
+ t as formSelect,
10
13
  a as genericTable,
11
- t as healthCheck,
12
- r as loadingSpinner
14
+ o as healthCheck,
15
+ l as loadingSpinner,
16
+ s as offlineView
13
17
  };
@@ -2,6 +2,12 @@ declare const _default: {
2
2
  "formNumber": {
3
3
  "separator": "Please use a period as a decimal separator, e.g. 12,345.67"
4
4
  },
5
+ "formSelect": {
6
+ "filterOptions": "Show only selected options",
7
+ "multiItems": "items selected",
8
+ "noOptions": "No options",
9
+ "selectAll": "Select all"
10
+ },
5
11
  "genericTable": {
6
12
  "pageOfTranslation": "of",
7
13
  "pageTranslation": "Page",
@@ -20,6 +26,10 @@ declare const _default: {
20
26
  "loadingSpinner": {
21
27
  "baseMessage": "Loading...",
22
28
  "impatienceMessage": "This is taking longer than expected. Please be patient."
29
+ },
30
+ "offlineView": {
31
+ "subtitle": "This feature is unavailable until you reconnect",
32
+ "title": "You’re currently offline"
23
33
  }
24
34
  }
25
35
  ;
@@ -1,14 +1,18 @@
1
- const e = { separator: "Utilice un período como separador decimal, p. 12,345.67" }, a = { pageOfTranslation: "de", pageTranslation: "Página", rowsPerPageTranslation: "Filas por página" }, o = { dataBase: "¡Los datos para este módulo se están cargando!", dataBaseSubtitle: "Espere o vuelva más tarde.", default: "Lo siento, algo salió mal!", defaultSubtitle: `El problema está siendo abordado por nuestro equipo técnico.
2
- Vuelve más tarde.`, iotService: "Los datos de sus dispositivos no se pueden recuperar actualmente.", iotServiceSubtitle: "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.", platform: "Los datos de la plataforma utilizados por este módulo no se pueden recuperar actualmente.", platformSubtitle: "Espere o vuelva más tarde." }, s = { baseMessage: "Cargando...", impatienceMessage: "Esto está tardando más de lo esperado. Por favor, sea paciente." }, t = {
1
+ const e = { separator: "Utilice un período como separador decimal, p. 12,345.67" }, o = { filterOptions: "Mostrar solo opciones seleccionadas", multiItems: "elementos seleccionados", noOptions: "No hay opciones", selectAll: "Seleccionar todo" }, a = { pageOfTranslation: "de", pageTranslation: "Página", rowsPerPageTranslation: "Filas por página" }, s = { dataBase: "¡Los datos para este módulo se están cargando!", dataBaseSubtitle: "Espere o vuelva más tarde.", default: "Lo siento, algo salió mal!", defaultSubtitle: `El problema está siendo abordado por nuestro equipo técnico.
2
+ Vuelve más tarde.`, iotService: "Los datos de sus dispositivos no se pueden recuperar actualmente.", iotServiceSubtitle: "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.", platform: "Los datos de la plataforma utilizados por este módulo no se pueden recuperar actualmente.", platformSubtitle: "Espere o vuelva más tarde." }, t = { baseMessage: "Cargando...", impatienceMessage: "Esto está tardando más de lo esperado. Por favor, sea paciente." }, n = { subtitle: "Esta función no está disponible hasta que te vuelvas a conectar.", title: "Actualmente estás sin conexión." }, r = {
3
3
  formNumber: e,
4
+ formSelect: o,
4
5
  genericTable: a,
5
- healthCheck: o,
6
- loadingSpinner: s
6
+ healthCheck: s,
7
+ loadingSpinner: t,
8
+ offlineView: n
7
9
  };
8
10
  export {
9
- t as default,
11
+ r as default,
10
12
  e as formNumber,
13
+ o as formSelect,
11
14
  a as genericTable,
12
- o as healthCheck,
13
- s as loadingSpinner
15
+ s as healthCheck,
16
+ t as loadingSpinner,
17
+ n as offlineView
14
18
  };
@@ -2,6 +2,12 @@ declare const _default: {
2
2
  "formNumber": {
3
3
  "separator": "Utilice un período como separador decimal, p. 12,345.67"
4
4
  },
5
+ "formSelect": {
6
+ "filterOptions": "Mostrar solo opciones seleccionadas",
7
+ "multiItems": "elementos seleccionados",
8
+ "noOptions": "No hay opciones",
9
+ "selectAll": "Seleccionar todo"
10
+ },
5
11
  "genericTable": {
6
12
  "pageOfTranslation": "de",
7
13
  "pageTranslation": "Página",
@@ -20,6 +26,10 @@ declare const _default: {
20
26
  "loadingSpinner": {
21
27
  "baseMessage": "Cargando...",
22
28
  "impatienceMessage": "Esto está tardando más de lo esperado. Por favor, sea paciente."
29
+ },
30
+ "offlineView": {
31
+ "subtitle": "Esta función no está disponible hasta que te vuelvas a conectar.",
32
+ "title": "Actualmente estás sin conexión."
23
33
  }
24
34
  }
25
35
  ;
@@ -1,14 +1,18 @@
1
- const a = { separator: "Lütfen ondalık ayırıcı olarak virgül kullanın, ör. 12.345,67" }, e = { pageOfTranslation: "ile ilgili", pageTranslation: "Sayfa", rowsPerPageTranslation: "Sayfa başına satırlar" }, n = { dataBase: "Bu modül için veriler yükleniyor!", dataBaseSubtitle: "Lütfen bekleyin veya daha sonra geri dönün.", default: "Üzgünüm, bir şeyler ters gitti!", defaultSubtitle: `Sorun teknik ekibimiz tarafından ele alınmaktadır.
2
- Lütfen daha sonra tekrar gelin.`, iotService: "Cihazlarınızın verileri şu anda alınamaz.", iotServiceSubtitle: "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.", platform: "Bu modül tarafından kullanılan platform verileri şu anda alınamaz.", platformSubtitle: "Lütfen bekleyin veya daha sonra geri dönün." }, r = { baseMessage: "Yükleme ...", impatienceMessage: "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun." }, l = {
3
- formNumber: a,
4
- genericTable: e,
5
- healthCheck: n,
6
- loadingSpinner: r
1
+ const e = { separator: "Lütfen ondalık ayırıcı olarak virgül kullanın, ör. 12.345,67" }, a = { filterOptions: "Yalnızca seçilen seçenekleri göster", multiItems: "seçilen öğeler", noOptions: "Seçenek yok", selectAll: "Hepsini seç" }, n = { pageOfTranslation: "ile ilgili", pageTranslation: "Sayfa", rowsPerPageTranslation: "Sayfa başına satırlar" }, l = { dataBase: "Bu modül için veriler yükleniyor!", dataBaseSubtitle: "Lütfen bekleyin veya daha sonra geri dönün.", default: "Üzgünüm, bir şeyler ters gitti!", defaultSubtitle: `Sorun teknik ekibimiz tarafından ele alınmaktadır.
2
+ Lütfen daha sonra tekrar gelin.`, iotService: "Cihazlarınızın verileri şu anda alınamaz.", iotServiceSubtitle: "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.", platform: "Bu modül tarafından kullanılan platform verileri şu anda alınamaz.", platformSubtitle: "Lütfen bekleyin veya daha sonra geri dönün." }, t = { baseMessage: "Yükleme ...", impatienceMessage: "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun." }, i = { subtitle: "Bu özellik yeniden bağlanana kadar kullanılamaz", title: "Şu anda çevrimdışısınız" }, r = {
3
+ formNumber: e,
4
+ formSelect: a,
5
+ genericTable: n,
6
+ healthCheck: l,
7
+ loadingSpinner: t,
8
+ offlineView: i
7
9
  };
8
10
  export {
9
- l as default,
10
- a as formNumber,
11
- e as genericTable,
12
- n as healthCheck,
13
- r as loadingSpinner
11
+ r as default,
12
+ e as formNumber,
13
+ a as formSelect,
14
+ n as genericTable,
15
+ l as healthCheck,
16
+ t as loadingSpinner,
17
+ i as offlineView
14
18
  };
@@ -2,6 +2,12 @@ declare const _default: {
2
2
  "formNumber": {
3
3
  "separator": "Lütfen ondalık ayırıcı olarak virgül kullanın, ör. 12.345,67"
4
4
  },
5
+ "formSelect": {
6
+ "filterOptions": "Yalnızca seçilen seçenekleri göster",
7
+ "multiItems": "seçilen öğeler",
8
+ "noOptions": "Seçenek yok",
9
+ "selectAll": "Hepsini seç"
10
+ },
5
11
  "genericTable": {
6
12
  "pageOfTranslation": "ile ilgili",
7
13
  "pageTranslation": "Sayfa",
@@ -20,6 +26,10 @@ declare const _default: {
20
26
  "loadingSpinner": {
21
27
  "baseMessage": "Yükleme ...",
22
28
  "impatienceMessage": "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun."
29
+ },
30
+ "offlineView": {
31
+ "subtitle": "Bu özellik yeniden bağlanana kadar kullanılamaz",
32
+ "title": "Şu anda çevrimdışısınız"
23
33
  }
24
34
  }
25
35
  ;
package/dist/main.d.ts CHANGED
@@ -1,7 +1,10 @@
1
- export { DefaultFormNumber } from './components/DefaultFormNumber/DefaultFormNumber';
2
1
  export { DefaultLoadingSpinner } from './components/DefaultLoadingSpinner/DefaultLoadingSpinner';
3
2
  export { GenericTable } from './components/GenericTable/GenericTable';
4
3
  export { ImpatienceLoadingSpinner } from './components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner';
4
+ export { OfflineView } from './components/OfflineView/OfflineView';
5
+ /** default form components */
6
+ export { DefaultFormNumber } from './components/DefaultFormNumber/DefaultFormNumber';
7
+ export { DefaultFormSelect } from './components/DefaultFormSelect/DefaultFormSelect';
5
8
  /** default health checks */
6
9
  export { DataBaseHealthCheck } from './components/HealthChecks/DataBaseHealthCheck';
7
10
  export { DefaultHealthCheck } from './components/HealthChecks/DefaultHealthCheck';
package/dist/main.js CHANGED
@@ -1,20 +1,24 @@
1
- import { DefaultFormNumber as r } from "./components/DefaultFormNumber/DefaultFormNumber.js";
2
- import { DefaultLoadingSpinner as a } from "./components/DefaultLoadingSpinner/DefaultLoadingSpinner.js";
3
- import { GenericTable as m } from "./components/GenericTable/GenericTable.js";
4
- import { ImpatienceLoadingSpinner as n } from "./components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js";
5
- import { DataBaseHealthCheck as h } from "./components/HealthChecks/DataBaseHealthCheck.js";
6
- import { DefaultHealthCheck as c } from "./components/HealthChecks/DefaultHealthCheck.js";
7
- import { IotServiceHealthCheck as u } from "./components/HealthChecks/IotServiceHealthCheck.js";
8
- import { PlatformHealthCheck as g } from "./components/HealthChecks/PlatformHealthCheck.js";
9
- import { useChangeDefaultComponentsLanguage as k } from "./components/InternationalizationWrapper/InternationalizationWrapper.js";
1
+ import { DefaultLoadingSpinner as r } from "./components/DefaultLoadingSpinner/DefaultLoadingSpinner.js";
2
+ import { GenericTable as a } from "./components/GenericTable/GenericTable.js";
3
+ import { ImpatienceLoadingSpinner as m } from "./components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js";
4
+ import { OfflineView as l } from "./components/OfflineView/OfflineView.js";
5
+ import { DefaultFormNumber as x } from "./components/DefaultFormNumber/DefaultFormNumber.js";
6
+ import { DefaultFormSelect as i } from "./components/DefaultFormSelect/DefaultFormSelect.js";
7
+ import { DataBaseHealthCheck as u } from "./components/HealthChecks/DataBaseHealthCheck.js";
8
+ import { DefaultHealthCheck as D } from "./components/HealthChecks/DefaultHealthCheck.js";
9
+ import { IotServiceHealthCheck as k } from "./components/HealthChecks/IotServiceHealthCheck.js";
10
+ import { PlatformHealthCheck as S } from "./components/HealthChecks/PlatformHealthCheck.js";
11
+ import { useChangeDefaultComponentsLanguage as L } from "./components/InternationalizationWrapper/InternationalizationWrapper.js";
10
12
  export {
11
- h as DataBaseHealthCheck,
12
- r as DefaultFormNumber,
13
- c as DefaultHealthCheck,
14
- a as DefaultLoadingSpinner,
15
- m as GenericTable,
16
- n as ImpatienceLoadingSpinner,
17
- u as IotServiceHealthCheck,
18
- g as PlatformHealthCheck,
19
- k as useChangeDefaultComponentsLanguage
13
+ u as DataBaseHealthCheck,
14
+ x as DefaultFormNumber,
15
+ i as DefaultFormSelect,
16
+ D as DefaultHealthCheck,
17
+ r as DefaultLoadingSpinner,
18
+ a as GenericTable,
19
+ m as ImpatienceLoadingSpinner,
20
+ k as IotServiceHealthCheck,
21
+ l as OfflineView,
22
+ S as PlatformHealthCheck,
23
+ L as useChangeDefaultComponentsLanguage
20
24
  };