cnhis-design-vue 3.1.51-beta.0 → 3.1.51-beta.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/README.md +87 -87
- package/es/components/base-search/index.d.ts +0 -1
- package/es/components/base-search/src/index.vue.d.ts +0 -1
- package/es/components/classification/index.d.ts +57 -15
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +57 -15
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +57 -15
- package/es/components/classification/src/index.vue.d.ts +57 -15
- package/es/components/expand-field/src/components/form.vue2.js +1 -1
- package/es/components/expand-field/src/index.vue2.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcessChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useBottom.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useCenter.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTemperatureChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/form-render/src/components/renderer/select.d.ts +10 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/editSelect.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/table-export-field/src/components/ExportModal.vue.d.ts +0 -3
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +52 -7
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue.d.ts +34 -2
- package/es/components/table-filter/src/components/classify-filter/components/InputFilter.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +36 -4
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +1 -6
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +57 -15
- package/es/components/table-filter/src/components/classify-filter/index.vue2.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.js +1 -1
- package/es/components/table-filter/src/hooks/useRenderWidget.js +1 -1
- package/es/components/table-filter/src/tool/transformData.d.ts +1 -6
- package/es/components/table-filter/src/tool/transformData.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +11 -2
- package/es/env.d.ts +25 -25
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/index.d.ts +3 -3
- package/package.json +2 -2
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +0 -1
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +0 -1
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +0 -1
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/fabricjs/index.d.ts +0 -6823
- package/es/shared/utils/tapable/index.d.ts +0 -139
package/README.md
CHANGED
|
@@ -1,87 +1,87 @@
|
|
|
1
|
-
# 安装
|
|
2
|
-
|
|
3
|
-
```shell
|
|
4
|
-
npm i cnhis-design-vue@[版本号]
|
|
5
|
-
# or
|
|
6
|
-
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
## 1.全局引入
|
|
10
|
-
|
|
11
|
-
```typescript
|
|
12
|
-
// main.ts
|
|
13
|
-
import { createApp } from 'vue';
|
|
14
|
-
import App from './App.vue';
|
|
15
|
-
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
-
import cui from 'cnhis-design-vue';
|
|
17
|
-
|
|
18
|
-
const app = createApp(App);
|
|
19
|
-
app.use(cui).mount('#app');
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## 2. 按需引入
|
|
23
|
-
|
|
24
|
-
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
-
|
|
26
|
-
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
-
|
|
28
|
-
```shell
|
|
29
|
-
# 安装自动导入样式的插件
|
|
30
|
-
npm i -d vite-plugin-style-import
|
|
31
|
-
```
|
|
32
|
-
|
|
33
|
-
```typescript
|
|
34
|
-
// vite.config.ts
|
|
35
|
-
import { defineConfig } from 'vite';
|
|
36
|
-
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
-
|
|
38
|
-
export default defineConfig({
|
|
39
|
-
plugins: [
|
|
40
|
-
// ...otherPlugins
|
|
41
|
-
createStyleImportPlugin({
|
|
42
|
-
libs: [
|
|
43
|
-
{
|
|
44
|
-
libraryName: 'cnhis-design-vue',
|
|
45
|
-
esModule: true,
|
|
46
|
-
ensureStyleFile: true,
|
|
47
|
-
resolveStyle: name => {
|
|
48
|
-
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
});
|
|
55
|
-
```
|
|
56
|
-
|
|
57
|
-
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
-
|
|
59
|
-
```typescript
|
|
60
|
-
// main.ts
|
|
61
|
-
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
-
```
|
|
63
|
-
|
|
64
|
-
## 3.FAQ
|
|
65
|
-
|
|
66
|
-
### 3.1 项目打包后样式丢失
|
|
67
|
-
|
|
68
|
-
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
-
|
|
70
|
-
```typescript
|
|
71
|
-
// vite.config.ts
|
|
72
|
-
import { defineConfig } from 'vite';
|
|
73
|
-
|
|
74
|
-
export default defineConfig({
|
|
75
|
-
build: {
|
|
76
|
-
rollupOptions: {
|
|
77
|
-
// ..otherOptions
|
|
78
|
-
output: {
|
|
79
|
-
dir: './dist',
|
|
80
|
-
manualChunks: {
|
|
81
|
-
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
```
|
|
1
|
+
# 安装
|
|
2
|
+
|
|
3
|
+
```shell
|
|
4
|
+
npm i cnhis-design-vue@[版本号]
|
|
5
|
+
# or
|
|
6
|
+
yarn add cnhis-design-vue@[版本号] #推荐
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## 1.全局引入
|
|
10
|
+
|
|
11
|
+
```typescript
|
|
12
|
+
// main.ts
|
|
13
|
+
import { createApp } from 'vue';
|
|
14
|
+
import App from './App.vue';
|
|
15
|
+
import 'cnhis-design-vue/es/packages/index.css';
|
|
16
|
+
import cui from 'cnhis-design-vue';
|
|
17
|
+
|
|
18
|
+
const app = createApp(App);
|
|
19
|
+
app.use(cui).mount('#app');
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
## 2. 按需引入
|
|
23
|
+
|
|
24
|
+
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
|
+
|
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
|
+
|
|
28
|
+
```shell
|
|
29
|
+
# 安装自动导入样式的插件
|
|
30
|
+
npm i -d vite-plugin-style-import
|
|
31
|
+
```
|
|
32
|
+
|
|
33
|
+
```typescript
|
|
34
|
+
// vite.config.ts
|
|
35
|
+
import { defineConfig } from 'vite';
|
|
36
|
+
import { createStyleImportPlugin } from 'vite-plugin-style-import';
|
|
37
|
+
|
|
38
|
+
export default defineConfig({
|
|
39
|
+
plugins: [
|
|
40
|
+
// ...otherPlugins
|
|
41
|
+
createStyleImportPlugin({
|
|
42
|
+
libs: [
|
|
43
|
+
{
|
|
44
|
+
libraryName: 'cnhis-design-vue',
|
|
45
|
+
esModule: true,
|
|
46
|
+
ensureStyleFile: true,
|
|
47
|
+
resolveStyle: name => {
|
|
48
|
+
return `cnhis-design-vue/es/components/${ name.slice(2) }/style/index.css`;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
]
|
|
52
|
+
})
|
|
53
|
+
]
|
|
54
|
+
});
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
|
+
|
|
59
|
+
```typescript
|
|
60
|
+
// main.ts
|
|
61
|
+
import 'cnhis-design-vue/es/components/index.css';
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
## 3.FAQ
|
|
65
|
+
|
|
66
|
+
### 3.1 项目打包后样式丢失
|
|
67
|
+
|
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
69
|
+
|
|
70
|
+
```typescript
|
|
71
|
+
// vite.config.ts
|
|
72
|
+
import { defineConfig } from 'vite';
|
|
73
|
+
|
|
74
|
+
export default defineConfig({
|
|
75
|
+
build: {
|
|
76
|
+
rollupOptions: {
|
|
77
|
+
// ..otherOptions
|
|
78
|
+
output: {
|
|
79
|
+
dir: './dist',
|
|
80
|
+
manualChunks: {
|
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
});
|
|
87
|
+
```
|
|
@@ -103,7 +103,6 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
103
103
|
con: string;
|
|
104
104
|
value: string[];
|
|
105
105
|
unit: "custom" | null;
|
|
106
|
-
switchEnable?: boolean | undefined;
|
|
107
106
|
isAccurateSearch?: boolean | undefined;
|
|
108
107
|
accurateSearchKey?: string | undefined;
|
|
109
108
|
}[]>;
|
|
@@ -104,7 +104,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
104
104
|
con: string;
|
|
105
105
|
value: string[];
|
|
106
106
|
unit: "custom" | null;
|
|
107
|
-
switchEnable?: boolean | undefined;
|
|
108
107
|
isAccurateSearch?: boolean | undefined;
|
|
109
108
|
accurateSearchKey?: string | undefined;
|
|
110
109
|
}[]>;
|
|
@@ -647,10 +647,12 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
647
647
|
className: string;
|
|
648
648
|
displayCategory: string;
|
|
649
649
|
filterConditions: {
|
|
650
|
-
value: string;
|
|
651
|
-
key: string;
|
|
652
650
|
condition: string;
|
|
651
|
+
key: string;
|
|
653
652
|
presetVal: string;
|
|
653
|
+
value: string;
|
|
654
|
+
isAccurateSearch?: boolean | undefined;
|
|
655
|
+
accurateSearchKey?: string | undefined;
|
|
654
656
|
}[];
|
|
655
657
|
};
|
|
656
658
|
loading: import("vue").Ref<boolean>;
|
|
@@ -678,12 +680,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
678
680
|
updateCondition: (index: number, val: any) => void;
|
|
679
681
|
getParamCfg: (key: string) => any;
|
|
680
682
|
initFilterConditions: (tableId: string, rawConditions: import("..").ISearchConfigType) => Promise<void>;
|
|
681
|
-
getRawFilterConditions: () =>
|
|
682
|
-
field_key: any;
|
|
683
|
-
con: any;
|
|
684
|
-
value: any;
|
|
685
|
-
unit: any;
|
|
686
|
-
}[];
|
|
683
|
+
getRawFilterConditions: () => any[];
|
|
687
684
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
688
685
|
handleDisplayCategorySelectProxy: (item: import("..").ICategoryItemType) => void;
|
|
689
686
|
clearFormData: () => void;
|
|
@@ -714,6 +711,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
714
711
|
type: StringConstructor;
|
|
715
712
|
default: null;
|
|
716
713
|
};
|
|
714
|
+
isAccurate: {
|
|
715
|
+
type: BooleanConstructor;
|
|
716
|
+
};
|
|
717
717
|
}, {
|
|
718
718
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
719
719
|
paramCfg: {
|
|
@@ -728,13 +728,18 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
728
728
|
type: StringConstructor;
|
|
729
729
|
default: null;
|
|
730
730
|
};
|
|
731
|
+
isAccurate: {
|
|
732
|
+
type: BooleanConstructor;
|
|
733
|
+
};
|
|
731
734
|
}>> & {
|
|
732
735
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
736
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
733
737
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
734
738
|
}>>;
|
|
735
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
|
739
|
+
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
|
|
736
740
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
737
741
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
742
|
+
isAccurateCp: import("vue").WritableComputedRef<boolean>;
|
|
738
743
|
widgetType: import("vue").ComputedRef<any>;
|
|
739
744
|
Date: import("vue").DefineComponent<{
|
|
740
745
|
componentCfg: {
|
|
@@ -884,35 +889,67 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
884
889
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
885
890
|
}, {
|
|
886
891
|
modelValue: string | number | unknown[];
|
|
887
|
-
presetVal: string;
|
|
888
892
|
paramCfg: Record<string, any>;
|
|
893
|
+
presetVal: string;
|
|
889
894
|
}>;
|
|
890
895
|
InputFilter: import("vue").DefineComponent<{
|
|
896
|
+
paramCfg: {
|
|
897
|
+
type: ObjectConstructor;
|
|
898
|
+
default: null;
|
|
899
|
+
};
|
|
891
900
|
modelValue: {
|
|
892
901
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
893
902
|
default: null;
|
|
894
903
|
};
|
|
904
|
+
isAccurateFilter: {
|
|
905
|
+
type: BooleanConstructor;
|
|
906
|
+
};
|
|
895
907
|
}, {
|
|
896
908
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
909
|
+
paramCfg: {
|
|
910
|
+
type: ObjectConstructor;
|
|
911
|
+
default: null;
|
|
912
|
+
};
|
|
897
913
|
modelValue: {
|
|
898
914
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
899
915
|
default: null;
|
|
900
916
|
};
|
|
917
|
+
isAccurateFilter: {
|
|
918
|
+
type: BooleanConstructor;
|
|
919
|
+
};
|
|
901
920
|
}>> & {
|
|
902
921
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
922
|
+
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
|
903
923
|
}>>;
|
|
904
|
-
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
924
|
+
emit: (event: "update:modelValue" | "update:isAccurateFilter", ...args: any[]) => void;
|
|
925
|
+
optionList: import("vue").Ref<{
|
|
926
|
+
label: string;
|
|
927
|
+
value: number;
|
|
928
|
+
}[]>;
|
|
905
929
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
930
|
+
isAccurateFilterCp: import("vue").WritableComputedRef<number>;
|
|
931
|
+
isShowSearch: import("vue").ComputedRef<any>;
|
|
906
932
|
NInput: any;
|
|
907
|
-
|
|
933
|
+
NSelect: any;
|
|
934
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurateFilter")[], "update:modelValue" | "update:isAccurateFilter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
935
|
+
paramCfg: {
|
|
936
|
+
type: ObjectConstructor;
|
|
937
|
+
default: null;
|
|
938
|
+
};
|
|
908
939
|
modelValue: {
|
|
909
940
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
910
941
|
default: null;
|
|
911
942
|
};
|
|
943
|
+
isAccurateFilter: {
|
|
944
|
+
type: BooleanConstructor;
|
|
945
|
+
};
|
|
912
946
|
}>> & {
|
|
913
947
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
948
|
+
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
|
914
949
|
}, {
|
|
915
950
|
modelValue: string | number | unknown[];
|
|
951
|
+
paramCfg: Record<string, any>;
|
|
952
|
+
isAccurateFilter: boolean;
|
|
916
953
|
}>;
|
|
917
954
|
InputNumber: import("vue").DefineComponent<{
|
|
918
955
|
modelValue: {
|
|
@@ -1441,8 +1478,8 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1441
1478
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
1442
1479
|
}, {
|
|
1443
1480
|
modelValue: string | number | unknown[];
|
|
1444
|
-
presetVal: string;
|
|
1445
1481
|
paramCfg: Record<string, any>;
|
|
1482
|
+
presetVal: string;
|
|
1446
1483
|
}>;
|
|
1447
1484
|
SelectLabel: import("vue").DefineComponent<{
|
|
1448
1485
|
paramCfg: {
|
|
@@ -1508,7 +1545,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1508
1545
|
SELECTLABEL: string;
|
|
1509
1546
|
SELECTDYNAMIC: string;
|
|
1510
1547
|
};
|
|
1511
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1548
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1512
1549
|
paramCfg: {
|
|
1513
1550
|
type: ObjectConstructor;
|
|
1514
1551
|
default: null;
|
|
@@ -1521,13 +1558,18 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1521
1558
|
type: StringConstructor;
|
|
1522
1559
|
default: null;
|
|
1523
1560
|
};
|
|
1561
|
+
isAccurate: {
|
|
1562
|
+
type: BooleanConstructor;
|
|
1563
|
+
};
|
|
1524
1564
|
}>> & {
|
|
1525
1565
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1566
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
1526
1567
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
1527
1568
|
}, {
|
|
1528
1569
|
modelValue: string | number | unknown[];
|
|
1529
|
-
presetVal: string;
|
|
1530
1570
|
paramCfg: Record<string, any>;
|
|
1571
|
+
presetVal: string;
|
|
1572
|
+
isAccurate: boolean;
|
|
1531
1573
|
}>;
|
|
1532
1574
|
ConditionEnums: {
|
|
1533
1575
|
NULL: string;
|
|
@@ -124,10 +124,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
124
124
|
className: string;
|
|
125
125
|
displayCategory: string;
|
|
126
126
|
filterConditions: {
|
|
127
|
-
value: string;
|
|
128
|
-
key: string;
|
|
129
127
|
condition: string;
|
|
128
|
+
key: string;
|
|
130
129
|
presetVal: string;
|
|
130
|
+
value: string;
|
|
131
|
+
isAccurateSearch?: boolean | undefined;
|
|
132
|
+
accurateSearchKey?: string | undefined;
|
|
131
133
|
}[];
|
|
132
134
|
};
|
|
133
135
|
loading: import("vue").Ref<boolean>;
|
|
@@ -155,12 +157,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
155
157
|
updateCondition: (index: number, val: any) => void;
|
|
156
158
|
getParamCfg: (key: string) => any;
|
|
157
159
|
initFilterConditions: (tableId: string, rawConditions: import("../../../..").ISearchConfigType) => Promise<void>;
|
|
158
|
-
getRawFilterConditions: () =>
|
|
159
|
-
field_key: any;
|
|
160
|
-
con: any;
|
|
161
|
-
value: any;
|
|
162
|
-
unit: any;
|
|
163
|
-
}[];
|
|
160
|
+
getRawFilterConditions: () => any[];
|
|
164
161
|
findConditionByDisplayCategory: (sid: string) => unknown;
|
|
165
162
|
handleDisplayCategorySelectProxy: (item: import("../../../..").ICategoryItemType) => void;
|
|
166
163
|
clearFormData: () => void;
|
|
@@ -191,6 +188,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
191
188
|
type: StringConstructor;
|
|
192
189
|
default: null;
|
|
193
190
|
};
|
|
191
|
+
isAccurate: {
|
|
192
|
+
type: BooleanConstructor;
|
|
193
|
+
};
|
|
194
194
|
}, {
|
|
195
195
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
196
196
|
paramCfg: {
|
|
@@ -205,13 +205,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
205
205
|
type: StringConstructor;
|
|
206
206
|
default: null;
|
|
207
207
|
};
|
|
208
|
+
isAccurate: {
|
|
209
|
+
type: BooleanConstructor;
|
|
210
|
+
};
|
|
208
211
|
}>> & {
|
|
209
212
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
213
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
210
214
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
211
215
|
}>>;
|
|
212
|
-
emit: (event: "update:modelValue" | "update:presetVal", ...args: any[]) => void;
|
|
216
|
+
emit: (event: "update:modelValue" | "update:isAccurate" | "update:presetVal", ...args: any[]) => void;
|
|
213
217
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
214
218
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
219
|
+
isAccurateCp: import("vue").WritableComputedRef<boolean>;
|
|
215
220
|
widgetType: import("vue").ComputedRef<any>;
|
|
216
221
|
Date: import("vue").DefineComponent<{
|
|
217
222
|
componentCfg: {
|
|
@@ -361,35 +366,67 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
361
366
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
362
367
|
}, {
|
|
363
368
|
modelValue: string | number | unknown[];
|
|
364
|
-
presetVal: string;
|
|
365
369
|
paramCfg: Record<string, any>;
|
|
370
|
+
presetVal: string;
|
|
366
371
|
}>;
|
|
367
372
|
InputFilter: import("vue").DefineComponent<{
|
|
373
|
+
paramCfg: {
|
|
374
|
+
type: ObjectConstructor;
|
|
375
|
+
default: null;
|
|
376
|
+
};
|
|
368
377
|
modelValue: {
|
|
369
378
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
370
379
|
default: null;
|
|
371
380
|
};
|
|
381
|
+
isAccurateFilter: {
|
|
382
|
+
type: BooleanConstructor;
|
|
383
|
+
};
|
|
372
384
|
}, {
|
|
373
385
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
386
|
+
paramCfg: {
|
|
387
|
+
type: ObjectConstructor;
|
|
388
|
+
default: null;
|
|
389
|
+
};
|
|
374
390
|
modelValue: {
|
|
375
391
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
376
392
|
default: null;
|
|
377
393
|
};
|
|
394
|
+
isAccurateFilter: {
|
|
395
|
+
type: BooleanConstructor;
|
|
396
|
+
};
|
|
378
397
|
}>> & {
|
|
379
398
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
399
|
+
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
|
380
400
|
}>>;
|
|
381
|
-
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
401
|
+
emit: (event: "update:modelValue" | "update:isAccurateFilter", ...args: any[]) => void;
|
|
402
|
+
optionList: import("vue").Ref<{
|
|
403
|
+
label: string;
|
|
404
|
+
value: number;
|
|
405
|
+
}[]>;
|
|
382
406
|
valueCp: import("vue").WritableComputedRef<any>;
|
|
407
|
+
isAccurateFilterCp: import("vue").WritableComputedRef<number>;
|
|
408
|
+
isShowSearch: import("vue").ComputedRef<any>;
|
|
383
409
|
NInput: any;
|
|
384
|
-
|
|
410
|
+
NSelect: any;
|
|
411
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurateFilter")[], "update:modelValue" | "update:isAccurateFilter", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
412
|
+
paramCfg: {
|
|
413
|
+
type: ObjectConstructor;
|
|
414
|
+
default: null;
|
|
415
|
+
};
|
|
385
416
|
modelValue: {
|
|
386
417
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
387
418
|
default: null;
|
|
388
419
|
};
|
|
420
|
+
isAccurateFilter: {
|
|
421
|
+
type: BooleanConstructor;
|
|
422
|
+
};
|
|
389
423
|
}>> & {
|
|
390
424
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
425
|
+
"onUpdate:isAccurateFilter"?: ((...args: any[]) => any) | undefined;
|
|
391
426
|
}, {
|
|
392
427
|
modelValue: string | number | unknown[];
|
|
428
|
+
paramCfg: Record<string, any>;
|
|
429
|
+
isAccurateFilter: boolean;
|
|
393
430
|
}>;
|
|
394
431
|
InputNumber: import("vue").DefineComponent<{
|
|
395
432
|
modelValue: {
|
|
@@ -918,8 +955,8 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
918
955
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
919
956
|
}, {
|
|
920
957
|
modelValue: string | number | unknown[];
|
|
921
|
-
presetVal: string;
|
|
922
958
|
paramCfg: Record<string, any>;
|
|
959
|
+
presetVal: string;
|
|
923
960
|
}>;
|
|
924
961
|
SelectLabel: import("vue").DefineComponent<{
|
|
925
962
|
paramCfg: {
|
|
@@ -985,7 +1022,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
985
1022
|
SELECTLABEL: string;
|
|
986
1023
|
SELECTDYNAMIC: string;
|
|
987
1024
|
};
|
|
988
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:presetVal")[], "update:modelValue" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1025
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "update:isAccurate" | "update:presetVal")[], "update:modelValue" | "update:isAccurate" | "update:presetVal", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
989
1026
|
paramCfg: {
|
|
990
1027
|
type: ObjectConstructor;
|
|
991
1028
|
default: null;
|
|
@@ -998,13 +1035,18 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
998
1035
|
type: StringConstructor;
|
|
999
1036
|
default: null;
|
|
1000
1037
|
};
|
|
1038
|
+
isAccurate: {
|
|
1039
|
+
type: BooleanConstructor;
|
|
1040
|
+
};
|
|
1001
1041
|
}>> & {
|
|
1002
1042
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1043
|
+
"onUpdate:isAccurate"?: ((...args: any[]) => any) | undefined;
|
|
1003
1044
|
"onUpdate:presetVal"?: ((...args: any[]) => any) | undefined;
|
|
1004
1045
|
}, {
|
|
1005
1046
|
modelValue: string | number | unknown[];
|
|
1006
|
-
presetVal: string;
|
|
1007
1047
|
paramCfg: Record<string, any>;
|
|
1048
|
+
presetVal: string;
|
|
1049
|
+
isAccurate: boolean;
|
|
1008
1050
|
}>;
|
|
1009
1051
|
ConditionEnums: {
|
|
1010
1052
|
NULL: string;
|