@sudobility/project-management-components 1.1.10 → 1.1.12
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/index.esm.js +92 -352
- package/dist/index.umd.js +1 -6
- package/package.json +2 -4
package/dist/index.esm.js
CHANGED
|
@@ -1,440 +1,180 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { cn as
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
function t(i, c, u) {
|
|
10
|
-
var b = null;
|
|
11
|
-
if (u !== void 0 && (b = "" + u), c.key !== void 0 && (b = "" + c.key), "key" in c) {
|
|
12
|
-
u = {};
|
|
13
|
-
for (var m in c)
|
|
14
|
-
m !== "key" && (u[m] = c[m]);
|
|
15
|
-
} else u = c;
|
|
16
|
-
return c = u.ref, {
|
|
17
|
-
$$typeof: a,
|
|
18
|
-
type: i,
|
|
19
|
-
key: b,
|
|
20
|
-
ref: c !== void 0 ? c : null,
|
|
21
|
-
props: u
|
|
22
|
-
};
|
|
23
|
-
}
|
|
24
|
-
return p.Fragment = n, p.jsx = t, p.jsxs = t, p;
|
|
25
|
-
}
|
|
26
|
-
var k = {};
|
|
27
|
-
var F;
|
|
28
|
-
function ar() {
|
|
29
|
-
return F || (F = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
30
|
-
function a(r) {
|
|
31
|
-
if (r == null) return null;
|
|
32
|
-
if (typeof r == "function")
|
|
33
|
-
return r.$$typeof === Q ? null : r.displayName || r.name || null;
|
|
34
|
-
if (typeof r == "string") return r;
|
|
35
|
-
switch (r) {
|
|
36
|
-
case E:
|
|
37
|
-
return "Fragment";
|
|
38
|
-
case B:
|
|
39
|
-
return "Profiler";
|
|
40
|
-
case q:
|
|
41
|
-
return "StrictMode";
|
|
42
|
-
case G:
|
|
43
|
-
return "Suspense";
|
|
44
|
-
case X:
|
|
45
|
-
return "SuspenseList";
|
|
46
|
-
case Z:
|
|
47
|
-
return "Activity";
|
|
48
|
-
}
|
|
49
|
-
if (typeof r == "object")
|
|
50
|
-
switch (typeof r.tag == "number" && console.error(
|
|
51
|
-
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
52
|
-
), r.$$typeof) {
|
|
53
|
-
case W:
|
|
54
|
-
return "Portal";
|
|
55
|
-
case V:
|
|
56
|
-
return r.displayName || "Context";
|
|
57
|
-
case J:
|
|
58
|
-
return (r._context.displayName || "Context") + ".Consumer";
|
|
59
|
-
case z:
|
|
60
|
-
var e = r.render;
|
|
61
|
-
return r = r.displayName, r || (r = e.displayName || e.name || "", r = r !== "" ? "ForwardRef(" + r + ")" : "ForwardRef"), r;
|
|
62
|
-
case H:
|
|
63
|
-
return e = r.displayName || null, e !== null ? e : a(r.type) || "Memo";
|
|
64
|
-
case h:
|
|
65
|
-
e = r._payload, r = r._init;
|
|
66
|
-
try {
|
|
67
|
-
return a(r(e));
|
|
68
|
-
} catch {
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
return null;
|
|
72
|
-
}
|
|
73
|
-
function n(r) {
|
|
74
|
-
return "" + r;
|
|
75
|
-
}
|
|
76
|
-
function t(r) {
|
|
77
|
-
try {
|
|
78
|
-
n(r);
|
|
79
|
-
var e = !1;
|
|
80
|
-
} catch {
|
|
81
|
-
e = !0;
|
|
82
|
-
}
|
|
83
|
-
if (e) {
|
|
84
|
-
e = console;
|
|
85
|
-
var o = e.error, l = typeof Symbol == "function" && Symbol.toStringTag && r[Symbol.toStringTag] || r.constructor.name || "Object";
|
|
86
|
-
return o.call(
|
|
87
|
-
e,
|
|
88
|
-
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
89
|
-
l
|
|
90
|
-
), n(r);
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
function i(r) {
|
|
94
|
-
if (r === E) return "<>";
|
|
95
|
-
if (typeof r == "object" && r !== null && r.$$typeof === h)
|
|
96
|
-
return "<...>";
|
|
97
|
-
try {
|
|
98
|
-
var e = a(r);
|
|
99
|
-
return e ? "<" + e + ">" : "<...>";
|
|
100
|
-
} catch {
|
|
101
|
-
return "<...>";
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
function c() {
|
|
105
|
-
var r = R.A;
|
|
106
|
-
return r === null ? null : r.getOwner();
|
|
107
|
-
}
|
|
108
|
-
function u() {
|
|
109
|
-
return Error("react-stack-top-frame");
|
|
110
|
-
}
|
|
111
|
-
function b(r) {
|
|
112
|
-
if (A.call(r, "key")) {
|
|
113
|
-
var e = Object.getOwnPropertyDescriptor(r, "key").get;
|
|
114
|
-
if (e && e.isReactWarning) return !1;
|
|
115
|
-
}
|
|
116
|
-
return r.key !== void 0;
|
|
117
|
-
}
|
|
118
|
-
function m(r, e) {
|
|
119
|
-
function o() {
|
|
120
|
-
U || (U = !0, console.error(
|
|
121
|
-
"%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)",
|
|
122
|
-
e
|
|
123
|
-
));
|
|
124
|
-
}
|
|
125
|
-
o.isReactWarning = !0, Object.defineProperty(r, "key", {
|
|
126
|
-
get: o,
|
|
127
|
-
configurable: !0
|
|
128
|
-
});
|
|
129
|
-
}
|
|
130
|
-
function L() {
|
|
131
|
-
var r = a(this.type);
|
|
132
|
-
return N[r] || (N[r] = !0, console.error(
|
|
133
|
-
"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."
|
|
134
|
-
)), r = this.props.ref, r !== void 0 ? r : null;
|
|
135
|
-
}
|
|
136
|
-
function M(r, e, o, l, v, w) {
|
|
137
|
-
var s = o.ref;
|
|
138
|
-
return r = {
|
|
139
|
-
$$typeof: P,
|
|
140
|
-
type: r,
|
|
141
|
-
key: e,
|
|
142
|
-
props: o,
|
|
143
|
-
_owner: l
|
|
144
|
-
}, (s !== void 0 ? s : null) !== null ? Object.defineProperty(r, "ref", {
|
|
145
|
-
enumerable: !1,
|
|
146
|
-
get: L
|
|
147
|
-
}) : Object.defineProperty(r, "ref", { enumerable: !1, value: null }), r._store = {}, Object.defineProperty(r._store, "validated", {
|
|
148
|
-
configurable: !1,
|
|
149
|
-
enumerable: !1,
|
|
150
|
-
writable: !0,
|
|
151
|
-
value: 0
|
|
152
|
-
}), Object.defineProperty(r, "_debugInfo", {
|
|
153
|
-
configurable: !1,
|
|
154
|
-
enumerable: !1,
|
|
155
|
-
writable: !0,
|
|
156
|
-
value: null
|
|
157
|
-
}), Object.defineProperty(r, "_debugStack", {
|
|
158
|
-
configurable: !1,
|
|
159
|
-
enumerable: !1,
|
|
160
|
-
writable: !0,
|
|
161
|
-
value: v
|
|
162
|
-
}), Object.defineProperty(r, "_debugTask", {
|
|
163
|
-
configurable: !1,
|
|
164
|
-
enumerable: !1,
|
|
165
|
-
writable: !0,
|
|
166
|
-
value: w
|
|
167
|
-
}), Object.freeze && (Object.freeze(r.props), Object.freeze(r)), r;
|
|
168
|
-
}
|
|
169
|
-
function j(r, e, o, l, v, w) {
|
|
170
|
-
var s = e.children;
|
|
171
|
-
if (s !== void 0)
|
|
172
|
-
if (l)
|
|
173
|
-
if (K(s)) {
|
|
174
|
-
for (l = 0; l < s.length; l++)
|
|
175
|
-
O(s[l]);
|
|
176
|
-
Object.freeze && Object.freeze(s);
|
|
177
|
-
} else
|
|
178
|
-
console.error(
|
|
179
|
-
"React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
|
|
180
|
-
);
|
|
181
|
-
else O(s);
|
|
182
|
-
if (A.call(e, "key")) {
|
|
183
|
-
s = a(r);
|
|
184
|
-
var g = Object.keys(e).filter(function(rr) {
|
|
185
|
-
return rr !== "key";
|
|
186
|
-
});
|
|
187
|
-
l = 0 < g.length ? "{key: someKey, " + g.join(": ..., ") + ": ...}" : "{key: someKey}", $[s + l] || (g = 0 < g.length ? "{" + g.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
188
|
-
`A props object containing a "key" prop is being spread into JSX:
|
|
189
|
-
let props = %s;
|
|
190
|
-
<%s {...props} />
|
|
191
|
-
React keys must be passed directly to JSX without using spread:
|
|
192
|
-
let props = %s;
|
|
193
|
-
<%s key={someKey} {...props} />`,
|
|
194
|
-
l,
|
|
195
|
-
s,
|
|
196
|
-
g,
|
|
197
|
-
s
|
|
198
|
-
), $[s + l] = !0);
|
|
199
|
-
}
|
|
200
|
-
if (s = null, o !== void 0 && (t(o), s = "" + o), b(e) && (t(e.key), s = "" + e.key), "key" in e) {
|
|
201
|
-
o = {};
|
|
202
|
-
for (var x in e)
|
|
203
|
-
x !== "key" && (o[x] = e[x]);
|
|
204
|
-
} else o = e;
|
|
205
|
-
return s && m(
|
|
206
|
-
o,
|
|
207
|
-
typeof r == "function" ? r.displayName || r.name || "Unknown" : r
|
|
208
|
-
), M(
|
|
209
|
-
r,
|
|
210
|
-
s,
|
|
211
|
-
o,
|
|
212
|
-
c(),
|
|
213
|
-
v,
|
|
214
|
-
w
|
|
215
|
-
);
|
|
216
|
-
}
|
|
217
|
-
function O(r) {
|
|
218
|
-
S(r) ? r._store && (r._store.validated = 1) : typeof r == "object" && r !== null && r.$$typeof === h && (r._payload.status === "fulfilled" ? S(r._payload.value) && r._payload.value._store && (r._payload.value._store.validated = 1) : r._store && (r._store.validated = 1));
|
|
219
|
-
}
|
|
220
|
-
function S(r) {
|
|
221
|
-
return typeof r == "object" && r !== null && r.$$typeof === P;
|
|
222
|
-
}
|
|
223
|
-
var y = er, P = /* @__PURE__ */ Symbol.for("react.transitional.element"), W = /* @__PURE__ */ Symbol.for("react.portal"), E = /* @__PURE__ */ Symbol.for("react.fragment"), q = /* @__PURE__ */ Symbol.for("react.strict_mode"), B = /* @__PURE__ */ Symbol.for("react.profiler"), J = /* @__PURE__ */ Symbol.for("react.consumer"), V = /* @__PURE__ */ Symbol.for("react.context"), z = /* @__PURE__ */ Symbol.for("react.forward_ref"), G = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), H = /* @__PURE__ */ Symbol.for("react.memo"), h = /* @__PURE__ */ Symbol.for("react.lazy"), Z = /* @__PURE__ */ Symbol.for("react.activity"), Q = /* @__PURE__ */ Symbol.for("react.client.reference"), R = y.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, A = Object.prototype.hasOwnProperty, K = Array.isArray, T = console.createTask ? console.createTask : function() {
|
|
224
|
-
return null;
|
|
225
|
-
};
|
|
226
|
-
y = {
|
|
227
|
-
react_stack_bottom_frame: function(r) {
|
|
228
|
-
return r();
|
|
229
|
-
}
|
|
230
|
-
};
|
|
231
|
-
var U, N = {}, C = y.react_stack_bottom_frame.bind(
|
|
232
|
-
y,
|
|
233
|
-
u
|
|
234
|
-
)(), Y = T(i(u)), $ = {};
|
|
235
|
-
k.Fragment = E, k.jsx = function(r, e, o) {
|
|
236
|
-
var l = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
237
|
-
return j(
|
|
238
|
-
r,
|
|
239
|
-
e,
|
|
240
|
-
o,
|
|
241
|
-
!1,
|
|
242
|
-
l ? Error("react-stack-top-frame") : C,
|
|
243
|
-
l ? T(i(r)) : Y
|
|
244
|
-
);
|
|
245
|
-
}, k.jsxs = function(r, e, o) {
|
|
246
|
-
var l = 1e4 > R.recentlyCreatedOwnerStacks++;
|
|
247
|
-
return j(
|
|
248
|
-
r,
|
|
249
|
-
e,
|
|
250
|
-
o,
|
|
251
|
-
!0,
|
|
252
|
-
l ? Error("react-stack-top-frame") : C,
|
|
253
|
-
l ? T(i(r)) : Y
|
|
254
|
-
);
|
|
255
|
-
};
|
|
256
|
-
})()), k;
|
|
257
|
-
}
|
|
258
|
-
var D;
|
|
259
|
-
function or() {
|
|
260
|
-
return D || (D = 1, process.env.NODE_ENV === "production" ? _.exports = tr() : _.exports = ar()), _.exports;
|
|
261
|
-
}
|
|
262
|
-
var f = or();
|
|
263
|
-
const sr = ({
|
|
264
|
-
className: a,
|
|
265
|
-
children: n,
|
|
266
|
-
disabled: t = !1,
|
|
267
|
-
onClick: i
|
|
268
|
-
}) => /* @__PURE__ */ f.jsx(
|
|
1
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
2
|
+
import { cn as n } from "@sudobility/components";
|
|
3
|
+
const i = ({
|
|
4
|
+
className: e,
|
|
5
|
+
children: o,
|
|
6
|
+
disabled: r = !1,
|
|
7
|
+
onClick: a
|
|
8
|
+
}) => /* @__PURE__ */ t(
|
|
269
9
|
"div",
|
|
270
10
|
{
|
|
271
|
-
className:
|
|
11
|
+
className: n(
|
|
272
12
|
"p-4 rounded-lg border transition-colors",
|
|
273
13
|
"bg-white dark:bg-gray-900",
|
|
274
14
|
"border-gray-200 dark:border-gray-700",
|
|
275
15
|
"text-gray-900 dark:text-white",
|
|
276
|
-
|
|
16
|
+
r && "opacity-50 cursor-not-allowed",
|
|
277
17
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
278
|
-
|
|
18
|
+
e
|
|
279
19
|
),
|
|
280
|
-
onClick:
|
|
20
|
+
onClick: r ? void 0 : a,
|
|
281
21
|
role: "region",
|
|
282
22
|
"aria-label": "UbatchUprocessor",
|
|
283
|
-
children:
|
|
23
|
+
children: o || "UbatchUprocessor Component"
|
|
284
24
|
}
|
|
285
|
-
),
|
|
286
|
-
className:
|
|
287
|
-
children:
|
|
288
|
-
disabled:
|
|
289
|
-
onClick:
|
|
290
|
-
}) => /* @__PURE__ */
|
|
25
|
+
), l = ({
|
|
26
|
+
className: e,
|
|
27
|
+
children: o,
|
|
28
|
+
disabled: r = !1,
|
|
29
|
+
onClick: a
|
|
30
|
+
}) => /* @__PURE__ */ t(
|
|
291
31
|
"div",
|
|
292
32
|
{
|
|
293
|
-
className:
|
|
33
|
+
className: n(
|
|
294
34
|
"p-4 rounded-lg border transition-colors",
|
|
295
35
|
"bg-white dark:bg-gray-900",
|
|
296
36
|
"border-gray-200 dark:border-gray-700",
|
|
297
37
|
"text-gray-900 dark:text-white",
|
|
298
|
-
|
|
38
|
+
r && "opacity-50 cursor-not-allowed",
|
|
299
39
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
300
|
-
|
|
40
|
+
e
|
|
301
41
|
),
|
|
302
|
-
onClick:
|
|
42
|
+
onClick: r ? void 0 : a,
|
|
303
43
|
role: "region",
|
|
304
44
|
"aria-label": "UbugUreport",
|
|
305
|
-
children:
|
|
45
|
+
children: o || "UbugUreport Component"
|
|
306
46
|
}
|
|
307
|
-
),
|
|
308
|
-
className:
|
|
309
|
-
children:
|
|
310
|
-
disabled:
|
|
311
|
-
}) => /* @__PURE__ */
|
|
47
|
+
), c = ({
|
|
48
|
+
className: e,
|
|
49
|
+
children: o,
|
|
50
|
+
disabled: r
|
|
51
|
+
}) => /* @__PURE__ */ t(
|
|
312
52
|
"div",
|
|
313
53
|
{
|
|
314
|
-
className:
|
|
54
|
+
className: n(
|
|
315
55
|
"p-4 rounded-lg border transition-colors",
|
|
316
56
|
"bg-white dark:bg-gray-900",
|
|
317
57
|
"border-gray-200 dark:border-gray-700",
|
|
318
58
|
"text-gray-900 dark:text-white",
|
|
319
|
-
|
|
320
|
-
|
|
59
|
+
r && "opacity-50 cursor-not-allowed",
|
|
60
|
+
e
|
|
321
61
|
),
|
|
322
62
|
role: "region",
|
|
323
63
|
"aria-label": "BugTracker",
|
|
324
|
-
children:
|
|
64
|
+
children: o || "BugTracker Component"
|
|
325
65
|
}
|
|
326
|
-
),
|
|
327
|
-
className:
|
|
328
|
-
children:
|
|
329
|
-
disabled:
|
|
330
|
-
onClick:
|
|
331
|
-
}) => /* @__PURE__ */
|
|
66
|
+
), b = ({
|
|
67
|
+
className: e,
|
|
68
|
+
children: o,
|
|
69
|
+
disabled: r = !1,
|
|
70
|
+
onClick: a
|
|
71
|
+
}) => /* @__PURE__ */ t(
|
|
332
72
|
"div",
|
|
333
73
|
{
|
|
334
|
-
className:
|
|
74
|
+
className: n(
|
|
335
75
|
"p-4 rounded-lg border transition-colors",
|
|
336
76
|
"bg-white dark:bg-gray-900",
|
|
337
77
|
"border-gray-200 dark:border-gray-700",
|
|
338
78
|
"text-gray-900 dark:text-white",
|
|
339
|
-
|
|
79
|
+
r && "opacity-50 cursor-not-allowed",
|
|
340
80
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
341
|
-
|
|
81
|
+
e
|
|
342
82
|
),
|
|
343
|
-
onClick:
|
|
83
|
+
onClick: r ? void 0 : a,
|
|
344
84
|
role: "region",
|
|
345
85
|
"aria-label": "UbulkUeditor",
|
|
346
|
-
children:
|
|
86
|
+
children: o || "UbulkUeditor Component"
|
|
347
87
|
}
|
|
348
|
-
),
|
|
349
|
-
className:
|
|
350
|
-
children:
|
|
351
|
-
disabled:
|
|
352
|
-
}) => /* @__PURE__ */
|
|
88
|
+
), s = ({
|
|
89
|
+
className: e,
|
|
90
|
+
children: o,
|
|
91
|
+
disabled: r
|
|
92
|
+
}) => /* @__PURE__ */ t(
|
|
353
93
|
"div",
|
|
354
94
|
{
|
|
355
|
-
className:
|
|
95
|
+
className: n(
|
|
356
96
|
"p-4 rounded-lg border transition-colors",
|
|
357
97
|
"bg-white dark:bg-gray-900",
|
|
358
98
|
"border-gray-200 dark:border-gray-700",
|
|
359
99
|
"text-gray-900 dark:text-white",
|
|
360
|
-
|
|
361
|
-
|
|
100
|
+
r && "opacity-50 cursor-not-allowed",
|
|
101
|
+
e
|
|
362
102
|
),
|
|
363
103
|
role: "region",
|
|
364
104
|
"aria-label": "SprintPlanner",
|
|
365
|
-
children:
|
|
105
|
+
children: o || "SprintPlanner Component"
|
|
366
106
|
}
|
|
367
|
-
),
|
|
368
|
-
className:
|
|
369
|
-
children:
|
|
370
|
-
disabled:
|
|
371
|
-
}) => /* @__PURE__ */
|
|
107
|
+
), y = ({
|
|
108
|
+
className: e,
|
|
109
|
+
children: o,
|
|
110
|
+
disabled: r
|
|
111
|
+
}) => /* @__PURE__ */ t(
|
|
372
112
|
"div",
|
|
373
113
|
{
|
|
374
|
-
className:
|
|
114
|
+
className: n(
|
|
375
115
|
"p-4 rounded-lg border transition-colors",
|
|
376
116
|
"bg-white dark:bg-gray-900",
|
|
377
117
|
"border-gray-200 dark:border-gray-700",
|
|
378
118
|
"text-gray-900 dark:text-white",
|
|
379
|
-
|
|
380
|
-
|
|
119
|
+
r && "opacity-50 cursor-not-allowed",
|
|
120
|
+
e
|
|
381
121
|
),
|
|
382
122
|
role: "region",
|
|
383
123
|
"aria-label": "TaskBoard",
|
|
384
|
-
children:
|
|
124
|
+
children: o || "TaskBoard Component"
|
|
385
125
|
}
|
|
386
|
-
),
|
|
387
|
-
className:
|
|
388
|
-
children:
|
|
389
|
-
disabled:
|
|
390
|
-
onClick:
|
|
391
|
-
}) => /* @__PURE__ */
|
|
126
|
+
), k = ({
|
|
127
|
+
className: e,
|
|
128
|
+
children: o,
|
|
129
|
+
disabled: r = !1,
|
|
130
|
+
onClick: a
|
|
131
|
+
}) => /* @__PURE__ */ t(
|
|
392
132
|
"div",
|
|
393
133
|
{
|
|
394
|
-
className:
|
|
134
|
+
className: n(
|
|
395
135
|
"p-4 rounded-lg border transition-colors",
|
|
396
136
|
"bg-white dark:bg-gray-900",
|
|
397
137
|
"border-gray-200 dark:border-gray-700",
|
|
398
138
|
"text-gray-900 dark:text-white",
|
|
399
|
-
|
|
139
|
+
r && "opacity-50 cursor-not-allowed",
|
|
400
140
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
401
|
-
|
|
141
|
+
e
|
|
402
142
|
),
|
|
403
|
-
onClick:
|
|
143
|
+
onClick: r ? void 0 : a,
|
|
404
144
|
role: "region",
|
|
405
145
|
"aria-label": "UtaskUdependency",
|
|
406
|
-
children:
|
|
146
|
+
children: o || "UtaskUdependency Component"
|
|
407
147
|
}
|
|
408
|
-
),
|
|
409
|
-
className:
|
|
410
|
-
children:
|
|
411
|
-
disabled:
|
|
412
|
-
onClick:
|
|
413
|
-
}) => /* @__PURE__ */
|
|
148
|
+
), p = ({
|
|
149
|
+
className: e,
|
|
150
|
+
children: o,
|
|
151
|
+
disabled: r = !1,
|
|
152
|
+
onClick: a
|
|
153
|
+
}) => /* @__PURE__ */ t(
|
|
414
154
|
"div",
|
|
415
155
|
{
|
|
416
|
-
className:
|
|
156
|
+
className: n(
|
|
417
157
|
"p-4 rounded-lg border transition-colors",
|
|
418
158
|
"bg-white dark:bg-gray-900",
|
|
419
159
|
"border-gray-200 dark:border-gray-700",
|
|
420
160
|
"text-gray-900 dark:text-white",
|
|
421
|
-
|
|
161
|
+
r && "opacity-50 cursor-not-allowed",
|
|
422
162
|
"hover:bg-gray-50 dark:hover:bg-gray-800",
|
|
423
|
-
|
|
163
|
+
e
|
|
424
164
|
),
|
|
425
|
-
onClick:
|
|
165
|
+
onClick: r ? void 0 : a,
|
|
426
166
|
role: "region",
|
|
427
167
|
"aria-label": "UtimelineUgantt",
|
|
428
|
-
children:
|
|
168
|
+
children: o || "UtimelineUgantt Component"
|
|
429
169
|
}
|
|
430
170
|
);
|
|
431
171
|
export {
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
172
|
+
c as BugTracker,
|
|
173
|
+
s as SprintPlanner,
|
|
174
|
+
y as TaskBoard,
|
|
175
|
+
i as UbatchUprocessor,
|
|
176
|
+
l as UbugUreport,
|
|
177
|
+
b as UbulkUeditor,
|
|
178
|
+
k as UtaskUdependency,
|
|
179
|
+
p as UtimelineUgantt
|
|
440
180
|
};
|
package/dist/index.umd.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
(function(
|
|
2
|
-
let props = %s;
|
|
3
|
-
<%s {...props} />
|
|
4
|
-
React keys must be passed directly to JSX without using spread:
|
|
5
|
-
let props = %s;
|
|
6
|
-
<%s key={someKey} {...props} />`,l,i,g,i),L[i+l]=!0)}if(i=null,o!==void 0&&(t(o),i=""+o),p(e)&&(t(e.key),i=""+e.key),"key"in e){o={};for(var S in e)S!=="key"&&(o[S]=e[S])}else o=e;return i&&v(o,typeof r=="function"?r.displayName||r.name||"Unknown":r),rr(r,i,o,u(),h,U)}function C(r){N(r)?r._store&&(r._store.validated=1):typeof r=="object"&&r!==null&&r.$$typeof===R&&(r._payload.status==="fulfilled"?N(r._payload.value)&&r._payload.value._store&&(r._payload.value._store.validated=1):r._store&&(r._store.validated=1))}function N(r){return typeof r=="object"&&r!==null&&r.$$typeof===Y}var E=m,Y=Symbol.for("react.transitional.element"),er=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),tr=Symbol.for("react.strict_mode"),ar=Symbol.for("react.profiler"),or=Symbol.for("react.consumer"),nr=Symbol.for("react.context"),lr=Symbol.for("react.forward_ref"),ir=Symbol.for("react.suspense"),sr=Symbol.for("react.suspense_list"),cr=Symbol.for("react.memo"),R=Symbol.for("react.lazy"),ur=Symbol.for("react.activity"),dr=Symbol.for("react.client.reference"),w=E.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,I=Object.prototype.hasOwnProperty,fr=Array.isArray,x=console.createTask?console.createTask:function(){return null};E={react_stack_bottom_frame:function(r){return r()}};var $,F={},D=E.react_stack_bottom_frame.bind(E,d)(),M=x(c(d)),L={};y.Fragment=T,y.jsx=function(r,e,o){var l=1e4>w.recentlyCreatedOwnerStacks++;return A(r,e,o,!1,l?Error("react-stack-top-frame"):D,l?x(c(r)):M)},y.jsxs=function(r,e,o){var l=1e4>w.recentlyCreatedOwnerStacks++;return A(r,e,o,!0,l?Error("react-stack-top-frame"):D,l?x(c(r)):M)}})()),y}var P;function q(){return P||(P=1,process.env.NODE_ENV==="production"?_.exports=W():_.exports=B()),_.exports}var b=q();const J=({className:a,children:n,disabled:t=!1,onClick:c})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",a),onClick:t?void 0:c,role:"region","aria-label":"UbatchUprocessor",children:n||"UbatchUprocessor Component"}),V=({className:a,children:n,disabled:t=!1,onClick:c})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",a),onClick:t?void 0:c,role:"region","aria-label":"UbugUreport",children:n||"UbugUreport Component"}),z=({className:a,children:n,disabled:t})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed",a),role:"region","aria-label":"BugTracker",children:n||"BugTracker Component"}),G=({className:a,children:n,disabled:t=!1,onClick:c})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",a),onClick:t?void 0:c,role:"region","aria-label":"UbulkUeditor",children:n||"UbulkUeditor Component"}),X=({className:a,children:n,disabled:t})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed",a),role:"region","aria-label":"SprintPlanner",children:n||"SprintPlanner Component"}),H=({className:a,children:n,disabled:t})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed",a),role:"region","aria-label":"TaskBoard",children:n||"TaskBoard Component"}),Z=({className:a,children:n,disabled:t=!1,onClick:c})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",a),onClick:t?void 0:c,role:"region","aria-label":"UtaskUdependency",children:n||"UtaskUdependency Component"}),Q=({className:a,children:n,disabled:t=!1,onClick:c})=>b.jsx("div",{className:f.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",t&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",a),onClick:t?void 0:c,role:"region","aria-label":"UtimelineUgantt",children:n||"UtimelineUgantt Component"});s.BugTracker=z,s.SprintPlanner=X,s.TaskBoard=H,s.UbatchUprocessor=J,s.UbugUreport=V,s.UbulkUeditor=G,s.UtaskUdependency=Z,s.UtimelineUgantt=Q,Object.defineProperty(s,Symbol.toStringTag,{value:"Module"})}));
|
|
1
|
+
(function(e,t){typeof exports=="object"&&typeof module<"u"?t(exports,require("react/jsx-runtime"),require("@sudobility/components")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","@sudobility/components"],t):(e=typeof globalThis<"u"?globalThis:e||self,t(e.Components={},e.ReactJSXRuntime,e.SudobilityComponents))})(this,(function(e,t,d){"use strict";const i=({className:o,children:a,disabled:r=!1,onClick:n})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:n,role:"region","aria-label":"UbatchUprocessor",children:a||"UbatchUprocessor Component"}),g=({className:o,children:a,disabled:r=!1,onClick:n})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:n,role:"region","aria-label":"UbugUreport",children:a||"UbugUreport Component"}),l=({className:o,children:a,disabled:r})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"BugTracker",children:a||"BugTracker Component"}),c=({className:o,children:a,disabled:r=!1,onClick:n})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:n,role:"region","aria-label":"UbulkUeditor",children:a||"UbulkUeditor Component"}),b=({className:o,children:a,disabled:r})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"SprintPlanner",children:a||"SprintPlanner Component"}),s=({className:o,children:a,disabled:r})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed",o),role:"region","aria-label":"TaskBoard",children:a||"TaskBoard Component"}),y=({className:o,children:a,disabled:r=!1,onClick:n})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:n,role:"region","aria-label":"UtaskUdependency",children:a||"UtaskUdependency Component"}),k=({className:o,children:a,disabled:r=!1,onClick:n})=>t.jsx("div",{className:d.cn("p-4 rounded-lg border transition-colors","bg-white dark:bg-gray-900","border-gray-200 dark:border-gray-700","text-gray-900 dark:text-white",r&&"opacity-50 cursor-not-allowed","hover:bg-gray-50 dark:hover:bg-gray-800",o),onClick:r?void 0:n,role:"region","aria-label":"UtimelineUgantt",children:a||"UtimelineUgantt Component"});e.BugTracker=l,e.SprintPlanner=b,e.TaskBoard=s,e.UbatchUprocessor=i,e.UbugUreport=g,e.UbulkUeditor=c,e.UtaskUdependency=y,e.UtimelineUgantt=k,Object.defineProperty(e,Symbol.toStringTag,{value:"Module"})}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sudobility/project-management-components",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.12",
|
|
4
4
|
"description": "project management UI components for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.umd.js",
|
|
@@ -51,9 +51,7 @@
|
|
|
51
51
|
"eslint-plugin-react-hooks": "^7.0.0",
|
|
52
52
|
"eslint-plugin-react-refresh": "^0.4.0",
|
|
53
53
|
"jsdom": "^27.0.1",
|
|
54
|
-
"prettier": "^3.
|
|
55
|
-
"react": "^19.2.0",
|
|
56
|
-
"react-dom": "^19.2.0",
|
|
54
|
+
"prettier": "^3.8.1",
|
|
57
55
|
"tailwind-merge": "^3.3.1",
|
|
58
56
|
"typescript": "^5.9.3",
|
|
59
57
|
"vite": "^7.1.12",
|