cnhis-design-vue 3.1.45-beta.9 → 3.1.45-release.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/annotation-edit/src/AnnotationEdit.js +1 -1
- package/es/components/base-search/index.d.ts +0 -2
- package/es/components/base-search/src/index.vue.d.ts +0 -2
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/classification/index.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +11 -165
- package/es/components/classification/src/components/search-filter/index.vue2.js +1 -1
- package/es/components/classification/src/components/set-classification/index.vue.d.ts +11 -165
- package/es/components/classification/src/index.vue.d.ts +11 -165
- package/es/components/fabric-chart/index.d.ts +5 -40
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +5 -40
- package/es/components/fabric-chart/src/hooks/birthProcess/useBirthProcess.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.d.ts +0 -20
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useLeft.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useRight.js +1 -1
- package/es/components/fabric-chart/src/hooks/temperature/useTop.js +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useDraw.js +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.d.ts +1 -1
- package/es/components/fabric-chart/src/hooks/useGrid.js +1 -1
- package/es/components/fabric-chart/src/interface.d.ts +0 -13
- package/es/components/fabric-chart/src/utils/index.d.ts +1 -2
- package/es/components/fabric-chart/src/utils/index.js +1 -1
- package/es/components/field-set/index.d.ts +38 -157
- package/es/components/field-set/src/FieldSet.vue.d.ts +23 -160
- package/es/components/field-set/src/FieldSet.vue2.js +1 -1
- package/es/components/field-set/src/types/index.d.ts +0 -1
- package/es/components/field-set/style/index.css +1 -1
- package/es/components/form-config/index.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue.d.ts +48 -3561
- package/es/components/form-config/src/FormConfig.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +4 -31
- package/es/components/form-config/src/components/FormConfigDragDisplay.vue2.js +1 -1
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +4 -33
- package/es/components/form-config/src/components/FormConfigMaterialItem.d.ts +1 -11
- package/es/components/form-config/src/components/FormConfigMaterialItem.js +1 -1
- package/es/components/form-config/src/components/renderer/DefaultNode.vue.d.ts +0 -2
- package/es/components/form-config/src/components/renderer/DefaultNode.vue2.js +1 -1
- package/es/components/form-config/src/constants/index.d.ts +0 -1
- package/es/components/form-config/src/constants/index.js +1 -1
- package/es/components/form-config/src/hooks/useSortalbeConfig.js +1 -1
- package/es/components/form-config/src/types/index.d.ts +0 -2
- package/es/components/form-config/style/index.css +1 -1
- package/es/components/form-render/index.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue.d.ts +4 -31
- package/es/components/form-render/src/FormRender.vue2.js +1 -1
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +4 -31
- package/es/components/form-render/src/components/renderer/combination.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/combination.js +1 -1
- package/es/components/form-render/src/components/renderer/jsonCombination/index.d.ts +5 -5
- package/es/components/form-render/src/components/renderer/jsonCombination/index.js +1 -1
- package/es/components/form-render/src/components/renderer/levelSearchCascader.js +1 -1
- package/es/components/form-render/src/constants/index.d.ts +0 -2
- package/es/components/form-render/src/constants/index.js +1 -1
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormAsyncQueue.js +1 -1
- package/es/components/form-render/src/hooks/useFormContext.js +1 -1
- package/es/components/form-render/src/hooks/useFormRenderLifeCycle.d.ts +1 -3
- package/es/components/form-render/src/hooks/useFormRenderOptions.d.ts +1 -1
- package/es/components/form-render/src/hooks/useFormRenderOptions.js +1 -1
- package/es/components/form-render/src/hooks/useNuiThemeOverrides.js +1 -1
- package/es/components/form-render/src/types/index.d.ts +0 -2
- package/es/components/iho-table/src/plugins/lowCodeFieldAdaptorPlugin/index.js +1 -1
- package/es/components/index.css +1 -1
- package/es/components/info-header/index.d.ts +10 -72
- package/es/components/info-header/src/InfoHeader.vue.d.ts +10 -72
- package/es/components/info-header/src/components/infoDescription/index.vue.d.ts +4 -31
- package/es/components/info-header/src/components/patientInfo/index.vue.d.ts +4 -31
- package/es/components/keyboard/index.d.ts +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +1 -1
- package/es/components/quick-search/index.d.ts +0 -2
- package/es/components/quick-search/src/index.vue.d.ts +0 -2
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/recommend-search/index.d.ts +2 -2
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/BaseSearch.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +1 -1
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/search-cascader/index.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue.d.ts +3 -16
- package/es/components/search-cascader/src/SearchCascader.vue2.js +1 -1
- package/es/components/search-cascader/src/hooks/index.d.ts +1 -0
- package/es/components/search-cascader/src/hooks/index.js +1 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.d.ts +3 -0
- package/es/components/search-cascader/src/hooks/useCssVariable.js +1 -0
- 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/shortcut-setter/index.d.ts +4 -31
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +4 -31
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +10 -165
- 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 -16
- package/es/components/table-filter/src/components/classify-filter/components/Date.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue.d.ts +0 -18
- package/es/components/table-filter/src/components/classify-filter/components/DateRange.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue.d.ts +10 -128
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +0 -1
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue2.js +1 -1
- package/es/components/table-filter/src/components/classify-filter/components/index.d.ts +10 -163
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +10 -165
- 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/{DateOut.vue.d.ts → Date.vue.d.ts} +2 -21
- 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/Date.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +5 -99
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue.d.ts +9 -13
- package/es/components/table-filter/src/components/render-widget/components/DateRangeOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue.d.ts +5 -7
- package/es/components/table-filter/src/components/render-widget/components/LabelInner.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue.d.ts +5 -6
- package/es/components/table-filter/src/components/render-widget/components/LabelOut.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +25 -15
- package/es/components/table-filter/src/components/render-widget/components/Select.vue2.js +1 -1
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +25 -520
- 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 +3 -10
- 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 +6 -2
- 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.js +1 -1
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +24 -548
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +0 -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/tool/baseOptions.js +1 -1
- package/es/components/table-filter/src/types/enums.d.ts +0 -2
- package/es/components/table-filter/src/types/enums.js +1 -1
- 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/hooks/useAsyncQueue.d.ts +1 -3
- package/es/shared/hooks/useAsyncQueue.js +1 -1
- 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/hooks/surgicalAnesthesia/index.d.ts +0 -2
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/index.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useCenter.js +0 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.d.ts +0 -4
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useTop.js +0 -1
- package/es/components/field-set/src/components/Row.vue.d.ts +0 -132
- package/es/components/field-set/src/components/Row.vue.js +0 -1
- package/es/components/field-set/src/components/Row.vue2.js +0 -1
- package/es/components/field-set/src/utils/index.d.ts +0 -7
- package/es/components/field-set/src/utils/index.js +0 -1
- package/es/components/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +0 -77
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +0 -93
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +0 -3
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +0 -3
- package/es/components/iho-table/src/utils/dist/index.d.ts +0 -44
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +0 -36
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +0 -82
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +0 -57
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +0 -57
- package/es/components/table-filter/src/components/classify-filter/components/SelectDynamic1.vue.d.ts +0 -61
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +0 -218
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +0 -71
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Select1.vue.d.ts +0 -45
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +0 -175
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +0 -114
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +0 -27
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +0 -55
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +0 -1
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +0 -56
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +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
|
+
```
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{defineComponent as e,computed as o,ref as a,onDeactivated as t,createVNode as l,unref as u,createTextVNode as n}from"vue";import{useTheme as i}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as r,isObject as s,isFunction as m}from"lodash-es";import{FileTrayFull as d,FileTray as v}from"@vicons/ionicons5";import{NPopover as c,NDivider as p,NEllipsis as f,NIcon as V,NInput as h}from"naive-ui";var g=e({props:{modelValue:{type:[String,Object],default:""}},emits:["update:modelValue"],setup(e,{emit:g}){const w=i(),x=o({get:()=>r(e.modelValue)?e.modelValue:s(e.modelValue)&&e.modelValue.content||"",set(o){let a=o;s(e.modelValue)&&(a={...e.modelValue,content:o}),g("update:modelValue",a)}}),T=a(!1),
|
|
1
|
+
import{defineComponent as e,computed as o,ref as a,onDeactivated as t,createVNode as l,unref as u,createTextVNode as n}from"vue";import{useTheme as i}from"../../../shared/hooks/useTheme.js";import"@vueuse/core";import"date-fns";import{isString as r,isObject as s,isFunction as m}from"lodash-es";import{FileTrayFull as d,FileTray as v}from"@vicons/ionicons5";import{NPopover as c,NDivider as p,NEllipsis as f,NIcon as V,NInput as h}from"naive-ui";var g=e({props:{modelValue:{type:[String,Object],default:""}},emits:["update:modelValue"],setup(e,{emit:g}){const w=i(),x=o({get:()=>r(e.modelValue)?e.modelValue:s(e.modelValue)&&e.modelValue.content||"",set(o){let a=o;s(e.modelValue)&&(a={...e.modelValue,content:o}),g("update:modelValue",a)}}),T=a(!1),b=o({get:()=>T.value,async set(e){T.value=e,!e&&k.value&&(await new Promise((e=>setTimeout(e,200))),k.value=!1)}}),k=a(!1);let y,_;function P(e){e.stopPropagation(),clearTimeout(y),b.value&&k.value?b.value=!1:u(x)||(y=setTimeout((()=>{k.value=b.value=!0}),200))}function M(e){e.stopPropagation(),clearTimeout(y),u(x)&&(b.value=!0,k.value=!0)}function R(e){e.stopPropagation(),clearTimeout(_),u(x)&&(b.value=!0)}function j(e){e.stopPropagation(),clearTimeout(_),u(x)&&!k.value&&(_=setTimeout((()=>{b.value=!1}),300))}return t((()=>{b.value=!1})),function(){return l("section",{class:["annotation-edit",{"is-active":!!u(x)}],style:{"--icon-right":"-5",...w.value},"annotation-hover-show":!u(x)&&!k.value},[l(c,{"keep-alive-on-hover":!0,style:{maxWidth:"360px",wordBreak:"break-all"},show:b.value,"onUpdate:show":e=>b.value=e,trigger:"manual",duration:100},{default:function(){return l("section",{onMouseleave:j,onMouseenter:R},[l("div",null,[k.value?l(h,{resizable:!1,autosize:{minRows:3,maxRows:5},"show-count":!0,class:"annotation-edit__textarea",type:"textarea",value:x.value,"onUpdate:value":e=>x.value=e},null):l("span",null,[u(x)])]),s(e.modelValue)?[l(p,{style:{margin:"4px 0",minWidth:"360px"}},null),l("section",{class:"annotation-edit__footer"},[m(e.modelValue.footerRender)?e.modelValue.footerRender(e.modelValue):[l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.authorLabel)?o:"质控人",n(": "),e.modelValue.author]}}),l(f,null,{default:()=>{var o;return[null!=(o=e.modelValue.dateLabel)?o:"质控时间",n(": "),e.modelValue.date]}})]])]:null])},trigger:function(){return l("div",{class:"annotation-edit__icon",onMouseleave:j,onMouseenter:R,onDblclick:M,onClick:P},[l(V,{component:u(x)?d:v},null)])}})])}}});export{g as default};
|
|
@@ -41,14 +41,12 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
41
41
|
isRender: boolean;
|
|
42
42
|
isInit: boolean;
|
|
43
43
|
widgetType: string | null;
|
|
44
|
-
originType: string | null;
|
|
45
44
|
valueList: {
|
|
46
45
|
value: any;
|
|
47
46
|
label: any;
|
|
48
47
|
}[] | undefined;
|
|
49
48
|
defaultValue: any;
|
|
50
49
|
defValueUnit: any;
|
|
51
|
-
optionSetting: string | undefined;
|
|
52
50
|
multiple: boolean;
|
|
53
51
|
manualMapping: boolean | null | undefined;
|
|
54
52
|
dynamicOptionInfo: import("..").dynamicOptionInfoType | {} | undefined;
|
|
@@ -42,14 +42,12 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
isRender: boolean;
|
|
43
43
|
isInit: boolean;
|
|
44
44
|
widgetType: string | null;
|
|
45
|
-
originType: string | null;
|
|
46
45
|
valueList: {
|
|
47
46
|
value: any;
|
|
48
47
|
label: any;
|
|
49
48
|
}[] | undefined;
|
|
50
49
|
defaultValue: any;
|
|
51
50
|
defValueUnit: any;
|
|
52
|
-
optionSetting: string | undefined;
|
|
53
51
|
multiple: boolean;
|
|
54
52
|
manualMapping: boolean | null | undefined;
|
|
55
53
|
dynamicOptionInfo: import("../../../../es/components/table-filter/src/types").dynamicOptionInfoType | {} | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.
|
|
1
|
+
@font-face{font-family:base-search-iconfont;src:url(base-search-iconfont.ttf) format("truetype")}.iconfont-table-filter{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-family:base-search-iconfont!important;font-size:14px;font-style:normal}.icon-table-filter-menzhenyishengzhananniuqingchu:before{content:"\e74e"}.icon-table-filter-menzhenyishengzhananniushanchu2:before{content:"\e757"}.icon-table-filter-menzhenyishengzhanxitongtubiaoguanbi:before{content:"\e76e"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuixiaohua2:before{content:"\e778"}.icon-table-filter-menzhenyishengzhanxitongtubiaozuidahua:before{content:"\e779"}.icon-table-filter-reset:before{content:"\e611"}.icon-table-filter-shaixuan:before{content:"\e64b"}.render-widget-input-number-group{align-items:center;display:flex}.render-widget-input-number-group .divider{text-align:center;width:24px}.n-base-select-option__content{width:100%}.n-base-select-option__content .select-widget-dynamic-option{display:flex;flex-wrap:nowrap;width:100%}.n-base-select-option__content .select-widget-dynamic-option .select-widget-dynamic-item{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.render-widget-date-range{align-items:center;display:flex;flex-wrap:nowrap;width:100%}.render-widget-date-range .radio-date-group{border:1px solid #d9d9d9;display:flex;min-width:720px}.render-widget-date-range .radio-date-group .radio-date-item{border-left:1px solid #d9d9d9;cursor:pointer;height:30px;line-height:30px;padding:0 8px}.render-widget-date-range .radio-date-group .radio-date-item:first-child{border:none}.render-widget-date-range .radio-date-group .radio-date-item.radio-date-item-active{background:#3e65cf;border-color:#3e65cf;color:#fff}.render-widget-date-range .select-date-left{margin-left:16px}.render-widget-date-range .select-date-right{margin-right:16px}.render-widget-date-range .date-detail-range{display:flex;flex-wrap:nowrap}.render-widget-date-range .date-detail-range .divider{text-align:center;width:10px}.label-attr-filter-container .edit-f-label{font-size:14px;line-height:32px;padding-left:0}.label-attr-filter-container .edit-f-content.label-select-height{flex:none;height:74px;overflow:hidden}.label-attr-filter-container .edit-f-content .label-f-content{display:flex;flex-wrap:wrap}.label-attr-filter-container .edit-f-content .label-f-content .n-tag{border:1px solid #e0e0e6;height:32px;margin:0 8px 8px 0;max-width:108px;text-align:center}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content{align-items:center;display:inline-flex}.label-attr-filter-container .edit-f-content .label-f-content .n-tag .n-tag__content span{display:inline-block;height:100%;line-height:30px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:80px}.label-attr-filter-container .label-f-unfold-btn{margin:8px 0}.label-attr-filter-container .label-f-unfold-btn .operate-btn{align-items:center;cursor:pointer;display:flex}.label-attr-filter-container .label-f-unfold-btn .operate-btn .n-icon{margin-left:6px}.base-search-block .base-container{display:flex;justify-content:space-between;text-align:left}.base-search-block .base-container .bease-left{align-items:flex-start;display:flex;flex:1;justify-content:flex-start}.base-search-block .base-container .bease-left .base-ul{align-items:center;display:flex;flex-wrap:wrap;margin-top:0}.base-search-block .base-container .bease-left .base-ul .baseli{display:flex;margin-bottom:8px;margin-right:8px}.base-search-block .base-container .bease-left .base-ul .baseli .search-default{height:32px;line-height:32px}
|
|
@@ -566,6 +566,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
566
566
|
bodyStyle: import("vue").Ref<{
|
|
567
567
|
maxHeight: string;
|
|
568
568
|
height: string;
|
|
569
|
+
overflowY: string;
|
|
569
570
|
}>;
|
|
570
571
|
conditionApiRef: any;
|
|
571
572
|
filterTimer: any;
|
|
@@ -734,9 +735,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
734
735
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
735
736
|
widgetType: import("vue").ComputedRef<any>;
|
|
736
737
|
Date: import("vue").DefineComponent<{
|
|
737
|
-
componentCfg: {
|
|
738
|
-
type: ObjectConstructor;
|
|
739
|
-
};
|
|
740
738
|
paramCfg: {
|
|
741
739
|
type: ObjectConstructor;
|
|
742
740
|
default: null;
|
|
@@ -751,9 +749,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
751
749
|
};
|
|
752
750
|
}, {
|
|
753
751
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
754
|
-
componentCfg: {
|
|
755
|
-
type: ObjectConstructor;
|
|
756
|
-
};
|
|
757
752
|
paramCfg: {
|
|
758
753
|
type: ObjectConstructor;
|
|
759
754
|
default: null;
|
|
@@ -776,17 +771,11 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
776
771
|
dateType: any;
|
|
777
772
|
valueFormat: import("vue").ComputedRef<string>;
|
|
778
773
|
compType: import("vue").ComputedRef<any>;
|
|
779
|
-
|
|
774
|
+
mappingConfig: import("vue").ComputedRef<any>;
|
|
780
775
|
widgetOptions: import("vue").ComputedRef<{
|
|
781
776
|
label: string;
|
|
782
777
|
value: string;
|
|
783
778
|
}[]>;
|
|
784
|
-
isDateDisabled: (ts: number) => boolean;
|
|
785
|
-
timeDisabled: (ts: number) => {
|
|
786
|
-
isHourDisabled(hour: number): boolean | undefined;
|
|
787
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | undefined;
|
|
788
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | undefined;
|
|
789
|
-
};
|
|
790
779
|
CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
791
780
|
updateUnchangedValue: {
|
|
792
781
|
type: BooleanConstructor;
|
|
@@ -858,9 +847,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
858
847
|
LAST_YEAR: string;
|
|
859
848
|
};
|
|
860
849
|
}, 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<{
|
|
861
|
-
componentCfg: {
|
|
862
|
-
type: ObjectConstructor;
|
|
863
|
-
};
|
|
864
850
|
paramCfg: {
|
|
865
851
|
type: ObjectConstructor;
|
|
866
852
|
default: null;
|
|
@@ -1012,7 +998,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1012
998
|
default: null;
|
|
1013
999
|
};
|
|
1014
1000
|
}, {
|
|
1015
|
-
message: import("naive-ui").MessageApi;
|
|
1016
1001
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1017
1002
|
paramCfg: {
|
|
1018
1003
|
type: ObjectConstructor;
|
|
@@ -1026,145 +1011,27 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1026
1011
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1027
1012
|
}>>;
|
|
1028
1013
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
1014
|
+
$attrs: {
|
|
1015
|
+
[x: string]: unknown;
|
|
1016
|
+
};
|
|
1029
1017
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1018
|
+
selectOptions: import("vue").Ref<any[]>;
|
|
1030
1019
|
isLoading: import("vue").Ref<boolean>;
|
|
1031
1020
|
filterApiConfig: import("../../../es/shared/types").AnyObject;
|
|
1032
|
-
|
|
1033
|
-
menuProps: {
|
|
1034
|
-
class: string;
|
|
1035
|
-
};
|
|
1036
|
-
curPage: import("vue").Ref<number>;
|
|
1037
|
-
fieldTitleList: import("vue").Ref<any>;
|
|
1038
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
1039
|
-
keywordVal: import("vue").Ref<any>;
|
|
1021
|
+
valueCp: import("vue").WritableComputedRef<any>;
|
|
1040
1022
|
optionSetting: import("vue").ComputedRef<any>;
|
|
1041
1023
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
1042
|
-
|
|
1043
|
-
isLastPage: import("vue").ComputedRef<boolean>;
|
|
1044
|
-
valueCp: import("vue").ComputedRef<string | number | any[]>;
|
|
1045
|
-
setOptionActive: (selectIds: string[]) => void;
|
|
1046
|
-
handleUpdateSelect: (value: string[] | null) => void;
|
|
1047
|
-
handleUpdatePage: (page: number) => Promise<void>;
|
|
1048
|
-
getOptionsData: (keyword: string, curPage: number) => Promise<any>;
|
|
1024
|
+
searchOptions: (keyword: string) => Promise<any>;
|
|
1049
1025
|
_handleSearch: (query: string) => Promise<void>;
|
|
1050
1026
|
handleSearch: (query: string) => Promise<void>;
|
|
1051
1027
|
handleInitData: () => Promise<void>;
|
|
1052
|
-
|
|
1028
|
+
renderLabel: (option: import("naive-ui").SelectOption) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1029
|
+
[key: string]: any;
|
|
1030
|
+
}>;
|
|
1053
1031
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1054
1032
|
[key: string]: any;
|
|
1055
1033
|
}>;
|
|
1056
1034
|
NSelect: any;
|
|
1057
|
-
SelectDynamicOption: import("vue").DefineComponent<{
|
|
1058
|
-
dynamicOptionInfo: {
|
|
1059
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
1060
|
-
default: () => {};
|
|
1061
|
-
};
|
|
1062
|
-
fieldTitleList: {
|
|
1063
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1064
|
-
default: () => never[];
|
|
1065
|
-
};
|
|
1066
|
-
optionList: {
|
|
1067
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1068
|
-
default: () => never[];
|
|
1069
|
-
};
|
|
1070
|
-
isMultiple: {
|
|
1071
|
-
type: BooleanConstructor;
|
|
1072
|
-
default: boolean;
|
|
1073
|
-
};
|
|
1074
|
-
curPage: {
|
|
1075
|
-
type: NumberConstructor;
|
|
1076
|
-
default: number;
|
|
1077
|
-
};
|
|
1078
|
-
isLastPage: {
|
|
1079
|
-
type: BooleanConstructor;
|
|
1080
|
-
default: boolean;
|
|
1081
|
-
};
|
|
1082
|
-
}, {
|
|
1083
|
-
selectMinWidth: number;
|
|
1084
|
-
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1085
|
-
dynamicOptionInfo: {
|
|
1086
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
1087
|
-
default: () => {};
|
|
1088
|
-
};
|
|
1089
|
-
fieldTitleList: {
|
|
1090
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1091
|
-
default: () => never[];
|
|
1092
|
-
};
|
|
1093
|
-
optionList: {
|
|
1094
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1095
|
-
default: () => never[];
|
|
1096
|
-
};
|
|
1097
|
-
isMultiple: {
|
|
1098
|
-
type: BooleanConstructor;
|
|
1099
|
-
default: boolean;
|
|
1100
|
-
};
|
|
1101
|
-
curPage: {
|
|
1102
|
-
type: NumberConstructor;
|
|
1103
|
-
default: number;
|
|
1104
|
-
};
|
|
1105
|
-
isLastPage: {
|
|
1106
|
-
type: BooleanConstructor;
|
|
1107
|
-
default: boolean;
|
|
1108
|
-
};
|
|
1109
|
-
}>> & {
|
|
1110
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1111
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1112
|
-
}>>;
|
|
1113
|
-
emit: (event: "updateSelect" | "updatePage", ...args: any[]) => void;
|
|
1114
|
-
dragEndWidth: import("vue").Ref<number>;
|
|
1115
|
-
showKeys: import("vue").ComputedRef<any>;
|
|
1116
|
-
titleList: import("vue").ComputedRef<string[]>;
|
|
1117
|
-
handleSelect: (option: any) => void;
|
|
1118
|
-
searchByPage: (onePage: number) => void;
|
|
1119
|
-
changeWidth: ({ distance }: any) => void;
|
|
1120
|
-
saveWidth: () => void;
|
|
1121
|
-
NEmpty: any;
|
|
1122
|
-
NButtonGroup: any;
|
|
1123
|
-
NButton: any;
|
|
1124
|
-
NIcon: any;
|
|
1125
|
-
NPopover: any;
|
|
1126
|
-
vFlexibleResize: {
|
|
1127
|
-
mounted(el: any, { value }: any): void;
|
|
1128
|
-
beforeUnmount(el: any): void;
|
|
1129
|
-
};
|
|
1130
|
-
ArrowBack: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1131
|
-
ArrowForward: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, import("vue").EmitsOptions, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>;
|
|
1132
|
-
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("updateSelect" | "updatePage")[], "updateSelect" | "updatePage", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1133
|
-
dynamicOptionInfo: {
|
|
1134
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject>;
|
|
1135
|
-
default: () => {};
|
|
1136
|
-
};
|
|
1137
|
-
fieldTitleList: {
|
|
1138
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1139
|
-
default: () => never[];
|
|
1140
|
-
};
|
|
1141
|
-
optionList: {
|
|
1142
|
-
type: import("vue").PropType<import("../../../es/shared/types").AnyObject[]>;
|
|
1143
|
-
default: () => never[];
|
|
1144
|
-
};
|
|
1145
|
-
isMultiple: {
|
|
1146
|
-
type: BooleanConstructor;
|
|
1147
|
-
default: boolean;
|
|
1148
|
-
};
|
|
1149
|
-
curPage: {
|
|
1150
|
-
type: NumberConstructor;
|
|
1151
|
-
default: number;
|
|
1152
|
-
};
|
|
1153
|
-
isLastPage: {
|
|
1154
|
-
type: BooleanConstructor;
|
|
1155
|
-
default: boolean;
|
|
1156
|
-
};
|
|
1157
|
-
}>> & {
|
|
1158
|
-
onUpdateSelect?: ((...args: any[]) => any) | undefined;
|
|
1159
|
-
onUpdatePage?: ((...args: any[]) => any) | undefined;
|
|
1160
|
-
}, {
|
|
1161
|
-
dynamicOptionInfo: import("../../../es/shared/types").AnyObject;
|
|
1162
|
-
fieldTitleList: import("../../../es/shared/types").AnyObject[];
|
|
1163
|
-
optionList: import("../../../es/shared/types").AnyObject[];
|
|
1164
|
-
isMultiple: boolean;
|
|
1165
|
-
curPage: number;
|
|
1166
|
-
isLastPage: boolean;
|
|
1167
|
-
}>;
|
|
1168
1035
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1169
1036
|
paramCfg: {
|
|
1170
1037
|
type: ObjectConstructor;
|
|
@@ -1270,15 +1137,8 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1270
1137
|
valueFormat: import("vue").ComputedRef<string>;
|
|
1271
1138
|
dateFormat: import("vue").ComputedRef<string>;
|
|
1272
1139
|
compType: import("vue").ComputedRef<any>;
|
|
1273
|
-
optionSetting: import("vue").ComputedRef<any>;
|
|
1274
|
-
isPastTime: import("vue").ComputedRef<boolean>;
|
|
1275
|
-
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
1276
1140
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
1277
1141
|
endPlaceholder: import("vue").ComputedRef<"截止日期" | "截止时间">;
|
|
1278
|
-
startDefault: import("vue").ComputedRef<string>;
|
|
1279
|
-
endDefault: import("vue").ComputedRef<string>;
|
|
1280
|
-
startDateFormat: import("vue").ComputedRef<string | null>;
|
|
1281
|
-
endDateFormat: import("vue").ComputedRef<string | null>;
|
|
1282
1142
|
dateType: any;
|
|
1283
1143
|
widgetOptions: import("vue").ComputedRef<{
|
|
1284
1144
|
label: string;
|
|
@@ -1287,19 +1147,8 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1287
1147
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
1288
1148
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
1289
1149
|
isStartDateDisabled: (ts: number) => boolean;
|
|
1290
|
-
timeStartDisabled: (ts: number) => {
|
|
1291
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
1292
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
1293
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
1294
|
-
};
|
|
1295
1150
|
isEndDateDisabled: (ts: number) => boolean;
|
|
1296
|
-
timeEndDisabled: (ts: number) => {
|
|
1297
|
-
isHourDisabled(hour: number): boolean | 0;
|
|
1298
|
-
isMinuteDisabled(minute: number, hour: number | null): boolean | 0;
|
|
1299
|
-
isSecondDisabled(second: number, minute: number | null, hour: number | null): boolean | 0;
|
|
1300
|
-
};
|
|
1301
1151
|
NSelect: any;
|
|
1302
|
-
NPopover: any;
|
|
1303
1152
|
CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
1304
1153
|
updateUnchangedValue: {
|
|
1305
1154
|
type: BooleanConstructor;
|
|
@@ -1401,7 +1250,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1401
1250
|
};
|
|
1402
1251
|
}, {
|
|
1403
1252
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
1404
|
-
message: import("naive-ui").MessageApi;
|
|
1405
1253
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1406
1254
|
paramCfg: {
|
|
1407
1255
|
type: ObjectConstructor;
|
|
@@ -1441,9 +1289,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1441
1289
|
INPUT: string;
|
|
1442
1290
|
SELECT: string;
|
|
1443
1291
|
DATE: string;
|
|
1444
|
-
DATE_OUT: string;
|
|
1445
1292
|
DATE_TIME: string;
|
|
1446
|
-
DATETIME_OUT: string;
|
|
1447
1293
|
CHECKBOX_GROUP: string;
|
|
1448
1294
|
INPUTNUMBER_RANGE: string;
|
|
1449
1295
|
DATE_RANGE_OUT: string;
|