cnhis-design-vue 3.1.45-beta.8 → 3.1.45-beta.9
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 +2 -0
- package/es/components/base-search/src/index.vue.d.ts +2 -0
- package/es/components/base-search/style/index.css +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/types/BpmnViewer.d.ts +1 -0
- package/es/components/bpmn-workflow/types/ModelingModule.d.ts +1 -0
- package/es/components/bpmn-workflow/types/MoveCanvasModule.d.ts +1 -0
- package/es/components/classification/index.d.ts +165 -11
- package/es/components/classification/src/components/search-filter/index.vue.d.ts +165 -11
- 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 +165 -11
- package/es/components/classification/src/index.vue.d.ts +165 -11
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/useSurgicalAnesthesiaChart.js +1 -1
- package/es/components/fabric-chart/src/hooks/surgicalAnesthesia/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/form-render/src/components/renderer/dist/levelSearchCascader.d.ts +77 -0
- package/es/components/form-render/src/components/renderer/dist/searchCascade.d.ts +93 -0
- package/es/components/iho-table/src/plugins/dist/highLightSetPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/filterRenderPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/defaultRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/widgets/dist/seqRendererPlugin.d.ts +3 -0
- package/es/components/iho-table/src/plugins/varialbleHeightPlugin/dist/index.d.ts +3 -0
- package/es/components/iho-table/src/utils/dist/index.d.ts +44 -0
- package/es/components/index.css +1 -1
- package/es/components/quick-search/index.d.ts +2 -0
- package/es/components/quick-search/src/index.vue.d.ts +2 -0
- package/es/components/quick-search/style/index.css +1 -1
- package/es/components/scale-view/src/ScaleView.vue2.js +1 -1
- package/es/components/scale-view/src/components/formitem/dist/r-address.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/r-sign.d.ts +36 -0
- package/es/components/scale-view/src/components/formitem/dist/standard-modal.d.ts +82 -0
- package/es/components/search-cascader/src/components/dist/SearchMenu.d.ts +57 -0
- package/es/components/search-cascader/src/components/dist/SearchMenu1.d.ts +57 -0
- package/es/components/select-label/src/LabelFormContent.vue2.js +1 -1
- package/es/components/select-person/src/SearchMultiple.vue.d.ts +0 -6
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +165 -10
- 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 +16 -1
- 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 +18 -0
- 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 +128 -10
- 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/SelectDynamic1.vue.d.ts +61 -0
- package/es/components/table-filter/src/components/classify-filter/components/SelectLabel.vue.d.ts +1 -0
- 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 +163 -10
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +165 -10
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.d.ts +218 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateInner.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/{Date.vue.d.ts → DateOut.vue.d.ts} +21 -2
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateOut.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.d.ts +71 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateQuickBtn/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/DateRangeInner.vue.d.ts +99 -5
- 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 +13 -9
- 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 +7 -5
- 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 +6 -5
- 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 +15 -25
- 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/Select1.vue.d.ts +45 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.d.ts +175 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamic.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.d.ts +114 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/SelectDynamicOption/index.vue2.js +1 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +520 -25
- 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 +10 -3
- package/es/components/table-filter/src/components/render-widget/enums.js +1 -1
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.d.ts +27 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateDisabled.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.d.ts +55 -0
- package/es/components/table-filter/src/components/render-widget/helpers/dateExtraMap.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.d.ts +56 -0
- package/es/components/table-filter/src/components/render-widget/helpers/enums.js +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +2 -6
- 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 +548 -24
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +1 -1
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +2 -0
- 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 +2 -0
- 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/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/package.json.js +1 -1
- package/es/shared/utils/fabricjs/index.d.ts +6823 -0
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/table-filter/src/components/render-widget/basicData.d.ts +0 -4
- package/es/components/table-filter/src/components/render-widget/basicData.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue.js +0 -1
- package/es/components/table-filter/src/components/render-widget/components/Date.vue2.js +0 -1
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
|
+
```
|
|
@@ -41,12 +41,14 @@ declare const CBaseSearch: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
41
41
|
isRender: boolean;
|
|
42
42
|
isInit: boolean;
|
|
43
43
|
widgetType: string | null;
|
|
44
|
+
originType: string | null;
|
|
44
45
|
valueList: {
|
|
45
46
|
value: any;
|
|
46
47
|
label: any;
|
|
47
48
|
}[] | undefined;
|
|
48
49
|
defaultValue: any;
|
|
49
50
|
defValueUnit: any;
|
|
51
|
+
optionSetting: string | undefined;
|
|
50
52
|
multiple: boolean;
|
|
51
53
|
manualMapping: boolean | null | undefined;
|
|
52
54
|
dynamicOptionInfo: import("..").dynamicOptionInfoType | {} | undefined;
|
|
@@ -42,12 +42,14 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
42
42
|
isRender: boolean;
|
|
43
43
|
isInit: boolean;
|
|
44
44
|
widgetType: string | null;
|
|
45
|
+
originType: string | null;
|
|
45
46
|
valueList: {
|
|
46
47
|
value: any;
|
|
47
48
|
label: any;
|
|
48
49
|
}[] | undefined;
|
|
49
50
|
defaultValue: any;
|
|
50
51
|
defValueUnit: any;
|
|
52
|
+
optionSetting: string | undefined;
|
|
51
53
|
multiple: boolean;
|
|
52
54
|
manualMapping: boolean | null | undefined;
|
|
53
55
|
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}.
|
|
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}.select-dynamic-popover .n-base-select-menu__empty{justify-content:left;padding:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options{background:#fff;box-shadow:0 0 6px rgba(0,0,0,.2);display:flex;flex-direction:column;justify-content:left}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .n-empty{padding:12px 32px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .mixins-options-active{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-header .name{align-items:center;display:flex;flex:1;font-weight:700;height:34px;padding:0 12px}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content{list-style:none;margin:0;max-height:250px;outline:none;overflow:auto;padding-left:0}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li{color:rgba(0,0,0,.65);cursor:pointer;display:flex;font-size:14px;line-height:22px;text-overflow:ellipsis;transition:background .3s ease;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li.actived{color:#5585f5}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li:hover{background:#f1f1f1}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-content li .content{flex:1;overflow:hidden;padding:5px 12px;text-overflow:ellipsis;white-space:nowrap}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination{width:100%}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group{display:flex}.select-dynamic-popover .n-base-select-menu__empty .select-dynamic-options .dynamic-pagination .n-button-group .n-button{flex:1}.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}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/Viewer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'bpmn-js/lib/features/modeling';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
declare module 'diagram-js/lib/navigation/movecanvas';
|
|
@@ -566,7 +566,6 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
566
566
|
bodyStyle: import("vue").Ref<{
|
|
567
567
|
maxHeight: string;
|
|
568
568
|
height: string;
|
|
569
|
-
overflowY: string;
|
|
570
569
|
}>;
|
|
571
570
|
conditionApiRef: any;
|
|
572
571
|
filterTimer: any;
|
|
@@ -735,6 +734,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
735
734
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
736
735
|
widgetType: import("vue").ComputedRef<any>;
|
|
737
736
|
Date: import("vue").DefineComponent<{
|
|
737
|
+
componentCfg: {
|
|
738
|
+
type: ObjectConstructor;
|
|
739
|
+
};
|
|
738
740
|
paramCfg: {
|
|
739
741
|
type: ObjectConstructor;
|
|
740
742
|
default: null;
|
|
@@ -749,6 +751,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
749
751
|
};
|
|
750
752
|
}, {
|
|
751
753
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
754
|
+
componentCfg: {
|
|
755
|
+
type: ObjectConstructor;
|
|
756
|
+
};
|
|
752
757
|
paramCfg: {
|
|
753
758
|
type: ObjectConstructor;
|
|
754
759
|
default: null;
|
|
@@ -771,11 +776,17 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
771
776
|
dateType: any;
|
|
772
777
|
valueFormat: import("vue").ComputedRef<string>;
|
|
773
778
|
compType: import("vue").ComputedRef<any>;
|
|
774
|
-
|
|
779
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
775
780
|
widgetOptions: import("vue").ComputedRef<{
|
|
776
781
|
label: string;
|
|
777
782
|
value: string;
|
|
778
783
|
}[]>;
|
|
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
|
+
};
|
|
779
790
|
CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
780
791
|
updateUnchangedValue: {
|
|
781
792
|
type: BooleanConstructor;
|
|
@@ -847,6 +858,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
847
858
|
LAST_YEAR: string;
|
|
848
859
|
};
|
|
849
860
|
}, 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
|
+
};
|
|
850
864
|
paramCfg: {
|
|
851
865
|
type: ObjectConstructor;
|
|
852
866
|
default: null;
|
|
@@ -998,6 +1012,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
998
1012
|
default: null;
|
|
999
1013
|
};
|
|
1000
1014
|
}, {
|
|
1015
|
+
message: import("naive-ui").MessageApi;
|
|
1001
1016
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1002
1017
|
paramCfg: {
|
|
1003
1018
|
type: ObjectConstructor;
|
|
@@ -1011,27 +1026,145 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1011
1026
|
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
1012
1027
|
}>>;
|
|
1013
1028
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
1014
|
-
$attrs: {
|
|
1015
|
-
[x: string]: unknown;
|
|
1016
|
-
};
|
|
1017
1029
|
emit: (event: "update:modelValue", ...args: any[]) => void;
|
|
1018
|
-
selectOptions: import("vue").Ref<any[]>;
|
|
1019
1030
|
isLoading: import("vue").Ref<boolean>;
|
|
1020
1031
|
filterApiConfig: import("../../../es/shared/types").AnyObject;
|
|
1021
|
-
|
|
1032
|
+
totalPage: import("vue").Ref<number>;
|
|
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>;
|
|
1022
1040
|
optionSetting: import("vue").ComputedRef<any>;
|
|
1023
1041
|
isMultiple: import("vue").ComputedRef<boolean>;
|
|
1024
|
-
|
|
1042
|
+
dynamicOptionInfos: import("vue").ComputedRef<any>;
|
|
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>;
|
|
1025
1049
|
_handleSearch: (query: string) => Promise<void>;
|
|
1026
1050
|
handleSearch: (query: string) => Promise<void>;
|
|
1027
1051
|
handleInitData: () => Promise<void>;
|
|
1028
|
-
|
|
1029
|
-
[key: string]: any;
|
|
1030
|
-
}>;
|
|
1052
|
+
handleClear: () => Promise<void>;
|
|
1031
1053
|
renderTag: ({ option, handleClose }: any) => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
1032
1054
|
[key: string]: any;
|
|
1033
1055
|
}>;
|
|
1034
1056
|
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
|
+
}>;
|
|
1035
1168
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1036
1169
|
paramCfg: {
|
|
1037
1170
|
type: ObjectConstructor;
|
|
@@ -1137,8 +1270,15 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1137
1270
|
valueFormat: import("vue").ComputedRef<string>;
|
|
1138
1271
|
dateFormat: import("vue").ComputedRef<string>;
|
|
1139
1272
|
compType: import("vue").ComputedRef<any>;
|
|
1273
|
+
optionSetting: import("vue").ComputedRef<any>;
|
|
1274
|
+
isPastTime: import("vue").ComputedRef<boolean>;
|
|
1275
|
+
isFutureTime: import("vue").ComputedRef<boolean>;
|
|
1140
1276
|
startPlaceholder: import("vue").ComputedRef<"初始日期" | "初始时间">;
|
|
1141
1277
|
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>;
|
|
1142
1282
|
dateType: any;
|
|
1143
1283
|
widgetOptions: import("vue").ComputedRef<{
|
|
1144
1284
|
label: string;
|
|
@@ -1147,8 +1287,19 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1147
1287
|
presetValCp: import("vue").WritableComputedRef<string>;
|
|
1148
1288
|
handleChange: (val: any, type: "end" | "start") => void;
|
|
1149
1289
|
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
|
+
};
|
|
1150
1295
|
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
|
+
};
|
|
1151
1301
|
NSelect: any;
|
|
1302
|
+
NPopover: any;
|
|
1152
1303
|
CDatePicker: SFCWithInstall<import("vue").DefineComponent<{
|
|
1153
1304
|
updateUnchangedValue: {
|
|
1154
1305
|
type: BooleanConstructor;
|
|
@@ -1250,6 +1401,7 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1250
1401
|
};
|
|
1251
1402
|
}, {
|
|
1252
1403
|
handleGetConfigApi: (params: any, key: string, config: {} | undefined, filterApiConfigVal: any) => Promise<any>;
|
|
1404
|
+
message: import("naive-ui").MessageApi;
|
|
1253
1405
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
1254
1406
|
paramCfg: {
|
|
1255
1407
|
type: ObjectConstructor;
|
|
@@ -1289,7 +1441,9 @@ declare const CClassification: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1289
1441
|
INPUT: string;
|
|
1290
1442
|
SELECT: string;
|
|
1291
1443
|
DATE: string;
|
|
1444
|
+
DATE_OUT: string;
|
|
1292
1445
|
DATE_TIME: string;
|
|
1446
|
+
DATETIME_OUT: string;
|
|
1293
1447
|
CHECKBOX_GROUP: string;
|
|
1294
1448
|
INPUTNUMBER_RANGE: string;
|
|
1295
1449
|
DATE_RANGE_OUT: string;
|