@inceptionbg/iui 1.0.6 → 1.0.7

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 (2) hide show
  1. package/package.json +3 -2
  2. package/src/index.ts +0 -186
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "@inceptionbg/iui",
3
- "version": "1.0.6",
3
+ "version": "1.0.7",
4
4
  "description": "UI components, elements & utils for Inception ecosystem",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"
8
8
  ],
9
- "main": "src/index.ts",
9
+ "main": "dist/index.js",
10
+ "types": "dist/index.d.ts",
10
11
  "scripts": {
11
12
  "build": "rollup -c"
12
13
  },
package/src/index.ts DELETED
@@ -1,186 +0,0 @@
1
- import clsx from "clsx";
2
- import moment from "moment";
3
- import { FontAwesomeIcon } from "@fortawesome/react-fontawesome";
4
-
5
- // import { ToastContainer } from "react-toastify";
6
- import "./styles/iui.scss";
7
- // import "react-toastify/dist/ReactToastify.min.css";
8
- import type {
9
- IAnyObject,
10
- IStringObject,
11
- IBooleanObject,
12
- ISimpleObject,
13
- ISimpleObjectWithCode,
14
- ISimpleObjectWithCodeNew,
15
- IValueLabel,
16
- } from "./types/IBasic";
17
- import type { IError } from "./types/IError";
18
- import type { ITab } from "./types/ITab";
19
- import type {
20
- IPagination,
21
- IServerSidePagination,
22
- ITable,
23
- ITableColumn,
24
- ITableDataItem,
25
- ITableEditRow,
26
- ITableFilter,
27
- ITableFilterData,
28
- ITableFilterItem,
29
- ITableSort,
30
- } from "./types/ITable";
31
- import type { ISidebarItem } from "./types/ISidebar";
32
- import type { ISelectData } from "./types/ISelect";
33
- // import type { IFormWrapper } from "./Elements/Wrappers/FormWrapper";
34
- // import type { IPageWrapper } from "./Elements/Wrappers/PageWrapper";
35
- import {
36
- checkIfExpired,
37
- dateAddDays,
38
- formatDate,
39
- formatDateAndTime,
40
- formatTime,
41
- formatYearMonth,
42
- getCurrentDateFormattedYMD,
43
- getDaysLeft,
44
- } from "./utils/DateUtils";
45
- import { formatCurrency, formatCurrencyNoDecimals } from "./utils/NumberUtils";
46
- // // import { apiResponseHandler } from "./utils/ApiResponseHandler";
47
- // import { toastError, toastSuccess } from "./utils/Toasts";
48
- import { maxChar } from "./utils/StringUtils";
49
- import {
50
- deleteEmptyProps,
51
- deleteEmptyPropsIncludingArray,
52
- deleteProps,
53
- getActiveFilterNumber,
54
- getVisibleColumnsIds,
55
- } from "./utils/ObjectUtils";
56
- import { Accordions } from "./Elements/Accordions/Accordions";
57
- import { Alert } from "./Elements/Alert/Alert";
58
- // import { NotificationBadge } from "./Elements/Badge/NotificationBadge";
59
- // import { PillBadge } from "./Elements/Badge/PillBadge";
60
- import { Button } from "./Elements/Button/Button";
61
- import { IconButton } from "./Elements/Button/IconButton";
62
- // import { Card } from "./Elements/Card/Card";
63
- // import { PreLoginCard } from "./Elements/Card/PreLoginCard";
64
- // import { Dialog } from "./Elements/Dialog/Dialog";
65
- import { Collapse } from "./Elements/Helper/Collapse";
66
- import { NoAccessInfo } from "./Elements/Helper/NoAccessInfo";
67
- // import { Checkbox } from "./Elements/Inputs/Checkbox";
68
- // import { DateInput } from "./Elements/Inputs/DateInput/DateInput";
69
- // import { LargeTextInput } from "./Elements/Inputs/LargeTextInput";
70
- // import { NumberInput } from "./Elements/Inputs/NumberInput";
71
- // import { PasswordInput } from "./Elements/Inputs/PasswordInput";
72
- // import { Radio } from "./Elements/Inputs/Radio";
73
- // import { TextInput } from "./Elements/Inputs/TextInput";
74
- // import { Select } from "./Elements/Inputs/Selects/Select";
75
- // import { SelectAsyncPaginate } from "./Elements/Inputs/Selects/SelectAsyncPaginate";
76
- // import {
77
- // FullScreenLoader,
78
- // LazyLoader,
79
- // Loader,
80
- // } from "./Elements/Loader/Loader";
81
- // import { Menu } from "./Elements/Menu/Menu";
82
- // import { MenuItem } from "./Elements/Menu/MenuItem";
83
- // import { Sidebar } from "./Elements/Sidebar/Sidebar";
84
- // import { SetTableFilter } from "./Elements/Table/Components/SetTableFilter";
85
- // import { Table } from "./Elements/Table/Table";
86
- // import { TableFooter } from "./Elements/Table/Components/TableFooter";
87
- // import { Tabs } from "./Elements/Tabs/Tabs";
88
- import { Tooltip } from "./Elements/Tooltip/Tooltip";
89
- import { ConditionalWrapper } from "./Elements/Wrappers/ConditionalWrapper";
90
- import { FullPageWrapper } from "./Elements/Wrappers/FullPageWrapper";
91
- import { FormWrapper } from "./Elements/Wrappers/FormWrapper";
92
- // import { PageWrapper } from "./Elements/Wrappers/PageWrapper";
93
- // import { ItemActionsMenu } from "./Elements/Table/Components/Edit/ItemActionsMenu";
94
- // import { ItemEditOptionsButtons } from "./Elements/Table/Components/Edit/ItemEditOptionsButtons";
95
- // import { TableEditRow } from "./Elements/Table/Components/Edit/TableEditRow";
96
-
97
- export {
98
- // ToastContainer,
99
- Accordions,
100
- Alert,
101
- // PillBadge,
102
- // NotificationBadge,
103
- Button,
104
- IconButton,
105
- // Card,
106
- // PreLoginCard,
107
- // Dialog,
108
- Collapse,
109
- NoAccessInfo,
110
- // Checkbox,
111
- // DateInput,
112
- // LargeTextInput,
113
- // NumberInput,
114
- // PasswordInput,
115
- // Radio,
116
- // TextInput,
117
- // Select,
118
- // SelectAsyncPaginate,
119
- // FullScreenLoader,
120
- // LazyLoader,
121
- // Loader,
122
- // Menu,
123
- // MenuItem,
124
- // Sidebar,
125
- // SetTableFilter,
126
- // ItemActionsMenu,
127
- // ItemEditOptionsButtons,
128
- // Table,
129
- // TableEditRow,
130
- // TableFooter,
131
- // Tabs,
132
- Tooltip,
133
- ConditionalWrapper,
134
- FullPageWrapper,
135
- FormWrapper,
136
- // PageWrapper,
137
- };
138
- export {
139
- IAnyObject,
140
- IStringObject,
141
- IBooleanObject,
142
- ISimpleObject,
143
- ISimpleObjectWithCode,
144
- ISimpleObjectWithCodeNew,
145
- IValueLabel,
146
- IError,
147
- ITab,
148
- IPagination,
149
- IServerSidePagination,
150
- ITable,
151
- ITableColumn,
152
- ITableDataItem,
153
- ITableEditRow,
154
- ITableFilter,
155
- ITableFilterData,
156
- ITableFilterItem,
157
- ITableSort,
158
- ISidebarItem,
159
- ISelectData,
160
- // IFormWrapper,
161
- // IPageWrapper,
162
- };
163
-
164
- export {
165
- checkIfExpired,
166
- dateAddDays,
167
- formatDate,
168
- formatDateAndTime,
169
- formatTime,
170
- formatYearMonth,
171
- getCurrentDateFormattedYMD,
172
- getDaysLeft,
173
- formatCurrency,
174
- formatCurrencyNoDecimals,
175
- deleteEmptyProps,
176
- deleteEmptyPropsIncludingArray,
177
- deleteProps,
178
- getActiveFilterNumber,
179
- getVisibleColumnsIds,
180
- // apiResponseHandler,
181
- // toastError,
182
- // toastSuccess,
183
- maxChar,
184
- };
185
-
186
- export { clsx, moment, FontAwesomeIcon };