@aveonline/ui-react 2.30.17 → 2.30.19
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/ui/atoms/Icon/IIcon.d.ts +1 -1
- package/dist/ui-react.mjs +145 -137
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { FocusEvent, MouseEvent } from 'react';
|
|
2
2
|
export declare type ISize = 'sm' | 'md' | 'lg';
|
|
3
3
|
export declare type IColor = 'success' | 'warning' | 'disabled' | 'active' | 'hovered' | 'subdued' | 'default' | 'critical' | 'primary' | 'on' | 'pressed' | 'brand';
|
|
4
|
-
export declare type IKind = 'shipping' | 'home' | 'menu' | 'notifications' | 'novelty' | 'help' | 'see-more' | 'info' | 'alert' | 'eye' | 'date' | 'search' | 'delete' | 'more-less' | 'down' | 'up' | 'back' | 'front' | 'major-minor' | 'minor-major' | 'create' | 'success' | 'error' | 'less' | 'joke' | 'shipments' | 'padlock' | 'new' | 'average-unit' | 'average-guide' | 'percentage' | 'download' | 'upload' | 'file' | 'thin-back' | 'thin-front' | 'page-back' | 'page-front' | 'print' | 'more' | 'shipping-ratio' | 'reports' | 'courier' | 'pickup' | 'grin-wink' | 'circle-dollar-to-slot' | 'money' | 'trash' | 'start' | 'edit' | 'copy' | 'menu-line' | 'menu-square' | 'net' | 'arrow-rotate' | 'location' | 'search-alert' | 'visa' | 'mastercard' | 'build' | 'position' | 'transport' | 'presentation' | 'sendbox' | 'whatsapp-fill-green' | 'whatsapp' | 'qualification' | 'trophy' | 'first-position' | 'up-outline' | 'down-outline' | 'users-fill' | 'web-navigation' | 'download-file' | 'upload-arrow' | 'file-check' | 'file-pdf' | 'email' | 'message-bubble' | 'file-error' | 'file-deny' | 'file-money' | 'file-success' | undefined;
|
|
4
|
+
export declare type IKind = 'shipping' | 'home' | 'menu' | 'notifications' | 'novelty' | 'help' | 'see-more' | 'info' | 'alert' | 'eye' | 'date' | 'search' | 'delete' | 'more-less' | 'down' | 'up' | 'back' | 'front' | 'major-minor' | 'minor-major' | 'create' | 'success' | 'error' | 'less' | 'joke' | 'shipments' | 'padlock' | 'new' | 'average-unit' | 'average-guide' | 'percentage' | 'download' | 'upload' | 'file' | 'thin-back' | 'thin-front' | 'page-back' | 'page-front' | 'print' | 'more' | 'shipping-ratio' | 'reports' | 'courier' | 'pickup' | 'grin-wink' | 'circle-dollar-to-slot' | 'money' | 'trash' | 'start' | 'edit' | 'copy' | 'menu-line' | 'menu-square' | 'net' | 'arrow-rotate' | 'location' | 'search-alert' | 'visa' | 'mastercard' | 'build' | 'position' | 'transport' | 'presentation' | 'sendbox' | 'whatsapp-fill-green' | 'whatsapp' | 'qualification' | 'trophy' | 'first-position' | 'up-outline' | 'down-outline' | 'users-fill' | 'web-navigation' | 'download-file' | 'upload-arrow' | 'file-check' | 'file-pdf' | 'email' | 'message-bubble' | 'file-error' | 'file-deny' | 'file-money' | 'file-success' | 'graphic' | undefined;
|
|
5
5
|
interface IconProps {
|
|
6
6
|
/**
|
|
7
7
|
* Sizes availables
|
package/dist/ui-react.mjs
CHANGED
|
@@ -476,7 +476,7 @@ function fB() {
|
|
|
476
476
|
value: ot
|
|
477
477
|
}), Object.freeze && (Object.freeze(Qe.props), Object.freeze(Qe)), Qe;
|
|
478
478
|
};
|
|
479
|
-
function
|
|
479
|
+
function Ce(X, le, he, be, ot) {
|
|
480
480
|
{
|
|
481
481
|
var ft, Ne = {}, Qe = null, ht = null;
|
|
482
482
|
he !== void 0 && (De(he), Qe = "" + he), on(le) && (De(le.key), Qe = "" + le.key), an(le) && (ht = le.ref, Se(le, ot));
|
|
@@ -623,7 +623,7 @@ Check the top-level render call using <` + he + ">.");
|
|
|
623
623
|
var pt;
|
|
624
624
|
X === null ? pt = "null" : ge(X) ? pt = "array" : X !== void 0 && X.$$typeof === t ? (pt = "<" + (L(X.type) || "Unknown") + " />", Qe = " Did you accidentally export a JSX literal instead of a component?") : pt = typeof X, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", pt, Qe);
|
|
625
625
|
}
|
|
626
|
-
var Mt =
|
|
626
|
+
var Mt = Ce(X, le, he, ot, ft);
|
|
627
627
|
if (Mt == null)
|
|
628
628
|
return Mt;
|
|
629
629
|
if (Ne) {
|
|
@@ -2672,7 +2672,7 @@ function D6e({
|
|
|
2672
2672
|
}
|
|
2673
2673
|
);
|
|
2674
2674
|
}
|
|
2675
|
-
function
|
|
2675
|
+
function Ae({
|
|
2676
2676
|
children: e,
|
|
2677
2677
|
size: t = "sm",
|
|
2678
2678
|
className: n,
|
|
@@ -2722,7 +2722,7 @@ function ct({
|
|
|
2722
2722
|
);
|
|
2723
2723
|
switch (e) {
|
|
2724
2724
|
case "pickup":
|
|
2725
|
-
return /* @__PURE__ */ m.jsx(
|
|
2725
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2726
2726
|
"path",
|
|
2727
2727
|
{
|
|
2728
2728
|
className: a,
|
|
@@ -2731,7 +2731,7 @@ function ct({
|
|
|
2731
2731
|
}
|
|
2732
2732
|
) });
|
|
2733
2733
|
case "courier":
|
|
2734
|
-
return /* @__PURE__ */ m.jsxs(
|
|
2734
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, children: [
|
|
2735
2735
|
/* @__PURE__ */ m.jsx(
|
|
2736
2736
|
"path",
|
|
2737
2737
|
{
|
|
@@ -2749,7 +2749,7 @@ function ct({
|
|
|
2749
2749
|
)
|
|
2750
2750
|
] });
|
|
2751
2751
|
case "reports":
|
|
2752
|
-
return /* @__PURE__ */ m.jsx(
|
|
2752
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2753
2753
|
"path",
|
|
2754
2754
|
{
|
|
2755
2755
|
className: a,
|
|
@@ -2758,7 +2758,7 @@ function ct({
|
|
|
2758
2758
|
}
|
|
2759
2759
|
) });
|
|
2760
2760
|
case "shipping-ratio":
|
|
2761
|
-
return /* @__PURE__ */ m.jsx(
|
|
2761
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2762
2762
|
"path",
|
|
2763
2763
|
{
|
|
2764
2764
|
className: a,
|
|
@@ -2767,7 +2767,7 @@ function ct({
|
|
|
2767
2767
|
}
|
|
2768
2768
|
) });
|
|
2769
2769
|
case "more":
|
|
2770
|
-
return /* @__PURE__ */ m.jsx(
|
|
2770
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2771
2771
|
"path",
|
|
2772
2772
|
{
|
|
2773
2773
|
className: a,
|
|
@@ -2776,7 +2776,7 @@ function ct({
|
|
|
2776
2776
|
}
|
|
2777
2777
|
) });
|
|
2778
2778
|
case "print":
|
|
2779
|
-
return /* @__PURE__ */ m.jsx(
|
|
2779
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2780
2780
|
"path",
|
|
2781
2781
|
{
|
|
2782
2782
|
className: a,
|
|
@@ -2785,7 +2785,7 @@ function ct({
|
|
|
2785
2785
|
}
|
|
2786
2786
|
) });
|
|
2787
2787
|
case "page-front":
|
|
2788
|
-
return /* @__PURE__ */ m.jsx(
|
|
2788
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2789
2789
|
"path",
|
|
2790
2790
|
{
|
|
2791
2791
|
className: a,
|
|
@@ -2796,7 +2796,7 @@ function ct({
|
|
|
2796
2796
|
}
|
|
2797
2797
|
) });
|
|
2798
2798
|
case "page-back":
|
|
2799
|
-
return /* @__PURE__ */ m.jsx(
|
|
2799
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2800
2800
|
"path",
|
|
2801
2801
|
{
|
|
2802
2802
|
className: a,
|
|
@@ -2807,7 +2807,7 @@ function ct({
|
|
|
2807
2807
|
}
|
|
2808
2808
|
) });
|
|
2809
2809
|
case "thin-front":
|
|
2810
|
-
return /* @__PURE__ */ m.jsx(
|
|
2810
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2811
2811
|
"path",
|
|
2812
2812
|
{
|
|
2813
2813
|
className: a,
|
|
@@ -2818,7 +2818,7 @@ function ct({
|
|
|
2818
2818
|
}
|
|
2819
2819
|
) });
|
|
2820
2820
|
case "thin-back":
|
|
2821
|
-
return /* @__PURE__ */ m.jsx(
|
|
2821
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2822
2822
|
"path",
|
|
2823
2823
|
{
|
|
2824
2824
|
className: a,
|
|
@@ -2829,7 +2829,7 @@ function ct({
|
|
|
2829
2829
|
}
|
|
2830
2830
|
) });
|
|
2831
2831
|
case "file":
|
|
2832
|
-
return /* @__PURE__ */ m.jsx(
|
|
2832
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2833
2833
|
"path",
|
|
2834
2834
|
{
|
|
2835
2835
|
className: a,
|
|
@@ -2838,7 +2838,7 @@ function ct({
|
|
|
2838
2838
|
}
|
|
2839
2839
|
) });
|
|
2840
2840
|
case "upload":
|
|
2841
|
-
return /* @__PURE__ */ m.jsx(
|
|
2841
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2842
2842
|
"path",
|
|
2843
2843
|
{
|
|
2844
2844
|
className: a,
|
|
@@ -2847,7 +2847,7 @@ function ct({
|
|
|
2847
2847
|
}
|
|
2848
2848
|
) });
|
|
2849
2849
|
case "download":
|
|
2850
|
-
return /* @__PURE__ */ m.jsx(
|
|
2850
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2851
2851
|
"path",
|
|
2852
2852
|
{
|
|
2853
2853
|
className: a,
|
|
@@ -2856,7 +2856,7 @@ function ct({
|
|
|
2856
2856
|
}
|
|
2857
2857
|
) });
|
|
2858
2858
|
case "percentage":
|
|
2859
|
-
return /* @__PURE__ */ m.jsx(
|
|
2859
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2860
2860
|
"path",
|
|
2861
2861
|
{
|
|
2862
2862
|
className: a,
|
|
@@ -2865,7 +2865,7 @@ function ct({
|
|
|
2865
2865
|
}
|
|
2866
2866
|
) });
|
|
2867
2867
|
case "average-guide":
|
|
2868
|
-
return /* @__PURE__ */ m.jsx(
|
|
2868
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2869
2869
|
"path",
|
|
2870
2870
|
{
|
|
2871
2871
|
className: a,
|
|
@@ -2876,7 +2876,7 @@ function ct({
|
|
|
2876
2876
|
}
|
|
2877
2877
|
) });
|
|
2878
2878
|
case "average-unit":
|
|
2879
|
-
return /* @__PURE__ */ m.jsx(
|
|
2879
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2880
2880
|
"path",
|
|
2881
2881
|
{
|
|
2882
2882
|
className: a,
|
|
@@ -2887,7 +2887,7 @@ function ct({
|
|
|
2887
2887
|
}
|
|
2888
2888
|
) });
|
|
2889
2889
|
case "new":
|
|
2890
|
-
return /* @__PURE__ */ m.jsx(
|
|
2890
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2891
2891
|
"path",
|
|
2892
2892
|
{
|
|
2893
2893
|
className: a,
|
|
@@ -2896,7 +2896,7 @@ function ct({
|
|
|
2896
2896
|
}
|
|
2897
2897
|
) });
|
|
2898
2898
|
case "padlock":
|
|
2899
|
-
return /* @__PURE__ */ m.jsx(
|
|
2899
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2900
2900
|
"path",
|
|
2901
2901
|
{
|
|
2902
2902
|
className: a,
|
|
@@ -2905,7 +2905,7 @@ function ct({
|
|
|
2905
2905
|
}
|
|
2906
2906
|
) });
|
|
2907
2907
|
case "shipments":
|
|
2908
|
-
return /* @__PURE__ */ m.jsx(
|
|
2908
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2909
2909
|
"path",
|
|
2910
2910
|
{
|
|
2911
2911
|
className: a,
|
|
@@ -2914,7 +2914,7 @@ function ct({
|
|
|
2914
2914
|
}
|
|
2915
2915
|
) });
|
|
2916
2916
|
case "joke":
|
|
2917
|
-
return /* @__PURE__ */ m.jsx(
|
|
2917
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2918
2918
|
"path",
|
|
2919
2919
|
{
|
|
2920
2920
|
className: a,
|
|
@@ -2923,7 +2923,7 @@ function ct({
|
|
|
2923
2923
|
}
|
|
2924
2924
|
) });
|
|
2925
2925
|
case "shipping":
|
|
2926
|
-
return /* @__PURE__ */ m.jsx(
|
|
2926
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2927
2927
|
"path",
|
|
2928
2928
|
{
|
|
2929
2929
|
className: a,
|
|
@@ -2932,7 +2932,7 @@ function ct({
|
|
|
2932
2932
|
}
|
|
2933
2933
|
) });
|
|
2934
2934
|
case "home":
|
|
2935
|
-
return /* @__PURE__ */ m.jsx(
|
|
2935
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2936
2936
|
"path",
|
|
2937
2937
|
{
|
|
2938
2938
|
className: a,
|
|
@@ -2941,7 +2941,7 @@ function ct({
|
|
|
2941
2941
|
}
|
|
2942
2942
|
) });
|
|
2943
2943
|
case "menu":
|
|
2944
|
-
return /* @__PURE__ */ m.jsx(
|
|
2944
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2945
2945
|
"path",
|
|
2946
2946
|
{
|
|
2947
2947
|
className: a,
|
|
@@ -2950,7 +2950,7 @@ function ct({
|
|
|
2950
2950
|
}
|
|
2951
2951
|
) });
|
|
2952
2952
|
case "notifications":
|
|
2953
|
-
return /* @__PURE__ */ m.jsx(
|
|
2953
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2954
2954
|
"path",
|
|
2955
2955
|
{
|
|
2956
2956
|
className: a,
|
|
@@ -2959,7 +2959,7 @@ function ct({
|
|
|
2959
2959
|
}
|
|
2960
2960
|
) });
|
|
2961
2961
|
case "novelty":
|
|
2962
|
-
return /* @__PURE__ */ m.jsx(
|
|
2962
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2963
2963
|
"path",
|
|
2964
2964
|
{
|
|
2965
2965
|
className: a,
|
|
@@ -2968,7 +2968,7 @@ function ct({
|
|
|
2968
2968
|
}
|
|
2969
2969
|
) });
|
|
2970
2970
|
case "help":
|
|
2971
|
-
return /* @__PURE__ */ m.jsx(
|
|
2971
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2972
2972
|
"path",
|
|
2973
2973
|
{
|
|
2974
2974
|
className: a,
|
|
@@ -2977,7 +2977,7 @@ function ct({
|
|
|
2977
2977
|
}
|
|
2978
2978
|
) });
|
|
2979
2979
|
case "see-more":
|
|
2980
|
-
return /* @__PURE__ */ m.jsx(
|
|
2980
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2981
2981
|
"path",
|
|
2982
2982
|
{
|
|
2983
2983
|
className: a,
|
|
@@ -2988,7 +2988,7 @@ function ct({
|
|
|
2988
2988
|
}
|
|
2989
2989
|
) });
|
|
2990
2990
|
case "info":
|
|
2991
|
-
return /* @__PURE__ */ m.jsx(
|
|
2991
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
2992
2992
|
"path",
|
|
2993
2993
|
{
|
|
2994
2994
|
className: a,
|
|
@@ -2997,7 +2997,7 @@ function ct({
|
|
|
2997
2997
|
}
|
|
2998
2998
|
) });
|
|
2999
2999
|
case "alert":
|
|
3000
|
-
return /* @__PURE__ */ m.jsx(
|
|
3000
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3001
3001
|
"path",
|
|
3002
3002
|
{
|
|
3003
3003
|
className: a,
|
|
@@ -3006,7 +3006,7 @@ function ct({
|
|
|
3006
3006
|
}
|
|
3007
3007
|
) });
|
|
3008
3008
|
case "eye":
|
|
3009
|
-
return /* @__PURE__ */ m.jsx(
|
|
3009
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3010
3010
|
"path",
|
|
3011
3011
|
{
|
|
3012
3012
|
className: a,
|
|
@@ -3015,7 +3015,7 @@ function ct({
|
|
|
3015
3015
|
}
|
|
3016
3016
|
) });
|
|
3017
3017
|
case "date":
|
|
3018
|
-
return /* @__PURE__ */ m.jsx(
|
|
3018
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3019
3019
|
"path",
|
|
3020
3020
|
{
|
|
3021
3021
|
className: a,
|
|
@@ -3024,7 +3024,7 @@ function ct({
|
|
|
3024
3024
|
}
|
|
3025
3025
|
) });
|
|
3026
3026
|
case "search":
|
|
3027
|
-
return /* @__PURE__ */ m.jsx(
|
|
3027
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3028
3028
|
"path",
|
|
3029
3029
|
{
|
|
3030
3030
|
className: a,
|
|
@@ -3033,7 +3033,7 @@ function ct({
|
|
|
3033
3033
|
}
|
|
3034
3034
|
) });
|
|
3035
3035
|
case "delete":
|
|
3036
|
-
return /* @__PURE__ */ m.jsx(
|
|
3036
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3037
3037
|
"path",
|
|
3038
3038
|
{
|
|
3039
3039
|
className: a,
|
|
@@ -3042,7 +3042,7 @@ function ct({
|
|
|
3042
3042
|
}
|
|
3043
3043
|
) });
|
|
3044
3044
|
case "more-less":
|
|
3045
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3045
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, children: [
|
|
3046
3046
|
/* @__PURE__ */ m.jsx(
|
|
3047
3047
|
"path",
|
|
3048
3048
|
{
|
|
@@ -3063,7 +3063,7 @@ function ct({
|
|
|
3063
3063
|
)
|
|
3064
3064
|
] });
|
|
3065
3065
|
case "down":
|
|
3066
|
-
return /* @__PURE__ */ m.jsx(
|
|
3066
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3067
3067
|
"path",
|
|
3068
3068
|
{
|
|
3069
3069
|
className: a,
|
|
@@ -3072,7 +3072,7 @@ function ct({
|
|
|
3072
3072
|
}
|
|
3073
3073
|
) });
|
|
3074
3074
|
case "up":
|
|
3075
|
-
return /* @__PURE__ */ m.jsx(
|
|
3075
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3076
3076
|
"path",
|
|
3077
3077
|
{
|
|
3078
3078
|
className: a,
|
|
@@ -3081,7 +3081,7 @@ function ct({
|
|
|
3081
3081
|
}
|
|
3082
3082
|
) });
|
|
3083
3083
|
case "back":
|
|
3084
|
-
return /* @__PURE__ */ m.jsx(
|
|
3084
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3085
3085
|
"path",
|
|
3086
3086
|
{
|
|
3087
3087
|
className: a,
|
|
@@ -3090,7 +3090,7 @@ function ct({
|
|
|
3090
3090
|
}
|
|
3091
3091
|
) });
|
|
3092
3092
|
case "front":
|
|
3093
|
-
return /* @__PURE__ */ m.jsx(
|
|
3093
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3094
3094
|
"path",
|
|
3095
3095
|
{
|
|
3096
3096
|
className: a,
|
|
@@ -3099,7 +3099,7 @@ function ct({
|
|
|
3099
3099
|
}
|
|
3100
3100
|
) });
|
|
3101
3101
|
case "major-minor":
|
|
3102
|
-
return /* @__PURE__ */ m.jsx(
|
|
3102
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3103
3103
|
"path",
|
|
3104
3104
|
{
|
|
3105
3105
|
className: a,
|
|
@@ -3108,7 +3108,7 @@ function ct({
|
|
|
3108
3108
|
}
|
|
3109
3109
|
) });
|
|
3110
3110
|
case "minor-major":
|
|
3111
|
-
return /* @__PURE__ */ m.jsx(
|
|
3111
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3112
3112
|
"path",
|
|
3113
3113
|
{
|
|
3114
3114
|
className: a,
|
|
@@ -3117,7 +3117,7 @@ function ct({
|
|
|
3117
3117
|
}
|
|
3118
3118
|
) });
|
|
3119
3119
|
case "create":
|
|
3120
|
-
return /* @__PURE__ */ m.jsx(
|
|
3120
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3121
3121
|
"path",
|
|
3122
3122
|
{
|
|
3123
3123
|
className: a,
|
|
@@ -3126,7 +3126,7 @@ function ct({
|
|
|
3126
3126
|
}
|
|
3127
3127
|
) });
|
|
3128
3128
|
case "success":
|
|
3129
|
-
return /* @__PURE__ */ m.jsx(
|
|
3129
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3130
3130
|
"path",
|
|
3131
3131
|
{
|
|
3132
3132
|
className: a,
|
|
@@ -3135,7 +3135,7 @@ function ct({
|
|
|
3135
3135
|
}
|
|
3136
3136
|
) });
|
|
3137
3137
|
case "error":
|
|
3138
|
-
return /* @__PURE__ */ m.jsx(
|
|
3138
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3139
3139
|
"path",
|
|
3140
3140
|
{
|
|
3141
3141
|
className: a,
|
|
@@ -3146,7 +3146,7 @@ function ct({
|
|
|
3146
3146
|
}
|
|
3147
3147
|
) });
|
|
3148
3148
|
case "less":
|
|
3149
|
-
return /* @__PURE__ */ m.jsx(
|
|
3149
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3150
3150
|
"path",
|
|
3151
3151
|
{
|
|
3152
3152
|
className: a,
|
|
@@ -3157,7 +3157,7 @@ function ct({
|
|
|
3157
3157
|
}
|
|
3158
3158
|
) });
|
|
3159
3159
|
case "grin-wink":
|
|
3160
|
-
return /* @__PURE__ */ m.jsx(
|
|
3160
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3161
3161
|
"path",
|
|
3162
3162
|
{
|
|
3163
3163
|
className: a,
|
|
@@ -3168,7 +3168,7 @@ function ct({
|
|
|
3168
3168
|
}
|
|
3169
3169
|
) });
|
|
3170
3170
|
case "circle-dollar-to-slot":
|
|
3171
|
-
return /* @__PURE__ */ m.jsx(
|
|
3171
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3172
3172
|
"path",
|
|
3173
3173
|
{
|
|
3174
3174
|
className: a,
|
|
@@ -3179,7 +3179,7 @@ function ct({
|
|
|
3179
3179
|
}
|
|
3180
3180
|
) });
|
|
3181
3181
|
case "money":
|
|
3182
|
-
return /* @__PURE__ */ m.jsx(
|
|
3182
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3183
3183
|
"path",
|
|
3184
3184
|
{
|
|
3185
3185
|
className: a,
|
|
@@ -3190,7 +3190,7 @@ function ct({
|
|
|
3190
3190
|
}
|
|
3191
3191
|
) });
|
|
3192
3192
|
case "edit":
|
|
3193
|
-
return /* @__PURE__ */ m.jsx(
|
|
3193
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3194
3194
|
"path",
|
|
3195
3195
|
{
|
|
3196
3196
|
className: a,
|
|
@@ -3201,7 +3201,7 @@ function ct({
|
|
|
3201
3201
|
}
|
|
3202
3202
|
) });
|
|
3203
3203
|
case "trash":
|
|
3204
|
-
return /* @__PURE__ */ m.jsx(
|
|
3204
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3205
3205
|
"path",
|
|
3206
3206
|
{
|
|
3207
3207
|
className: a,
|
|
@@ -3212,7 +3212,7 @@ function ct({
|
|
|
3212
3212
|
}
|
|
3213
3213
|
) });
|
|
3214
3214
|
case "start":
|
|
3215
|
-
return /* @__PURE__ */ m.jsx(
|
|
3215
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, children: /* @__PURE__ */ m.jsx(
|
|
3216
3216
|
"path",
|
|
3217
3217
|
{
|
|
3218
3218
|
className: a,
|
|
@@ -3236,7 +3236,7 @@ function ct({
|
|
|
3236
3236
|
"fill-icon-on": "#ffffffff",
|
|
3237
3237
|
"fill-icon-brand": "#5F24F1"
|
|
3238
3238
|
};
|
|
3239
|
-
return /* @__PURE__ */ m.jsx(
|
|
3239
|
+
return /* @__PURE__ */ m.jsx(Ae, { viewBox: "0 0 24 24", ...n, children: /* @__PURE__ */ m.jsx(
|
|
3240
3240
|
"path",
|
|
3241
3241
|
{
|
|
3242
3242
|
d: "M20 13.1251L20 6.00003C20 4.34317 18.6568 3.00002 17 3.00003L9.875 3.00012M14 21.0001L7.25 21.0001C6.00736 21.0001 5 19.9928 5 18.7501L5 9.00012C5 7.75747 6.00736 6.75011 7.25 6.75011L14 6.75011C15.2426 6.75011 16.25 7.75747 16.25 9.00011L16.25 18.7501C16.25 19.9928 15.2426 21.0001 14 21.0001Z",
|
|
@@ -3246,7 +3246,7 @@ function ct({
|
|
|
3246
3246
|
}
|
|
3247
3247
|
) });
|
|
3248
3248
|
case "menu-line":
|
|
3249
|
-
return /* @__PURE__ */ m.jsx(
|
|
3249
|
+
return /* @__PURE__ */ m.jsx(Ae, { viewBox: "0 0 19 16", ...n, children: /* @__PURE__ */ m.jsx(
|
|
3250
3250
|
"path",
|
|
3251
3251
|
{
|
|
3252
3252
|
className: a,
|
|
@@ -3255,7 +3255,7 @@ function ct({
|
|
|
3255
3255
|
}
|
|
3256
3256
|
) });
|
|
3257
3257
|
case "menu-square":
|
|
3258
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3258
|
+
return /* @__PURE__ */ m.jsxs(Ae, { viewBox: "0 0 19 18", ...n, children: [
|
|
3259
3259
|
/* @__PURE__ */ m.jsx(
|
|
3260
3260
|
"path",
|
|
3261
3261
|
{
|
|
@@ -3290,7 +3290,7 @@ function ct({
|
|
|
3290
3290
|
)
|
|
3291
3291
|
] });
|
|
3292
3292
|
case "net":
|
|
3293
|
-
return /* @__PURE__ */ m.jsx(
|
|
3293
|
+
return /* @__PURE__ */ m.jsx(Ae, { viewBox: "0 0 16 16", ...n, children: /* @__PURE__ */ m.jsx(
|
|
3294
3294
|
"path",
|
|
3295
3295
|
{
|
|
3296
3296
|
fillRule: "evenodd",
|
|
@@ -3301,7 +3301,7 @@ function ct({
|
|
|
3301
3301
|
}
|
|
3302
3302
|
) });
|
|
3303
3303
|
case "arrow-rotate":
|
|
3304
|
-
return /* @__PURE__ */ m.jsx(
|
|
3304
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 512 512", children: /* @__PURE__ */ m.jsx(
|
|
3305
3305
|
"path",
|
|
3306
3306
|
{
|
|
3307
3307
|
className: a,
|
|
@@ -3310,7 +3310,7 @@ function ct({
|
|
|
3310
3310
|
}
|
|
3311
3311
|
) });
|
|
3312
3312
|
case "location":
|
|
3313
|
-
return /* @__PURE__ */ m.jsx(
|
|
3313
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 16 16", children: /* @__PURE__ */ m.jsx(
|
|
3314
3314
|
"path",
|
|
3315
3315
|
{
|
|
3316
3316
|
className: a,
|
|
@@ -3319,7 +3319,7 @@ function ct({
|
|
|
3319
3319
|
}
|
|
3320
3320
|
) });
|
|
3321
3321
|
case "search-alert":
|
|
3322
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3322
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 16 16", children: [
|
|
3323
3323
|
/* @__PURE__ */ m.jsx(
|
|
3324
3324
|
"path",
|
|
3325
3325
|
{
|
|
@@ -3340,7 +3340,7 @@ function ct({
|
|
|
3340
3340
|
)
|
|
3341
3341
|
] });
|
|
3342
3342
|
case "visa":
|
|
3343
|
-
return /* @__PURE__ */ m.jsx(
|
|
3343
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3344
3344
|
"path",
|
|
3345
3345
|
{
|
|
3346
3346
|
className: a,
|
|
@@ -3349,7 +3349,7 @@ function ct({
|
|
|
3349
3349
|
}
|
|
3350
3350
|
) });
|
|
3351
3351
|
case "mastercard":
|
|
3352
|
-
return /* @__PURE__ */ m.jsx(
|
|
3352
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3353
3353
|
"path",
|
|
3354
3354
|
{
|
|
3355
3355
|
className: a,
|
|
@@ -3358,7 +3358,7 @@ function ct({
|
|
|
3358
3358
|
}
|
|
3359
3359
|
) });
|
|
3360
3360
|
case "build":
|
|
3361
|
-
return /* @__PURE__ */ m.jsx(
|
|
3361
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3362
3362
|
"path",
|
|
3363
3363
|
{
|
|
3364
3364
|
className: a,
|
|
@@ -3367,7 +3367,7 @@ function ct({
|
|
|
3367
3367
|
}
|
|
3368
3368
|
) });
|
|
3369
3369
|
case "position":
|
|
3370
|
-
return /* @__PURE__ */ m.jsx(
|
|
3370
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3371
3371
|
"path",
|
|
3372
3372
|
{
|
|
3373
3373
|
className: a,
|
|
@@ -3376,7 +3376,7 @@ function ct({
|
|
|
3376
3376
|
}
|
|
3377
3377
|
) });
|
|
3378
3378
|
case "transport":
|
|
3379
|
-
return /* @__PURE__ */ m.jsx(
|
|
3379
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3380
3380
|
"path",
|
|
3381
3381
|
{
|
|
3382
3382
|
className: a,
|
|
@@ -3385,7 +3385,7 @@ function ct({
|
|
|
3385
3385
|
}
|
|
3386
3386
|
) });
|
|
3387
3387
|
case "presentation":
|
|
3388
|
-
return /* @__PURE__ */ m.jsx(
|
|
3388
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 26 22", children: /* @__PURE__ */ m.jsx(
|
|
3389
3389
|
"path",
|
|
3390
3390
|
{
|
|
3391
3391
|
className: a,
|
|
@@ -3394,7 +3394,7 @@ function ct({
|
|
|
3394
3394
|
}
|
|
3395
3395
|
) });
|
|
3396
3396
|
case "sendbox":
|
|
3397
|
-
return /* @__PURE__ */ m.jsx(
|
|
3397
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 31 31", children: /* @__PURE__ */ m.jsx(
|
|
3398
3398
|
"path",
|
|
3399
3399
|
{
|
|
3400
3400
|
className: a,
|
|
@@ -3403,7 +3403,7 @@ function ct({
|
|
|
3403
3403
|
}
|
|
3404
3404
|
) });
|
|
3405
3405
|
case "whatsapp":
|
|
3406
|
-
return /* @__PURE__ */ m.jsx(
|
|
3406
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 16 16", children: /* @__PURE__ */ m.jsx(
|
|
3407
3407
|
"path",
|
|
3408
3408
|
{
|
|
3409
3409
|
className: a,
|
|
@@ -3412,7 +3412,7 @@ function ct({
|
|
|
3412
3412
|
}
|
|
3413
3413
|
) });
|
|
3414
3414
|
case "whatsapp-fill-green":
|
|
3415
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3415
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 24 24", children: [
|
|
3416
3416
|
/* @__PURE__ */ m.jsx("rect", { width: "24", height: "24", rx: "6", fill: "#12953E" }),
|
|
3417
3417
|
/* @__PURE__ */ m.jsx(
|
|
3418
3418
|
"path",
|
|
@@ -3423,7 +3423,7 @@ function ct({
|
|
|
3423
3423
|
)
|
|
3424
3424
|
] });
|
|
3425
3425
|
case "qualification":
|
|
3426
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3426
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 24 24", children: [
|
|
3427
3427
|
/* @__PURE__ */ m.jsx(
|
|
3428
3428
|
"path",
|
|
3429
3429
|
{
|
|
@@ -3459,7 +3459,7 @@ function ct({
|
|
|
3459
3459
|
)
|
|
3460
3460
|
] });
|
|
3461
3461
|
case "trophy":
|
|
3462
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3462
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 38 38", children: [
|
|
3463
3463
|
/* @__PURE__ */ m.jsx(
|
|
3464
3464
|
"path",
|
|
3465
3465
|
{
|
|
@@ -3539,7 +3539,7 @@ function ct({
|
|
|
3539
3539
|
)
|
|
3540
3540
|
] });
|
|
3541
3541
|
case "first-position":
|
|
3542
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3542
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 29 29", children: [
|
|
3543
3543
|
/* @__PURE__ */ m.jsx(
|
|
3544
3544
|
"path",
|
|
3545
3545
|
{
|
|
@@ -3556,7 +3556,7 @@ function ct({
|
|
|
3556
3556
|
)
|
|
3557
3557
|
] });
|
|
3558
3558
|
case "up-outline":
|
|
3559
|
-
return /* @__PURE__ */ m.jsx(
|
|
3559
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 11 7", children: /* @__PURE__ */ m.jsx(
|
|
3560
3560
|
"path",
|
|
3561
3561
|
{
|
|
3562
3562
|
className: a,
|
|
@@ -3564,7 +3564,7 @@ function ct({
|
|
|
3564
3564
|
}
|
|
3565
3565
|
) });
|
|
3566
3566
|
case "down-outline":
|
|
3567
|
-
return /* @__PURE__ */ m.jsx(
|
|
3567
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 11 7", children: /* @__PURE__ */ m.jsx(
|
|
3568
3568
|
"path",
|
|
3569
3569
|
{
|
|
3570
3570
|
className: a,
|
|
@@ -3572,7 +3572,7 @@ function ct({
|
|
|
3572
3572
|
}
|
|
3573
3573
|
) });
|
|
3574
3574
|
case "users-fill":
|
|
3575
|
-
return /* @__PURE__ */ m.jsx(
|
|
3575
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 16 13", children: /* @__PURE__ */ m.jsx(
|
|
3576
3576
|
"path",
|
|
3577
3577
|
{
|
|
3578
3578
|
className: a,
|
|
@@ -3581,7 +3581,7 @@ function ct({
|
|
|
3581
3581
|
}
|
|
3582
3582
|
) });
|
|
3583
3583
|
case "web-navigation":
|
|
3584
|
-
return /* @__PURE__ */ m.jsx(
|
|
3584
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 16 16", children: /* @__PURE__ */ m.jsx(
|
|
3585
3585
|
"path",
|
|
3586
3586
|
{
|
|
3587
3587
|
className: a,
|
|
@@ -3589,7 +3589,7 @@ function ct({
|
|
|
3589
3589
|
}
|
|
3590
3590
|
) });
|
|
3591
3591
|
case "download-file":
|
|
3592
|
-
return /* @__PURE__ */ m.jsxs(
|
|
3592
|
+
return /* @__PURE__ */ m.jsxs(Ae, { ...n, viewBox: "0 0 17 22", children: [
|
|
3593
3593
|
/* @__PURE__ */ m.jsx("g", { clipPath: "url(#clip0_2093_9836)", children: /* @__PURE__ */ m.jsx(
|
|
3594
3594
|
"path",
|
|
3595
3595
|
{
|
|
@@ -3608,7 +3608,7 @@ function ct({
|
|
|
3608
3608
|
) }) })
|
|
3609
3609
|
] });
|
|
3610
3610
|
case "upload-arrow":
|
|
3611
|
-
return /* @__PURE__ */ m.jsx(
|
|
3611
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 17 20", children: /* @__PURE__ */ m.jsx(
|
|
3612
3612
|
"path",
|
|
3613
3613
|
{
|
|
3614
3614
|
className: a,
|
|
@@ -3616,7 +3616,7 @@ function ct({
|
|
|
3616
3616
|
}
|
|
3617
3617
|
) });
|
|
3618
3618
|
case "file-check":
|
|
3619
|
-
return /* @__PURE__ */ m.jsx(
|
|
3619
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 13 16", children: /* @__PURE__ */ m.jsx(
|
|
3620
3620
|
"path",
|
|
3621
3621
|
{
|
|
3622
3622
|
className: a,
|
|
@@ -3624,7 +3624,7 @@ function ct({
|
|
|
3624
3624
|
}
|
|
3625
3625
|
) });
|
|
3626
3626
|
case "file-pdf":
|
|
3627
|
-
return /* @__PURE__ */ m.jsx(
|
|
3627
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 13 16", children: /* @__PURE__ */ m.jsx(
|
|
3628
3628
|
"path",
|
|
3629
3629
|
{
|
|
3630
3630
|
className: a,
|
|
@@ -3632,7 +3632,7 @@ function ct({
|
|
|
3632
3632
|
}
|
|
3633
3633
|
) });
|
|
3634
3634
|
case "email":
|
|
3635
|
-
return /* @__PURE__ */ m.jsx(
|
|
3635
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 17 13", children: /* @__PURE__ */ m.jsx(
|
|
3636
3636
|
"path",
|
|
3637
3637
|
{
|
|
3638
3638
|
className: a,
|
|
@@ -3641,7 +3641,7 @@ function ct({
|
|
|
3641
3641
|
}
|
|
3642
3642
|
) });
|
|
3643
3643
|
case "message-bubble":
|
|
3644
|
-
return /* @__PURE__ */ m.jsx(
|
|
3644
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 18 18", children: /* @__PURE__ */ m.jsx(
|
|
3645
3645
|
"path",
|
|
3646
3646
|
{
|
|
3647
3647
|
className: a,
|
|
@@ -3650,7 +3650,7 @@ function ct({
|
|
|
3650
3650
|
}
|
|
3651
3651
|
) });
|
|
3652
3652
|
case "file-error":
|
|
3653
|
-
return /* @__PURE__ */ m.jsx(
|
|
3653
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 15 14", children: /* @__PURE__ */ m.jsx(
|
|
3654
3654
|
"path",
|
|
3655
3655
|
{
|
|
3656
3656
|
className: a,
|
|
@@ -3658,7 +3658,7 @@ function ct({
|
|
|
3658
3658
|
}
|
|
3659
3659
|
) });
|
|
3660
3660
|
case "file-deny":
|
|
3661
|
-
return /* @__PURE__ */ m.jsx(
|
|
3661
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 15 14", children: /* @__PURE__ */ m.jsx(
|
|
3662
3662
|
"path",
|
|
3663
3663
|
{
|
|
3664
3664
|
className: a,
|
|
@@ -3666,7 +3666,7 @@ function ct({
|
|
|
3666
3666
|
}
|
|
3667
3667
|
) });
|
|
3668
3668
|
case "file-money":
|
|
3669
|
-
return /* @__PURE__ */ m.jsx(
|
|
3669
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 11 14", children: /* @__PURE__ */ m.jsx(
|
|
3670
3670
|
"path",
|
|
3671
3671
|
{
|
|
3672
3672
|
className: a,
|
|
@@ -3674,13 +3674,21 @@ function ct({
|
|
|
3674
3674
|
}
|
|
3675
3675
|
) });
|
|
3676
3676
|
case "file-success":
|
|
3677
|
-
return /* @__PURE__ */ m.jsx(
|
|
3677
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 15 14", children: /* @__PURE__ */ m.jsx(
|
|
3678
3678
|
"path",
|
|
3679
3679
|
{
|
|
3680
3680
|
className: a,
|
|
3681
3681
|
d: "M0.5 2.3329C0.5 1.47491 1.19757 0.777344 2.05556 0.777344H5.94444V3.88845C5.94444 4.31866 6.29201 4.66623 6.72222 4.66623H9.83333V5.60443C8.03715 6.11241 6.72222 7.76276 6.72222 9.72179C6.72222 11.1582 7.42951 12.427 8.51354 13.2048C8.43576 13.2169 8.35799 13.2218 8.27778 13.2218H2.05556C1.19757 13.2218 0.5 12.5242 0.5 11.6662V2.3329ZM9.83333 3.88845H6.72222V0.777344L9.83333 3.88845ZM7.5 9.72179C7.5 8.79353 7.86875 7.90329 8.52513 7.24691C9.1815 6.59054 10.0717 6.22179 11 6.22179C11.9283 6.22179 12.8185 6.59054 13.4749 7.24691C14.1313 7.90329 14.5 8.79353 14.5 9.72179C14.5 10.65 14.1313 11.5403 13.4749 12.1967C12.8185 12.853 11.9283 13.2218 11 13.2218C10.0717 13.2218 9.1815 12.853 8.52513 12.1967C7.86875 11.5403 7.5 10.65 7.5 9.72179ZM12.6358 8.66936C12.4851 8.51866 12.2372 8.51866 12.0865 8.66936L10.6111 10.1447L9.91354 9.44714C9.76285 9.29644 9.51493 9.29644 9.36424 9.44714C9.21354 9.59783 9.21354 9.84575 9.36424 9.99644L10.3365 10.9687C10.4872 11.1194 10.7351 11.1194 10.8858 10.9687L12.6358 9.21866C12.7865 9.06797 12.7865 8.82005 12.6358 8.66936Z"
|
|
3682
3682
|
}
|
|
3683
3683
|
) });
|
|
3684
|
+
case "graphic":
|
|
3685
|
+
return /* @__PURE__ */ m.jsx(Ae, { ...n, viewBox: "0 0 21 21", children: /* @__PURE__ */ m.jsx(
|
|
3686
|
+
"path",
|
|
3687
|
+
{
|
|
3688
|
+
className: a,
|
|
3689
|
+
d: "M4 14C4 13.4477 4.44772 13 5 13H7C7.55228 13 8 13.4477 8 14V19C8 19.5523 7.55228 20 7 20H5C4.44772 20 4 19.5523 4 19V14ZM10 9C10 8.44772 10.4477 8 11 8H13C13.5523 8 14 8.44772 14 9V19C14 19.5523 13.5523 20 13 20H11C10.4477 20 10 19.5523 10 19V9ZM16 11C16 10.4477 16.4477 10 17 10H19C19.5523 10 20 10.4477 20 11V19C20 19.5523 19.5523 20 19 20H17C16.4477 20 16 19.5523 16 19V11Z"
|
|
3690
|
+
}
|
|
3691
|
+
) });
|
|
3684
3692
|
default:
|
|
3685
3693
|
return /* @__PURE__ */ m.jsx(m.Fragment, {});
|
|
3686
3694
|
}
|
|
@@ -19400,15 +19408,15 @@ var v1 = function(e) {
|
|
|
19400
19408
|
lastKeyStroke: ge,
|
|
19401
19409
|
stateValue: te,
|
|
19402
19410
|
groupSeparator: N
|
|
19403
|
-
}), Te = He.modifiedValue,
|
|
19411
|
+
}), Te = He.modifiedValue, Ce = He.cursorPosition, Ze = c0(Xt({ value: Te }, K));
|
|
19404
19412
|
if (!(A && Ze.replace(/-/g, "").length > A)) {
|
|
19405
19413
|
if (Ze === "" || Ze === "-" || Ze === G) {
|
|
19406
19414
|
g && g(void 0, l, { float: null, formatted: "", value: "" }), oe(Ze);
|
|
19407
19415
|
return;
|
|
19408
19416
|
}
|
|
19409
19417
|
var Ke = G ? Ze.replace(G, ".") : Ze, Fe = parseFloat(Ke), xe = bl(Xt({ value: Ze }, U));
|
|
19410
|
-
if (
|
|
19411
|
-
var Ve =
|
|
19418
|
+
if (Ce != null) {
|
|
19419
|
+
var Ve = Ce + (xe.length - Se.length);
|
|
19412
19420
|
Ve = Ve <= 0 ? y ? y.length : 0 : Ve, F(Ve), re(q + 1);
|
|
19413
19421
|
}
|
|
19414
19422
|
if (oe(xe), g) {
|
|
@@ -19431,11 +19439,11 @@ var v1 = function(e) {
|
|
|
19431
19439
|
oe(""), V && V(Se);
|
|
19432
19440
|
return;
|
|
19433
19441
|
}
|
|
19434
|
-
var Te = _V(He, G, C),
|
|
19435
|
-
g && g(
|
|
19442
|
+
var Te = _V(He, G, C), Ce = nN(Te, G, x !== void 0 ? x : C), Ze = parseFloat(Ce.replace(G, ".")), Ke = bl(Xt(Xt({}, U), { value: Ce }));
|
|
19443
|
+
g && g(Ce, l, {
|
|
19436
19444
|
float: Ze,
|
|
19437
19445
|
formatted: Ke,
|
|
19438
|
-
value:
|
|
19446
|
+
value: Ce
|
|
19439
19447
|
}), oe(Ke), V && V(Se);
|
|
19440
19448
|
}, Je = function(Se) {
|
|
19441
19449
|
var je = Se.key;
|
|
@@ -19444,8 +19452,8 @@ var v1 = function(e) {
|
|
|
19444
19452
|
var He = parseFloat(v != null ? String(v).replace(G, ".") : c0(Xt({ value: te }, K))) || 0, Te = je === "ArrowUp" ? He + I : He - I;
|
|
19445
19453
|
if (S !== void 0 && Te < S || B !== void 0 && Te > B)
|
|
19446
19454
|
return;
|
|
19447
|
-
var
|
|
19448
|
-
Pe(String(
|
|
19455
|
+
var Ce = String(I).includes(".") ? Number(String(I).split(".")[1].length) : void 0;
|
|
19456
|
+
Pe(String(Ce ? Te.toFixed(Ce) : Te).replace(".", G));
|
|
19449
19457
|
}
|
|
19450
19458
|
$ && $(Se);
|
|
19451
19459
|
}, ut = function(Se) {
|
|
@@ -19453,8 +19461,8 @@ var v1 = function(e) {
|
|
|
19453
19461
|
if (je !== "ArrowUp" && je !== "ArrowDown" && te !== "-") {
|
|
19454
19462
|
var Te = NE(te, { groupSeparator: N, decimalSeparator: G });
|
|
19455
19463
|
if (Te && He && He > te.length - Te.length && Le && typeof Le == "object" && Le.current) {
|
|
19456
|
-
var
|
|
19457
|
-
Le.current.setSelectionRange(
|
|
19464
|
+
var Ce = te.length - Te.length;
|
|
19465
|
+
Le.current.setSelectionRange(Ce, Ce);
|
|
19458
19466
|
}
|
|
19459
19467
|
}
|
|
19460
19468
|
T && T(Se);
|
|
@@ -20763,14 +20771,14 @@ function cN() {
|
|
|
20763
20771
|
_.current = Se.target;
|
|
20764
20772
|
var je = q().value;
|
|
20765
20773
|
if (Q && !oe.isValueFilled(je)) {
|
|
20766
|
-
var He = oe.formatValue(je), Te = oe.getDefaultSelectionForValue(He),
|
|
20774
|
+
var He = oe.formatValue(je), Te = oe.getDefaultSelectionForValue(He), Ce = {
|
|
20767
20775
|
value: He,
|
|
20768
20776
|
selection: Te
|
|
20769
20777
|
};
|
|
20770
|
-
ee && (
|
|
20778
|
+
ee && (Ce = ee({
|
|
20771
20779
|
currentState: q(),
|
|
20772
|
-
nextState:
|
|
20773
|
-
}), He =
|
|
20780
|
+
nextState: Ce
|
|
20781
|
+
}), He = Ce.value, Te = Ce.selection), re(Ce), He !== je && z.onChange && z.onChange(Se), f(function() {
|
|
20774
20782
|
re(fe());
|
|
20775
20783
|
});
|
|
20776
20784
|
}
|
|
@@ -20779,25 +20787,25 @@ function cN() {
|
|
|
20779
20787
|
function Pe(Se) {
|
|
20780
20788
|
var je = q().value, He = fe().value;
|
|
20781
20789
|
if (Q && !N && oe.isValueEmpty(He)) {
|
|
20782
|
-
var Te = "",
|
|
20790
|
+
var Te = "", Ce = {
|
|
20783
20791
|
value: Te,
|
|
20784
20792
|
selection: {
|
|
20785
20793
|
start: null,
|
|
20786
20794
|
end: null
|
|
20787
20795
|
}
|
|
20788
20796
|
};
|
|
20789
|
-
ee && (
|
|
20797
|
+
ee && (Ce = ee({
|
|
20790
20798
|
currentState: q(),
|
|
20791
|
-
nextState:
|
|
20792
|
-
}), Te =
|
|
20799
|
+
nextState: Ce
|
|
20800
|
+
}), Te = Ce.value), re(Ce), Te !== je && z.onChange && z.onChange(Se);
|
|
20793
20801
|
}
|
|
20794
20802
|
z.onBlur && z.onBlur(Se);
|
|
20795
20803
|
}
|
|
20796
20804
|
function De(Se) {
|
|
20797
|
-
var je = ge(), He = q(), Te = He.value,
|
|
20805
|
+
var je = ge(), He = q(), Te = He.value, Ce = g(je);
|
|
20798
20806
|
if (!v(je) && !oe.isValueFilled(Te)) {
|
|
20799
20807
|
var Ze = Se.clientX, Ke = Se.clientY, Fe = (/* @__PURE__ */ new Date()).getTime(), xe = function Ve(Xe) {
|
|
20800
|
-
if (
|
|
20808
|
+
if (Ce.removeEventListener("mouseup", Ve), !!v(je)) {
|
|
20801
20809
|
var xt = Math.abs(Xe.clientX - Ze), nt = Math.abs(Xe.clientY - Ke), it = Math.max(xt, nt), It = (/* @__PURE__ */ new Date()).getTime() - Fe;
|
|
20802
20810
|
if (it <= 10 && It <= 200 || it <= 5 && It <= 300) {
|
|
20803
20811
|
var ke = fe(), St = oe.getDefaultSelectionForValue(ke.value), dt = s({}, ke, {
|
|
@@ -20807,7 +20815,7 @@ function cN() {
|
|
|
20807
20815
|
}
|
|
20808
20816
|
}
|
|
20809
20817
|
};
|
|
20810
|
-
|
|
20818
|
+
Ce.addEventListener("mouseup", xe);
|
|
20811
20819
|
}
|
|
20812
20820
|
z.onMouseDown && z.onMouseDown(Se);
|
|
20813
20821
|
}
|
|
@@ -20828,15 +20836,15 @@ function cN() {
|
|
|
20828
20836
|
var ut = fe(), Ot = ut.selection, an = ut.value;
|
|
20829
20837
|
t.useLayoutEffect(function() {
|
|
20830
20838
|
if (Q) {
|
|
20831
|
-
var Se = ge(), je = v(Se), He = Ot, Te = q(),
|
|
20839
|
+
var Se = ge(), je = v(Se), He = Ot, Te = q(), Ce = s({}, Te);
|
|
20832
20840
|
if (!ie) {
|
|
20833
20841
|
var Ze = Te.value, Ke = oe.formatValue(Ze), Fe = oe.isValueEmpty(Ke), xe = !Fe || je || N;
|
|
20834
|
-
xe ?
|
|
20842
|
+
xe ? Ce.value = Ke : Fe && !je && (Ce.value = "");
|
|
20835
20843
|
}
|
|
20836
|
-
je && !ce ?
|
|
20844
|
+
je && !ce ? Ce.selection = oe.getDefaultSelectionForValue(Ce.value) : ie && je && He && He.start !== null && He.end !== null && (Ce.selection = He), ee && (Ce = ee({
|
|
20837
20845
|
currentState: Te,
|
|
20838
|
-
nextState:
|
|
20839
|
-
})), re(
|
|
20846
|
+
nextState: Ce
|
|
20847
|
+
})), re(Ce);
|
|
20840
20848
|
}
|
|
20841
20849
|
});
|
|
20842
20850
|
var on = s({}, te, {
|
|
@@ -21368,11 +21376,11 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
21368
21376
|
return ft && (be === "start" && (be = "top"), be === "end" && (be = "bottom")), ot && (be === "start" && (be = "left"), be === "end" && (be = "right")), [le, be, ot, ft];
|
|
21369
21377
|
}(E), Pe = u(Le, 4), De = Pe[0], ye = Pe[1], et = Pe[2], Je = Pe[3], ut = De, Ot = function(ln, At) {
|
|
21370
21378
|
return "translate(".concat(ln, "px, ").concat(At, "px)");
|
|
21371
|
-
}, an = ae - ce, on = K - ie, Se = ye === "left" ? 0 : ye === "right" ? an : an / 2, je = an - Se, He = ye === "top" ? 0 : ye === "bottom" ? on : on / 2, Te = on - He,
|
|
21372
|
-
for (et && (
|
|
21379
|
+
}, an = ae - ce, on = K - ie, Se = ye === "left" ? 0 : ye === "right" ? an : an / 2, je = an - Se, He = ye === "top" ? 0 : ye === "bottom" ? on : on / 2, Te = on - He, Ce = U - ue + ge, Ze = N - Q + Ge, Ke = 0, Fe = 0, xe = A(g.current), Ve = [], Xe = b.current, xt = p(Xe, k, z) || {}, nt = xt.height, it = nt === void 0 ? 0 : nt, It = xt.width, ke = It === void 0 ? 0 : It, St = Ce, dt = Ze, kt = { top: "bottom", bottom: "top", left: "right", right: "left" };
|
|
21380
|
+
for (et && (Ce += Se, Ze += De === "top" ? -ie : K, D && (it = 11, ke = 20)), Je && (Ce += De === "left" ? -ce : ae, Ze += He, D && (it = 20, ke = 11)); xe; )
|
|
21373
21381
|
Ve.push(xe), Yn(p(xe, k, z)), xe = A(xe.parentNode);
|
|
21374
|
-
Yn({ top: z, bottom: z + F, left: k, right: k + _, height: F, width: _ }), et && (Ze += ut === "bottom" ? B : -B), Je && (
|
|
21375
|
-
var Qn = { popper: { top: Ze, bottom: Ze + ie, left:
|
|
21382
|
+
Yn({ top: z, bottom: z + F, left: k, right: k + _, height: F, width: _ }), et && (Ze += ut === "bottom" ? B : -B), Je && (Ce += ut === "right" ? P : -P), Ce -= Ke, Ze -= Fe, Y = kt[ut], Xe && (et && ((T = ae < ce) ? St += ae / 2 : St = Ce + ce / 2, St -= ke / 2, ut === "bottom" && (dt = Ze, Ze += it), ut === "top" && (dt = (Ze -= it) + ie), Ke < 0 && Ke - Se < 0 && (T ? St += (Se - Ke) / 2 : ae - Se + Ke < ce && (St += (ae - Se + Ke - ce) / 2)), Ke > 0 && Ke + je > 0 && (T ? St -= (Ke + je) / 2 : ae - Ke - je < ce && (St -= (ae - Ke - je - ce) / 2))), Je && ((T = K < ie) ? dt += K / 2 : dt = Ze + ie / 2, dt -= it / 2, ut === "left" && (St = (Ce -= ke) + ce), ut === "right" && (St = Ce, Ce += ke), Fe < 0 && Fe - He < 0 && (T ? dt += (He - Fe) / 2 : K - He + Fe < ie && (dt += (K - He + Fe - ie) / 2)), Fe > 0 && Fe + Te > 0 && (T ? dt -= (Fe + Te) / 2 : K - Fe - Te < ie && (dt -= (K - Fe - Te - ie) / 2))), Xe.setAttribute("direction", Y), Xe.style.height = it + "px", Xe.style.width = ke + "px", Xe.style.transform = Ot(St, dt), Xe.style.visibility = "visible", Xe.style.zIndex = j + 1), q.style.transform = Ot(Ce, Ze);
|
|
21383
|
+
var Qn = { popper: { top: Ze, bottom: Ze + ie, left: Ce, right: Ce + ce, height: ie, width: ce }, element: { top: N, bottom: te, left: U, right: ee, height: K, width: ae }, arrow: { top: dt, bottom: dt + it, left: St, right: St + ke, height: it, width: ke, direction: Y }, position: ut + "-" + (Ke !== 0 ? "auto" : ye), scroll: { scrollLeft: k, scrollTop: z }, scrollableParents: Ve, event: y };
|
|
21376
21384
|
y || R.forEach(function(ln) {
|
|
21377
21385
|
ln({ popper: q, arrow: Xe, data: l(l({}, Qn), {}, { getTransform: Ot, mirror: kt }) });
|
|
21378
21386
|
}), q.style.visibility = "visible", typeof H == "function" && H(Qn);
|
|
@@ -21385,7 +21393,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
21385
21393
|
}
|
|
21386
21394
|
if (Je) {
|
|
21387
21395
|
var Qe = Math.round(U - le + ae / 2), ht = Math.round(ot / 2);
|
|
21388
|
-
w || (U - (ce + P + ke) < le && Qe < ht && ut === "left" ? (
|
|
21396
|
+
w || (U - (ce + P + ke) < le && Qe < ht && ut === "left" ? (Ce += ae + ce, ut = "right") : ee + ce + P + ke > he && Qe > ht && ut === "right" && (Ce -= ae + ce, ut = "left")), I || (N + He < At && (Fe = v(te - it > At ? N + He - At : -K + He + it, Fe)), te - Te > X && (Fe = v(N + it < X ? te - Te - X : K - Te - it, Fe)));
|
|
21389
21397
|
}
|
|
21390
21398
|
}
|
|
21391
21399
|
}
|
|
@@ -22312,7 +22320,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22312
22320
|
return ge;
|
|
22313
22321
|
}
|
|
22314
22322
|
function S(F) {
|
|
22315
|
-
var _ = F.state, q = F.onChange, re = F.showOtherDays, fe = re !== void 0 && re, ge = F.mapDays, Ge = F.onlyShowInRangeDates, Le = F.customWeekDays, Pe = F.sort, De = F.numberOfMonths, ye = F.isRTL, et = F.weekStartDayIndex, Je = F.handleFocusedDate, ut = F.hideWeekDays, Ot = F.fullYear, an = p(F.monthAndYears, 1)[0], on = F.displayWeekNumbers, Se = F.weekNumber, je = Se === void 0 ? "" : Se, He = F.rangeHover, Te = t.useRef({}),
|
|
22323
|
+
var _ = F.state, q = F.onChange, re = F.showOtherDays, fe = re !== void 0 && re, ge = F.mapDays, Ge = F.onlyShowInRangeDates, Le = F.customWeekDays, Pe = F.sort, De = F.numberOfMonths, ye = F.isRTL, et = F.weekStartDayIndex, Je = F.handleFocusedDate, ut = F.hideWeekDays, Ot = F.fullYear, an = p(F.monthAndYears, 1)[0], on = F.displayWeekNumbers, Se = F.weekNumber, je = Se === void 0 ? "" : Se, He = F.rangeHover, Te = t.useRef({}), Ce = _.today, Ze = _.minDate, Ke = _.maxDate, Fe = _.range, xe = _.date, Ve = _.selectedDate, Xe = _.onlyMonthPicker, xt = _.onlyYearPicker, nt = !Xe && !xt, it = p(t.useState(), 2), It = it[0], ke = it[1];
|
|
22316
22324
|
Te.current.date = xe;
|
|
22317
22325
|
var St = t.useMemo(function() {
|
|
22318
22326
|
return nt ? function(kt, Qn, Yn, ln) {
|
|
@@ -22342,7 +22350,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22342
22350
|
return {};
|
|
22343
22351
|
var Qe = {};
|
|
22344
22352
|
return ge.forEach(function(ht) {
|
|
22345
|
-
var pt, Mt = ht({ date: Ne.date, today:
|
|
22353
|
+
var pt, Mt = ht({ date: Ne.date, today: Ce, currentMonth: _.date.month, selectedDate: _.selectedDate, isSameDate: y });
|
|
22346
22354
|
((pt = Mt) === null || pt === void 0 ? void 0 : pt.constructor) !== Object && (Mt = {}), (Mt.disabled || Mt.hidden) && (Ne.disabled = !0), Mt.hidden && (Ne.hidden = !0), Qe = u(u({}, Qe), Mt);
|
|
22347
22355
|
}), delete Qe.disabled, delete Qe.hidden, Qe;
|
|
22348
22356
|
}(At = { date: At.date, day: At.day, current: At.current }), he = dt(At) && !At.disabled, be = "".concat(he ? "sd" : ""), ot = le.children;
|
|
@@ -22354,7 +22362,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22354
22362
|
else {
|
|
22355
22363
|
(Ze && pt < Ze || Ke && pt > Ke || Ne.disabled) && (ht.push("rmdp-disabled"), Ne.disabled || (Ne.disabled = !0)), sn || ht.push("rmdp-deactive");
|
|
22356
22364
|
var zt = Qe > 1 && sn || Qe === 1;
|
|
22357
|
-
Ne.disabled && Ge || (y(pt,
|
|
22365
|
+
Ne.disabled && Ge || (y(pt, Ce) && ht.push("rmdp-today"), sr = pt, [].concat(Ve).some(function(Yt) {
|
|
22358
22366
|
return y(Yt, sr);
|
|
22359
22367
|
}) && zt && !Fe && ht.push("rmdp-selected")), Fe && !Ne.disabled && zt && (ht.push(w(pt, Ve)), ht = ht.concat(I(pt, Ve, It, He)));
|
|
22360
22368
|
}
|
|
@@ -22383,12 +22391,12 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22383
22391
|
return i.default.createElement("span", { className: "rmdp-arrow-container ".concat(_, " ").concat(re ? "disabled" : ""), onClick: q }, i.default.createElement("i", { className: "rmdp-arrow" }));
|
|
22384
22392
|
}
|
|
22385
22393
|
function O(F) {
|
|
22386
|
-
var _ = F.state, q = F.setState, re = F.disableYearPicker, fe = F.disableMonthPicker, ge = F.buttons, Ge = F.renderButton, Le = F.handleMonthChange, Pe = F.disabled, De = F.hideMonth, ye = F.hideYear, et = F.isRTL, Je = F.fullYear, ut = p(F.monthAndYears, 2), Ot = ut[0], an = ut[1], on = {}, Se = _.date, je = _.onlyMonthPicker, He = _.onlyYearPicker, Te = _.mustShowYearPicker,
|
|
22394
|
+
var _ = F.state, q = F.setState, re = F.disableYearPicker, fe = F.disableMonthPicker, ge = F.buttons, Ge = F.renderButton, Le = F.handleMonthChange, Pe = F.disabled, De = F.hideMonth, ye = F.hideYear, et = F.isRTL, Je = F.fullYear, ut = p(F.monthAndYears, 2), Ot = ut[0], an = ut[1], on = {}, Se = _.date, je = _.onlyMonthPicker, He = _.onlyYearPicker, Te = _.mustShowYearPicker, Ce = _.minDate, Ze = _.maxDate, Ke = _.year, Fe = _.today, xe = Ce && Se.year <= Ce.year && Ce.monthIndex > Se.monthIndex - 1, Ve = Ze && Se.year >= Ze.year && Ze.monthIndex < Se.monthIndex + 1, Xe = Fe.year + 7;
|
|
22387
22395
|
if (Xe -= 12 * Math.floor((Xe - Ke) / 12), (De || Je) && ye && !ge)
|
|
22388
22396
|
return null;
|
|
22389
|
-
if ((De && ye || He && ye || ge && ye) && (on.minHeight = "36px"), (je || Je) && (
|
|
22397
|
+
if ((De && ye || He && ye || ge && ye) && (on.minHeight = "36px"), (je || Je) && (Ce && Ce.year >= Se.year && (xe = !0), Ze && Ze.year <= Se.year && (Ve = !0)), Te || He) {
|
|
22390
22398
|
var xt = Xe - 11;
|
|
22391
|
-
xe =
|
|
22399
|
+
xe = Ce && Ce.year > xt, Ve = Ze && Ze.year < Xe;
|
|
22392
22400
|
}
|
|
22393
22401
|
return Pe && (xe = !0, Ve = !0), i.default.createElement("div", { className: "rmdp-header" }, i.default.createElement("div", { style: { position: "relative", display: "flex" } }, ge && nt("left"), Je ? i.default.createElement("div", { className: "rmdp-header-values", style: on }, !ye && Se.format("YYYY")) : Ot.map(function(ke, St) {
|
|
22394
22402
|
return i.default.createElement("div", { key: St, className: "rmdp-header-values", style: on }, !De && i.default.createElement("span", { style: { cursor: Pe || fe || je ? "default" : "pointer" }, onClick: function() {
|
|
@@ -22404,7 +22412,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22404
22412
|
return Ge instanceof Function ? Ge(ke, St, dt) : t.isValidElement(Ge) ? t.cloneElement(Ge, { direction: ke, handleClick: St, disabled: dt }) : i.default.createElement(B, { direction: "rmdp-".concat(ke), onClick: St, disabled: dt });
|
|
22405
22413
|
}
|
|
22406
22414
|
function it(ke) {
|
|
22407
|
-
Pe || ke < 0 && xe || ke > 0 && Ve || (Je ? Se.year += ke : Te || He ? (Ke += 12 * ke, ke < 0 &&
|
|
22415
|
+
Pe || ke < 0 && xe || ke > 0 && Ve || (Je ? Se.year += ke : Te || He ? (Ke += 12 * ke, ke < 0 && Ce && Ke < Ce.year && (Ke = Ce.year), ke > 0 && Ze && Ke > Ze.year && (Ke = Ze.year)) : (Se.toFirstOfMonth(), je ? Se.year += ke : (Se.month += ke, Le(Se))), q(u(u({}, _), {}, { date: Se, year: Ke })));
|
|
22408
22416
|
}
|
|
22409
22417
|
function It(ke) {
|
|
22410
22418
|
if (!Pe) {
|
|
@@ -22417,7 +22425,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22417
22425
|
return b(F) || (F = []), JSON.stringify(F);
|
|
22418
22426
|
}
|
|
22419
22427
|
function D(F) {
|
|
22420
|
-
var _ = F.state, q = F.onChange, re = F.customMonths, fe = F.sort, ge = F.handleMonthChange, Ge = F.handleFocusedDate, Le = F.rangeHover, Pe = _.date, De = _.today, ye = _.minDate, et = _.maxDate, Je = _.calendar, ut = _.locale, Ot = _.onlyMonthPicker, an = _.onlyYearPicker, on = _.range, Se = _.onlyShowInRangeDates, je = (_.mustShowMonthPicker || Ot) && !an, He = p(t.useState(), 2), Te = He[0],
|
|
22428
|
+
var _ = F.state, q = F.onChange, re = F.customMonths, fe = F.sort, ge = F.handleMonthChange, Ge = F.handleFocusedDate, Le = F.rangeHover, Pe = _.date, De = _.today, ye = _.minDate, et = _.maxDate, Je = _.calendar, ut = _.locale, Ot = _.onlyMonthPicker, an = _.onlyYearPicker, on = _.range, Se = _.onlyShowInRangeDates, je = (_.mustShowMonthPicker || Ot) && !an, He = p(t.useState(), 2), Te = He[0], Ce = He[1];
|
|
22421
22429
|
re = re && P(re);
|
|
22422
22430
|
var Ze = t.useMemo(function() {
|
|
22423
22431
|
var xe = re && JSON.parse(re), Ve = [], Xe = 0, xt = new l.default({ calendar: Je, locale: ut, format: _.date._format, year: _.date.year, month: 1, day: 1 });
|
|
@@ -22434,14 +22442,14 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22434
22442
|
return Ve;
|
|
22435
22443
|
}, [Je, ut, re, _.date.year, _.date._format]);
|
|
22436
22444
|
return i.default.createElement("div", { className: "".concat(Ot ? "only " : "", "rmdp-month-picker"), style: { display: je ? "block" : "none" }, onMouseLeave: function() {
|
|
22437
|
-
return Le &&
|
|
22445
|
+
return Le && Ce();
|
|
22438
22446
|
} }, Ze.map(function(xe, Ve) {
|
|
22439
22447
|
return i.default.createElement("div", { key: Ve, className: "rmdp-ym" }, xe.map(function(Xe, xt) {
|
|
22440
22448
|
var nt = Xe.date, it = Xe.name;
|
|
22441
22449
|
return i.default.createElement("div", { key: xt, className: Fe(nt), onClick: function() {
|
|
22442
22450
|
return Ke(nt);
|
|
22443
22451
|
}, onMouseEnter: function() {
|
|
22444
|
-
return Le &&
|
|
22452
|
+
return Le && Ce(nt);
|
|
22445
22453
|
} }, i.default.createElement("span", { className: Ot ? "sd" : "" }, it));
|
|
22446
22454
|
}));
|
|
22447
22455
|
}));
|
|
@@ -22472,7 +22480,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22472
22480
|
function R(F) {
|
|
22473
22481
|
var _ = F.state, q = F.onChange, re = F.sort, fe = F.handleFocusedDate, ge = F.onYearChange, Ge = F.rangeHover, Le = _.date, Pe = _.today, De = _.minDate, ye = _.maxDate, et = _.onlyYearPicker, Je = _.range, ut = _.onlyShowInRangeDates, Ot = _.year, an = _.mustShowYearPicker || et, on = Le.digits, Se = p(t.useState(), 2), je = Se[0], He = Se[1], Te = Pe.year - 4;
|
|
22474
22482
|
Te -= 12 * Math.ceil((Te - Ot) / 12);
|
|
22475
|
-
var
|
|
22483
|
+
var Ce = t.useMemo(function() {
|
|
22476
22484
|
for (var Fe = [], xe = Te, Ve = 0; Ve < 4; Ve++) {
|
|
22477
22485
|
for (var Xe = [], xt = 0; xt < 3; xt++)
|
|
22478
22486
|
Xe.push(xe), xe++;
|
|
@@ -22480,7 +22488,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22480
22488
|
}
|
|
22481
22489
|
return Fe;
|
|
22482
22490
|
}, [Te]);
|
|
22483
|
-
return i.default.createElement("div", { className: "".concat(et ? "only " : "", "rmdp-year-picker"), style: { display: an ? "block" : "none" } },
|
|
22491
|
+
return i.default.createElement("div", { className: "".concat(et ? "only " : "", "rmdp-year-picker"), style: { display: an ? "block" : "none" } }, Ce.map(function(Fe, xe) {
|
|
22484
22492
|
return i.default.createElement("div", { key: xe, className: "rmdp-ym", onMouseLeave: function() {
|
|
22485
22493
|
return Ge && He();
|
|
22486
22494
|
} }, Fe.map(function(Ve, Xe) {
|
|
@@ -22561,10 +22569,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22561
22569
|
N(".rmdp-wrapper{background-color:#fff;border-radius:5px;direction:ltr;text-align:center;width:max-content}.rmdp-shadow{box-shadow:0 0 5px #8798ad}.rmdp-border{border:1px solid #cfd8e2}.rmdp-calendar{height:max-content;padding:4px}.rmdp-border-top{border-top:1px solid #cfd8e2}.rmdp-border-bottom{border-bottom:1px solid #cfd8e2}.rmdp-border-left{border-left:1px solid #cfd8e2}.rmdp-border-right{border-right:1px solid #cfd8e2}.rmdp-week,.rmdp-ym{display:flex;justify-content:space-between}.rmdp-ym{height:25%}.rmdp-day,.rmdp-week-day{color:#000;cursor:pointer;height:34px;position:relative;width:34px}.rmdp-week-day{color:#0074d9;cursor:default;font-size:13px;font-weight:500}.rmdp-day span,.rmdp-week-day{display:flex;flex-direction:column;justify-content:center}.rmdp-day span{border-radius:50%;bottom:3px;font-size:14px;left:3px;position:absolute;right:3px;top:3px}.rmdp-day.rmdp-today span{background-color:#7fdbff;color:#fff}.rmdp-day.rmdp-selected span:not(.highlight){background-color:#0074d9;box-shadow:0 0 3px #8798ad;color:#fff}.rmdp-day.rmdp-deactive,.rmdp-day.rmdp-disabled{color:#8798ad}.rmdp-day.rmdp-deactive.rmdp-selected span{background-color:#4ca6f5;box-shadow:0 0 3px #bac5d3}.rmdp-ym .rmdp-day{flex:1;margin:auto}.rmdp-ym .rmdp-day span{border-radius:12px;padding:2px 0}.rmdp-range{background-color:#0074d9;box-shadow:0 0 3px #8798ad;color:#fff}.rmdp-range-hover{background-color:#7ea6f0;color:#fff}.rmdp-range-hover.start,.rmdp-range.start{border-bottom-left-radius:50%;border-top-left-radius:50%}.rmdp-range-hover.end,.rmdp-range.end{border-bottom-right-radius:50%;border-top-right-radius:50%}.rmdp-ym .rmdp-range-hover.start,.rmdp-ym .rmdp-range.start{border-bottom-left-radius:15px;border-top-left-radius:15px}.rmdp-ym .rmdp-range-hover.end,.rmdp-ym .rmdp-range.end{border-bottom-right-radius:15px;border-top-right-radius:15px}.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) span:hover{background-color:#7ea6f0;color:#fff}.rmdp-day-picker{padding:5px}.rmdp-header{font-size:14px;height:38px;line-height:37px;margin-top:5px}.rmdp-month-picker,.rmdp-year-picker{background-color:#fff;border-radius:0 0 5px 5px;bottom:2px;left:2px;position:absolute;right:2px;top:2px}.only.rmdp-month-picker,.only.rmdp-year-picker{height:240px;position:static;width:250px}.rmdp-header-values{color:#000;margin:auto}.rmdp-header-values span{padding:0 0 0 5px}.rmdp-arrow{border:solid #0074d9;border-width:0 2px 2px 0;display:inline-block;height:3px;margin-top:5px;padding:2px;width:3px}.rmdp-right i{margin-right:3px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.rmdp-left i{margin-left:3px;transform:rotate(135deg);-webkit-transform:rotate(135deg)}.rmdp-left,.rmdp-right{position:absolute;top:54%;transform:translateY(-50%)}.rmdp-left{left:0}.rmdp-right{right:0}.rmdp-arrow-container{border-radius:50%;cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;width:20px}.rmdp-arrow-container:hover{background-color:#0074d9;box-shadow:0 0 3px #8798ad}.rmdp-arrow-container:hover .rmdp-arrow{border:solid #fff;border-width:0 2px 2px 0}.rmdp-arrow-container.disabled{cursor:default}.rmdp-arrow-container.disabled:hover{background-color:inherit;box-shadow:inherit}.rmdp-arrow-container.disabled .rmdp-arrow,.rmdp-arrow-container.disabled:hover .rmdp-arrow{border:solid gray;border-width:0 2px 2px 0}.rmdp-rtl{direction:rtl}.rmdp-rtl .rmdp-left i{margin-left:0;margin-right:3px;transform:rotate(-45deg);-webkit-transform:rotate(-45deg)}.rmdp-rtl .rmdp-right i{margin-left:3px;margin-right:0;transform:rotate(135deg);-webkit-transform:rotate(135deg)}.rmdp-rtl .rmdp-right{left:0;right:auto}.rmdp-rtl .rmdp-left{left:auto;right:0}.rmdp-rtl .rmdp-range-hover.start,.rmdp-rtl .rmdp-range.start{border-bottom-left-radius:unset;border-bottom-right-radius:50%;border-top-left-radius:unset;border-top-right-radius:50%}.rmdp-rtl .rmdp-range-hover.end,.rmdp-rtl .rmdp-range.end{border-bottom-left-radius:50%;border-bottom-right-radius:unset;border-top-left-radius:50%;border-top-right-radius:unset}.rmdp-rtl .rmdp-range.start.end{border-radius:50%}.rmdp-rtl .rmdp-ym .rmdp-range-hover.start,.rmdp-rtl .rmdp-ym .rmdp-range.start{border-bottom-right-radius:15px;border-top-right-radius:15px}.rmdp-rtl .rmdp-ym .rmdp-range-hover.end,.rmdp-rtl .rmdp-ym .rmdp-range.end{border-bottom-left-radius:15px;border-top-left-radius:15px}.rmdp-day-hidden,.rmdp-day.rmdp-disabled{cursor:default}.rmdp-selected .highlight{box-shadow:0 0 3px #8798ad}.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) .highlight-red:hover{background-color:#ff6687}.rmdp-day:not(.rmdp-deactive) .highlight-red{color:#cc0303}.rmdp-day.rmdp-deactive .highlight-red{color:#e08e8e}.rmdp-day.rmdp-selected .highlight-red{background-color:#ea0034;color:#fff}.rmdp-day.rmdp-deactive.rmdp-selected .highlight-red{background-color:#e4b0ba;color:#fff}.rmdp-day:not(.rmdp-disabled):not(.rmdp-day-hidden) .highlight-green:hover{background-color:#4db6ac}.rmdp-day:not(.rmdp-deactive) .highlight-green{color:#00796b}.rmdp-day.rmdp-deactive .highlight-green{color:#7ab3ac}.rmdp-day.rmdp-selected .highlight-green{background-color:#009688;color:#fff}.rmdp-day.rmdp-deactive.rmdp-selected .highlight-green{background-color:#749c98;color:#fff}.rmdp-day-hidden,.rmdp-day-hidden:hover span{background-color:unset;color:transparent}.rmdp-month-name{cursor:default;font-size:14px;margin:3px 0}.rmdp-full-year{grid-template-columns:1fr 1fr 1fr}@media (max-height:450px),(max-width:450px){.rmdp-day,.rmdp-week-day{height:28px;width:28px}.rmdp-day span{font-size:12px;padding-left:.5px}.only.rmdp-month-picker,.only.rmdp-year-picker{height:200px;width:205px}.rmdp-header{height:32px;line-height:32px}.rmdp-header,.rmdp-month-name{font-size:12px}.rmdp-full-year{grid-template-columns:1fr 1fr}}");
|
|
22562
22570
|
var U = ["datePickerProps", "DatePicker"];
|
|
22563
22571
|
function K(F, _) {
|
|
22564
|
-
var q, re = F.value, fe = F.calendar, ge = F.locale, Ge = F.format, Le = F.onlyMonthPicker, Pe = F.onlyYearPicker, De = F.range, ye = De !== void 0 && De, et = F.multiple, Je = et !== void 0 && et, ut = F.className, Ot = F.weekDays, an = F.months, on = F.children, Se = F.onChange, je = F.showOtherDays, He = F.minDate, Te = F.maxDate,
|
|
22572
|
+
var q, re = F.value, fe = F.calendar, ge = F.locale, Ge = F.format, Le = F.onlyMonthPicker, Pe = F.onlyYearPicker, De = F.range, ye = De !== void 0 && De, et = F.multiple, Je = et !== void 0 && et, ut = F.className, Ot = F.weekDays, an = F.months, on = F.children, Se = F.onChange, je = F.showOtherDays, He = F.minDate, Te = F.maxDate, Ce = F.mapDays, Ze = F.disableMonthPicker, Ke = F.disableYearPicker, Fe = F.formattingIgnoreList, xe = F.onReady, Ve = F.onlyShowInRangeDates, Xe = Ve === void 0 || Ve, xt = F.zIndex, nt = xt === void 0 ? 100 : xt, it = F.plugins, It = it === void 0 ? [] : it, ke = F.sort, St = F.numberOfMonths, dt = St === void 0 ? 1 : St, kt = F.currentDate, Qn = F.digits, Yn = F.buttons, ln = Yn === void 0 || Yn, At = F.renderButton, X = F.weekStartDayIndex, le = X === void 0 ? 0 : X, he = F.disableDayPicker, be = F.onPropsChange, ot = F.onMonthChange, ft = F.onYearChange, Ne = F.onFocusedDateChange, Qe = F.readOnly, ht = F.disabled, pt = F.hideMonth, Mt = F.hideYear, sn = F.hideWeekDays, zt = F.shadow, sr = zt === void 0 || zt, Yt = F.fullYear, U1 = F.displayWeekNumbers, Un = F.weekNumber, x1 = F.weekPicker, bi = F.rangeHover;
|
|
22565
22573
|
!kt || kt instanceof l.default || (console.warn("currentDate must be instance of DateObject"), kt = void 0), (typeof le != "number" || le < 0 || le > 6) && (le = 0), (typeof dt != "number" || dt < 1 || Le || Pe) && (dt = 1), (Je || ye || b(re)) && (ye || Je || (Je = !0), Je && ye && (Je = !1)), x1 && (ye = !0, Je = !1), Yt && (dt = 12, Le = !1, Pe = !1), Pe && !pt && (pt = !0);
|
|
22566
22574
|
var Ei = J(fe, ge), Da = p(Ei, 2);
|
|
22567
|
-
fe = Da[0], ge = Da[1], Ge = j(Le, Pe, Ge), Fe = P(Fe),
|
|
22575
|
+
fe = Da[0], ge = Da[1], Ge = j(Le, Pe, Ge), Fe = P(Fe), Ce = [].concat(Ce).filter(Boolean), It = [].concat.apply([], It);
|
|
22568
22576
|
var xi = t.useState({}), ll = p(xi, 2), cr = ll[0], w1 = ll[1], ja = {}, tr = t.useRef({ mustCallOnReady: !0, currentDate: kt });
|
|
22569
22577
|
t.useEffect(function() {
|
|
22570
22578
|
w1(function(Ye) {
|
|
@@ -22609,7 +22617,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22609
22617
|
tr.current.isReady && tr.current.mustCallOnReady && xe instanceof Function && (tr.current.mustCallOnReady = !1, xe());
|
|
22610
22618
|
}, [tr.current.isReady, xe]);
|
|
22611
22619
|
var I1 = "rmdp-top-class " + dl(["top", "bottom"]), M1 = { top: [], bottom: [], left: [], right: [] }, bs = G((q = cr.date) === null || q === void 0 ? void 0 : q.locale), Ha = { state: cr, setState: w1, onChange: J1, sort: ke, handleFocusedDate: ul, isRTL: bs, fullYear: Yt, monthAndYears: ws(), rangeHover: bi }, La = arguments[0], Ta = La.datePickerProps, Tu = La.DatePicker, sl = h(La, U);
|
|
22612
|
-
return cl(), cr.today ? i.default.createElement("div", { ref: xs, className: "rmdp-wrapper rmdp-".concat(sr ? "shadow" : "border", " ").concat(ut || ""), style: { zIndex: nt } }, M1.top, i.default.createElement("div", { style: { display: "flex" }, className: I1 }, M1.left, !he && i.default.createElement("div", { className: "rmdp-calendar ".concat(bs ? "rmdp-rtl" : "", " ").concat(dl(["left", "right"])) }, i.default.createElement(O, f({}, Ha, { disableYearPicker: Ke, disableMonthPicker: Ze, buttons: ln, renderButton: At, handleMonthChange: S1, disabled: ht, hideMonth: pt, hideYear: Mt })), i.default.createElement("div", { style: { position: "relative" } }, i.default.createElement(S, f({}, Ha, { showOtherDays: je, mapDays:
|
|
22620
|
+
return cl(), cr.today ? i.default.createElement("div", { ref: xs, className: "rmdp-wrapper rmdp-".concat(sr ? "shadow" : "border", " ").concat(ut || ""), style: { zIndex: nt } }, M1.top, i.default.createElement("div", { style: { display: "flex" }, className: I1 }, M1.left, !he && i.default.createElement("div", { className: "rmdp-calendar ".concat(bs ? "rmdp-rtl" : "", " ").concat(dl(["left", "right"])) }, i.default.createElement(O, f({}, Ha, { disableYearPicker: Ke, disableMonthPicker: Ze, buttons: ln, renderButton: At, handleMonthChange: S1, disabled: ht, hideMonth: pt, hideYear: Mt })), i.default.createElement("div", { style: { position: "relative" } }, i.default.createElement(S, f({}, Ha, { showOtherDays: je, mapDays: Ce, onlyShowInRangeDates: Xe, customWeekDays: Ot, numberOfMonths: dt, weekStartDayIndex: le, hideWeekDays: sn, displayWeekNumbers: U1, weekNumber: Un })), !Yt && i.default.createElement(i.default.Fragment, null, !Ze && i.default.createElement(D, f({}, Ha, { customMonths: an, handleMonthChange: S1 })), !Ke && i.default.createElement(R, f({}, Ha, { onYearChange: ft }))))), M1.right), M1.bottom, on) : null;
|
|
22613
22621
|
function cl() {
|
|
22614
22622
|
if (tr.current.isReady && b(It)) {
|
|
22615
22623
|
var Ye = { state: cr, setState: w1, registerListener: ku, calendarProps: sl, datePickerProps: Ta, handleChange: J1, Calendar: tr.current.Calendar, DatePicker: Tu, handlePropsChange: Es, handleFocusedDate: function(lt) {
|
|
@@ -22631,7 +22639,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22631
22639
|
M1[cn].push(t.cloneElement(lt, u({ key: vt, position: cn, nodes: wt }, Ye)));
|
|
22632
22640
|
}
|
|
22633
22641
|
} else
|
|
22634
|
-
lt.type === "mapDays" &&
|
|
22642
|
+
lt.type === "mapDays" && Ce.push(lt.fn(Ye));
|
|
22635
22643
|
});
|
|
22636
22644
|
}
|
|
22637
22645
|
}
|
|
@@ -22711,7 +22719,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22711
22719
|
N('.rmdp-visible{visibility:visible}.rmdp-invisible{visibility:hidden}.rmdp-input{border:1px solid #c0c4d6;border-radius:5px;height:22px;margin:1px 0;padding:2px 5px}.rmdp-input:focus{border:1px solid #a4b3c5;box-shadow:0 0 2px #a4b3c5;outline:none!important}.rmdp-button{background-color:#0074d9;border:none;border-radius:5px;color:#fff;cursor:pointer;display:inline-block;padding:7px 16px;text-align:center;text-decoration:none;transition:.3s}.rmdp-button:hover{background-color:#143ac5;transition:.4s}.rmdp-button:disabled{background-color:#8798ad}.rmdp-action-button{border-radius:unset;color:#2682d3;float:right;font-weight:700;margin:15px 10px 15px 0}.rmdp-action-button,.rmdp-action-button:hover{background-color:transparent}.rmdp-ep-arrow{overflow:hidden;will-change:transform}.rmdp-ep-arrow:after{background-color:#fff;content:"";height:12px;position:absolute;transform:rotate(45deg);width:12px}.rmdp-ep-shadow:after{box-shadow:0 0 6px #8798ad}.rmdp-ep-border:after{border:1px solid #cfd8e2}.rmdp-ep-arrow[direction=top]{border-bottom:1px solid #fff}.rmdp-ep-arrow[direction=left]{border-right:1px solid #fff}.rmdp-ep-arrow[direction=right]{border-left:1px solid #fff;margin-left:-1px}.rmdp-ep-arrow[direction=bottom]{border-top:1px solid #fff;margin-top:-1.5px}.rmdp-ep-arrow[direction=top]:after{left:4px;top:5px}.rmdp-ep-arrow[direction=bottom]:after{left:4px;top:-6px}.rmdp-ep-arrow[direction=left]:after{left:5px;top:3px}.rmdp-ep-arrow[direction=right]:after{left:-6px;top:3px}');
|
|
22712
22720
|
var oe = ["value", "calendar", "locale", "format", "onlyMonthPicker", "onlyYearPicker", "onChange", "range", "multiple", "name", "id", "title", "placeholder", "required", "style", "className", "inputClass", "disabled", "render", "weekDays", "months", "children", "inputMode", "scrollSensitive", "hideOnScroll", "minDate", "maxDate", "formattingIgnoreList", "containerClassName", "calendarPosition", "editable", "onOpen", "onClose", "arrowClassName", "zIndex", "arrow", "fixMainPosition", "onPositionChange", "onPropsChange", "digits", "readOnly", "shadow", "onFocusedDateChange", "type", "weekPicker", "mobileLabels", "onOpenPickNewDate", "mobileButtons"], Q = ["label"];
|
|
22713
22721
|
function ue(F, _) {
|
|
22714
|
-
var q = F.value, re = F.calendar, fe = F.locale, ge = F.format, Ge = F.onlyMonthPicker, Le = F.onlyYearPicker, Pe = F.onChange, De = F.range, ye = De !== void 0 && De, et = F.multiple, Je = et !== void 0 && et, ut = F.name, Ot = F.id, an = F.title, on = F.placeholder, Se = F.required, je = F.style, He = je === void 0 ? {} : je, Te = F.className,
|
|
22722
|
+
var q = F.value, re = F.calendar, fe = F.locale, ge = F.format, Ge = F.onlyMonthPicker, Le = F.onlyYearPicker, Pe = F.onChange, De = F.range, ye = De !== void 0 && De, et = F.multiple, Je = et !== void 0 && et, ut = F.name, Ot = F.id, an = F.title, on = F.placeholder, Se = F.required, je = F.style, He = je === void 0 ? {} : je, Te = F.className, Ce = Te === void 0 ? "" : Te, Ze = F.inputClass, Ke = F.disabled, Fe = F.render, xe = F.weekDays, Ve = F.months, Xe = F.children, xt = F.inputMode, nt = F.scrollSensitive, it = nt === void 0 || nt, It = F.hideOnScroll, ke = F.minDate, St = F.maxDate, dt = F.formattingIgnoreList, kt = F.containerClassName, Qn = kt === void 0 ? "" : kt, Yn = F.calendarPosition, ln = Yn === void 0 ? "bottom-left" : Yn, At = F.editable, X = At === void 0 || At, le = F.onOpen, he = F.onClose, be = F.arrowClassName, ot = be === void 0 ? "" : be, ft = F.zIndex, Ne = ft === void 0 ? 100 : ft, Qe = F.arrow, ht = Qe === void 0 || Qe, pt = F.fixMainPosition, Mt = F.onPositionChange, sn = F.onPropsChange, zt = F.digits, sr = F.readOnly, Yt = F.shadow, U1 = Yt === void 0 || Yt, Un = F.onFocusedDateChange, x1 = F.type, bi = F.weekPicker, Ei = F.mobileLabels, Da = F.onOpenPickNewDate, xi = Da === void 0 || Da, ll = F.mobileButtons, cr = ll === void 0 ? [] : ll, w1 = h(F, oe), ja = t.useState(), tr = p(ja, 2), I1 = tr[0], M1 = tr[1], bs = t.useState(), Ha = p(bs, 2), La = Ha[0], Ta = Ha[1], Tu = t.useState(""), sl = p(Tu, 2), cl = sl[0], J1 = sl[1], Es = t.useState(!1), ul = p(Es, 2), S1 = ul[0], dl = ul[1], ku = t.useState(!1), xs = p(ku, 2), ws = xs[0], Ye = xs[1], Pt = t.useRef(), lt = t.useRef(), vt = t.useRef(), wt = t.useRef({}), cn = ye || bi ? " ~ " : ", ", hn = arguments[0], Wt = rB(), Gn = t.useCallback(function() {
|
|
22715
22723
|
if ((he == null ? void 0 : he()) !== !1) {
|
|
22716
22724
|
var we = Me(lt);
|
|
22717
22725
|
if (we && we.blur(), wt.current.mobile) {
|
|
@@ -22761,7 +22769,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22761
22769
|
var Ct = Me(lt);
|
|
22762
22770
|
Ct && (Ct.setSelectionRange(we, we), wt.current.selection = void 0, Pt.current.refreshPosition());
|
|
22763
22771
|
}
|
|
22764
|
-
}, [cl]), (Je || ye || b(I1) || !X) && (xt = "none"), i.default.createElement(o.default, f({ ref: Rn, element: hl(), popper: S1 && nB(), active: !Wt && ws, position: ln, arrow: !Wt && ht, fixMainPosition: !it || pt, zIndex: Ne, onChange: !Wt && Mt, containerClassName: "rmdp-container ".concat(Qn), arrowClassName: ["rmdp-ep-arrow", "rmdp-ep-".concat(U1 ? "shadow" : "border"),
|
|
22772
|
+
}, [cl]), (Je || ye || b(I1) || !X) && (xt = "none"), i.default.createElement(o.default, f({ ref: Rn, element: hl(), popper: S1 && nB(), active: !Wt && ws, position: ln, arrow: !Wt && ht, fixMainPosition: !it || pt, zIndex: Ne, onChange: !Wt && Mt, containerClassName: "rmdp-container ".concat(Qn), arrowClassName: ["rmdp-ep-arrow", "rmdp-ep-".concat(U1 ? "shadow" : "border"), Ce, ot].join(" ") }, w1));
|
|
22765
22773
|
function Rn(we) {
|
|
22766
22774
|
if (we && (we.openCalendar = function() {
|
|
22767
22775
|
return setTimeout(function() {
|
|
@@ -22779,10 +22787,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
22779
22787
|
return i.default.createElement("input", { ref: lt, type: "text", name: ut, id: Ot, title: an, required: Se, onFocus: Is, className: Ze || "rmdp-input", placeholder: on, value: cl, onChange: Nu, style: He, autoComplete: "off", disabled: !!Ke, inputMode: xt || (Wt ? "none" : void 0), readOnly: sr });
|
|
22780
22788
|
}
|
|
22781
22789
|
function nB() {
|
|
22782
|
-
return i.default.createElement(ae, f({ ref: vt, value: La || I1, onChange: pl, range: ye, multiple: Je, calendar: re, locale: fe, format: ge, onlyMonthPicker: Ge, onlyYearPicker: Le, className:
|
|
22790
|
+
return i.default.createElement(ae, f({ ref: vt, value: La || I1, onChange: pl, range: ye, multiple: Je, calendar: re, locale: fe, format: ge, onlyMonthPicker: Ge, onlyYearPicker: Le, className: Ce + (Wt ? " rmdp-mobile" : ""), weekDays: xe, months: Ve, digits: zt, minDate: ke, maxDate: St, formattingIgnoreList: JSON.parse(dt), onPropsChange: sn, shadow: U1, onReady: oB, DatePicker: Pt.current, datePickerProps: hn, onFocusedDateChange: lB, weekPicker: bi }, w1), Xe, Wt && aB());
|
|
22783
22791
|
}
|
|
22784
22792
|
function rB() {
|
|
22785
|
-
return typeof
|
|
22793
|
+
return typeof Ce == "string" && Ce.includes("rmdp-mobile");
|
|
22786
22794
|
}
|
|
22787
22795
|
function aB() {
|
|
22788
22796
|
var we = [].concat.apply([], hn.plugins || []).some(function(Ct) {
|