@compill/admin 1.0.101 → 1.0.103

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 (169) hide show
  1. package/dist/index.js +50 -0
  2. package/{src → dist}/lib/SectionTitle.d.ts +0 -1
  3. package/dist/lib/SectionTitle.js +4 -0
  4. package/{src → dist}/lib/breadcrumbs/BreadCrumbs.d.ts +0 -1
  5. package/dist/lib/breadcrumbs/BreadCrumbs.js +29 -0
  6. package/dist/lib/buttons/DialogButton.js +15 -0
  7. package/{src → dist}/lib/buttons/InvalidateButton.d.ts +0 -1
  8. package/dist/lib/buttons/InvalidateButton.js +11 -0
  9. package/{src → dist}/lib/buttons/NavigateButton.d.ts +0 -1
  10. package/dist/lib/buttons/NavigateButton.js +12 -0
  11. package/{src → dist}/lib/buttons/PublishButton.d.ts +0 -1
  12. package/dist/lib/buttons/PublishButton.js +17 -0
  13. package/{src → dist}/lib/buttons/UpdateButton.d.ts +0 -1
  14. package/dist/lib/buttons/UpdateButton.js +11 -0
  15. package/{src → dist}/lib/buttons/ViewButton.d.ts +1 -2
  16. package/dist/lib/buttons/ViewButton.js +13 -0
  17. package/{src → dist}/lib/cells/OrderCell.d.ts +0 -1
  18. package/dist/lib/cells/OrderCell.js +26 -0
  19. package/{src → dist}/lib/json/DetailsView.d.ts +0 -1
  20. package/dist/lib/json/DetailsView.js +69 -0
  21. package/{src → dist}/lib/json/EditItemView.d.ts +0 -1
  22. package/dist/lib/json/EditItemView.js +6 -0
  23. package/{src → dist}/lib/json/MultiQueryWrapper.d.ts +0 -1
  24. package/dist/lib/json/MultiQueryWrapper.js +61 -0
  25. package/{src → dist}/lib/json/QueryWrapper.d.ts +0 -1
  26. package/dist/lib/json/QueryWrapper.js +29 -0
  27. package/{src → dist}/lib/json/ScreenRenderer.d.ts +0 -1
  28. package/dist/lib/json/ScreenRenderer.js +19 -0
  29. package/{src → dist}/lib/json/ScreenTopBar.d.ts +0 -1
  30. package/dist/lib/json/ScreenTopBar.js +18 -0
  31. package/{src → dist}/lib/json/TabbedView.d.ts +0 -1
  32. package/dist/lib/json/TabbedView.js +21 -0
  33. package/{src → dist}/lib/json/buttons/ActionButton.d.ts +0 -1
  34. package/dist/lib/json/buttons/ActionButton.js +11 -0
  35. package/{src → dist}/lib/json/buttons/ConfirmationActionButton.d.ts +0 -1
  36. package/dist/lib/json/buttons/ConfirmationActionButton.js +20 -0
  37. package/{src → dist}/lib/json/dialog/DialogRenderer.d.ts +0 -1
  38. package/dist/lib/json/dialog/DialogRenderer.js +14 -0
  39. package/dist/lib/json/dialog/ItemDeleteDialog.js +14 -0
  40. package/dist/lib/json/dialog/ItemEditDialog.js +77 -0
  41. package/{src → dist}/lib/json/dialog/MultiQueryWrapperDialog.d.ts +0 -1
  42. package/dist/lib/json/dialog/MultiQueryWrapperDialog.js +23 -0
  43. package/{src → dist}/lib/json/dialog/QueryWrapperDialog.d.ts +0 -1
  44. package/dist/lib/json/dialog/QueryWrapperDialog.js +20 -0
  45. package/{src → dist}/lib/json/table/RefreshButton.d.ts +0 -1
  46. package/dist/lib/json/table/RefreshButton.js +11 -0
  47. package/{src → dist}/lib/json/table/TableRowActionsView.d.ts +0 -1
  48. package/dist/lib/json/table/TableRowActionsView.js +36 -0
  49. package/{src → dist}/lib/json/table/TableRowPublishPostButton.d.ts +0 -1
  50. package/dist/lib/json/table/TableRowPublishPostButton.js +20 -0
  51. package/{src → dist}/lib/json/table/TableView.d.ts +0 -1
  52. package/dist/lib/json/table/TableView.js +65 -0
  53. package/dist/lib/json/table/TableViewContext.js +58 -0
  54. package/dist/lib/json/table/useTableProps.js +57 -0
  55. package/{src → dist}/lib/json/types/DetailsView.d.ts +0 -1
  56. package/dist/lib/json/types/DetailsView.js +1 -0
  57. package/dist/lib/json/types/EditItemDialog.js +1 -0
  58. package/dist/lib/json/types/MultiQueryWrapper.js +1 -0
  59. package/dist/lib/json/types/MultiQueryWrapperDialog.js +1 -0
  60. package/dist/lib/json/types/QueryWrapper.js +1 -0
  61. package/dist/lib/json/types/QueryWrapperDialog.js +1 -0
  62. package/dist/lib/json/types/ScreenConfig.js +1 -0
  63. package/{src → dist}/lib/json/types/TabbedView.d.ts +0 -1
  64. package/dist/lib/json/types/TabbedView.js +1 -0
  65. package/{src → dist}/lib/json/types/TableView.d.ts +0 -1
  66. package/dist/lib/json/types/TableView.js +1 -0
  67. package/{src → dist}/lib/layout/AdminLayout.d.ts +0 -1
  68. package/dist/lib/layout/AdminLayout.js +15 -0
  69. package/{src → dist}/lib/layout/ButtonBar.d.ts +1 -1
  70. package/dist/lib/layout/ButtonBar.js +19 -0
  71. package/{src → dist}/lib/layout/Content.d.ts +0 -1
  72. package/dist/lib/layout/Content.js +9 -0
  73. package/{src → dist}/lib/layout/PageTitleBar.d.ts +0 -1
  74. package/dist/lib/layout/PageTitleBar.js +4 -0
  75. package/{src → dist}/lib/layout/Sidebar.d.ts +0 -1
  76. package/dist/lib/layout/Sidebar.js +12 -0
  77. package/{src → dist}/lib/layout/menu/Menu.d.ts +0 -1
  78. package/dist/lib/layout/menu/Menu.js +23 -0
  79. package/{src → dist}/lib/layout/menu/MenuButton.d.ts +0 -1
  80. package/dist/lib/layout/menu/MenuButton.js +5 -0
  81. package/dist/lib/layout/menu/MenuConfig.js +1 -0
  82. package/{src → dist}/lib/layout/menu/MenuItem.d.ts +0 -1
  83. package/dist/lib/layout/menu/MenuItem.js +11 -0
  84. package/{src → dist}/lib/layout/menu/NextMenuItem.d.ts +0 -1
  85. package/dist/lib/layout/menu/NextMenuItem.js +11 -0
  86. package/{src → dist}/lib/layout/menu/SelectedIndicator.d.ts +0 -1
  87. package/dist/lib/layout/menu/SelectedIndicator.js +4 -0
  88. package/{src → dist}/lib/layout/menu/UserBlock.d.ts +1 -2
  89. package/dist/lib/layout/menu/UserBlock.js +34 -0
  90. package/{src → dist}/lib/modal/AttachDialog.d.ts +0 -1
  91. package/dist/lib/modal/AttachDialog.js +73 -0
  92. package/dist/lib/modal/FormActionDialog.js +20 -0
  93. package/{src → dist}/lib/page/PageContainer.d.ts +0 -1
  94. package/dist/lib/page/PageContainer.js +5 -0
  95. package/{src → dist}/lib/page/PageContentEditor.d.ts +0 -1
  96. package/dist/lib/page/PageContentEditor.js +10 -0
  97. package/{src → dist}/lib/page/PageMain.d.ts +0 -1
  98. package/dist/lib/page/PageMain.js +5 -0
  99. package/dist/lib/page/PageQueryStateContainer.js +16 -0
  100. package/{src → dist}/lib/page/PageSectionTitle.d.ts +0 -1
  101. package/dist/lib/page/PageSectionTitle.js +4 -0
  102. package/{src → dist}/lib/page/PageSidebar.d.ts +0 -1
  103. package/dist/lib/page/PageSidebar.js +4 -0
  104. package/{src → dist}/lib/page/PageSidebarSection.d.ts +0 -1
  105. package/dist/lib/page/PageSidebarSection.js +5 -0
  106. package/dist/lib/page/PageStateContainer.js +7 -0
  107. package/{src → dist}/lib/page/PageSubSectionTitle.d.ts +0 -1
  108. package/dist/lib/page/PageSubSectionTitle.js +4 -0
  109. package/{src → dist}/lib/page/PageTitle.d.ts +0 -1
  110. package/dist/lib/page/PageTitle.js +4 -0
  111. package/dist/lib/page/PageTopBar.js +78 -0
  112. package/{src → dist}/lib/status/StatusBadge.d.ts +0 -1
  113. package/dist/lib/status/StatusBadge.js +21 -0
  114. package/dist/lib/table/TableColumnButton.d.ts +1 -0
  115. package/dist/lib/table/TableColumnButton.js +53 -0
  116. package/{src → dist}/lib/table/TableContainer.d.ts +0 -1
  117. package/dist/lib/table/TableContainer.js +6 -0
  118. package/dist/lib/table/TableContainerContext.js +40 -0
  119. package/{src → dist}/lib/table/TableCreateButton.d.ts +0 -1
  120. package/dist/lib/table/TableCreateButton.js +7 -0
  121. package/{src → dist}/lib/table/TableFilterButton.d.ts +0 -1
  122. package/dist/lib/table/TableFilterButton.js +8 -0
  123. package/{src → dist}/lib/table/TableFilters.d.ts +0 -1
  124. package/dist/lib/table/TableFilters.js +27 -0
  125. package/{src → dist}/lib/table/TableMassActions.d.ts +0 -1
  126. package/dist/lib/table/TableMassActions.js +9 -0
  127. package/{src → dist}/lib/table/TableRowActionBar.d.ts +0 -1
  128. package/dist/lib/table/TableRowActionBar.js +8 -0
  129. package/{src → dist}/lib/table/TableRowActionButton.d.ts +0 -1
  130. package/dist/lib/table/TableRowActionButton.js +5 -0
  131. package/{src → dist}/lib/table/TableRowActionDialogButton.d.ts +1 -2
  132. package/dist/lib/table/TableRowActionDialogButton.js +6 -0
  133. package/{src → dist}/lib/table/TableRowDeleteButton.d.ts +0 -1
  134. package/dist/lib/table/TableRowDeleteButton.js +6 -0
  135. package/{src → dist}/lib/table/TableRowEditButton.d.ts +0 -1
  136. package/dist/lib/table/TableRowEditButton.js +6 -0
  137. package/{src → dist}/lib/table/TableRowNavigateButton.d.ts +0 -1
  138. package/dist/lib/table/TableRowNavigateButton.js +14 -0
  139. package/{src → dist}/lib/table/TableRowPublishPostButton.d.ts +0 -1
  140. package/dist/lib/table/TableRowPublishPostButton.js +19 -0
  141. package/{src → dist}/lib/table/TableRowViewButton.d.ts +0 -1
  142. package/dist/lib/table/TableRowViewButton.js +13 -0
  143. package/{src → dist}/lib/table/TableTopBar.d.ts +1 -2
  144. package/dist/lib/table/TableTopBar.js +5 -0
  145. package/package.json +60 -4
  146. package/README.md +0 -7
  147. package/index.cjs.d.ts +0 -1
  148. package/index.cjs.js +0 -3710
  149. package/index.esm.d.ts +0 -1
  150. package/index.esm.js +0 -3662
  151. package/src/lib/table/TableColumnButton.d.ts +0 -0
  152. /package/{src → dist}/index.d.ts +0 -0
  153. /package/{src → dist}/lib/buttons/DialogButton.d.ts +0 -0
  154. /package/{src → dist}/lib/json/dialog/ItemDeleteDialog.d.ts +0 -0
  155. /package/{src → dist}/lib/json/dialog/ItemEditDialog.d.ts +0 -0
  156. /package/{src → dist}/lib/json/table/TableViewContext.d.ts +0 -0
  157. /package/{src → dist}/lib/json/table/useTableProps.d.ts +0 -0
  158. /package/{src → dist}/lib/json/types/EditItemDialog.d.ts +0 -0
  159. /package/{src → dist}/lib/json/types/MultiQueryWrapper.d.ts +0 -0
  160. /package/{src → dist}/lib/json/types/MultiQueryWrapperDialog.d.ts +0 -0
  161. /package/{src → dist}/lib/json/types/QueryWrapper.d.ts +0 -0
  162. /package/{src → dist}/lib/json/types/QueryWrapperDialog.d.ts +0 -0
  163. /package/{src → dist}/lib/json/types/ScreenConfig.d.ts +0 -0
  164. /package/{src → dist}/lib/layout/menu/MenuConfig.d.ts +0 -0
  165. /package/{src → dist}/lib/modal/FormActionDialog.d.ts +0 -0
  166. /package/{src → dist}/lib/page/PageQueryStateContainer.d.ts +0 -0
  167. /package/{src → dist}/lib/page/PageStateContainer.d.ts +0 -0
  168. /package/{src → dist}/lib/page/PageTopBar.d.ts +0 -0
  169. /package/{src → dist}/lib/table/TableContainerContext.d.ts +0 -0
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { MassAction } from "../json/types/TableView";
3
2
  interface TableMassActionsProps {
4
3
  actions: MassAction[];
@@ -0,0 +1,9 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { useTableContext } from "@compill/table";
3
+ import { Collapse } from "@valerya/ui";
4
+ import { ActionButton } from "../json/buttons/ActionButton";
5
+ export function TableMassActions({ actions }) {
6
+ const { ids } = useTableContext();
7
+ const showMassActions = ids && ids.length > 0;
8
+ return (_jsx(Collapse, { in: showMassActions, style: { overflow: showMassActions ? "initial" : "hidden" }, children: _jsx("div", { dflex: true, gap: "3", flexWrap: true, alignItems: "center", px: "8", pt: "5", children: actions.map((action, index) => (_jsx("div", { children: action.type == "button" && !action.showConfirmationDialog && (_jsx(ActionButton, { label: action.label, queryFn: action.queryFn, queryKey: action.queryKey, buttonProps: action.buttonProps })) }, index))) }) }));
9
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ParentComponent, SoperioComponent } from "@soperio/react";
3
2
  interface TableRowActionBarProps extends SoperioComponent, ParentComponent {
4
3
  publishId?: string;
@@ -0,0 +1,8 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@soperio/jsx-runtime";
2
+ import { TableRowViewButton } from "./TableRowViewButton";
3
+ import { TableRowNavigateButton } from "./TableRowNavigateButton";
4
+ import { TableRowEditButton } from "./TableRowEditButton";
5
+ import { TableRowDeleteButton } from "./TableRowDeleteButton";
6
+ export function TableRowActionBar({ publishId, viewPath, navigatePath, editDialog, deleteDialog, children, ...props }) {
7
+ return (_jsxs("div", { dflex: true, spaceX: "1", placeContent: "end", ...props, children: [viewPath && _jsx(TableRowViewButton, { path: viewPath }), navigatePath && _jsx(TableRowNavigateButton, { path: navigatePath }), editDialog && _jsx(TableRowEditButton, { buildDialog: editDialog }), deleteDialog && _jsx(TableRowDeleteButton, { buildDialog: deleteDialog }), children] }));
8
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from "@valerya/ui";
3
2
  export declare function TableRowActionButton({ icon, children, ...props }: {
4
3
  icon?: string;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@soperio/jsx-runtime";
2
+ import { Button, Icon } from "@valerya/ui";
3
+ export function TableRowActionButton({ icon, children, ...props }) {
4
+ return (_jsxs(Button, { dflex: true, alignContent: "center", placeContent: "center", py: "2.5", px: "3", h: "full", size: "lg", variant: "borderless", corners: "square", gap: "2", ...props, children: [icon && _jsx(Icon, { path: icon, size: "sm" }), children] }));
5
+ }
@@ -1,5 +1,4 @@
1
- /// <reference types="react" />
2
- import { DialogButtonProps } from "@compill/admin";
1
+ import { DialogButtonProps } from "../buttons/DialogButton";
3
2
  export declare function TableRowActionDialogButton({ icon, children, ...props }: {
4
3
  icon?: string;
5
4
  } & DialogButtonProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@soperio/jsx-runtime";
2
+ import { Icon } from "@valerya/ui";
3
+ import { DialogButton } from "../buttons/DialogButton";
4
+ export function TableRowActionDialogButton({ icon, children, ...props }) {
5
+ return (_jsxs(DialogButton, { dflex: true, alignContent: "center", placeContent: "center", py: "2.5", px: "3", h: "full", size: "lg", variant: "borderless", corners: "square", gap: "2", ...props, children: [icon && _jsx(Icon, { path: icon, size: "sm" }), children] }));
6
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { DialogButtonProps } from "../buttons/DialogButton";
3
2
  export declare function TableRowDeleteButton({ children, ...props }: DialogButtonProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { mdiDelete } from "@mdi/js";
3
+ import { TableRowActionDialogButton } from "./TableRowActionDialogButton";
4
+ export function TableRowDeleteButton({ children, ...props }) {
5
+ return _jsx(TableRowActionDialogButton, { icon: mdiDelete, ...props, children: children });
6
+ }
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { DialogButtonProps } from "../buttons/DialogButton";
3
2
  export declare function TableRowEditButton({ children, ...props }: DialogButtonProps): JSX.Element;
@@ -0,0 +1,6 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { mdiPencil } from "@mdi/js";
3
+ import { TableRowActionDialogButton } from "./TableRowActionDialogButton";
4
+ export function TableRowEditButton({ children, ...props }) {
5
+ return (_jsx(TableRowActionDialogButton, { icon: mdiPencil, ...props, children: children }));
6
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from "@valerya/ui";
3
2
  export declare function TableRowNavigateButton({ path, ...props }: {
4
3
  path: string;
@@ -0,0 +1,14 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { mdiEye } from "@mdi/js";
3
+ import React from "react";
4
+ import { useNavigate } from "react-router-dom";
5
+ import { TableRowActionButton } from "./TableRowActionButton";
6
+ export function TableRowNavigateButton({ path, ...props }) {
7
+ const navigate = useNavigate();
8
+ const handleClick = React.useCallback((event) => {
9
+ event?.preventDefault();
10
+ event?.stopPropagation();
11
+ navigate(`${path}`);
12
+ }, [navigate, path]);
13
+ return _jsx(TableRowActionButton, { icon: mdiEye, onClick: handleClick, ...props });
14
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { API } from "@compill/admin-api";
3
2
  import { ButtonProps } from "@valerya/ui";
4
3
  export declare function TableRowPublishPostButton({ id, api, status, invalidateQueryKey, ...props }: {
@@ -0,0 +1,19 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { useInvalidateParentMutation } from "@compill/api";
3
+ import { mdiPublish, mdiPublishOff } from "@mdi/js";
4
+ import React from "react";
5
+ import { toast } from "react-toastify";
6
+ import { TableRowActionButton } from "./TableRowActionButton";
7
+ export function TableRowPublishPostButton({ id, api, status, invalidateQueryKey, ...props }) {
8
+ const isDraft = status == "draft";
9
+ const mutation = useInvalidateParentMutation(isDraft ? api.publish : api.unpublish, invalidateQueryKey ?? api.queryKey, { networkMode: "always" });
10
+ const publish = React.useCallback((event) => {
11
+ event?.preventDefault();
12
+ event?.stopPropagation();
13
+ mutation.reset();
14
+ mutation.mutateAsync(id)
15
+ .then(() => toast.success(isDraft ? "Published!" : "Unpublished!"))
16
+ .catch(error => toast.error(`Error: ${error}`));
17
+ }, [mutation, id]);
18
+ return (_jsx(TableRowActionButton, { icon: isDraft ? mdiPublish : mdiPublishOff, onClick: publish, ...props }));
19
+ }
@@ -1,4 +1,3 @@
1
- /// <reference types="react" />
2
1
  import { ButtonProps } from "@valerya/ui";
3
2
  export declare function TableRowViewButton({ path, ...props }: {
4
3
  path: string;
@@ -0,0 +1,13 @@
1
+ import { jsx as _jsx } from "@soperio/jsx-runtime";
2
+ import { mdiOpenInNew } from "@mdi/js";
3
+ import React from "react";
4
+ import { TableRowActionButton } from "./TableRowActionButton";
5
+ import { AppEnv } from "@compill/env";
6
+ export function TableRowViewButton({ path, ...props }) {
7
+ const openPage = React.useCallback((event) => {
8
+ event?.preventDefault();
9
+ event?.stopPropagation();
10
+ window.open(`${AppEnv.websiteUrl()}/${path}`, '_blank');
11
+ }, [path]);
12
+ return _jsx(TableRowActionButton, { icon: mdiOpenInNew, onClick: openPage, ...props });
13
+ }
@@ -1,6 +1,5 @@
1
- /// <reference types="react" />
2
- import { Breadcrumb, QueryBreadcrumbs } from "@compill/admin";
3
1
  import { ParentComponent, SoperioComponent } from "@soperio/react";
2
+ import { Breadcrumb, QueryBreadcrumbs } from "../breadcrumbs/BreadCrumbs";
4
3
  interface TableTopBarProps extends SoperioComponent, ParentComponent {
5
4
  title?: string;
6
5
  breadcrumbs?: Breadcrumb[] | QueryBreadcrumbs;
@@ -0,0 +1,5 @@
1
+ import { jsx as _jsx, jsxs as _jsxs } from "@soperio/jsx-runtime";
2
+ import { Breadcrumbs } from "../breadcrumbs/BreadCrumbs";
3
+ export function TableTopBar({ title, breadcrumbs, children, ...props }) {
4
+ return (_jsxs("div", { dflex: true, flexRow: true, alignItems: "center", gap: "3", p: "8", ...props, children: [_jsxs("div", { children: [title && _jsx("h2", { textSize: "x2", fontWeight: "600", textColor: "#3f4254", textTransform: "capitalize", children: title }), breadcrumbs && _jsx(Breadcrumbs, { breadcrumbs: breadcrumbs })] }), _jsx("div", { flexGrow: true, children: "\u00A0" }), children] }));
5
+ }
package/package.json CHANGED
@@ -1,6 +1,62 @@
1
1
  {
2
- "name": "@compill/admin",
3
- "version": "1.0.101",
4
- "module": "./index.esm.js",
5
- "main": "./index.cjs.js"
2
+ "name": "@compill/admin",
3
+ "version": "1.0.103",
4
+ "private": false,
5
+ "sideEffects": false,
6
+ "type": "module",
7
+ "exports": {
8
+ ".": {
9
+ "import": "./dist/index.js",
10
+ "types": "./dist/index.d.ts"
11
+ }
12
+ },
13
+ "devDependencies": {
14
+ "eslint": "^9.38.0",
15
+ "typescript": "5.9.2",
16
+ "@types/react": "^18.3.1",
17
+ "@types/react-dom": "^18.3.1",
18
+ "@repo/eslint-config": "0.0.0",
19
+ "@repo/typescript-config": "0.0.0"
20
+ },
21
+ "peerDependencies": {
22
+ "react": "^18.3.1",
23
+ "react-dom": "^18.3.1",
24
+ "next": "^15.5.4"
25
+ },
26
+ "dependencies": {
27
+ "@mdi/js": "^7.4.47",
28
+ "es-toolkit": "^1.41.0",
29
+ "formik": "^2.4.6",
30
+ "react-toastify": "^11.0.2",
31
+ "@tanstack/react-query": "^4.36.1",
32
+ "@tanstack/react-table": "^8.17.3",
33
+ "react-router-dom": "^6.11.2",
34
+ "react-hotkeys-hook": "^5.0.1",
35
+ "yup": "^1.1.0",
36
+ "@soperio/react": "1.0.14",
37
+ "@soperio/jsx-runtime": "1.0.14",
38
+ "@valerya/ui": "1.0.11",
39
+ "@compill/admin-api": "1.0.56",
40
+ "@compill/api": "1.0.57",
41
+ "@compill/auth": "1.0.78",
42
+ "@compill/env": "1.0.19",
43
+ "@compill/components": "1.0.51",
44
+ "@compill/editor": "1.0.80",
45
+ "@compill/form": "1.0.68",
46
+ "@compill/hooks": "1.0.43",
47
+ "@compill/form-editor": "1.0.20",
48
+ "@compill/table": "1.0.81"
49
+ },
50
+ "publishConfig": {
51
+ "access": "public"
52
+ },
53
+ "files": [
54
+ "dist"
55
+ ],
56
+ "scripts": {
57
+ "build": "tsc -p tsconfig.build.json",
58
+ "dev": "tsup src/index.ts --format esm --dts --watch",
59
+ "lint": "eslint . --max-warnings 0",
60
+ "check-types": "tsc --noEmit"
61
+ }
6
62
  }
package/README.md DELETED
@@ -1,7 +0,0 @@
1
- # ui-table
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Running unit tests
6
-
7
- Run `nx test ui-table` to execute the unit tests via [Jest](https://jestjs.io).
package/index.cjs.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";