@amateescu/portal-ui-components 0.0.16-beta0 → 0.0.16-beta1

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.
@@ -7,6 +7,7 @@ export { InfoModal } from './InfoModal/InfoModal';
7
7
  export { KpiCard } from './KpiCard/KpiCard';
8
8
  export { KpiWrapper } from './KpiWrapper/KpiWrapper';
9
9
  export { LoadingAnimation } from './LoadingAnimation/LoadingAnimation';
10
+ export { Login } from './Login/Login';
10
11
  export { SideMenu } from './SideMenu/SideMenu';
11
12
  export { TotalDataGrid } from './TotalDataGrid/TotalDataGrid';
12
13
  export { UserInfoDropdown } from './UserInfoDropdown/UserInfoDropdown';
@@ -7,9 +7,10 @@ import { InfoModal as s } from "./InfoModal/InfoModal.js";
7
7
  import { KpiCard as C } from "./KpiCard/KpiCard.js";
8
8
  import { KpiWrapper as M } from "./KpiWrapper/KpiWrapper.js";
9
9
  import { LoadingAnimation as D } from "./LoadingAnimation/LoadingAnimation.js";
10
- import { SideMenu as K } from "./SideMenu/SideMenu.js";
11
- import { TotalDataGrid as w } from "./TotalDataGrid/TotalDataGrid.js";
12
- import { U as B } from "../UserInfoDropdown-CTLrKtZM.js";
10
+ import { Login as K } from "./Login/Login.js";
11
+ import { SideMenu as U } from "./SideMenu/SideMenu.js";
12
+ import { TotalDataGrid as A } from "./TotalDataGrid/TotalDataGrid.js";
13
+ import { U as E } from "../UserInfoDropdown-CTLrKtZM.js";
13
14
  export {
14
15
  t as ConfirmationModal,
15
16
  m as CustomButton,
@@ -20,7 +21,8 @@ export {
20
21
  C as KpiCard,
21
22
  M as KpiWrapper,
22
23
  D as LoadingAnimation,
23
- K as SideMenu,
24
- w as TotalDataGrid,
25
- B as UserInfoDropdown
24
+ K as Login,
25
+ U as SideMenu,
26
+ A as TotalDataGrid,
27
+ E as UserInfoDropdown
26
28
  };
package/dist/main.js CHANGED
@@ -4,15 +4,17 @@ import { CustomFooter as p } from "./components/CustomFooter/CustomFooter.js";
4
4
  import { CustomPagination as n } from "./components/CustomPagination/CustomPagination.js";
5
5
  import { ErrorModal as x } from "./components/ErrorModal/ErrorModal.js";
6
6
  import { InfoModal as d } from "./components/InfoModal/InfoModal.js";
7
- import { KpiCard as s } from "./components/KpiCard/KpiCard.js";
8
- import { KpiWrapper as c } from "./components/KpiWrapper/KpiWrapper.js";
7
+ import { KpiCard as c } from "./components/KpiCard/KpiCard.js";
8
+ import { KpiWrapper as C } from "./components/KpiWrapper/KpiWrapper.js";
9
9
  import { LoadingAnimation as M } from "./components/LoadingAnimation/LoadingAnimation.js";
10
- import { SideMenu as U } from "./components/SideMenu/SideMenu.js";
11
- import { TotalDataGrid as I } from "./components/TotalDataGrid/TotalDataGrid.js";
12
- import { U as b } from "./UserInfoDropdown-CTLrKtZM.js";
10
+ import { Login as U } from "./components/Login/Login.js";
11
+ import { SideMenu as y } from "./components/SideMenu/SideMenu.js";
12
+ import { TotalDataGrid as D } from "./components/TotalDataGrid/TotalDataGrid.js";
13
+ import { U as K } from "./UserInfoDropdown-CTLrKtZM.js";
14
+ import { chunkArray as b } from "./utils/chunkArray.js";
13
15
  import { cn as w } from "./utils/cn.js";
14
- import { currency as A, date as B, datetime as E, decimal as F, fuelUnitPrice as G, fuelVolume as L, hours as S, number as T, time as V } from "./utils/formatters.js";
15
- import { getPageCount as j } from "./utils/pageCount.js";
16
+ import { currency as E, date as F, datetime as G, decimal as S, fuelUnitPrice as T, fuelVolume as V, hours as W, number as j, time as q } from "./utils/formatters.js";
17
+ import { getPageCount as z } from "./utils/pageCount.js";
16
18
  export {
17
19
  e as ConfirmationModal,
18
20
  m as CustomButton,
@@ -20,21 +22,23 @@ export {
20
22
  n as CustomPagination,
21
23
  x as ErrorModal,
22
24
  d as InfoModal,
23
- s as KpiCard,
24
- c as KpiWrapper,
25
+ c as KpiCard,
26
+ C as KpiWrapper,
25
27
  M as LoadingAnimation,
26
- U as SideMenu,
27
- I as TotalDataGrid,
28
- b as UserInfoDropdown,
28
+ U as Login,
29
+ y as SideMenu,
30
+ D as TotalDataGrid,
31
+ K as UserInfoDropdown,
32
+ b as chunkArray,
29
33
  w as cn,
30
- A as currency,
31
- B as date,
32
- E as datetime,
33
- F as decimal,
34
- G as fuelUnitPrice,
35
- L as fuelVolume,
36
- j as getPageCount,
37
- S as hours,
38
- T as number,
39
- V as time
34
+ E as currency,
35
+ F as date,
36
+ G as datetime,
37
+ S as decimal,
38
+ T as fuelUnitPrice,
39
+ V as fuelVolume,
40
+ z as getPageCount,
41
+ W as hours,
42
+ j as number,
43
+ q as time
40
44
  };
@@ -0,0 +1 @@
1
+ export declare function chunkArray<T>(array: T[], chunkSize: number): T[][];
@@ -0,0 +1,10 @@
1
+ function l(t, n) {
2
+ if (!t) return t;
3
+ const u = [];
4
+ for (let e = 0; e < t.length; e += n)
5
+ u.push(t.slice(e, e + n));
6
+ return u;
7
+ }
8
+ export {
9
+ l as chunkArray
10
+ };
@@ -1,3 +1,4 @@
1
+ export { chunkArray } from './chunkArray';
1
2
  export { cn } from './cn';
2
3
  export { currency, date, datetime, decimal, fuelUnitPrice, fuelVolume, hours, number, time } from './formatters';
3
4
  export { getPageCount } from './pageCount';
@@ -1,16 +1,18 @@
1
- import { cn as t } from "./cn.js";
2
- import { currency as m, date as u, datetime as c, decimal as f, fuelUnitPrice as i, fuelVolume as n, hours as a, number as l, time as d } from "./formatters.js";
3
- import { getPageCount as x } from "./pageCount.js";
1
+ import { chunkArray as o } from "./chunkArray.js";
2
+ import { cn as m } from "./cn.js";
3
+ import { currency as c, date as f, datetime as n, decimal as a, fuelUnitPrice as i, fuelVolume as l, hours as p, number as x, time as d } from "./formatters.js";
4
+ import { getPageCount as h } from "./pageCount.js";
4
5
  export {
5
- t as cn,
6
- m as currency,
7
- u as date,
8
- c as datetime,
9
- f as decimal,
6
+ o as chunkArray,
7
+ m as cn,
8
+ c as currency,
9
+ f as date,
10
+ n as datetime,
11
+ a as decimal,
10
12
  i as fuelUnitPrice,
11
- n as fuelVolume,
12
- x as getPageCount,
13
- a as hours,
14
- l as number,
13
+ l as fuelVolume,
14
+ h as getPageCount,
15
+ p as hours,
16
+ x as number,
15
17
  d as time
16
18
  };
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@amateescu/portal-ui-components",
3
3
  "main": "dist/main.js",
4
4
  "types": "dist/main.d.ts",
5
- "version": "0.0.16-beta0",
5
+ "version": "0.0.16-beta1",
6
6
  "type": "module",
7
7
  "files": [
8
8
  "dist"