@hortiview/default-components 1.0.1 → 1.2.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 (38) hide show
  1. package/README.md +22 -0
  2. package/dist/HealthCheckFailed-BfzG8Esl.js +46 -0
  3. package/dist/Iconify-DQUxnnUE.js +81 -0
  4. package/dist/{LoadingSpinner-BxqY1o89.js → LoadingSpinner-BCdWKiWZ.js} +8 -7
  5. package/dist/assets/GenericTable.css +1 -0
  6. package/dist/{component-DsB0poTj-B4NF-JCy.js → component-DsB0poTj-CmUZ4Kqw.js} +113 -73
  7. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +527 -3443
  8. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +5 -5
  9. package/dist/components/GenericTable/GenericTable.d.ts +12 -0
  10. package/dist/components/GenericTable/GenericTable.js +29900 -0
  11. package/dist/components/HealthChecks/DataBaseHealthCheck.js +4 -4
  12. package/dist/components/HealthChecks/DefaultHealthCheck.js +6 -6
  13. package/dist/components/HealthChecks/HealthCheck.test.js +5960 -7065
  14. package/dist/components/HealthChecks/IotServiceHealthCheck.js +4 -4
  15. package/dist/components/HealthChecks/PlatformHealthCheck.js +4 -4
  16. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +6 -6
  17. package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +24 -6
  18. package/dist/context-f4Bcf4Hs.js +19 -0
  19. package/dist/{i18n-DIprVS_u.js → i18n-BhmFdUcK.js} +208 -250
  20. package/dist/i18n.js +3 -2
  21. package/dist/i18nInstance-l1IFPZ5d.js +48 -0
  22. package/dist/index.es-25EARqhH-By1Ap282.js +2944 -0
  23. package/dist/{HealthCheckFailed-j1XFU5px.js → index.es-6TJ1S8Jr-BFJPMGBn.js} +224 -257
  24. package/dist/index.es-D-CKRzIB-C6Z-ohcV.js +959 -0
  25. package/dist/locales/en-US.js +10 -8
  26. package/dist/locales/en-US.json.d.ts +15 -10
  27. package/dist/locales/es-MX.js +8 -6
  28. package/dist/locales/es-MX.json.d.ts +5 -2
  29. package/dist/locales/tr-TR.js +9 -7
  30. package/dist/locales/tr-TR.json.d.ts +5 -2
  31. package/dist/main.d.ts +1 -0
  32. package/dist/main.js +14 -12
  33. package/dist/{useTranslation-Bh0VR1ML.js → useTranslation-B6E1rHIA.js} +1259 -1106
  34. package/package.json +12 -12
  35. package/dist/InternationalizationWrapper-BtWuzVFG.js +0 -41
  36. package/dist/index.es-D-CKRzIB-Cv9zF1oG.js +0 -1029
  37. /package/dist/assets/{index.css → Iconify.css} +0 -0
  38. /package/dist/assets/{i18n.css → i18nInstance.css} +0 -0
