@hortiview/default-components 1.2.1 → 1.3.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 (34) hide show
  1. package/README.md +12 -0
  2. package/dist/{HealthCheckFailed-xzjSWKc-.js → HealthCheckFailed-BA_vyKwG.js} +6 -6
  3. package/dist/Iconify-B42tJF6q.js +979 -0
  4. package/dist/{LoadingSpinner-AfsNRWJD.js → LoadingSpinner-5JYKhDod.js} +5 -5
  5. package/dist/OfflineView-BW19N4Cu-CpgiY6nC.js +45 -0
  6. package/dist/assets/GenericTable.css +1 -1
  7. package/dist/assets/OfflineView-BW19N4Cu.css +1 -0
  8. package/dist/{component-DsB0poTj-QmhaJp70.js → component-DsB0poTj-uxpi4oSj.js} +1 -1
  9. package/dist/components/DefaultFormNumber/DefaultFormNumber.js +2 -2
  10. package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +2 -2
  11. package/dist/components/GenericTable/GenericTable.js +4153 -4138
  12. package/dist/components/HealthChecks/DataBaseHealthCheck.js +2 -2
  13. package/dist/components/HealthChecks/DefaultHealthCheck.js +2 -2
  14. package/dist/components/HealthChecks/IotServiceHealthCheck.js +2 -2
  15. package/dist/components/HealthChecks/PlatformHealthCheck.js +2 -2
  16. package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +2 -2
  17. package/dist/components/OfflineView/OfflineView.d.ts +4 -0
  18. package/dist/components/OfflineView/OfflineView.js +18 -0
  19. package/dist/{index.es-25EARqhH-LGdAiMHi.js → index.es-25EARqhH-CciUgLci.js} +2 -2
  20. package/dist/{index.es-6TJ1S8Jr-CxeupS6f.js → index.es-6TJ1S8Jr-C4X_iaSC.js} +493 -831
  21. package/dist/index.es-CiqbARoC-D-muiSwa.js +344 -0
  22. package/dist/index.es-D-CKRzIB-DPq2PQz-.js +63 -0
  23. package/dist/locales/en-US.js +6 -4
  24. package/dist/locales/en-US.json.d.ts +4 -0
  25. package/dist/locales/es-MX.js +6 -4
  26. package/dist/locales/es-MX.json.d.ts +4 -0
  27. package/dist/locales/tr-TR.js +6 -4
  28. package/dist/locales/tr-TR.json.d.ts +4 -0
  29. package/dist/main.d.ts +1 -0
  30. package/dist/main.js +12 -10
  31. package/dist/{useTranslation-DaMPyebp.js → useTranslation-v0qSkb40.js} +17 -17
  32. package/package.json +3 -3
  33. package/dist/Iconify-B64-1COA.js +0 -83
  34. package/dist/index.es-D-CKRzIB-DgKmS30c.js +0 -959
@@ -1,7 +1,7 @@
1
1
  import { jsx as a } from "react/jsx-runtime";
2
- import { N as r } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as r } from "../../HealthCheckFailed-BA_vyKwG.js";
3
3
  import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as i } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as i } from "../../useTranslation-v0qSkb40.js";
5
5
  const m = ({ ...e }) => {
6
6
  const { t } = i();
7
7
  return /* @__PURE__ */ a(o, { children: /* @__PURE__ */ a(
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { N as o } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as o } from "../../HealthCheckFailed-BA_vyKwG.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as i } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as i } from "../../useTranslation-v0qSkb40.js";
5
5
  const p = ({ ...r }) => {
6
6
  const { t } = i();
7
7
  return /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { N as i } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as i } from "../../HealthCheckFailed-BA_vyKwG.js";
3
3
  import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as a } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as a } from "../../useTranslation-v0qSkb40.js";
5
5
  const m = ({ ...r }) => {
6
6
  const { t } = a();
7
7
  return /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
@@ -1,7 +1,7 @@
1
1
  import { jsx as r } from "react/jsx-runtime";
2
- import { N as e } from "../../HealthCheckFailed-xzjSWKc-.js";
2
+ import { N as e } from "../../HealthCheckFailed-BA_vyKwG.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as l } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as l } from "../../useTranslation-v0qSkb40.js";
5
5
  const h = ({ isOutlined: o }) => {
6
6
  const { t } = l();
7
7
  return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(
@@ -1,7 +1,7 @@
1
1
  import { jsx as n } from "react/jsx-runtime";
2
- import { p as r } from "../../LoadingSpinner-AfsNRWJD.js";
2
+ import { p as r } from "../../LoadingSpinner-5JYKhDod.js";
3
3
  import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
- import { u as t } from "../../useTranslation-DaMPyebp.js";
4
+ import { u as t } from "../../useTranslation-v0qSkb40.js";
5
5
  const c = ({ ...i }) => {
6
6
  const { t: e } = t();
7
7
  return /* @__PURE__ */ n(a, { children: /* @__PURE__ */ n(
@@ -0,0 +1,4 @@
1
+ import { OfflineViewProps } from '@hortiview/shared-components/dist/components/OfflineView/OfflineView';
2
+
3
+ export type SharedOfflineViewProps = Omit<OfflineViewProps, 'title' | 'subtitle'>;
4
+ export declare const OfflineView: ({ ...props }: SharedOfflineViewProps) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,18 @@
1
+ import { jsx as i } from "react/jsx-runtime";
2
+ import { z as o } from "../../OfflineView-BW19N4Cu-CpgiY6nC.js";
3
+ import { InternationalizationWrapper as r } from "../InternationalizationWrapper/InternationalizationWrapper.js";
4
+ import { u as n } from "../../useTranslation-v0qSkb40.js";
5
+ const a = ({ ...e }) => {
6
+ const { t } = n();
7
+ return /* @__PURE__ */ i(r, { children: /* @__PURE__ */ i(
8
+ o,
9
+ {
10
+ ...e,
11
+ title: t("offlineView.title"),
12
+ subtitle: t("offlineView.subtitle")
13
+ }
14
+ ) });
15
+ };
16
+ export {
17
+ a as OfflineView
18
+ };
@@ -1,6 +1,6 @@
1
- import { s as tn, R as a, t as en, F as nn, v as rn, g as qt, w as on, N as S, _ as L, x as st, h as I, f as X, p as _, a as z, y as an, D as Ae, U as sn, r as $t, L as Ne, b as w, o as ln } from "./useTranslation-DaMPyebp.js";
1
+ import { e as tn, R as a, c as en, g as qt, F as nn, i as rn, n as on, N as S, _ as L, j as st, h as I, f as X, p as _, a as z, m as an, D as Ae, U as sn, r as $t, L as Ne, b as w, I as ln } from "./useTranslation-v0qSkb40.js";
2
2
  import d, { forwardRef as M, useState as j, useRef as v, useImperativeHandle as K, useEffect as g, useMemo as Wt, useCallback as G, Fragment as ae } from "react";
3
- import { D as un, p as _t, U as se, _ as dn, O as cn } from "./component-DsB0poTj-QmhaJp70.js";
3
+ import { D as un, p as _t, U as se, _ as dn, O as cn } from "./component-DsB0poTj-uxpi4oSj.js";
4
4
  import fn from "react-dom";
5
5
  const pn = {
6
6
  /**