@tsiky/components-r19 1.6.0 → 1.6.2

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.
Files changed (128) hide show
  1. package/dist/CartesianChart-BGkSJT6t.js +18529 -0
  2. package/dist/CartesianChart-KB_nIUsI.cjs +134 -0
  3. package/dist/chart.cjs.js +58 -47
  4. package/dist/chart.d.ts +3 -2
  5. package/dist/chart.d.ts.map +1 -1
  6. package/dist/chart.js +9276 -5711
  7. package/dist/components-r19.css +1 -1
  8. package/dist/index.cjs.js +1644 -1633
  9. package/dist/index.d.ts +16 -0
  10. package/dist/index.d.ts.map +1 -1
  11. package/dist/index.js +17660 -15332
  12. package/dist/mockServiceWorker.js +336 -0
  13. package/dist/move-8i2rW7Z0.cjs +26 -0
  14. package/dist/move-DFwOHmr2.js +110 -0
  15. package/dist/src/components/AddItemModal/AddItemModal.d.ts.map +1 -1
  16. package/dist/src/components/AreaChartV2/AreaChartV2.d.ts +23 -0
  17. package/dist/src/components/AreaChartV2/AreaChartV2.d.ts.map +1 -0
  18. package/dist/src/components/AreaChartV2/index.d.ts +2 -0
  19. package/dist/src/components/AreaChartV2/index.d.ts.map +1 -0
  20. package/dist/src/components/ChartV2/ChartV2.d.ts +74 -0
  21. package/dist/src/components/ChartV2/ChartV2.d.ts.map +1 -0
  22. package/dist/src/components/ChartV2/index.d.ts +3 -0
  23. package/dist/src/components/ChartV2/index.d.ts.map +1 -0
  24. package/dist/src/components/Charts/boxplot-chart/BoxPlotChart.d.ts +3 -0
  25. package/dist/src/components/Charts/boxplot-chart/BoxPlotChart.d.ts.map +1 -1
  26. package/dist/src/components/Charts/mixed-chart/MixedChart.d.ts +1 -0
  27. package/dist/src/components/Charts/mixed-chart/MixedChart.d.ts.map +1 -1
  28. package/dist/src/components/ComponentVisibilityManager/ComponentVisibilityManager.d.ts.map +1 -1
  29. package/dist/src/components/DataBoard/DataBoard.d.ts +24 -0
  30. package/dist/src/components/DataBoard/DataBoard.d.ts.map +1 -0
  31. package/dist/src/components/DataBoard/index.d.ts +2 -0
  32. package/dist/src/components/DataBoard/index.d.ts.map +1 -0
  33. package/dist/src/components/DataFourBoards/DataFourBoards.d.ts +23 -0
  34. package/dist/src/components/DataFourBoards/DataFourBoards.d.ts.map +1 -0
  35. package/dist/src/components/DataFourBoards/index.d.ts +2 -0
  36. package/dist/src/components/DataFourBoards/index.d.ts.map +1 -0
  37. package/dist/src/components/DatePicker/DatePicker.d.ts +58 -0
  38. package/dist/src/components/DatePicker/DatePicker.d.ts.map +1 -0
  39. package/dist/src/components/DatePicker/index.d.ts +2 -0
  40. package/dist/src/components/DatePicker/index.d.ts.map +1 -0
  41. package/dist/src/components/DayStatCardV2/DayStatCardV2.d.ts +28 -0
  42. package/dist/src/components/DayStatCardV2/DayStatCardV2.d.ts.map +1 -0
  43. package/dist/src/components/DayStatCardV2/index.d.ts +2 -0
  44. package/dist/src/components/DayStatCardV2/index.d.ts.map +1 -0
  45. package/dist/src/components/DynamicTable/TableauDynamiqueSafePagination/TableauDynamiqueSafePagination.d.ts.map +1 -1
  46. package/dist/src/components/FilterBar/FilterBar.d.ts +32 -0
  47. package/dist/src/components/FilterBar/FilterBar.d.ts.map +1 -0
  48. package/dist/src/components/FilterBar/index.d.ts +2 -0
  49. package/dist/src/components/FilterBar/index.d.ts.map +1 -0
  50. package/dist/src/components/HorizontalBarChart/HorizontalBarChart.d.ts +19 -0
  51. package/dist/src/components/HorizontalBarChart/HorizontalBarChart.d.ts.map +1 -0
  52. package/dist/src/components/HorizontalBarChart/index.d.ts +2 -0
  53. package/dist/src/components/HorizontalBarChart/index.d.ts.map +1 -0
  54. package/dist/src/components/IndicatorItemV2/IndicatorItemV2.d.ts +20 -0
  55. package/dist/src/components/IndicatorItemV2/IndicatorItemV2.d.ts.map +1 -0
  56. package/dist/src/components/IndicatorItemV2/index.d.ts +2 -0
  57. package/dist/src/components/IndicatorItemV2/index.d.ts.map +1 -0
  58. package/dist/src/components/Logo/Logo.d.ts.map +1 -1
  59. package/dist/src/components/NavBar/NavContext.d.ts +11 -0
  60. package/dist/src/components/NavBar/NavContext.d.ts.map +1 -1
  61. package/dist/src/components/NavBarV2/NavBarV2.d.ts +42 -0
  62. package/dist/src/components/NavBarV2/NavBarV2.d.ts.map +1 -0
  63. package/dist/src/components/NavBarV2/index.d.ts +2 -0
  64. package/dist/src/components/NavBarV2/index.d.ts.map +1 -0
  65. package/dist/src/components/NavItemV2/NavItemV2.d.ts +25 -0
  66. package/dist/src/components/NavItemV2/NavItemV2.d.ts.map +1 -0
  67. package/dist/src/components/NavItemV2/index.d.ts +2 -0
  68. package/dist/src/components/NavItemV2/index.d.ts.map +1 -0
  69. package/dist/src/components/SankeyChartV2/SankeyChartV2.d.ts +26 -0
  70. package/dist/src/components/SankeyChartV2/SankeyChartV2.d.ts.map +1 -0
  71. package/dist/src/components/SankeyChartV2/index.d.ts +2 -0
  72. package/dist/src/components/SankeyChartV2/index.d.ts.map +1 -0
  73. package/dist/src/components/Select/Select.d.ts +52 -0
  74. package/dist/src/components/Select/Select.d.ts.map +1 -0
  75. package/dist/src/components/Select/index.d.ts +3 -0
  76. package/dist/src/components/Select/index.d.ts.map +1 -0
  77. package/dist/src/components/ShowDataSwitcher/ShowDataSwitcherButton.d.ts +9 -1
  78. package/dist/src/components/ShowDataSwitcher/ShowDataSwitcherButton.d.ts.map +1 -1
  79. package/dist/src/components/SubHeader/SubHeader.d.ts +77 -0
  80. package/dist/src/components/SubHeader/SubHeader.d.ts.map +1 -0
  81. package/dist/src/components/SubHeader/SubHeaderContent.d.ts +32 -0
  82. package/dist/src/components/SubHeader/SubHeaderContent.d.ts.map +1 -0
  83. package/dist/src/components/SubHeader/SubHeaderNavItem.d.ts +25 -0
  84. package/dist/src/components/SubHeader/SubHeaderNavItem.d.ts.map +1 -0
  85. package/dist/src/components/SubHeader/SubHeaderTitle.d.ts +15 -0
  86. package/dist/src/components/SubHeader/SubHeaderTitle.d.ts.map +1 -0
  87. package/dist/src/components/SubHeaderContent/SubHeaderContent.d.ts +47 -0
  88. package/dist/src/components/SubHeaderContent/SubHeaderContent.d.ts.map +1 -0
  89. package/dist/src/components/SubHeaderContent/SubHeaderNavItem.d.ts +25 -0
  90. package/dist/src/components/SubHeaderContent/SubHeaderNavItem.d.ts.map +1 -0
  91. package/dist/src/components/SubHeaderContent/index.d.ts +2 -0
  92. package/dist/src/components/SubHeaderContent/index.d.ts.map +1 -0
  93. package/dist/src/components/SubHeaderNavItem/SubHeaderNavItem.d.ts +30 -0
  94. package/dist/src/components/SubHeaderNavItem/SubHeaderNavItem.d.ts.map +1 -0
  95. package/dist/src/components/SubHeaderNavItem/index.d.ts +2 -0
  96. package/dist/src/components/SubHeaderNavItem/index.d.ts.map +1 -0
  97. package/dist/src/components/SubHeaderTitle/SubHeaderTitle.d.ts +22 -0
  98. package/dist/src/components/SubHeaderTitle/SubHeaderTitle.d.ts.map +1 -0
  99. package/dist/src/components/SubHeaderTitle/index.d.ts +2 -0
  100. package/dist/src/components/SubHeaderTitle/index.d.ts.map +1 -0
  101. package/dist/src/components/TableauxComponent/Filters.d.ts +12 -0
  102. package/dist/src/components/TableauxComponent/Filters.d.ts.map +1 -0
  103. package/dist/src/components/TableauxComponent/Pagination.d.ts +18 -0
  104. package/dist/src/components/TableauxComponent/Pagination.d.ts.map +1 -0
  105. package/dist/src/components/TableauxComponent/TableBody.d.ts +12 -0
  106. package/dist/src/components/TableauxComponent/TableBody.d.ts.map +1 -0
  107. package/dist/src/components/TableauxComponent/TableHeader.d.ts +10 -0
  108. package/dist/src/components/TableauxComponent/TableHeader.d.ts.map +1 -0
  109. package/dist/src/components/TableauxComponent/TableLayout.d.ts +4 -0
  110. package/dist/src/components/TableauxComponent/TableLayout.d.ts.map +1 -0
  111. package/dist/src/components/TableauxComponent/TimelineRenderer.d.ts +8 -0
  112. package/dist/src/components/TableauxComponent/TimelineRenderer.d.ts.map +1 -0
  113. package/dist/src/components/TableauxComponent/index.d.ts +5 -0
  114. package/dist/src/components/TableauxComponent/index.d.ts.map +1 -0
  115. package/dist/src/components/TableauxComponent/types.d.ts +102 -0
  116. package/dist/src/components/TableauxComponent/types.d.ts.map +1 -0
  117. package/dist/src/components/TableauxComponent/useTableLogic.d.ts +19 -0
  118. package/dist/src/components/TableauxComponent/useTableLogic.d.ts.map +1 -0
  119. package/dist/src/components/ThemeSwitcher/ThemeSwitcher.d.ts +14 -0
  120. package/dist/src/components/ThemeSwitcher/ThemeSwitcher.d.ts.map +1 -0
  121. package/dist/src/components/ThemeSwitcher/index.d.ts +2 -0
  122. package/dist/src/components/ThemeSwitcher/index.d.ts.map +1 -0
  123. package/dist/src/components/TranslationKey/TranslationKey.d.ts.map +1 -1
  124. package/dist/src/components/UserInfo/UserInfo.d.ts +34 -0
  125. package/dist/src/components/UserInfo/UserInfo.d.ts.map +1 -0
  126. package/dist/src/components/UserInfo/index.d.ts +2 -0
  127. package/dist/src/components/UserInfo/index.d.ts.map +1 -0
  128. package/package.json +14 -3
