sun-biz 0.0.4-beta.6 → 0.0.4-beta.60
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/components/biz-select/biz-unit-select/api.d.ts +35 -0
- package/dist/components/biz-select/department-select/api.d.ts +52 -0
- package/dist/components/biz-select/hospital-charge-select/api.d.ts +53 -0
- package/dist/components/biz-select/index.d.ts +7 -0
- package/dist/components/biz-select/tag-select/api.d.ts +18 -2
- package/dist/components/biz-select/tag-select/utils.d.ts +31 -0
- package/dist/components/biz-select/user-select/api.d.ts +110 -0
- package/dist/components/biz-select/ward-select/api.d.ts +44 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/components/index.js +4535 -531
- package/dist/components/index.js.LICENSE.txt +11 -0
- package/dist/components/keyboard-value/index.d.ts +1 -0
- package/dist/components/patient-access/api.d.ts +12 -1
- package/dist/components/print/hooks/index.d.ts +1 -0
- package/dist/components/pro-avatar/index.d.ts +2 -0
- package/dist/components/pro-avatar/utils.d.ts +21 -0
- package/dist/components/pro-form/typings/index.d.ts +1 -0
- package/dist/components/pro-table/composables/dbgrid-component-setting/typings/index.d.ts +1 -0
- package/dist/components/pro-table/constant.d.ts +1 -0
- package/dist/components/pro-table/interface/index.d.ts +9 -1
- package/dist/components/static/css/index.css +77 -3
- package/dist/components/table-select/composable/useDirectionKey.d.ts +10 -0
- package/dist/components/table-select/index.d.ts +4 -0
- package/dist/components/table-select/types/index.d.ts +131 -0
- package/dist/directives/index.d.ts +1 -0
- package/dist/directives/shortcut.d.ts +13 -0
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.js +68 -22
- package/dist/hooks/use-app-config/index.d.ts +2 -2
- package/dist/hooks/use-column&form-config/index.d.ts +5 -5
- package/dist/hooks/use-data-change-detector/index.d.ts +2 -1
- package/dist/hooks/use-direction-select/index.d.ts +2 -2
- package/dist/hooks/use-editable-table/index.d.ts +2 -0
- package/dist/hooks/use-fetch-data/index.d.ts +3 -0
- package/dist/hooks/{use-fetch-dataset/index.d.ts → use-fetch-data/use-fetch-dataset.d.ts} +1 -1
- package/dist/hooks/use-fetch-data/use-fetch-params.d.ts +24 -0
- package/dist/hooks/use-fetch-data/use-fetch-time.d.ts +6 -0
- package/dist/index.d.ts +28 -24
- package/dist/index.js +5576 -641
- package/dist/index.js.LICENSE.txt +11 -0
- package/dist/static/css/index.css +77 -3
- package/dist/types/index.d.ts +28 -0
- package/package.json +21 -18
- package/dist/hooks/use-fetch-dataset/use-fetch-time.d.ts +0 -4
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ParamSettingItem {
|
|
2
|
+
paramSettingId: string;
|
|
3
|
+
paramValue: string;
|
|
4
|
+
}
|
|
5
|
+
export interface ParamResItem {
|
|
6
|
+
paramNo: string;
|
|
7
|
+
paramSettingList: ParamSettingItem[];
|
|
8
|
+
}
|
|
9
|
+
interface OptionType {
|
|
10
|
+
hospitalId: string;
|
|
11
|
+
paramNos: readonly string[];
|
|
12
|
+
callback?: (data: Record<string, ParamSettingItem[]>) => void;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* [1-10012-1]获取值域列表
|
|
16
|
+
* @param data
|
|
17
|
+
* @returns
|
|
18
|
+
*/
|
|
19
|
+
export declare const queryParamListByNos: (params: {
|
|
20
|
+
paramNos: readonly string[];
|
|
21
|
+
hospitalId: string;
|
|
22
|
+
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<ParamResItem[]> | undefined]>;
|
|
23
|
+
export declare function useFetchParams(options: OptionType): import("vue").Ref<Record<string, ParamSettingItem[]>, Record<string, ParamSettingItem[]>>;
|
|
24
|
+
export default useFetchParams;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,26 +1,30 @@
|
|
|
1
1
|
/** components **/
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export
|
|
8
|
-
export {
|
|
9
|
-
export {
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export {
|
|
14
|
-
export {
|
|
2
|
+
export * from './components/pro-table';
|
|
3
|
+
export * from './components/pro-table-v2';
|
|
4
|
+
export * from './components/patient-access/index.ts';
|
|
5
|
+
export * from './components/print/index.ts';
|
|
6
|
+
export * from './components/invoice/index.ts';
|
|
7
|
+
export * from './components/table-select';
|
|
8
|
+
export { Title } from './components/title';
|
|
9
|
+
export { DictSelect, FlagSelect, HospitalSelect, TagSelect, UserSelect, BizUnitSelect, DepartmentSelect, WardSelect, HospitalChargeSelect, } from './components/biz-select';
|
|
10
|
+
export type { TagGroupInfo } from './components/biz-select';
|
|
11
|
+
export { CopyTextWithTooltip } from './components/copy-text-with-tooltip';
|
|
12
|
+
export { FormDesignRender } from './components/form-design-render';
|
|
13
|
+
export { KeyboardValue } from './components/keyboard-value';
|
|
14
|
+
export { ProDialog } from './components/pro-dialog';
|
|
15
|
+
export { AccessInfo } from './components/access-info';
|
|
16
|
+
export { ProAvatar, AVATAR_TYPE_CODE } from './components/pro-avatar';
|
|
17
|
+
export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, type FormDescItem, } from './components/pro-form';
|
|
18
|
+
export { DmlButton } from './components/dml-button/index.ts';
|
|
15
19
|
/** hooks ** */
|
|
16
|
-
export { default as useRequest } from
|
|
17
|
-
export { default as useAppConfigData, MAIN_APP_CONFIG, } from
|
|
18
|
-
export type { PreferenceData } from
|
|
19
|
-
export { default as useDirectionSelect } from
|
|
20
|
-
export {
|
|
21
|
-
export {
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export {
|
|
25
|
-
export {
|
|
26
|
-
export { debounce, isNumber, decimalCount, formatDecimalNumber } from
|
|
20
|
+
export { default as useRequest } from './hooks/use-request';
|
|
21
|
+
export { default as useAppConfigData, MAIN_APP_CONFIG, } from './hooks/use-app-config';
|
|
22
|
+
export type { PreferenceData } from './hooks/use-app-config';
|
|
23
|
+
export { default as useDirectionSelect } from './hooks/use-direction-select';
|
|
24
|
+
export { useEditableTable } from './hooks/use-editable-table';
|
|
25
|
+
export type { TableRef } from './hooks/use-editable-table';
|
|
26
|
+
export * from './hooks/use-fetch-data/index.ts';
|
|
27
|
+
export { useColumnConfig, useFormConfig } from './hooks/use-column&form-config';
|
|
28
|
+
export { useDataChangeDetector } from './hooks/use-data-change-detector';
|
|
29
|
+
export { createShortcutDirective, findKeyCommandConfig, type ShortcutOptions, } from './directives/index.ts';
|
|
30
|
+
export { debounce, isNumber, decimalCount, formatDecimalNumber } from './utils';
|