@@ -1,11 +1,13 @@
1
- const e = { baseMessage: "Loading...", impatienceMessage: "This is taking longer than expected. Please be patient." }, a = { default: "Sorry, something went wrong!", defaultSubtitle: "The problem is being addressed by our technical team. Please come back later.", dataBase: "The data for this module is loading!", dataBaseSubtitle: "Please wait or come back later.", platform: "The platform data used by this module cannot be retrieved currently.", platformSubtitle: "Please wait or 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." }, t = { separator: "Please use a period as a decimal separator, e.g. 12,345.67" }, r = {
2
- loadingSpinner: e,
3
- healthCheck: a,
4
- formNumber: t
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 = {
2
+ formNumber: e,
3
+ genericTable: a,
4
+ healthCheck: t,
5
+ loadingSpinner: r
5
6
  };
6
7
  export {
7
- r as default,
8
- t as formNumber,
9
- a as healthCheck,
10
- e as loadingSpinner
8
+ o as default,
9
+ e as formNumber,
10
+ a as genericTable,
11
+ t as healthCheck,
12
+ r as loadingSpinner
11
13
  };
@@ -1,20 +1,25 @@
1
1
  declare const _default: {
2
- "loadingSpinner": {
3
- "baseMessage": "Loading...",
4
- "impatienceMessage": "This is taking longer than expected. Please be patient."
2
+ "formNumber": {
3
+ "separator": "Please use a period as a decimal separator, e.g. 12,345.67"
4
+ },
5
+ "genericTable": {
6
+ "pageOfTranslation": "of",
7
+ "pageTranslation": "Page",
8
+ "rowsPerPageTranslation": "Rows per page"
5
9
  },
6
10
  "healthCheck": {
7
- "default": "Sorry, something went wrong!",
8
- "defaultSubtitle": "The problem is being addressed by our technical team. Please come back later.",
9
11
  "dataBase": "The data for this module is loading!",
10
12
  "dataBaseSubtitle": "Please wait or come back later.",
11
- "platform": "The platform data used by this module cannot be retrieved currently.",
12
- "platformSubtitle": "Please wait or come back later.",
13
+ "default": "Sorry, something went wrong!",
14
+ "defaultSubtitle": "The problem is being addressed by our technical team. Please come back later.",
13
15
  "iotService": "The data of your devices cannot be retrieved currently.",
14
- "iotServiceSubtitle": "The problem is being addressed by our technical team. Please come back later."
16
+ "iotServiceSubtitle": "The problem is being addressed by our technical team. Please come back later.",
17
+ "platform": "The platform data used by this module cannot be retrieved currently.",
18
+ "platformSubtitle": "Please wait or come back later."
15
19
  },
16
- "formNumber": {
17
- "separator": "Please use a period as a decimal separator, e.g. 12,345.67"
20
+ "loadingSpinner": {
21
+ "baseMessage": "Loading...",
22
+ "impatienceMessage": "This is taking longer than expected. Please be patient."
18
23
  }
19
24
  }
20
25
  ;
@@ -1,12 +1,14 @@
1
- const e = { separator: "Utilice un período como separador decimal, p. 12,345.67" }, a = { basic: "Lo siento, algo salió mal!", basicSubtitle: "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.", 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." }, o = { 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" }, 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 = {
3
3
  formNumber: e,
4
- healthCheck: a,
5
- loadingSpinner: o
4
+ genericTable: a,
5
+ healthCheck: o,
6
+ loadingSpinner: s
6
7
  };
7
8
  export {
8
9
  t as default,
9
10
  e as formNumber,
10
- a as healthCheck,
11
- o as loadingSpinner
11
+ a as genericTable,
12
+ o as healthCheck,
13
+ s as loadingSpinner
12
14
  };
@@ -2,9 +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
+ "genericTable": {
6
+ "pageOfTranslation": "de",
7
+ "pageTranslation": "Página",
8
+ "rowsPerPageTranslation": "Filas por página"
9
+ },
5
10
  "healthCheck": {
6
- "basic": "Lo siento, algo salió mal!",
7
- "basicSubtitle": "El problema está siendo abordado por nuestro equipo técnico. Vuelve más tarde.",
8
11
  "dataBase": "¡Los datos para este módulo se están cargando!",
9
12
  "dataBaseSubtitle": "Espere o vuelva más tarde.",
10
13
  "default": "Lo siento, algo salió mal!",
@@ -1,12 +1,14 @@
1
- const a = { separator: "Lütfen ondalık ayırıcı olarak virgül kullanın, ör. 12.345,67" }, e = { basic: "Üzgünüm, bir şeyler ters gitti!", basicSubtitle: "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.", 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." }, n = { baseMessage: "Yükleme ...", impatienceMessage: "Bu beklenenden daha uzun sürüyor. Lütfen sabırlı olun." }, r = {
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
3
  formNumber: a,
4
- healthCheck: e,
5
- loadingSpinner: n
4
+ genericTable: e,
5
+ healthCheck: n,
6
+ loadingSpinner: r
6
7
  };
7
8
  export {
8
- r as default,
9
+ l as default,
9
10
  a as formNumber,
10
- e as healthCheck,
11
- n as loadingSpinner
11
+ e as genericTable,
12
+ n as healthCheck,
13
+ r as loadingSpinner
12
14
  };
@@ -2,9 +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
+ "genericTable": {
6
+ "pageOfTranslation": "ile ilgili",
7
+ "pageTranslation": "Sayfa",
8
+ "rowsPerPageTranslation": "Sayfa başına satırlar"
9
+ },
5
10
  "healthCheck": {
6
- "basic": "Üzgünüm, bir şeyler ters gitti!",
7
- "basicSubtitle": "Sorun teknik ekibimiz tarafından ele alınmaktadır. Lütfen daha sonra tekrar gelin.",
8
11
  "dataBase": "Bu modül için veriler yükleniyor!",
9
12
  "dataBaseSubtitle": "Lütfen bekleyin veya daha sonra geri dönün.",
10
13
  "default": "Üzgünüm, bir şeyler ters gitti!",
package/dist/main.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  export { DefaultFormNumber } from './components/DefaultFormNumber/DefaultFormNumber';
2
2
  export { DefaultLoadingSpinner } from './components/DefaultLoadingSpinner/DefaultLoadingSpinner';
3
+ export { GenericTable } from './components/GenericTable/GenericTable';
3
4
  export { ImpatienceLoadingSpinner } from './components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner';
4
5
  /** default health checks */
5
6
  export { DataBaseHealthCheck } from './components/HealthChecks/DataBaseHealthCheck';
package/dist/main.js CHANGED
@@ -1,18 +1,20 @@
1
1
  import { DefaultFormNumber as r } from "./components/DefaultFormNumber/DefaultFormNumber.js";
2
2
  import { DefaultLoadingSpinner as a } from "./components/DefaultLoadingSpinner/DefaultLoadingSpinner.js";
3
- import { ImpatienceLoadingSpinner as m } from "./components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js";
4
- import { DataBaseHealthCheck as n } from "./components/HealthChecks/DataBaseHealthCheck.js";
5
- import { DefaultHealthCheck as l } from "./components/HealthChecks/DefaultHealthCheck.js";
6
- import { IotServiceHealthCheck as x } from "./components/HealthChecks/IotServiceHealthCheck.js";
7
- import { PlatformHealthCheck as i } from "./components/HealthChecks/PlatformHealthCheck.js";
8
- import { u as g } from "./InternationalizationWrapper-BtWuzVFG.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";
9
10
  export {
10
- n as DataBaseHealthCheck,
11
+ h as DataBaseHealthCheck,
11
12
  r as DefaultFormNumber,
12
- l as DefaultHealthCheck,
13
+ c as DefaultHealthCheck,
13
14
  a as DefaultLoadingSpinner,
14
- m as ImpatienceLoadingSpinner,
15
- x as IotServiceHealthCheck,
16
- i as PlatformHealthCheck,
17
- g as useChangeDefaultComponentsLanguage
15
+ m as GenericTable,
16
+ n as ImpatienceLoadingSpinner,
17
+ u as IotServiceHealthCheck,
18
+ g as PlatformHealthCheck,
19
+ k as useChangeDefaultComponentsLanguage
18
20
  };