@@ -0,0 +1,336 @@
1
+ /* eslint-disable */
2
+ /* tslint:disable */
3
+
4
+ /**
5
+ * Mock Service Worker.
6
+ * @see https://github.com/mswjs/msw
7
+ * - Please do NOT modify this file.
8
+ */
9
+
10
+ const PACKAGE_VERSION = '2.12.7';
11
+ const INTEGRITY_CHECKSUM = '4db4a41e972cec1b64cc569c66952d82';
12
+ const IS_MOCKED_RESPONSE = Symbol('isMockedResponse');
13
+ const activeClientIds = new Set();
14
+
15
+ addEventListener('install', function () {
16
+ self.skipWaiting();
17
+ });
18
+
19
+ addEventListener('activate', function (event) {
20
+ event.waitUntil(self.clients.claim());
21
+ });
22
+
23
+ addEventListener('message', async function (event) {
24
+ const clientId = Reflect.get(event.source || {}, 'id');
25
+
26
+ if (!clientId || !self.clients) {
27
+ return;
28
+ }
29
+
30
+ const client = await self.clients.get(clientId);
31
+
32
+ if (!client) {
33
+ return;
34
+ }
35
+
36
+ const allClients = await self.clients.matchAll({
37
+ type: 'window',
38
+ });
39
+
40
+ switch (event.data) {
41
+ case 'KEEPALIVE_REQUEST': {
42
+ sendToClient(client, {
43
+ type: 'KEEPALIVE_RESPONSE',
44
+ });
45
+ break;
46
+ }
47
+
48
+ case 'INTEGRITY_CHECK_REQUEST': {
49
+ sendToClient(client, {
50
+ type: 'INTEGRITY_CHECK_RESPONSE',
51
+ payload: {
52
+ packageVersion: PACKAGE_VERSION,
53
+ checksum: INTEGRITY_CHECKSUM,
54
+ },
55
+ });
56
+ break;
57
+ }
58
+
59
+ case 'MOCK_ACTIVATE': {
60
+ activeClientIds.add(clientId);
61
+
62
+ sendToClient(client, {
63
+ type: 'MOCKING_ENABLED',
64
+ payload: {
65
+ client: {
66
+ id: client.id,
67
+ frameType: client.frameType,
68
+ },
69
+ },
70
+ });
71
+ break;
72
+ }
73
+
74
+ case 'CLIENT_CLOSED': {
75
+ activeClientIds.delete(clientId);
76
+
77
+ const remainingClients = allClients.filter((client) => {
78
+ return client.id !== clientId;
79
+ });
80
+
81
+ // Unregister itself when there are no more clients
82
+ if (remainingClients.length === 0) {
83
+ self.registration.unregister();
84
+ }
85
+
86
+ break;
87
+ }
88
+ }
89
+ });
90
+
91
+ addEventListener('fetch', function (event) {
92
+ const requestInterceptedAt = Date.now();
93
+
94
+ // Bypass navigation requests.
95
+ if (event.request.mode === 'navigate') {
96
+ return;
97
+ }
98
+
99
+ // Opening the DevTools triggers the "only-if-cached" request
100
+ // that cannot be handled by the worker. Bypass such requests.
101
+ if (event.request.cache === 'only-if-cached' && event.request.mode !== 'same-origin') {
102
+ return;
103
+ }
104
+
105
+ // Bypass all requests when there are no active clients.
106
+ // Prevents the self-unregistered worked from handling requests
107
+ // after it's been terminated (still remains active until the next reload).
108
+ if (activeClientIds.size === 0) {
109
+ return;
110
+ }
111
+
112
+ const requestId = crypto.randomUUID();
113
+ event.respondWith(handleRequest(event, requestId, requestInterceptedAt));
114
+ });
115
+
116
+ /**
117
+ * @param {FetchEvent} event
118
+ * @param {string} requestId
119
+ * @param {number} requestInterceptedAt
120
+ */
121
+ async function handleRequest(event, requestId, requestInterceptedAt) {
122
+ const client = await resolveMainClient(event);
123
+ const requestCloneForEvents = event.request.clone();
124
+ const response = await getResponse(event, client, requestId, requestInterceptedAt);
125
+
126
+ // Send back the response clone for the "response:*" life-cycle events.
127
+ // Ensure MSW is active and ready to handle the message, otherwise
128
+ // this message will pend indefinitely.
129
+ if (client && activeClientIds.has(client.id)) {
130
+ const serializedRequest = await serializeRequest(requestCloneForEvents);
131
+
132
+ // Clone the response so both the client and the library could consume it.
133
+ const responseClone = response.clone();
134
+
135
+ sendToClient(
136
+ client,
137
+ {
138
+ type: 'RESPONSE',
139
+ payload: {
140
+ isMockedResponse: IS_MOCKED_RESPONSE in response,
141
+ request: {
142
+ id: requestId,
143
+ ...serializedRequest,
144
+ },
145
+ response: {
146
+ type: responseClone.type,
147
+ status: responseClone.status,
148
+ statusText: responseClone.statusText,
149
+ headers: Object.fromEntries(responseClone.headers.entries()),
150
+ body: responseClone.body,
151
+ },
152
+ },
153
+ },
154
+ responseClone.body ? [serializedRequest.body, responseClone.body] : []
155
+ );
156
+ }
157
+
158
+ return response;
159
+ }
160
+
161
+ /**
162
+ * Resolve the main client for the given event.
163
+ * Client that issues a request doesn't necessarily equal the client
164
+ * that registered the worker. It's with the latter the worker should
165
+ * communicate with during the response resolving phase.
166
+ * @param {FetchEvent} event
167
+ * @returns {Promise<Client | undefined>}
168
+ */
169
+ async function resolveMainClient(event) {
170
+ const client = await self.clients.get(event.clientId);
171
+
172
+ if (activeClientIds.has(event.clientId)) {
173
+ return client;
174
+ }
175
+
176
+ if (client?.frameType === 'top-level') {
177
+ return client;
178
+ }
179
+
180
+ const allClients = await self.clients.matchAll({
181
+ type: 'window',
182
+ });
183
+
184
+ return allClients
185
+ .filter((client) => {
186
+ // Get only those clients that are currently visible.
187
+ return client.visibilityState === 'visible';
188
+ })
189
+ .find((client) => {
190
+ // Find the client ID that's recorded in the
191
+ // set of clients that have registered the worker.
192
+ return activeClientIds.has(client.id);
193
+ });
194
+ }
195
+
196
+ /**
197
+ * @param {FetchEvent} event
198
+ * @param {Client | undefined} client
199
+ * @param {string} requestId
200
+ * @param {number} requestInterceptedAt
201
+ * @returns {Promise<Response>}
202
+ */
203
+ async function getResponse(event, client, requestId, requestInterceptedAt) {
204
+ // Clone the request because it might've been already used
205
+ // (i.e. its body has been read and sent to the client).
206
+ const requestClone = event.request.clone();
207
+
208
+ function passthrough() {
209
+ // Cast the request headers to a new Headers instance
210
+ // so the headers can be manipulated with.
211
+ const headers = new Headers(requestClone.headers);
212
+
213
+ // Remove the "accept" header value that marked this request as passthrough.
214
+ // This prevents request alteration and also keeps it compliant with the
215
+ // user-defined CORS policies.
216
+ const acceptHeader = headers.get('accept');
217
+ if (acceptHeader) {
218
+ const values = acceptHeader.split(',').map((value) => value.trim());
219
+ const filteredValues = values.filter((value) => value !== 'msw/passthrough');
220
+
221
+ if (filteredValues.length > 0) {
222
+ headers.set('accept', filteredValues.join(', '));
223
+ } else {
224
+ headers.delete('accept');
225
+ }
226
+ }
227
+
228
+ return fetch(requestClone, { headers });
229
+ }
230
+
231
+ // Bypass mocking when the client is not active.
232
+ if (!client) {
233
+ return passthrough();
234
+ }
235
+
236
+ // Bypass initial page load requests (i.e. static assets).
237
+ // The absence of the immediate/parent client in the map of the active clients
238
+ // means that MSW hasn't dispatched the "MOCK_ACTIVATE" event yet
239
+ // and is not ready to handle requests.
240
+ if (!activeClientIds.has(client.id)) {
241
+ return passthrough();
242
+ }
243
+
244
+ // Notify the client that a request has been intercepted.
245
+ const serializedRequest = await serializeRequest(event.request);
246
+ const clientMessage = await sendToClient(
247
+ client,
248
+ {
249
+ type: 'REQUEST',
250
+ payload: {
251
+ id: requestId,
252
+ interceptedAt: requestInterceptedAt,
253
+ ...serializedRequest,
254
+ },
255
+ },
256
+ [serializedRequest.body]
257
+ );
258
+
259
+ switch (clientMessage.type) {
260
+ case 'MOCK_RESPONSE': {
261
+ return respondWithMock(clientMessage.data);
262
+ }
263
+
264
+ case 'PASSTHROUGH': {
265
+ return passthrough();
266
+ }
267
+ }
268
+
269
+ return passthrough();
270
+ }
271
+
272
+ /**
273
+ * @param {Client} client
274
+ * @param {any} message
275
+ * @param {Array<Transferable>} transferrables
276
+ * @returns {Promise<any>}
277
+ */
278
+ function sendToClient(client, message, transferrables = []) {
279
+ return new Promise((resolve, reject) => {
280
+ const channel = new MessageChannel();
281
+
282
+ channel.port1.onmessage = (event) => {
283
+ if (event.data && event.data.error) {
284
+ return reject(event.data.error);
285
+ }
286
+
287
+ resolve(event.data);
288
+ };
289
+
290
+ client.postMessage(message, [channel.port2, ...transferrables.filter(Boolean)]);
291
+ });
292
+ }
293
+
294
+ /**
295
+ * @param {Response} response
296
+ * @returns {Response}
297
+ */
298
+ function respondWithMock(response) {
299
+ // Setting response status code to 0 is a no-op.
300
+ // However, when responding with a "Response.error()", the produced Response
301
+ // instance will have status code set to 0. Since it's not possible to create
302
+ // a Response instance with status code 0, handle that use-case separately.
303
+ if (response.status === 0) {
304
+ return Response.error();
305
+ }
306
+
307
+ const mockedResponse = new Response(response.body, response);
308
+
309
+ Reflect.defineProperty(mockedResponse, IS_MOCKED_RESPONSE, {
310
+ value: true,
311
+ enumerable: true,
312
+ });
313
+
314
+ return mockedResponse;
315
+ }
316
+
317
+ /**
318
+ * @param {Request} request
319
+ */
320
+ async function serializeRequest(request) {
321
+ return {
322
+ url: request.url,
323
+ mode: request.mode,
324
+ method: request.method,
325
+ headers: Object.fromEntries(request.headers.entries()),
326
+ cache: request.cache,
327
+ credentials: request.credentials,
328
+ destination: request.destination,
329
+ integrity: request.integrity,
330
+ redirect: request.redirect,
331
+ referrer: request.referrer,
332
+ referrerPolicy: request.referrerPolicy,
333
+ body: await request.arrayBuffer(),
334
+ keepalive: request.keepalive,
335
+ };
336
+ }
@@ -0,0 +1,26 @@
1
+ "use strict";const s=require("react");/**
2
+ * @license lucide-react v0.540.0 - ISC
3
+ *
4
+ * This source code is licensed under the ISC license.
5
+ * See the LICENSE file in the root directory of this source tree.
6
+ */const C=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),k=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()),i=t=>{const e=k(t);return e.charAt(0).toUpperCase()+e.slice(1)},u=(...t)=>t.filter((e,r,o)=>!!e&&e.trim()!==""&&o.indexOf(e)===r).join(" ").trim(),y=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};/**
7
+ * @license lucide-react v0.540.0 - ISC
8
+ *
9
+ * This source code is licensed under the ISC license.
10
+ * See the LICENSE file in the root directory of this source tree.
11
+ */var f={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
12
+ * @license lucide-react v0.540.0 - ISC
13
+ *
14
+ * This source code is licensed under the ISC license.
15
+ * See the LICENSE file in the root directory of this source tree.
16
+ */const d=s.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:n="",children:a,iconNode:p,...c},m)=>s.createElement("svg",{ref:m,...f,width:e,height:e,stroke:t,strokeWidth:o?Number(r)*24/Number(e):r,className:u("lucide",n),...!a&&!y(c)&&{"aria-hidden":"true"},...c},[...p.map(([h,w])=>s.createElement(h,w)),...Array.isArray(a)?a:[a]]));/**
17
+ * @license lucide-react v0.540.0 - ISC
18
+ *
19
+ * This source code is licensed under the ISC license.
20
+ * See the LICENSE file in the root directory of this source tree.
21
+ */const l=(t,e)=>{const r=s.forwardRef(({className:o,...n},a)=>s.createElement(d,{ref:a,iconNode:e,className:u(`lucide-${C(i(t))}`,`lucide-${t}`,o),...n}));return r.displayName=i(t),r};/**
22
+ * @license lucide-react v0.540.0 - ISC
23
+ *
24
+ * This source code is licensed under the ISC license.
25
+ * See the LICENSE file in the root directory of this source tree.
26
+ */const g=[["path",{d:"M12 2v20",key:"t6zp3m"}],["path",{d:"m15 19-3 3-3-3",key:"11eu04"}],["path",{d:"m19 9 3 3-3 3",key:"1mg7y2"}],["path",{d:"M2 12h20",key:"9i4pu4"}],["path",{d:"m5 9-3 3 3 3",key:"j64kie"}],["path",{d:"m9 5 3-3 3 3",key:"l8vdw6"}]],v=l("move",g);exports.Icon=d;exports.Move=v;exports.createLucideIcon=l;
@@ -0,0 +1,110 @@
1
+ import { forwardRef as p, createElement as n } from "react";
2
+ /**
3
+ * @license lucide-react v0.540.0 - ISC
4
+ *
5
+ * This source code is licensed under the ISC license.
6
+ * See the LICENSE file in the root directory of this source tree.
7
+ */
8
+ const C = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), k = (t) => t.replace(
9
+ /^([A-Z])|[\s-_]+(\w)/g,
10
+ (e, o, r) => r ? r.toUpperCase() : o.toLowerCase()
11
+ ), i = (t) => {
12
+ const e = k(t);
13
+ return e.charAt(0).toUpperCase() + e.slice(1);
14
+ }, d = (...t) => t.filter((e, o, r) => !!e && e.trim() !== "" && r.indexOf(e) === o).join(" ").trim(), w = (t) => {
15
+ for (const e in t)
16
+ if (e.startsWith("aria-") || e === "role" || e === "title")
17
+ return !0;
18
+ };
19
+ /**
20
+ * @license lucide-react v0.540.0 - ISC
21
+ *
22
+ * This source code is licensed under the ISC license.
23
+ * See the LICENSE file in the root directory of this source tree.
24
+ */
25
+ var y = {
26
+ xmlns: "http://www.w3.org/2000/svg",
27
+ width: 24,
28
+ height: 24,
29
+ viewBox: "0 0 24 24",
30
+ fill: "none",
31
+ stroke: "currentColor",
32
+ strokeWidth: 2,
33
+ strokeLinecap: "round",
34
+ strokeLinejoin: "round"
35
+ };
36
+ /**
37
+ * @license lucide-react v0.540.0 - ISC
38
+ *
39
+ * This source code is licensed under the ISC license.
40
+ * See the LICENSE file in the root directory of this source tree.
41
+ */
42
+ const f = p(
43
+ ({
44
+ color: t = "currentColor",
45
+ size: e = 24,
46
+ strokeWidth: o = 2,
47
+ absoluteStrokeWidth: r,
48
+ className: s = "",
49
+ children: a,
50
+ iconNode: l,
51
+ ...c
52
+ }, m) => n(
53
+ "svg",
54
+ {
55
+ ref: m,
56
+ ...y,
57
+ width: e,
58
+ height: e,
59
+ stroke: t,
60
+ strokeWidth: r ? Number(o) * 24 / Number(e) : o,
61
+ className: d("lucide", s),
62
+ ...!a && !w(c) && { "aria-hidden": "true" },
63
+ ...c
64
+ },
65
+ [
66
+ ...l.map(([u, h]) => n(u, h)),
67
+ ...Array.isArray(a) ? a : [a]
68
+ ]
69
+ )
70
+ );
71
+ /**
72
+ * @license lucide-react v0.540.0 - ISC
73
+ *
74
+ * This source code is licensed under the ISC license.
75
+ * See the LICENSE file in the root directory of this source tree.
76
+ */
77
+ const g = (t, e) => {
78
+ const o = p(
79
+ ({ className: r, ...s }, a) => n(f, {
80
+ ref: a,
81
+ iconNode: e,
82
+ className: d(
83
+ `lucide-${C(i(t))}`,
84
+ `lucide-${t}`,
85
+ r
86
+ ),
87
+ ...s
88
+ })
89
+ );
90
+ return o.displayName = i(t), o;
91
+ };
92
+ /**
93
+ * @license lucide-react v0.540.0 - ISC
94
+ *
95
+ * This source code is licensed under the ISC license.
96
+ * See the LICENSE file in the root directory of this source tree.
97
+ */
98
+ const v = [
99
+ ["path", { d: "M12 2v20", key: "t6zp3m" }],
100
+ ["path", { d: "m15 19-3 3-3-3", key: "11eu04" }],
101
+ ["path", { d: "m19 9 3 3-3 3", key: "1mg7y2" }],
102
+ ["path", { d: "M2 12h20", key: "9i4pu4" }],
103
+ ["path", { d: "m5 9-3 3 3 3", key: "j64kie" }],
104
+ ["path", { d: "m9 5 3-3 3 3", key: "l8vdw6" }]
105
+ ], b = g("move", v);
106
+ export {
107
+ f as I,
108
+ b as M,
109
+ g as c
110
+ };
@@ -1 +1 @@
1
- {"version":3,"file":"AddItemModal.d.ts","sourceRoot":"","sources":["../../../../src/components/AddItemModal/AddItemModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CACN,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KACpC,OAAO,CAAC,IAAI,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,IAAI,CAAC,GAAG,IAAI,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,IAAI,CAAC;IACtH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAiLpD,CAAC"}
1
+ {"version":3,"file":"AddItemModal.d.ts","sourceRoot":"","sources":["../../../../src/components/AddItemModal/AddItemModal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAsC,MAAM,OAAO,CAAC;AAI3D,UAAU,KAAK;IACb,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,UAAU,iBAAiB;IACzB,MAAM,EAAE,OAAO,CAAC;IAChB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,MAAM,EAAE,CACN,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,KAErC,OAAO,CAAC,IAAI,GAAG,gBAAgB,GAAG,iBAAiB,GAAG,IAAI,CAAC,GAC3D,IAAI,GACJ,gBAAgB,GAChB,iBAAiB,GACjB,IAAI,CAAC;IACT,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,KAAK,EAAE,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,CAAC;IAChD,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,aAAa,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;CACvD;AAED,eAAO,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,iBAAiB,CAsLpD,CAAC"}
@@ -0,0 +1,23 @@
1
+ import React from 'react';
2
+ export interface AreaSeries {
3
+ key: string;
4
+ label?: string;
5
+ data: number[];
6
+ color: string;
7
+ }
8
+ export interface AreaChartDataV2 {
9
+ labels: string[];
10
+ series: AreaSeries[];
11
+ }
12
+ interface Props {
13
+ data: AreaChartDataV2;
14
+ height?: number;
15
+ tooltipEnabled?: boolean;
16
+ backgroundColor?: string;
17
+ stacked?: boolean;
18
+ fontSize?: string;
19
+ fontWeight?: string;
20
+ }
21
+ export declare const AreaChartV2: React.FC<Props>;
22
+ export default AreaChartV2;
23
+ //# sourceMappingURL=AreaChartV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AreaChartV2.d.ts","sourceRoot":"","sources":["../../../../src/components/AreaChartV2/AreaChartV2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAY1B,MAAM,WAAW,UAAU;IACzB,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,eAAe;IAC9B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,UAAU,EAAE,CAAC;CACtB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,eAAe,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAiFvC,CAAC;AAEF,eAAe,WAAW,CAAC"}
@@ -0,0 +1,2 @@
1
+ export * from './AreaChartV2';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/AreaChartV2/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
@@ -0,0 +1,74 @@
1
+ import React from 'react';
2
+ export interface BandChartData {
3
+ labels: string[];
4
+ main: number[];
5
+ upper: number[];
6
+ lower: number[];
7
+ histogram?: number[];
8
+ onGoingIndex?: number;
9
+ }
10
+ export type DisplayConditionFn = (data: BandChartData) => boolean;
11
+ export interface LineConfig {
12
+ id: string;
13
+ key: keyof BandChartData;
14
+ label?: string;
15
+ visible?: boolean;
16
+ color?: string;
17
+ width?: number;
18
+ dash?: number;
19
+ }
20
+ export interface OutlierConfig {
21
+ label?: string;
22
+ color?: string;
23
+ size?: number;
24
+ marker?: {
25
+ fillColor?: string;
26
+ strokeColor?: string;
27
+ opacity?: number;
28
+ size?: number;
29
+ };
30
+ }
31
+ export interface BubbleConfig {
32
+ visible?: boolean;
33
+ values?: (number | null)[];
34
+ color?: string;
35
+ size?: number;
36
+ }
37
+ export interface BandChartConfig {
38
+ lines?: LineConfig[];
39
+ showHistogram?: boolean;
40
+ histogramKey?: keyof BandChartData;
41
+ showOnGoing?: boolean;
42
+ onGoingLabel?: string;
43
+ onGoingIndex?: number | 'last';
44
+ bubble?: BubbleConfig;
45
+ outliers?: {
46
+ lower?: OutlierConfig;
47
+ upper?: OutlierConfig;
48
+ hideOutside?: boolean;
49
+ };
50
+ displayCondition?: DisplayConditionFn | null;
51
+ responsive?: boolean;
52
+ }
53
+ interface Props {
54
+ data: BandChartData;
55
+ config?: BandChartConfig;
56
+ height?: number;
57
+ useOnGoing?: boolean;
58
+ draggable?: boolean;
59
+ tooltipEnabled?: boolean;
60
+ disableLegendFilter?: boolean;
61
+ backgroundColor?: string;
62
+ lowerAnomalyColor?: string;
63
+ upperAnomalyColor?: string;
64
+ realColor?: string;
65
+ onGoingColor?: string;
66
+ predictionColor?: string;
67
+ predictionBarColor?: string;
68
+ fontSize?: string | number;
69
+ fontWeight?: string | number;
70
+ predictionWindow?: number;
71
+ }
72
+ export declare const ChartV2: React.FC<Props>;
73
+ export default ChartV2;
74
+ //# sourceMappingURL=ChartV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChartV2.d.ts","sourceRoot":"","sources":["../../../../src/components/ChartV2/ChartV2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAe1B,MAAM,WAAW,aAAa;IAC5B,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,IAAI,EAAE,MAAM,EAAE,CAAC;IACf,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,KAAK,EAAE,MAAM,EAAE,CAAC;IAChB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,YAAY,CAAC,EAAE,MAAM,C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AAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACnF,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC3B,UAAU,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC7B,gBAAgB,CAAC,EAAE,MAAM,CAAC;CAC3B;AAiMD,eAAO,MAAM,OAAO,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA+OnC,CAAC;AAEF,eAAe,OAAO,CAAC"}
@@ -0,0 +1,3 @@
1
+ import { default as ChartV2 } from './ChartV2';
2
+ export { ChartV2 };
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/ChartV2/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -10,10 +10,13 @@ export interface BoxPlotConfig {
10
10
  colorUpper?: string;
11
11
  colorLower?: string;
12
12
  color?: string;
13
+ colorStroke?: string;
13
14
  showOutliers?: boolean;
14
15
  tooltipFormatter?: (val: number) => string;
15
16
  height?: number;
16
17
  responsive?: boolean;
18
+ fontSize?: string;
19
+ fontWeight?: string;
17
20
  }
18
21
  interface Props {
19
22
  data: BoxPlotData;
@@ -1 +1 @@
1
- {"version":3,"file":"BoxPlotChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/Charts/boxplot-chart/BoxPlotChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,QAAQ,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAkBD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAmEjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"BoxPlotChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/Charts/boxplot-chart/BoxPlotChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,MAAM,WAAW,QAAQ;IACvB,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACnB,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC;CAC7C;AAED,MAAM,WAAW,WAAW;IAC1B,MAAM,EAAE,QAAQ,EAAE,CAAC;CACpB;AAED,MAAM,WAAW,aAAa;IAC5B,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,gBAAgB,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,CAAC;IAC3C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,WAAW,CAAC;IAClB,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAmBD,QAAA,MAAM,YAAY,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CAmEjC,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -5,6 +5,7 @@ export interface BandChartData {
5
5
  upper: number[];
6
6
  lower: number[];
7
7
  histogram?: number[];
8
+ onGoingIndex?: number;
8
9
  }
9
10
  export type DisplayConditionFn = (data: BandChartData) => boolean;
10
11
  export interface LineConfig {
@@ -1 +1 @@
1
- {"version":3,"file":"MixedChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/Charts/mixed-chart/MixedChart.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA8B,MAAM,OAAO,CAAC;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ACtB,QAAQ,CAAC,EAAE;QAAE,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,KAAK,CAAC,EAAE,aAAa,CAAC;QAAC,WAAW,CAAC,EAAE,OAAO,CAAA;KAAE,CAAC;IACnF,gBAAgB,CAAC,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAC7C,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED,UAAU,KAAK;IACb,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AA0ED,QAAA,MAAM,UAAU,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,CA8e/B,CAAC;AAEF,eAAe,UAAU,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ComponentVisibilityManager.d.ts","sourceRoot":"","sources":["../../../../src/components/ComponentVisibilityManager/ComponentVisibilityManager.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,UAAU,KAAK;IACb,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,MAAM,EAAE,CAAC,KAAK,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,GACZ,EAAE,KAAK,2CAoGP"}
1
+ {"version":3,"file":"ComponentVisibilityManager.d.ts","sourceRoot":"","sources":["../../../../src/components/ComponentVisibilityManager/ComponentVisibilityManager.tsx"],"names":[],"mappings":"AAGA,MAAM,MAAM,uBAAuB,GAAG;IACpC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,UAAU,KAAK;IACb,KAAK,EAAE,uBAAuB,EAAE,CAAC;IACjC,MAAM,EAAE,CAAC,KAAK,EAAE,uBAAuB,EAAE,KAAK,IAAI,CAAC;IACnD,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,CAAC,OAAO,UAAU,0BAA0B,CAAC,EACjD,KAAK,EACL,MAAM,EACN,OAAO,EACP,QAAQ,EACR,SAAS,EACT,WAAW,EACX,WAAW,GACZ,EAAE,KAAK,2CA6FP"}
@@ -0,0 +1,24 @@
1
+ import React from 'react';
2
+ import type { CSSProperties } from 'react';
3
+ export type DataBoardBars = 'none' | 'light' | 'endingDark';
4
+ export type DataBoardSize = 'big' | 'medium';
5
+ export type DataBoardTitleColor = string;
6
+ export type DataBoardValueColor = string;
7
+ export type DataBoardProps = {
8
+ label: string;
9
+ value: React.ReactNode;
10
+ backgroundColor?: string;
11
+ bars?: DataBoardBars;
12
+ lightBars?: number;
13
+ size?: DataBoardSize;
14
+ valueScale?: number;
15
+ width?: CSSProperties['width'];
16
+ height?: CSSProperties['height'];
17
+ className?: string;
18
+ style?: CSSProperties;
19
+ titleColor?: DataBoardTitleColor;
20
+ valueColor?: DataBoardValueColor;
21
+ };
22
+ export declare const DataBoard: React.FC<DataBoardProps>;
23
+ export default DataBoard;
24
+ //# sourceMappingURL=DataBoard.d.ts.map