cnhis-design-vue 3.1.40-beta.1 → 3.1.40-beta.11
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 +12 -48
- package/es/components/form-config/index.d.ts +66 -148
- package/es/components/form-config/src/FormConfig.vue.d.ts +66 -148
- package/es/components/form-config/src/components/FormConfigCreator.vue.d.ts +33 -74
- package/es/components/form-config/src/components/FormConfigEdit.vue.d.ts +33 -74
- package/es/components/form-render/index.d.ts +33 -74
- package/es/components/form-render/src/FormRender.vue.d.ts +33 -74
- package/es/components/form-render/src/FormRender.vue.js +36 -20
- package/es/components/form-render/src/FormRenderWrapper.vue.d.ts +33 -74
- package/es/components/form-render/src/components/renderer/formItem.js +8 -2
- package/es/components/form-render/src/components/renderer/searchCascade.js +1 -0
- package/es/components/form-render/src/components/renderer/select.js +1 -0
- package/es/components/form-render/src/hooks/useAnchor.d.ts +6 -3
- package/es/components/form-render/src/hooks/useAnchor.js +26 -26
- package/es/components/form-render/src/hooks/useAutoHidden.d.ts +4 -0
- package/es/components/form-render/src/hooks/useAutoHidden.js +43 -0
- package/es/components/form-render/src/hooks/useBusinessBinding.d.ts +7 -10
- package/es/components/form-render/src/hooks/useBusinessBinding.js +38 -36
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +10 -12
- package/es/components/form-render/src/hooks/useFormContext.d.ts +1 -2
- package/es/components/form-render/src/hooks/useFormContext.js +2 -2
- package/es/components/form-render/src/types/fieldItem.d.ts +1 -1
- package/es/components/iho-table/index.d.ts +121 -121
- package/es/components/iho-table/src/IhoTable.vue.d.ts +121 -121
- package/es/components/iho-table/src/constants/index.d.ts +2 -2
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +59 -59
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +3 -1
- package/es/components/index.js +6 -0
- package/es/components/info-header/index.d.ts +18 -3
- package/es/components/info-header/src/HiddenContent.vue.d.ts +2 -2
- package/es/components/info-header/src/InfoEllipsis.vue.d.ts +1 -1
- package/es/components/info-header/src/InfoHeader.vue.d.ts +18 -3
- package/es/components/info-header/src/InfoHeader.vue.js +33 -19
- package/es/components/keyboard/index.d.ts +20 -2
- package/es/components/keyboard/src/Keyboard.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +19 -2
- package/es/components/keyboard/src/components/InputNumber.vue.js +15 -5
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +20 -2
- package/es/components/keyboard/src/components/NumberPanel.vue.js +14 -10
- package/es/components/recommend-search/index.d.ts +14 -14
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +14 -14
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +2 -2
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +4 -4
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +4 -4
- package/es/components/scale-view/index.d.ts +4 -2
- package/es/components/scale-view/src/ScaleView.vue.d.ts +7 -2
- package/es/components/scale-view/src/ScaleView.vue.js +2 -1
- package/es/components/scale-view/src/components/formitem/standard-modal.d.ts +1 -1
- package/es/components/scale-view/src/components/formitem/text-over-tooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/components/shortcut-provider/index.d.ts +15 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.d.ts +15 -1
- package/es/components/shortcut-provider/src/ShortcutProvider.vue.js +7 -2
- package/es/components/shortcut-setter/index.d.ts +33 -74
- package/es/components/shortcut-setter/src/ShortcutSetter.vue.d.ts +33 -74
- package/es/components/steps-wheel/index.d.ts +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +1 -1
- package/es/components/table-filter/index.d.ts +8933 -0
- package/es/components/table-filter/index.js +21 -0
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.d.ts +3841 -0
- package/es/components/table-filter/src/base-search-com/BaseSearch.vue.js +2272 -0
- package/es/components/table-filter/src/classification/Classification-com.vue.d.ts +3198 -0
- package/es/components/table-filter/src/classification/Classification-com.vue.js +1315 -0
- package/es/components/table-filter/src/classification/search-class-name.vue.d.ts +71 -0
- package/es/components/table-filter/src/classification/search-class-name.vue.js +195 -0
- package/es/components/table-filter/src/classification/search-professional-model.vue.d.ts +1119 -0
- package/es/components/table-filter/src/classification/search-professional-model.vue.js +594 -0
- package/es/components/table-filter/src/components/age-com/index.vue.d.ts +119 -0
- package/es/components/table-filter/src/components/age-com/index.vue.js +185 -0
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.d.ts +199 -0
- package/es/components/table-filter/src/components/button-group/ButtonGroup.vue.js +86 -0
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.d.ts +2 -0
- package/es/components/table-filter/src/components/button-icon/getBtnIcon.js +30 -0
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.d.ts +90 -0
- package/es/components/table-filter/src/components/c-tree-select/tree-select.vue.js +253 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.d.ts +112 -0
- package/es/components/table-filter/src/components/classify-filter/ValueCfg.vue.js +114 -0
- package/es/components/table-filter/src/components/classify-filter/helpers/options.d.ts +4 -0
- package/es/components/table-filter/src/components/classify-filter/helpers/options.js +14 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.d.ts +20 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useDisplayCategory.js +87 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.d.ts +59 -0
- package/es/components/table-filter/src/components/classify-filter/hooks/useFilterConditions.js +147 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.d.ts +278 -0
- package/es/components/table-filter/src/components/classify-filter/index.vue.js +304 -0
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.d.ts +113 -0
- package/es/components/table-filter/src/components/multi-select/multi-select.vue.js +153 -0
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.d.ts +266 -0
- package/es/components/table-filter/src/components/out-quick-search/out-quick-search.vue.js +310 -0
- package/es/components/table-filter/src/components/range-age/index.vue.d.ts +248 -0
- package/es/components/table-filter/src/components/range-age/index.vue.js +137 -0
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.d.ts +104 -0
- package/es/components/table-filter/src/components/render-widget/components/CheckboxGroup.vue.js +64 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.d.ts +34 -0
- package/es/components/table-filter/src/components/render-widget/components/Select.vue.js +45 -0
- package/es/components/table-filter/src/components/render-widget/components/index.d.ts +3 -0
- package/es/components/table-filter/src/components/render-widget/components/index.js +2 -0
- package/es/components/table-filter/src/components/render-widget/enums.d.ts +25 -0
- package/es/components/table-filter/src/components/render-widget/enums.js +27 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.d.ts +1 -0
- package/es/components/table-filter/src/components/render-widget/helpers/presetValToTimestamp.js +70 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.d.ts +32 -0
- package/es/components/table-filter/src/components/render-widget/index.vue.js +107 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.d.ts +199 -0
- package/es/components/table-filter/src/components/render-widget/widgetCfgMaps.js +152 -0
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.d.ts +789 -0
- package/es/components/table-filter/src/components/search-condition/SearchCondition.vue.js +1520 -0
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.d.ts +18 -0
- package/es/components/table-filter/src/components/search-condition/fieldTypeList.js +171 -0
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.d.ts +1217 -0
- package/es/components/table-filter/src/components/search-filter/SearchFilter.vue.js +199 -0
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.d.ts +1624 -0
- package/es/components/table-filter/src/components/search-modal/set-classification.vue.js +241 -0
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.d.ts +292 -0
- package/es/components/table-filter/src/components/table-modal/TableModal.vue.js +526 -0
- package/es/components/table-filter/src/const/dataOptions.d.ts +36 -0
- package/es/components/table-filter/src/const/dataOptions.js +107 -0
- package/es/components/table-filter/src/const/index.d.ts +5 -0
- package/es/components/table-filter/src/const/index.js +5 -0
- package/es/components/table-filter/src/directive/flexibleResize.d.ts +28 -0
- package/es/components/table-filter/src/directive/flexibleResize.js +157 -0
- package/es/components/table-filter/src/directive/preventReClick.d.ts +4 -0
- package/es/components/table-filter/src/directive/preventReClick.js +14 -0
- package/es/components/table-filter/src/directive/resize.d.ts +4 -0
- package/es/components/table-filter/src/directive/resize.js +12 -0
- package/es/components/table-filter/src/hooks/export.d.ts +1 -0
- package/es/components/table-filter/src/hooks/export.js +1 -0
- package/es/components/table-filter/src/hooks/useAdvanced.d.ts +28 -0
- package/es/components/table-filter/src/hooks/useAdvanced.js +64 -0
- package/es/components/table-filter/src/hooks/useMixins.d.ts +60 -0
- package/es/components/table-filter/src/hooks/useMixins.js +532 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.d.ts +15 -0
- package/es/components/table-filter/src/hooks/useRenderWidget.js +94 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.d.ts +8 -0
- package/es/components/table-filter/src/hooks/useTableSearchCon.js +131 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.d.ts +12 -0
- package/es/components/table-filter/src/hooks/useWordBookutils.js +91 -0
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.d.ts +1942 -0
- package/es/components/table-filter/src/quick-search/QuickSearch.vue.js +2038 -0
- package/es/components/table-filter/src/tool/generateDefOptions.d.ts +14 -0
- package/es/components/table-filter/src/tool/generateDefOptions.js +65 -0
- package/es/components/table-filter/src/tool/getWidgetType.d.ts +1 -0
- package/es/components/table-filter/src/tool/getWidgetType.js +27 -0
- package/es/components/table-filter/src/tool/options.d.ts +18 -0
- package/es/components/table-filter/src/tool/options.js +200 -0
- package/es/components/table-filter/src/tool/resizeSensor.d.ts +16 -0
- package/es/components/table-filter/src/tool/resizeSensor.js +123 -0
- package/es/components/table-filter/src/tool/time-domain.d.ts +39 -0
- package/es/components/table-filter/src/tool/time-domain.js +100 -0
- package/es/components/table-filter/src/tool/transformData.d.ts +92 -0
- package/es/components/table-filter/src/tool/transformData.js +169 -0
- package/es/components/table-filter/src/tool/utils.d.ts +4 -0
- package/es/components/table-filter/src/tool/utils.js +29 -0
- package/es/components/table-filter/src/types/enums.d.ts +65 -0
- package/es/components/table-filter/src/types/enums.js +67 -0
- package/es/components/table-filter/src/types/index.d.ts +483 -0
- package/es/components/table-filter/src/types/index.js +1 -0
- package/es/components/table-filter/src/types/tool.d.ts +7 -0
- package/es/components/table-filter/src/types/tool.js +1 -0
- package/es/components/table-filter/style/index.css +1 -0
- package/es/shared/assets/img/failure.js +1 -1
- package/es/shared/assets/img/failure.png.js +1 -1
- package/es/shared/assets/img/icon-asc.js +1 -1
- package/es/shared/assets/img/icon-desc.js +1 -1
- package/es/shared/assets/img/no-permission.js +1 -1
- package/es/shared/assets/img/no-permission.png.js +1 -1
- package/es/shared/assets/img/nodata.js +1 -1
- package/es/shared/assets/img/nodata.png.js +1 -1
- package/es/shared/assets/img/notfound.js +1 -1
- package/es/shared/assets/img/notfound.png.js +1 -1
- package/es/shared/assets/img/qr.js +1 -1
- package/es/shared/assets/img/qr.png.js +1 -1
- package/es/shared/assets/img/success.js +1 -1
- package/es/shared/assets/img/success.png.js +1 -1
- package/es/shared/assets/img/video.js +1 -1
- package/es/shared/assets/img/video.png.js +1 -1
- package/es/shared/assets/img/video_default_cover.js +1 -1
- package/es/shared/assets/img/video_default_cover.png.js +1 -1
- package/es/shared/assets/img/video_hover.js +1 -1
- package/es/shared/assets/img/video_play_hover.js +1 -1
- package/es/shared/assets/img/xb_big.js +1 -1
- package/es/shared/assets/img/xb_big.png.js +1 -1
- package/es/shared/assets/img/xb_small.js +1 -1
- package/es/shared/assets/img/xb_small.png.js +1 -1
- package/es/shared/components/TextOverTooltip/TextOverTooltip.vue.d.ts +1 -1
- package/es/shared/utils/utilExpand.js +66 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -23,7 +23,7 @@ app.use(cui).mount('#app');
|
|
|
23
23
|
|
|
24
24
|
组件现在支持了自动按需引入, 但是样式文件需要额外的处理
|
|
25
25
|
|
|
26
|
-
### 2.1 样式处理方式
|
|
26
|
+
### 2.1 样式处理方式1 (按需引入样式)
|
|
27
27
|
|
|
28
28
|
```shell
|
|
29
29
|
# 安装自动导入样式的插件
|
|
@@ -54,70 +54,34 @@ export default defineConfig({
|
|
|
54
54
|
});
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
-
### 2.2 样式处理方式
|
|
57
|
+
### 2.2 样式处理方式2 (全局引入样式)
|
|
58
58
|
|
|
59
59
|
```typescript
|
|
60
60
|
// main.ts
|
|
61
61
|
import 'cnhis-design-vue/es/components/index.css';
|
|
62
62
|
```
|
|
63
63
|
|
|
64
|
-
## 3.
|
|
64
|
+
## 3.FAQ
|
|
65
65
|
|
|
66
|
-
|
|
66
|
+
### 3.1 项目打包后样式丢失
|
|
67
67
|
|
|
68
|
-
|
|
69
|
-
// main.ts
|
|
70
|
-
import { createApp } from 'vue';
|
|
71
|
-
import App from './App.vue';
|
|
72
|
-
|
|
73
|
-
import { CGrid } from 'cnhis-design-vue';
|
|
74
|
-
// 或者
|
|
75
|
-
import { CBigTable } from 'cnhis-design-vue';
|
|
76
|
-
|
|
77
|
-
const app = createApp(App);
|
|
78
|
-
app.use(CGrid);
|
|
79
|
-
// 或者
|
|
80
|
-
app.use(CBigTable);
|
|
81
|
-
app.mount('#app');
|
|
82
|
-
```
|
|
83
|
-
|
|
84
|
-
## 4.FAQ
|
|
85
|
-
|
|
86
|
-
### 4.1 项目打包后样式丢失
|
|
87
|
-
|
|
88
|
-
> 处理方法, 将 cnhis-design-vue 从 vendor 包中移除
|
|
68
|
+
处理方法, 将 cnhis-design-vue 从 vendor 包中移除 (没有出现此问题则不需要)
|
|
89
69
|
|
|
90
70
|
```typescript
|
|
91
71
|
// vite.config.ts
|
|
92
72
|
import { defineConfig } from 'vite';
|
|
93
73
|
|
|
94
74
|
export default defineConfig({
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
75
|
+
build: {
|
|
76
|
+
rollupOptions: {
|
|
77
|
+
// ..otherOptions
|
|
78
|
+
output: {
|
|
79
|
+
dir: './dist',
|
|
80
|
+
manualChunks: {
|
|
81
|
+
'cnhis-vendor': ['cnhis-design-vue']
|
|
102
82
|
}
|
|
103
83
|
}
|
|
104
84
|
}
|
|
105
85
|
}
|
|
106
86
|
});
|
|
107
87
|
```
|
|
108
|
-
|
|
109
|
-
### 4.2 找不到文件
|
|
110
|
-
|
|
111
|
-
> 由于组件库输出文件类型由 js 修改成了 mjs, 如果配置了 resolve 属性的项目, 需要将 mjs 文件类型添加至 extensions 中
|
|
112
|
-
|
|
113
|
-
```javascript
|
|
114
|
-
// vite.config.ts
|
|
115
|
-
const config = {
|
|
116
|
-
// ...otherOptions
|
|
117
|
-
resolve: {
|
|
118
|
-
// ...otherOptions
|
|
119
|
-
// 如果没有配置, 则不用考虑
|
|
120
|
-
extensions: ['.js', '.ts', '.vue', '.json', '.mjs']
|
|
121
|
-
}
|
|
122
|
-
};
|
|
123
|
-
```
|
|
@@ -295,6 +295,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
295
295
|
lowCodeReactions: {
|
|
296
296
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
297
297
|
};
|
|
298
|
+
linebarAutoHidden: {
|
|
299
|
+
type: BooleanConstructor;
|
|
300
|
+
};
|
|
298
301
|
}, {
|
|
299
302
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
300
303
|
fieldList: {
|
|
@@ -420,6 +423,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
420
423
|
lowCodeReactions: {
|
|
421
424
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
422
425
|
};
|
|
426
|
+
linebarAutoHidden: {
|
|
427
|
+
type: BooleanConstructor;
|
|
428
|
+
};
|
|
423
429
|
}>> & {
|
|
424
430
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
425
431
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -427,17 +433,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
427
433
|
}>>;
|
|
428
434
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
429
435
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
}>;
|
|
433
|
-
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
434
|
-
triggerAllReactionsHandler: () => void;
|
|
436
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
437
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
435
438
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
436
439
|
businessCollector: import("..").BusinessCollector;
|
|
437
440
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
438
441
|
changeContextCollector: import("..").ContextCollector;
|
|
439
442
|
formUUID: string;
|
|
440
|
-
|
|
443
|
+
anchorBarRef: import("vue").Ref<{
|
|
444
|
+
syncBarPosition: import("../../../es/shared/types").Func<any[], any>;
|
|
445
|
+
} | undefined>;
|
|
446
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
447
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
448
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
449
|
+
anchorIdList: import("vue").Ref<{
|
|
450
|
+
name: string;
|
|
451
|
+
title: string;
|
|
452
|
+
}[]>;
|
|
453
|
+
onScroll: (scrollEvent: Event) => void;
|
|
454
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
455
|
+
formModel: import("@formily/core").Form<{
|
|
456
|
+
[x: string]: any;
|
|
457
|
+
}>;
|
|
458
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
459
|
+
triggerAllReactionsHandler: () => void;
|
|
441
460
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
442
461
|
[key: symbol]: any;
|
|
443
462
|
[key: `x-${string}`]: any;
|
|
@@ -553,70 +572,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
553
572
|
"x-read-pretty"?: boolean | undefined;
|
|
554
573
|
"x-compile-omitted"?: string[] | undefined;
|
|
555
574
|
}>>;
|
|
556
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
557
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
558
|
-
[key: symbol]: any;
|
|
559
|
-
[key: `x-${string}`]: any;
|
|
560
|
-
[key: `x-${number}`]: any;
|
|
561
|
-
version?: string | undefined;
|
|
562
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
563
|
-
title?: any;
|
|
564
|
-
description?: any;
|
|
565
|
-
default?: any;
|
|
566
|
-
readOnly?: boolean | undefined;
|
|
567
|
-
writeOnly?: boolean | undefined;
|
|
568
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
569
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
570
|
-
const?: any;
|
|
571
|
-
multipleOf?: number | undefined;
|
|
572
|
-
maximum?: number | undefined;
|
|
573
|
-
exclusiveMaximum?: number | undefined;
|
|
574
|
-
minimum?: number | undefined;
|
|
575
|
-
exclusiveMinimum?: number | undefined;
|
|
576
|
-
maxLength?: number | undefined;
|
|
577
|
-
minLength?: number | undefined;
|
|
578
|
-
pattern?: string | RegExp | undefined;
|
|
579
|
-
maxItems?: number | undefined;
|
|
580
|
-
minItems?: number | undefined;
|
|
581
|
-
uniqueItems?: boolean | undefined;
|
|
582
|
-
maxProperties?: number | undefined;
|
|
583
|
-
minProperties?: number | undefined;
|
|
584
|
-
required?: string | boolean | string[] | undefined;
|
|
585
|
-
format?: string | undefined;
|
|
586
|
-
$ref?: string | undefined;
|
|
587
|
-
$namespace?: string | undefined;
|
|
588
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
589
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
590
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
591
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
592
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
593
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
594
|
-
"x-value"?: any;
|
|
595
|
-
"x-index"?: number | undefined;
|
|
596
|
-
"x-pattern"?: any;
|
|
597
|
-
"x-display"?: any;
|
|
598
|
-
"x-validator"?: any;
|
|
599
|
-
"x-decorator"?: any;
|
|
600
|
-
"x-decorator-props"?: any;
|
|
601
|
-
"x-component"?: any;
|
|
602
|
-
"x-component-props"?: any;
|
|
603
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
604
|
-
"x-content"?: any;
|
|
605
|
-
"x-data"?: any;
|
|
606
|
-
"x-visible"?: boolean | undefined;
|
|
607
|
-
"x-hidden"?: boolean | undefined;
|
|
608
|
-
"x-disabled"?: boolean | undefined;
|
|
609
|
-
"x-editable"?: boolean | undefined;
|
|
610
|
-
"x-read-only"?: boolean | undefined;
|
|
611
|
-
"x-read-pretty"?: boolean | undefined;
|
|
612
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
613
|
-
}>) => void;
|
|
614
|
-
anchorIdList: import("vue").Ref<{
|
|
615
|
-
name: string;
|
|
616
|
-
title: string;
|
|
617
|
-
}[]>;
|
|
618
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
619
|
-
onScroll: (scrollEvent: Event) => void;
|
|
620
575
|
onKeydown: (event: KeyboardEvent) => void;
|
|
621
576
|
clearSpan: (uuid: string) => void;
|
|
622
577
|
exposeEvent: {
|
|
@@ -645,17 +600,19 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
645
600
|
content: any;
|
|
646
601
|
hidden: boolean;
|
|
647
602
|
active: boolean;
|
|
603
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
604
|
+
description: string;
|
|
605
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
648
606
|
mounted: boolean;
|
|
649
607
|
readonly destroyed: boolean;
|
|
650
608
|
unmounted: boolean;
|
|
651
609
|
componentProps: Record<string, any>;
|
|
652
610
|
decoratorProps: Record<string, any>;
|
|
653
|
-
display: import("@formily/core").FieldDisplayTypes;
|
|
654
|
-
description: string;
|
|
655
611
|
readOnly: boolean;
|
|
656
612
|
editable: boolean;
|
|
657
613
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
658
614
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
615
|
+
readPretty: boolean;
|
|
659
616
|
validating: boolean;
|
|
660
617
|
submitting: boolean;
|
|
661
618
|
visited: boolean;
|
|
@@ -663,7 +620,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
663
620
|
modified: boolean;
|
|
664
621
|
inputValue: string;
|
|
665
622
|
inputValues: any[];
|
|
666
|
-
dataSource: import("@formily/core").FieldDataSource;
|
|
667
623
|
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
668
624
|
caches: import("@formily/core").IFieldCaches;
|
|
669
625
|
selfErrors: import("@formily/core").FeedbackMessage;
|
|
@@ -699,7 +655,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
699
655
|
designable: boolean;
|
|
700
656
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
701
657
|
readonly parent: import("@formily/core").GeneralField;
|
|
702
|
-
readPretty: boolean;
|
|
703
658
|
setTitle: (title?: string | undefined) => void;
|
|
704
659
|
setDescription: (description?: string | undefined) => void;
|
|
705
660
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -907,6 +862,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
907
862
|
lowCodeReactions: {
|
|
908
863
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
909
864
|
};
|
|
865
|
+
linebarAutoHidden: {
|
|
866
|
+
type: BooleanConstructor;
|
|
867
|
+
};
|
|
910
868
|
}>> & {
|
|
911
869
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
912
870
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -921,6 +879,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
921
879
|
scope: import("../../../es/shared/types").AnyObject;
|
|
922
880
|
consumer: boolean;
|
|
923
881
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
882
|
+
linebarAutoHidden: boolean;
|
|
924
883
|
}>;
|
|
925
884
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
926
885
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
@@ -2899,6 +2858,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
2899
2858
|
lowCodeReactions: {
|
|
2900
2859
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
2901
2860
|
};
|
|
2861
|
+
linebarAutoHidden: {
|
|
2862
|
+
type: BooleanConstructor;
|
|
2863
|
+
};
|
|
2902
2864
|
}, {
|
|
2903
2865
|
props: Readonly<import("@vue/shared").LooseRequired<Readonly<import("vue").ExtractPropTypes<{
|
|
2904
2866
|
fieldList: {
|
|
@@ -3024,6 +2986,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3024
2986
|
lowCodeReactions: {
|
|
3025
2987
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
3026
2988
|
};
|
|
2989
|
+
linebarAutoHidden: {
|
|
2990
|
+
type: BooleanConstructor;
|
|
2991
|
+
};
|
|
3027
2992
|
}>> & {
|
|
3028
2993
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3029
2994
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -3031,17 +2996,30 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3031
2996
|
}>>;
|
|
3032
2997
|
emit: (event: "scroll" | "formChange" | "annotationChange", ...args: any[]) => void;
|
|
3033
2998
|
nuiThemeOverrides: import("naive-ui").GlobalThemeOverrides;
|
|
3034
|
-
|
|
3035
|
-
|
|
3036
|
-
}>;
|
|
3037
|
-
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
3038
|
-
triggerAllReactionsHandler: () => void;
|
|
2999
|
+
formRenderRef: import("vue").Ref<HTMLElement | undefined>;
|
|
3000
|
+
formHeight: import("vue").ComputedRef<string>;
|
|
3039
3001
|
SchemaField: import("vue").Component<any, any, any, import("vue").ComputedOptions, import("vue").MethodOptions>;
|
|
3040
3002
|
businessCollector: import("..").BusinessCollector;
|
|
3041
3003
|
formItemDepsCollector: import("..").FormItemDepsCollector;
|
|
3042
3004
|
changeContextCollector: import("..").ContextCollector;
|
|
3043
3005
|
formUUID: string;
|
|
3044
|
-
|
|
3006
|
+
anchorBarRef: import("vue").Ref<{
|
|
3007
|
+
syncBarPosition: import("../../../es/shared/types").Func<any[], any>;
|
|
3008
|
+
} | undefined>;
|
|
3009
|
+
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3010
|
+
generateAnchorList: (formModel: import("@formily/core").Form<any>) => Promise<void>;
|
|
3011
|
+
updateAnchorList: (field: import("@formily/core").GeneralField) => void;
|
|
3012
|
+
anchorIdList: import("vue").Ref<{
|
|
3013
|
+
name: string;
|
|
3014
|
+
title: string;
|
|
3015
|
+
}[]>;
|
|
3016
|
+
onScroll: (scrollEvent: Event) => void;
|
|
3017
|
+
triggerAutoHidden: (field: import("@formily/core").GeneralField) => Promise<void>;
|
|
3018
|
+
formModel: import("@formily/core").Form<{
|
|
3019
|
+
[x: string]: any;
|
|
3020
|
+
}>;
|
|
3021
|
+
lowCodeReactionsHandler: (field: string, value: unknown) => void;
|
|
3022
|
+
triggerAllReactionsHandler: () => void;
|
|
3045
3023
|
schemaAdaptor: (fieldList: import("..").FieldItem[]) => Record<string, import("@formily/json-schema").Stringify<{
|
|
3046
3024
|
[key: symbol]: any;
|
|
3047
3025
|
[key: `x-${string}`]: any;
|
|
@@ -3157,70 +3135,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3157
3135
|
"x-read-pretty"?: boolean | undefined;
|
|
3158
3136
|
"x-compile-omitted"?: string[] | undefined;
|
|
3159
3137
|
}>>;
|
|
3160
|
-
currentAnchor: import("vue").WritableComputedRef<string>;
|
|
3161
|
-
generateAnchorList: (schema: import("@formily/json-schema").Stringify<{
|
|
3162
|
-
[key: symbol]: any;
|
|
3163
|
-
[key: `x-${string}`]: any;
|
|
3164
|
-
[key: `x-${number}`]: any;
|
|
3165
|
-
version?: string | undefined;
|
|
3166
|
-
name?: import("@formily/json-schema").SchemaKey | undefined;
|
|
3167
|
-
title?: any;
|
|
3168
|
-
description?: any;
|
|
3169
|
-
default?: any;
|
|
3170
|
-
readOnly?: boolean | undefined;
|
|
3171
|
-
writeOnly?: boolean | undefined;
|
|
3172
|
-
type?: import("@formily/json-schema").SchemaTypes | undefined;
|
|
3173
|
-
enum?: import("@formily/json-schema").SchemaEnum<any> | undefined;
|
|
3174
|
-
const?: any;
|
|
3175
|
-
multipleOf?: number | undefined;
|
|
3176
|
-
maximum?: number | undefined;
|
|
3177
|
-
exclusiveMaximum?: number | undefined;
|
|
3178
|
-
minimum?: number | undefined;
|
|
3179
|
-
exclusiveMinimum?: number | undefined;
|
|
3180
|
-
maxLength?: number | undefined;
|
|
3181
|
-
minLength?: number | undefined;
|
|
3182
|
-
pattern?: string | RegExp | undefined;
|
|
3183
|
-
maxItems?: number | undefined;
|
|
3184
|
-
minItems?: number | undefined;
|
|
3185
|
-
uniqueItems?: boolean | undefined;
|
|
3186
|
-
maxProperties?: number | undefined;
|
|
3187
|
-
minProperties?: number | undefined;
|
|
3188
|
-
required?: string | boolean | string[] | undefined;
|
|
3189
|
-
format?: string | undefined;
|
|
3190
|
-
$ref?: string | undefined;
|
|
3191
|
-
$namespace?: string | undefined;
|
|
3192
|
-
definitions?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3193
|
-
properties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3194
|
-
items?: import("@formily/json-schema").SchemaItems<any, any, any, any, any, any, any, any> | undefined;
|
|
3195
|
-
additionalItems?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3196
|
-
patternProperties?: import("@formily/json-schema").SchemaProperties<any, any, any, any, any, any, any, any> | undefined;
|
|
3197
|
-
additionalProperties?: import("@formily/json-schema").Stringify<any> | undefined;
|
|
3198
|
-
"x-value"?: any;
|
|
3199
|
-
"x-index"?: number | undefined;
|
|
3200
|
-
"x-pattern"?: any;
|
|
3201
|
-
"x-display"?: any;
|
|
3202
|
-
"x-validator"?: any;
|
|
3203
|
-
"x-decorator"?: any;
|
|
3204
|
-
"x-decorator-props"?: any;
|
|
3205
|
-
"x-component"?: any;
|
|
3206
|
-
"x-component-props"?: any;
|
|
3207
|
-
"x-reactions"?: import("@formily/json-schema").SchemaReactions<any> | undefined;
|
|
3208
|
-
"x-content"?: any;
|
|
3209
|
-
"x-data"?: any;
|
|
3210
|
-
"x-visible"?: boolean | undefined;
|
|
3211
|
-
"x-hidden"?: boolean | undefined;
|
|
3212
|
-
"x-disabled"?: boolean | undefined;
|
|
3213
|
-
"x-editable"?: boolean | undefined;
|
|
3214
|
-
"x-read-only"?: boolean | undefined;
|
|
3215
|
-
"x-read-pretty"?: boolean | undefined;
|
|
3216
|
-
"x-compile-omitted"?: string[] | undefined;
|
|
3217
|
-
}>) => void;
|
|
3218
|
-
anchorIdList: import("vue").Ref<{
|
|
3219
|
-
name: string;
|
|
3220
|
-
title: string;
|
|
3221
|
-
}[]>;
|
|
3222
|
-
formHeight: import("vue").ComputedRef<string | undefined>;
|
|
3223
|
-
onScroll: (scrollEvent: Event) => void;
|
|
3224
3138
|
onKeydown: (event: KeyboardEvent) => void;
|
|
3225
3139
|
clearSpan: (uuid: string) => void;
|
|
3226
3140
|
exposeEvent: {
|
|
@@ -3249,17 +3163,19 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3249
3163
|
content: any;
|
|
3250
3164
|
hidden: boolean;
|
|
3251
3165
|
active: boolean;
|
|
3166
|
+
dataSource: import("@formily/core").FieldDataSource;
|
|
3167
|
+
description: string;
|
|
3168
|
+
display: import("@formily/core").FieldDisplayTypes;
|
|
3252
3169
|
mounted: boolean;
|
|
3253
3170
|
readonly destroyed: boolean;
|
|
3254
3171
|
unmounted: boolean;
|
|
3255
3172
|
componentProps: Record<string, any>;
|
|
3256
3173
|
decoratorProps: Record<string, any>;
|
|
3257
|
-
display: import("@formily/core").FieldDisplayTypes;
|
|
3258
|
-
description: string;
|
|
3259
3174
|
readOnly: boolean;
|
|
3260
3175
|
editable: boolean;
|
|
3261
3176
|
component: import("@formily/core").FieldComponent<any, any>;
|
|
3262
3177
|
decorator: import("@formily/core").FieldDecorator<any, any>;
|
|
3178
|
+
readPretty: boolean;
|
|
3263
3179
|
validating: boolean;
|
|
3264
3180
|
submitting: boolean;
|
|
3265
3181
|
visited: boolean;
|
|
@@ -3267,7 +3183,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3267
3183
|
modified: boolean;
|
|
3268
3184
|
inputValue: string;
|
|
3269
3185
|
inputValues: any[];
|
|
3270
|
-
dataSource: import("@formily/core").FieldDataSource;
|
|
3271
3186
|
feedbacks: import("@formily/core").IFieldFeedback[];
|
|
3272
3187
|
caches: import("@formily/core").IFieldCaches;
|
|
3273
3188
|
selfErrors: import("@formily/core").FeedbackMessage;
|
|
@@ -3303,7 +3218,6 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3303
3218
|
designable: boolean;
|
|
3304
3219
|
locate: (address: import("@formily/path").Pattern) => void;
|
|
3305
3220
|
readonly parent: import("@formily/core").GeneralField;
|
|
3306
|
-
readPretty: boolean;
|
|
3307
3221
|
setTitle: (title?: string | undefined) => void;
|
|
3308
3222
|
setDescription: (description?: string | undefined) => void;
|
|
3309
3223
|
setDisplay: (type?: import("@formily/core").FieldDisplayTypes | undefined) => void;
|
|
@@ -3511,6 +3425,9 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3511
3425
|
lowCodeReactions: {
|
|
3512
3426
|
type: import("vue").PropType<import("..").FormLowCodeReactions.Config[]>;
|
|
3513
3427
|
};
|
|
3428
|
+
linebarAutoHidden: {
|
|
3429
|
+
type: BooleanConstructor;
|
|
3430
|
+
};
|
|
3514
3431
|
}>> & {
|
|
3515
3432
|
onFormChange?: ((...args: any[]) => any) | undefined;
|
|
3516
3433
|
onScroll?: ((...args: any[]) => any) | undefined;
|
|
@@ -3525,6 +3442,7 @@ declare const FormConfig: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
3525
3442
|
scope: import("../../../es/shared/types").AnyObject;
|
|
3526
3443
|
consumer: boolean;
|
|
3527
3444
|
enterToNextWidget: boolean | ((fieldItem: import("..").FieldItem) => boolean | void);
|
|
3445
|
+
linebarAutoHidden: boolean;
|
|
3528
3446
|
}>;
|
|
3529
3447
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}>>;
|
|
3530
3448
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|