@hortiview/shared-components 0.0.11528 → 0.0.11587
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/README.md +17 -0
- package/dist/{BigLoadingSpinner-D7H28pr5.js → BigLoadingSpinner-iegTbDcD.js} +6 -6
- package/dist/GenericCard-6J558OgP.js +350 -0
- package/dist/{ListAreaService-YS_UUPh5.js → ListAreaService-DOwtdRa4.js} +18 -16
- package/dist/_MapCache-B75yWNNd.js +376 -0
- package/dist/_baseIsEqual-D0Dsajdb.js +317 -0
- package/dist/_getTag-BCf9b56Z.js +81 -0
- package/dist/animationframe-EMBh6XeO.js +54 -0
- package/dist/component-DsB0poTj.js +571 -0
- package/dist/component-neHBNHRu.js +114 -0
- package/dist/components/AlertBanner/AlertBanner.js +16 -15
- package/dist/components/BaseView/BaseView.js +5 -5
- package/dist/components/BasicHeading/BasicHeading.js +25 -24
- package/dist/components/BasicHeading/BasicHeading.test.js +9 -9
- package/dist/components/BlockView/BlockView.js +5 -5
- package/dist/components/ChipCard/ChipCard.js +1765 -14
- package/dist/components/ContextMenu/ContextMenu.d.ts +1 -1
- package/dist/components/ContextMenu/ContextMenu.js +28 -27
- package/dist/components/DeleteModal/DeleteModal.js +37 -34
- package/dist/components/Disclaimer/Disclaimer.js +11 -9
- package/dist/components/EmptyView/EmptyView.js +258 -19
- package/dist/components/Filter/Filter.js +58 -54
- package/dist/components/FormComponents/FormCheckBox/FormCheckBox.js +13 -11
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.d.ts +1 -1
- package/dist/components/FormComponents/FormDatePicker/FormDatePicker.js +5974 -6387
- package/dist/components/FormComponents/FormNumber/CustomTextField.d.ts +1 -1
- package/dist/components/FormComponents/FormNumber/CustomTextField.js +5 -5
- package/dist/components/FormComponents/FormNumber/FormNumber.d.ts +1 -1
- package/dist/components/FormComponents/FormNumber/FormNumber.js +1 -1
- package/dist/components/FormComponents/FormRadio/FormRadio.js +4 -4
- package/dist/components/FormComponents/FormSelect/FormSelect.d.ts +1 -1
- package/dist/components/FormComponents/FormSelect/FormSelect.js +3 -3
- package/dist/components/FormComponents/FormSelect/SelectTooltipText.js +6 -5
- package/dist/components/FormComponents/FormSlider/FormSlider.js +1155 -27
- package/dist/components/FormComponents/FormText/FormText.d.ts +1 -1
- package/dist/components/FormComponents/FormText/FormText.js +33 -32
- package/dist/components/FormComponents/FormToggle/FormToggle.d.ts +1 -1
- package/dist/components/FormComponents/FormToggle/FormToggle.js +17 -15
- package/dist/components/GenericTable/GenericTable.js +10486 -74
- package/dist/components/GenericTable/Mobile/GenericCard.js +4 -3
- package/dist/components/GenericTable/Mobile/GenericCard.test.js +1 -1
- package/dist/components/GenericTable/Mobile/GenericCardList.js +10 -8
- package/dist/components/HashTabView/HashTabView.js +1805 -72
- package/dist/components/HeaderFilter/HeaderFilter.d.ts +1 -1
- package/dist/components/HeaderFilter/HeaderFilter.js +4 -4
- package/dist/components/HealthCheckFailed/HealthCheckFailed.js +20 -17
- package/dist/components/Iconify/Iconify.d.ts +1 -2
- package/dist/components/Iconify/Iconify.js +42 -42
- package/dist/components/InfoGroup/InfoGroup.js +30 -28
- package/dist/components/ListArea/ListArea.js +29 -27
- package/dist/components/ListArea/ListArea.test.js +2 -2
- package/dist/components/ListArea/ListAreaService.js +7 -5
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.js +2 -2
- package/dist/components/LoadingSpinner/Big/BigLoadingSpinner.test.js +1 -1
- package/dist/components/LoadingSpinner/Default/LoadingSpinner.js +506 -37
- package/dist/components/Modal/Modal.d.ts +1 -1
- package/dist/components/Modal/Modal.js +926 -9
- package/dist/components/ModulePadding/ModulePadding.d.ts +7 -0
- package/dist/components/ModulePadding/ModulePadding.js +28 -0
- package/dist/components/ModulePadding/ModulePadding.test.d.ts +1 -0
- package/dist/components/ModulePadding/ModulePadding.test.js +22 -0
- package/dist/components/OverflowTooltip/OverflowTooltip.js +6 -6
- package/dist/components/OverflowTooltip/OverflowTooltip.test.js +1 -1
- package/dist/components/SearchBar/SearchBar.js +7 -6
- package/dist/components/Select/Select.d.ts +1 -1
- package/dist/components/Select/Select.js +13 -13
- package/dist/floating-ui.dom-CeD8zknG.js +978 -0
- package/dist/get-7ACccM2X.js +114 -0
- package/dist/{get-BiqanC9_.js → get-DFv1gXfq.js} +1 -1
- package/dist/hooks/useHelperText.js +1 -1
- package/dist/identity-DLWZln-X.js +1763 -0
- package/dist/index.es-0lQcz8m1.js +444 -0
- package/dist/index.es-25EARqhH.js +2027 -0
- package/dist/index.es-3043KTnb.js +1066 -0
- package/dist/index.es-41ztjcFT.js +724 -0
- package/dist/index.es-6TJ1S8Jr.js +954 -0
- package/dist/index.es-8GOVkuo-.js +374 -0
- package/dist/index.es-B-_jXDuz.js +216 -0
- package/dist/index.es-BWgXLqXn.js +102 -0
- package/dist/index.es-BtjV0oNv.js +360 -0
- package/dist/index.es-BvrQnJ3j.js +509 -0
- package/dist/index.es-CF_xy2ns.js +674 -0
- package/dist/index.es-CL_Heu1n.js +54 -0
- package/dist/index.es-CiqbARoC.js +306 -0
- package/dist/index.es-D-CKRzIB.js +63 -0
- package/dist/index.es-D6N-XWHe.js +56 -0
- package/dist/index.es-DKDgy7Kt.js +45 -0
- package/dist/index.es-DntoATwO.js +159 -0
- package/dist/index.es-UHKFl8Da.js +7075 -0
- package/dist/index.es-d5xhUpJZ.js +3242 -0
- package/dist/index.es-da0cf7oE.js +569 -0
- package/dist/index.es-h2lMdt7G.js +107 -0
- package/dist/index.es-zr101OF5.js +4853 -0
- package/dist/{isArray-2zMxXFEr.js → isArray-DN9s620O.js} +3 -3
- package/dist/{isArray-C_5XvIlE.js → isArray-Dub1wGJM.js} +1 -1
- package/dist/isEmpty-B4GG2s-V.js +31 -0
- package/dist/isPlainObject-C273y67K.js +40 -0
- package/dist/isString-BW9UHONv.js +21 -0
- package/dist/keyboard-Bpt0aBqQ.js +107 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.js +57 -55
- package/dist/orderBy-Bd48bw88.js +316 -0
- package/dist/react-tooltip.min-DSY6KDqS.js +431 -0
- package/dist/services/UtilService.js +2 -2
- package/dist/toString-CrgB_7Pe.js +54 -0
- package/dist/tslib.es6-BDCynO9F.js +162 -0
- package/dist/types/GenericTable.d.ts +1 -1
- package/dist/uniqueId-NU3-C36A.js +18 -0
- package/dist/util-DA21pZXj.js +78 -0
- package/package.json +1 -1
- package/dist/GenericCard-jlt8ZsHi.js +0 -80
- package/dist/_Map-Dtlps7IZ.js +0 -113
- package/dist/_overArg-_0pUmCsX.js +0 -14
- package/dist/get-P-5PYZOE.js +0 -426
- package/dist/isEmpty-BimaZd5G.js +0 -225
- package/dist/isString-BOHPtrlm.js +0 -44
- package/dist/orderBy-BVQIswlJ.js +0 -765
- package/dist/react-tooltip.min-Czs4RGD1.js +0 -1400
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextfieldProps } from '@element-public/react-
|
|
1
|
+
import { TextfieldProps } from '@element-public/react-textfield';
|
|
2
2
|
import { ControllerRenderProps, FieldValues, Path } from 'react-hook-form';
|
|
3
3
|
import { InputAttributes, NumericFormatProps } from 'react-number-format';
|
|
4
4
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as m } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { useMemo as
|
|
5
|
-
import { useFormContext as
|
|
2
|
+
import { T as d } from "../../../index.es-25EARqhH.js";
|
|
3
|
+
import { g as u } from "../../../get-DFv1gXfq.js";
|
|
4
|
+
import { useMemo as g } from "react";
|
|
5
|
+
import { useFormContext as v } from "react-hook-form";
|
|
6
6
|
import '../../../assets/CustomTextField.css';const f = "_invalid_1dsbr_1", c = {
|
|
7
7
|
invalid: f
|
|
8
8
|
}, T = ({ ...e }) => {
|
|
@@ -11,7 +11,7 @@ import '../../../assets/CustomTextField.css';const f = "_invalid_1dsbr_1", c = {
|
|
|
11
11
|
formState: { errors: n },
|
|
12
12
|
trigger: i,
|
|
13
13
|
watch: l
|
|
14
|
-
} =
|
|
14
|
+
} = v(), a = l(e.propertyName), o = g(() => {
|
|
15
15
|
if (!(!a || e.value === null))
|
|
16
16
|
return e.value;
|
|
17
17
|
}, [a, e.value]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TextfieldProps } from '@element-public/react-
|
|
1
|
+
import { TextfieldProps } from '@element-public/react-textfield';
|
|
2
2
|
import { FieldValues, Path } from 'react-hook-form';
|
|
3
3
|
import { NumericFormatProps } from 'react-number-format';
|
|
4
4
|
import { LANGUAGE_COUNTRY_CODES } from '../../../types/Languages';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jsx as u } from "react/jsx-runtime";
|
|
2
|
-
import { g as p } from "../../../get-
|
|
2
|
+
import { g as p } from "../../../get-DFv1gXfq.js";
|
|
3
3
|
import { useMemo as h } from "react";
|
|
4
4
|
import { useFormContext as S, Controller as T } from "react-hook-form";
|
|
5
5
|
import { N as g } from "../../../react-number-format.es-BK1EpVXq.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as r, Fragment as m } from "react/jsx-runtime";
|
|
2
|
-
import {
|
|
3
|
-
import { useFormContext as
|
|
2
|
+
import { R as d } from "../../../index.es-BtjV0oNv.js";
|
|
3
|
+
import { useFormContext as s, Controller as c } from "react-hook-form";
|
|
4
4
|
const g = ({ propertyName: l, options: t }) => {
|
|
5
|
-
const { control: n, setValue: o } =
|
|
5
|
+
const { control: n, setValue: o } = s(), u = (a) => {
|
|
6
6
|
const e = a.target.value;
|
|
7
7
|
o(l, e);
|
|
8
8
|
};
|
|
9
9
|
return /* @__PURE__ */ r(
|
|
10
|
-
|
|
10
|
+
c,
|
|
11
11
|
{
|
|
12
12
|
name: l,
|
|
13
13
|
control: n,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { jsx as o, Fragment as g, jsxs as V } from "react/jsx-runtime";
|
|
2
|
-
import { g as _ } from "../../../get-
|
|
3
|
-
import { i as z } from "../../../isArray-
|
|
2
|
+
import { g as _ } from "../../../get-DFv1gXfq.js";
|
|
3
|
+
import { i as z } from "../../../isArray-Dub1wGJM.js";
|
|
4
4
|
import { useMemo as k } from "react";
|
|
5
5
|
import { useFormContext as G, Controller as C } from "react-hook-form";
|
|
6
|
-
import { M as J } from "../../../react-tooltip.min-
|
|
6
|
+
import { M as J } from "../../../react-tooltip.min-DSY6KDqS.js";
|
|
7
7
|
import { useHelperText as L } from "../../../hooks/useHelperText.js";
|
|
8
8
|
import { Select as Q } from "../../Select/Select.js";
|
|
9
9
|
import { SelectTooltipText as R } from "./SelectTooltipText.js";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { G as n } from "../../../index.es-DntoATwO.js";
|
|
3
|
+
import { b as p } from "../../../index.es-CF_xy2ns.js";
|
|
4
|
+
const s = ({ value: r, textKey: o, valueKey: e }) => {
|
|
4
5
|
if (!(!r || r.length === 0))
|
|
5
|
-
return Array.isArray(r) ? /* @__PURE__ */
|
|
6
|
+
return Array.isArray(r) ? /* @__PURE__ */ t(n, { direction: "vertical", gap: "dense", children: r?.map((i) => /* @__PURE__ */ t(p, { level: 2, children: i[o] }, i[e])) }) : r?.[o];
|
|
6
7
|
};
|
|
7
8
|
export {
|
|
8
|
-
|
|
9
|
+
s as SelectTooltipText
|
|
9
10
|
};
|