更新日志

1.4.6open in new window (2023-07-21)

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • 批量控件:
  1. FaContract 参数 singlePageRiding 已废弃并删除
  2. FaContract 事件 riding-apply 已废弃并删除
  3. FaContract 新增事件 batch-apply 控件批量应用
  • Tag:
  1. Widget 控件属性 signCornerTag 更改为 signTag,更改类型定义以支持更丰富场景
  2. 去除 FaSignSelect isToApplySeal 需审批等业务标签,由业务自行处理

1.4.5open in new window (2023-04-23)

Bug Fixes

chore

Code Refactoring

Features

Performance Improvements

BREAKING CHANGES

  • vue 升级版本至 v2.7,不再依赖 @vue/composition-api
  • Doc: 移除 Doc 数据模型,使用 DocData 类型代替

1.4.4open in new window (2023-03-02)

Bug Fixes

Features

BREAKING CHANGES

  • FaContract: 控件跨页拖动 widgetMovingAcrossPages 默认值更改为 true

1.4.3open in new window (2022-12-16)

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • DragResize:

    • 事件 dragging 拖拽移动中参数更改为 MovingData
    • 事件 resizing 调整大小中参数更改为 ResizeData
  • 控件删除:

    • viewer.removeWidget 方法参数更改,只支持单个控件,新增参数 direct 是否直接删除
    • widget.closeable 控件是否可删除更名为 widget.removable
    • FaContract 选项 beforeWidgetClose 控件删除前 更名为 beforeWidgetRemove,并支持多个控件参数

1.4.2open in new window (2022-10-25)

Bug Fixes

Features

Performance Improvements

BREAKING CHANGES

  • FaContract: 控件关闭事件 widget-close 更改为控件移除事件 widget-remove

1.4.1open in new window (2022-09-15)

Bug Fixes

Features

Performance Improvements

1.4.0open in new window (2022-08-24)

Bug Fixes

Code Refactoring

Features

Performance Improvements

BREAKING CHANGES

Widget 静态方法

  • 全局方法 defineWidget 移动到 Widget.defineWidget

  • 全局方法 getWidgetOption 移动到 Widget.getWidgetOption

  • 全局方法 getWidgetList 移动到 Widget.getWidgetOptions

  • 全局方法 setWidgetTransfer 移动到 Widget.setWidgetTransfer

  • 全局方法 getWidgetTransfer 移动到 Widget.getWidgetTransfer

  • 全局方法 getActorColor 移动到 Widget.getActorColor

RawField 原始控件数据

  • Widget 静态方法 createFillWidget 更名为 createRawWidget

  • Widget 方法 getFillField 更名为 getRawField

  • 接口 FillWidgetData 更名为 RawField

FaContract 签署选项 signOptions

  • FaContract 组件 signClassName 选项已弃用,请使用 signOptions.signClassName 替换

  • FaContract 组件 canChangeSign 选项已弃用,请使用 signOptions.signChangeable 替换

组件更改

  • FaContract: 单页文档默认不支持骑缝章

  • FaWidgetFill: 为了便于扩展,去除 FaPanel 面板

  • FaWidgetSetting:

    • 为了便于扩展,去除 FaPanel 面板

    • widgetCode 是否显示控件编码默认为 false

    • 签署控件设置开放并校验控件名称字段

1.3.4open in new window (2022-06-27)

Bug Fixes

Features

Performance Improvements

  • 控件排序: 更改 computed 自动排序为手动触发,避免控件拖拽或调整大小时频繁计算导致卡顿 (611f139open in new window)

1.3.3open in new window (2022-05-31)

Bug Fixes

  • CheckGroup: 单/复选框表单填写时不禁用,以支持模板控件为查看模式仍能预填写控件 (005002eopen in new window)

Features

Performance Improvements

1.3.2open in new window (2022-05-12)

Bug Fixes

Features

1.3.1open in new window (2022-05-10)

Bug Fixes

Performance Improvements

1.3.0open in new window (2022-04-19)

Bug Fixes

Features

Performance Improvements

1.2.12open in new window (2022-02-14)

Bug Fixes

  • 骑缝区域: 仅手动点击骑缝按钮时才滚动到骑缝区域,避免页面宽度不够时初次载入就显示骑缝区域 (3506d47open in new window)

Features

Performance Improvements

1.2.11open in new window (2022-01-19)

Features

1.2.10open in new window (2022-01-19)

Bug Fixes

Features

  • FaDragResize: 新增选项 onDragStart 拖拽开始,onResizeStart 调整大小开始,返回 false 则阻止操作 (1f4957bopen in new window)

Performance Improvements

1.2.9open in new window (2022-01-17)

Bug Fixes

  • FaContract: 修复文档切换时如果两份合同文档页数一致则图片加载还是旧的合同 (9902608open in new window)

Features

