@cagatayfdn/flora-components 0.0.71 → 0.0.73
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/Accordion.css +1 -0
- package/dist/ActionButton.css +1 -0
- package/dist/AlertCard.css +1 -0
- package/dist/Autocomplete.css +1 -0
- package/dist/Button.css +1 -0
- package/dist/Card.css +1 -0
- package/dist/Checkbox.css +1 -0
- package/dist/Config.css +1 -0
- package/dist/Confirm.css +1 -0
- package/dist/ContentHeader.css +1 -0
- package/dist/Datepicker.css +1 -0
- package/dist/Divider.css +1 -0
- package/dist/DropdownList.css +1 -0
- package/dist/ErrorLogModal.css +1 -0
- package/dist/FileUpload.css +1 -0
- package/dist/FileUpload.module-bCNvwTRa.js +32 -0
- package/dist/Heading.css +1 -0
- package/dist/InfoBoxList.css +1 -0
- package/dist/InfoBoxList.module-C6t2KDOB.js +8 -0
- package/dist/InfoDate.css +1 -0
- package/dist/InfoText.css +1 -0
- package/dist/Input.css +1 -0
- package/dist/Label.css +1 -0
- package/dist/Legends.css +1 -0
- package/dist/Loading.css +1 -0
- package/dist/MenuItem-BGZHvTKI.js +53 -0
- package/dist/MenuItem.css +1 -0
- package/dist/Modal.css +1 -0
- package/dist/NoResult.css +1 -0
- package/dist/PageWrap.css +1 -0
- package/dist/Pager.css +1 -0
- package/dist/Panel.css +1 -0
- package/dist/Radio.css +1 -0
- package/dist/ResultError.css +1 -0
- package/dist/ScrollContainer.css +1 -0
- package/dist/Select-DcLZCXNo.js +1831 -0
- package/dist/Select.css +1 -0
- package/dist/Select.module-BVWgPUEN.js +20 -0
- package/dist/StatusTypography.css +1 -0
- package/dist/Stepper.css +1 -0
- package/dist/Switch.css +1 -0
- package/dist/Tab.css +1 -0
- package/dist/TableHeader-B91BXue0.js +159 -0
- package/dist/TableHeader.css +1 -0
- package/dist/Textarea.css +1 -0
- package/dist/Tooltip.css +1 -0
- package/dist/Trans-B4ILpbwK.js +343 -0
- package/dist/TypographyText.css +1 -0
- package/dist/ValidationError.css +1 -0
- package/dist/_commonjsHelpers-CT_km90n.js +30 -0
- package/dist/_isArray-CBUZFxFA.js +6 -0
- package/dist/_isString-BUpNGP_8.js +6 -0
- package/dist/_reduce-DsUCMz4O.js +148 -0
- package/dist/assets/icons/icons.js +62 -0
- package/dist/assets/images/500_error_2x.gif +0 -0
- package/dist/assets/images/oms.png +0 -0
- package/dist/components/Accordion/Accordion.js +57 -0
- package/dist/components/ActionButton/ActionButton.js +54 -0
- package/dist/components/AlertCard/AlertCard.js +29 -0
- package/dist/components/AuthUserCan/Permission.js +18 -0
- package/dist/components/AuthUserCan/index.js +23 -0
- package/dist/components/Autocomplete/Autocomplete.js +87 -0
- package/dist/components/Button/Button.js +87 -0
- package/dist/components/Card/Card.js +21 -0
- package/dist/components/Charts/Bar.js +18 -0
- package/dist/components/Charts/Legends.js +21 -0
- package/dist/components/Charts/Line.js +18 -0
- package/dist/components/Charts/Pie.js +43 -0
- package/dist/components/Charts/index.js +31 -0
- package/dist/components/Charts/types.js +1 -0
- package/dist/components/Charts/utils.js +12 -0
- package/dist/components/Checkbox/Checkbox.js +119 -0
- package/dist/components/Config/Config.js +32 -0
- package/dist/components/Confirm/Confirm.js +52 -0
- package/dist/components/ContentHeader/ContentHeader.js +75 -0
- package/dist/components/ContentLoader/ContentLoader.js +16 -0
- package/dist/components/Countdown/Countdown.js +20 -0
- package/dist/components/Datepicker/Datepicker.js +1478 -0
- package/dist/components/Divider/Divider.js +26 -0
- package/dist/components/Dropdown/DropdownList.js +90 -0
- package/dist/components/ErrorLogModal/ErrorLogModal.js +63 -0
- package/dist/components/FileUpload/FileUpload.js +237 -0
- package/dist/components/FileUpload/ImagePreview.js +19 -0
- package/dist/components/FileUpload/LengthCard.js +6 -0
- package/dist/components/FileUpload/PreviewModal.js +53 -0
- package/dist/components/Grid/Column.js +29 -0
- package/dist/components/Grid/Row.js +6 -0
- package/dist/components/Heading/Heading.js +22 -0
- package/dist/components/Icon/index.js +24 -0
- package/dist/components/InfiniteScroll/InfiniteScroll.js +41 -0
- package/dist/components/InfoBoxList/InfoBoxList.js +30 -0
- package/dist/components/InfoBoxList/helper.js +83 -0
- package/dist/components/InfoDate/InfoDate.js +19 -0
- package/dist/components/InfoText/InfoText.js +13 -0
- package/dist/components/Input/Input.js +140 -0
- package/dist/components/Label/Label.js +22 -0
- package/dist/components/Loading/Loading.js +62 -0
- package/dist/components/Modal/Modal.js +57 -0
- package/dist/components/NavigatorCard/index.js +59 -0
- package/dist/components/NoResult/NoResult.js +12 -0
- package/dist/components/Notification/Notification.js +26 -0
- package/dist/components/PageWrapper/PageWrap.js +46 -0
- package/dist/components/Pager/Pager.js +103 -0
- package/dist/components/Panel/Panel.js +69 -0
- package/dist/components/PermaLink/PermaLink.js +34 -0
- package/dist/components/Radio/Radio.js +96 -0
- package/dist/components/ResultError/ResultError.js +20 -0
- package/dist/components/ScrollContainer/ScrollContainer.js +21 -0
- package/dist/components/Select/NoData.js +10 -0
- package/dist/components/Select/OptionItem.js +19 -0
- package/dist/components/Select/Select.js +13 -0
- package/dist/components/Sidebar/MenuItem.js +9 -0
- package/dist/components/Sidebar/index.js +137 -0
- package/dist/components/StatusTypography/StatusTypography.js +51 -0
- package/dist/components/Stepper/Stepper.js +72 -0
- package/dist/components/Switch/Switch.js +79 -0
- package/dist/components/Tab/Tab.js +28 -0
- package/dist/components/Table/Table.js +201 -0
- package/dist/components/Table/TableHeader.js +14 -0
- package/dist/components/Textarea/Textarea.js +95 -0
- package/dist/components/Tooltip/Tooltip.js +1548 -0
- package/dist/components/TypographyText/TypographyText.js +87 -0
- package/dist/components/ValidationError/ValidationError.js +7 -0
- package/dist/components/index.js +125 -0
- package/dist/defineProperty-DeKy1XT0.js +37 -0
- package/dist/enums/appearance.js +14 -0
- package/dist/enums/applicationTypeSlug.js +4 -0
- package/dist/enums/index.js +27 -0
- package/dist/enums/isActiveColor.js +4 -0
- package/dist/enums/size.js +4 -0
- package/dist/enums/status.js +9 -0
- package/dist/equals-PL9KqVQf.js +119 -0
- package/dist/flatpickr-CRz1AV0e.js +59 -0
- package/dist/hooks/index.js +9 -0
- package/dist/hooks/useAauth.js +40 -0
- package/dist/hooks/useDisclosure.js +14 -0
- package/dist/hooks/useNiceModal.js +13 -0
- package/dist/i18nInstance-CiCZbaCK.js +55 -0
- package/dist/includes-8YTFrx85.js +46 -0
- package/dist/index-BHf7G3IG.js +35 -0
- package/dist/index-BJU1K2Aw.js +8003 -0
- package/dist/index-C9yacAGx.js +359 -0
- package/dist/index-CB61CB0b.js +669 -0
- package/dist/index-H7XbDVmH.js +320 -0
- package/dist/index-a0GSBrWt.js +364 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +181 -0
- package/dist/jsx-runtime-BcAkpsdy.js +631 -0
- package/dist/keys-B0bo5Q7o.js +67 -0
- package/dist/locales/en/index.js +613 -0
- package/dist/locales/i18n.js +1417 -0
- package/dist/locales/index.js +5 -0
- package/dist/locales/tr/index.js +613 -0
- package/dist/prodivers.css +6 -0
- package/dist/prodivers.js +12 -0
- package/dist/react-content-loader.es-CswLCxkm.js +90 -0
- package/dist/react-toastify.esm-BUWNP7Nm.js +808 -0
- package/dist/types/common/date.js +1 -0
- package/dist/types/common/events.js +1 -0
- package/dist/types/common/forms.js +1 -0
- package/dist/types/common/option.js +1 -0
- package/dist/types/index.js +1 -0
- package/dist/useTranslation-CnCPcxVj.js +142 -0
- package/dist/utils/date.js +413 -0
- package/dist/utils/flatpickr.js +4 -0
- package/dist/utils/helper.js +1463 -0
- package/dist/utils/index.js +21 -0
- package/dist/utils/language.js +46 -0
- package/dist/utils/validation.js +27 -0
- package/dist/utils/yup.js +2921 -0
- package/package.json +8 -2
- package/dist/index.cjs.js +0 -295
- package/dist/index.cjs.js.map +0 -1
- package/dist/index.es.js +0 -25008
- package/dist/index.es.js.map +0 -1
- package/dist/index.umd.js +0 -295
- package/dist/index.umd.js.map +0 -1
- package/dist/style.css +0 -1
|
@@ -0,0 +1,320 @@
|
|
|
1
|
+
import u, { useContext as I, useEffect as k, useCallback as m, useMemo as j, useReducer as T } from "react";
|
|
2
|
+
var d = function() {
|
|
3
|
+
return d = Object.assign || function(e) {
|
|
4
|
+
for (var r, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
+
r = arguments[i];
|
|
6
|
+
for (var t in r)
|
|
7
|
+
Object.prototype.hasOwnProperty.call(r, t) && (e[t] = r[t]);
|
|
8
|
+
}
|
|
9
|
+
return e;
|
|
10
|
+
}, d.apply(this, arguments);
|
|
11
|
+
}, V = function(e, r) {
|
|
12
|
+
var i = {};
|
|
13
|
+
for (var n in e)
|
|
14
|
+
Object.prototype.hasOwnProperty.call(e, n) && r.indexOf(n) < 0 && (i[n] = e[n]);
|
|
15
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
16
|
+
for (var t = 0, n = Object.getOwnPropertySymbols(e); t < n.length; t++)
|
|
17
|
+
r.indexOf(n[t]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[t]) && (i[n[t]] = e[n[t]]);
|
|
18
|
+
return i;
|
|
19
|
+
}, P = Symbol("NiceModalId"), x = {}, g = u.createContext(x), S = u.createContext(null), f = {}, C = {}, Y = 0, y = function() {
|
|
20
|
+
throw new Error("No dispatch method detected, did you embed your app with NiceModal.Provider?");
|
|
21
|
+
}, A = function() {
|
|
22
|
+
return "_nice_modal_" + Y++;
|
|
23
|
+
}, F = function(e, r) {
|
|
24
|
+
var i, n, t;
|
|
25
|
+
switch (e === void 0 && (e = x), r.type) {
|
|
26
|
+
case "nice-modal/show": {
|
|
27
|
+
var l = r.payload, o = l.modalId, a = l.args;
|
|
28
|
+
return d(d({}, e), (i = {}, i[o] = d(d({}, e[o]), {
|
|
29
|
+
id: o,
|
|
30
|
+
args: a,
|
|
31
|
+
// If modal is not mounted, mount it first then make it visible.
|
|
32
|
+
// There is logic inside HOC wrapper to make it visible after its first mount.
|
|
33
|
+
// This mechanism ensures the entering transition.
|
|
34
|
+
visible: !!C[o],
|
|
35
|
+
delayVisible: !C[o]
|
|
36
|
+
}), i));
|
|
37
|
+
}
|
|
38
|
+
case "nice-modal/hide": {
|
|
39
|
+
var o = r.payload.modalId;
|
|
40
|
+
return e[o] ? d(d({}, e), (n = {}, n[o] = d(d({}, e[o]), { visible: !1 }), n)) : e;
|
|
41
|
+
}
|
|
42
|
+
case "nice-modal/remove": {
|
|
43
|
+
var o = r.payload.modalId, v = d({}, e);
|
|
44
|
+
return delete v[o], v;
|
|
45
|
+
}
|
|
46
|
+
case "nice-modal/set-flags": {
|
|
47
|
+
var s = r.payload, o = s.modalId, h = s.flags;
|
|
48
|
+
return d(d({}, e), (t = {}, t[o] = d(d({}, e[o]), h), t));
|
|
49
|
+
}
|
|
50
|
+
default:
|
|
51
|
+
return e;
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
function G(e) {
|
|
55
|
+
var r;
|
|
56
|
+
return (r = f[e]) === null || r === void 0 ? void 0 : r.comp;
|
|
57
|
+
}
|
|
58
|
+
function J(e, r) {
|
|
59
|
+
return {
|
|
60
|
+
type: "nice-modal/show",
|
|
61
|
+
payload: {
|
|
62
|
+
modalId: e,
|
|
63
|
+
args: r
|
|
64
|
+
}
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
function X(e, r) {
|
|
68
|
+
return {
|
|
69
|
+
type: "nice-modal/set-flags",
|
|
70
|
+
payload: {
|
|
71
|
+
modalId: e,
|
|
72
|
+
flags: r
|
|
73
|
+
}
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
function q(e) {
|
|
77
|
+
return {
|
|
78
|
+
type: "nice-modal/hide",
|
|
79
|
+
payload: {
|
|
80
|
+
modalId: e
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function z(e) {
|
|
85
|
+
return {
|
|
86
|
+
type: "nice-modal/remove",
|
|
87
|
+
payload: {
|
|
88
|
+
modalId: e
|
|
89
|
+
}
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
var p = {}, b = {}, N = function(e) {
|
|
93
|
+
return typeof e == "string" ? e : (e[P] || (e[P] = A()), e[P]);
|
|
94
|
+
};
|
|
95
|
+
function D(e, r) {
|
|
96
|
+
var i = N(e);
|
|
97
|
+
if (typeof e != "string" && !f[i] && O(i, e), y(J(i, r)), !p[i]) {
|
|
98
|
+
var n, t, l = new Promise(function(o, a) {
|
|
99
|
+
n = o, t = a;
|
|
100
|
+
});
|
|
101
|
+
p[i] = {
|
|
102
|
+
resolve: n,
|
|
103
|
+
reject: t,
|
|
104
|
+
promise: l
|
|
105
|
+
};
|
|
106
|
+
}
|
|
107
|
+
return p[i].promise;
|
|
108
|
+
}
|
|
109
|
+
function _(e) {
|
|
110
|
+
var r = N(e);
|
|
111
|
+
if (y(q(r)), delete p[r], !b[r]) {
|
|
112
|
+
var i, n, t = new Promise(function(l, o) {
|
|
113
|
+
i = l, n = o;
|
|
114
|
+
});
|
|
115
|
+
b[r] = {
|
|
116
|
+
resolve: i,
|
|
117
|
+
reject: n,
|
|
118
|
+
promise: t
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
return b[r].promise;
|
|
122
|
+
}
|
|
123
|
+
var U = function(e) {
|
|
124
|
+
var r = N(e);
|
|
125
|
+
y(z(r)), delete p[r], delete b[r];
|
|
126
|
+
}, B = function(e, r) {
|
|
127
|
+
y(X(e, r));
|
|
128
|
+
};
|
|
129
|
+
function L(e, r) {
|
|
130
|
+
var i = I(g), n = I(S), t = null, l = e && typeof e != "string";
|
|
131
|
+
if (e ? t = N(e) : t = n, !t)
|
|
132
|
+
throw new Error("No modal id found in NiceModal.useModal.");
|
|
133
|
+
var o = t;
|
|
134
|
+
k(function() {
|
|
135
|
+
l && !f[o] && O(o, e, r);
|
|
136
|
+
}, [l, o, e, r]);
|
|
137
|
+
var a = i[o], v = m(function(M) {
|
|
138
|
+
return D(o, M);
|
|
139
|
+
}, [o]), s = m(function() {
|
|
140
|
+
return _(o);
|
|
141
|
+
}, [o]), h = m(function() {
|
|
142
|
+
return U(o);
|
|
143
|
+
}, [o]), E = m(function(M) {
|
|
144
|
+
var c;
|
|
145
|
+
(c = p[o]) === null || c === void 0 || c.resolve(M), delete p[o];
|
|
146
|
+
}, [o]), w = m(function(M) {
|
|
147
|
+
var c;
|
|
148
|
+
(c = p[o]) === null || c === void 0 || c.reject(M), delete p[o];
|
|
149
|
+
}, [o]), H = m(function(M) {
|
|
150
|
+
var c;
|
|
151
|
+
(c = b[o]) === null || c === void 0 || c.resolve(M), delete b[o];
|
|
152
|
+
}, [o]);
|
|
153
|
+
return j(function() {
|
|
154
|
+
return {
|
|
155
|
+
id: o,
|
|
156
|
+
args: a == null ? void 0 : a.args,
|
|
157
|
+
visible: !!(a != null && a.visible),
|
|
158
|
+
keepMounted: !!(a != null && a.keepMounted),
|
|
159
|
+
show: v,
|
|
160
|
+
hide: s,
|
|
161
|
+
remove: h,
|
|
162
|
+
resolve: E,
|
|
163
|
+
reject: w,
|
|
164
|
+
resolveHide: H
|
|
165
|
+
};
|
|
166
|
+
}, [
|
|
167
|
+
o,
|
|
168
|
+
a == null ? void 0 : a.args,
|
|
169
|
+
a == null ? void 0 : a.visible,
|
|
170
|
+
a == null ? void 0 : a.keepMounted,
|
|
171
|
+
v,
|
|
172
|
+
s,
|
|
173
|
+
h,
|
|
174
|
+
E,
|
|
175
|
+
w,
|
|
176
|
+
H
|
|
177
|
+
]);
|
|
178
|
+
}
|
|
179
|
+
var K = function(e) {
|
|
180
|
+
return function(r) {
|
|
181
|
+
var i, n = r.defaultVisible, t = r.keepMounted, l = r.id, o = V(r, ["defaultVisible", "keepMounted", "id"]), a = L(l), v = a.args, s = a.show, h = I(g), E = !!h[l];
|
|
182
|
+
k(function() {
|
|
183
|
+
return n && s(), C[l] = !0, function() {
|
|
184
|
+
delete C[l];
|
|
185
|
+
};
|
|
186
|
+
}, [l, s, n]), k(function() {
|
|
187
|
+
t && B(l, { keepMounted: !0 });
|
|
188
|
+
}, [l, t]);
|
|
189
|
+
var w = (i = h[l]) === null || i === void 0 ? void 0 : i.delayVisible;
|
|
190
|
+
return k(function() {
|
|
191
|
+
w && s(v);
|
|
192
|
+
}, [w, v, s]), E ? u.createElement(
|
|
193
|
+
S.Provider,
|
|
194
|
+
{ value: l },
|
|
195
|
+
u.createElement(e, d({}, o, v))
|
|
196
|
+
) : null;
|
|
197
|
+
};
|
|
198
|
+
}, O = function(e, r, i) {
|
|
199
|
+
f[e] ? f[e].props = i : f[e] = { comp: r, props: i };
|
|
200
|
+
}, Q = function(e) {
|
|
201
|
+
delete f[e];
|
|
202
|
+
}, R = function() {
|
|
203
|
+
var e = I(g), r = Object.keys(e).filter(function(n) {
|
|
204
|
+
return !!e[n];
|
|
205
|
+
});
|
|
206
|
+
r.forEach(function(n) {
|
|
207
|
+
if (!f[n] && !C[n]) {
|
|
208
|
+
console.warn("No modal found for id: " + n + ". Please check the id or if it is registered or declared via JSX.");
|
|
209
|
+
return;
|
|
210
|
+
}
|
|
211
|
+
});
|
|
212
|
+
var i = r.filter(function(n) {
|
|
213
|
+
return f[n];
|
|
214
|
+
}).map(function(n) {
|
|
215
|
+
return d({ id: n }, f[n]);
|
|
216
|
+
});
|
|
217
|
+
return u.createElement(u.Fragment, null, i.map(function(n) {
|
|
218
|
+
return u.createElement(n.comp, d({ key: n.id, id: n.id }, n.props));
|
|
219
|
+
}));
|
|
220
|
+
}, W = function(e) {
|
|
221
|
+
var r = e.children, i = T(F, x), n = i[0];
|
|
222
|
+
return y = i[1], u.createElement(
|
|
223
|
+
g.Provider,
|
|
224
|
+
{ value: n },
|
|
225
|
+
r,
|
|
226
|
+
u.createElement(R, null)
|
|
227
|
+
);
|
|
228
|
+
}, Z = function(e) {
|
|
229
|
+
var r = e.children, i = e.dispatch, n = e.modals;
|
|
230
|
+
return !i || !n ? u.createElement(W, null, r) : (y = i, u.createElement(
|
|
231
|
+
g.Provider,
|
|
232
|
+
{ value: n },
|
|
233
|
+
r,
|
|
234
|
+
u.createElement(R, null)
|
|
235
|
+
));
|
|
236
|
+
}, $ = function(e) {
|
|
237
|
+
var r = e.id, i = e.component;
|
|
238
|
+
return k(function() {
|
|
239
|
+
return O(r, i), function() {
|
|
240
|
+
Q(r);
|
|
241
|
+
};
|
|
242
|
+
}, [r, i]), null;
|
|
243
|
+
}, ee = function(e) {
|
|
244
|
+
var r, i = e.modal, n = e.handler, t = n === void 0 ? {} : n, l = V(e, ["modal", "handler"]), o = j(function() {
|
|
245
|
+
return A();
|
|
246
|
+
}, []), a = typeof i == "string" ? (r = f[i]) === null || r === void 0 ? void 0 : r.comp : i;
|
|
247
|
+
if (!t)
|
|
248
|
+
throw new Error("No handler found in NiceModal.ModalHolder.");
|
|
249
|
+
if (!a)
|
|
250
|
+
throw new Error("No modal found for id: " + i + " in NiceModal.ModalHolder.");
|
|
251
|
+
return t.show = m(function(v) {
|
|
252
|
+
return D(o, v);
|
|
253
|
+
}, [o]), t.hide = m(function() {
|
|
254
|
+
return _(o);
|
|
255
|
+
}, [o]), u.createElement(a, d({ id: o }, l));
|
|
256
|
+
}, re = function(e) {
|
|
257
|
+
return {
|
|
258
|
+
visible: e.visible,
|
|
259
|
+
onOk: function() {
|
|
260
|
+
return e.hide();
|
|
261
|
+
},
|
|
262
|
+
onCancel: function() {
|
|
263
|
+
return e.hide();
|
|
264
|
+
},
|
|
265
|
+
afterClose: function() {
|
|
266
|
+
e.resolveHide(), e.keepMounted || e.remove();
|
|
267
|
+
}
|
|
268
|
+
};
|
|
269
|
+
}, ne = function(e) {
|
|
270
|
+
return {
|
|
271
|
+
visible: e.visible,
|
|
272
|
+
onClose: function() {
|
|
273
|
+
return e.hide();
|
|
274
|
+
},
|
|
275
|
+
afterVisibleChange: function(r) {
|
|
276
|
+
r || e.resolveHide(), !r && !e.keepMounted && e.remove();
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
}, oe = function(e) {
|
|
280
|
+
return {
|
|
281
|
+
open: e.visible,
|
|
282
|
+
onClose: function() {
|
|
283
|
+
return e.hide();
|
|
284
|
+
},
|
|
285
|
+
onExited: function() {
|
|
286
|
+
e.resolveHide(), !e.keepMounted && e.remove();
|
|
287
|
+
}
|
|
288
|
+
};
|
|
289
|
+
}, ie = function(e) {
|
|
290
|
+
return {
|
|
291
|
+
show: e.visible,
|
|
292
|
+
onHide: function() {
|
|
293
|
+
return e.hide();
|
|
294
|
+
},
|
|
295
|
+
onExited: function() {
|
|
296
|
+
e.resolveHide(), !e.keepMounted && e.remove();
|
|
297
|
+
}
|
|
298
|
+
};
|
|
299
|
+
}, ae = {
|
|
300
|
+
Provider: Z,
|
|
301
|
+
ModalDef: $,
|
|
302
|
+
ModalHolder: ee,
|
|
303
|
+
NiceModalContext: g,
|
|
304
|
+
create: K,
|
|
305
|
+
register: O,
|
|
306
|
+
getModal: G,
|
|
307
|
+
show: D,
|
|
308
|
+
hide: _,
|
|
309
|
+
remove: U,
|
|
310
|
+
useModal: L,
|
|
311
|
+
reducer: F,
|
|
312
|
+
antdModal: re,
|
|
313
|
+
antdDrawer: ne,
|
|
314
|
+
muiDialog: oe,
|
|
315
|
+
bootstrapDialog: ie
|
|
316
|
+
};
|
|
317
|
+
export {
|
|
318
|
+
ae as N,
|
|
319
|
+
L as u
|
|
320
|
+
};
|
|
@@ -0,0 +1,364 @@
|
|
|
1
|
+
import * as i from "react";
|
|
2
|
+
/**
|
|
3
|
+
* @remix-run/router v1.15.0
|
|
4
|
+
*
|
|
5
|
+
* Copyright (c) Remix Software Inc.
|
|
6
|
+
*
|
|
7
|
+
* This source code is licensed under the MIT license found in the
|
|
8
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
9
|
+
*
|
|
10
|
+
* @license MIT
|
|
11
|
+
*/
|
|
12
|
+
function x() {
|
|
13
|
+
return x = Object.assign ? Object.assign.bind() : function(e) {
|
|
14
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
15
|
+
var n = arguments[t];
|
|
16
|
+
for (var a in n)
|
|
17
|
+
Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
|
18
|
+
}
|
|
19
|
+
return e;
|
|
20
|
+
}, x.apply(this, arguments);
|
|
21
|
+
}
|
|
22
|
+
var P;
|
|
23
|
+
(function(e) {
|
|
24
|
+
e.Pop = "POP", e.Push = "PUSH", e.Replace = "REPLACE";
|
|
25
|
+
})(P || (P = {}));
|
|
26
|
+
function l(e, t) {
|
|
27
|
+
if (e === !1 || e === null || typeof e > "u")
|
|
28
|
+
throw new Error(t);
|
|
29
|
+
}
|
|
30
|
+
function m(e, t) {
|
|
31
|
+
if (!e) {
|
|
32
|
+
typeof console < "u" && console.warn(t);
|
|
33
|
+
try {
|
|
34
|
+
throw new Error(t);
|
|
35
|
+
} catch {
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
function ae(e) {
|
|
40
|
+
let {
|
|
41
|
+
pathname: t = "/",
|
|
42
|
+
search: n = "",
|
|
43
|
+
hash: a = ""
|
|
44
|
+
} = e;
|
|
45
|
+
return n && n !== "?" && (t += n.charAt(0) === "?" ? n : "?" + n), a && a !== "#" && (t += a.charAt(0) === "#" ? a : "#" + a), t;
|
|
46
|
+
}
|
|
47
|
+
function S(e) {
|
|
48
|
+
let t = {};
|
|
49
|
+
if (e) {
|
|
50
|
+
let n = e.indexOf("#");
|
|
51
|
+
n >= 0 && (t.hash = e.substr(n), e = e.substr(0, n));
|
|
52
|
+
let a = e.indexOf("?");
|
|
53
|
+
a >= 0 && (t.search = e.substr(a), e = e.substr(0, a)), e && (t.pathname = e);
|
|
54
|
+
}
|
|
55
|
+
return t;
|
|
56
|
+
}
|
|
57
|
+
var U;
|
|
58
|
+
(function(e) {
|
|
59
|
+
e.data = "data", e.deferred = "deferred", e.redirect = "redirect", e.error = "error";
|
|
60
|
+
})(U || (U = {}));
|
|
61
|
+
function re(e, t) {
|
|
62
|
+
t === void 0 && (t = {});
|
|
63
|
+
let n = e;
|
|
64
|
+
n.endsWith("*") && n !== "*" && !n.endsWith("/*") && (m(!1, 'Route path "' + n + '" will be treated as if it were ' + ('"' + n.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + n.replace(/\*$/, "/*") + '".')), n = n.replace(/\*$/, "/*"));
|
|
65
|
+
const a = n.startsWith("/") ? "/" : "", r = (s) => s == null ? "" : typeof s == "string" ? s : String(s), o = n.split(/\/+/).map((s, u, f) => {
|
|
66
|
+
if (u === f.length - 1 && s === "*")
|
|
67
|
+
return r(t["*"]);
|
|
68
|
+
const h = s.match(/^:([\w-]+)(\??)$/);
|
|
69
|
+
if (h) {
|
|
70
|
+
const [, c, p] = h;
|
|
71
|
+
let N = t[c];
|
|
72
|
+
return l(p === "?" || N != null, 'Missing ":' + c + '" param'), r(N);
|
|
73
|
+
}
|
|
74
|
+
return s.replace(/\?$/g, "");
|
|
75
|
+
}).filter((s) => !!s);
|
|
76
|
+
return a + o.join("/");
|
|
77
|
+
}
|
|
78
|
+
function se(e, t) {
|
|
79
|
+
typeof e == "string" && (e = {
|
|
80
|
+
path: e,
|
|
81
|
+
caseSensitive: !1,
|
|
82
|
+
end: !0
|
|
83
|
+
});
|
|
84
|
+
let [n, a] = J(e.path, e.caseSensitive, e.end), r = t.match(n);
|
|
85
|
+
if (!r)
|
|
86
|
+
return null;
|
|
87
|
+
let o = r[0], s = o.replace(/(.)\/+$/, "$1"), u = r.slice(1);
|
|
88
|
+
return {
|
|
89
|
+
params: a.reduce((d, h, c) => {
|
|
90
|
+
let {
|
|
91
|
+
paramName: p,
|
|
92
|
+
isOptional: N
|
|
93
|
+
} = h;
|
|
94
|
+
if (p === "*") {
|
|
95
|
+
let A = u[c] || "";
|
|
96
|
+
s = o.slice(0, o.length - A.length).replace(/(.)\/+$/, "$1");
|
|
97
|
+
}
|
|
98
|
+
const O = u[c];
|
|
99
|
+
return N && !O ? d[p] = void 0 : d[p] = T(O || "", p), d;
|
|
100
|
+
}, {}),
|
|
101
|
+
pathname: o,
|
|
102
|
+
pathnameBase: s,
|
|
103
|
+
pattern: e
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function J(e, t, n) {
|
|
107
|
+
t === void 0 && (t = !1), n === void 0 && (n = !0), m(e === "*" || !e.endsWith("*") || e.endsWith("/*"), 'Route path "' + e + '" will be treated as if it were ' + ('"' + e.replace(/\*$/, "/*") + '" because the `*` character must ') + "always follow a `/` in the pattern. To get rid of this warning, " + ('please change the route path to "' + e.replace(/\*$/, "/*") + '".'));
|
|
108
|
+
let a = [], r = "^" + e.replace(/\/*\*?$/, "").replace(/^\/*/, "/").replace(/[\\.*+^${}|()[\]]/g, "\\$&").replace(/\/:([\w-]+)(\?)?/g, (s, u, f) => (a.push({
|
|
109
|
+
paramName: u,
|
|
110
|
+
isOptional: f != null
|
|
111
|
+
}), f ? "/?([^\\/]+)?" : "/([^\\/]+)"));
|
|
112
|
+
return e.endsWith("*") ? (a.push({
|
|
113
|
+
paramName: "*"
|
|
114
|
+
}), r += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : n ? r += "\\/*$" : e !== "" && e !== "/" && (r += "(?:(?=\\/|$))"), [new RegExp(r, t ? void 0 : "i"), a];
|
|
115
|
+
}
|
|
116
|
+
function T(e, t) {
|
|
117
|
+
try {
|
|
118
|
+
return decodeURIComponent(e);
|
|
119
|
+
} catch (n) {
|
|
120
|
+
return m(!1, 'The value for the URL param "' + t + '" will not be decoded because' + (' the string "' + e + '" is a malformed URL segment. This is probably') + (" due to a bad percent encoding (" + n + ").")), e;
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
function ie(e, t) {
|
|
124
|
+
if (t === "/")
|
|
125
|
+
return e;
|
|
126
|
+
if (!e.toLowerCase().startsWith(t.toLowerCase()))
|
|
127
|
+
return null;
|
|
128
|
+
let n = t.endsWith("/") ? t.length - 1 : t.length, a = e.charAt(n);
|
|
129
|
+
return a && a !== "/" ? null : e.slice(n) || "/";
|
|
130
|
+
}
|
|
131
|
+
function q(e, t) {
|
|
132
|
+
t === void 0 && (t = "/");
|
|
133
|
+
let {
|
|
134
|
+
pathname: n,
|
|
135
|
+
search: a = "",
|
|
136
|
+
hash: r = ""
|
|
137
|
+
} = typeof e == "string" ? S(e) : e;
|
|
138
|
+
return {
|
|
139
|
+
pathname: n ? n.startsWith("/") ? n : z(n, t) : t,
|
|
140
|
+
search: Y(a),
|
|
141
|
+
hash: F(r)
|
|
142
|
+
};
|
|
143
|
+
}
|
|
144
|
+
function z(e, t) {
|
|
145
|
+
let n = t.replace(/\/+$/, "").split("/");
|
|
146
|
+
return e.split("/").forEach((r) => {
|
|
147
|
+
r === ".." ? n.length > 1 && n.pop() : r !== "." && n.push(r);
|
|
148
|
+
}), n.length > 1 ? n.join("/") : "/";
|
|
149
|
+
}
|
|
150
|
+
function E(e, t, n, a) {
|
|
151
|
+
return "Cannot include a '" + e + "' character in a manually specified " + ("`to." + t + "` field [" + JSON.stringify(a) + "]. Please separate it out to the ") + ("`to." + n + "` field. Alternatively you may provide the full path as ") + 'a string in <Link to="..."> and the router will parse it for you.';
|
|
152
|
+
}
|
|
153
|
+
function G(e) {
|
|
154
|
+
return e.filter((t, n) => n === 0 || t.route.path && t.route.path.length > 0);
|
|
155
|
+
}
|
|
156
|
+
function D(e, t) {
|
|
157
|
+
let n = G(e);
|
|
158
|
+
return t ? n.map((a, r) => r === e.length - 1 ? a.pathname : a.pathnameBase) : n.map((a) => a.pathnameBase);
|
|
159
|
+
}
|
|
160
|
+
function $(e, t, n, a) {
|
|
161
|
+
a === void 0 && (a = !1);
|
|
162
|
+
let r;
|
|
163
|
+
typeof e == "string" ? r = S(e) : (r = x({}, e), l(!r.pathname || !r.pathname.includes("?"), E("?", "pathname", "search", r)), l(!r.pathname || !r.pathname.includes("#"), E("#", "pathname", "hash", r)), l(!r.search || !r.search.includes("#"), E("#", "search", "hash", r)));
|
|
164
|
+
let o = e === "" || r.pathname === "", s = o ? "/" : r.pathname, u;
|
|
165
|
+
if (s == null)
|
|
166
|
+
u = n;
|
|
167
|
+
else {
|
|
168
|
+
let c = t.length - 1;
|
|
169
|
+
if (!a && s.startsWith("..")) {
|
|
170
|
+
let p = s.split("/");
|
|
171
|
+
for (; p[0] === ".."; )
|
|
172
|
+
p.shift(), c -= 1;
|
|
173
|
+
r.pathname = p.join("/");
|
|
174
|
+
}
|
|
175
|
+
u = c >= 0 ? t[c] : "/";
|
|
176
|
+
}
|
|
177
|
+
let f = q(r, u), d = s && s !== "/" && s.endsWith("/"), h = (o || s === ".") && n.endsWith("/");
|
|
178
|
+
return !f.pathname.endsWith("/") && (d || h) && (f.pathname += "/"), f;
|
|
179
|
+
}
|
|
180
|
+
const L = (e) => e.join("/").replace(/\/\/+/g, "/"), Y = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, F = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e, _ = ["post", "put", "patch", "delete"];
|
|
181
|
+
new Set(_);
|
|
182
|
+
const K = ["get", ..._];
|
|
183
|
+
new Set(K);
|
|
184
|
+
/**
|
|
185
|
+
* React Router v6.22.0
|
|
186
|
+
*
|
|
187
|
+
* Copyright (c) Remix Software Inc.
|
|
188
|
+
*
|
|
189
|
+
* This source code is licensed under the MIT license found in the
|
|
190
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
191
|
+
*
|
|
192
|
+
* @license MIT
|
|
193
|
+
*/
|
|
194
|
+
function y() {
|
|
195
|
+
return y = Object.assign ? Object.assign.bind() : function(e) {
|
|
196
|
+
for (var t = 1; t < arguments.length; t++) {
|
|
197
|
+
var n = arguments[t];
|
|
198
|
+
for (var a in n)
|
|
199
|
+
Object.prototype.hasOwnProperty.call(n, a) && (e[a] = n[a]);
|
|
200
|
+
}
|
|
201
|
+
return e;
|
|
202
|
+
}, y.apply(this, arguments);
|
|
203
|
+
}
|
|
204
|
+
const C = /* @__PURE__ */ i.createContext(null);
|
|
205
|
+
process.env.NODE_ENV !== "production" && (C.displayName = "DataRouter");
|
|
206
|
+
const Q = /* @__PURE__ */ i.createContext(null);
|
|
207
|
+
process.env.NODE_ENV !== "production" && (Q.displayName = "DataRouterState");
|
|
208
|
+
const X = /* @__PURE__ */ i.createContext(null);
|
|
209
|
+
process.env.NODE_ENV !== "production" && (X.displayName = "Await");
|
|
210
|
+
const v = /* @__PURE__ */ i.createContext(null);
|
|
211
|
+
process.env.NODE_ENV !== "production" && (v.displayName = "Navigation");
|
|
212
|
+
const R = /* @__PURE__ */ i.createContext(null);
|
|
213
|
+
process.env.NODE_ENV !== "production" && (R.displayName = "Location");
|
|
214
|
+
const g = /* @__PURE__ */ i.createContext({
|
|
215
|
+
outlet: null,
|
|
216
|
+
matches: [],
|
|
217
|
+
isDataRoute: !1
|
|
218
|
+
});
|
|
219
|
+
process.env.NODE_ENV !== "production" && (g.displayName = "Route");
|
|
220
|
+
const Z = /* @__PURE__ */ i.createContext(null);
|
|
221
|
+
process.env.NODE_ENV !== "production" && (Z.displayName = "RouteError");
|
|
222
|
+
function oe(e, t) {
|
|
223
|
+
let {
|
|
224
|
+
relative: n
|
|
225
|
+
} = t === void 0 ? {} : t;
|
|
226
|
+
b() || (process.env.NODE_ENV !== "production" ? l(
|
|
227
|
+
!1,
|
|
228
|
+
// TODO: This error is probably because they somehow have 2 versions of the
|
|
229
|
+
// router loaded. We can help them understand how to avoid that.
|
|
230
|
+
"useHref() may be used only in the context of a <Router> component."
|
|
231
|
+
) : l(!1));
|
|
232
|
+
let {
|
|
233
|
+
basename: a,
|
|
234
|
+
navigator: r
|
|
235
|
+
} = i.useContext(v), {
|
|
236
|
+
hash: o,
|
|
237
|
+
pathname: s,
|
|
238
|
+
search: u
|
|
239
|
+
} = H(e, {
|
|
240
|
+
relative: n
|
|
241
|
+
}), f = s;
|
|
242
|
+
return a !== "/" && (f = s === "/" ? a : L([a, s])), r.createHref({
|
|
243
|
+
pathname: f,
|
|
244
|
+
search: u,
|
|
245
|
+
hash: o
|
|
246
|
+
});
|
|
247
|
+
}
|
|
248
|
+
function b() {
|
|
249
|
+
return i.useContext(R) != null;
|
|
250
|
+
}
|
|
251
|
+
function V() {
|
|
252
|
+
return b() || (process.env.NODE_ENV !== "production" ? l(
|
|
253
|
+
!1,
|
|
254
|
+
// TODO: This error is probably because they somehow have 2 versions of the
|
|
255
|
+
// router loaded. We can help them understand how to avoid that.
|
|
256
|
+
"useLocation() may be used only in the context of a <Router> component."
|
|
257
|
+
) : l(!1)), i.useContext(R).location;
|
|
258
|
+
}
|
|
259
|
+
const W = "You should call navigate() in a React.useEffect(), not when your component is first rendered.";
|
|
260
|
+
function I(e) {
|
|
261
|
+
i.useContext(v).static || i.useLayoutEffect(e);
|
|
262
|
+
}
|
|
263
|
+
function ue() {
|
|
264
|
+
let {
|
|
265
|
+
isDataRoute: e
|
|
266
|
+
} = i.useContext(g);
|
|
267
|
+
return e ? ne() : k();
|
|
268
|
+
}
|
|
269
|
+
function k() {
|
|
270
|
+
b() || (process.env.NODE_ENV !== "production" ? l(
|
|
271
|
+
!1,
|
|
272
|
+
// TODO: This error is probably because they somehow have 2 versions of the
|
|
273
|
+
// router loaded. We can help them understand how to avoid that.
|
|
274
|
+
"useNavigate() may be used only in the context of a <Router> component."
|
|
275
|
+
) : l(!1));
|
|
276
|
+
let e = i.useContext(C), {
|
|
277
|
+
basename: t,
|
|
278
|
+
future: n,
|
|
279
|
+
navigator: a
|
|
280
|
+
} = i.useContext(v), {
|
|
281
|
+
matches: r
|
|
282
|
+
} = i.useContext(g), {
|
|
283
|
+
pathname: o
|
|
284
|
+
} = V(), s = JSON.stringify(D(r, n.v7_relativeSplatPath)), u = i.useRef(!1);
|
|
285
|
+
return I(() => {
|
|
286
|
+
u.current = !0;
|
|
287
|
+
}), i.useCallback(function(d, h) {
|
|
288
|
+
if (h === void 0 && (h = {}), process.env.NODE_ENV !== "production" && m(u.current, W), !u.current)
|
|
289
|
+
return;
|
|
290
|
+
if (typeof d == "number") {
|
|
291
|
+
a.go(d);
|
|
292
|
+
return;
|
|
293
|
+
}
|
|
294
|
+
let c = $(d, JSON.parse(s), o, h.relative === "path");
|
|
295
|
+
e == null && t !== "/" && (c.pathname = c.pathname === "/" ? t : L([t, c.pathname])), (h.replace ? a.replace : a.push)(c, h.state, h);
|
|
296
|
+
}, [t, a, s, o, e]);
|
|
297
|
+
}
|
|
298
|
+
function H(e, t) {
|
|
299
|
+
let {
|
|
300
|
+
relative: n
|
|
301
|
+
} = t === void 0 ? {} : t, {
|
|
302
|
+
future: a
|
|
303
|
+
} = i.useContext(v), {
|
|
304
|
+
matches: r
|
|
305
|
+
} = i.useContext(g), {
|
|
306
|
+
pathname: o
|
|
307
|
+
} = V(), s = JSON.stringify(D(r, a.v7_relativeSplatPath));
|
|
308
|
+
return i.useMemo(() => $(e, JSON.parse(s), o, n === "path"), [e, s, o, n]);
|
|
309
|
+
}
|
|
310
|
+
var j = /* @__PURE__ */ function(e) {
|
|
311
|
+
return e.UseBlocker = "useBlocker", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e;
|
|
312
|
+
}(j || {}), w = /* @__PURE__ */ function(e) {
|
|
313
|
+
return e.UseBlocker = "useBlocker", e.UseLoaderData = "useLoaderData", e.UseActionData = "useActionData", e.UseRouteError = "useRouteError", e.UseNavigation = "useNavigation", e.UseRouteLoaderData = "useRouteLoaderData", e.UseMatches = "useMatches", e.UseRevalidator = "useRevalidator", e.UseNavigateStable = "useNavigate", e.UseRouteId = "useRouteId", e;
|
|
314
|
+
}(w || {});
|
|
315
|
+
function M(e) {
|
|
316
|
+
return e + " must be used within a data router. See https://reactrouter.com/routers/picking-a-router.";
|
|
317
|
+
}
|
|
318
|
+
function ee(e) {
|
|
319
|
+
let t = i.useContext(C);
|
|
320
|
+
return t || (process.env.NODE_ENV !== "production" ? l(!1, M(e)) : l(!1)), t;
|
|
321
|
+
}
|
|
322
|
+
function te(e) {
|
|
323
|
+
let t = i.useContext(g);
|
|
324
|
+
return t || (process.env.NODE_ENV !== "production" ? l(!1, M(e)) : l(!1)), t;
|
|
325
|
+
}
|
|
326
|
+
function B(e) {
|
|
327
|
+
let t = te(e), n = t.matches[t.matches.length - 1];
|
|
328
|
+
return n.route.id || (process.env.NODE_ENV !== "production" ? l(!1, e + ' can only be used on routes that contain a unique "id"') : l(!1)), n.route.id;
|
|
329
|
+
}
|
|
330
|
+
function le() {
|
|
331
|
+
return B(w.UseRouteId);
|
|
332
|
+
}
|
|
333
|
+
function ne() {
|
|
334
|
+
let {
|
|
335
|
+
router: e
|
|
336
|
+
} = ee(j.UseNavigateStable), t = B(w.UseNavigateStable), n = i.useRef(!1);
|
|
337
|
+
return I(() => {
|
|
338
|
+
n.current = !0;
|
|
339
|
+
}), i.useCallback(function(r, o) {
|
|
340
|
+
o === void 0 && (o = {}), process.env.NODE_ENV !== "production" && m(n.current, W), n.current && (typeof r == "number" ? e.navigate(r) : e.navigate(r, y({
|
|
341
|
+
fromRouteId: t
|
|
342
|
+
}, o)));
|
|
343
|
+
}, [e, t]);
|
|
344
|
+
}
|
|
345
|
+
new Promise(() => {
|
|
346
|
+
});
|
|
347
|
+
export {
|
|
348
|
+
Q as D,
|
|
349
|
+
v as N,
|
|
350
|
+
g as R,
|
|
351
|
+
V as a,
|
|
352
|
+
oe as b,
|
|
353
|
+
C as c,
|
|
354
|
+
ue as d,
|
|
355
|
+
ae as e,
|
|
356
|
+
le as f,
|
|
357
|
+
re as g,
|
|
358
|
+
l as i,
|
|
359
|
+
L as j,
|
|
360
|
+
se as m,
|
|
361
|
+
ie as s,
|
|
362
|
+
H as u,
|
|
363
|
+
m as w
|
|
364
|
+
};
|
package/dist/index.css
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
._wrapper_14erv_1{width:100%;height:180px;display:flex;overflow:hidden;min-height:100px;max-height:180px;flex-direction:row;border-radius:10px}._wrapper_14erv_1 ._content_14erv_11{width:100%;background:#fff;padding:20px;display:flex;flex-direction:column;justify-content:space-between}._wrapper_14erv_1 ._iconWrapper_14erv_19{width:25%;min-width:25%;max-width:25%;background:#788195;color:#fff!important;font-size:32px;display:flex;align-items:center;justify-content:center}._wrapper_14erv_1 ._titleGroup_14erv_30{display:flex;justify-content:space-between}._wrapper_14erv_1 ._title_14erv_30{color:#062a4a;font-size:20px;overflow:hidden;max-height:35px;max-width:170px;font-weight:600;white-space:nowrap;text-overflow:ellipsis;line-height:1;margin-bottom:5px}._wrapper_14erv_1 ._textGroup_14erv_46{color:#000;display:flex;flex-direction:column}._wrapper_14erv_1 ._footer_14erv_51{display:flex;flex-direction:column}._wrapper_14erv_1 ._footer_14erv_51>span{text-decoration:underline;font-weight:500}._wrapper_14erv_1 ._footer_14erv_51>span:hover{text-decoration:none}
|
package/dist/index.d.ts
CHANGED
|
@@ -352,6 +352,8 @@ export declare type CountdownProps = {
|
|
|
352
352
|
onEnd?: () => void;
|
|
353
353
|
};
|
|
354
354
|
|
|
355
|
+
export declare const createConnectedService: (projects: Record<string, any>[], isFlex?: boolean) => JSX_2.Element[] | undefined;
|
|
356
|
+
|
|
355
357
|
export declare type CustomItemProps = {
|
|
356
358
|
item: OptionProps;
|
|
357
359
|
};
|