cnhis-design-vue 3.1.43-release.1 → 3.1.43-release.3
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 +50 -114
- package/es/components/base-search/src/index.vue.d.ts +50 -114
- package/es/components/base-search/src/index.vue.js +1 -1
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +9 -6
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +3 -0
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +8 -5
- package/es/components/classification/src/components/set-classification/index.vue.js +1 -1
- package/es/components/classification/src/components/table-modal/index.vue.d.ts +2 -2
- package/es/components/classification/src/index.vue.d.ts +9 -6
- package/es/components/fabric-chart/index.d.ts +1 -1
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +2 -2
- package/es/components/fabric-chart/src/hooks/useBirthProcess.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useBirthProcessChart.d.ts +2 -1
- package/es/components/fabric-chart/src/hooks/useCenter.d.ts +4 -4
- package/es/components/fabric-chart/src/hooks/useCumputedPoint.js +1 -1
- package/es/components/fabric-chart/src/hooks/useEvent.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useEvent.js +1 -1
- package/es/components/fabric-chart/src/hooks/useLeft.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useOther.js +1 -1
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.d.ts +3 -2
- package/es/components/fabric-chart/src/hooks/useTemperatureChart.js +1 -1
- package/es/components/form-config/index.d.ts +8 -8
- package/es/components/form-config/src/FormConfig.vue.d.ts +8 -8
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -4
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -4
- package/es/components/form-render/index.d.ts +4 -4
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -4
- package/es/components/form-render/src/FormRender.vue.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -4
- package/es/components/form-render/src/components/renderer/radio&checkbox.d.ts +6 -0
- package/es/components/form-render/src/components/renderer/radio_checkbox.js +1 -1
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -1
- package/es/components/form-render/src/components/renderer/select.js +1 -1
- package/es/components/form-render/src/hooks/useAnchor.js +1 -1
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/guide/index.d.ts +2 -0
- package/es/components/guide/index.js +1 -0
- package/es/components/guide/src/renderer.d.ts +37 -0
- package/es/components/guide/src/renderer.js +1 -0
- package/es/components/guide/src/types/index.d.ts +40 -0
- package/es/components/guide/src/useGuide.d.ts +6 -0
- package/es/components/guide/src/useGuide.js +1 -0
- package/es/components/guide/src/utils/index.d.ts +14 -0
- package/es/components/guide/src/utils/index.js +1 -0
- package/es/components/iho-table/index.d.ts +9 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +9 -2
- package/es/components/iho-table/src/IhoTable.vue.js +1 -1
- package/es/components/iho-table/src/hooks/tapHooks/useDataHooks.d.ts +2 -2
- package/es/components/iho-table/src/plugins/anchorPlugin/tableAnchor.js +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.d.ts +4 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +1 -1
- package/es/components/iho-table/src/plugins/filterDaterangeRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.d.ts +3 -11
- package/es/components/iho-table/src/plugins/filterRenderPlugin/filter.vue.js +1 -1
- package/es/components/iho-table/src/plugins/filterRenderPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +2 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.d.ts +2 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useSelectOption.js +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.d.ts +1 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/selectUtils.js +1 -1
- package/es/components/iho-table/src/types/index.d.ts +4 -1
- package/es/components/iho-table/style/iconfont.ttf +0 -0
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +1 -0
- package/es/components/index.js +1 -1
- package/es/components/info-header/index.d.ts +8 -8
- package/es/components/info-header/src/InfoHeader.vue.d.ts +8 -8
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -4
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -4
- package/es/components/keyboard/src/components/InputNumber.vue.js +1 -1
- package/es/components/quick-search/index.d.ts +54 -224
- package/es/components/quick-search/src/index.vue.d.ts +54 -224
- package/es/components/quick-search/src/index.vue.js +1 -1
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue.js +1 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/select-label/src/LabelFormContent.vue.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +6 -0
- package/es/components/shortcut-setter/index.d.ts +4 -4
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -4
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +3 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +3 -0
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +4 -0
- package/es/components/table-filter/src/components/render-widget/basicData.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.d.ts +84 -0
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRange.vue.d.ts +118 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRange.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.d.ts +67 -0
- package/es/components/table-filter/src/components/render-widget/components/InputNumberGroup.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +26 -7
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +4 -2
- package/es/components/table-filter/src/components/render-widget/components/index.js +1 -1
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +17 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +5 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +1 -1
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +13 -3
- package/es/components/table-filter/src/components/render-widget/index.vue.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +240 -15
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +6 -2
- 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/types/enums.d.ts +3 -0
- package/es/components/table-filter/src/types/enums.js +1 -1
- package/es/components/table-filter/src/types/index.d.ts +27 -87
- package/es/env.d.ts +25 -25
- package/es/shared/package.json.js +1 -1
- 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/components/fabric-chart/src/utils/index.d.ts +0 -6823
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useTriggerEvent.d.ts +0 -0
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +0 -86
- package/es/shared/utils/tapable/index.d.ts +0 -139
- /package/es/components/{iho-table/src/plugins/rendererPlugins/editableWidgets/hooks/useTriggerEvent.js → guide/src/types/index.js} +0 -0
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
|
+
```
|
|
@@ -4,6 +4,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
4
4
|
type: import("vue").PropType<import("..").IsettingsType>;
|
|
5
5
|
default: () => {
|
|
6
6
|
hideQuickSearch: number;
|
|
7
|
+
hideResetBtn: number;
|
|
7
8
|
};
|
|
8
9
|
};
|
|
9
10
|
searchFieldList: {
|
|
@@ -14,6 +15,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
14
15
|
type: NumberConstructor;
|
|
15
16
|
default: number;
|
|
16
17
|
};
|
|
18
|
+
filterApiConfig: {
|
|
19
|
+
type: ObjectConstructor;
|
|
20
|
+
};
|
|
17
21
|
}, {
|
|
18
22
|
outQuickSearchFn: {
|
|
19
23
|
handlerInitSearchItem(arr: import("..").ISearchType[]): void;
|
|
@@ -34,15 +38,19 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
34
38
|
setting: string;
|
|
35
39
|
widgetCfg: {
|
|
36
40
|
isRender: boolean;
|
|
41
|
+
isInit: boolean;
|
|
37
42
|
widgetType: string | null;
|
|
38
43
|
valueList: {
|
|
39
44
|
value: any;
|
|
40
|
-
label:
|
|
45
|
+
label: any;
|
|
41
46
|
}[] | undefined;
|
|
42
47
|
defaultValue: any;
|
|
43
48
|
defValueUnit: any;
|
|
44
49
|
multiple: boolean;
|
|
50
|
+
manualMapping: boolean | null | undefined;
|
|
51
|
+
dynamicOptionInfo: import("..").dynamicOptionInfoType | {} | undefined;
|
|
45
52
|
};
|
|
53
|
+
rangeFilter: boolean | undefined;
|
|
46
54
|
title: string;
|
|
47
55
|
alias: string | undefined;
|
|
48
56
|
isShowSearch: number;
|
|
@@ -50,7 +58,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
50
58
|
explicitRequired: number;
|
|
51
59
|
advanceOptionSetting: string;
|
|
52
60
|
placeholder: string | undefined;
|
|
53
|
-
advanceColWidth:
|
|
61
|
+
advanceColWidth: number | null | undefined;
|
|
54
62
|
}[];
|
|
55
63
|
transformParams: (paramsList: any) => {};
|
|
56
64
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -58,6 +66,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
58
66
|
type: import("vue").PropType<import("..").IsettingsType>;
|
|
59
67
|
default: () => {
|
|
60
68
|
hideQuickSearch: number;
|
|
69
|
+
hideResetBtn: number;
|
|
61
70
|
};
|
|
62
71
|
};
|
|
63
72
|
searchFieldList: {
|
|
@@ -68,6 +77,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
68
77
|
type: NumberConstructor;
|
|
69
78
|
default: number;
|
|
70
79
|
};
|
|
80
|
+
filterApiConfig: {
|
|
81
|
+
type: ObjectConstructor;
|
|
82
|
+
};
|
|
71
83
|
}>> & {
|
|
72
84
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
73
85
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|
|
@@ -83,126 +95,36 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
83
95
|
}[]>;
|
|
84
96
|
showResetFilterBtn: import("vue").Ref<boolean>;
|
|
85
97
|
outSearchFieldList: import("vue").Ref<{
|
|
98
|
+
isShowSearch?: number | undefined;
|
|
99
|
+
filterExplicit?: number | undefined;
|
|
100
|
+
explicitRequired?: number | undefined;
|
|
101
|
+
advanceOptionSetting?: string | undefined;
|
|
102
|
+
explicitDefaultVal?: string | undefined;
|
|
103
|
+
advanceColWidth?: string | undefined;
|
|
104
|
+
fieldType?: string | undefined;
|
|
86
105
|
columnName: string;
|
|
87
106
|
title: string;
|
|
88
|
-
fieldType?: string | undefined;
|
|
89
|
-
filterExplicit?: number | undefined;
|
|
90
|
-
isShowSearch?: number | undefined;
|
|
91
|
-
setting?: any;
|
|
92
|
-
settingObj?: any;
|
|
93
107
|
placeholder?: string | undefined;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
EQ?: string | undefined;
|
|
99
|
-
LABELAttr?: boolean | undefined;
|
|
100
|
-
_isBlock?: boolean | undefined;
|
|
108
|
+
settingObj?: any;
|
|
109
|
+
setting?: any;
|
|
110
|
+
widgetCfg?: any;
|
|
111
|
+
rangeFilter?: boolean | undefined;
|
|
101
112
|
_frontId?: any;
|
|
102
|
-
NUMBERFiled?: boolean | undefined;
|
|
103
|
-
PASSWORDTYPE?: boolean | undefined;
|
|
104
|
-
advanceColWidth?: string | undefined;
|
|
105
|
-
advanceOptionSetting?: string | undefined;
|
|
106
|
-
alias?: string | undefined;
|
|
107
|
-
ageObj?: any;
|
|
108
|
-
attr?: string | undefined;
|
|
109
|
-
bigValue?: string | number | undefined;
|
|
110
|
-
classify?: string | undefined;
|
|
111
|
-
colWidth?: number | undefined;
|
|
112
|
-
columnFullName?: string | undefined;
|
|
113
|
-
com?: string | undefined;
|
|
114
|
-
comType?: string | undefined;
|
|
115
|
-
comAttr?: string | undefined;
|
|
116
|
-
con?: string | undefined;
|
|
117
|
-
dataSource?: any;
|
|
118
|
-
dictionarieObj?: any;
|
|
119
|
-
explicitRequired?: number | undefined;
|
|
120
|
-
explicitDefaultVal?: string | undefined;
|
|
121
|
-
extraField?: boolean | undefined;
|
|
122
|
-
fieldSetting?: string | undefined;
|
|
123
|
-
format?: string | undefined;
|
|
124
|
-
i18n?: string | undefined;
|
|
125
|
-
id?: string | undefined;
|
|
126
|
-
inputVal?: string | undefined;
|
|
127
|
-
inputUnit?: string | undefined;
|
|
128
|
-
isAvg?: number | undefined;
|
|
129
|
-
isEdit?: number | undefined;
|
|
130
|
-
isFixed?: number | undefined;
|
|
131
|
-
isFixedShow?: number | undefined;
|
|
132
|
-
isFontWeight?: number | undefined;
|
|
133
|
-
isMerge?: number | undefined;
|
|
134
|
-
isOrder?: number | undefined;
|
|
135
|
-
isPreciseSearch?: boolean | undefined;
|
|
136
113
|
isRender?: boolean | undefined;
|
|
137
|
-
isSearch?: number | undefined;
|
|
138
|
-
isShow?: number | undefined;
|
|
139
|
-
isSort?: number | undefined;
|
|
140
|
-
isSum?: number | undefined;
|
|
141
|
-
labelObj?: any;
|
|
142
|
-
labelList?: {
|
|
143
|
-
labelId?: string | undefined;
|
|
144
|
-
change_text: string;
|
|
145
|
-
field_key: string;
|
|
146
|
-
filter: {
|
|
147
|
-
con: string;
|
|
148
|
-
conName?: string | undefined;
|
|
149
|
-
field_key: string;
|
|
150
|
-
key?: string | undefined;
|
|
151
|
-
value: string;
|
|
152
|
-
}[];
|
|
153
|
-
label: string;
|
|
154
|
-
labelName: string;
|
|
155
|
-
sqlExpression: string;
|
|
156
|
-
value: string;
|
|
157
|
-
isSelect?: boolean | undefined;
|
|
158
|
-
}[] | undefined;
|
|
159
|
-
labelSelectList?: {
|
|
160
|
-
labelId?: string | undefined;
|
|
161
|
-
change_text: string;
|
|
162
|
-
field_key: string;
|
|
163
|
-
filter: {
|
|
164
|
-
con: string;
|
|
165
|
-
conName?: string | undefined;
|
|
166
|
-
field_key: string;
|
|
167
|
-
key?: string | undefined;
|
|
168
|
-
value: string;
|
|
169
|
-
}[];
|
|
170
|
-
label: string;
|
|
171
|
-
labelName: string;
|
|
172
|
-
sqlExpression: string;
|
|
173
|
-
value: string;
|
|
174
|
-
isSelect?: boolean | undefined;
|
|
175
|
-
}[] | undefined;
|
|
176
|
-
lessValue?: string | number | undefined;
|
|
177
|
-
marginx?: string | undefined;
|
|
178
|
-
notParticipatingSearch?: number | undefined;
|
|
179
|
-
order?: string | undefined;
|
|
180
|
-
QUOTE?: any;
|
|
181
|
-
searchPageConfig?: any;
|
|
182
|
-
selecteds?: any;
|
|
183
|
-
sequence?: number | undefined;
|
|
184
|
-
showDate?: boolean | undefined;
|
|
185
|
-
showFormat?: string | undefined;
|
|
186
|
-
showTime?: boolean | undefined;
|
|
187
|
-
sid?: string | undefined;
|
|
188
|
-
start_val?: number | null | undefined;
|
|
189
|
-
end_val?: number | null | undefined;
|
|
190
|
-
tempCon?: any;
|
|
191
|
-
tableId?: string | undefined;
|
|
192
|
-
value?: any;
|
|
193
|
-
unit?: string | undefined;
|
|
194
|
-
widgetCfg?: any;
|
|
195
|
-
formTitle?: string | undefined;
|
|
196
|
-
random_key?: string | undefined;
|
|
197
114
|
widgetType?: any;
|
|
198
|
-
|
|
199
|
-
|
|
115
|
+
con?: string | undefined;
|
|
116
|
+
_isBlock?: boolean | undefined;
|
|
117
|
+
value?: any;
|
|
118
|
+
sid?: string | undefined;
|
|
119
|
+
alias?: string | undefined;
|
|
200
120
|
}[]>;
|
|
201
121
|
showQuickSearch: import("vue").ComputedRef<boolean>;
|
|
202
|
-
|
|
122
|
+
showResetBtn: import("vue").ComputedRef<boolean>;
|
|
123
|
+
initOutSearchFieldList: () => void;
|
|
203
124
|
isShowSetting: (v: string) => boolean;
|
|
204
125
|
foldQuickSearch: () => void;
|
|
205
126
|
outFilterChange: (config?: {}) => void;
|
|
127
|
+
handleChangeInit: (_frontId: string, bool: boolean) => void;
|
|
206
128
|
getConObjParams: () => any;
|
|
207
129
|
getConObj: (arr: any) => any;
|
|
208
130
|
onFilterSearch: (obj: import("..").ISearchParamsType[], transResult: object, isOutFilter?: boolean, config?: {}) => void;
|
|
@@ -216,19 +138,25 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
216
138
|
modelValue: {
|
|
217
139
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
218
140
|
};
|
|
141
|
+
filterApiConfig: {
|
|
142
|
+
type: ObjectConstructor;
|
|
143
|
+
};
|
|
219
144
|
}, any, {
|
|
220
145
|
initialProps: {};
|
|
221
146
|
}, {
|
|
222
147
|
valueCp(): any;
|
|
223
148
|
}, {
|
|
224
149
|
search(): void;
|
|
225
|
-
getEleWidth(cfg: any):
|
|
150
|
+
getEleWidth(cfg: any): {
|
|
151
|
+
width: string;
|
|
152
|
+
} | undefined;
|
|
226
153
|
initComponentProps(cfg: any): void;
|
|
227
154
|
generateWidget(cfg: any): import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
228
155
|
[key: string]: any;
|
|
229
156
|
}> | null;
|
|
230
|
-
handleUpdate(val: any
|
|
231
|
-
|
|
157
|
+
handleUpdate(val: any): void;
|
|
158
|
+
handleChangeInitState(_frontId: any, bool: any): void;
|
|
159
|
+
}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("update:modelValue" | "outFilterChange" | "changeInit")[], "update:modelValue" | "outFilterChange" | "changeInit", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
232
160
|
cfg: {
|
|
233
161
|
type: ObjectConstructor;
|
|
234
162
|
required: true;
|
|
@@ -236,9 +164,13 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
236
164
|
modelValue: {
|
|
237
165
|
type: (ArrayConstructor | NumberConstructor | StringConstructor)[];
|
|
238
166
|
};
|
|
167
|
+
filterApiConfig: {
|
|
168
|
+
type: ObjectConstructor;
|
|
169
|
+
};
|
|
239
170
|
}>> & {
|
|
240
171
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
241
172
|
onOutFilterChange?: ((...args: any[]) => any) | undefined;
|
|
173
|
+
onChangeInit?: ((...args: any[]) => any) | undefined;
|
|
242
174
|
}, {}>;
|
|
243
175
|
NIcon: any;
|
|
244
176
|
NButton: any;
|
|
@@ -248,6 +180,7 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
248
180
|
type: import("vue").PropType<import("..").IsettingsType>;
|
|
249
181
|
default: () => {
|
|
250
182
|
hideQuickSearch: number;
|
|
183
|
+
hideResetBtn: number;
|
|
251
184
|
};
|
|
252
185
|
};
|
|
253
186
|
searchFieldList: {
|
|
@@ -258,6 +191,9 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
258
191
|
type: NumberConstructor;
|
|
259
192
|
default: number;
|
|
260
193
|
};
|
|
194
|
+
filterApiConfig: {
|
|
195
|
+
type: ObjectConstructor;
|
|
196
|
+
};
|
|
261
197
|
}>> & {
|
|
262
198
|
onFoldQuickSearch?: ((...args: any[]) => any) | undefined;
|
|
263
199
|
onOnFilterSearch?: ((...args: any[]) => any) | undefined;
|