urit-qf-ui 0.2.7 → 1.0.0

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 (68) hide show
  1. package/README.md +88 -22
  2. package/dist/components/UBaseInfo.vue.d.ts +22 -0
  3. package/dist/components/UCascader.vue.d.ts +22 -37
  4. package/dist/components/UDialog.vue.d.ts +94 -0
  5. package/dist/components/UForm.vue.d.ts +233 -0
  6. package/dist/components/UMenu.vue.d.ts +230 -11
  7. package/dist/components/UResults.vue.d.ts +23 -0
  8. package/dist/components/USearch.vue.d.ts +51 -0
  9. package/dist/components/UTable.vue.d.ts +54 -0
  10. package/dist/components/UTablePage.vue.d.ts +152 -0
  11. package/dist/index.d.ts +33 -18
  12. package/dist/index.js +2962 -3147
  13. package/dist/index.umd.cjs +1 -2
  14. package/dist/layout/UGrid.vue.d.ts +44 -0
  15. package/dist/model/base-info.d.ts +113 -0
  16. package/dist/model/cascader.d.ts +135 -0
  17. package/dist/model/form.d.ts +143 -0
  18. package/dist/model/grid.d.ts +53 -0
  19. package/dist/model/menu.d.ts +140 -0
  20. package/dist/model/results.d.ts +90 -0
  21. package/dist/model/search.d.ts +93 -0
  22. package/dist/model/table-page.d.ts +44 -0
  23. package/dist/model/table.d.ts +163 -0
  24. package/dist/parser/cascader.d.ts +35 -0
  25. package/dist/parser/form.d.ts +7 -0
  26. package/dist/parser/menu.d.ts +5 -0
  27. package/dist/parser/table-page.d.ts +15 -0
  28. package/dist/parser/yaml-parser.d.ts +41 -0
  29. package/dist/qf/interface.d.ts +22 -0
  30. package/dist/qf/qf.d.ts +23 -1
  31. package/dist/style.css +1 -1
  32. package/dist/utils/base-info.d.ts +39 -0
  33. package/dist/utils/cascader.d.ts +45 -0
  34. package/dist/utils/form.d.ts +59 -0
  35. package/dist/utils/menu.d.ts +14 -0
  36. package/dist/utils/results.d.ts +38 -0
  37. package/dist/utils/search.d.ts +8 -0
  38. package/dist/utils/table.d.ts +16 -0
  39. package/package.json +1 -1
  40. package/dist/components/UDate.vue.d.ts +0 -47
  41. package/dist/components/UDict.vue.d.ts +0 -49
  42. package/dist/components/UInput.vue.d.ts +0 -52
  43. package/dist/components/UInputNumber.vue.d.ts +0 -52
  44. package/dist/components/UToggle.vue.d.ts +0 -54
  45. package/dist/show/UCascaderShow.vue.d.ts +0 -11
  46. package/dist/show/UDateShow.vue.d.ts +0 -15
  47. package/dist/show/UDictShow.vue.d.ts +0 -9
  48. package/dist/show/UFieldView.vue.d.ts +0 -24
  49. package/dist/show/UInputShow.vue.d.ts +0 -10
  50. package/dist/show/UToggleShow.vue.d.ts +0 -12
  51. package/dist/ts/constant.d.ts +0 -24
  52. package/dist/ts/dict.d.ts +0 -105
  53. package/dist/ts/form-render.d.ts +0 -30
  54. package/dist/ts/http.d.ts +0 -13
  55. package/dist/ts/model.d.ts +0 -202
  56. package/dist/ts/notify.d.ts +0 -42
  57. package/dist/ts/table-data-service.d.ts +0 -30
  58. package/dist/ts/table-render.d.ts +0 -210
  59. package/dist/uform/FormContainer.vue.d.ts +0 -37
  60. package/dist/uform/FormField.vue.d.ts +0 -16
  61. package/dist/uform/FormGrid.vue.d.ts +0 -24
  62. package/dist/uform/FormRender.vue.d.ts +0 -104
  63. package/dist/uform/TableDetail.vue.d.ts +0 -37
  64. package/dist/uform/TableGrid.vue.d.ts +0 -51
  65. package/dist/uform/TablePagination.vue.d.ts +0 -14
  66. package/dist/uform/TableRender.vue.d.ts +0 -618
  67. package/dist/uform/TableSearch.vue.d.ts +0 -38
  68. package/dist/uform/TableToolbar.vue.d.ts +0 -31
