react-luminus-components 1.1.28 → 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.
- package/dist/.vite/manifest.json +41 -41
- package/dist/{DataKey-CuZpR5t0.cjs → DataKey-CCnWsp5R.cjs} +1 -1
- package/dist/{DataKey-C3jtX0q4.js → DataKey-DEvxfpG4.js} +1 -1
- package/dist/{SimpleTooltip-BMSn8Fqk.js → SimpleTooltip-Bgsx47Y0.js} +1 -1
- package/dist/{SimpleTooltip-XmxUVlDH.cjs → SimpleTooltip-D3yt_5sa.cjs} +1 -1
- package/dist/{Typography-CHpY2hUz.cjs → Typography-CwxdFDrh.cjs} +1 -1
- package/dist/{Typography-DUoLZCdX.js → Typography-dPh0BYIU.js} +9 -9
- package/dist/{UserAvatarToggle-DP4YFoNZ.cjs → UserAvatarToggle-D8sQZp-d.cjs} +41 -41
- package/dist/{UserAvatarToggle-I_MgjXhA.js → UserAvatarToggle-DgGJIRzY.js} +68 -67
- package/dist/components/Buttons/ContextButton/ContextButton.d.ts +1 -1
- package/dist/components/Dropdown/comps/SimpleToggle/SimpleToggle.d.ts +1 -1
- package/dist/components/Form/CheckInput/CheckInput.d.ts +2 -10
- package/dist/components/Form/DropdownPicker/DropdownPicker.d.ts +2 -17
- package/dist/components/Form/SelectInput/SelectInput.d.ts +2 -17
- package/dist/components/Form/TextInput/TextInput.d.ts +2 -16
- package/dist/components/HookForm/CheckInput/HookFormCheckInput.d.ts +2 -2
- package/dist/components/HookForm/DropdownPicker/HookFormDropdownPicker.d.ts +2 -10
- package/dist/components/HookForm/FileInput/HookFormFileInput.d.ts +2 -13
- package/dist/components/HookForm/RadioInput/HookFormRadioInput.d.ts +2 -2
- package/dist/components/HookForm/SelectInput/HookFormSelectInput.d.ts +2 -2
- package/dist/components/HookForm/TextAreaInput/HookFormTextAreaInput.d.ts +2 -2
- package/dist/components/HookForm/TextInput/HookFormTextInput.d.ts +2 -2
- package/dist/components/InputContainers/FloatingLabelInput/FloatingLabelInput.d.ts +4 -0
- package/dist/components/InputContainers/RowLabelInput/RowLabelInput.d.ts +4 -0
- package/dist/components/InputContainers/index.d.ts +2 -0
- package/dist/components/common/Card/Card.d.ts +28 -0
- package/dist/components/common/InvalidFeedback/InvalidFeedback.d.ts +1 -2
- package/dist/components/common/PhotoLibrary/PhotoLibrary.d.ts +10 -0
- package/dist/components/common/PhotoLightbox/PhotoLightbox.d.ts +13 -0
- package/dist/components/common/index.d.ts +3 -1
- package/dist/contexts/prompt/PromptContext.d.ts +0 -3
- package/dist/contexts.cjs.js +1 -1
- package/dist/contexts.es.js +251 -266
- package/dist/hooks/usePrompt/usePrompt.d.ts +1 -2
- package/dist/hooks/useZodSchemaTypes/useZodSchemaTypes.d.ts +6 -2
- package/dist/hooks.cjs.js +1 -1
- package/dist/hooks.es.js +652 -652
- package/dist/layout.cjs.js +1 -1
- package/dist/layout.es.js +3 -3
- package/dist/main.cjs.js +1 -1
- package/dist/main.d.ts +5 -2
- package/dist/main.es.js +2109 -1952
- package/dist/models/index.d.ts +26 -8
- package/dist/models/prop-types/FormInputProps/FormCheckInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormFileInputProps.d.ts +11 -0
- package/dist/models/prop-types/FormInputProps/FormRadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormSelectInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormTextAreaInputProps.d.ts +6 -0
- package/dist/models/prop-types/FormInputProps/FormTextInputProps.d.ts +6 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormCheckInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormDropdownPickerProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormFileInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormInputBaseProps.d.ts +7 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormRadioInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormSelectInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextAreaInputProps.d.ts +4 -0
- package/dist/models/prop-types/HookFormInputProps/HookFormTextInputProps.d.ts +4 -0
- package/dist/models/prop-types/InputContainerProps.d.ts +23 -0
- package/dist/models/prop-types/InputProps/CheckInputProps.d.ts +5 -0
- package/dist/models/prop-types/InputProps/DropdownPickerProps.d.ts +14 -0
- package/dist/models/prop-types/InputProps/FileInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/InputBaseProps.d.ts +15 -0
- package/dist/models/prop-types/InputProps/RadioInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/SelectInputProps.d.ts +8 -0
- package/dist/models/prop-types/InputProps/TextAreaInputProps.d.ts +6 -0
- package/dist/models/prop-types/InputProps/TextInputProps.d.ts +6 -0
- package/dist/models/types/PhotoAction.d.ts +9 -0
- package/dist/models/types/PhotoLibraryItemModel.d.ts +7 -0
- package/dist/style.css +1 -1
- package/dist/useConfirm-Bm2_Ub3h.cjs +1 -0
- package/dist/useConfirm-ClKBi_ok.js +27 -0
- package/package.json +1 -1
- package/dist/components/common/InputContainer/InputContainer.d.ts +0 -10
- package/dist/models/prop-types/HookFormCheckInputProps.d.ts +0 -10
- package/dist/models/prop-types/HookFormDropdownPickerProps.d.ts +0 -13
- package/dist/models/prop-types/HookFormRadioInputProps.d.ts +0 -10
- package/dist/models/prop-types/HookFormSelectInputProps.d.ts +0 -16
- package/dist/models/prop-types/HookFormTextAreaInputProps.d.ts +0 -13
- package/dist/models/prop-types/HookFormTextInputProps.d.ts +0 -14
- package/dist/models/types/PromptOptions.d.ts +0 -6
- package/dist/useConfirm-BGatkLkP.js +0 -27
- package/dist/useConfirm-D677YHtT.cjs +0 -1
- /package/dist/models/prop-types/{HookFormInputProps.d.ts → HookFormInputProps/HookFormInputProps.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ee from "react";
|
|
2
|
-
import
|
|
2
|
+
import ye, { createContext as St, useEffect as xe, useCallback as Y, useState as Ve, useRef as he, useContext as Ze, useMemo as Xe, useLayoutEffect as No, cloneElement as mr } from "react";
|
|
3
3
|
import { b as ia, t as aa, e as sa } from "./textUtils-BLtD0zaS.js";
|
|
4
4
|
import mt from "react-dom";
|
|
5
5
|
function fn(e) {
|
|
@@ -20,7 +20,7 @@ function ca() {
|
|
|
20
20
|
if ($n)
|
|
21
21
|
return At;
|
|
22
22
|
$n = 1;
|
|
23
|
-
var e =
|
|
23
|
+
var e = ye, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), n = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
24
24
|
function a(s, c, u) {
|
|
25
25
|
var l, d = {}, v = null, y = null;
|
|
26
26
|
u !== void 0 && (v = "" + u), c.key !== void 0 && (v = "" + c.key), c.ref !== void 0 && (y = c.ref);
|
|
@@ -46,7 +46,7 @@ var jt = {};
|
|
|
46
46
|
var Ln;
|
|
47
47
|
function ua() {
|
|
48
48
|
return Ln || (Ln = 1, process.env.NODE_ENV !== "production" && function() {
|
|
49
|
-
var e =
|
|
49
|
+
var e = ye, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), l = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), h = Symbol.iterator, m = "@@iterator";
|
|
50
50
|
function b(f) {
|
|
51
51
|
if (f === null || typeof f != "object")
|
|
52
52
|
return null;
|
|
@@ -689,7 +689,7 @@ var Lo = {
|
|
|
689
689
|
className: void 0,
|
|
690
690
|
style: void 0,
|
|
691
691
|
attr: void 0
|
|
692
|
-
}, In =
|
|
692
|
+
}, In = ye.createContext && /* @__PURE__ */ ye.createContext(Lo), va = ["attr", "size", "title"];
|
|
693
693
|
function ma(e, t) {
|
|
694
694
|
if (e == null)
|
|
695
695
|
return {};
|
|
@@ -760,12 +760,12 @@ function Ea(e, t) {
|
|
|
760
760
|
return (t === "string" ? String : Number)(e);
|
|
761
761
|
}
|
|
762
762
|
function Io(e) {
|
|
763
|
-
return e && e.map((t, r) => /* @__PURE__ */
|
|
763
|
+
return e && e.map((t, r) => /* @__PURE__ */ ye.createElement(t.tag, fr({
|
|
764
764
|
key: r
|
|
765
765
|
}, t.attr), Io(t.child)));
|
|
766
766
|
}
|
|
767
|
-
function
|
|
768
|
-
return (t) => /* @__PURE__ */
|
|
767
|
+
function me(e) {
|
|
768
|
+
return (t) => /* @__PURE__ */ ye.createElement(wa, lr({
|
|
769
769
|
attr: fr({}, e.attr)
|
|
770
770
|
}, t), Io(e.child));
|
|
771
771
|
}
|
|
@@ -776,7 +776,7 @@ function wa(e) {
|
|
|
776
776
|
size: o,
|
|
777
777
|
title: i
|
|
778
778
|
} = e, a = ma(e, va), s = o || r.size || "1em", c;
|
|
779
|
-
return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), /* @__PURE__ */
|
|
779
|
+
return r.className && (c = r.className), e.className && (c = (c ? c + " " : "") + e.className), /* @__PURE__ */ ye.createElement("svg", lr({
|
|
780
780
|
stroke: "currentColor",
|
|
781
781
|
fill: "currentColor",
|
|
782
782
|
strokeWidth: "0"
|
|
@@ -788,63 +788,66 @@ function wa(e) {
|
|
|
788
788
|
height: s,
|
|
789
789
|
width: s,
|
|
790
790
|
xmlns: "http://www.w3.org/2000/svg"
|
|
791
|
-
}), i && /* @__PURE__ */
|
|
791
|
+
}), i && /* @__PURE__ */ ye.createElement("title", null, i), e.children);
|
|
792
792
|
};
|
|
793
|
-
return In !== void 0 ? /* @__PURE__ */
|
|
793
|
+
return In !== void 0 ? /* @__PURE__ */ ye.createElement(In.Consumer, null, (r) => t(r)) : t(Lo);
|
|
794
794
|
}
|
|
795
795
|
function Jf(e) {
|
|
796
|
-
return
|
|
796
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" }, child: [] }] })(e);
|
|
797
797
|
}
|
|
798
798
|
function Xf(e) {
|
|
799
|
-
return
|
|
799
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" }, child: [] }] })(e);
|
|
800
800
|
}
|
|
801
801
|
function Gf(e) {
|
|
802
|
-
return
|
|
802
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M6 6v2h8.59L5 17.59 6.41 19 16 9.41V18h2V6z" }, child: [] }] })(e);
|
|
803
803
|
}
|
|
804
804
|
function xa(e) {
|
|
805
|
-
return
|
|
805
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 8h-2.81a5.985 5.985 0 0 0-1.82-1.96L17 4.41 15.59 3l-2.17 2.17C12.96 5.06 12.49 5 12 5s-.96.06-1.41.17L8.41 3 7 4.41l1.62 1.63C7.88 6.55 7.26 7.22 6.81 8H4v2h2.09c-.05.33-.09.66-.09 1v1H4v2h2v1c0 .34.04.67.09 1H4v2h2.81c1.04 1.79 2.97 3 5.19 3s4.15-1.21 5.19-3H20v-2h-2.09c.05-.33.09-.66.09-1v-1h2v-2h-2v-1c0-.34-.04-.67-.09-1H20V8zm-4 4v3c0 .22-.03.47-.07.7l-.1.65-.37.65c-.72 1.24-2.04 2-3.46 2s-2.74-.77-3.46-2l-.37-.64-.1-.65A4.27 4.27 0 0 1 8 15v-4c0-.23.03-.48.07-.7l.1-.65.37-.65c.3-.52.72-.97 1.21-1.31l.57-.39.74-.18a3.787 3.787 0 0 1 1.89 0l.68.16.61.42c.5.34.91.78 1.21 1.31l.38.65.1.65c.04.22.07.47.07.69v1zm-6 2h4v2h-4zm0-4h4v2h-4z" }, child: [] }] })(e);
|
|
806
806
|
}
|
|
807
807
|
function Zf(e) {
|
|
808
|
-
return
|
|
808
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M16 9v10H8V9h8m-1.5-6h-5l-1 1H5v2h14V4h-3.5l-1-1zM18 7H6v12c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7z" }, child: [] }] })(e);
|
|
809
809
|
}
|
|
810
810
|
function Qf(e) {
|
|
811
|
-
return
|
|
811
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M4 20h16v2H4zM4 2h16v2H4zM9.41 13.59 8 15l4 4 4-4-1.41-1.41L13 15.17V8.83l1.59 1.58L16 9l-4-4-4 4 1.41 1.41L11 8.83v6.34z" }, child: [] }] })(e);
|
|
812
812
|
}
|
|
813
813
|
function Oa(e) {
|
|
814
|
-
return
|
|
814
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M11.07 12.85c.77-1.39 2.25-2.21 3.11-3.44.91-1.29.4-3.7-2.18-3.7-1.69 0-2.52 1.28-2.87 2.34L6.54 6.96C7.25 4.83 9.18 3 11.99 3c2.35 0 3.96 1.07 4.78 2.41.7 1.15 1.11 3.3.03 4.9-1.2 1.77-2.35 2.31-2.97 3.45-.25.46-.35.76-.35 2.24h-2.89c-.01-.78-.13-2.05.48-3.15zM14 20c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2z" }, child: [] }] })(e);
|
|
815
815
|
}
|
|
816
816
|
function Sa(e) {
|
|
817
|
-
return
|
|
817
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M20 4H4a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h16c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm0 14H4V8h16v10zm-2-1h-6v-2h6v2zM7.5 17l-1.41-1.41L8.67 13l-2.59-2.59L7.5 9l4 4-4 4z" }, child: [] }] })(e);
|
|
818
818
|
}
|
|
819
819
|
function Ta(e) {
|
|
820
|
-
return
|
|
820
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z" }, child: [] }] })(e);
|
|
821
821
|
}
|
|
822
822
|
function ed(e) {
|
|
823
|
-
return
|
|
823
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4V7zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8z" }, child: [] }] })(e);
|
|
824
824
|
}
|
|
825
825
|
function td(e) {
|
|
826
|
-
return
|
|
826
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0z" }, child: [] }, { tag: "path", attr: { d: "M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z" }, child: [] }] })(e);
|
|
827
827
|
}
|
|
828
828
|
function rd(e) {
|
|
829
|
-
return
|
|
829
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M15.41 16.59 10.83 12l4.58-4.59L14 6l-6 6 6 6 1.41-1.41z" }, child: [] }] })(e);
|
|
830
830
|
}
|
|
831
831
|
function nd(e) {
|
|
832
|
-
return
|
|
832
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M8.59 16.59 13.17 12 8.59 7.41 10 6l6 6-6 6-1.41-1.41z" }, child: [] }] })(e);
|
|
833
833
|
}
|
|
834
834
|
function od(e) {
|
|
835
|
-
return
|
|
835
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M20 4h-3.17L15 2H9L7.17 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 14H4V6h4.05l1.83-2h4.24l1.83 2H20v12zM12 7c-2.76 0-5 2.24-5 5s2.24 5 5 5 5-2.24 5-5-2.24-5-5-5zm0 8c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3z" }, child: [] }] })(e);
|
|
836
|
+
}
|
|
837
|
+
function id(e) {
|
|
838
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "m14.06 9.02.92.92L5.92 19H5v-.92l9.06-9.06M17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83a.996.996 0 0 0 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29zm-3.6 3.19L3 17.25V21h3.75L17.81 9.94l-3.75-3.75z" }, child: [] }] })(e);
|
|
836
839
|
}
|
|
837
840
|
function Ra(e) {
|
|
838
|
-
return
|
|
841
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41L9 16.17z" }, child: [] }] })(e);
|
|
839
842
|
}
|
|
840
|
-
function
|
|
841
|
-
return
|
|
843
|
+
function ad(e) {
|
|
844
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" }, child: [] }] })(e);
|
|
842
845
|
}
|
|
843
846
|
function Ca(e) {
|
|
844
|
-
return
|
|
847
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z" }, child: [] }] })(e);
|
|
845
848
|
}
|
|
846
849
|
function _a(e) {
|
|
847
|
-
return
|
|
850
|
+
return me({ tag: "svg", attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { fill: "none", d: "M0 0h24v24H0V0z" }, child: [] }, { tag: "path", attr: { d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" }, child: [] }] })(e);
|
|
848
851
|
}
|
|
849
852
|
const Fo = St({
|
|
850
853
|
cookieDomain: "",
|
|
@@ -1232,14 +1235,14 @@ var vs = ({ id: e, className: t, style: r, onHeightUpdate: n, children: o }) =>
|
|
|
1232
1235
|
> * {
|
|
1233
1236
|
pointer-events: auto;
|
|
1234
1237
|
}
|
|
1235
|
-
`, Xt = 16,
|
|
1238
|
+
`, Xt = 16, sd = ({ reverseOrder: e, position: t = "top-center", toastOptions: r, gutter: n, children: o, containerStyle: i, containerClassName: a }) => {
|
|
1236
1239
|
let { toasts: s, handlers: c } = qa(r);
|
|
1237
1240
|
return ee.createElement("div", { style: { position: "fixed", zIndex: 9999, top: Xt, left: Xt, right: Xt, bottom: Xt, pointerEvents: "none", ...i }, className: a, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, s.map((u) => {
|
|
1238
1241
|
let l = u.position || t, d = c.calculateOffset(u, { reverseOrder: e, gutter: n, defaultPosition: t }), v = ms(l, d);
|
|
1239
1242
|
return ee.createElement(vs, { id: u.id, key: u.id, onHeightUpdate: c.updateHeight, className: u.visible ? ys : "", style: v }, u.type === "custom" ? dr(u.message, u) : o ? o(u) : ee.createElement(hs, { toast: u, position: l }));
|
|
1240
1243
|
}));
|
|
1241
1244
|
}, ht = Ce;
|
|
1242
|
-
const
|
|
1245
|
+
const cd = St({
|
|
1243
1246
|
isShown: !1,
|
|
1244
1247
|
text: "",
|
|
1245
1248
|
hidePrompt: () => {
|
|
@@ -1247,10 +1250,7 @@ const sd = St({
|
|
|
1247
1250
|
showPrompt: () => {
|
|
1248
1251
|
},
|
|
1249
1252
|
resolveRef: { current: () => {
|
|
1250
|
-
} }
|
|
1251
|
-
options: { input: "textarea", type: "text" },
|
|
1252
|
-
setOptions: () => {
|
|
1253
|
-
}
|
|
1253
|
+
} }
|
|
1254
1254
|
});
|
|
1255
1255
|
function Yr() {
|
|
1256
1256
|
return Yr = Object.assign ? Object.assign.bind() : function(e) {
|
|
@@ -1297,7 +1297,7 @@ function Vo(e, t, r) {
|
|
|
1297
1297
|
r && r.apply(void 0, [u].concat(d)), a(u);
|
|
1298
1298
|
}, [r])];
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function ud(e, t) {
|
|
1301
1301
|
return Object.keys(t).reduce(function(r, n) {
|
|
1302
1302
|
var o, i = r, a = i[zn(n)], s = i[n], c = Ho(i, [zn(n), n].map(gs)), u = t[n], l = Vo(s, a, e[u]), d = l[0], v = l[1];
|
|
1303
1303
|
return Yr({}, c, (o = {}, o[n] = d, o[u] = v, o));
|
|
@@ -1322,13 +1322,13 @@ function yt(e, t) {
|
|
|
1322
1322
|
} = Ze(gr);
|
|
1323
1323
|
return e || r[t] || t;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function ld() {
|
|
1326
1326
|
const {
|
|
1327
1327
|
breakpoints: e
|
|
1328
1328
|
} = Ze(gr);
|
|
1329
1329
|
return e;
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1331
|
+
function fd() {
|
|
1332
1332
|
const {
|
|
1333
1333
|
minBreakpoint: e
|
|
1334
1334
|
} = Ze(gr);
|
|
@@ -2054,7 +2054,7 @@ process.env.NODE_ENV !== "production" && B.oneOfType([B.string, B.shape({
|
|
|
2054
2054
|
exitDone: B.string,
|
|
2055
2055
|
exitActive: B.string
|
|
2056
2056
|
})]);
|
|
2057
|
-
const Jo =
|
|
2057
|
+
const Jo = ye.createContext(null);
|
|
2058
2058
|
var Us = function(t) {
|
|
2059
2059
|
return t.scrollTop;
|
|
2060
2060
|
}, Nt = "unmounted", rt = "exited", Ke = "entering", nt = "entered", Xr = "exiting", We = /* @__PURE__ */ function(e) {
|
|
@@ -2180,12 +2180,12 @@ var Us = function(t) {
|
|
|
2180
2180
|
var s = Ho(i, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
2181
2181
|
return (
|
|
2182
2182
|
// allows for nested Transitions
|
|
2183
|
-
/* @__PURE__ */
|
|
2183
|
+
/* @__PURE__ */ ye.createElement(Jo.Provider, {
|
|
2184
2184
|
value: null
|
|
2185
|
-
}, typeof a == "function" ? a(o, s) :
|
|
2185
|
+
}, typeof a == "function" ? a(o, s) : ye.cloneElement(ye.Children.only(a), s))
|
|
2186
2186
|
);
|
|
2187
2187
|
}, t;
|
|
2188
|
-
}(
|
|
2188
|
+
}(ye.Component);
|
|
2189
2189
|
We.contextType = Jo;
|
|
2190
2190
|
We.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
2191
2191
|
/**
|
|
@@ -2466,7 +2466,7 @@ function ct(e, t) {
|
|
|
2466
2466
|
function pr(e) {
|
|
2467
2467
|
return e && "setState" in e ? mt.findDOMNode(e) : e ?? null;
|
|
2468
2468
|
}
|
|
2469
|
-
const Gs = /* @__PURE__ */
|
|
2469
|
+
const Gs = /* @__PURE__ */ ye.forwardRef(({
|
|
2470
2470
|
onEnter: e,
|
|
2471
2471
|
onEntering: t,
|
|
2472
2472
|
onEntered: r,
|
|
@@ -2500,7 +2500,7 @@ const Gs = /* @__PURE__ */ me.forwardRef(({
|
|
|
2500
2500
|
...L,
|
|
2501
2501
|
ref: y
|
|
2502
2502
|
})
|
|
2503
|
-
) : /* @__PURE__ */
|
|
2503
|
+
) : /* @__PURE__ */ ye.cloneElement(s, {
|
|
2504
2504
|
ref: y
|
|
2505
2505
|
})
|
|
2506
2506
|
});
|
|
@@ -4299,7 +4299,7 @@ const Yu = ({
|
|
|
4299
4299
|
children: t
|
|
4300
4300
|
})]
|
|
4301
4301
|
});
|
|
4302
|
-
}, Ku = Yu,
|
|
4302
|
+
}, Ku = Yu, dd = St({
|
|
4303
4303
|
show: !1,
|
|
4304
4304
|
text: "",
|
|
4305
4305
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
@@ -4307,7 +4307,7 @@ const Yu = ({
|
|
|
4307
4307
|
},
|
|
4308
4308
|
hideConfirm: () => {
|
|
4309
4309
|
}
|
|
4310
|
-
}),
|
|
4310
|
+
}), pd = St({
|
|
4311
4311
|
isLoading: !1,
|
|
4312
4312
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4313
4313
|
startLoading: (e) => {
|
|
@@ -4315,7 +4315,7 @@ const Yu = ({
|
|
|
4315
4315
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
4316
4316
|
stopLoading: (e) => {
|
|
4317
4317
|
}
|
|
4318
|
-
}),
|
|
4318
|
+
}), hd = St({
|
|
4319
4319
|
user: null,
|
|
4320
4320
|
loginUser: () => Promise.resolve(!0),
|
|
4321
4321
|
logoutUser: () => {
|
|
@@ -6302,7 +6302,7 @@ const If = "_toast_1s57i_1", kt = {
|
|
|
6302
6302
|
break;
|
|
6303
6303
|
}
|
|
6304
6304
|
}
|
|
6305
|
-
} }),
|
|
6305
|
+
} }), vd = fe.CancelToken, md = (e = !0, t = void 0) => {
|
|
6306
6306
|
const { axiosInstance: r, language: n, axiosTexts: o } = Ze(Fo), { addNotification: i } = Uf(), { getToken: a } = Df();
|
|
6307
6307
|
return xe(() => {
|
|
6308
6308
|
t && (r.defaults.baseURL = t), r.interceptors.request.clear(), r.interceptors.response.clear();
|
|
@@ -6333,7 +6333,7 @@ const If = "_toast_1s57i_1", kt = {
|
|
|
6333
6333
|
]), r;
|
|
6334
6334
|
}, Bf = "_button_1mv5p_1", zf = {
|
|
6335
6335
|
button: Bf
|
|
6336
|
-
},
|
|
6336
|
+
}, yd = ye.forwardRef(({ color: e = "primary", icon: t = /* @__PURE__ */ q.jsx(_a, { size: 18 }), text: r, onClick: n, className: o, children: i, ...a }, s) => /* @__PURE__ */ q.jsxs("button", { type: "button", ref: s, onClick: (c) => {
|
|
6337
6337
|
c.preventDefault(), n(c);
|
|
6338
6338
|
}, "aria-label": "dropdown toggle", className: Re(`btn luminus-context-button text-${e} ${o ?? ""}`, zf.button), ...a, children: [
|
|
6339
6339
|
t,
|
|
@@ -6359,7 +6359,7 @@ const If = "_toast_1s57i_1", kt = {
|
|
|
6359
6359
|
height: r ?? void 0,
|
|
6360
6360
|
width: r ?? void 0
|
|
6361
6361
|
}, children: /* @__PURE__ */ q.jsx("div", { children: `${e.split(" ")[0][0]}${e.split(" ")[1][0]}` }) }) });
|
|
6362
|
-
},
|
|
6362
|
+
}, gd = ye.forwardRef(({ userName: e, onClick: t, children: r }, n) => /* @__PURE__ */ q.jsxs("button", { type: "button", ref: n, onClick: (o) => {
|
|
6363
6363
|
o.preventDefault(), t(o);
|
|
6364
6364
|
}, "aria-label": "User avatar toggle", className: "m-0 p-0", style: {
|
|
6365
6365
|
backgroundColor: "transparent",
|
|
@@ -6372,35 +6372,35 @@ const If = "_toast_1s57i_1", kt = {
|
|
|
6372
6372
|
export {
|
|
6373
6373
|
ui as $,
|
|
6374
6374
|
Ys as A,
|
|
6375
|
-
|
|
6376
|
-
|
|
6375
|
+
pd as B,
|
|
6376
|
+
dd as C,
|
|
6377
6377
|
fa as D,
|
|
6378
6378
|
da as E,
|
|
6379
6379
|
ro as F,
|
|
6380
6380
|
rd as G,
|
|
6381
6381
|
fn as H,
|
|
6382
|
-
|
|
6382
|
+
sd as I,
|
|
6383
6383
|
Zs as J,
|
|
6384
6384
|
Ks as K,
|
|
6385
6385
|
Fo as L,
|
|
6386
6386
|
nd as M,
|
|
6387
6387
|
rt as N,
|
|
6388
6388
|
Ku as O,
|
|
6389
|
-
|
|
6389
|
+
cd as P,
|
|
6390
6390
|
Xr as Q,
|
|
6391
6391
|
Ke as R,
|
|
6392
6392
|
nt as S,
|
|
6393
6393
|
gi as T,
|
|
6394
|
-
|
|
6394
|
+
hd as U,
|
|
6395
6395
|
Js as V,
|
|
6396
|
-
|
|
6397
|
-
|
|
6396
|
+
ld as W,
|
|
6397
|
+
fd as X,
|
|
6398
6398
|
hu as Y,
|
|
6399
6399
|
Ou as Z,
|
|
6400
6400
|
Eu as _,
|
|
6401
6401
|
Uf as a,
|
|
6402
6402
|
Qr as a0,
|
|
6403
|
-
|
|
6403
|
+
ud as a1,
|
|
6404
6404
|
Tu as a2,
|
|
6405
6405
|
Xf as a3,
|
|
6406
6406
|
Ca as a4,
|
|
@@ -6410,17 +6410,18 @@ export {
|
|
|
6410
6410
|
Zf as a8,
|
|
6411
6411
|
Qf as a9,
|
|
6412
6412
|
Ra as aa,
|
|
6413
|
-
|
|
6414
|
-
|
|
6415
|
-
|
|
6416
|
-
|
|
6417
|
-
|
|
6413
|
+
id as ab,
|
|
6414
|
+
ad as ac,
|
|
6415
|
+
me as ad,
|
|
6416
|
+
yd as ae,
|
|
6417
|
+
od as af,
|
|
6418
6418
|
Jf as ag,
|
|
6419
|
-
|
|
6420
|
-
|
|
6421
|
-
|
|
6419
|
+
zu as ah,
|
|
6420
|
+
Wf as ai,
|
|
6421
|
+
gd as aj,
|
|
6422
|
+
md as b,
|
|
6422
6423
|
Re as c,
|
|
6423
|
-
|
|
6424
|
+
vd as d,
|
|
6424
6425
|
B as e,
|
|
6425
6426
|
pn as f,
|
|
6426
6427
|
Su as g,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
declare const SimpleDropdownToggle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & {
|
|
3
3
|
onClick: (e: React.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
4
|
-
color?: "
|
|
4
|
+
color?: "primary" | "success" | "danger" | "warning" | undefined;
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
6
|
text?: string | undefined;
|
|
7
7
|
className?: string | undefined;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
onChange?: (value: boolean) => void;
|
|
5
|
-
label?: string;
|
|
6
|
-
hidden?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
className?: string;
|
|
9
|
-
type?: 'switch' | 'checkbox';
|
|
10
|
-
};
|
|
11
|
-
declare const CheckInput: ({ label, value, onChange, hidden, disabled, className, type }: Props) => import("react").JSX.Element;
|
|
2
|
+
import { FormCheckInputProps } from '@models/index';
|
|
3
|
+
declare const CheckInput: ({ InputContainer, label, value, onChange, hidden, disabled, className, type, }: FormCheckInputProps) => import("react").JSX.Element;
|
|
12
4
|
export default CheckInput;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
items: FormSelectOption[];
|
|
5
|
-
defaultSelection: FormSelectOption | null;
|
|
6
|
-
onClickSelectedItem: (item: FormSelectOption) => void;
|
|
7
|
-
onSearchQueryChange: (query: string) => void;
|
|
8
|
-
texts: DropdownPickerTexts;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
isNumber?: boolean;
|
|
11
|
-
onSelect?: (item: FormSelectOption | null) => void;
|
|
12
|
-
label?: string;
|
|
13
|
-
withoutLabel?: boolean;
|
|
14
|
-
size?: 'sm' | 'lg';
|
|
15
|
-
hidden?: boolean;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
};
|
|
18
|
-
declare const DropdownPicker: ({ items, defaultSelection, onClickSelectedItem, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, hidden, disabled, }: Props) => import("react").JSX.Element;
|
|
2
|
+
import { DropdownPickerProps } from '@models/index';
|
|
3
|
+
declare const DropdownPicker: ({ InputContainer, items, defaultSelection, onClickSelectedItem, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, hidden, disabled, }: DropdownPickerProps) => import("react").JSX.Element;
|
|
19
4
|
export default DropdownPicker;
|
|
@@ -1,19 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
value: string | number | null;
|
|
5
|
-
options?: FormSelectOption[];
|
|
6
|
-
onChange?: (value: string | number | null) => void;
|
|
7
|
-
label?: string;
|
|
8
|
-
withoutLabel?: boolean;
|
|
9
|
-
isNumber?: boolean;
|
|
10
|
-
size?: 'sm' | 'lg';
|
|
11
|
-
hidden?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
showClearIcon?: boolean;
|
|
14
|
-
clearValue?: string | number;
|
|
15
|
-
noSortOptions?: boolean;
|
|
16
|
-
className?: string;
|
|
17
|
-
};
|
|
18
|
-
declare const SelectInput: ({ value, options, onChange, label, withoutLabel, isNumber, size, hidden, disabled, showClearIcon, clearValue, noSortOptions, className, }: Props) => import("react").JSX.Element;
|
|
2
|
+
import { FormSelectInputProps } from '@models/index';
|
|
3
|
+
declare const SelectInput: ({ InputContainer, value, options, onChange, label, withoutLabel, isNumber, size, hidden, disabled, showClearIcon, clearValue, noSortOptions, className, }: FormSelectInputProps) => import("react").JSX.Element;
|
|
19
4
|
export default SelectInput;
|
|
@@ -1,18 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
value: string | number | null;
|
|
5
|
-
onChange?: (value: string | number | null) => void;
|
|
6
|
-
debounceMs?: number;
|
|
7
|
-
label?: string;
|
|
8
|
-
withoutLabel?: boolean;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
size?: 'sm' | 'lg';
|
|
11
|
-
hidden?: boolean;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
showClearIcon?: boolean;
|
|
14
|
-
clearValue?: string | number;
|
|
15
|
-
className?: string;
|
|
16
|
-
};
|
|
17
|
-
declare const TextInput: ({ type, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, className, }: Props) => import("react").JSX.Element;
|
|
2
|
+
import { FormTextInputProps } from '@models/index';
|
|
3
|
+
declare const TextInput: ({ InputContainer, type, value, onChange, debounceMs, label, withoutLabel, placeholder, size, hidden, disabled, showClearIcon, clearValue, className, }: FormTextInputProps) => import("react").JSX.Element;
|
|
18
4
|
export default TextInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormCheckInputProps from '@models/prop-types/HookFormCheckInputProps';
|
|
3
|
-
declare const HookFormCheckInput: ({ formField, label, resetsFields, type, required, hidden, disabled, }: HookFormCheckInputProps) => import("react").JSX.Element;
|
|
2
|
+
import HookFormCheckInputProps from '@models/prop-types/HookFormInputProps/HookFormCheckInputProps';
|
|
3
|
+
declare const HookFormCheckInput: ({ InputContainer, formField, label, resetsFields, type, required, hidden, disabled, }: HookFormCheckInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormCheckInput;
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormDropdownPickerProps from '@models/prop-types/HookFormDropdownPickerProps';
|
|
3
|
-
|
|
4
|
-
type Props = HookFormDropdownPickerProps & {
|
|
5
|
-
items: FormSelectOption[];
|
|
6
|
-
onSearchQueryChange: (query: string) => void;
|
|
7
|
-
onClickSelectedItem: (item: FormSelectOption) => void;
|
|
8
|
-
texts: DropdownPickerTexts;
|
|
9
|
-
isLoading?: boolean;
|
|
10
|
-
};
|
|
11
|
-
declare const HookFormDropdownPicker: ({ formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, onClickSelectedItem, texts, isLoading, }: Props) => import("react").JSX.Element;
|
|
2
|
+
import HookFormDropdownPickerProps from '@models/prop-types/HookFormInputProps/HookFormDropdownPickerProps';
|
|
3
|
+
declare const HookFormDropdownPicker: ({ InputContainer, formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, onClickSelectedItem, texts, isLoading, }: HookFormDropdownPickerProps) => import("react").JSX.Element;
|
|
12
4
|
export default HookFormDropdownPicker;
|
|
@@ -1,15 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
formField: string;
|
|
5
|
-
hidden?: boolean;
|
|
6
|
-
required?: boolean;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
disabled?: boolean;
|
|
9
|
-
showClearIcon?: boolean;
|
|
10
|
-
resetsFields?: string[];
|
|
11
|
-
multiple?: boolean;
|
|
12
|
-
accept: string[];
|
|
13
|
-
};
|
|
14
|
-
declare const HookFormFileInput: ({ label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, }: HookFormFileInputProps) => import("react").JSX.Element;
|
|
2
|
+
import { HookFormFileInputProps } from '@models/index';
|
|
3
|
+
declare const HookFormFileInput: ({ InputContainer, label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, }: HookFormFileInputProps) => import("react").JSX.Element;
|
|
15
4
|
export default HookFormFileInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormRadioInputProps from '@models/prop-types/HookFormRadioInputProps';
|
|
3
|
-
declare const HookFormRadioInput: ({ formField, options, resetsFields, required, disabled, hidden, }: HookFormRadioInputProps) => import("react").JSX.Element;
|
|
2
|
+
import HookFormRadioInputProps from '@models/prop-types/HookFormInputProps/HookFormRadioInputProps';
|
|
3
|
+
declare const HookFormRadioInput: ({ InputContainer, label, formField, options, resetsFields, required, disabled, hidden, }: HookFormRadioInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormRadioInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormSelectInputProps from '@models/prop-types/HookFormSelectInputProps';
|
|
3
|
-
declare const HookFormSelectInput: ({ formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, }: HookFormSelectInputProps) => import("react").JSX.Element;
|
|
2
|
+
import HookFormSelectInputProps from '@models/prop-types/HookFormInputProps/HookFormSelectInputProps';
|
|
3
|
+
declare const HookFormSelectInput: ({ InputContainer, formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, }: HookFormSelectInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormSelectInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormTextAreaInputProps from '@models/prop-types/HookFormTextAreaInputProps';
|
|
3
|
-
declare const HookFormTextAreaInput: ({ formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, height, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
|
|
2
|
+
import HookFormTextAreaInputProps from '@models/prop-types/HookFormInputProps/HookFormTextAreaInputProps';
|
|
3
|
+
declare const HookFormTextAreaInput: ({ InputContainer, formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, height, rows, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormTextAreaInput;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import HookFormTextInputProps from '@models/prop-types/HookFormTextInputProps';
|
|
3
|
-
declare const HookFormTextInput: ({ type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, }: HookFormTextInputProps) => import("react").JSX.Element;
|
|
2
|
+
import HookFormTextInputProps from '@models/prop-types/HookFormInputProps/HookFormTextInputProps';
|
|
3
|
+
declare const HookFormTextInput: ({ InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, }: HookFormTextInputProps) => import("react").JSX.Element;
|
|
4
4
|
export default HookFormTextInput;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import InputContainerProps from '@models/prop-types/InputContainerProps';
|
|
3
|
+
declare const FloatingLabelInput: ({ hidden, children, isForCheckInput, className, inputContainerClassName, ...props }: InputContainerProps) => import("react").JSX.Element;
|
|
4
|
+
export default FloatingLabelInput;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import InputContainerProps from '@models/prop-types/InputContainerProps';
|
|
3
|
+
declare const RowLabelInput: ({ hidden, children, className, isInvalid, isForRadioInput, inputContainerClassName, ...props }: InputContainerProps) => import("react").JSX.Element;
|
|
4
|
+
export default RowLabelInput;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
type BaseProps = {
|
|
3
|
+
title: string;
|
|
4
|
+
headerContent?: React.ReactNode;
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
className?: string;
|
|
7
|
+
headerClassName?: string;
|
|
8
|
+
contentClassName?: string;
|
|
9
|
+
};
|
|
10
|
+
type UncontrolledCollapseProps = {
|
|
11
|
+
defaultOpen?: boolean;
|
|
12
|
+
};
|
|
13
|
+
type ControlledCollapseProps = {
|
|
14
|
+
isOpen: boolean;
|
|
15
|
+
onToggle: (open: boolean) => void;
|
|
16
|
+
};
|
|
17
|
+
type CollapsibleProps = {
|
|
18
|
+
collapsible: true;
|
|
19
|
+
} & ((UncontrolledCollapseProps & {
|
|
20
|
+
controlled?: false;
|
|
21
|
+
}) | (ControlledCollapseProps & {
|
|
22
|
+
controlled: true;
|
|
23
|
+
}));
|
|
24
|
+
type Props = BaseProps & (CollapsibleProps | {
|
|
25
|
+
collapsible?: false;
|
|
26
|
+
});
|
|
27
|
+
declare const Card: ({ title, headerContent, children, className, headerClassName, contentClassName, ...props }: Props) => import("react").JSX.Element;
|
|
28
|
+
export default Card;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
type Props = {
|
|
3
3
|
message: string;
|
|
4
|
-
forFloating?: boolean;
|
|
5
4
|
};
|
|
6
|
-
declare const InvalidFeedback: ({ message
|
|
5
|
+
declare const InvalidFeedback: ({ message }: Props) => import("react").JSX.Element;
|
|
7
6
|
export default InvalidFeedback;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { PhotoAction, PhotoLibraryItemModel } from '@models/index';
|
|
3
|
+
type Props = {
|
|
4
|
+
photos: PhotoLibraryItemModel[];
|
|
5
|
+
uploadPhotosText?: string;
|
|
6
|
+
onUploadPhotos?: (files: File[]) => void;
|
|
7
|
+
photoActions?: PhotoAction[];
|
|
8
|
+
};
|
|
9
|
+
declare const PhotoLibrary: ({ photos, onUploadPhotos, uploadPhotosText, photoActions }: Props) => import("react").JSX.Element | null;
|
|
10
|
+
export default PhotoLibrary;
|