sun-biz 0.0.4-beta.8 → 0.0.4-pjw.1
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 +34 -0
- package/dist/components/biz-select/department-select/api.d.ts +51 -0
- package/dist/components/biz-select/index.d.ts +5 -0
- package/dist/components/biz-select/tag-select/api.d.ts +6 -0
- package/dist/components/biz-select/user-select/api.d.ts +109 -0
- package/dist/components/biz-select/ward-select/api.d.ts +43 -0
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +2717 -706
- package/dist/components/patient-access/api.d.ts +10 -1
- 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/constant.d.ts +1 -0
- package/dist/components/pro-table/interface/index.d.ts +5 -0
- package/dist/components/static/css/index.css +3 -3
- package/dist/hooks/index.d.ts +3 -3
- package/dist/hooks/index.js +53 -15
- 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-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-dataset → use-fetch-data}/use-fetch-time.d.ts +1 -1
- package/dist/index.d.ts +25 -24
- package/dist/index.js +2758 -723
- package/dist/static/css/index.css +3 -3
- package/package.json +7 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ConfigReqParams, SearchReqParams, AccessConfig, TPatient, BannerReqParams, BannerReqItem } from
|
|
1
|
+
import type { ConfigReqParams, SearchReqParams, AccessConfig, TPatient, BannerReqParams, BannerReqItem, BizTagInfo } from './types.d';
|
|
2
2
|
/**
|
|
3
3
|
* 1-10115-1 根据条件查询菜单的检索方式列表(业务态)
|
|
4
4
|
* @param params
|
|
@@ -22,3 +22,12 @@ export declare const queryBizDataList: (params: SearchReqParams) => Promise<[imp
|
|
|
22
22
|
* @returns
|
|
23
23
|
*/
|
|
24
24
|
export declare const getBannerDataByBizId: (params: BannerReqParams) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<BannerReqItem> | undefined]>;
|
|
25
|
+
/**
|
|
26
|
+
* [1-10475-1]根据条件查询标签列表
|
|
27
|
+
* @param params
|
|
28
|
+
* @returns
|
|
29
|
+
*/
|
|
30
|
+
export declare const queryBizTagListByExample: (params: {
|
|
31
|
+
bizIdTypeCode: string;
|
|
32
|
+
bizId: string;
|
|
33
|
+
}) => Promise<[import("@sun-toolkit/request").SunApiResultData<null> | undefined, import("@sun-toolkit/request").SunApiResultData<BizTagInfo[]> | undefined]>;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export declare function useAvatarSize(width?: number | string, height?: number | string): {
|
|
2
|
+
currentWidth: import("vue").ComputedRef<string>;
|
|
3
|
+
currentHeight: import("vue").ComputedRef<string>;
|
|
4
|
+
};
|
|
5
|
+
/**
|
|
6
|
+
* 头像类型
|
|
7
|
+
*/
|
|
8
|
+
export declare enum AVATAR_TYPE_CODE {
|
|
9
|
+
/**
|
|
10
|
+
* 男性
|
|
11
|
+
*/
|
|
12
|
+
WOMAN = "woman",
|
|
13
|
+
/**
|
|
14
|
+
* 女性
|
|
15
|
+
*/
|
|
16
|
+
MAN = "man",
|
|
17
|
+
/**
|
|
18
|
+
* 默认
|
|
19
|
+
*/
|
|
20
|
+
DEFAULT = "default"
|
|
21
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const OPERATION = "operation";
|
|
@@ -36,6 +36,7 @@ export type HeaderRenderScope<T> = {
|
|
|
36
36
|
[key: string]: any;
|
|
37
37
|
};
|
|
38
38
|
export interface ColumnProps<T = any> extends Partial<Omit<TableColumnCtx<T>, 'type' | 'children' | 'renderCell' | 'renderHeader'>> {
|
|
39
|
+
isDraggable?: boolean;
|
|
39
40
|
defaultDisplayFlag?: number;
|
|
40
41
|
required?: boolean | undefined;
|
|
41
42
|
autoFormatterNumber?: boolean;
|
|
@@ -88,3 +89,7 @@ export interface SortFieldObj {
|
|
|
88
89
|
ascendFlag: number;
|
|
89
90
|
sort: number;
|
|
90
91
|
}
|
|
92
|
+
export type TableColumnProps = ColumnProps & {
|
|
93
|
+
displayFlag?: number;
|
|
94
|
+
sort?: number;
|
|
95
|
+
};
|
|
@@ -6,15 +6,15 @@
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
[data-v-
|
|
9
|
+
[data-v-38d4eddb] .el-menu-item {
|
|
10
10
|
height: 48px;
|
|
11
11
|
line-height: 48px;
|
|
12
12
|
}
|
|
13
|
-
[data-v-
|
|
13
|
+
[data-v-38d4eddb] .el-sub-menu__title {
|
|
14
14
|
height: 48px;
|
|
15
15
|
line-height: 48px;
|
|
16
16
|
}
|
|
17
|
-
[data-v-
|
|
17
|
+
[data-v-38d4eddb] .el-menu-item.is-active {
|
|
18
18
|
color: inherit !important;
|
|
19
19
|
background-color: #0000 !important;
|
|
20
20
|
}
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ export { default as useRequest } from "./use-request/index.ts";
|
|
|
2
2
|
export { default as useAppConfigData, MAIN_APP_CONFIG, } from "./use-app-config/index.ts";
|
|
3
3
|
export type { PreferenceData } from "./use-app-config/index.ts";
|
|
4
4
|
export { default as useDirectionSelect } from "./use-direction-select/index.ts";
|
|
5
|
-
export
|
|
6
|
-
export { default as useEditableTable } from
|
|
7
|
-
export { default as useDataChangeDetector } from
|
|
5
|
+
export * from "./use-fetch-data/index.ts";
|
|
6
|
+
export { default as useEditableTable } from "./use-editable-table/index.ts";
|
|
7
|
+
export { default as useDataChangeDetector } from "./use-data-change-detector/index.ts";
|
|
8
8
|
export { useColumnConfig, useFormConfig, } from "./use-column&form-config/index.ts";
|
package/dist/hooks/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import * as __WEBPACK_EXTERNAL_MODULE__sun_toolkit_enums__ from "@sun-toolkit/en
|
|
|
4
4
|
import * as __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__ from "@sun-toolkit/shared";
|
|
5
5
|
import * as __WEBPACK_EXTERNAL_MODULE_element_sun__ from "element-sun";
|
|
6
6
|
import * as __WEBPACK_EXTERNAL_MODULE_vue_router__ from "vue-router";
|
|
7
|
-
import * as
|
|
7
|
+
import * as __WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__ from "@sun-toolkit/micro-app";
|
|
8
8
|
/* eslint-disable @typescript-eslint/no-explicit-any */ // support refreshDeps & ready
|
|
9
9
|
const useAutoRunPlugin = (fetchInstance, { manual, ready = true, refreshDeps = [], refreshDepsAction })=>{
|
|
10
10
|
const hasAutoRun = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)(false);
|
|
@@ -364,7 +364,7 @@ function useRequest_useRequest(service, options, plugins) {
|
|
|
364
364
|
return MAIN_APP_CONFIG;
|
|
365
365
|
}({});
|
|
366
366
|
function useAppConfigData(name) {
|
|
367
|
-
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.inject)(
|
|
367
|
+
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.inject)("mainAppConfig");
|
|
368
368
|
if (Array.isArray(name)) return name.reduce((acc, key)=>{
|
|
369
369
|
if (data && key in data) acc[key] = data[key];
|
|
370
370
|
return acc;
|
|
@@ -448,7 +448,7 @@ function useSelectByDirectionEvent(options) {
|
|
|
448
448
|
* [1-10012-1]获取值域列表
|
|
449
449
|
* @param data
|
|
450
450
|
* @returns
|
|
451
|
-
*/ const queryDataSetByCodeSystemCodes = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)(
|
|
451
|
+
*/ const queryDataSetByCodeSystemCodes = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/codeSystem/queryDataSetByCodeSystemCodes", params, {
|
|
452
452
|
cancel: false
|
|
453
453
|
});
|
|
454
454
|
function useFetchDataset(codeSystemCodes, enabledFlag) {
|
|
@@ -468,6 +468,42 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
|
|
|
468
468
|
return list;
|
|
469
469
|
}
|
|
470
470
|
/* ESM default export */ const use_fetch_dataset = useFetchDataset;
|
|
471
|
+
/** 获取系统时间 */ async function getSystemTime() {
|
|
472
|
+
const [, res] = await (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)('/dictCommon/getSysTime');
|
|
473
|
+
if (res?.success) return res.data;
|
|
474
|
+
return (0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.getNowTime)();
|
|
475
|
+
}
|
|
476
|
+
/** 获取系统时间 */ function useFetchSystemTime() {
|
|
477
|
+
const time = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)();
|
|
478
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount)(()=>{
|
|
479
|
+
getSystemTime().then((val)=>time.value = val);
|
|
480
|
+
});
|
|
481
|
+
return time;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* [1-10012-1]获取值域列表
|
|
485
|
+
* @param data
|
|
486
|
+
* @returns
|
|
487
|
+
*/ const queryParamListByNos = (params)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_request__.dictRequest)("/parameter/queryParamListByNos", params);
|
|
488
|
+
function useFetchParams(options) {
|
|
489
|
+
const { hospitalId, paramNos, callback } = options;
|
|
490
|
+
const paramsConfig = (0, __WEBPACK_EXTERNAL_MODULE_vue__.ref)({});
|
|
491
|
+
(0, __WEBPACK_EXTERNAL_MODULE_vue__.onBeforeMount)(async ()=>{
|
|
492
|
+
if (!hospitalId) return;
|
|
493
|
+
const [, res] = await queryParamListByNos({
|
|
494
|
+
hospitalId,
|
|
495
|
+
paramNos
|
|
496
|
+
});
|
|
497
|
+
if (res?.data) {
|
|
498
|
+
paramsConfig.value = res.data.reduce((acc, cur)=>{
|
|
499
|
+
acc[cur.paramNo] = cur.paramSettingList;
|
|
500
|
+
return acc;
|
|
501
|
+
}, {});
|
|
502
|
+
if (callback) callback(paramsConfig.value);
|
|
503
|
+
}
|
|
504
|
+
});
|
|
505
|
+
return paramsConfig;
|
|
506
|
+
}
|
|
471
507
|
/**
|
|
472
508
|
* 表格编辑功能
|
|
473
509
|
*/ function useEditableTable(options) {
|
|
@@ -564,7 +600,7 @@ function useFetchDataset(codeSystemCodes, enabledFlag) {
|
|
|
564
600
|
}
|
|
565
601
|
/* ESM default export */ const use_editable_table = useEditableTable;
|
|
566
602
|
function useDataChangeDetector(sources, options) {
|
|
567
|
-
const confirmMessage = options?.confirmMessage ||
|
|
603
|
+
const confirmMessage = options?.confirmMessage || "您有未保存的更改,确定要离开吗?";
|
|
568
604
|
// 缓存原始数据
|
|
569
605
|
const cacheSources = sources.map((s)=>(0, __WEBPACK_EXTERNAL_MODULE__sun_toolkit_shared__.cloneDeep)((0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(s)));
|
|
570
606
|
let clearSourceWatchList = [];
|
|
@@ -599,13 +635,14 @@ function useDataChangeDetector(sources, options) {
|
|
|
599
635
|
sources.forEach((value, index)=>{
|
|
600
636
|
console.log(index, (0, __WEBPACK_EXTERNAL_MODULE_vue__.unref)(value), cacheSources[index]);
|
|
601
637
|
});
|
|
602
|
-
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage,
|
|
603
|
-
confirmButtonText:
|
|
604
|
-
cancelButtonText:
|
|
605
|
-
type:
|
|
638
|
+
__WEBPACK_EXTERNAL_MODULE_element_sun__.ElMessageBox.confirm(confirmMessage, "提示", {
|
|
639
|
+
confirmButtonText: "确定",
|
|
640
|
+
cancelButtonText: "取消",
|
|
641
|
+
type: "warning"
|
|
606
642
|
}).then(async ()=>{
|
|
607
643
|
next();
|
|
608
644
|
}).catch(()=>{
|
|
645
|
+
if (options?.cancelFn) options.cancelFn();
|
|
609
646
|
next(false);
|
|
610
647
|
});
|
|
611
648
|
return;
|
|
@@ -629,18 +666,19 @@ function useDataChangeDetector(sources, options) {
|
|
|
629
666
|
};
|
|
630
667
|
}
|
|
631
668
|
/* ESM default export */ const use_data_change_detector = useDataChangeDetector;
|
|
669
|
+
// import { useTranslation } from "i18next-vue";
|
|
632
670
|
function useFormConfig(options) {
|
|
633
|
-
const { t } =
|
|
671
|
+
// const { t } = useTranslation();
|
|
634
672
|
const { getData, dataSetCodes } = options;
|
|
635
|
-
const dataSet =
|
|
636
|
-
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getData(t, dataSet));
|
|
673
|
+
const dataSet = use_fetch_dataset(dataSetCodes);
|
|
674
|
+
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getData(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.t, dataSet));
|
|
637
675
|
return data;
|
|
638
676
|
}
|
|
639
677
|
function useColumnConfig(options) {
|
|
640
|
-
const { t } =
|
|
678
|
+
// const { t } = useTranslation();
|
|
641
679
|
const { getData, dataSetCodes } = options;
|
|
642
|
-
const dataSet =
|
|
643
|
-
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getData(t, dataSet));
|
|
680
|
+
const dataSet = use_fetch_dataset(dataSetCodes);
|
|
681
|
+
const data = (0, __WEBPACK_EXTERNAL_MODULE_vue__.computed)(()=>getData(__WEBPACK_EXTERNAL_MODULE__sun_toolkit_micro_app__.t, dataSet));
|
|
644
682
|
return data;
|
|
645
683
|
}
|
|
646
|
-
export { use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, queryDataSetByCodeSystemCodes, use_app_config as useAppConfigData, useColumnConfig, use_data_change_detector as useDataChangeDetector, use_direction_select as useDirectionSelect, use_editable_table as useEditableTable, use_fetch_dataset as useFetchDataset, useFormConfig, use_request as useRequest };
|
|
684
|
+
export { use_app_config_MAIN_APP_CONFIG as MAIN_APP_CONFIG, getSystemTime, queryDataSetByCodeSystemCodes, queryParamListByNos, use_app_config as useAppConfigData, useColumnConfig, use_data_change_detector as useDataChangeDetector, use_direction_select as useDirectionSelect, use_editable_table as useEditableTable, use_fetch_dataset as useFetchDataset, useFetchParams, useFetchSystemTime, useFormConfig, use_request as useRequest };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Ref } from
|
|
2
|
-
import { TFunction } from
|
|
3
|
-
import { CodeSystem } from
|
|
4
|
-
import { FormDescItem } from
|
|
5
|
-
import { ColumnProps } from
|
|
1
|
+
import { Ref } from "vue";
|
|
2
|
+
import { TFunction } from "i18next";
|
|
3
|
+
import { CodeSystem } from "../use-fetch-data/types";
|
|
4
|
+
import { FormDescItem } from "@/components/pro-form/typings/index";
|
|
5
|
+
import { ColumnProps } from "@/components/pro-table/interface";
|
|
6
6
|
export interface ConfigOptions<T extends readonly string[] | undefined, U, R = undefined> {
|
|
7
7
|
getData: (t: TFunction, data: Ref<(T extends readonly string[] ? {
|
|
8
8
|
[P in T[number]]: CodeSystem[];
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { Ref } from
|
|
1
|
+
import { Ref } from "vue";
|
|
2
2
|
export declare function useDataChangeDetector<T extends readonly unknown[]>(sources: {
|
|
3
3
|
[K in keyof T]: Ref<T[K]>;
|
|
4
4
|
}, options?: {
|
|
5
5
|
confirmMessage?: string;
|
|
6
6
|
isSkip?: Ref<boolean>;
|
|
7
|
+
cancelFn?: () => void;
|
|
7
8
|
}): {
|
|
8
9
|
checkChange: () => boolean;
|
|
9
10
|
updateOriginals: () => void;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { default as useFetchDataset, queryDataSetByCodeSystemCodes, type CodeSystem, } from './use-fetch-dataset';
|
|
2
|
+
export { getSystemTime, useFetchSystemTime } from './use-fetch-time';
|
|
3
|
+
export { useFetchParams, queryParamListByNos, type ParamSettingItem, type ParamResItem, } from './use-fetch-params';
|
|
@@ -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,27 @@
|
|
|
1
1
|
/** components **/
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export { Title } from
|
|
8
|
-
export { DictSelect, FlagSelect, HospitalSelect, TagSelect, } from
|
|
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 { Title } from './components/title';
|
|
8
|
+
export { DictSelect, FlagSelect, HospitalSelect, TagSelect, UserSelect, BizUnitSelect, DepartmentSelect, WardSelect, } from './components/biz-select';
|
|
9
|
+
export type { TagGroupInfo } from './components/biz-select';
|
|
10
|
+
export { CopyTextWithTooltip } from './components/copy-text-with-tooltip';
|
|
11
|
+
export { FormDesignRender } from './components/form-design-render';
|
|
12
|
+
export { ProDialog } from './components/pro-dialog';
|
|
13
|
+
export { AccessInfo } from './components/access-info';
|
|
14
|
+
export { ProAvatar, AVATAR_TYPE_CODE } from './components/pro-avatar';
|
|
15
|
+
export { ProForm, FormUnit, convertToWbNo, convertToSpellNo, type FormDescItem, } from './components/pro-form';
|
|
16
|
+
export { DmlButton } from './components/dml-button/index.ts';
|
|
15
17
|
/** 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 "./utils";
|
|
18
|
+
export { default as useRequest } from './hooks/use-request';
|
|
19
|
+
export { default as useAppConfigData, MAIN_APP_CONFIG, } from './hooks/use-app-config';
|
|
20
|
+
export type { PreferenceData } from './hooks/use-app-config';
|
|
21
|
+
export { default as useDirectionSelect } from './hooks/use-direction-select';
|
|
22
|
+
export { useEditableTable } from './hooks/use-editable-table';
|
|
23
|
+
export type { TableRef } from './hooks/use-editable-table';
|
|
24
|
+
export * from './hooks/use-fetch-data/index.ts';
|
|
25
|
+
export { useColumnConfig, useFormConfig } from './hooks/use-column&form-config';
|
|
26
|
+
export { useDataChangeDetector } from './hooks/use-data-change-detector';
|
|
27
|
+
export { debounce, isNumber, decimalCount, formatDecimalNumber } from './utils';
|