@autobusal/common 0.0.40 → 0.0.41

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 (61) hide show
  1. package/ApiDetails/ApiDetails.tsx +50 -0
  2. package/ApiDetails/Content.tsx +44 -0
  3. package/ApiDetails/Devpos.tsx +139 -0
  4. package/ApiDetails/services.ts +38 -0
  5. package/ApiDetails/types.ts +13 -0
  6. package/Avatar.tsx +28 -0
  7. package/BackTo.tsx +28 -4
  8. package/ContactInfo/ContactInfo.tsx +40 -0
  9. package/ContactInfo/styles.ts +33 -0
  10. package/File/File.tsx +7 -3
  11. package/IpLogs/IpLogs.tsx +47 -0
  12. package/IpLogs/View.tsx +48 -0
  13. package/IpLogs/services.ts +27 -0
  14. package/IpLogs/styles.ts +10 -0
  15. package/Loading/Loading.tsx +29 -14
  16. package/Loading/styles.ts +9 -0
  17. package/Modal/Modal.tsx +3 -2
  18. package/Pagination/Pagination.tsx +2 -1
  19. package/Password/Password.tsx +3 -2
  20. package/Report/Report.tsx +39 -0
  21. package/Report/Send.tsx +55 -0
  22. package/Report/services.ts +18 -0
  23. package/Report/styles.ts +31 -0
  24. package/Seats/ChooseSeat.tsx +1 -1
  25. package/Seats/Preview.tsx +2 -2
  26. package/Seats/styles.ts +1 -43
  27. package/Table/Actions/Actions.tsx +40 -0
  28. package/Table/Actions/Get.tsx +49 -0
  29. package/Table/Actions/Icon.tsx +54 -0
  30. package/Table/Actions/styles.ts +22 -0
  31. package/Table/Header/Header.tsx +46 -0
  32. package/Table/Header/Sort.tsx +33 -0
  33. package/Table/Header/styles.ts +48 -0
  34. package/Table/Paginate.tsx +34 -0
  35. package/Table/Row.tsx +20 -0
  36. package/Table/Rows/Loading.tsx +22 -0
  37. package/Table/Rows/NotFound.tsx +22 -0
  38. package/Table/Rows/Rows.tsx +62 -0
  39. package/Table/Rows/styles.ts +31 -0
  40. package/Table/Table.tsx +74 -0
  41. package/Table/Top/Search.tsx +36 -0
  42. package/Table/Top/Top.tsx +44 -0
  43. package/Table/Top/styles.ts +32 -0
  44. package/Table/browseUrl.ts +21 -0
  45. package/Table/styles.ts +28 -0
  46. package/Table/types.ts +11 -0
  47. package/Viewer/Actions.tsx +58 -50
  48. package/Viewer/Data.tsx +71 -6
  49. package/Viewer/Item.tsx +8 -79
  50. package/Viewer/Items/CheckboxList.tsx +53 -30
  51. package/Viewer/Items/DatePicker.tsx +70 -0
  52. package/Viewer/Items/Dropdown.tsx +12 -6
  53. package/Viewer/Items/Linked.tsx +27 -0
  54. package/Viewer/Items/TextareaHtml.tsx +51 -24
  55. package/Viewer/Items/styles.ts +73 -0
  56. package/Viewer/Viewer.tsx +22 -15
  57. package/Viewer/styles.ts +21 -1
  58. package/Viewer/types.ts +11 -8
  59. package/index.ts +18 -2
  60. package/package.json +1 -1
  61. package/Pagination/types.ts +0 -12
package/index.ts CHANGED
@@ -1,37 +1,50 @@
1
+ import ApiDetails from './ApiDetails/ApiDetails';
1
2
  import Autocomplete from './Autocomplete/Autocomplete';
2
- import BackTo from './BackTo';
3
+ import Avatar from './Avatar';
4
+ import { BackTo, BackWithTitle } from './BackTo';
3
5
  import BlogItem from './BlogItem/BlogItem';
4
6
  import BrowseCompanyItem from './BrowseCompanyItem/BrowseCompanyItem';
5
7
  import Calendar from './Calendar/Calendar';
8
+ import ContactInfo from './ContactInfo/ContactInfo';
6
9
  import CookieNotification from './CookieNotification/CookieNotification';
7
10
  import ChangeLanguage from './ChangeLanguage/ChangeLanguage';
8
11
  import ChooseSeat from './Seats/ChooseSeat';
9
12
  import { Button } from './Button/Button';
10
13
  import Gender from './Gender';
11
- import { General, Inline, Paragraph } from './Loading/Loading';
14
+ import { General, Inline, Paragraph, Box } from './Loading/Loading';
15
+ import IpLogs from './IpLogs/IpLogs';
12
16
  import Modal from './Modal/Modal';
13
17
  import Meta from './Meta';
14
18
  import Pagination from './Pagination/Pagination';
15
19
  import Passengers from './Passengers/Passengers';
16
20
  import Password from './Password/Password';
17
21
  import Policy from './Policy/Policy';
22
+ import Report from './Report/Report';
18
23
  import RouteFeature from './RouteFeature/RouteFeature';
19
24
  import RouteItem from './RouteItem/RouteItem';
25
+ import Row from './Table/Row';
26
+ import Table from './Table/Table';
20
27
  import Viewer from './Viewer/Viewer';
21
28
 
22
29
  export {
30
+ ApiDetails,
23
31
  Autocomplete,
32
+ Avatar,
24
33
  BackTo,
34
+ BackWithTitle,
25
35
  BlogItem,
36
+ Box,
26
37
  BrowseCompanyItem,
27
38
  Button,
28
39
  Calendar,
29
40
  CookieNotification,
30
41
  ChangeLanguage,
31
42
  ChooseSeat,
43
+ ContactInfo,
32
44
  Gender,
33
45
  General,
34
46
  Inline,
47
+ IpLogs,
35
48
  Meta,
36
49
  Modal,
37
50
  Pagination,
@@ -39,7 +52,10 @@ export {
39
52
  Passengers,
40
53
  Password,
41
54
  Policy,
55
+ Report,
42
56
  RouteFeature,
43
57
  RouteItem,
58
+ Row,
59
+ Table,
44
60
  Viewer
45
61
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@autobusal/common",
3
- "version": "0.0.40",
3
+ "version": "0.0.41",
4
4
  "type": "module",
5
5
  "main": "index.ts"
6
6
  }
@@ -1,12 +0,0 @@
1
- export interface PaginationData<T> {
2
- current_page: number
3
- last_page: number
4
- data: T[]
5
- links: LinkData[]
6
- }
7
-
8
- export interface LinkData {
9
- url: string | null
10
- label: string
11
- active: boolean
12
- }