@guodun/antdv 1.2.5 → 1.3.0
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/dist/es/components/contract-signing-location/index.mjs +11 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocation.mjs +5 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocation.vue.mjs +546 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationCanvas.mjs +5 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.mjs +612 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationInspector.mjs +5 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationInspector.vue.mjs +228 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationNavigator.mjs +5 -0
- package/dist/es/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.mjs +71 -0
- package/dist/es/components/contract-signing-location/src/constants.mjs +42 -0
- package/dist/es/components/contract-signing-location/src/coordinates.mjs +182 -0
- package/dist/es/components/contract-signing-location/src/icons.mjs +114 -0
- package/dist/es/components/contract-signing-location/src/location-rules.mjs +296 -0
- package/dist/es/components/contract-signing-location/src/page-layout.mjs +115 -0
- package/dist/es/components/contract-signing-location/src/preview-requests.mjs +25 -0
- package/dist/es/components/contract-signing-location/src/style/index.mjs +1 -0
- package/dist/es/components/contract-signing-location/src/types.mjs +0 -0
- package/dist/es/components/contract-signing-location/style/index.css +1 -0
- package/dist/es/components/contract-signing-location/style/index.mjs +1 -0
- package/dist/es/components/index.mjs +12 -0
- package/dist/es/components/pro-contract-signing-flow/index.mjs +9 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.mjs +5 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.mjs +71 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.mjs +5 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.mjs +312 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.mjs +5 -0
- package/dist/es/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.mjs +115 -0
- package/dist/es/components/pro-contract-signing-flow/src/ProContractSigningFlow.mjs +5 -0
- package/dist/es/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.mjs +143 -0
- package/dist/es/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.mjs +365 -0
- package/dist/es/components/pro-contract-signing-flow/src/constants.mjs +48 -0
- package/dist/es/components/pro-contract-signing-flow/src/types.mjs +0 -0
- package/dist/es/components/pro-contract-signing-flow/style/index.css +1 -0
- package/dist/es/components/pro-contract-signing-flow/style/index.mjs +1 -0
- package/dist/es/components/pro-contract-template-designer/index.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplatePreviewPage.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplatePreviewPage.vue.mjs +43 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplatePreviewSigningLayer.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplatePreviewSigningLayer.vue.mjs +42 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.mjs +88 -78
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.vue.mjs +169 -0
- package/dist/es/components/pro-contract-template-designer/src/ContractTemplateRendererToolbar.vue.mjs +18 -7
- package/dist/es/components/pro-contract-template-designer/src/DesignerPage.vue.mjs +522 -318
- package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.mjs +2436 -1166
- package/dist/es/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.mjs +320 -198
- package/dist/es/components/pro-contract-template-designer/src/SigningPlacementInspector.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/SigningPlacementInspector.vue.mjs +142 -0
- package/dist/es/components/pro-contract-template-designer/src/SigningPlacementLayer.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.mjs +134 -0
- package/dist/es/components/pro-contract-template-designer/src/TableContextMenu.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/TableContextMenu.vue.mjs +189 -0
- package/dist/es/components/pro-contract-template-designer/src/TableSizePicker.mjs +5 -0
- package/dist/es/components/pro-contract-template-designer/src/TableSizePicker.vue.mjs +117 -0
- package/dist/es/components/pro-contract-template-designer/src/composables/use-fit-width-zoom.mjs +33 -0
- package/dist/es/components/pro-contract-template-designer/src/composables/use-template-designer.mjs +334 -322
- package/dist/es/components/pro-contract-template-designer/src/composables/use-template-draft-cache.mjs +1 -1
- package/dist/es/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.mjs +7 -0
- package/dist/es/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.vue.mjs +213 -0
- package/dist/es/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.vue_vue_type_style_index_0_scoped_8082f8b4_lang.css +1 -0
- package/dist/es/components/pro-contract-template-designer/src/extensions/editor-extensions.mjs +62 -27
- package/dist/es/components/pro-contract-template-designer/src/extensions/office-content.mjs +241 -0
- package/dist/es/components/pro-contract-template-designer/src/extensions/template-variable.mjs +56 -119
- package/dist/es/components/pro-contract-template-designer/src/extensions/word-paste.mjs +141 -0
- package/dist/es/components/pro-contract-template-designer/src/types.mjs +13 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/content-image.mjs +171 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/context-variable.mjs +17 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/html.mjs +59 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/image-url.mjs +44 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/signing-placement.mjs +292 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/template-renderer.mjs +124 -167
- package/dist/es/components/pro-contract-template-designer/src/utils/template-tool-icons.mjs +28 -0
- package/dist/es/components/pro-contract-template-designer/src/utils/template-variable-render.mjs +1 -1
- package/dist/es/components/pro-contract-template-designer/src/utils/word-paste.mjs +737 -0
- package/dist/es/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/es/index.mjs +75 -63
- package/dist/lib/components/contract-signing-location/index.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocation.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocation.vue.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationCanvas.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationInspector.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationInspector.vue.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationNavigator.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/constants.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/coordinates.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/icons.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/location-rules.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/page-layout.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/preview-requests.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/style/index.cjs +1 -0
- package/dist/lib/components/contract-signing-location/src/types.cjs +0 -0
- package/dist/lib/components/contract-signing-location/style/index.cjs +1 -0
- package/dist/lib/components/contract-signing-location/style/index.css +1 -0
- package/dist/lib/components/index.cjs +1 -1
- package/dist/lib/components/pro-contract-signing-flow/index.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ProContractSigningFlow.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/constants.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/src/types.cjs +0 -0
- package/dist/lib/components/pro-contract-signing-flow/style/index.cjs +1 -0
- package/dist/lib/components/pro-contract-signing-flow/style/index.css +1 -0
- package/dist/lib/components/pro-contract-template-designer/index.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplatePreviewPage.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplatePreviewPage.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplatePreviewSigningLayer.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplatePreviewSigningLayer.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererField.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/ContractTemplateRendererToolbar.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/DesignerPage.vue.cjs +2 -2
- package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementInspector.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementInspector.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementLayer.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/TableContextMenu.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/TableContextMenu.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/TableSizePicker.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/TableSizePicker.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-fit-width-zoom.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-designer.cjs +4 -4
- package/dist/lib/components/pro-contract-template-designer/src/composables/use-template-draft-cache.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.vue.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.vue_vue_type_style_index_0_scoped_8082f8b4_lang.css +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/extensions/editor-extensions.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/office-content.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/extensions/template-variable.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/extensions/word-paste.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/types.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/content-image.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/context-variable.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/html.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/image-url.cjs +2 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/signing-placement.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/template-renderer.cjs +3 -3
- package/dist/lib/components/pro-contract-template-designer/src/utils/template-tool-icons.cjs +1 -0
- package/dist/lib/components/pro-contract-template-designer/src/utils/template-variable-render.cjs +1 -1
- package/dist/lib/components/pro-contract-template-designer/src/utils/word-paste.cjs +3 -0
- package/dist/lib/components/pro-contract-template-designer/style/index.css +1 -1
- package/dist/lib/index.cjs +1 -1
- package/dist/theme/contract-signing-location.css +1 -0
- package/dist/theme/icon.css +1 -1
- package/dist/theme/index.css +1 -1
- package/dist/theme/pro-contract-signing-flow.css +1 -0
- package/dist/types/components/contract-signing-location/index.d.ts +9 -0
- package/dist/types/components/contract-signing-location/src/ContractSigningLocation.vue.d.ts +133 -0
- package/dist/types/components/contract-signing-location/src/ContractSigningLocationCanvas.vue.d.ts +49 -0
- package/dist/types/components/contract-signing-location/src/ContractSigningLocationInspector.vue.d.ts +32 -0
- package/dist/types/components/contract-signing-location/src/ContractSigningLocationNavigator.vue.d.ts +13 -0
- package/dist/types/components/contract-signing-location/src/constants.d.ts +40 -0
- package/dist/types/components/contract-signing-location/src/coordinates.d.ts +59 -0
- package/dist/types/components/contract-signing-location/src/icons.d.ts +12 -0
- package/dist/types/components/contract-signing-location/src/location-rules.d.ts +50 -0
- package/dist/types/components/contract-signing-location/src/page-layout.d.ts +49 -0
- package/dist/types/components/contract-signing-location/src/preview-requests.d.ts +8 -0
- package/dist/types/components/contract-signing-location/src/types.d.ts +218 -0
- package/dist/types/{antdv/src/components → components}/hooks/use-basic-app-config.d.ts +2 -2
- package/dist/types/{antdv/src/components → components}/index.d.ts +2 -0
- package/dist/types/components/pro-contract-signing-flow/index.d.ts +7 -0
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.d.ts +19 -0
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.d.ts +14 -0
- package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.d.ts +19 -0
- package/dist/types/components/pro-contract-signing-flow/src/ProContractSigningFlow.vue.d.ts +35 -0
- package/dist/types/components/pro-contract-signing-flow/src/composables/use-contract-signing-flow.d.ts +213 -0
- package/dist/types/components/pro-contract-signing-flow/src/constants.d.ts +26 -0
- package/dist/types/components/pro-contract-signing-flow/src/types.d.ts +119 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/ContractTemplateAgentContext.vue.d.ts +1 -1
- package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/ContractTemplateAgentPanel.vue.d.ts +5 -5
- package/dist/types/components/pro-contract-template-agent/src/ContractTemplateAgentPreview.vue.d.ts +11 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/ProContractTemplateAgentWorkbench.vue.d.ts +1 -1
- package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/composables/use-contract-template-agent.d.ts +11 -11
- package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/types.d.ts +39 -2
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/index.d.ts +2 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplatePreviewPage.vue.d.ts +9 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplatePreviewSigningLayer.vue.d.ts +7 -0
- package/dist/types/components/pro-contract-template-designer/src/ContractTemplateRendererHeader.vue.d.ts +71 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/ContractTemplateRendererToolbar.vue.d.ts +14 -3
- package/dist/types/components/pro-contract-template-designer/src/DesignerPage.vue.d.ts +197 -0
- package/dist/types/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.d.ts +120 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/ProContractTemplateRenderer.vue.d.ts +11 -3
- package/dist/types/components/pro-contract-template-designer/src/SigningPlacementInspector.vue.d.ts +17 -0
- package/dist/types/components/pro-contract-template-designer/src/SigningPlacementLayer.vue.d.ts +19 -0
- package/dist/types/components/pro-contract-template-designer/src/TableContextMenu.vue.d.ts +22 -0
- package/dist/types/components/pro-contract-template-designer/src/TableSizePicker.vue.d.ts +23 -0
- package/dist/types/components/pro-contract-template-designer/src/composables/use-fit-width-zoom.d.ts +28 -0
- package/dist/types/components/pro-contract-template-designer/src/composables/use-template-designer.d.ts +139 -0
- package/dist/types/components/pro-contract-template-designer/src/composables/use-template-draft-cache.d.ts +83 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/constants.d.ts +49 -0
- package/dist/types/components/pro-contract-template-designer/src/extensions/ContentImageNodeView.vue.d.ts +5 -0
- package/dist/types/components/pro-contract-template-designer/src/extensions/editor-extensions.d.ts +16 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/extensions/font-size.d.ts +6 -0
- package/dist/types/components/pro-contract-template-designer/src/extensions/office-content.d.ts +11 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/extensions/template-variable.d.ts +17 -2
- package/dist/types/components/pro-contract-template-designer/src/extensions/word-paste.d.ts +25 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/types.d.ts +253 -23
- package/dist/types/components/pro-contract-template-designer/src/utils/content-image.d.ts +80 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/context-variable.d.ts +37 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/html.d.ts +74 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/image-url.d.ts +6 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/signing-placement.d.ts +105 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/utils/template-renderer.d.ts +15 -1
- package/dist/types/components/pro-contract-template-designer/src/utils/template-tool-icons.d.ts +12 -0
- package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/utils/template-variable-render.d.ts +39 -0
- package/dist/types/components/pro-contract-template-designer/src/utils/word-paste.d.ts +43 -0
- package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioArrayInput.vue.d.ts +3 -3
- package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioArraySubForm.vue.d.ts +3 -3
- package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioKV.vue.d.ts +3 -3
- package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioSubForm.vue.d.ts +9 -9
- package/dist/types/{antdv/src/components → components}/pro-selector/src/pro-user.d.ts +3 -3
- package/dist/types/{antdv/src/components → components}/pro-selector-group/src/hooks/useApi.d.ts +1 -1
- package/global.d.ts +2 -0
- package/package.json +13 -8
- package/dist/types/antdv/src/components/pro-contract-template-agent/src/ContractTemplateAgentPreview.vue.d.ts +0 -11
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/DesignerPage.vue.d.ts +0 -79
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/ProContractTemplateDesigner.vue.d.ts +0 -57
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/composables/use-template-designer.d.ts +0 -41
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/composables/use-template-draft-cache.d.ts +0 -39
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/extensions/editor-extensions.d.ts +0 -9
- package/dist/types/antdv/src/components/pro-contract-template-designer/src/extensions/template-field.d.ts +0 -5
- /package/dist/types/{antdv/src/components → components}/collapse-transtion/hooks/use-collapse-transtion.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/collapse-transtion/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/collapse-transtion/src/collapse-transtion.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/collapse-transtion/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/cover-scroll-bar/hooks/use-has-scroll.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/cover-scroll-bar/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/cover-scroll-bar/src/cover-scroll-bar.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/cover-scroll-bar/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/dept-selector/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/dept-selector/src/dept.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/dept-selector/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/hooks/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/icon/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/icon/src/icon.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/icon/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/apis/plus-upload.api.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/hook/useExtractPlusUpload.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/hook/usePlusUpload.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/src/plus-upload.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/plus-upload/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-area/apis/pro-area.api.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-area/hooks/use-pro-area.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-area/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-area/src/ProArea.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-area/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell-group/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell-group/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-cell-group/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/composables/use-contract-template-agent-split.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/composables/use-contract-template-agent-workbench.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-agent/src/utils/contract-template-agent-adapter.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/ContractTemplateRendererField.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-contract-template-designer/src/ContractTemplateRendererPage.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-drawer/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-drawer/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-drawer/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-dynamic-tags/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-dynamic-tags/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-dynamic-tags/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioDatePicker.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioInput.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioInputNumber.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioKeyValue.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioSelect.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioSwitch.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioTextarea.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/AioTimePicker.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/module/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/utils.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-form-render/src/v-model-utils.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-loading/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-loading/src/pro-loading.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-loading/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-menu-tree/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-menu-tree/src/hooks.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-menu-tree/src/pro-menu-tree.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-menu-tree/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-modal/hooks/useProModal.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-modal/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-modal/src/Modal.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-modal/src/ProModal.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-modal/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-overlay/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-overlay/src/pro-overlay.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-picker/apis/pro-picker.api.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-picker/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-picker/src/ProPicker.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-picker/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/components/org-tree.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/components/user.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/hooks/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/hooks/useUserSelector.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/util.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector/src/utils/orgTree.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/dept-tree.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/dept.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/role.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/select-box.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/compoents/user.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-selector-group/src/utils/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-signature/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-signature/src/ProSignature.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-signature/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/hooks/use-pro-table.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/constants.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/field/field-date-range/field-date-range.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/field/field-input/field-input.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/field/field-radio/field-radio.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/field/field-select/field-select.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/field/field.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/form-render.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/hooks/use-form.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/hooks/use-table.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/pro-table.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-table/utils.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag/src/ProTag.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag-group/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag-group/src/ProTagGroup.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-tag-group/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-title/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-title/src/ProTitle.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-title/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/data.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/file-list.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/gd-upload.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/hooks/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/hooks/resType.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/hooks/useHttp.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/hooks/useUpload.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/props.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/utils/emitter.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-upload/src/utils/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-user-avatar/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-user-avatar/src/index.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-user-avatar/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/pro-user-avatar/src/util.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/role-selector/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/role-selector/src/role.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/role-selector/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scale-virtual-list/component/scale-virtual-list.vue.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scale-virtual-list/component/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scale-virtual-list/hooks/useVirtualList.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scale-virtual-list/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scroll-bar/index.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scroll-bar/src/scroll-bar.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/scroll-bar/src/types.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/utils/install.d.ts +0 -0
- /package/dist/types/{antdv/src/components → components}/utils/tool.d.ts +0 -0
- /package/dist/types/{antdv/src/extract.d.ts → extract.d.ts} +0 -0
- /package/dist/types/{antdv/src/hooks → hooks}/index.d.ts +0 -0
- /package/dist/types/{antdv/src/hooks → hooks}/setup-theme.d.ts +0 -0
- /package/dist/types/{antdv/src/hooks → hooks}/use-namespace/index.d.ts +0 -0
- /package/dist/types/{antdv/src/hooks → hooks}/useModelValue.d.ts +0 -0
- /package/dist/types/{antdv/src/hooks → hooks}/useProForm.d.ts +0 -0
- /package/dist/types/{antdv/src/index.d.ts → index.d.ts} +0 -0
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { ContractSigningPage, ContractSigningPlacement, ContractSigningPlacementSize, ContractSigningPlacementType, ContractSigningSealSizeLimit, ContractSigningSizeProfile, ContractSigningSizeProfileName } from './types';
|
|
2
|
+
export interface ContractSigningClampOptions {
|
|
3
|
+
minSize?: number;
|
|
4
|
+
sealSizeLimit?: ContractSigningSealSizeLimit;
|
|
5
|
+
}
|
|
6
|
+
export interface ContractSigningPlacementDistances {
|
|
7
|
+
left: number;
|
|
8
|
+
top: number;
|
|
9
|
+
right: number;
|
|
10
|
+
bottom: number;
|
|
11
|
+
}
|
|
12
|
+
export declare const CONTRACT_SIGNING_RENDER_ORIGIN_OFFSET = 1;
|
|
13
|
+
/** 拖动吸附的显示像素阈值,换算回逻辑坐标时再除以 zoom。 */
|
|
14
|
+
export declare const CONTRACT_SIGNING_SNAP_THRESHOLD_PX = 4;
|
|
15
|
+
export interface ContractSigningSnapGuide {
|
|
16
|
+
axis: 'x' | 'y';
|
|
17
|
+
/** 吸附参考线在页面逻辑坐标中的位置。 */
|
|
18
|
+
position: number;
|
|
19
|
+
}
|
|
20
|
+
/** 页面服务返回的尺寸可能是图片渲染尺寸,规则必须使用同一页的 PDF 逻辑尺寸。 */
|
|
21
|
+
export declare function normalizeContractSigningCoordinateScale(value: unknown): number;
|
|
22
|
+
export declare function normalizeContractSigningCoordinateDimension(value: unknown, scale?: number): number;
|
|
23
|
+
export declare function getContractSigningRuleGeometry(placement: Pick<ContractSigningPlacement, 'signLeft' | 'signTop' | 'signWidth' | 'signHeight'>): {
|
|
24
|
+
signLeft: number;
|
|
25
|
+
signTop: number;
|
|
26
|
+
signWidth: number;
|
|
27
|
+
signHeight: number;
|
|
28
|
+
};
|
|
29
|
+
export declare function resolveContractSigningSizeProfile(profile: ContractSigningSizeProfileName | ContractSigningSizeProfile | undefined): ContractSigningSizeProfile;
|
|
30
|
+
export declare function getContractSigningPlacementSize(type: ContractSigningPlacementType, profile?: ContractSigningSizeProfileName | ContractSigningSizeProfile): ContractSigningPlacementSize;
|
|
31
|
+
/** 屏幕坐标按当前画布实际尺寸反算为合同原始页面坐标。 */
|
|
32
|
+
export declare function displayPointToContractPoint(input: {
|
|
33
|
+
clientX: number;
|
|
34
|
+
clientY: number;
|
|
35
|
+
canvasRect: Pick<DOMRect, 'left' | 'top' | 'width' | 'height'>;
|
|
36
|
+
page: Pick<ContractSigningPage, 'width' | 'height'>;
|
|
37
|
+
originOffset?: number;
|
|
38
|
+
}): {
|
|
39
|
+
x: number;
|
|
40
|
+
y: number;
|
|
41
|
+
};
|
|
42
|
+
/** 非有限或非正数回落默认 50/80;min > max 时互换,保证区间可直接用于 clamp。 */
|
|
43
|
+
export declare function resolveContractSigningSealSizeLimit(min?: unknown, max?: unknown): ContractSigningSealSizeLimit;
|
|
44
|
+
/** 显示位移换回原始坐标位移,X/Y 分别按实际画布比例计算。 */
|
|
45
|
+
export declare function moveContractSigningPlacementByDisplayDelta(placement: ContractSigningPlacement, deltaX: number, deltaY: number, page: ContractSigningPage, canvasSize: {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
}, options?: ContractSigningClampOptions): ContractSigningPlacement;
|
|
49
|
+
/** 新增、拖动、属性编辑和外部导入全部经过同一个几何收敛入口。 */
|
|
50
|
+
export declare function clampContractSigningPlacement(placement: ContractSigningPlacement, page: Pick<ContractSigningPage, 'width' | 'height'>, options?: ContractSigningClampOptions): ContractSigningPlacement;
|
|
51
|
+
export declare function getContractSigningPlacementDistances(placement: ContractSigningPlacement, page: Pick<ContractSigningPage, 'width' | 'height'>): ContractSigningPlacementDistances;
|
|
52
|
+
export declare function clampContractSigningZoom(value: unknown, min?: number, max?: number): number;
|
|
53
|
+
/** 只读时一律不可调。印章非只读时始终可调;签名/日期仅在 resizable=true 时可调。 */
|
|
54
|
+
export declare function canResizeContractSigningPlacement(placement: Pick<ContractSigningPlacement, 'signType'> | undefined, resizable: boolean, readonly?: boolean): boolean;
|
|
55
|
+
/** 仅与同页其它位置的边/中线吸附,不额外补偿 signTop。 */
|
|
56
|
+
export declare function snapContractSigningPlacement(placement: ContractSigningPlacement, others: readonly ContractSigningPlacement[], zoom: number, thresholdDisplayPx?: number): {
|
|
57
|
+
placement: ContractSigningPlacement;
|
|
58
|
+
guides: ContractSigningSnapGuide[];
|
|
59
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FunctionalComponent } from 'vue';
|
|
2
|
+
/** 圆形公章:双圈 + 星标,描边跟随 currentColor。 */
|
|
3
|
+
export declare const ContractSigningSealIcon: FunctionalComponent;
|
|
4
|
+
/** 手写签名笔迹,描边跟随 currentColor。 */
|
|
5
|
+
export declare const ContractSigningSignatureIcon: FunctionalComponent;
|
|
6
|
+
/** 日历,描边跟随 currentColor。 */
|
|
7
|
+
export declare const ContractSigningDateIcon: FunctionalComponent;
|
|
8
|
+
export declare const CONTRACT_SIGNING_PLACEMENT_ICONS: {
|
|
9
|
+
readonly seal: FunctionalComponent<{}, {}, any, {}>;
|
|
10
|
+
readonly signature: FunctionalComponent<{}, {}, any, {}>;
|
|
11
|
+
readonly date: FunctionalComponent<{}, {}, any, {}>;
|
|
12
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { ContractSigningLocationError, ContractSigningLocationOutput, ContractSigningLocationRule, ContractSigningLocationValue, ContractSigningLocationValidationOptions, ContractSigningPage, ContractSigningPlacement, ContractSigningPlacementType, ContractSigningSealSizeLimit, ContractSigningSizeProfile, ContractSigningSizeProfileName } from './types';
|
|
2
|
+
export declare function createContractSigningLocationValue(contractId?: string): ContractSigningLocationValue;
|
|
3
|
+
export declare function normalizeContractSigningLocationValue(value: ContractSigningLocationValue | undefined, options?: {
|
|
4
|
+
sealSizeLimit?: ContractSigningSealSizeLimit;
|
|
5
|
+
}): ContractSigningLocationValue;
|
|
6
|
+
export declare function cloneContractSigningLocationValue(value: ContractSigningLocationValue): ContractSigningLocationValue;
|
|
7
|
+
/**
|
|
8
|
+
* 把宿主页面接口的尺寸/位置统一收敛为 locationRules 使用的 PDF 逻辑坐标。
|
|
9
|
+
* 该转换只对 dataProvider 返回值执行,不能对已经受控的 modelValue 重复执行。
|
|
10
|
+
*/
|
|
11
|
+
export declare function normalizeContractSigningProviderValue(value: ContractSigningLocationValue, coordinateScale?: number): ContractSigningLocationValue;
|
|
12
|
+
export declare function findContractSigningPage(value: ContractSigningLocationValue, fileId: string, pageIndex: number): ContractSigningPage | undefined;
|
|
13
|
+
/** 首页按最小零基 pageIndex 取,不假设 pages[0] 已排序。 */
|
|
14
|
+
export declare function getContractSigningHomePage<T extends {
|
|
15
|
+
pageIndex: number;
|
|
16
|
+
}>(pages: readonly T[] | undefined): T | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* 更新位置时锁定 id/fileId,允许跨页改写 pageIndex。
|
|
19
|
+
* 印章类型锁定为 seal;尺寸以 signWidth 优先,否则 signHeight,写成正方形后再 clamp。
|
|
20
|
+
*/
|
|
21
|
+
export declare function patchContractSigningPlacement(placement: ContractSigningPlacement, patch: Partial<ContractSigningPlacement>, page?: Pick<ContractSigningPage, 'width' | 'height'>, options?: {
|
|
22
|
+
sealSizeLimit?: ContractSigningSealSizeLimit;
|
|
23
|
+
}): ContractSigningPlacement;
|
|
24
|
+
/** 缺少原始宽高时只能加载预览,不能创建或移动签署位置。 */
|
|
25
|
+
export declare function isContractSigningPageUsable(page: Pick<ContractSigningPage, 'width' | 'height'> | undefined): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* 仅允许完整页面预览补齐缺失的规则坐标尺寸;缩略图可能使用独立尺寸,不能污染坐标系。
|
|
28
|
+
*/
|
|
29
|
+
export declare function resolveContractSigningPreviewPageSize(page: Pick<ContractSigningPage, 'width' | 'height'> | undefined, preview: {
|
|
30
|
+
width?: number;
|
|
31
|
+
height?: number;
|
|
32
|
+
}, coordinateScale?: number, thumbnail?: boolean): {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
} | undefined;
|
|
36
|
+
export declare function createContractSigningPlacement(type: ContractSigningPlacementType, fileId: string, page: ContractSigningPage, options?: {
|
|
37
|
+
signLeft?: number;
|
|
38
|
+
signTop?: number;
|
|
39
|
+
sizeProfile?: ContractSigningSizeProfileName | ContractSigningSizeProfile;
|
|
40
|
+
sealType?: string[];
|
|
41
|
+
sealSizeLimit?: ContractSigningSealSizeLimit;
|
|
42
|
+
}): ContractSigningPlacement;
|
|
43
|
+
export declare function validateContractSigningLocationValue(value: ContractSigningLocationValue, options?: ContractSigningLocationValidationOptions): ContractSigningLocationError[];
|
|
44
|
+
export declare function buildContractSigningLocationRules(value: ContractSigningLocationValue, options?: ContractSigningLocationValidationOptions): ContractSigningLocationRule[];
|
|
45
|
+
export declare function buildContractSigningLocationOutput(value: ContractSigningLocationValue, options?: ContractSigningLocationValidationOptions): ContractSigningLocationOutput;
|
|
46
|
+
export declare class ContractSigningLocationBuildError extends Error {
|
|
47
|
+
readonly code = "CONTRACT_SIGNING_LOCATION_INVALID";
|
|
48
|
+
readonly errors: ContractSigningLocationError[];
|
|
49
|
+
constructor(errors: ContractSigningLocationError[]);
|
|
50
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { ContractSigningPage } from './types';
|
|
2
|
+
/** 连续多页画布的页间距,使用显示像素,不随单页尺寸缩放。 */
|
|
3
|
+
export declare const CONTRACT_SIGNING_PAGE_GAP = 16;
|
|
4
|
+
/** 不可用页仍要占位,保证滚动条总长和跨页定位可计算。 */
|
|
5
|
+
export declare const CONTRACT_SIGNING_FALLBACK_PAGE_SIZE: {
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
/** 虚拟窗口在可见页前后额外挂载的页数。 */
|
|
10
|
+
export declare const CONTRACT_SIGNING_VIRTUAL_BUFFER_PAGES = 1;
|
|
11
|
+
export interface ContractSigningPageLayout {
|
|
12
|
+
pageIndex: number;
|
|
13
|
+
top: number;
|
|
14
|
+
height: number;
|
|
15
|
+
width: number;
|
|
16
|
+
left: number;
|
|
17
|
+
}
|
|
18
|
+
export interface ContractSigningVisibleRange {
|
|
19
|
+
start: number;
|
|
20
|
+
end: number;
|
|
21
|
+
}
|
|
22
|
+
export interface ContractSigningPagePoint {
|
|
23
|
+
pageIndex: number;
|
|
24
|
+
x: number;
|
|
25
|
+
y: number;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* 按每页真实宽高和当前 zoom 累加显示布局。
|
|
29
|
+
* 不可用页用兜底 A4 占位,gap 始终是显示像素。
|
|
30
|
+
*/
|
|
31
|
+
export declare function buildPageLayouts(pages: Array<Pick<ContractSigningPage, 'pageIndex' | 'width' | 'height'>>, zoom: number, gap?: number): ContractSigningPageLayout[];
|
|
32
|
+
export declare function getPageLayoutsContentSize(layouts: readonly ContractSigningPageLayout[]): {
|
|
33
|
+
width: number;
|
|
34
|
+
height: number;
|
|
35
|
+
};
|
|
36
|
+
/**
|
|
37
|
+
* 指针越靠近滚动区边缘(含越出边缘)速度越快。
|
|
38
|
+
* 返回值为本次动画帧应增加的 scrollTop。
|
|
39
|
+
*/
|
|
40
|
+
export declare function getContractSigningAutoScrollDelta(clientY: number, rect: Pick<DOMRect, 'top' | 'bottom'>, edgePx?: number): number;
|
|
41
|
+
/** 二分查找 contentY 所在页;落在页缝时取更近的一页。 */
|
|
42
|
+
export declare function findPageAtOffset(layouts: readonly ContractSigningPageLayout[], contentY: number): ContractSigningPageLayout | undefined;
|
|
43
|
+
export declare function getVisibleRange(layouts: readonly ContractSigningPageLayout[], scrollTop: number, viewportHeight: number, bufferPages?: number): ContractSigningVisibleRange;
|
|
44
|
+
/**
|
|
45
|
+
* 把滚动内容坐标换算成目标页的 PDF 逻辑坐标。
|
|
46
|
+
* 虚拟滚动下目标页可能未挂载,必须走几何计算而不是 DOM 命中测试。
|
|
47
|
+
*/
|
|
48
|
+
export declare function contentPointToPagePoint(layouts: readonly ContractSigningPageLayout[], pages: Array<Pick<ContractSigningPage, 'pageIndex' | 'width' | 'height'>>, contentX: number, contentY: number, originOffset?: number): ContractSigningPagePoint | undefined;
|
|
49
|
+
export declare function getPageLayoutScrollTop(layouts: readonly ContractSigningPageLayout[], pageIndex: number): number;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/** 管理同一页面预览的请求身份,避免被取消但未及时结束的旧请求覆盖新结果。 */
|
|
2
|
+
export declare class ContractSigningPreviewRequests {
|
|
3
|
+
private readonly controllers;
|
|
4
|
+
start(key: string): AbortController;
|
|
5
|
+
isCurrent(key: string, controller: AbortController): boolean;
|
|
6
|
+
finish(key: string, controller: AbortController): boolean;
|
|
7
|
+
abort(predicate?: (key: string) => boolean): string[];
|
|
8
|
+
}
|
|
@@ -0,0 +1,218 @@
|
|
|
1
|
+
export type ContractSigningPlacementType = 'seal' | 'signature' | 'date';
|
|
2
|
+
export interface ContractSigningPage {
|
|
3
|
+
/** 规则层使用的零基页序。 */
|
|
4
|
+
pageIndex: number;
|
|
5
|
+
/** 仅用于界面展示的一基页码。 */
|
|
6
|
+
displayPageNumber: number;
|
|
7
|
+
/** locationRules 使用的 PDF 逻辑坐标宽高。 */
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
previewUrl?: string;
|
|
11
|
+
thumbnailUrl?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface ContractSigningFile {
|
|
14
|
+
fileId: string;
|
|
15
|
+
fileName: string;
|
|
16
|
+
pages: ContractSigningPage[];
|
|
17
|
+
}
|
|
18
|
+
export interface ContractSigningPlacement {
|
|
19
|
+
id: string;
|
|
20
|
+
fileId: string;
|
|
21
|
+
pageIndex: number;
|
|
22
|
+
signType: ContractSigningPlacementType;
|
|
23
|
+
signLeft: number;
|
|
24
|
+
signTop: number;
|
|
25
|
+
signWidth: number;
|
|
26
|
+
signHeight: number;
|
|
27
|
+
mustSign: boolean;
|
|
28
|
+
sealType?: string[];
|
|
29
|
+
}
|
|
30
|
+
export interface ContractSigningLocationValue {
|
|
31
|
+
contractId?: string;
|
|
32
|
+
files: ContractSigningFile[];
|
|
33
|
+
placements: ContractSigningPlacement[];
|
|
34
|
+
}
|
|
35
|
+
export interface ContractSigningLocationRule {
|
|
36
|
+
mustSign: boolean;
|
|
37
|
+
location: {
|
|
38
|
+
signType: ContractSigningPlacementType;
|
|
39
|
+
signTop: number;
|
|
40
|
+
signLeft: number;
|
|
41
|
+
signWidth: number;
|
|
42
|
+
signHeight: number;
|
|
43
|
+
pageList: Record<string, number[]>;
|
|
44
|
+
sealType?: string[];
|
|
45
|
+
};
|
|
46
|
+
}
|
|
47
|
+
export interface ContractSigningLocationOutput extends ContractSigningLocationValue {
|
|
48
|
+
locationRules: ContractSigningLocationRule[];
|
|
49
|
+
}
|
|
50
|
+
export interface ContractSigningLocationProvider {
|
|
51
|
+
/**
|
|
52
|
+
* 兼容项,默认 1(不缩放)。推荐宿主在 loadContract 里直接返回签署端坐标空间的页尺寸,
|
|
53
|
+
* 即与 contract-app 同一个 query 页接口、同一个 floor(值 / 1.5),而不是在这里配倍率。
|
|
54
|
+
* 只作用于 dataProvider 返回值,受控 modelValue / locationRules 不得再次缩放。
|
|
55
|
+
*/
|
|
56
|
+
coordinateScale?: number;
|
|
57
|
+
/** 根据 PaaS 合同 ID 加载真实文件和页面元数据。 */
|
|
58
|
+
loadContract: (input: {
|
|
59
|
+
contractId: string;
|
|
60
|
+
}) => Promise<ContractSigningLocationValue>;
|
|
61
|
+
/** 页面预览可按需加载;缩略图与中间大图允许由宿主走不同尺寸接口。 */
|
|
62
|
+
loadPagePreview?: (input: {
|
|
63
|
+
contractId?: string;
|
|
64
|
+
fileId: string;
|
|
65
|
+
pageIndex: number;
|
|
66
|
+
thumbnail?: boolean;
|
|
67
|
+
/** 宿主应在切页或组件卸载后终止轮询/下载,避免过期预览继续占用请求。 */
|
|
68
|
+
signal?: AbortSignal;
|
|
69
|
+
}) => Promise<{
|
|
70
|
+
url: string;
|
|
71
|
+
width?: number;
|
|
72
|
+
height?: number;
|
|
73
|
+
}>;
|
|
74
|
+
}
|
|
75
|
+
export interface ContractSigningSealTypeOption {
|
|
76
|
+
value: string;
|
|
77
|
+
label: string;
|
|
78
|
+
}
|
|
79
|
+
export interface ContractSigningPlacementSize {
|
|
80
|
+
width: number;
|
|
81
|
+
height: number;
|
|
82
|
+
}
|
|
83
|
+
export interface ContractSigningSizeProfile {
|
|
84
|
+
seal: ContractSigningPlacementSize;
|
|
85
|
+
signature: ContractSigningPlacementSize;
|
|
86
|
+
date: ContractSigningPlacementSize;
|
|
87
|
+
}
|
|
88
|
+
export type ContractSigningSizeProfileName = 'default';
|
|
89
|
+
export interface ContractSigningSealSizeLimit {
|
|
90
|
+
min: number;
|
|
91
|
+
max: number;
|
|
92
|
+
}
|
|
93
|
+
export interface ContractSigningLocationProps {
|
|
94
|
+
/** 当前标注数据(files + placements),与 v-model 双向绑定 */
|
|
95
|
+
modelValue?: ContractSigningLocationValue;
|
|
96
|
+
/**
|
|
97
|
+
* PaaS 合同 ID;autoLoad 时传给 dataProvider.loadContract
|
|
98
|
+
* @default ''
|
|
99
|
+
*/
|
|
100
|
+
contractId?: string;
|
|
101
|
+
/** 宿主注入的加载契约:loadContract、可选 loadPagePreview、coordinateScale */
|
|
102
|
+
dataProvider?: ContractSigningLocationProvider;
|
|
103
|
+
/**
|
|
104
|
+
* 印章类型选项;不传则使用内置 01~05(单位/财务/发票/合同/法定代表人)
|
|
105
|
+
* @default 内置 01~05
|
|
106
|
+
*/
|
|
107
|
+
sealTypeOptions?: ContractSigningSealTypeOption[];
|
|
108
|
+
/**
|
|
109
|
+
* 新建位置默认宽高;'default' 或自定义 {seal,signature,date}。印章新建 80×80
|
|
110
|
+
* @default 'default'
|
|
111
|
+
*/
|
|
112
|
+
sizeProfile?: ContractSigningSizeProfileName | ContractSigningSizeProfile;
|
|
113
|
+
/**
|
|
114
|
+
* 有 contractId 且注入 dataProvider 时是否自动 load
|
|
115
|
+
* @default true
|
|
116
|
+
*/
|
|
117
|
+
autoLoad?: boolean;
|
|
118
|
+
/**
|
|
119
|
+
* 只读模式,禁止新增、拖拽和改属性
|
|
120
|
+
* @default false
|
|
121
|
+
*/
|
|
122
|
+
readonly?: boolean;
|
|
123
|
+
/**
|
|
124
|
+
* 禁用整个组件(同时生效只读约束)
|
|
125
|
+
* @default false
|
|
126
|
+
*/
|
|
127
|
+
disabled?: boolean;
|
|
128
|
+
/**
|
|
129
|
+
* 缩放下限
|
|
130
|
+
* @default 0.5
|
|
131
|
+
*/
|
|
132
|
+
minZoom?: number;
|
|
133
|
+
/**
|
|
134
|
+
* 缩放上限
|
|
135
|
+
* @default 1.5
|
|
136
|
+
*/
|
|
137
|
+
maxZoom?: number;
|
|
138
|
+
/**
|
|
139
|
+
* 当前缩放比例,可 v-model:zoom
|
|
140
|
+
* @default 1
|
|
141
|
+
*/
|
|
142
|
+
zoom?: number;
|
|
143
|
+
/**
|
|
144
|
+
* 默认 false;为 true 时仅签名/日期可调。印章非只读时始终可调,正方形边长夹在 sealMinSize~sealMaxSize。
|
|
145
|
+
* @default false
|
|
146
|
+
*/
|
|
147
|
+
resizable?: boolean;
|
|
148
|
+
/**
|
|
149
|
+
* 印章正方形边长最小值;不是新建默认尺寸
|
|
150
|
+
* @default 50
|
|
151
|
+
*/
|
|
152
|
+
sealMinSize?: number;
|
|
153
|
+
/**
|
|
154
|
+
* 印章正方形边长最大值
|
|
155
|
+
* @default 80
|
|
156
|
+
*/
|
|
157
|
+
sealMaxSize?: number;
|
|
158
|
+
/**
|
|
159
|
+
* 组件整体高度,决定三区独立滚动的可视范围;数字按 px 处理,不传用内置 clamp 默认值。
|
|
160
|
+
* @default clamp(720px, calc(100vh - 180px), 980px)
|
|
161
|
+
*/
|
|
162
|
+
height?: string | number;
|
|
163
|
+
}
|
|
164
|
+
export interface ContractSigningLocationError {
|
|
165
|
+
code: string;
|
|
166
|
+
message: string;
|
|
167
|
+
placementId?: string;
|
|
168
|
+
fileId?: string;
|
|
169
|
+
pageIndex?: number;
|
|
170
|
+
cause?: unknown;
|
|
171
|
+
}
|
|
172
|
+
export interface ContractSigningLocationValidationOptions {
|
|
173
|
+
/** 传入时,印章位置只能使用宿主实际配置的类型值;不传则只校验非空。 */
|
|
174
|
+
allowedSealTypes?: Iterable<string>;
|
|
175
|
+
}
|
|
176
|
+
export interface ContractSigningLocationEmits {
|
|
177
|
+
/** 标注数据变化时同步 v-model */
|
|
178
|
+
'update:modelValue': [value: ContractSigningLocationValue];
|
|
179
|
+
/** 缩放变化时同步 v-model:zoom */
|
|
180
|
+
'update:zoom': [value: number];
|
|
181
|
+
/** 标注数据变化时触发 */
|
|
182
|
+
'change': [value: ContractSigningLocationValue];
|
|
183
|
+
/** 合同加载完成或初始数据就绪 */
|
|
184
|
+
'ready': [value: ContractSigningLocationValue];
|
|
185
|
+
/** 当前合同文件切换 */
|
|
186
|
+
'file-change': [fileId: string];
|
|
187
|
+
/** 当前页切换 */
|
|
188
|
+
'page-change': [fileId: string, pageIndex: number];
|
|
189
|
+
/** 确认并生成 locationRules 后触发 */
|
|
190
|
+
'submit': [value: ContractSigningLocationOutput];
|
|
191
|
+
/** 加载或校验失败 */
|
|
192
|
+
'error': [error: ContractSigningLocationError];
|
|
193
|
+
}
|
|
194
|
+
export interface ContractSigningLocationExpose {
|
|
195
|
+
/** 按 contractId 调用 dataProvider.loadContract 加载合同 */
|
|
196
|
+
load: () => Promise<ContractSigningLocationValue | false>;
|
|
197
|
+
/** 校验当前位置,返回错误数组 */
|
|
198
|
+
validate: () => ContractSigningLocationError[];
|
|
199
|
+
/** 获取当前标注数据快照 */
|
|
200
|
+
getValue: () => ContractSigningLocationValue;
|
|
201
|
+
/** 获取含 locationRules 的导出数据 */
|
|
202
|
+
getOutput: () => ContractSigningLocationOutput;
|
|
203
|
+
/** 校验通过后导出 locationRules;失败返回 false */
|
|
204
|
+
submit: () => ContractSigningLocationOutput | false;
|
|
205
|
+
/** 恢复到最近一次加载或初始数据 */
|
|
206
|
+
reset: () => ContractSigningLocationValue;
|
|
207
|
+
/** 在指定页新增签署位置;无可用页时返回 undefined */
|
|
208
|
+
addPlacement: (type: ContractSigningPlacementType, target?: {
|
|
209
|
+
fileId?: string;
|
|
210
|
+
pageIndex?: number;
|
|
211
|
+
signLeft?: number;
|
|
212
|
+
signTop?: number;
|
|
213
|
+
}) => ContractSigningPlacement | undefined;
|
|
214
|
+
/** 按 id 删除签署位置 */
|
|
215
|
+
removePlacement: (id: string) => void;
|
|
216
|
+
/** 按当前画布宽度缩放页面,并回到自动适宽模式 */
|
|
217
|
+
fitWidth: () => number;
|
|
218
|
+
}
|
|
@@ -42,7 +42,7 @@ type SetupOptions = {
|
|
|
42
42
|
* 使用示例:
|
|
43
43
|
* ```ts
|
|
44
44
|
* // main.ts
|
|
45
|
-
* import { setupAppConfig } from '
|
|
45
|
+
* import { setupAppConfig } from '../../index'
|
|
46
46
|
* import http from '@/utils/http'
|
|
47
47
|
*
|
|
48
48
|
* const config = await setupAppConfig(http, {
|
|
@@ -69,7 +69,7 @@ export declare function setupAppConfig(http: any, options: SetupOptions): Promis
|
|
|
69
69
|
* 使用示例:
|
|
70
70
|
* ```ts
|
|
71
71
|
* // 组件中
|
|
72
|
-
* import { useBasicAppConfig } from '
|
|
72
|
+
* import { useBasicAppConfig } from '../../index'
|
|
73
73
|
* import http from '@/utils/http'
|
|
74
74
|
*
|
|
75
75
|
* const { appConfig, updateFavicon, updateTitle, refresh } = useBasicAppConfig(http, {
|
|
@@ -26,6 +26,8 @@ export * from './pro-cell-group';
|
|
|
26
26
|
export * from './pro-selector-group';
|
|
27
27
|
export * from './pro-dynamic-tags';
|
|
28
28
|
export * from './pro-drawer';
|
|
29
|
+
export * from './contract-signing-location';
|
|
29
30
|
export * from './pro-contract-template-designer';
|
|
31
|
+
export * from './pro-contract-signing-flow';
|
|
30
32
|
export * from './pro-contract-template-agent';
|
|
31
33
|
export * from './hooks';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { SFCWithInstall } from '../utils/install';
|
|
2
|
+
import { default as ProContractSigningFlow } from './src/ProContractSigningFlow.vue';
|
|
3
|
+
export * from './src/constants';
|
|
4
|
+
export * from './src/types';
|
|
5
|
+
export * from './src/composables/use-contract-signing-flow';
|
|
6
|
+
export declare const GdAntProContractSigningFlow: SFCWithInstall<typeof ProContractSigningFlow>;
|
|
7
|
+
export default GdAntProContractSigningFlow;
|
package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowCanvas.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContractSigningFlowNode } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
nodes: ContractSigningFlowNode[];
|
|
4
|
+
selectedKey?: string;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
};
|
|
8
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
9
|
+
add: () => any;
|
|
10
|
+
select: (node: ContractSigningFlowNode) => any;
|
|
11
|
+
remove: (node: ContractSigningFlowNode) => any;
|
|
12
|
+
move: (node: ContractSigningFlowNode, direction: 1 | -1) => any;
|
|
13
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
14
|
+
onAdd?: (() => any) | undefined;
|
|
15
|
+
onSelect?: ((node: ContractSigningFlowNode) => any) | undefined;
|
|
16
|
+
onRemove?: ((node: ContractSigningFlowNode) => any) | undefined;
|
|
17
|
+
onMove?: ((node: ContractSigningFlowNode, direction: 1 | -1) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
export default _default;
|
package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowInspector.vue.d.ts
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ContractSigningFlowNode } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node?: ContractSigningFlowNode;
|
|
4
|
+
readonly?: boolean;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
};
|
|
7
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
8
|
+
change: (node: ContractSigningFlowNode) => any;
|
|
9
|
+
placementRequest: () => any;
|
|
10
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
11
|
+
onChange?: ((node: ContractSigningFlowNode) => any) | undefined;
|
|
12
|
+
onPlacementRequest?: (() => any) | undefined;
|
|
13
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
14
|
+
export default _default;
|
package/dist/types/components/pro-contract-signing-flow/src/ContractSigningFlowNodeCard.vue.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ContractSigningFlowNode } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
node: ContractSigningFlowNode;
|
|
4
|
+
selected: boolean;
|
|
5
|
+
readonly?: boolean;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
canMoveUp?: boolean;
|
|
8
|
+
canMoveDown?: boolean;
|
|
9
|
+
};
|
|
10
|
+
declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
select: () => any;
|
|
12
|
+
remove: () => any;
|
|
13
|
+
move: (direction: 1 | -1) => any;
|
|
14
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
15
|
+
onSelect?: (() => any) | undefined;
|
|
16
|
+
onRemove?: (() => any) | undefined;
|
|
17
|
+
onMove?: ((direction: 1 | -1) => any) | undefined;
|
|
18
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLElement>;
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { ContractSigningFlowDefinition, ContractSigningFlowLocationRule, ContractSigningFlowNode, ContractSigningFlowProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<ContractSigningFlowProps, {
|
|
3
|
+
getValue: () => ContractSigningFlowDefinition;
|
|
4
|
+
setValue: (value: ContractSigningFlowDefinition) => void;
|
|
5
|
+
validate: () => import('./types').ContractSigningFlowValidationError[];
|
|
6
|
+
addSignNode: () => ContractSigningFlowNode;
|
|
7
|
+
removeSignNode: (nodeKey: string) => void;
|
|
8
|
+
moveSignNode: (nodeKey: string, direction: -1 | 1) => void;
|
|
9
|
+
setNodeLocationRules: (nodeKey: string, locationRules: ContractSigningFlowLocationRule[]) => void;
|
|
10
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
11
|
+
validate: (errors: import('./types').ContractSigningFlowValidationError[]) => any;
|
|
12
|
+
"update:modelValue": (value: ContractSigningFlowDefinition) => any;
|
|
13
|
+
change: (value: ContractSigningFlowDefinition) => any;
|
|
14
|
+
"node-add": (node: ContractSigningFlowNode) => any;
|
|
15
|
+
"node-change": (node: ContractSigningFlowNode) => any;
|
|
16
|
+
"node-remove": (nodeKey: string) => any;
|
|
17
|
+
"node-move": (nodeKey: string, direction: 1 | -1) => any;
|
|
18
|
+
"node-select": (node: ContractSigningFlowNode | undefined) => any;
|
|
19
|
+
"placement-request": (payload: import('./types').ContractSigningFlowPlacementRequest) => any;
|
|
20
|
+
}, string, import('vue').PublicProps, Readonly<ContractSigningFlowProps> & Readonly<{
|
|
21
|
+
onValidate?: ((errors: import('./types').ContractSigningFlowValidationError[]) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((value: ContractSigningFlowDefinition) => any) | undefined;
|
|
23
|
+
onChange?: ((value: ContractSigningFlowDefinition) => any) | undefined;
|
|
24
|
+
"onNode-add"?: ((node: ContractSigningFlowNode) => any) | undefined;
|
|
25
|
+
"onNode-change"?: ((node: ContractSigningFlowNode) => any) | undefined;
|
|
26
|
+
"onNode-remove"?: ((nodeKey: string) => any) | undefined;
|
|
27
|
+
"onNode-move"?: ((nodeKey: string, direction: 1 | -1) => any) | undefined;
|
|
28
|
+
"onNode-select"?: ((node: ContractSigningFlowNode | undefined) => any) | undefined;
|
|
29
|
+
"onPlacement-request"?: ((payload: import('./types').ContractSigningFlowPlacementRequest) => any) | undefined;
|
|
30
|
+
}>, {
|
|
31
|
+
disabled: boolean;
|
|
32
|
+
height: string | number;
|
|
33
|
+
readonly: boolean;
|
|
34
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
35
|
+
export default _default;
|