sun-biz 0.0.3-beta.9 → 0.0.4-beta.2

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 (28) hide show
  1. package/dist/components/biz-select/dict-select/api.d.ts +3 -1
  2. package/dist/components/dml-button/api/index.d.ts +26 -0
  3. package/dist/components/dml-button/index.d.ts +1 -0
  4. package/dist/components/form-design-render/utils.d.ts +11 -7
  5. package/dist/components/index.d.ts +13 -11
  6. package/dist/components/index.js +2745 -978
  7. package/dist/components/print/index.d.ts +2 -1
  8. package/dist/components/print/print.d.ts +6 -5
  9. package/dist/components/print/template.d.ts +1 -0
  10. package/dist/components/pro-dialog/hooks/useDialog.d.ts +1 -1
  11. package/dist/components/pro-form/index.d.ts +1 -0
  12. package/dist/components/pro-table/composables/dbgrid-component-setting/index.d.ts +3 -0
  13. package/dist/components/pro-table/composables/dbgrid-component-setting/typings/index.d.ts +11 -0
  14. package/dist/components/pro-table/interface/index.d.ts +10 -2
  15. package/dist/components/pro-table/utils.d.ts +18 -2
  16. package/dist/components/pro-table-v2/index.d.ts +3 -0
  17. package/dist/components/pro-table-v2/interface/index.d.ts +32 -0
  18. package/dist/components/static/css/index.css +15 -2
  19. package/dist/hooks/index.d.ts +2 -1
  20. package/dist/hooks/index.js +78 -3
  21. package/dist/hooks/use-app-config/types.d.ts +3 -1
  22. package/dist/hooks/use-data-change-detector/index.d.ts +12 -0
  23. package/dist/hooks/use-editable-table/index.d.ts +2 -2
  24. package/dist/hooks/use-fetch-dataset/index.d.ts +1 -0
  25. package/dist/index.d.ts +23 -20
  26. package/dist/index.js +2945 -1113
  27. package/dist/static/css/index.css +15 -2
  28. package/package.json +13 -9
@@ -19,6 +19,8 @@ export declare const queryDictDataListByExample: (params: {
19
19
  codeSystemNo?: string;
20
20
  keyWord?: string;
21
21
  hospitalId: string;
22
- sysMenuId: string;
22
+ menuId: string;
23
+ pageNumber: number;
24
+ pageSize: number;
23
25
  }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<ReqDictDataListByExample> | undefined]>;
24
26
  export {};
@@ -0,0 +1,26 @@
1
+ /**
2
+ * [1-10008-1]根据条件生成DML脚本
3
+ * @param data
4
+ * @returns
5
+ */
6
+ export declare const exportDmlScriptByExample: (params: {
7
+ bizIdTypeCode: string;
8
+ bisIds: string[];
9
+ dataBaseTypeCode: string;
10
+ }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<{
11
+ data: string;
12
+ fileName: string;
13
+ }> | undefined]>;
14
+ /**
15
+ * 根据条件生成DML脚本 mdm 专用
16
+ * @param data
17
+ * @returns
18
+ */
19
+ export declare const exportMdmDmlScriptByExample: (params: {
20
+ bizIdTypeCode: string;
21
+ bisIds: string[];
22
+ dataBaseTypeCode: string;
23
+ }) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<{
24
+ data: string;
25
+ fileName: string;
26
+ }> | undefined]>;
@@ -0,0 +1 @@
1
+ export { default as DmlButton } from './index.vue';
@@ -40,19 +40,16 @@ export declare function expansionGroup(data: FormDesignDetailInfo[], result?: Fo
40
40
  */
41
41
  export declare function getComponentType(item: FormDesignDetailInfo): string;
42
42
  export declare function getPlaceholder(item: FormDesignDetailInfo): string;
43
- export declare function getExtraProps(item: FormDesignDetailInfo, dataValueNames?: {
43
+ export declare function getExtraProps(item: FormDesignDetailInfo, parentFormCtlNo: string, afterValueChange: ((key: string, model: unknown, parentFormCtlNo: string) => void) | undefined, dataValueNames?: {
44
44
  [key: string]: [];
45
45
  }, modelValue?: {
46
46
  [key: string]: unknown;
47
47
  }): {
48
- [x: string]: unknown;
48
+ onBlur: () => void;
49
49
  };
50
- export declare function useGetFromConfigData(result: FormDesignDetailInfo[], layoutTypeCode: number, parentFormCtlNo: string, afterValueChange: ((key: string, value: unknown, model: unknown, parentFormCtlNo: string) => void) | undefined): {
50
+ export declare function useGetFromConfigData(result: FormDesignDetailInfo[], layoutTypeCode: number): {
51
51
  label: string | undefined;
52
52
  name: string;
53
- onModelChange: (value: unknown, model: {
54
- [key: string]: unknown;
55
- }) => void;
56
53
  component: string;
57
54
  placeholder: string;
58
55
  defaultValue: {};
@@ -61,7 +58,7 @@ export declare function useGetFromConfigData(result: FormDesignDetailInfo[], lay
61
58
  rules: {
62
59
  required: boolean;
63
60
  message: string;
64
- trigger: string;
61
+ trigger: string[];
65
62
  }[];
66
63
  extraProps: {
67
64
  [key: string]: unknown;
@@ -87,3 +84,10 @@ export declare function integrateData(initData: {
87
84
  export declare function getDefaultValue(data: {
88
85
  [key: string]: unknown;
89
86
  }, key: string): string;
87
+ /**
88
+ * 患者建档新增时表格不可重复的配置
89
+ */
90
+ export declare const TABLE_DUPLICATE_CHECK: {
91
+ perCertificateList: string;
92
+ perAddressList: string;
93
+ };
@@ -1,11 +1,13 @@
1
- export * from "./invoice/index.ts";
2
- export * from "./pro-table/index.ts";
3
- export * from "./patient-access/index.ts";
4
- export * from "./print/index.ts";
5
- export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, } from "./pro-form/index.ts";
6
- export { Title } from "./title/index.ts";
7
- export { ProDialog } from "./pro-dialog/index.ts";
8
- export { AccessInfo } from "./access-info/index.ts";
9
- export { FormDesignRender } from "./form-design-render/index.ts";
10
- export { CopyTextWithTooltip } from "./copy-text-with-tooltip/index.ts";
11
- export { DictSelect, FlagSelect, HospitalSelect } from "./biz-select/index.ts";
1
+ export * from './invoice/index.ts';
2
+ export * from './pro-table/index.ts';
3
+ export * from './pro-table-v2/index.ts';
4
+ export * from './patient-access/index.ts';
5
+ export * from './print/index.ts';
6
+ export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, type FormDescItem, } from './pro-form/index.ts';
7
+ export { Title } from './title/index.ts';
8
+ export { ProDialog } from './pro-dialog/index.ts';
9
+ export { AccessInfo } from './access-info/index.ts';
10
+ export { FormDesignRender } from './form-design-render/index.ts';
11
+ export { CopyTextWithTooltip } from './copy-text-with-tooltip/index.ts';
12
+ export { DictSelect, FlagSelect, HospitalSelect } from './biz-select/index.ts';
13
+ export { DmlButton } from './dml-button/index.ts';