@@ -1,37 +0,0 @@
1
- import { TableColumn } from '../ts/model';
2
- type __VLS_Props = {
3
- showHeader?: boolean;
4
- title?: string;
5
- loading?: boolean;
6
- rowData?: Record<string, any>;
7
- columns?: TableColumn[];
8
- emptyText?: string;
9
- /**
10
- * `detail-extra` 插槽与默认字段列表的关系:
11
- * replace(默认)—— **二选一**:给了插槽就只渲染插槽,一个默认字段都不渲染
12
- * append —— 旧行为:默认字段列表 + 插槽内容上下共存
13
- *
14
- * 页面上通过 TableRender 的 `detail-extra-mode` 传进来,一般不用直接设置。
15
- */
16
- extraMode?: 'replace' | 'append';
17
- };
18
- declare function __VLS_template(): {
19
- attrs: Partial<{}>;
20
- slots: {
21
- 'detail-extra'?(_: {
22
- rowData: Record<string, any> | undefined;
23
- columns: TableColumn[] | undefined;
24
- }): any;
25
- };
26
- refs: {};
27
- rootEl: HTMLDivElement;
28
- };
29
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
30
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
31
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
32
- export default _default;
33
- type __VLS_WithTemplateSlots<T, S> = T & {
34
- new (): {
35
- $slots: S;
36
- };
37
- };
@@ -1,51 +0,0 @@
1
- import { TableActionPayload, TableButton, TableColumn } from '../ts/model';
2
- type __VLS_Props = {
3
- rows: any[];
4
- columns: TableColumn[];
5
- loading: boolean;
6
- actions?: TableButton[];
7
- actionsWidth?: number;
8
- keyField?: string;
9
- selection?: 'single' | 'multiple' | boolean;
10
- dictData?: Record<string, Array<{
11
- label: string;
12
- value: any;
13
- }>>;
14
- activeKey?: string | number | null;
15
- };
16
- declare function __VLS_template(): {
17
- attrs: Partial<{}>;
18
- slots: Partial<Record<string, (_: {
19
- row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
20
- value: any;
21
- column: any;
22
- }) => any>> & Partial<Record<string, (_: any) => any>> & {
23
- actions?(_: {
24
- row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
25
- actions: TableButton[];
26
- }): any;
27
- 'actions-extra'?(_: {
28
- row: import('element-plus/es/components/table/src/table/defaults.mjs').DefaultRow;
29
- }): any;
30
- default?(_: {}): any;
31
- };
32
- refs: {};
33
- rootEl: any;
34
- };
35
- type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
36
- declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
37
- rowAction: (payload: TableActionPayload) => any;
38
- rowClick: (row: any) => any;
39
- selectionChange: (rows: any[]) => any;
40
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
41
- onRowAction?: ((payload: TableActionPayload) => any) | undefined;
42
- onRowClick?: ((row: any) => any) | undefined;
43
- onSelectionChange?: ((rows: any[]) => any) | undefined;
44
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
45
- declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
46
- export default _default;
47
- type __VLS_WithTemplateSlots<T, S> = T & {
48
- new (): {
49
- $slots: S;
50
- };
51
- };
@@ -1,14 +0,0 @@
1
- type __VLS_Props = {
2
- page: number;
3
- pageSize: number;
4
- total: number;
5
- type?: 'page' | 'auto' | 'all';
6
- };
7
- declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
8
- "update:page": (page: number) => any;
9
- "update:pageSize": (pageSize: number) => any;
10
- }, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
11
- "onUpdate:page"?: ((page: number) => any) | undefined;
12
- "onUpdate:pageSize"?: ((pageSize: number) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
14
- export default _default;