overview-components 1.0.95 → 1.0.96

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.
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as a } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitAttachmentsTab as e } from "../lit-attachments-tab.js";
4
4
  const c = a({
@@ -1,4 +1,4 @@
1
- import e from "../../node_modules/react/index.js";
1
+ import e from "react";
2
2
  import { createComponent as t } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitBadge as o } from "../lit-badge.js";
4
4
  const i = t({
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as o } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitButton as e } from "../../shared/lit-button.js";
4
4
  const n = o({
@@ -1,4 +1,4 @@
1
- import a from "../../node_modules/react/index.js";
1
+ import a from "react";
2
2
  import { createComponent as e } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitCaseVariablesTab as t } from "../lit-case-variables-tab.js";
4
4
  const m = e({
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as r } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitChart as o } from "../lit-chart.js";
4
4
  const c = r({
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as a } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitDataGridTanstack as r } from "../lit-data-grid-tanstack.js";
4
4
  const i = a({
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as o } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitFilterModal as e } from "../lit-filter-modal.js";
4
4
  const l = o({
@@ -1,4 +1,4 @@
1
- import r from "../../node_modules/react/index.js";
1
+ import r from "react";
2
2
  import { createComponent as o } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitProgressBar as e } from "../../shared/lit-progress-bar.js";
4
4
  const m = o({
@@ -1,4 +1,4 @@
1
- import t from "../../node_modules/react/index.js";
1
+ import t from "react";
2
2
  import { createComponent as o } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitSectionTab as e } from "../lit-section-tab.js";
4
4
  const i = o({
@@ -1,4 +1,4 @@
1
- import e from "../../node_modules/react/index.js";
1
+ import e from "react";
2
2
  import { createComponent as t } from "../../node_modules/@lit/react/create-component.js";
3
3
  import { LitTabsOverview as o } from "../lit-tabs-overview.js";
4
4
  const i = t({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "overview-components",
3
- "version": "1.0.95",
3
+ "version": "1.0.96",
4
4
  "description": "A reusable design Lit components for case overview section.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
@@ -1,4 +0,0 @@
1
- var e = { exports: {} };
2
- export {
3
- e as __module
4
- };
@@ -1,4 +0,0 @@
1
- var r = {};
2
- export {
3
- r as __exports
4
- };
@@ -1,417 +0,0 @@
1
- import { __exports as o } from "../../../_virtual/react.production.js";
2
- /**
3
- * @license React
4
- * react.production.js
5
- *
6
- * Copyright (c) Meta Platforms, Inc. and affiliates.
7
- *
8
- * This source code is licensed under the MIT license found in the
9
- * LICENSE file in the root directory of this source tree.
10
- */
11
- var y = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), M = Symbol.for("react.fragment"), Y = Symbol.for("react.strict_mode"), I = Symbol.for("react.profiler"), L = Symbol.for("react.consumer"), U = Symbol.for("react.context"), k = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), b = Symbol.for("react.memo"), h = Symbol.for("react.lazy"), d = Symbol.iterator;
12
- function D(t) {
13
- return t === null || typeof t != "object" ? null : (t = d && t[d] || t["@@iterator"], typeof t == "function" ? t : null);
14
- }
15
- var g = {
16
- isMounted: function() {
17
- return !1;
18
- },
19
- enqueueForceUpdate: function() {
20
- },
21
- enqueueReplaceState: function() {
22
- },
23
- enqueueSetState: function() {
24
- }
25
- }, O = Object.assign, H = {};
26
- function l(t, e, n) {
27
- this.props = t, this.context = e, this.refs = H, this.updater = n || g;
28
- }
29
- l.prototype.isReactComponent = {};
30
- l.prototype.setState = function(t, e) {
31
- if (typeof t != "object" && typeof t != "function" && t != null)
32
- throw Error(
33
- "takes an object of state variables to update or a function which returns an object of state variables."
34
- );
35
- this.updater.enqueueSetState(this, t, e, "setState");
36
- };
37
- l.prototype.forceUpdate = function(t) {
38
- this.updater.enqueueForceUpdate(this, t, "forceUpdate");
39
- };
40
- function j() {
41
- }
42
- j.prototype = l.prototype;
43
- function v(t, e, n) {
44
- this.props = t, this.context = e, this.refs = H, this.updater = n || g;
45
- }
46
- var R = v.prototype = new j();
47
- R.constructor = v;
48
- O(R, l.prototype);
49
- R.isPureReactComponent = !0;
50
- var C = Array.isArray, f = { H: null, A: null, T: null, S: null, V: null }, P = Object.prototype.hasOwnProperty;
51
- function T(t, e, n, r, s, i) {
52
- return n = i.ref, {
53
- $$typeof: y,
54
- type: t,
55
- key: e,
56
- ref: n !== void 0 ? n : null,
57
- props: i
58
- };
59
- }
60
- function q(t, e) {
61
- return T(
62
- t.type,
63
- e,
64
- void 0,
65
- void 0,
66
- void 0,
67
- t.props
68
- );
69
- }
70
- function m(t) {
71
- return typeof t == "object" && t !== null && t.$$typeof === y;
72
- }
73
- function z(t) {
74
- var e = { "=": "=0", ":": "=2" };
75
- return "$" + t.replace(/[=:]/g, function(n) {
76
- return e[n];
77
- });
78
- }
79
- var w = /\/+/g;
80
- function E(t, e) {
81
- return typeof t == "object" && t !== null && t.key != null ? z("" + t.key) : e.toString(36);
82
- }
83
- function A() {
84
- }
85
- function G(t) {
86
- switch (t.status) {
87
- case "fulfilled":
88
- return t.value;
89
- case "rejected":
90
- throw t.reason;
91
- default:
92
- switch (typeof t.status == "string" ? t.then(A, A) : (t.status = "pending", t.then(
93
- function(e) {
94
- t.status === "pending" && (t.status = "fulfilled", t.value = e);
95
- },
96
- function(e) {
97
- t.status === "pending" && (t.status = "rejected", t.reason = e);
98
- }
99
- )), t.status) {
100
- case "fulfilled":
101
- return t.value;
102
- case "rejected":
103
- throw t.reason;
104
- }
105
- }
106
- throw t;
107
- }
108
- function _(t, e, n, r, s) {
109
- var i = typeof t;
110
- (i === "undefined" || i === "boolean") && (t = null);
111
- var u = !1;
112
- if (t === null) u = !0;
113
- else
114
- switch (i) {
115
- case "bigint":
116
- case "string":
117
- case "number":
118
- u = !0;
119
- break;
120
- case "object":
121
- switch (t.$$typeof) {
122
- case y:
123
- case N:
124
- u = !0;
125
- break;
126
- case h:
127
- return u = t._init, _(
128
- u(t._payload),
129
- e,
130
- n,
131
- r,
132
- s
133
- );
134
- }
135
- }
136
- if (u)
137
- return s = s(t), u = r === "" ? "." + E(t, 0) : r, C(s) ? (n = "", u != null && (n = u.replace(w, "$&/") + "/"), _(s, e, n, "", function($) {
138
- return $;
139
- })) : s != null && (m(s) && (s = q(
140
- s,
141
- n + (s.key == null || t && t.key === s.key ? "" : ("" + s.key).replace(
142
- w,
143
- "$&/"
144
- ) + "/") + u
145
- )), e.push(s)), 1;
146
- u = 0;
147
- var p = r === "" ? "." : r + ":";
148
- if (C(t))
149
- for (var c = 0; c < t.length; c++)
150
- r = t[c], i = p + E(r, c), u += _(
151
- r,
152
- e,
153
- n,
154
- i,
155
- s
156
- );
157
- else if (c = D(t), typeof c == "function")
158
- for (t = c.call(t), c = 0; !(r = t.next()).done; )
159
- r = r.value, i = p + E(r, c++), u += _(
160
- r,
161
- e,
162
- n,
163
- i,
164
- s
165
- );
166
- else if (i === "object") {
167
- if (typeof t.then == "function")
168
- return _(
169
- G(t),
170
- e,
171
- n,
172
- r,
173
- s
174
- );
175
- throw e = String(t), Error(
176
- "Objects are not valid as a React child (found: " + (e === "[object Object]" ? "object with keys {" + Object.keys(t).join(", ") + "}" : e) + "). If you meant to render a collection of children, use an array instead."
177
- );
178
- }
179
- return u;
180
- }
181
- function a(t, e, n) {
182
- if (t == null) return t;
183
- var r = [], s = 0;
184
- return _(t, r, "", "", function(i) {
185
- return e.call(n, i, s++);
186
- }), r;
187
- }
188
- function K(t) {
189
- if (t._status === -1) {
190
- var e = t._result;
191
- e = e(), e.then(
192
- function(n) {
193
- (t._status === 0 || t._status === -1) && (t._status = 1, t._result = n);
194
- },
195
- function(n) {
196
- (t._status === 0 || t._status === -1) && (t._status = 2, t._result = n);
197
- }
198
- ), t._status === -1 && (t._status = 0, t._result = e);
199
- }
200
- if (t._status === 1) return t._result.default;
201
- throw t._result;
202
- }
203
- var S = typeof reportError == "function" ? reportError : function(t) {
204
- if (typeof window == "object" && typeof window.ErrorEvent == "function") {
205
- var e = new window.ErrorEvent("error", {
206
- bubbles: !0,
207
- cancelable: !0,
208
- message: typeof t == "object" && t !== null && typeof t.message == "string" ? String(t.message) : String(t),
209
- error: t
210
- });
211
- if (!window.dispatchEvent(e)) return;
212
- } else if (typeof process == "object" && typeof process.emit == "function") {
213
- process.emit("uncaughtException", t);
214
- return;
215
- }
216
- console.error(t);
217
- };
218
- function B() {
219
- }
220
- o.Children = {
221
- map: a,
222
- forEach: function(t, e, n) {
223
- a(
224
- t,
225
- function() {
226
- e.apply(this, arguments);
227
- },
228
- n
229
- );
230
- },
231
- count: function(t) {
232
- var e = 0;
233
- return a(t, function() {
234
- e++;
235
- }), e;
236
- },
237
- toArray: function(t) {
238
- return a(t, function(e) {
239
- return e;
240
- }) || [];
241
- },
242
- only: function(t) {
243
- if (!m(t))
244
- throw Error(
245
- "React.Children.only expected to receive a single React element child."
246
- );
247
- return t;
248
- }
249
- };
250
- o.Component = l;
251
- o.Fragment = M;
252
- o.Profiler = I;
253
- o.PureComponent = v;
254
- o.StrictMode = Y;
255
- o.Suspense = x;
256
- o.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = f;
257
- o.__COMPILER_RUNTIME = {
258
- __proto__: null,
259
- c: function(t) {
260
- return f.H.useMemoCache(t);
261
- }
262
- };
263
- o.cache = function(t) {
264
- return function() {
265
- return t.apply(null, arguments);
266
- };
267
- };
268
- o.cloneElement = function(t, e, n) {
269
- if (t == null)
270
- throw Error(
271
- "The argument must be a React element, but you passed " + t + "."
272
- );
273
- var r = O({}, t.props), s = t.key, i = void 0;
274
- if (e != null)
275
- for (u in e.ref !== void 0 && (i = void 0), e.key !== void 0 && (s = "" + e.key), e)
276
- !P.call(e, u) || u === "key" || u === "__self" || u === "__source" || u === "ref" && e.ref === void 0 || (r[u] = e[u]);
277
- var u = arguments.length - 2;
278
- if (u === 1) r.children = n;
279
- else if (1 < u) {
280
- for (var p = Array(u), c = 0; c < u; c++)
281
- p[c] = arguments[c + 2];
282
- r.children = p;
283
- }
284
- return T(t.type, s, void 0, void 0, i, r);
285
- };
286
- o.createContext = function(t) {
287
- return t = {
288
- $$typeof: U,
289
- _currentValue: t,
290
- _currentValue2: t,
291
- _threadCount: 0,
292
- Provider: null,
293
- Consumer: null
294
- }, t.Provider = t, t.Consumer = {
295
- $$typeof: L,
296
- _context: t
297
- }, t;
298
- };
299
- o.createElement = function(t, e, n) {
300
- var r, s = {}, i = null;
301
- if (e != null)
302
- for (r in e.key !== void 0 && (i = "" + e.key), e)
303
- P.call(e, r) && r !== "key" && r !== "__self" && r !== "__source" && (s[r] = e[r]);
304
- var u = arguments.length - 2;
305
- if (u === 1) s.children = n;
306
- else if (1 < u) {
307
- for (var p = Array(u), c = 0; c < u; c++)
308
- p[c] = arguments[c + 2];
309
- s.children = p;
310
- }
311
- if (t && t.defaultProps)
312
- for (r in u = t.defaultProps, u)
313
- s[r] === void 0 && (s[r] = u[r]);
314
- return T(t, i, void 0, void 0, null, s);
315
- };
316
- o.createRef = function() {
317
- return { current: null };
318
- };
319
- o.forwardRef = function(t) {
320
- return { $$typeof: k, render: t };
321
- };
322
- o.isValidElement = m;
323
- o.lazy = function(t) {
324
- return {
325
- $$typeof: h,
326
- _payload: { _status: -1, _result: t },
327
- _init: K
328
- };
329
- };
330
- o.memo = function(t, e) {
331
- return {
332
- $$typeof: b,
333
- type: t,
334
- compare: e === void 0 ? null : e
335
- };
336
- };
337
- o.startTransition = function(t) {
338
- var e = f.T, n = {};
339
- f.T = n;
340
- try {
341
- var r = t(), s = f.S;
342
- s !== null && s(n, r), typeof r == "object" && r !== null && typeof r.then == "function" && r.then(B, S);
343
- } catch (i) {
344
- S(i);
345
- } finally {
346
- f.T = e;
347
- }
348
- };
349
- o.unstable_useCacheRefresh = function() {
350
- return f.H.useCacheRefresh();
351
- };
352
- o.use = function(t) {
353
- return f.H.use(t);
354
- };
355
- o.useActionState = function(t, e, n) {
356
- return f.H.useActionState(t, e, n);
357
- };
358
- o.useCallback = function(t, e) {
359
- return f.H.useCallback(t, e);
360
- };
361
- o.useContext = function(t) {
362
- return f.H.useContext(t);
363
- };
364
- o.useDebugValue = function() {
365
- };
366
- o.useDeferredValue = function(t, e) {
367
- return f.H.useDeferredValue(t, e);
368
- };
369
- o.useEffect = function(t, e, n) {
370
- var r = f.H;
371
- if (typeof n == "function")
372
- throw Error(
373
- "useEffect CRUD overload is not enabled in this build of React."
374
- );
375
- return r.useEffect(t, e);
376
- };
377
- o.useId = function() {
378
- return f.H.useId();
379
- };
380
- o.useImperativeHandle = function(t, e, n) {
381
- return f.H.useImperativeHandle(t, e, n);
382
- };
383
- o.useInsertionEffect = function(t, e) {
384
- return f.H.useInsertionEffect(t, e);
385
- };
386
- o.useLayoutEffect = function(t, e) {
387
- return f.H.useLayoutEffect(t, e);
388
- };
389
- o.useMemo = function(t, e) {
390
- return f.H.useMemo(t, e);
391
- };
392
- o.useOptimistic = function(t, e) {
393
- return f.H.useOptimistic(t, e);
394
- };
395
- o.useReducer = function(t, e, n) {
396
- return f.H.useReducer(t, e, n);
397
- };
398
- o.useRef = function(t) {
399
- return f.H.useRef(t);
400
- };
401
- o.useState = function(t) {
402
- return f.H.useState(t);
403
- };
404
- o.useSyncExternalStore = function(t, e, n) {
405
- return f.H.useSyncExternalStore(
406
- t,
407
- e,
408
- n
409
- );
410
- };
411
- o.useTransition = function() {
412
- return f.H.useTransition();
413
- };
414
- o.version = "19.1.0";
415
- export {
416
- o as default
417
- };
@@ -1,10 +0,0 @@
1
- import { getDefaultExportFromCjs as t } from "../../_virtual/_commonjsHelpers.js";
2
- import { __module as r } from "../../_virtual/index.js";
3
- import "./cjs/react.production.js";
4
- import { __exports as o } from "../../_virtual/react.production.js";
5
- r.exports = o;
6
- var e = r.exports;
7
- const c = /* @__PURE__ */ t(e);
8
- export {
9
- c as default
10
- };