cnhis-design-vue 3.1.31-beta.1 → 3.1.31-beta.10
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 +123 -123
- package/es/components/big-table/index.js +1 -1
- package/es/components/big-table/src/{BigTable.js → BigTable.vue.js} +1 -1
- package/es/components/big-table/src/{BigTable.vue_vue_type_script_setup_true_lang.js → BigTable.vue2.js} +6 -6
- package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js} +4 -4
- package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js} +1 -1
- package/es/components/big-table/src/components/{input-button.js → input-button.vue.js} +0 -0
- package/es/components/big-table/src/components/{separate.js → separate.vue.js} +0 -0
- package/es/components/big-table/src/hooks/useEdit.js +1 -1
- package/es/components/big-table/src/utils.js +1 -1
- package/es/components/bpmn-workflow/index.js +1 -1
- package/es/components/bpmn-workflow/src/BpmnWorkflow.d.ts +0 -0
- package/es/components/bpmn-workflow/src/{BpmnWorkflow.js → BpmnWorkflow.vue.js} +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/button-print/index.d.ts +65 -45
- package/es/components/button-print/index.js +1 -1
- package/es/components/button-print/src/ButtonPrint.vue.d.ts +65 -45
- package/es/components/button-print/src/{ButtonPrint.js → ButtonPrint.vue.js} +1 -1
- package/es/components/button-print/src/{ButtonPrint.vue_vue_type_script_setup_true_lang.js → ButtonPrint.vue2.js} +1 -1
- package/es/components/button-print/src/components/{edit.vue.d.ts → EditFormat.vue.d.ts} +66 -46
- package/es/components/button-print/src/components/EditFormat.vue.js +173 -0
- package/es/components/button-print/src/components/IdentityVerification.vue.d.ts +65 -45
- package/es/components/button-print/src/components/{IdentityVerification.js → IdentityVerification.vue.js} +9 -6
- package/es/components/button-print/src/components/Preview.vue.d.ts +41 -0
- package/es/components/button-print/src/components/Preview.vue.js +6 -0
- package/es/components/button-print/src/components/Preview.vue2.js +67 -0
- package/es/components/button-print/src/utils/browserPrint.d.ts +1 -1
- package/es/components/button-print/src/utils/browserPrint.js +1 -2
- package/es/components/button-print/src/utils/dialog.d.ts +5 -1
- package/es/components/button-print/src/utils/dialog.js +65 -23
- package/es/components/button-print/src/utils/print.d.ts +4 -1
- package/es/components/button-print/src/utils/print.js +13 -3
- package/es/components/button-print/style/index.css +1 -1
- package/es/components/drag-layout/index.js +1 -1
- package/es/components/drag-layout/src/{DragFormLeftItem.js → DragFormLeftItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragFormRightItem.js → DragFormRightItem.vue.js} +0 -0
- package/es/components/drag-layout/src/{DragLayout.js → DragLayout.vue.js} +2 -2
- package/es/components/fabric-chart/index.js +1 -1
- package/es/components/fabric-chart/src/{FabricChart.js → FabricChart.vue.js} +1 -1
- package/es/components/fabric-chart/src/components/{PopupTip.js → PopupTip.vue.js} +0 -0
- package/es/components/fabric-chart/src/hooks/useCenter.js +5 -6
- package/es/components/fabric-chart/src/hooks/useGrid.js +3 -3
- package/es/components/fabric-chart/src/interface.d.ts +1 -1
- package/es/components/fabric-chart/src/utils/index.d.ts +6823 -0
- package/es/components/fabric-chart/src/utils/index.js +0 -1
- package/es/components/field-set/index.js +1 -1
- package/es/components/field-set/src/{FieldSet.js → FieldSet.vue.js} +0 -0
- package/es/components/form-config/index.js +1 -1
- package/es/components/form-config/src/{FormConfig.js → FormConfig.vue.js} +3 -3
- package/es/components/form-config/src/components/{FormConfigCreator.js → FormConfigCreator.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigDragDisplay.js → FormConfigDragDisplay.vue.js} +0 -0
- package/es/components/form-config/src/components/{FormConfigEdit.js → FormConfigEdit.vue.js} +0 -0
- package/es/components/form-config/src/components/index.js +6 -6
- package/es/components/form-config/src/components/renderer/{CloseButton.js → CloseButton.vue.js} +0 -0
- package/es/components/form-config/src/components/renderer/{ComplexNode.js → ComplexNode.vue.js} +2 -2
- package/es/components/form-config/src/components/renderer/{DefaultNode.js → DefaultNode.vue.js} +1 -1
- package/es/components/form-config/src/components/renderer/index.js +3 -3
- package/es/components/form-config/src/hooks/usePresetRenderer.js +2 -2
- package/es/components/form-render/index.js +2 -2
- package/es/components/form-render/src/{FormRender.js → FormRender.vue.js} +0 -0
- package/es/components/form-render/src/{FormRenderWrapper.js → FormRenderWrapper.vue.js} +1 -1
- package/es/components/form-render/src/components/renderer/checkbox.js +3 -5
- package/es/components/form-render/src/components/renderer/index.js +2 -0
- 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/components/renderer/lineBar/{FormCollapse.js → FormCollapse.vue.js} +0 -0
- package/es/components/form-render/src/components/renderer/lineBar/index.js +1 -1
- package/es/components/form-render/src/components/renderer/recommendSelect.d.ts +131 -0
- package/es/components/form-render/src/components/renderer/recommendSelect.js +213 -0
- package/es/components/form-render/src/components/renderer/remoteSearch.js +0 -1
- package/es/components/form-render/src/components/renderer/select.js +3 -5
- package/es/components/form-render/src/hooks/useAsyncQueue.js +2 -1
- package/es/components/form-render/src/hooks/useAutographOptions.js +5 -7
- package/es/components/form-render/src/hooks/useFieldListAdaptor.js +7 -0
- package/es/components/form-render/src/hooks/useFormRequest.d.ts +8 -1
- package/es/components/form-render/src/hooks/useFormRequest.js +24 -1
- package/es/components/form-render/src/utils/index.d.ts +2 -2
- package/es/components/form-render/src/utils/index.js +27 -3
- package/es/components/form-render/style/index.css +1 -1
- package/es/components/iho-table/index.d.ts +124 -66
- package/es/components/iho-table/index.js +1 -2
- package/es/components/iho-table/src/IhoTable.vue.d.ts +124 -66
- package/es/components/iho-table/src/{IhoTable.js → IhoTable.vue.js} +2 -1
- package/es/components/iho-table/src/components/IhoTableColumn.js +14 -11
- package/es/components/iho-table/src/constants/index.d.ts +5 -3
- package/es/components/iho-table/src/constants/index.js +5 -3
- package/es/components/iho-table/src/hooks/tapHooks/index.d.ts +64 -5
- package/es/components/iho-table/src/hooks/tapHooks/index.js +17 -9
- package/es/components/iho-table/src/hooks/tapHooks/useEventHooks.d.ts +60 -1
- package/es/components/iho-table/src/hooks/useColumnConfigAdaptor.js +5 -3
- package/es/components/iho-table/src/hooks/useTableContext.d.ts +1 -1
- package/es/components/iho-table/src/plugins/anchorPlugin/useAnchor.js +3 -2
- package/es/components/iho-table/src/plugins/filterPlugin/filter.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/filterPlugin/{filter.js → filter.vue.js} +1 -0
- package/es/components/iho-table/src/plugins/filterPlugin/index.js +1 -1
- package/es/components/iho-table/src/plugins/index.js +14 -12
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.d.ts +1 -0
- package/es/components/iho-table/src/plugins/keyboardEventPlugin/index.js +32 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/editDate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/{editDate.js → editDate.vue.js} +0 -0
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/dateRendererPlugin/index.js +10 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/inputRendererPlugin.js +11 -15
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/numberRendererPlugin.js +17 -24
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/selectRendererPlugin/index.js +11 -13
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/editSeparate.vue.d.ts +1 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/{editSeparate.js → editSeparate.vue.js} +2 -1
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/separateRendererPlugin/index.js +9 -12
- package/es/components/iho-table/src/plugins/rendererPlugins/editableWidgets/timeRendererPlugin.js +13 -17
- package/es/components/iho-table/src/types/index.d.ts +6 -6
- package/es/components/iho-table/src/types/pluginType.d.ts +2 -1
- package/es/components/iho-table/src/utils/index.d.ts +12 -2
- package/es/components/iho-table/src/utils/index.js +33 -2
- package/es/components/iho-table/style/index.css +1 -1
- package/es/components/index.css +1 -1
- package/es/components/index.d.ts +2 -1
- package/es/components/index.js +5 -2
- package/es/components/info-header/index.js +1 -1
- package/es/components/info-header/src/{HiddenContent.js → HiddenContent.vue.js} +1 -1
- package/es/components/info-header/src/{InfoEllipsis.js → InfoEllipsis.vue.js} +0 -0
- package/es/components/info-header/src/{InfoHeader.js → InfoHeader.vue.js} +2 -2
- package/es/components/keyboard/index.d.ts +146 -78
- package/es/components/keyboard/index.js +1 -1
- package/es/components/keyboard/src/Keyboard.vue.d.ts +155 -78
- package/es/components/keyboard/src/Keyboard.vue.js +149 -0
- package/es/components/keyboard/src/components/InputNumber.vue.d.ts +6 -4
- package/es/components/keyboard/src/components/{InputNumber.js → InputNumber.vue.js} +0 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.d.ts +118 -0
- package/es/components/keyboard/src/components/NumberPanel.vue.js +206 -0
- package/es/components/map/index.js +1 -1
- package/es/components/map/src/{Map.js → Map.vue.js} +0 -0
- package/es/components/recommend-search/index.d.ts +813 -0
- package/es/components/recommend-search/index.js +10 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.d.ts +815 -0
- package/es/components/recommend-search/src/RecommendSearch.vue.js +62 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.d.ts +119 -0
- package/es/components/recommend-search/src/components/BaseSearch.vue.js +148 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.d.ts +303 -0
- package/es/components/recommend-search/src/components/RecommendInput.vue.js +103 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.d.ts +63 -0
- package/es/components/recommend-search/src/components/RecommendMenu.vue.js +104 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.d.ts +350 -0
- package/es/components/recommend-search/src/components/RecommendSelect.vue.js +156 -0
- package/es/components/recommend-search/src/constant/index.d.ts +4 -0
- package/es/components/recommend-search/src/constant/index.js +7 -0
- package/es/components/recommend-search/src/types/index.d.ts +9 -0
- package/es/components/recommend-search/src/types/index.js +1 -0
- package/es/components/recommend-search/style/index.css +1 -0
- package/es/components/scale-view/index.js +1 -1
- package/es/components/scale-view/src/{ScaleView.js → ScaleView.vue.js} +5 -5
- package/es/components/scale-view/src/components/{AnswerParse.js → AnswerParse.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluateCountdown.js → EvaluateCountdown.vue.js} +1 -1
- package/es/components/scale-view/src/components/{EvaluatePage.js → EvaluatePage.vue.js} +0 -0
- package/es/components/scale-view/src/components/{LoadingCom.js → LoadingCom.vue.js} +0 -0
- package/es/components/{big-table/src/components/NoData.js → scale-view/src/components/NoData.vue.js} +4 -4
- package/es/components/scale-view/src/components/formitem/r-cascader.js +1 -1
- package/es/components/scale-view/src/components/formitem/r-select.js +1 -1
- package/es/components/scale-view/src/hooks/use-component.js +1 -1
- package/es/components/search-cascader/index.js +1 -1
- package/es/components/search-cascader/src/{SearchCascader.js → SearchCascader.vue.js} +0 -0
- package/es/components/search-cascader/src/components/SearchMenu.js +3 -3
- package/es/components/select-label/index.js +2 -2
- package/es/components/select-label/src/{LabelFormContent.js → LabelFormContent.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.js → SelectLabel.vue.js} +1 -1
- package/es/components/select-label/src/{SelectLabel.vue_vue_type_script_setup_true_lang.js → SelectLabel.vue2.js} +2 -2
- package/es/components/select-label/src/components/{label-classify.js → label-classify.vue.js} +0 -0
- package/es/components/select-person/index.js +1 -1
- package/es/components/select-person/src/{SelectPerson.js → SelectPerson.vue.js} +1 -1
- package/es/components/select-person/src/{SelectPerson.vue_vue_type_script_setup_true_lang.js → SelectPerson.vue2.js} +0 -0
- package/es/components/shortcut-provider/index.js +1 -1
- package/es/components/shortcut-provider/src/{ShortcutProvider.js → ShortcutProvider.vue.js} +0 -0
- package/es/components/shortcut-setter/index.js +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetter.js → ShortcutSetter.vue.js} +1 -1
- package/es/components/shortcut-setter/src/{ShortcutSetterItem.js → ShortcutSetterItem.vue.js} +0 -0
- package/es/components/steps-wheel/index.d.ts +3 -0
- package/es/components/steps-wheel/index.js +1 -1
- package/es/components/steps-wheel/src/StepsWheel.vue.d.ts +3 -0
- package/es/components/steps-wheel/src/{StepsWheel.js → StepsWheel.vue.js} +38 -9
- package/es/components/steps-wheel/style/index.css +1 -1
- package/es/components/time-line/index.js +1 -1
- package/es/components/time-line/src/{TimeLine.js → TimeLine.vue.js} +0 -0
- package/es/components/vod-chunk-upload/index.js +1 -1
- package/es/components/vod-chunk-upload/src/{chunk-upload-new.js → chunk-upload-new.vue.js} +0 -0
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/index.js +2 -2
- package/es/components/vod-chunk-upload/src/vod-chunk-upload/{vod-chunk-upload.js → vod-chunk-upload.vue.js} +3 -3
- package/es/components/vod-chunk-upload/src/vod-upload-modal.js +1 -1
- package/es/shared/assets/img/failure.js +1 -3
- package/es/shared/assets/img/failure.png.js +3 -0
- 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 -3
- package/es/shared/assets/img/no-permission.png.js +3 -0
- package/es/shared/assets/img/nodata.js +1 -3
- package/es/shared/assets/img/nodata.png.js +3 -0
- package/es/shared/assets/img/notfound.js +1 -3
- package/es/shared/assets/img/notfound.png.js +3 -0
- package/es/shared/assets/img/qr.js +1 -3
- package/es/shared/assets/img/qr.png.js +3 -0
- package/es/shared/assets/img/success.js +1 -3
- package/es/shared/assets/img/success.png.js +3 -0
- package/es/shared/assets/img/video.js +1 -3
- package/es/shared/assets/img/video.png.js +3 -0
- package/es/shared/assets/img/video_default_cover.js +1 -3
- package/es/shared/assets/img/video_default_cover.png.js +3 -0
- 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 -3
- package/es/shared/assets/img/xb_big.png.js +3 -0
- package/es/shared/assets/img/xb_small.js +1 -3
- package/es/shared/assets/img/xb_small.png.js +3 -0
- package/es/shared/components/SelectPage/{SelectPage.js → SelectPage.vue.js} +0 -0
- package/es/shared/components/SelectPage/index.js +2 -2
- package/es/shared/components/SvgIcon/{SvgIcon.js → SvgIcon.vue.js} +0 -0
- package/es/shared/components/SvgIcon/index.js +2 -2
- package/es/shared/components/TextOverTooltip/{TextOverTooltip.js → TextOverTooltip.vue.js} +0 -0
- package/es/shared/components/TextOverTooltip/index.js +2 -2
- package/es/shared/components/VueDraggable/src/vuedraggable.d.ts +86 -0
- package/es/shared/components/no-data/{NoData.js → NoData.vue.js} +4 -4
- package/es/shared/components/no-data/index.js +2 -2
- package/es/shared/utils/index.d.ts +1 -1
- package/es/shared/utils/index.js +3 -3
- package/es/shared/utils/tapable/index.d.ts +139 -0
- package/package.json +2 -2
- package/es/components/button-print/src/components/edit.js +0 -152
- package/es/components/fabric-chart/index.d.ts +0 -207
- package/es/components/fabric-chart/src/FabricChart.vue.d.ts +0 -208
- package/es/components/keyboard/src/Keyboard.js +0 -285
package/README.md
CHANGED
|
@@ -1,123 +1,123 @@
|
|
|
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. 注意
|
|
65
|
-
|
|
66
|
-
由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
|
|
67
|
-
|
|
68
|
-
```typescript
|
|
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 包中移除
|
|
89
|
-
|
|
90
|
-
```typescript
|
|
91
|
-
// vite.config.ts
|
|
92
|
-
import { defineConfig } from 'vite';
|
|
93
|
-
|
|
94
|
-
export default defineConfig({
|
|
95
|
-
rollupOptions: {
|
|
96
|
-
// ..otherOptions
|
|
97
|
-
output: {
|
|
98
|
-
dir: './dist',
|
|
99
|
-
manualChunks(id: string) {
|
|
100
|
-
if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
|
|
101
|
-
return 'vendor';
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
}
|
|
106
|
-
});
|
|
107
|
-
```
|
|
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
|
-
```
|
|
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. 注意
|
|
65
|
+
|
|
66
|
+
由于 vxe-table 目前的引入方式是由组件 install 触发的,所以如果需要使用 c-grid/c-big-table 组件,需要全局注册二者任意一个
|
|
67
|
+
|
|
68
|
+
```typescript
|
|
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 包中移除
|
|
89
|
+
|
|
90
|
+
```typescript
|
|
91
|
+
// vite.config.ts
|
|
92
|
+
import { defineConfig } from 'vite';
|
|
93
|
+
|
|
94
|
+
export default defineConfig({
|
|
95
|
+
rollupOptions: {
|
|
96
|
+
// ..otherOptions
|
|
97
|
+
output: {
|
|
98
|
+
dir: './dist',
|
|
99
|
+
manualChunks(id: string) {
|
|
100
|
+
if (id.includes('node_modules') && !id.includes('cnhis-design-vue')) {
|
|
101
|
+
return 'vendor';
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
});
|
|
107
|
+
```
|
|
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
|
+
```
|
|
@@ -2,7 +2,7 @@ import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
3
|
import { expandXEUtils } from '../../shared/utils/utilExpand.js';
|
|
4
4
|
import '../index.js';
|
|
5
|
-
import script from './src/BigTable.js';
|
|
5
|
+
import script from './src/BigTable.vue.js';
|
|
6
6
|
import Grid from '../grid/index.js';
|
|
7
7
|
|
|
8
8
|
const BigTable = script;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from './BigTable.
|
|
1
|
+
import _sfc_main from './BigTable.vue2.js';
|
|
2
2
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
3
3
|
|
|
4
4
|
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "BigTable.vue"]]);
|
|
@@ -13,17 +13,17 @@ import { useEvent } from './hooks/useEvent.js';
|
|
|
13
13
|
import { useAnnotation } from './hooks/useAnnotation.js';
|
|
14
14
|
import { useSeparateRow, useSeparateMap } from './hooks/useSeparateRow.js';
|
|
15
15
|
import { SettingsSharp, CaretDown, CaretForward, CopyOutline, SyncOutline } from '@vicons/ionicons5';
|
|
16
|
-
import NoData from './components/NoData.js';
|
|
17
|
-
import script from '../../../shared/components/SvgIcon/SvgIcon.js';
|
|
16
|
+
import NoData from './components/NoData.vue.js';
|
|
17
|
+
import script from '../../../shared/components/SvgIcon/SvgIcon.vue.js';
|
|
18
18
|
import { useMessage, NIcon, NTooltip, NCheckbox, NCheckboxGroup, NGrid, NGi, NButton, NPopconfirm, NProgress, NDropdown, NSwitch, NPopover, NTabs, NTabPane } from 'naive-ui';
|
|
19
19
|
import Grid from '../../grid/index.js';
|
|
20
20
|
import XEUtils from 'xe-utils';
|
|
21
21
|
import 'moment';
|
|
22
22
|
import { handleTableHeight, setTableConfig, handleGroupColums, treeToList, checkMethod, setTreeGroupTitle, isFilterItem, handleName, generateEditRender, handlerInitSearchItem, getEvaluate, getMapVal, getCandidateComponents, getageShowType, isLink, showFilter, reScrollFilterWrap, hideFilterWrap, mergeConObjFn, setDefaultFormData, handleImgArr, handleImgSrc, modalDetailImage, handleQrCodeContent, getInlineEditBtn, isCopy, setVisibleCheckAllWrap, handleTableImageSize, visibleMethod, getRowStyle, getFooterGroup, flattenRow, intersectRow, removeCheckedDisabledRows } from './utils.js';
|
|
23
|
-
import InputButtonScript from './components/input-button.js';
|
|
24
|
-
import Separate from './components/separate.js';
|
|
25
|
-
import xb_big from '../../../shared/assets/img/xb_big.js';
|
|
26
|
-
import qr from '../../../shared/assets/img/qr.js';
|
|
23
|
+
import InputButtonScript from './components/input-button.vue.js';
|
|
24
|
+
import Separate from './components/separate.vue.js';
|
|
25
|
+
import xb_big from '../../../shared/assets/img/xb_big.png.js';
|
|
26
|
+
import qr from '../../../shared/assets/img/qr.png.js';
|
|
27
27
|
|
|
28
28
|
const _hoisted_1 = {
|
|
29
29
|
key: 0,
|
package/es/components/{scale-view/src/components/NoData.js → big-table/src/components/NoData.vue.js}
RENAMED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { defineComponent, computed, openBlock, createElementBlock, unref, createCommentVNode, createElementVNode, toDisplayString } from 'vue';
|
|
2
|
-
import noData from '../../../../shared/assets/img/nodata.js';
|
|
3
|
-
import noPermission from '../../../../shared/assets/img/no-permission.js';
|
|
4
|
-
import failure from '../../../../shared/assets/img/failure.js';
|
|
5
|
-
import notfound from '../../../../shared/assets/img/notfound.js';
|
|
2
|
+
import noData from '../../../../shared/assets/img/nodata.png.js';
|
|
3
|
+
import noPermission from '../../../../shared/assets/img/no-permission.png.js';
|
|
4
|
+
import failure from '../../../../shared/assets/img/failure.png.js';
|
|
5
|
+
import notfound from '../../../../shared/assets/img/notfound.png.js';
|
|
6
6
|
import _export_sfc from '../../../../_virtual/plugin-vue_export-helper.js';
|
|
7
7
|
|
|
8
8
|
const _hoisted_1 = { class: "no-data-tip NoData-page" };
|
package/es/components/big-table/src/components/edit-form/{edit-separate.js → edit-separate.vue.js}
RENAMED
|
@@ -3,7 +3,7 @@ import script from '../../../../../shared/components/SlotRender/SlotRender.js';
|
|
|
3
3
|
import { cloneDeep, isObject, isArray } from 'lodash-es';
|
|
4
4
|
import { NPopover, NInput } from 'naive-ui';
|
|
5
5
|
import { useSeparateMap } from '../../hooks/useSeparateRow.js';
|
|
6
|
-
import Separate from '../separate.js';
|
|
6
|
+
import Separate from '../separate.vue.js';
|
|
7
7
|
import _export_sfc from '../../../../../_virtual/plugin-vue_export-helper.js';
|
|
8
8
|
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
File without changes
|
|
File without changes
|
|
@@ -2,7 +2,7 @@ import EditTime from '../components/edit-form/edit-time.js';
|
|
|
2
2
|
import EditInput from '../components/edit-form/edit-input.js';
|
|
3
3
|
import EditSelect from '../components/edit-form/edit-select.js';
|
|
4
4
|
import EditDate from '../components/edit-form/edit-date.js';
|
|
5
|
-
import EditSeparate from '../components/edit-form/edit-separate.js';
|
|
5
|
+
import EditSeparate from '../components/edit-form/edit-separate.vue.js';
|
|
6
6
|
|
|
7
7
|
const comps = {
|
|
8
8
|
input: EditInput,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/BpmnWorkflow.js';
|
|
3
|
+
import script from './src/BpmnWorkflow.vue.js';
|
|
4
4
|
|
|
5
5
|
const BpmnWorkflow = script;
|
|
6
6
|
BpmnWorkflow.install = function(app) {
|
|
File without changes
|
|
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';
|
|
@@ -539,58 +539,69 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
539
539
|
readonly ignorePathChange: boolean;
|
|
540
540
|
}>;
|
|
541
541
|
NInput: any;
|
|
542
|
-
|
|
542
|
+
EditFormat: import("vue").DefineComponent<{
|
|
543
|
+
formatId: {
|
|
544
|
+
type: StringConstructor;
|
|
545
|
+
required: false;
|
|
546
|
+
};
|
|
547
|
+
token: {
|
|
548
|
+
type: StringConstructor;
|
|
549
|
+
required: true;
|
|
550
|
+
};
|
|
551
|
+
}, {
|
|
552
|
+
PROTOCOL: string;
|
|
543
553
|
HOST: string;
|
|
554
|
+
BASEURL: string;
|
|
544
555
|
SAVEIREPORT: string;
|
|
556
|
+
QUERYFILELIST: string;
|
|
557
|
+
DELETEFILE: string;
|
|
545
558
|
instance: import("axios").AxiosInstance;
|
|
546
559
|
$message: import("naive-ui").MessageApi;
|
|
560
|
+
props: {
|
|
561
|
+
formatId?: string | undefined;
|
|
562
|
+
token: string;
|
|
563
|
+
};
|
|
547
564
|
fileList: import("vue").Ref<{
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
type?: string | null | undefined;
|
|
581
|
-
fullPath?: string | null | undefined;
|
|
582
|
-
}[];
|
|
565
|
+
id: string;
|
|
566
|
+
name: string;
|
|
567
|
+
batchId?: string | null | undefined;
|
|
568
|
+
percentage?: number | null | undefined;
|
|
569
|
+
status: "error" | "pending" | "uploading" | "finished" | "removed";
|
|
570
|
+
url?: string | null | undefined;
|
|
571
|
+
file?: {
|
|
572
|
+
readonly lastModified: number;
|
|
573
|
+
readonly name: string;
|
|
574
|
+
readonly webkitRelativePath: string;
|
|
575
|
+
readonly size: number;
|
|
576
|
+
readonly type: string;
|
|
577
|
+
arrayBuffer: {
|
|
578
|
+
(): Promise<ArrayBuffer>;
|
|
579
|
+
(): Promise<ArrayBuffer>;
|
|
580
|
+
};
|
|
581
|
+
slice: {
|
|
582
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
583
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
584
|
+
};
|
|
585
|
+
stream: {
|
|
586
|
+
(): ReadableStream<Uint8Array>;
|
|
587
|
+
(): NodeJS.ReadableStream;
|
|
588
|
+
};
|
|
589
|
+
text: {
|
|
590
|
+
(): Promise<string>;
|
|
591
|
+
(): Promise<string>;
|
|
592
|
+
};
|
|
593
|
+
} | null | undefined;
|
|
594
|
+
thumbnailUrl?: string | null | undefined;
|
|
595
|
+
type?: string | null | undefined;
|
|
596
|
+
fullPath?: string | null | undefined;
|
|
583
597
|
}[]>;
|
|
584
|
-
|
|
585
|
-
|
|
598
|
+
queryFileList: () => void;
|
|
599
|
+
onRemove: (options: {
|
|
586
600
|
file: import("naive-ui").UploadFileInfo;
|
|
587
601
|
fileList: import("naive-ui").UploadFileInfo[];
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
fileList: import("naive-ui").UploadFileInfo[];
|
|
592
|
-
}) => Promise<boolean>;
|
|
593
|
-
validateFormat: (file: import("naive-ui").UploadFileInfo, format: string) => boolean;
|
|
602
|
+
}) => Promise<unknown>;
|
|
603
|
+
submit: (datas: import("../../../es/shared/types").AnyObject) => Promise<unknown>;
|
|
604
|
+
validateFormat: () => boolean;
|
|
594
605
|
NForm: any;
|
|
595
606
|
NFormItem: import("vue").DefineComponent<{
|
|
596
607
|
readonly label: StringConstructor;
|
|
@@ -1758,7 +1769,16 @@ declare const ButtonPrint: SFCWithInstall<import("vue").DefineComponent<{
|
|
|
1758
1769
|
}>;
|
|
1759
1770
|
NSpace: any;
|
|
1760
1771
|
Archive: 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<{}>>, {}>;
|
|
1761
|
-
},
|
|
1772
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1773
|
+
formatId: {
|
|
1774
|
+
type: StringConstructor;
|
|
1775
|
+
required: false;
|
|
1776
|
+
};
|
|
1777
|
+
token: {
|
|
1778
|
+
type: StringConstructor;
|
|
1779
|
+
required: true;
|
|
1780
|
+
};
|
|
1781
|
+
}>>, {}>;
|
|
1762
1782
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1763
1783
|
verifyUser: {
|
|
1764
1784
|
type: FunctionConstructor;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { COMPONENT_NAMESPACE } from '../../shared/global/variable.js';
|
|
2
2
|
import { safeComponentRegister } from '../../shared/utils/index.js';
|
|
3
|
-
import script from './src/ButtonPrint.js';
|
|
3
|
+
import script from './src/ButtonPrint.vue.js';
|
|
4
4
|
export { Print } from './src/utils/print.js';
|
|
5
5
|
export { isIReport, useBrowserPrint } from './src/utils/browserPrint.js';
|
|
6
6
|
|
|
@@ -543,58 +543,69 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
543
543
|
readonly ignorePathChange: boolean;
|
|
544
544
|
}>;
|
|
545
545
|
NInput: any;
|
|
546
|
-
|
|
546
|
+
EditFormat: import("vue").DefineComponent<{
|
|
547
|
+
formatId: {
|
|
548
|
+
type: StringConstructor;
|
|
549
|
+
required: false;
|
|
550
|
+
};
|
|
551
|
+
token: {
|
|
552
|
+
type: StringConstructor;
|
|
553
|
+
required: true;
|
|
554
|
+
};
|
|
555
|
+
}, {
|
|
556
|
+
PROTOCOL: string;
|
|
547
557
|
HOST: string;
|
|
558
|
+
BASEURL: string;
|
|
548
559
|
SAVEIREPORT: string;
|
|
560
|
+
QUERYFILELIST: string;
|
|
561
|
+
DELETEFILE: string;
|
|
549
562
|
instance: import("axios").AxiosInstance;
|
|
550
563
|
$message: import("naive-ui").MessageApi;
|
|
564
|
+
props: {
|
|
565
|
+
formatId?: string | undefined;
|
|
566
|
+
token: string;
|
|
567
|
+
};
|
|
551
568
|
fileList: import("vue").Ref<{
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
type?: string | null | undefined;
|
|
585
|
-
fullPath?: string | null | undefined;
|
|
586
|
-
}[];
|
|
569
|
+
id: string;
|
|
570
|
+
name: string;
|
|
571
|
+
batchId?: string | null | undefined;
|
|
572
|
+
percentage?: number | null | undefined;
|
|
573
|
+
status: "error" | "pending" | "uploading" | "finished" | "removed";
|
|
574
|
+
url?: string | null | undefined;
|
|
575
|
+
file?: {
|
|
576
|
+
readonly lastModified: number;
|
|
577
|
+
readonly name: string;
|
|
578
|
+
readonly webkitRelativePath: string;
|
|
579
|
+
readonly size: number;
|
|
580
|
+
readonly type: string;
|
|
581
|
+
arrayBuffer: {
|
|
582
|
+
(): Promise<ArrayBuffer>;
|
|
583
|
+
(): Promise<ArrayBuffer>;
|
|
584
|
+
};
|
|
585
|
+
slice: {
|
|
586
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
587
|
+
(start?: number | undefined, end?: number | undefined, contentType?: string | undefined): Blob;
|
|
588
|
+
};
|
|
589
|
+
stream: {
|
|
590
|
+
(): ReadableStream<Uint8Array>;
|
|
591
|
+
(): NodeJS.ReadableStream;
|
|
592
|
+
};
|
|
593
|
+
text: {
|
|
594
|
+
(): Promise<string>;
|
|
595
|
+
(): Promise<string>;
|
|
596
|
+
};
|
|
597
|
+
} | null | undefined;
|
|
598
|
+
thumbnailUrl?: string | null | undefined;
|
|
599
|
+
type?: string | null | undefined;
|
|
600
|
+
fullPath?: string | null | undefined;
|
|
587
601
|
}[]>;
|
|
588
|
-
|
|
589
|
-
|
|
602
|
+
queryFileList: () => void;
|
|
603
|
+
onRemove: (options: {
|
|
590
604
|
file: import("naive-ui").UploadFileInfo;
|
|
591
605
|
fileList: import("naive-ui").UploadFileInfo[];
|
|
592
|
-
}
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
fileList: import("naive-ui").UploadFileInfo[];
|
|
596
|
-
}) => Promise<boolean>;
|
|
597
|
-
validateFormat: (file: import("naive-ui").UploadFileInfo, format: string) => boolean;
|
|
606
|
+
}) => Promise<unknown>;
|
|
607
|
+
submit: (datas: import("../../../shared/types").AnyObject) => Promise<unknown>;
|
|
608
|
+
validateFormat: () => boolean;
|
|
598
609
|
NForm: any;
|
|
599
610
|
NFormItem: import("vue").DefineComponent<{
|
|
600
611
|
readonly label: StringConstructor;
|
|
@@ -1762,7 +1773,16 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1762
1773
|
}>;
|
|
1763
1774
|
NSpace: any;
|
|
1764
1775
|
Archive: 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<{}>>, {}>;
|
|
1765
|
-
},
|
|
1776
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1777
|
+
formatId: {
|
|
1778
|
+
type: StringConstructor;
|
|
1779
|
+
required: false;
|
|
1780
|
+
};
|
|
1781
|
+
token: {
|
|
1782
|
+
type: StringConstructor;
|
|
1783
|
+
required: true;
|
|
1784
|
+
};
|
|
1785
|
+
}>>, {}>;
|
|
1766
1786
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("close" | "success" | "update:modelValue")[], "close" | "success" | "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1767
1787
|
verifyUser: {
|
|
1768
1788
|
type: FunctionConstructor;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import _sfc_main from './ButtonPrint.
|
|
1
|
+
import _sfc_main from './ButtonPrint.vue2.js';
|
|
2
2
|
import _export_sfc from '../../../_virtual/plugin-vue_export-helper.js';
|
|
3
3
|
|
|
4
4
|
var script = /* @__PURE__ */ _export_sfc(_sfc_main, [["__file", "ButtonPrint.vue"]]);
|