@hortiview/default-components 1.2.0 → 1.2.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/dist/{HealthCheckFailed-BfzG8Esl.js → HealthCheckFailed-xzjSWKc-.js} +3 -3
- package/dist/Iconify-B64-1COA.js +83 -0
- package/dist/{LoadingSpinner-BCdWKiWZ.js → LoadingSpinner-AfsNRWJD.js} +10 -10
- package/dist/assets/GenericTable.css +1 -1
- package/dist/{component-DsB0poTj-CmUZ4Kqw.js → component-DsB0poTj-QmhaJp70.js} +1 -1
- package/dist/components/DefaultFormNumber/DefaultFormNumber.js +5 -6
- package/dist/components/DefaultLoadingSpinner/DefaultLoadingSpinner.js +7 -8
- package/dist/components/GenericTable/GenericTable.js +2632 -2618
- package/dist/components/HealthChecks/DataBaseHealthCheck.js +4 -5
- package/dist/components/HealthChecks/DefaultHealthCheck.js +4 -5
- package/dist/components/HealthChecks/IotServiceHealthCheck.js +4 -5
- package/dist/components/HealthChecks/PlatformHealthCheck.js +5 -6
- package/dist/components/ImpatienceLoadingSpinner/ImpatienceLoadingSpinner.js +7 -8
- package/dist/components/InternationalizationWrapper/InternationalizationWrapper.js +1 -1
- package/dist/{i18n-BhmFdUcK.js → i18n-CCQpJsQK.js} +8 -8
- package/dist/i18n.js +2 -3
- package/dist/{i18nInstance-l1IFPZ5d.js → i18nInstance-D_96ADqd.js} +1 -1
- package/dist/{index.es-25EARqhH-By1Ap282.js → index.es-25EARqhH-LGdAiMHi.js} +2 -2
- package/dist/{index.es-6TJ1S8Jr-BFJPMGBn.js → index.es-6TJ1S8Jr-CxeupS6f.js} +3 -3
- package/dist/{index.es-D-CKRzIB-C6Z-ohcV.js → index.es-D-CKRzIB-DgKmS30c.js} +1 -1
- package/dist/{useTranslation-B6E1rHIA.js → useTranslation-DaMPyebp.js} +263 -263
- package/package.json +3 -3
- package/dist/Iconify-DQUxnnUE.js +0 -81
- package/dist/assets/i18nInstance.css +0 -1
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
|
-
import "../../
|
|
3
|
-
import { N as r } from "../../HealthCheckFailed-BfzG8Esl.js";
|
|
2
|
+
import { N as r } from "../../HealthCheckFailed-xzjSWKc-.js";
|
|
4
3
|
import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
|
|
5
|
-
import { u as i } from "../../useTranslation-
|
|
6
|
-
const
|
|
4
|
+
import { u as i } from "../../useTranslation-DaMPyebp.js";
|
|
5
|
+
const m = ({ ...e }) => {
|
|
7
6
|
const { t } = i();
|
|
8
7
|
return /* @__PURE__ */ a(o, { children: /* @__PURE__ */ a(
|
|
9
8
|
r,
|
|
@@ -16,5 +15,5 @@ const p = ({ ...e }) => {
|
|
|
16
15
|
) });
|
|
17
16
|
};
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
m as DataBaseHealthCheck
|
|
20
19
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "../../
|
|
3
|
-
import { N as o } from "../../HealthCheckFailed-BfzG8Esl.js";
|
|
2
|
+
import { N as o } from "../../HealthCheckFailed-xzjSWKc-.js";
|
|
4
3
|
import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
|
|
5
|
-
import { u as i } from "../../useTranslation-
|
|
6
|
-
const
|
|
4
|
+
import { u as i } from "../../useTranslation-DaMPyebp.js";
|
|
5
|
+
const p = ({ ...r }) => {
|
|
7
6
|
const { t } = i();
|
|
8
7
|
return /* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(
|
|
9
8
|
o,
|
|
@@ -16,5 +15,5 @@ const u = ({ ...r }) => {
|
|
|
16
15
|
) });
|
|
17
16
|
};
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
p as DefaultHealthCheck
|
|
20
19
|
};
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { jsx as e } from "react/jsx-runtime";
|
|
2
|
-
import "../../
|
|
3
|
-
import { N as i } from "../../HealthCheckFailed-BfzG8Esl.js";
|
|
2
|
+
import { N as i } from "../../HealthCheckFailed-xzjSWKc-.js";
|
|
4
3
|
import { InternationalizationWrapper as o } from "../InternationalizationWrapper/InternationalizationWrapper.js";
|
|
5
|
-
import { u as a } from "../../useTranslation-
|
|
6
|
-
const
|
|
4
|
+
import { u as a } from "../../useTranslation-DaMPyebp.js";
|
|
5
|
+
const m = ({ ...r }) => {
|
|
7
6
|
const { t } = a();
|
|
8
7
|
return /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e(
|
|
9
8
|
i,
|
|
@@ -16,5 +15,5 @@ const p = ({ ...r }) => {
|
|
|
16
15
|
) });
|
|
17
16
|
};
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
m as IotServiceHealthCheck
|
|
20
19
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as r } from "react/jsx-runtime";
|
|
2
|
-
import "../../
|
|
3
|
-
import { N as e } from "../../HealthCheckFailed-BfzG8Esl.js";
|
|
2
|
+
import { N as e } from "../../HealthCheckFailed-xzjSWKc-.js";
|
|
4
3
|
import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
|
|
5
|
-
import { u as
|
|
6
|
-
const
|
|
7
|
-
const { t } =
|
|
4
|
+
import { u as l } from "../../useTranslation-DaMPyebp.js";
|
|
5
|
+
const h = ({ isOutlined: o }) => {
|
|
6
|
+
const { t } = l();
|
|
8
7
|
return /* @__PURE__ */ r(a, { children: /* @__PURE__ */ r(
|
|
9
8
|
e,
|
|
10
9
|
{
|
|
@@ -16,5 +15,5 @@ const f = ({ isOutlined: o }) => {
|
|
|
16
15
|
) });
|
|
17
16
|
};
|
|
18
17
|
export {
|
|
19
|
-
|
|
18
|
+
h as PlatformHealthCheck
|
|
20
19
|
};
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import { jsx as n } from "react/jsx-runtime";
|
|
2
|
-
import "../../
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
return /* @__PURE__ */ n(t, { children: /* @__PURE__ */ n(
|
|
2
|
+
import { p as r } from "../../LoadingSpinner-AfsNRWJD.js";
|
|
3
|
+
import { InternationalizationWrapper as a } from "../InternationalizationWrapper/InternationalizationWrapper.js";
|
|
4
|
+
import { u as t } from "../../useTranslation-DaMPyebp.js";
|
|
5
|
+
const c = ({ ...i }) => {
|
|
6
|
+
const { t: e } = t();
|
|
7
|
+
return /* @__PURE__ */ n(a, { children: /* @__PURE__ */ n(
|
|
9
8
|
r,
|
|
10
9
|
{
|
|
11
10
|
...i,
|
|
@@ -15,5 +14,5 @@ const g = ({ ...i }) => {
|
|
|
15
14
|
) });
|
|
16
15
|
};
|
|
17
16
|
export {
|
|
18
|
-
|
|
17
|
+
c as ImpatienceLoadingSpinner
|
|
19
18
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as a } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as i, createElement as m, useEffect as s } from "react";
|
|
3
|
-
import { i as t } from "../../i18n-
|
|
3
|
+
import { i as t } from "../../i18n-CCQpJsQK.js";
|
|
4
4
|
import { I as p } from "../../context-f4Bcf4Hs.js";
|
|
5
5
|
function f({
|
|
6
6
|
i18n: e,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import Ne from "./
|
|
1
|
+
import ke from "./locales/en-US.js";
|
|
2
|
+
import $e from "./locales/es-MX.js";
|
|
3
|
+
import Re from "./locales/tr-TR.js";
|
|
4
|
+
import { s as Pe, a as Ne } from "./i18nInstance-D_96ADqd.js";
|
|
5
5
|
const Ee = [
|
|
6
6
|
"en",
|
|
7
7
|
"es",
|
|
@@ -14,7 +14,7 @@ const Ee = [
|
|
|
14
14
|
}, Fe = {
|
|
15
15
|
type: "3rdParty",
|
|
16
16
|
init(r) {
|
|
17
|
-
|
|
17
|
+
Pe(r.options.react), Ne(r);
|
|
18
18
|
}
|
|
19
19
|
}, c = (r) => typeof r == "string", H = () => {
|
|
20
20
|
let r, e;
|
|
@@ -1690,9 +1690,9 @@ ft.use(Ce).use(Fe).init({
|
|
|
1690
1690
|
fallbackLng: Ee,
|
|
1691
1691
|
debug: !0,
|
|
1692
1692
|
resources: {
|
|
1693
|
-
en: { translation:
|
|
1694
|
-
es: { translation:
|
|
1695
|
-
tr: { translation:
|
|
1693
|
+
en: { translation: ke },
|
|
1694
|
+
es: { translation: $e },
|
|
1695
|
+
tr: { translation: Re }
|
|
1696
1696
|
},
|
|
1697
1697
|
returnObjects: !0,
|
|
1698
1698
|
returnNull: !1,
|
package/dist/i18n.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { i as a } from "./i18n-BhmFdUcK.js";
|
|
1
|
+
import { i as p } from "./i18n-CCQpJsQK.js";
|
|
3
2
|
import "./locales/en-US.js";
|
|
4
3
|
import "./locales/es-MX.js";
|
|
5
4
|
import "./locales/tr-TR.js";
|
|
6
5
|
export {
|
|
7
|
-
|
|
6
|
+
p as default
|
|
8
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
const n = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, a = {
|
|
2
2
|
"&": "&",
|
|
3
3
|
"&": "&",
|
|
4
4
|
"<": "<",
|
|
@@ -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-
|
|
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";
|
|
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-
|
|
3
|
+
import { D as un, p as _t, U as se, _ as dn, O as cn } from "./component-DsB0poTj-QmhaJp70.js";
|
|
4
4
|
import fn from "react-dom";
|
|
5
5
|
const pn = {
|
|
6
6
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { _ as y, N, R as e, b as A, L as Y, r as ie, h as we, f as $e, p as Te, a as Se, q as Z, n as Ae, o as Be } from "./useTranslation-
|
|
1
|
+
import { _ as y, N, R as e, b as A, L as Y, r as ie, h as we, f as $e, p as Te, a as Se, q as Z, n as Ae, o as Be } from "./useTranslation-DaMPyebp.js";
|
|
2
2
|
import i, { forwardRef as k, useRef as D, useImperativeHandle as F, useEffect as V, useCallback as Le, useState as de, useMemo as ee, createContext as De, useLayoutEffect as ze } from "react";
|
|
3
|
-
import { U as ce } from "./component-DsB0poTj-
|
|
4
|
-
import { a as Fe } from "./index.es-D-CKRzIB-
|
|
3
|
+
import { U as ce } from "./component-DsB0poTj-QmhaJp70.js";
|
|
4
|
+
import { a as Fe } from "./index.es-D-CKRzIB-DgKmS30c.js";
|
|
5
5
|
const Me = {
|
|
6
6
|
/**
|
|
7
7
|
* The css class name to be passed through to the component markup.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { N as g, _ as b, R as e, b as le, p as re, q as O, i as de, V as ce, F as se, $ as ge, k as ue, j as pe, O as L, m as E } from "./useTranslation-
|
|
1
|
+
import { N as g, _ as b, R as e, b as le, p as re, q as O, i as de, V as ce, F as se, $ as ge, k as ue, j as pe, O as L, m as E } from "./useTranslation-DaMPyebp.js";
|
|
2
2
|
import s, { forwardRef as h, useRef as m, useImperativeHandle as x, useEffect as ye, useMemo as he } from "react";
|
|
3
3
|
const me = {
|
|
4
4
|
/**
|