1.2.8open in new window (2022-01-10)

Bug Fixes

Features

1.2.7open in new window (2022-01-05)

Bug Fixes

Features

  • 滚动: 新增公共配置 scrollSmoothDistance 平滑滚动距离,超过距离不适用平滑滚动,避免同时加载图片数量过多 (b5d0162open in new window)

1.2.6open in new window (2021-12-29)

Bug Fixes

1.2.5open in new window (2021-12-27)

Code Refactoring

Performance Improvements

  • 虚拟滚动: 优化当前页码计算,使用滚动位置比例模糊确认当前页码再匹配,减少遍历次数 (7e7a1a4open in new window)

BREAKING CHANGES

  • FaSignImg: 移除 srcukey 参数,使用 data 印章数据替换

1.2.4open in new window (2021-12-27)

Code Refactoring

Features

Performance Improvements

BREAKING CHANGES

  • utils: 1. 控件拖拽方法 dragCtrl 更名为 setWidgetTransfer
  1. 获取拖拽传输的控件数据方法 getWidgetTransferData 更名为 getWidgetTransfer
  • 控件校验: 移除 Widget 字段 validate (控件校验),使用 error (校验错误信息)代替
  • FaContract: validate 校验控件方法默认会聚焦并标记错误控件

1.2.3open in new window (2021-12-22)

Bug Fixes

Features

1.2.2open in new window (2021-12-21)

Features

1.2.1open in new window (2021-12-14)

Features

1.2.0open in new window (2021-12-07)

Bug Fixes

Code Refactoring

Features

BREAKING CHANGES

  1. Widget 字段改动:

    • actorIdactorNameactorIndex 使用 actor 替换
    • sealIdsealImg 使用 sign 替换
    • fontSizefontFamilytextAlignmaxLengthplaceholder 使用 text 替换
    • fileName 使用 attachment 替换
  2. FaContract 附件上传参数由 upload 更改为 attachmentUpload

  3. FaSealImg 更名为 FaSignImg

  4. FaSealSelect 更名为 FaSignSelect

  5. FaContract 移除 thumbs 参数,改为通过 FaThumbs viewer 参数同步滚动

  6. FaContract 是否允许切换签章 canChangeSeal 更改为 canChangeSign

1.1.10open in new window (2021-12-01)

Code Refactoring

Features

BREAKING CHANGES

  • FaActors: - 移除参数 index 激活的控件索引,使用 selected 关联选中数据
  • 移除参数 widgetCounter 控件计数,新增 widgets 参数内部计数
  • 签章数据类型 SealData 更改为 SignData

1.1.9open in new window (2021-11-25)

Features

  • ActorData: 新增 isPerson 是否个人字段,个人无法使用企业印章控件 (24280e4open in new window)
  • FaContract | Widget: 新增控件点击事件 widget-click(widget: Widget);Widget 新增 className 属性自定义控件元素 class (35bfbddopen in new window)

Performance Improvements

1.1.8open in new window (2021-11-23)

Bug Fixes

1.1.7open in new window (2021-11-23)

Performance Improvements

1.1.6open in new window (2021-11-22)

Bug Fixes

Performance Improvements

1.1.4open in new window (2021-11-17)

Performance Improvements

1.1.3open in new window (2021-11-16)

Bug Fixes

1.1.2open in new window (2021-11-16)

Features

1.1.1open in new window (2021-11-15)

Bug Fixes

1.1.0open in new window (2021-11-12)

Code Refactoring

BREAKING CHANGES

  • PageInfo => PageData
  • ContractDocBase => DocData
  • ContractWidgetOptions => WidgetOptions
  • ActorItem => ActorData
  • Widget actorIndex 默认值改为 -1

1.0.15open in new window (2021-11-10)

Bug Fixes

1.0.14open in new window (2021-11-10)

Bug Fixes

Performance Improvements

1.0.13open in new window (2021-11-09)

Features

1.0.12open in new window (2021-11-04)

Bug Fixes

1.0.11open in new window (2021-11-02)

Features

1.0.10open in new window (2021-10-29)

Performance Improvements

1.0.9open in new window (2021-10-28)

Features

  • 文档查看: 使用 ResizeObserver 监听节点大小以更新布局;删除滚动到底部按钮 (e49fc47open in new window)

Performance Improvements

1.0.8open in new window (2021-10-26)

Features

1.0.7open in new window (2021-10-23)

Performance Improvements

1.0.6open in new window (2021-10-22)

Features

1.0.5open in new window (2021-10-21)

Bug Fixes

Features

1.0.4open in new window (2021-10-14)

Features

1.0.3open in new window (2021-10-13)

Features

Performance Improvements

1.0.2open in new window (2021-09-27)

Features

Performance Improvements

1.0.1open in new window (2021-09-26)

Features

1.0.0open in new window (2021-09-18)

Features