@compill/admin 1.0.108 → 1.0.109
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.
- package/dist/index.cjs +2115 -0
- package/dist/index.d.ts +50 -565
- package/dist/index.js +605 -592
- package/dist/lib/SectionTitle.d.ts +2 -0
- package/dist/lib/breadcrumbs/BreadCrumbs.d.ts +15 -0
- package/dist/lib/buttons/DialogButton.d.ts +7 -0
- package/dist/lib/buttons/InvalidateButton.d.ts +6 -0
- package/dist/lib/buttons/NavigateButton.d.ts +4 -0
- package/dist/lib/buttons/PublishButton.d.ts +9 -0
- package/dist/lib/buttons/UpdateButton.d.ts +2 -0
- package/dist/lib/buttons/ViewButton.d.ts +5 -0
- package/dist/lib/cells/OrderCell.d.ts +11 -0
- package/dist/lib/json/DetailsView.d.ts +5 -0
- package/dist/lib/json/EditItemView.d.ts +2 -0
- package/dist/lib/json/MultiQueryWrapper.d.ts +5 -0
- package/dist/lib/json/QueryWrapper.d.ts +6 -0
- package/dist/lib/json/ScreenRenderer.d.ts +6 -0
- package/dist/lib/json/ScreenTopBar.d.ts +15 -0
- package/dist/lib/json/TabbedView.d.ts +3 -0
- package/dist/lib/json/buttons/ActionButton.d.ts +14 -0
- package/dist/lib/json/buttons/ConfirmationActionButton.d.ts +26 -0
- package/dist/lib/json/dialog/DialogRenderer.d.ts +11 -0
- package/dist/lib/json/dialog/ItemDeleteDialog.d.ts +17 -0
- package/dist/lib/json/dialog/ItemEditDialog.d.ts +32 -0
- package/dist/lib/json/dialog/MultiQueryWrapperDialog.d.ts +7 -0
- package/dist/lib/json/dialog/QueryWrapperDialog.d.ts +13 -0
- package/dist/lib/json/table/RefreshButton.d.ts +3 -0
- package/dist/lib/json/table/TableRowActionsView.d.ts +11 -0
- package/dist/lib/json/table/TableRowPublishPostButton.d.ts +8 -0
- package/dist/lib/json/table/TableView.d.ts +3 -0
- package/dist/lib/json/table/TableViewContext.d.ts +14 -0
- package/dist/lib/json/table/useTableProps.d.ts +3 -0
- package/dist/lib/json/types/DetailsView.d.ts +57 -0
- package/dist/lib/json/types/EditItemDialog.d.ts +4 -0
- package/dist/lib/json/types/MultiQueryWrapper.d.ts +18 -0
- package/dist/lib/json/types/MultiQueryWrapperDialog.d.ts +13 -0
- package/dist/lib/json/types/QueryWrapper.d.ts +27 -0
- package/dist/lib/json/types/QueryWrapperDialog.d.ts +22 -0
- package/dist/lib/json/types/ScreenConfig.d.ts +8 -0
- package/dist/lib/json/types/TabbedView.d.ts +22 -0
- package/dist/lib/json/types/TableView.d.ts +117 -0
- package/dist/lib/layout/AdminLayout.d.ts +13 -0
- package/dist/lib/layout/ButtonBar.d.ts +19 -0
- package/dist/lib/layout/Content.d.ts +9 -0
- package/dist/lib/layout/PageTitleBar.d.ts +6 -0
- package/dist/lib/layout/Sidebar.d.ts +20 -0
- package/dist/lib/layout/menu/Menu.d.ts +12 -0
- package/dist/lib/layout/menu/MenuButton.d.ts +6 -0
- package/dist/lib/layout/menu/MenuConfig.d.ts +13 -0
- package/dist/lib/layout/menu/MenuItem.d.ts +11 -0
- package/dist/lib/layout/menu/NextMenuItem.d.ts +11 -0
- package/dist/lib/layout/menu/SelectedIndicator.d.ts +3 -0
- package/dist/lib/layout/menu/UserBlock.d.ts +9 -0
- package/dist/lib/modal/AttachDialog.d.ts +30 -0
- package/dist/lib/modal/FormActionDialog.d.ts +23 -0
- package/dist/lib/page/PageContainer.d.ts +2 -0
- package/dist/lib/page/PageContentEditor.d.ts +4 -0
- package/dist/lib/page/PageMain.d.ts +2 -0
- package/dist/lib/page/PageQueryStateContainer.d.ts +21 -0
- package/dist/lib/page/PageSectionTitle.d.ts +2 -0
- package/dist/lib/page/PageSidebar.d.ts +2 -0
- package/dist/lib/page/PageSidebarSection.d.ts +4 -0
- package/dist/lib/page/PageStateContainer.d.ts +7 -0
- package/dist/lib/page/PageSubSectionTitle.d.ts +2 -0
- package/dist/lib/page/PageTitle.d.ts +2 -0
- package/dist/lib/page/PageTopBar.d.ts +13 -0
- package/dist/lib/status/StatusBadge.d.ts +4 -0
- package/dist/lib/table/TableColumnButton.d.ts +1 -0
- package/dist/lib/table/TableContainer.d.ts +10 -0
- package/dist/lib/table/TableContainerContext.d.ts +18 -0
- package/dist/lib/table/TableCreateButton.d.ts +4 -0
- package/dist/lib/table/TableFilterButton.d.ts +2 -0
- package/dist/lib/table/TableFilters.d.ts +9 -0
- package/dist/lib/table/TableMassActions.d.ts +6 -0
- package/dist/lib/table/TableRowActionBar.d.ts +10 -0
- package/dist/lib/table/TableRowActionButton.d.ts +4 -0
- package/dist/lib/table/TableRowActionDialogButton.d.ts +4 -0
- package/dist/lib/table/TableRowDeleteButton.d.ts +2 -0
- package/dist/lib/table/TableRowEditButton.d.ts +2 -0
- package/dist/lib/table/TableRowNavigateButton.d.ts +4 -0
- package/dist/lib/table/TableRowPublishPostButton.d.ts +8 -0
- package/dist/lib/table/TableRowViewButton.d.ts +4 -0
- package/dist/lib/table/TableTopBar.d.ts +8 -0
- package/package.json +15 -15
- package/dist/index.d.mts +0 -565
- package/dist/index.mjs +0 -2000
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DialogButtonProps } from "../buttons/DialogButton";
|
|
2
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
3
|
+
import { ButtonProps } from "@valerya/ui";
|
|
4
|
+
import React from "react";
|
|
5
|
+
export declare function ButtonBar({ children, ...props }: ParentComponent & SoperioComponent): JSX.Element;
|
|
6
|
+
export type ButtonBarButtonProps = {
|
|
7
|
+
icon?: string;
|
|
8
|
+
} & ButtonProps;
|
|
9
|
+
export declare const ButtonBarButton: React.ForwardRefExoticComponent<{
|
|
10
|
+
icon?: string;
|
|
11
|
+
} & ButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
12
|
+
export interface ButtonBarSubmitButtonProps extends ButtonBarButtonProps {
|
|
13
|
+
useDirty?: boolean;
|
|
14
|
+
}
|
|
15
|
+
export declare const ButtonBarSubmitButton: React.ForwardRefExoticComponent<ButtonBarSubmitButtonProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
|
+
export type ButtonBarDialogButtonProps = {
|
|
17
|
+
icon?: string;
|
|
18
|
+
} & DialogButtonProps;
|
|
19
|
+
export declare function ButtonBarDialogButton({ icon, children, ...props }: ButtonBarDialogButtonProps): JSX.Element;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
interface TableTopBarProps extends SoperioComponent, ParentComponent {
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare function PageTitleBar({ title, children, ...props }: TableTopBarProps): JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Color, ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import { MenuConfig } from "./menu/MenuConfig";
|
|
3
|
+
interface SidebarProps extends SoperioComponent, ParentComponent {
|
|
4
|
+
show?: boolean;
|
|
5
|
+
color: Color;
|
|
6
|
+
darkMode?: boolean;
|
|
7
|
+
logo?: React.ReactNode;
|
|
8
|
+
title?: string;
|
|
9
|
+
menuConfig: MenuConfig;
|
|
10
|
+
userMenuConfig?: MenuConfig;
|
|
11
|
+
userSettingsPath: string;
|
|
12
|
+
}
|
|
13
|
+
export declare function Sidebar({ show, logo, title, menuConfig, userMenuConfig, userSettingsPath, color, darkMode, ...props }: SidebarProps): JSX.Element;
|
|
14
|
+
interface LogoProps extends SoperioComponent, ParentComponent {
|
|
15
|
+
width: number;
|
|
16
|
+
height: number;
|
|
17
|
+
darkMode?: boolean;
|
|
18
|
+
}
|
|
19
|
+
export default function Logo({ width, height, darkMode, ...props }: LogoProps): JSX.Element;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import { MenuConfig } from "./MenuConfig";
|
|
3
|
+
export interface MenuProps extends SoperioComponent, ParentComponent {
|
|
4
|
+
darkMode?: boolean;
|
|
5
|
+
config: MenuConfig;
|
|
6
|
+
useNextRouter?: boolean;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
*
|
|
10
|
+
*
|
|
11
|
+
*/
|
|
12
|
+
export declare function Menu({ darkMode, config, useNextRouter, ...props }: MenuProps): JSX.Element;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export type MenuConfig = MenuItems;
|
|
2
|
+
export type MenuItems = (Item | MenuDivider)[];
|
|
3
|
+
export type Item = {
|
|
4
|
+
type: "item";
|
|
5
|
+
path: string;
|
|
6
|
+
icon?: string;
|
|
7
|
+
label: string;
|
|
8
|
+
children?: Item[];
|
|
9
|
+
};
|
|
10
|
+
export type MenuDivider = {
|
|
11
|
+
type: "divider";
|
|
12
|
+
label?: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import { Item } from "./MenuConfig";
|
|
3
|
+
interface MenuItemProps extends SoperioComponent, ParentComponent {
|
|
4
|
+
path: string;
|
|
5
|
+
depth?: number;
|
|
6
|
+
icon?: string;
|
|
7
|
+
darkMode?: boolean;
|
|
8
|
+
subMenu?: Item[];
|
|
9
|
+
}
|
|
10
|
+
export declare function MenuItem({ icon, path, depth, darkMode, subMenu, ...props }: MenuItemProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import { Item } from "./MenuConfig";
|
|
3
|
+
interface NextMenuItemProps extends SoperioComponent, ParentComponent {
|
|
4
|
+
path: string;
|
|
5
|
+
depth?: number;
|
|
6
|
+
icon?: string;
|
|
7
|
+
darkMode?: boolean;
|
|
8
|
+
subMenu?: Item[];
|
|
9
|
+
}
|
|
10
|
+
export declare function NextMenuItem({ icon, path, depth, darkMode, subMenu, ...props }: NextMenuItemProps): JSX.Element;
|
|
11
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MenuConfig } from "./MenuConfig";
|
|
2
|
+
interface UserBlockProps {
|
|
3
|
+
color: string;
|
|
4
|
+
darkMode?: boolean;
|
|
5
|
+
menuConfig?: MenuConfig;
|
|
6
|
+
path: string;
|
|
7
|
+
}
|
|
8
|
+
export declare function UserBlock({ color, darkMode, menuConfig, path }: UserBlockProps): JSX.Element | null;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { QueryFunctionContext } from "@tanstack/react-query";
|
|
2
|
+
import { ModalProps } from "@valerya/ui";
|
|
3
|
+
import { FormikConfig } from "formik";
|
|
4
|
+
interface AttachDialogProps<T> extends Omit<ModalProps, "id" | "children" | "title" | "position"> {
|
|
5
|
+
queryId?: string;
|
|
6
|
+
queryKey: string[];
|
|
7
|
+
queryFetchFn: (context: QueryFunctionContext) => Promise<T>;
|
|
8
|
+
queryFetchAllFn: (context: QueryFunctionContext) => Promise<T>;
|
|
9
|
+
queryFetchAllKey: string[];
|
|
10
|
+
querySaveFn: ({ resources }: {
|
|
11
|
+
resources: string[];
|
|
12
|
+
}) => Promise<any>;
|
|
13
|
+
matchKey: string;
|
|
14
|
+
show: boolean;
|
|
15
|
+
onClose: () => void;
|
|
16
|
+
itemLabel?: string;
|
|
17
|
+
onSuccess?: (response: any) => void;
|
|
18
|
+
onFetchError?: () => void;
|
|
19
|
+
fetchErrorMsg?: string;
|
|
20
|
+
onSaveError?: () => void;
|
|
21
|
+
saveErrorMsg?: string;
|
|
22
|
+
invalidateQueriesOnSuccess?: boolean;
|
|
23
|
+
retryText?: string;
|
|
24
|
+
cancelLabel?: string;
|
|
25
|
+
saveLabel?: string;
|
|
26
|
+
formikProps?: Omit<FormikConfig<any>, "initialValues" | "onSubmit">;
|
|
27
|
+
getItemName?: (item: any) => string;
|
|
28
|
+
}
|
|
29
|
+
export declare function AttachDialog({ queryId, queryKey, queryFetchFn, queryFetchAllKey, queryFetchAllFn, querySaveFn, matchKey, size, show, onClose, itemLabel, onSuccess, onFetchError, fetchErrorMsg, onSaveError, saveErrorMsg, invalidateQueriesOnSuccess, retryText, cancelLabel, saveLabel, formikProps, getItemName, ...props }: AttachDialogProps<any>): JSX.Element;
|
|
30
|
+
export {};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { UseMutateOptions } from "@compill/api";
|
|
2
|
+
import { FormRendererConfig } from "@compill/form";
|
|
3
|
+
import { UseMutationOptions } from "@tanstack/react-query";
|
|
4
|
+
import { ModalProps } from "@valerya/ui";
|
|
5
|
+
import { FormikConfig } from "formik";
|
|
6
|
+
import React from "react";
|
|
7
|
+
export interface FormActionDialogProps<TFormData extends {} = any, TResultData extends {} = any> extends Omit<ModalProps, "id" | "children" | "title" | "position" | "onError">, UseMutateOptions<TResultData, TFormData> {
|
|
8
|
+
itemLabel?: string;
|
|
9
|
+
queryId?: string;
|
|
10
|
+
queryKey: string[];
|
|
11
|
+
initialValues: any;
|
|
12
|
+
queryFn: (item: TFormData) => Promise<TResultData>;
|
|
13
|
+
queryOptions?: UseMutationOptions<TResultData, unknown, TFormData>;
|
|
14
|
+
invalidateQueriesOnSuccess?: boolean;
|
|
15
|
+
cancelLabel?: string;
|
|
16
|
+
saveLabel?: string;
|
|
17
|
+
title: string;
|
|
18
|
+
formikProps?: Omit<FormikConfig<TFormData>, "initialValues" | "onSubmit">;
|
|
19
|
+
form: React.ReactNode | FormRendererConfig;
|
|
20
|
+
show: boolean;
|
|
21
|
+
onClose: () => void;
|
|
22
|
+
}
|
|
23
|
+
export declare function FormActionDialog<TFormData extends {}, TResultData extends {}>({ initialValues, itemLabel, queryId, queryKey, queryFn, queryOptions, onSuccess, successMsg, showSuccessMsg, onError, errorMsg, showErrorMsg, processInput, invalidateQueriesOnSuccess, cancelLabel, saveLabel, size, title, form, show, onClose, formikProps, ...props }: FormActionDialogProps<TFormData, TResultData>): JSX.Element;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { CRUDAPI, CRUD_MODEL } from "@compill/api";
|
|
2
|
+
import { ContainerProps } from "@valerya/ui";
|
|
3
|
+
import React from "react";
|
|
4
|
+
import { SoperioComponent } from "@soperio/react";
|
|
5
|
+
type PageQueryContainerProps<T extends CRUD_MODEL> = Omit<ContainerProps, "children"> & ({
|
|
6
|
+
api: CRUDAPI<T>;
|
|
7
|
+
queryId?: string;
|
|
8
|
+
loadingStyles?: SoperioComponent;
|
|
9
|
+
errorStyles?: SoperioComponent;
|
|
10
|
+
} & ({
|
|
11
|
+
apiFn: "get";
|
|
12
|
+
children: (data: T) => React.ReactElement;
|
|
13
|
+
} | {
|
|
14
|
+
apiFn: "getAll";
|
|
15
|
+
apiParams?: any;
|
|
16
|
+
children: (data: T[]) => React.ReactElement;
|
|
17
|
+
}));
|
|
18
|
+
export declare const PageQueryStateContainer: <T extends CRUD_MODEL>(p: PageQueryContainerProps<T> & {
|
|
19
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
20
|
+
}) => React.ReactElement;
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ContainerProps } from "@valerya/ui";
|
|
2
|
+
import React from "react";
|
|
3
|
+
interface PageStateContainerProps extends ContainerProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare const PageStateContainer: React.ForwardRefExoticComponent<PageStateContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import React from "react";
|
|
3
|
+
import { Breadcrumb, QueryBreadcrumbs } from "../breadcrumbs/BreadCrumbs";
|
|
4
|
+
export interface PageTopBarProps extends SoperioComponent, ParentComponent {
|
|
5
|
+
title?: string;
|
|
6
|
+
breadcrumbs?: Breadcrumb[] | QueryBreadcrumbs;
|
|
7
|
+
}
|
|
8
|
+
export declare function PageTopBar({ title, breadcrumbs, children, ...props }: PageTopBarProps): JSX.Element;
|
|
9
|
+
export declare function PageTabbedTopBarProvider({ children }: ParentComponent): JSX.Element;
|
|
10
|
+
export declare function PageTabbedTopBar({ title, breadcrumbs, children, ...props }: PageTopBarProps): JSX.Element;
|
|
11
|
+
export declare function PageTopBarToolbar({ trackingRef, children }: {
|
|
12
|
+
trackingRef?: Element | null;
|
|
13
|
+
} & ParentComponent): React.ReactPortal | null;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ColumnDef } from "@tanstack/react-table";
|
|
2
|
+
import { TileProps } from "@valerya/ui";
|
|
3
|
+
interface TableContainerProps extends TileProps {
|
|
4
|
+
filtersMethod?: "internal" | "nextRouter" | "reactRouter";
|
|
5
|
+
initialPageSize?: number;
|
|
6
|
+
columns?: ColumnDef<any>[];
|
|
7
|
+
initialVisibleColumns?: string[];
|
|
8
|
+
}
|
|
9
|
+
export declare function TableContainer({ initialPageSize, initialVisibleColumns, columns, filtersMethod, children, ...props }: TableContainerProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { ColumnDef } from "@tanstack/react-table";
|
|
3
|
+
type TableContainerContextProps = {
|
|
4
|
+
showFilters?: boolean;
|
|
5
|
+
setShowFilters: (show: boolean) => void;
|
|
6
|
+
showMassActions?: boolean;
|
|
7
|
+
setShowMassActions: (show: boolean) => void;
|
|
8
|
+
columns: ColumnDef<any, any>[];
|
|
9
|
+
filteredColumns: ColumnDef<any, any>[];
|
|
10
|
+
toggleColumnVisibility: (id: string) => void;
|
|
11
|
+
isColumnVisible: (id: string) => boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const useContext: () => TableContainerContextProps;
|
|
14
|
+
declare function TableContainerContextProvider({ initialVisibleColumns, columns, children }: {
|
|
15
|
+
initialVisibleColumns?: string[];
|
|
16
|
+
columns?: ColumnDef<any, any>[];
|
|
17
|
+
} & React.PropsWithChildren): JSX.Element;
|
|
18
|
+
export { TableContainerContextProvider, useContext as useTableContainerContext };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FormRendererConfig } from "@compill/form";
|
|
2
|
+
interface TableFiltersProps {
|
|
3
|
+
form: FormRendererConfig;
|
|
4
|
+
initialValues: any;
|
|
5
|
+
schema?: any;
|
|
6
|
+
processInput?: (input: any) => any;
|
|
7
|
+
}
|
|
8
|
+
export declare function TableFilters({ form, initialValues, schema, processInput }: TableFiltersProps): JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
interface TableRowActionBarProps extends SoperioComponent, ParentComponent {
|
|
3
|
+
publishId?: string;
|
|
4
|
+
viewPath?: string;
|
|
5
|
+
navigatePath?: string;
|
|
6
|
+
editDialog?: (onClose: () => void) => React.ReactNode;
|
|
7
|
+
deleteDialog?: (onClose: () => void) => React.ReactNode;
|
|
8
|
+
}
|
|
9
|
+
export declare function TableRowActionBar({ publishId, viewPath, navigatePath, editDialog, deleteDialog, children, ...props }: TableRowActionBarProps): JSX.Element;
|
|
10
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { API } from "@compill/admin-api";
|
|
2
|
+
import { ButtonProps } from "@valerya/ui";
|
|
3
|
+
export declare function TableRowPublishPostButton({ id, api, status, invalidateQueryKey, ...props }: {
|
|
4
|
+
id: string;
|
|
5
|
+
api: API<any>;
|
|
6
|
+
status: "draft" | "published";
|
|
7
|
+
invalidateQueryKey?: string[];
|
|
8
|
+
} & ButtonProps): JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ParentComponent, SoperioComponent } from "@soperio/react";
|
|
2
|
+
import { Breadcrumb, QueryBreadcrumbs } from "../breadcrumbs/BreadCrumbs";
|
|
3
|
+
interface TableTopBarProps extends SoperioComponent, ParentComponent {
|
|
4
|
+
title?: string;
|
|
5
|
+
breadcrumbs?: Breadcrumb[] | QueryBreadcrumbs;
|
|
6
|
+
}
|
|
7
|
+
export declare function TableTopBar({ title, breadcrumbs, children, ...props }: TableTopBarProps): JSX.Element;
|
|
8
|
+
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@compill/admin",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.109",
|
|
4
4
|
"private": false,
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -29,19 +29,19 @@
|
|
|
29
29
|
"react-router-dom": "^6.11.2",
|
|
30
30
|
"react-hotkeys-hook": "^5.0.1",
|
|
31
31
|
"yup": "^1.1.0",
|
|
32
|
-
"@soperio/react": "1.0.
|
|
33
|
-
"@valerya/ui": "1.0.
|
|
34
|
-
"@compill/admin-api": "1.0.
|
|
35
|
-
"@
|
|
36
|
-
"@
|
|
37
|
-
"@compill/auth": "1.0.
|
|
38
|
-
"@compill/
|
|
39
|
-
"@compill/
|
|
40
|
-
"@compill/form
|
|
41
|
-
"@compill/
|
|
42
|
-
"@compill/
|
|
43
|
-
"@compill/
|
|
44
|
-
"@compill/
|
|
32
|
+
"@soperio/react": "1.0.24",
|
|
33
|
+
"@valerya/ui": "1.0.27",
|
|
34
|
+
"@compill/admin-api": "1.0.62",
|
|
35
|
+
"@soperio/jsx-runtime": "1.0.24",
|
|
36
|
+
"@compill/api": "1.0.64",
|
|
37
|
+
"@compill/auth": "1.0.84",
|
|
38
|
+
"@compill/components": "1.0.57",
|
|
39
|
+
"@compill/env": "1.0.26",
|
|
40
|
+
"@compill/form": "1.0.74",
|
|
41
|
+
"@compill/form-editor": "1.0.26",
|
|
42
|
+
"@compill/table": "1.0.87",
|
|
43
|
+
"@compill/hooks": "1.0.50",
|
|
44
|
+
"@compill/editor": "1.0.86"
|
|
45
45
|
},
|
|
46
46
|
"publishConfig": {
|
|
47
47
|
"access": "public"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"dist"
|
|
51
51
|
],
|
|
52
52
|
"scripts": {
|
|
53
|
-
"build": "
|
|
53
|
+
"build": "rimraf dist && rollup -c && tsc -p tsconfig.build.json",
|
|
54
54
|
"dev": "tsup src/index.ts --format esm --dts --watch",
|
|
55
55
|
"lint": "eslint . --max-warnings 0",
|
|
56
56
|
"check-types": "tsc --noEmit"
|