@kordar/easyui-tpl 2.0.5 → 2.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 (83) hide show
  1. package/README.md +1089 -29
  2. package/package.json +2 -2
  3. package/dist/index.js +0 -11
  4. package/dist/index.js.map +0 -1
  5. package/dist/index.min.css +0 -1
  6. package/dist/index.umd.cjs +0 -11
  7. package/dist/index.umd.cjs.map +0 -1
  8. package/dist/public/en.json +0 -5
  9. package/dist/public/zh_CN.json +0 -283
  10. package/dist/types/components/BaseLayout.d.ts +0 -3
  11. package/dist/types/components/LayoutContext.d.ts +0 -10
  12. package/dist/types/components/LocaleBarItem.d.ts +0 -3
  13. package/dist/types/components/PaginationPanel.d.ts +0 -4
  14. package/dist/types/components/SettingBarItem.d.ts +0 -3
  15. package/dist/types/components/Tooltip.d.ts +0 -17
  16. package/dist/types/components/UserBarItem.d.ts +0 -3
  17. package/dist/types/composable/useAppRedirect.d.ts +0 -1
  18. package/dist/types/composable/useAppStarter.d.ts +0 -7
  19. package/dist/types/composable/useLocalTable.d.ts +0 -3
  20. package/dist/types/composable/useMenuAndTabData.d.ts +0 -18
  21. package/dist/types/composable/useRefreshKey.d.ts +0 -1
  22. package/dist/types/composable/useRemoteTable.d.ts +0 -3
  23. package/dist/types/hoc/withDocHoc.d.ts +0 -3
  24. package/dist/types/index.d.ts +0 -41
  25. package/dist/types/init.d.ts +0 -7
  26. package/dist/types/service/AdminService.d.ts +0 -23
  27. package/dist/types/service/AuthService.d.ts +0 -13
  28. package/dist/types/service/ConfigService.d.ts +0 -6
  29. package/dist/types/service/RbacService.d.ts +0 -80
  30. package/dist/types/service/ResourceService.d.ts +0 -25
  31. package/dist/types/util/form.d.ts +0 -8
  32. package/dist/types/util/helper.d.ts +0 -7
  33. package/dist/types/util/interface.d.ts +0 -66
  34. package/dist/types/util/lazy.d.ts +0 -2
  35. package/dist/types/util/tables.d.ts +0 -5
  36. package/dist/types/views/admin/assign.d.ts +0 -4
  37. package/dist/types/views/admin/context.d.ts +0 -3
  38. package/dist/types/views/admin/form_dlg.d.ts +0 -4
  39. package/dist/types/views/admin/index.d.ts +0 -2
  40. package/dist/types/views/admin/search.d.ts +0 -3
  41. package/dist/types/views/admin/table.d.ts +0 -4
  42. package/dist/types/views/dict/context.d.ts +0 -3
  43. package/dist/types/views/dict/dialog.d.ts +0 -5
  44. package/dist/types/views/dict/form.d.ts +0 -4
  45. package/dist/types/views/dict/index.d.ts +0 -2
  46. package/dist/types/views/dict/search.d.ts +0 -3
  47. package/dist/types/views/dict/table.d.ts +0 -4
  48. package/dist/types/views/dict-item/context.d.ts +0 -3
  49. package/dist/types/views/dict-item/dialog.d.ts +0 -4
  50. package/dist/types/views/dict-item/form.d.ts +0 -4
  51. package/dist/types/views/dict-item/index.d.ts +0 -2
  52. package/dist/types/views/dict-item/search.d.ts +0 -3
  53. package/dist/types/views/dict-item/table.d.ts +0 -4
  54. package/dist/types/views/home/index.d.ts +0 -3
  55. package/dist/types/views/language/index.d.ts +0 -3
  56. package/dist/types/views/login/form.d.ts +0 -3
  57. package/dist/types/views/login/index.d.ts +0 -3
  58. package/dist/types/views/page/404.d.ts +0 -3
  59. package/dist/types/views/permissions/context.d.ts +0 -3
  60. package/dist/types/views/permissions/fastadd_form_dlg.d.ts +0 -4
  61. package/dist/types/views/permissions/form_dlg.d.ts +0 -4
  62. package/dist/types/views/permissions/index.d.ts +0 -2
  63. package/dist/types/views/permissions/search.d.ts +0 -3
  64. package/dist/types/views/permissions/table.d.ts +0 -3
  65. package/dist/types/views/roles/assign.d.ts +0 -4
  66. package/dist/types/views/roles/context.d.ts +0 -3
  67. package/dist/types/views/roles/form_dlg.d.ts +0 -4
  68. package/dist/types/views/roles/index.d.ts +0 -2
  69. package/dist/types/views/roles/search.d.ts +0 -3
  70. package/dist/types/views/roles/table.d.ts +0 -4
  71. package/dist/types/views/router/context.d.ts +0 -3
  72. package/dist/types/views/router/form_dlg.d.ts +0 -4
  73. package/dist/types/views/router/index.d.ts +0 -2
  74. package/dist/types/views/router/search.d.ts +0 -3
  75. package/dist/types/views/router/table.d.ts +0 -4
  76. package/dist/types/views/setting/context.d.ts +0 -3
  77. package/dist/types/views/setting/dialog.d.ts +0 -5
  78. package/dist/types/views/setting/form.d.ts +0 -4
  79. package/dist/types/views/setting/index.d.ts +0 -2
  80. package/dist/types/views/setting/search.d.ts +0 -3
  81. package/dist/types/views/setting/table.d.ts +0 -4
  82. package/dist/types/views/srceen/design/container.d.ts +0 -3
  83. package/dist/types/views/srceen/design/index.d.ts +0 -4
