prometeo-design-system 3.0.2 → 3.0.5
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/Avatar.es.js +1 -1
- package/dist/Button.es.js +1 -1
- package/dist/{CardProfile-BB-IP1MR.js → CardProfile-B63chbXo.js} +13 -13
- package/dist/CardProfile.es.js +1 -1
- package/dist/CheckBox.es.js +5 -5
- package/dist/DatePicker-D718l51x.js +3568 -0
- package/dist/DatePicker.es.js +1 -1
- package/dist/DialogModal.es.js +1 -1
- package/dist/DrawerDesktop.es.js +2 -2
- package/dist/DrawerMobile.es.js +1 -1
- package/dist/DropZone.es.js +6 -6
- package/dist/FAButton.es.js +2 -2
- package/dist/Header.es.js +1 -1
- package/dist/{HelperComponent-D_Cqdf1J.js → HelperComponent-DZjT3uYS.js} +8 -8
- package/dist/Icons/IconsObject.d.ts +81 -0
- package/dist/Icons/components/AccountCircle.d.ts +4 -0
- package/dist/Icons/components/Add.d.ts +4 -0
- package/dist/Icons/components/ArrowLeft.d.ts +4 -0
- package/dist/Icons/components/ArrowUpDown.d.ts +4 -0
- package/dist/Icons/components/AttachFile.d.ts +4 -0
- package/dist/Icons/components/Boards.d.ts +4 -0
- package/dist/Icons/components/Calendar.d.ts +4 -0
- package/dist/Icons/components/Cancel.d.ts +4 -0
- package/dist/Icons/components/Check.d.ts +4 -0
- package/dist/Icons/components/CheckCircle.d.ts +4 -0
- package/dist/Icons/components/CheckList.d.ts +4 -0
- package/dist/Icons/components/ChevronDown.d.ts +4 -0
- package/dist/Icons/components/Clock.d.ts +4 -0
- package/dist/Icons/components/Close.d.ts +4 -0
- package/dist/Icons/components/CloseNavBarDesktop.d.ts +4 -0
- package/dist/Icons/components/Collapse.d.ts +4 -0
- package/dist/Icons/components/Company.d.ts +4 -0
- package/dist/Icons/components/Copy.d.ts +4 -0
- package/dist/Icons/components/CrevronLeft.d.ts +4 -0
- package/dist/Icons/components/CrevronRight.d.ts +4 -0
- package/dist/Icons/components/DocumentFill.d.ts +4 -0
- package/dist/Icons/components/Download.d.ts +4 -0
- package/dist/Icons/components/Edit.d.ts +4 -0
- package/dist/Icons/components/EditFill.d.ts +4 -0
- package/dist/Icons/components/Email.d.ts +4 -0
- package/dist/Icons/components/Error.d.ts +4 -0
- package/dist/Icons/components/EyeVisibility.d.ts +4 -0
- package/dist/Icons/components/EyeVisibilityOff.d.ts +4 -0
- package/dist/Icons/components/FaLock.d.ts +4 -0
- package/dist/Icons/components/FastForward.d.ts +4 -0
- package/dist/Icons/components/File.d.ts +4 -0
- package/dist/Icons/components/Filter.d.ts +4 -0
- package/dist/Icons/components/FormatColorText.d.ts +4 -0
- package/dist/Icons/components/Help.d.ts +4 -0
- package/dist/Icons/components/HistoryActivity.d.ts +4 -0
- package/dist/Icons/components/Home.d.ts +4 -0
- package/dist/Icons/components/Image.d.ts +4 -0
- package/dist/Icons/components/Info.d.ts +4 -0
- package/dist/Icons/components/Logout.d.ts +4 -0
- package/dist/Icons/components/MessageSquare.d.ts +4 -0
- package/dist/Icons/components/MessageSquareFill.d.ts +4 -0
- package/dist/Icons/components/MoreVert.d.ts +4 -0
- package/dist/Icons/components/Notifications.d.ts +4 -0
- package/dist/Icons/components/Pause.d.ts +4 -0
- package/dist/Icons/components/Reload.d.ts +4 -0
- package/dist/Icons/components/Search.d.ts +4 -0
- package/dist/Icons/components/Settings.d.ts +4 -0
- package/dist/Icons/components/Shared.d.ts +4 -0
- package/dist/Icons/components/Sort.d.ts +4 -0
- package/dist/Icons/components/Stars.d.ts +4 -0
- package/dist/Icons/components/Ticket.d.ts +4 -0
- package/dist/Icons/components/TicketFilled.d.ts +4 -0
- package/dist/Icons/components/Trash.d.ts +4 -0
- package/dist/Icons/components/TrashFill.d.ts +4 -0
- package/dist/Icons/components/Upload.d.ts +4 -0
- package/dist/Icons/components/UploadCloud.d.ts +4 -0
- package/dist/Icons/components/UserAdd.d.ts +4 -0
- package/dist/Icons/components/UserAddFill.d.ts +4 -0
- package/dist/Icons/components/UserPerson.d.ts +4 -0
- package/dist/Icons/components/WhatsApp.d.ts +4 -0
- package/dist/Icons/iconUtils.d.ts +7 -0
- package/dist/Icons/index.d.ts +184 -0
- package/dist/Icons/types.d.ts +124 -0
- package/dist/Icons.es.js +150 -150
- package/dist/Icons_Legacy-BJgYCS_W.js +979 -0
- package/dist/Image.es.js +1 -1
- package/dist/{ImageGallery-CjaJ0UCN.js → ImageGallery-BLrIJSw2.js} +35 -35
- package/dist/ImageGallery.es.js +1 -1
- package/dist/{Input-CLsH2Ea0.js → Input-DD4VHP1s.js} +3 -3
- package/dist/Input.es.js +1 -1
- package/dist/InputMultiple.es.js +35 -35
- package/dist/{LayoutGeneric-B6E-yOYJ.js → LayoutGeneric-CbaoatQB.js} +1 -1
- package/dist/LayoutGeneric.es.js +1 -1
- package/dist/Logo.es.js +2 -2
- package/dist/Menu.es.js +1 -1
- package/dist/OtpInput.es.js +44 -44
- package/dist/Pagination.es.js +1 -1
- package/dist/ProfilePictureUpload.es.js +1 -1
- package/dist/ProgressBar.es.js +1 -1
- package/dist/RadioButton.es.js +2 -2
- package/dist/RecurrentDatePicker.es.js +5 -5
- package/dist/RecurrentDatePickerRRule.es.js +181 -181
- package/dist/SegmentedButton.es.js +1 -1
- package/dist/{Select-Co4rzd96.js → Select-DfjHfmxM.js} +46 -46
- package/dist/Select.es.js +1 -1
- package/dist/SelectSearch.es.js +2 -2
- package/dist/Skeleton.es.js +1 -1
- package/dist/Spinner.es.js +1 -1
- package/dist/Steps.es.js +2 -2
- package/dist/SwipeContainer.es.js +1 -1
- package/dist/Switch.es.js +1 -1
- package/dist/TabLinks.es.js +1 -1
- package/dist/Table.es.js +1 -1
- package/dist/TextArea.es.js +1 -1
- package/dist/Toast.es.js +23 -23
- package/dist/ToastProvider.es.js +1 -1
- package/dist/Tooltip.es.js +2 -2
- package/dist/components/FAB/FAButton.d.ts +1 -1
- package/dist/components/NavigationDrawer/NavItem.d.ts +1 -1
- package/dist/components/Toaster/Toaster.d.ts +1 -1
- package/dist/exports/Icons.d.ts +1 -2
- package/dist/index.d.ts +1 -1
- package/dist/{jsx-runtime-ByW6EXIE.js → jsx-runtime-DKDX3adD.js} +94 -96
- package/dist/prometeo-design-system.es.js +48 -48
- package/dist/styles.css +1 -1
- package/package.json +294 -294
- package/src/styles/app.css +1 -1
- package/src/styles/base.css +1332 -1332
- package/src/styles/fonts.css +45 -45
- package/src/styles/palette.css +83 -83
- package/dist/DatePicker-odNBd49H.js +0 -3628
- /package/dist/Icons/{Icons.d.ts → Icons_Legacy.d.ts} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
2
|
-
var v = { exports: {} },
|
|
1
|
+
import K from "react";
|
|
2
|
+
var v = { exports: {} }, m = {};
|
|
3
3
|
/**
|
|
4
4
|
* @license React
|
|
5
5
|
* react-jsx-runtime.production.js
|
|
@@ -9,29 +9,29 @@ var v = { exports: {} }, _ = {};
|
|
|
9
9
|
* This source code is licensed under the MIT license found in the
|
|
10
10
|
* LICENSE file in the root directory of this source tree.
|
|
11
11
|
*/
|
|
12
|
-
var
|
|
13
|
-
function
|
|
14
|
-
if (
|
|
15
|
-
|
|
16
|
-
var l = Symbol.for("react.transitional.element"),
|
|
17
|
-
function
|
|
18
|
-
var
|
|
19
|
-
if (s !== void 0 && (
|
|
12
|
+
var I;
|
|
13
|
+
function ee() {
|
|
14
|
+
if (I) return m;
|
|
15
|
+
I = 1;
|
|
16
|
+
var l = Symbol.for("react.transitional.element"), b = Symbol.for("react.fragment");
|
|
17
|
+
function c(i, o, s) {
|
|
18
|
+
var f = null;
|
|
19
|
+
if (s !== void 0 && (f = "" + s), o.key !== void 0 && (f = "" + o.key), "key" in o) {
|
|
20
20
|
s = {};
|
|
21
|
-
for (var
|
|
22
|
-
|
|
21
|
+
for (var d in o)
|
|
22
|
+
d !== "key" && (s[d] = o[d]);
|
|
23
23
|
} else s = o;
|
|
24
24
|
return o = s.ref, {
|
|
25
25
|
$$typeof: l,
|
|
26
|
-
type:
|
|
27
|
-
key:
|
|
26
|
+
type: i,
|
|
27
|
+
key: f,
|
|
28
28
|
ref: o !== void 0 ? o : null,
|
|
29
29
|
props: s
|
|
30
30
|
};
|
|
31
31
|
}
|
|
32
|
-
return
|
|
32
|
+
return m.Fragment = b, m.jsx = c, m.jsxs = c, m;
|
|
33
33
|
}
|
|
34
|
-
var
|
|
34
|
+
var _ = {};
|
|
35
35
|
/**
|
|
36
36
|
* @license React
|
|
37
37
|
* react-jsx-runtime.development.js
|
|
@@ -41,44 +41,44 @@ var R = {};
|
|
|
41
41
|
* This source code is licensed under the MIT license found in the
|
|
42
42
|
* LICENSE file in the root directory of this source tree.
|
|
43
43
|
*/
|
|
44
|
-
var
|
|
45
|
-
function
|
|
46
|
-
return
|
|
44
|
+
var $;
|
|
45
|
+
function re() {
|
|
46
|
+
return $ || ($ = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
47
47
|
function l(e) {
|
|
48
48
|
if (e == null) return null;
|
|
49
49
|
if (typeof e == "function")
|
|
50
|
-
return e.$$typeof ===
|
|
50
|
+
return e.$$typeof === H ? null : e.displayName || e.name || null;
|
|
51
51
|
if (typeof e == "string") return e;
|
|
52
52
|
switch (e) {
|
|
53
53
|
case p:
|
|
54
54
|
return "Fragment";
|
|
55
|
-
case J:
|
|
56
|
-
return "Profiler";
|
|
57
55
|
case U:
|
|
56
|
+
return "Profiler";
|
|
57
|
+
case W:
|
|
58
58
|
return "StrictMode";
|
|
59
|
-
case
|
|
59
|
+
case z:
|
|
60
60
|
return "Suspense";
|
|
61
|
-
case
|
|
61
|
+
case G:
|
|
62
62
|
return "SuspenseList";
|
|
63
|
-
case
|
|
63
|
+
case B:
|
|
64
64
|
return "Activity";
|
|
65
65
|
}
|
|
66
66
|
if (typeof e == "object")
|
|
67
67
|
switch (typeof e.tag == "number" && console.error(
|
|
68
68
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
69
69
|
), e.$$typeof) {
|
|
70
|
-
case
|
|
70
|
+
case M:
|
|
71
71
|
return "Portal";
|
|
72
|
-
case z:
|
|
73
|
-
return (e.displayName || "Context") + ".Provider";
|
|
74
|
-
case q:
|
|
75
|
-
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
72
|
case V:
|
|
73
|
+
return e.displayName || "Context";
|
|
74
|
+
case J:
|
|
75
|
+
return (e._context.displayName || "Context") + ".Consumer";
|
|
76
|
+
case q:
|
|
77
77
|
var r = e.render;
|
|
78
78
|
return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
|
|
79
|
-
case
|
|
79
|
+
case X:
|
|
80
80
|
return r = e.displayName || null, r !== null ? r : l(e.type) || "Memo";
|
|
81
|
-
case
|
|
81
|
+
case T:
|
|
82
82
|
r = e._payload, e = e._init;
|
|
83
83
|
try {
|
|
84
84
|
return l(e(r));
|
|
@@ -87,10 +87,10 @@ function te() {
|
|
|
87
87
|
}
|
|
88
88
|
return null;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function b(e) {
|
|
91
91
|
return "" + e;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function c(e) {
|
|
94
94
|
try {
|
|
95
95
|
var r = !1;
|
|
96
96
|
} catch {
|
|
@@ -103,12 +103,12 @@ function te() {
|
|
|
103
103
|
r,
|
|
104
104
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
105
105
|
n
|
|
106
|
-
),
|
|
106
|
+
), b(e);
|
|
107
107
|
}
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function i(e) {
|
|
110
110
|
if (e === p) return "<>";
|
|
111
|
-
if (typeof e == "object" && e !== null && e.$$typeof ===
|
|
111
|
+
if (typeof e == "object" && e !== null && e.$$typeof === T)
|
|
112
112
|
return "<...>";
|
|
113
113
|
try {
|
|
114
114
|
var r = l(e);
|
|
@@ -124,16 +124,16 @@ function te() {
|
|
|
124
124
|
function s() {
|
|
125
125
|
return Error("react-stack-top-frame");
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
if (
|
|
127
|
+
function f(e) {
|
|
128
|
+
if (x.call(e, "key")) {
|
|
129
129
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
130
130
|
if (r && r.isReactWarning) return !1;
|
|
131
131
|
}
|
|
132
132
|
return e.key !== void 0;
|
|
133
133
|
}
|
|
134
|
-
function
|
|
134
|
+
function d(e, r) {
|
|
135
135
|
function t() {
|
|
136
|
-
|
|
136
|
+
g || (g = !0, console.error(
|
|
137
137
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
138
138
|
r
|
|
139
139
|
));
|
|
@@ -143,22 +143,23 @@ function te() {
|
|
|
143
143
|
configurable: !0
|
|
144
144
|
});
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function D() {
|
|
147
147
|
var e = l(this.type);
|
|
148
|
-
return
|
|
148
|
+
return h[e] || (h[e] = !0, console.error(
|
|
149
149
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
150
150
|
)), e = this.props.ref, e !== void 0 ? e : null;
|
|
151
151
|
}
|
|
152
|
-
function
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
function L(e, r, t, n, R, A) {
|
|
153
|
+
var a = t.ref;
|
|
154
|
+
return e = {
|
|
155
|
+
$$typeof: j,
|
|
155
156
|
type: e,
|
|
156
157
|
key: r,
|
|
157
|
-
props:
|
|
158
|
-
_owner:
|
|
159
|
-
}, (
|
|
158
|
+
props: t,
|
|
159
|
+
_owner: n
|
|
160
|
+
}, (a !== void 0 ? a : null) !== null ? Object.defineProperty(e, "ref", {
|
|
160
161
|
enumerable: !1,
|
|
161
|
-
get:
|
|
162
|
+
get: D
|
|
162
163
|
}) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
|
|
163
164
|
configurable: !1,
|
|
164
165
|
enumerable: !1,
|
|
@@ -173,19 +174,19 @@ function te() {
|
|
|
173
174
|
configurable: !1,
|
|
174
175
|
enumerable: !1,
|
|
175
176
|
writable: !0,
|
|
176
|
-
value:
|
|
177
|
+
value: R
|
|
177
178
|
}), Object.defineProperty(e, "_debugTask", {
|
|
178
179
|
configurable: !1,
|
|
179
180
|
enumerable: !1,
|
|
180
181
|
writable: !0,
|
|
181
|
-
value:
|
|
182
|
+
value: A
|
|
182
183
|
}), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
|
|
183
184
|
}
|
|
184
|
-
function
|
|
185
|
+
function P(e, r, t, n, R, A) {
|
|
185
186
|
var a = r.children;
|
|
186
187
|
if (a !== void 0)
|
|
187
188
|
if (n)
|
|
188
|
-
if (
|
|
189
|
+
if (Z(a)) {
|
|
189
190
|
for (n = 0; n < a.length; n++)
|
|
190
191
|
w(a[n]);
|
|
191
192
|
Object.freeze && Object.freeze(a);
|
|
@@ -194,12 +195,12 @@ function te() {
|
|
|
194
195
|
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
195
196
|
);
|
|
196
197
|
else w(a);
|
|
197
|
-
if (
|
|
198
|
+
if (x.call(r, "key")) {
|
|
198
199
|
a = l(e);
|
|
199
|
-
var
|
|
200
|
-
return
|
|
200
|
+
var u = Object.keys(r).filter(function(Q) {
|
|
201
|
+
return Q !== "key";
|
|
201
202
|
});
|
|
202
|
-
n = 0 <
|
|
203
|
+
n = 0 < u.length ? "{key: someKey, " + u.join(": ..., ") + ": ...}" : "{key: someKey}", Y[a + n] || (u = 0 < u.length ? "{" + u.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
203
204
|
`A props object containing a "key" prop is being spread into JSX:
|
|
204
205
|
let props = %s;
|
|
205
206
|
<%s {...props} />
|
|
@@ -208,76 +209,73 @@ React keys must be passed directly to JSX without using spread:
|
|
|
208
209
|
<%s key={someKey} {...props} />`,
|
|
209
210
|
n,
|
|
210
211
|
a,
|
|
211
|
-
|
|
212
|
+
u,
|
|
212
213
|
a
|
|
213
|
-
),
|
|
214
|
+
), Y[a + n] = !0);
|
|
214
215
|
}
|
|
215
|
-
if (a = null, t !== void 0 && (
|
|
216
|
+
if (a = null, t !== void 0 && (c(t), a = "" + t), f(r) && (c(r.key), a = "" + r.key), "key" in r) {
|
|
216
217
|
t = {};
|
|
217
|
-
for (var
|
|
218
|
-
|
|
218
|
+
for (var S in r)
|
|
219
|
+
S !== "key" && (t[S] = r[S]);
|
|
219
220
|
} else t = r;
|
|
220
|
-
return a &&
|
|
221
|
+
return a && d(
|
|
221
222
|
t,
|
|
222
223
|
typeof e == "function" ? e.displayName || e.name || "Unknown" : e
|
|
223
|
-
),
|
|
224
|
+
), L(
|
|
224
225
|
e,
|
|
225
226
|
a,
|
|
226
|
-
u,
|
|
227
|
-
c,
|
|
228
|
-
o(),
|
|
229
227
|
t,
|
|
230
|
-
|
|
231
|
-
|
|
228
|
+
o(),
|
|
229
|
+
R,
|
|
230
|
+
A
|
|
232
231
|
);
|
|
233
232
|
}
|
|
234
233
|
function w(e) {
|
|
235
|
-
typeof e == "object" && e !== null && e.$$typeof ===
|
|
234
|
+
y(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === T && (e._payload.status === "fulfilled" ? y(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
|
|
235
|
+
}
|
|
236
|
+
function y(e) {
|
|
237
|
+
return typeof e == "object" && e !== null && e.$$typeof === j;
|
|
236
238
|
}
|
|
237
|
-
var
|
|
239
|
+
var E = K, j = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), W = Symbol.for("react.strict_mode"), U = Symbol.for("react.profiler"), J = Symbol.for("react.consumer"), V = Symbol.for("react.context"), q = Symbol.for("react.forward_ref"), z = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), X = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), B = Symbol.for("react.activity"), H = Symbol.for("react.client.reference"), k = E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, x = Object.prototype.hasOwnProperty, Z = Array.isArray, O = console.createTask ? console.createTask : function() {
|
|
238
240
|
return null;
|
|
239
241
|
};
|
|
240
|
-
|
|
242
|
+
E = {
|
|
241
243
|
react_stack_bottom_frame: function(e) {
|
|
242
244
|
return e();
|
|
243
245
|
}
|
|
244
246
|
};
|
|
245
|
-
var
|
|
246
|
-
|
|
247
|
+
var g, h = {}, N = E.react_stack_bottom_frame.bind(
|
|
248
|
+
E,
|
|
247
249
|
s
|
|
248
|
-
)(),
|
|
249
|
-
|
|
250
|
-
var
|
|
251
|
-
return
|
|
250
|
+
)(), C = O(i(s)), Y = {};
|
|
251
|
+
_.Fragment = p, _.jsx = function(e, r, t) {
|
|
252
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
253
|
+
return P(
|
|
252
254
|
e,
|
|
253
255
|
r,
|
|
254
256
|
t,
|
|
255
257
|
!1,
|
|
256
|
-
n,
|
|
257
|
-
|
|
258
|
-
u ? Error("react-stack-top-frame") : C,
|
|
259
|
-
u ? O(d(e)) : Y
|
|
258
|
+
n ? Error("react-stack-top-frame") : N,
|
|
259
|
+
n ? O(i(e)) : C
|
|
260
260
|
);
|
|
261
|
-
},
|
|
262
|
-
var
|
|
263
|
-
return
|
|
261
|
+
}, _.jsxs = function(e, r, t) {
|
|
262
|
+
var n = 1e4 > k.recentlyCreatedOwnerStacks++;
|
|
263
|
+
return P(
|
|
264
264
|
e,
|
|
265
265
|
r,
|
|
266
266
|
t,
|
|
267
267
|
!0,
|
|
268
|
-
n,
|
|
269
|
-
|
|
270
|
-
u ? Error("react-stack-top-frame") : C,
|
|
271
|
-
u ? O(d(e)) : Y
|
|
268
|
+
n ? Error("react-stack-top-frame") : N,
|
|
269
|
+
n ? O(i(e)) : C
|
|
272
270
|
);
|
|
273
271
|
};
|
|
274
|
-
})()),
|
|
272
|
+
})()), _;
|
|
275
273
|
}
|
|
276
|
-
var
|
|
277
|
-
function
|
|
278
|
-
return
|
|
274
|
+
var F;
|
|
275
|
+
function te() {
|
|
276
|
+
return F || (F = 1, process.env.NODE_ENV === "production" ? v.exports = /* @__PURE__ */ ee() : v.exports = /* @__PURE__ */ re()), v.exports;
|
|
279
277
|
}
|
|
280
|
-
var
|
|
278
|
+
var ae = /* @__PURE__ */ te();
|
|
281
279
|
export {
|
|
282
|
-
|
|
280
|
+
ae as j
|
|
283
281
|
};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { default as Se } from "./Avatar.es.js";
|
|
2
2
|
import { default as Ie } from "./Button.es.js";
|
|
3
|
-
import { C as Be, a as Ae } from "./CardProfile-
|
|
3
|
+
import { C as Be, a as Ae } from "./CardProfile-B63chbXo.js";
|
|
4
4
|
import { default as Te } from "./CheckBox.es.js";
|
|
5
5
|
import { default as qe, useDialogControl as De } from "./DialogModal.es.js";
|
|
6
6
|
import { default as ze, useDrawerDesktop as Fe } from "./DrawerDesktop.es.js";
|
|
7
7
|
import { default as He, useDrawerMobile as Ue } from "./DrawerMobile.es.js";
|
|
8
8
|
import { default as Me } from "./Header.es.js";
|
|
9
|
-
import { I as Ve } from "./Input-
|
|
9
|
+
import { I as Ve } from "./Input-DD4VHP1s.js";
|
|
10
10
|
import { default as _e } from "./InputMultiple.es.js";
|
|
11
11
|
import { default as Ze } from "./Logo.es.js";
|
|
12
12
|
import { default as Ke } from "./Menu.es.js";
|
|
13
13
|
import { default as Ye } from "./Pagination.es.js";
|
|
14
14
|
import { default as tt } from "./ProfilePictureUpload.es.js";
|
|
15
15
|
import { default as rt } from "./ProgressBar.es.js";
|
|
16
|
-
import { S as nt } from "./Select-
|
|
17
|
-
import { default as
|
|
16
|
+
import { S as nt } from "./Select-DfjHfmxM.js";
|
|
17
|
+
import { default as it } from "./Spinner.es.js";
|
|
18
18
|
import { default as ct } from "./Steps.es.js";
|
|
19
19
|
import { default as dt } from "./SwipeContainer.es.js";
|
|
20
20
|
import { default as pt } from "./Switch.es.js";
|
|
21
|
-
import { D as xt } from "./DatePicker-
|
|
21
|
+
import { D as xt } from "./DatePicker-D718l51x.js";
|
|
22
22
|
import { RecurrentDatePicker as yt } from "./RecurrentDatePicker.es.js";
|
|
23
23
|
import { RecurrentDatePickerRRule as gt } from "./RecurrentDatePickerRRule.es.js";
|
|
24
24
|
import { Table as wt, TableBody as Ct, TableCaption as jt, TableCell as Nt, TableFooter as St, TableHead as kt, TableHeader as It, TableRow as Rt } from "./Table.es.js";
|
|
@@ -27,22 +27,22 @@ import { default as Tt } from "./TextArea.es.js";
|
|
|
27
27
|
import { default as qt } from "./Tooltip.es.js";
|
|
28
28
|
import { default as Et } from "./Skeleton.es.js";
|
|
29
29
|
import { default as Ft } from "./SegmentedButton.es.js";
|
|
30
|
-
import { u as k } from "./LayoutGeneric-
|
|
31
|
-
import { L as Ht, S as Ut } from "./LayoutGeneric-
|
|
32
|
-
import { I as Mt } from "./ImageGallery-
|
|
30
|
+
import { u as k } from "./LayoutGeneric-CbaoatQB.js";
|
|
31
|
+
import { L as Ht, S as Ut } from "./LayoutGeneric-CbaoatQB.js";
|
|
32
|
+
import { I as Mt } from "./ImageGallery-BLrIJSw2.js";
|
|
33
33
|
import { default as Vt } from "./Image.es.js";
|
|
34
34
|
import { default as _t, toastpyrion as Xt } from "./Toast.es.js";
|
|
35
35
|
import { default as Jt } from "./ToastProvider.es.js";
|
|
36
36
|
import { default as Qt } from "./SelectSearch.es.js";
|
|
37
37
|
import { default as ea } from "./FAButton.es.js";
|
|
38
38
|
import { default as aa } from "./RadioButton.es.js";
|
|
39
|
-
import { j as a } from "./jsx-runtime-
|
|
39
|
+
import { j as a } from "./jsx-runtime-DKDX3adD.js";
|
|
40
40
|
import { c as u } from "./cn-B6yFEsav.js";
|
|
41
41
|
import T, { useRef as h, useState as g, useLayoutEffect as P, createContext as q, useContext as D, forwardRef as N, useEffect as v, useCallback as E } from "react";
|
|
42
42
|
import { useGSAP as I } from "@gsap/react";
|
|
43
43
|
import x from "gsap";
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
44
|
+
import { d as w } from "./Icons_Legacy-BJgYCS_W.js";
|
|
45
|
+
import { r as oa, m as na, A as sa, j as ia, t as la, B as ca, i as ua, O as da, C as fa, Q as pa, V as ma, g as xa, D as ba, a as ya, h as ha, a0 as ga, p as va, b as wa, c as Ca, $ as ja, Z as Na, n as Sa, a1 as ka, Y as Ia, E as Ra, w as Ba, x as Aa, q as La, G as Ta, X as Pa, F as qa, R as Da, e as Ea, u as za, H as Fa, I as Oa, L as Ha, v as Ua, a3 as Wa, M as Ma, N as $a, P as Va, _ as Ga, k as _a, S as Xa, f as Za, K as Ja, l as Ka, T as Qa, y as Ya, J as er, a2 as tr, o as ar, z as rr, s as or, a4 as nr, U as sr, W as ir } from "./Icons_Legacy-BJgYCS_W.js";
|
|
46
46
|
import { motion as b, AnimatePresence as R } from "framer-motion";
|
|
47
47
|
import { default as cr } from "./OtpInput.es.js";
|
|
48
48
|
import { useDropzone as z } from "react-dropzone";
|
|
@@ -107,19 +107,19 @@ const F = (t, e) => {
|
|
|
107
107
|
className: r = "",
|
|
108
108
|
width: n = "w-96",
|
|
109
109
|
action: o,
|
|
110
|
-
primarySidebarCollapsed:
|
|
110
|
+
primarySidebarCollapsed: i,
|
|
111
111
|
onClose: l
|
|
112
112
|
}) => {
|
|
113
|
-
const c = h(null), [d,
|
|
113
|
+
const c = h(null), [d, s] = g({ left: 0, width: 0 }), { primarySidebarRef: f, tabBarRef: p } = k();
|
|
114
114
|
return P(() => {
|
|
115
115
|
if (f?.current && p?.current) {
|
|
116
116
|
const m = f.current.getBoundingClientRect();
|
|
117
|
-
|
|
117
|
+
s({
|
|
118
118
|
left: m.width + p.current.offsetWidth,
|
|
119
119
|
width: m.width
|
|
120
120
|
});
|
|
121
121
|
}
|
|
122
|
-
}, [f, e,
|
|
122
|
+
}, [f, e, i, p]), F(c, e), /* @__PURE__ */ a.jsx(a.Fragment, { children: e && /* @__PURE__ */ a.jsxs(a.Fragment, { children: [
|
|
123
123
|
/* @__PURE__ */ a.jsx(
|
|
124
124
|
"div",
|
|
125
125
|
{
|
|
@@ -164,14 +164,14 @@ const F = (t, e) => {
|
|
|
164
164
|
}, M = ({
|
|
165
165
|
children: t
|
|
166
166
|
}) => {
|
|
167
|
-
const [e, r] = g(!1), [n, o] = g(!1),
|
|
167
|
+
const [e, r] = g(!1), [n, o] = g(!1), i = h(null), l = () => {
|
|
168
168
|
r(!1), o(!1);
|
|
169
169
|
}, c = () => {
|
|
170
170
|
r(!0), o(!1);
|
|
171
171
|
}, m = {
|
|
172
172
|
isCollapsed: e,
|
|
173
173
|
setIsCollapsed: r,
|
|
174
|
-
navbarRef:
|
|
174
|
+
navbarRef: i,
|
|
175
175
|
toggleCollapse: () => {
|
|
176
176
|
e ? l() : c();
|
|
177
177
|
},
|
|
@@ -508,11 +508,11 @@ const F = (t, e) => {
|
|
|
508
508
|
ease: "power2.in"
|
|
509
509
|
});
|
|
510
510
|
}, X = N((t, e) => {
|
|
511
|
-
const [r, n] = g(t?.currentTabName || t.tabs[0].name), o = h(null), { tabs:
|
|
511
|
+
const [r, n] = g(t?.currentTabName || t.tabs[0].name), o = h(null), { tabs: i = [], className: l, activeColor: c = "var(--neutral-900)" } = t;
|
|
512
512
|
v(() => {
|
|
513
513
|
o.current?.style.setProperty("--tab-bg", c);
|
|
514
514
|
}, [c]);
|
|
515
|
-
const d =
|
|
515
|
+
const d = i.find((s) => s.name === (t?.currentTabName || r));
|
|
516
516
|
return /* @__PURE__ */ a.jsx(
|
|
517
517
|
"div",
|
|
518
518
|
{
|
|
@@ -524,10 +524,10 @@ const F = (t, e) => {
|
|
|
524
524
|
" border-r border-neutral-default-default",
|
|
525
525
|
l
|
|
526
526
|
),
|
|
527
|
-
children:
|
|
528
|
-
(
|
|
529
|
-
const f =
|
|
530
|
-
|
|
527
|
+
children: i.map(
|
|
528
|
+
(s) => {
|
|
529
|
+
const f = s.name === d?.name, p = typeof s.thumbnail == "string" ? /* @__PURE__ */ a.jsx("img", { src: s.thumbnail, alt: s.description, className: "aspect-square object-contain" }) : s.thumbnail, m = () => {
|
|
530
|
+
s.disabled || (n(s.name), s.onClick && s.onClick(s.name));
|
|
531
531
|
};
|
|
532
532
|
return /* @__PURE__ */ a.jsx(
|
|
533
533
|
"div",
|
|
@@ -547,25 +547,25 @@ const F = (t, e) => {
|
|
|
547
547
|
"grid place-items-center",
|
|
548
548
|
"tab-thumbnail-icon",
|
|
549
549
|
"bg-transparent text-neutral-default-default",
|
|
550
|
-
|
|
550
|
+
s?.className
|
|
551
551
|
), children: p })
|
|
552
552
|
},
|
|
553
|
-
|
|
553
|
+
s.name
|
|
554
554
|
);
|
|
555
555
|
}
|
|
556
556
|
)
|
|
557
557
|
}
|
|
558
558
|
);
|
|
559
559
|
}), Z = N(
|
|
560
|
-
({ children: t, isCollapsed: e = !1, className: r = "", tabs: n = [], currentTabName: o },
|
|
561
|
-
const l = h(null), c = h(null), { registerPrimarySidebar: d, registerTabBar:
|
|
562
|
-
l.current = p, typeof
|
|
563
|
-
}, [
|
|
560
|
+
({ children: t, isCollapsed: e = !1, className: r = "", tabs: n = [], currentTabName: o }, i) => {
|
|
561
|
+
const l = h(null), c = h(null), { registerPrimarySidebar: d, registerTabBar: s } = k(), f = E((p) => {
|
|
562
|
+
l.current = p, typeof i == "function" ? i(p) : i && (i.current = p);
|
|
563
|
+
}, [i]);
|
|
564
564
|
return v(() => {
|
|
565
565
|
l.current && d(l);
|
|
566
566
|
}, [d]), v(() => {
|
|
567
|
-
c.current &&
|
|
568
|
-
}, [
|
|
567
|
+
c.current && s(c);
|
|
568
|
+
}, [s]), $(l, e, !1), /* @__PURE__ */ a.jsxs(
|
|
569
569
|
"div",
|
|
570
570
|
{
|
|
571
571
|
className: u(
|
|
@@ -636,7 +636,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
636
636
|
label: r,
|
|
637
637
|
href: n,
|
|
638
638
|
onClick: o,
|
|
639
|
-
isActive:
|
|
639
|
+
isActive: i = !1,
|
|
640
640
|
className: l
|
|
641
641
|
}) => {
|
|
642
642
|
const c = n ? "a" : "button";
|
|
@@ -650,7 +650,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
650
650
|
"flex items-center w-full px-3 py-2 text-left",
|
|
651
651
|
"hover:bg-neutral-medium-default transition-colors rounded-lg",
|
|
652
652
|
"focus:outline-none focus:ring-2 focus:ring-primary-default-default",
|
|
653
|
-
|
|
653
|
+
i && "bg-neutral-medium-default",
|
|
654
654
|
l
|
|
655
655
|
),
|
|
656
656
|
children: [
|
|
@@ -666,15 +666,15 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
666
666
|
className: r = "",
|
|
667
667
|
size: n = "medium",
|
|
668
668
|
variant: o = "primary",
|
|
669
|
-
showZero:
|
|
669
|
+
showZero: i = !1
|
|
670
670
|
}) => {
|
|
671
671
|
const l = t, c = l > e ? `+${e}` : l;
|
|
672
|
-
if (l === 0 && !
|
|
672
|
+
if (l === 0 && !i) return null;
|
|
673
673
|
const d = {
|
|
674
674
|
small: "w-4.5 h-4.5 text-xs ",
|
|
675
675
|
medium: "w-5 h-5 text-xs",
|
|
676
676
|
large: "w-6 h-6 text-sm"
|
|
677
|
-
},
|
|
677
|
+
}, s = {
|
|
678
678
|
primary: "bg-primary-default-default text-neutral-strong-default",
|
|
679
679
|
secondary: "bg-neutral-medium-default text-neutral-strong-default",
|
|
680
680
|
success: "bg-green-500 text-white",
|
|
@@ -684,7 +684,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
684
684
|
return /* @__PURE__ */ a.jsx("div", { className: u(
|
|
685
685
|
"rounded-full flex items-center justify-center font-medium ",
|
|
686
686
|
d[n],
|
|
687
|
-
|
|
687
|
+
s[o],
|
|
688
688
|
r
|
|
689
689
|
), children: /* @__PURE__ */ a.jsx("span", { children: c }) });
|
|
690
690
|
}, xe = ({
|
|
@@ -692,7 +692,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
692
692
|
onClick: e,
|
|
693
693
|
activeAction: r
|
|
694
694
|
}) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((n, o) => {
|
|
695
|
-
const { isView:
|
|
695
|
+
const { isView: i = !1, actionName: l, title: c, icon: d, count: s, viewAccess: f } = n || {}, p = (typeof i == "function" ? i() : i !== !1) && (!f || f()), m = r === l;
|
|
696
696
|
return p && /* @__PURE__ */ a.jsx(
|
|
697
697
|
b.div,
|
|
698
698
|
{
|
|
@@ -767,7 +767,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
767
767
|
),
|
|
768
768
|
/* @__PURE__ */ a.jsx("span", { className: "nav-label whitespace-nowrap text-sm font-semibold ", children: c })
|
|
769
769
|
] }),
|
|
770
|
-
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children:
|
|
770
|
+
/* @__PURE__ */ a.jsx("div", { className: "badge-in-link", children: s && s >= 1 ? /* @__PURE__ */ a.jsx(A, { count: s, maxCount: 9, className: "" }) : "" })
|
|
771
771
|
]
|
|
772
772
|
}
|
|
773
773
|
)
|
|
@@ -782,7 +782,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
782
782
|
isLinkActive: e,
|
|
783
783
|
onLinkClick: r
|
|
784
784
|
}) => /* @__PURE__ */ a.jsx("nav", { className: "flex flex-col gap-1", children: t?.map((n, o) => {
|
|
785
|
-
const { isView:
|
|
785
|
+
const { isView: i = !1, viewAccess: l, path: c, title: d, icon: s, count: f, relatedPaths: p } = n, m = (typeof i == "function" ? i() : i !== !1) && (!l || l()), y = e(c) || (p?.some(
|
|
786
786
|
(L) => e(L)
|
|
787
787
|
) ?? !1);
|
|
788
788
|
return m && /* @__PURE__ */ a.jsx(
|
|
@@ -848,7 +848,7 @@ const J = ({ isCollapsed: t, onToggleCollapse: e }) => /* @__PURE__ */ a.jsx("di
|
|
|
848
848
|
duration: 0.25,
|
|
849
849
|
ease: "easeOut"
|
|
850
850
|
},
|
|
851
|
-
children: typeof
|
|
851
|
+
children: typeof s == "function" ? s({
|
|
852
852
|
size: 24,
|
|
853
853
|
className: u(
|
|
854
854
|
"nav-icon transition-colors duration-250 ease-out",
|
|
@@ -906,8 +906,8 @@ function we({
|
|
|
906
906
|
...r
|
|
907
907
|
}) {
|
|
908
908
|
const n = T.useCallback(
|
|
909
|
-
(
|
|
910
|
-
|
|
909
|
+
(i, l) => {
|
|
910
|
+
i.length > 0 && t?.(i), l.length > 0 && e?.(l);
|
|
911
911
|
},
|
|
912
912
|
[t, e]
|
|
913
913
|
), o = z({
|
|
@@ -942,8 +942,8 @@ const Ce = (t, e = !0) => {
|
|
|
942
942
|
export {
|
|
943
943
|
oa as AccountCircle,
|
|
944
944
|
na as Add,
|
|
945
|
-
|
|
946
|
-
|
|
945
|
+
sa as ArrowLeft,
|
|
946
|
+
ia as ArrowUpDown,
|
|
947
947
|
la as AttachFile,
|
|
948
948
|
Se as Avatar,
|
|
949
949
|
A as Badge,
|
|
@@ -1028,7 +1028,7 @@ export {
|
|
|
1028
1028
|
Ut as SidebarRefProvider,
|
|
1029
1029
|
Et as Skeleton,
|
|
1030
1030
|
Ja as Sort,
|
|
1031
|
-
|
|
1031
|
+
it as Spinner,
|
|
1032
1032
|
Ka as Stars,
|
|
1033
1033
|
ct as Steps,
|
|
1034
1034
|
dt as SwipeContainer,
|
|
@@ -1054,8 +1054,8 @@ export {
|
|
|
1054
1054
|
rr as UploadCloud,
|
|
1055
1055
|
or as UserAdd,
|
|
1056
1056
|
nr as UserAddFill,
|
|
1057
|
-
|
|
1058
|
-
|
|
1057
|
+
sr as UserPerson,
|
|
1058
|
+
ir as WhatsApp,
|
|
1059
1059
|
Xt as toastpyrion,
|
|
1060
1060
|
ye as useActionsNavbar,
|
|
1061
1061
|
Ce as useClickOutside,
|