@@ -1,66 +0,0 @@
1
- import { FormDataType, TableContext, TableContextState } from "@kordar-lib/base";
2
- import React from "react";
3
- import { RefDialog } from "@kordar/easyui";
4
- export interface CtxProps {
5
- ctx: TableContext;
6
- ctxState: TableContextState;
7
- }
8
- export interface TableProps extends CtxProps {
9
- pageConfig?: {
10
- [key: string]: any;
11
- };
12
- fetchConfig?: {
13
- [key: string]: any;
14
- };
15
- }
16
- export interface TablePanelProps extends TableProps {
17
- searchPanel?: React.ReactNode;
18
- toolbar?: any;
19
- }
20
- export interface SearchProps extends CtxProps {
21
- }
22
- export interface FormDataProps extends CtxProps {
23
- record?: any;
24
- type?: FormDataType;
25
- pageConfig?: {
26
- [key: string]: any;
27
- };
28
- fetchConfig?: {
29
- [key: string]: any;
30
- };
31
- }
32
- export interface DocHocProps {
33
- name: string;
34
- fetchConfig?: Function;
35
- }
36
- export interface PageProps {
37
- pageConfig: {
38
- [key: string]: any;
39
- };
40
- fetchConfig: {
41
- [key: string]: any;
42
- };
43
- fetchVersion?: number;
44
- }
45
- export interface PageCtxProps {
46
- version?: any;
47
- ctx?: TableContext;
48
- ctxState?: TableContextState;
49
- pageConfig: {
50
- [key: string]: any;
51
- };
52
- fetchConfig: {
53
- [key: string]: any;
54
- };
55
- refs?: {
56
- [key: string]: RefDialog;
57
- };
58
- }
59
- /**
60
- * 定义传递到table的数据
61
- */
62
- export interface PagePanelProps {
63
- SearchPanel?: React.ReactNode;
64
- toolbar?: any;
65
- pageVersion?: number;
66
- }
@@ -1,2 +0,0 @@
1
- import React from "react";
2
- export declare function Lazy(C: React.ReactNode): React.ReactNode;
@@ -1,5 +0,0 @@
1
- export declare const renderTooltip: ({ value }: any) => import("react/jsx-runtime").JSX.Element | "";
2
- export declare const renderType: () => import("react/jsx-runtime").JSX.Element;
3
- export declare const renderDateTime02: ({ value }: any) => any;
4
- export declare const renderText: (text: string, icon?: string) => import("react/jsx-runtime").JSX.Element;
5
- export declare const renderFetchConfigValue: (fetchConfig: any, key: string, value: any, defaultValue?: any) => any;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const AssignDialogPanel: FC<RefDialog>;
4
- export default AssignDialogPanel;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const AdminContext: React.Context<PageCtxProps>;
@@ -1,4 +0,0 @@
1
- import { RefDialog } from "@kordar/easyui";
2
- import { FC } from "react";
3
- declare const FormDialogPanel: FC<RefDialog>;
4
- export default FormDialogPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const DictContext: React.Context<PageCtxProps>;
@@ -1,5 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const DictItemDialog: FC<RefDialog>;
4
- declare const FormDialog: FC<RefDialog>;
5
- export { DictItemDialog, FormDialog };
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { FormDataProps } from "../../util/interface";
3
- declare const FormPanel: FC<FormDataProps | any>;
4
- export default FormPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const DictItemContext: React.Context<PageCtxProps>;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const FormDialog: FC<RefDialog>;
4
- export { FormDialog };
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { FormDataProps } from "../../util/interface";
3
- declare const FormPanel: FC<FormDataProps | any>;
4
- export default FormPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Home: FC<any>;
3
- export default Home;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Language: FC<any>;
3
- export default Language;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- import { PageProps } from "../../util/interface";
3
- export declare const FormComponent: FC<PageProps | any>;
@@ -1,3 +0,0 @@
1
- import "./index.scss";
2
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
3
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const NotFoundPage: FC<any>;
3
- export default NotFoundPage;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const PermissionsContext: React.Context<PageCtxProps>;
@@ -1,4 +0,0 @@
1
- import { RefDialog } from "@kordar/easyui";
2
- import { FC } from "react";
3
- declare const FastAddPermissionDialog: FC<RefDialog>;
4
- export default FastAddPermissionDialog;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const FormDialogPanel: FC<RefDialog>;
4
- export default FormDialogPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const TablePanel: FC<any>;
3
- export default TablePanel;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const AssignDialogPanel: FC<RefDialog>;
4
- export default AssignDialogPanel;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const RolesContext: React.Context<PageCtxProps>;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const FormDialogPanel: FC<RefDialog>;
4
- export default FormDialogPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const RouterContext: React.Context<PageCtxProps>;
@@ -1,4 +0,0 @@
1
- import { RefDialog } from "@kordar/easyui";
2
- import { FC } from "react";
3
- declare const FormDialogPanel: FC<RefDialog>;
4
- export default FormDialogPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps | any>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import React from "react";
2
- import { PageCtxProps } from "../../util/interface";
3
- export declare const SettingContext: React.Context<PageCtxProps>;
@@ -1,5 +0,0 @@
1
- import { FC } from "react";
2
- import { RefDialog } from "@kordar/easyui";
3
- declare const FormDialog: FC<RefDialog>;
4
- declare const RouterDialog: FC<RefDialog>;
5
- export { FormDialog, RouterDialog };
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { FormDataProps } from "../../util/interface";
3
- declare const FormPanel: FC<FormDataProps | any>;
4
- export default FormPanel;
@@ -1,2 +0,0 @@
1
- declare const _default: (props: any) => import("react/jsx-runtime").JSX.Element;
2
- export default _default;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Search: FC<any>;
3
- export default Search;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PagePanelProps } from "../../util/interface";
3
- declare const Table: FC<PagePanelProps>;
4
- export default Table;
@@ -1,3 +0,0 @@
1
- import { FC } from "react";
2
- declare const Container: FC<any>;
3
- export default Container;
@@ -1,4 +0,0 @@
1
- import { FC } from "react";
2
- import { PageProps } from "../../../util/interface";
3
- declare const ScreenIndex: FC<PageProps | any>;
4
- export default ScreenIndex;