From f3730960b1c2e42feb5630e17f0bb454b19a9c0a Mon Sep 17 00:00:00 2001 From: Mauricio Villegas Date: Tue, 17 Mar 2020 22:36:51 +0100 Subject: [PATCH] - Removed echo of token in circleci config and updated nwjs version. nw-app: - Added xsd xmlns to Readme component versions. page-editor: - Now it is possible to edit confidences of Property, TextEquiv, Coords and Baseline. - Added support for other region types: ImageRegion, SeparatorRegion and CustomRegion. - Fixed disablings of All mode. - Fixed bug in lower right panel when exiting property modal. - Removed the property tags. page-canvas: - Exporting isValidCoords function. - Changes to support other region types: ImageRegion, SeparatorRegion and CustomRegion. page2svg.xslt, svg2page.xslt: - Support for CustomRegion. --- .circleci/config.yml | 3 +- README.md | 2 +- css/page-editor.css | 12 +--- html/index.html | 19 +++++-- js/nw-app.js | 3 +- js/page-canvas.js | 11 ++-- js/page-editor.js | 124 +++++++++++++++++++++++++++++------------ package.json | 2 +- web-app/common.inc.php | 4 +- web-app/index.php | 19 +++++-- xslt/page2svg.xslt | 6 +- xslt/svg2page.xslt | 8 +-- 12 files changed, 138 insertions(+), 75 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 31a6aa8..01959b1 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -8,7 +8,7 @@ jobs: docker: - image: cibuilds/github:0.12.0 environment: - VERSION_NWJS: v0.35.1 + VERSION_NWJS: v0.44.4 steps: - checkout - run: @@ -24,7 +24,6 @@ jobs: cp -r *.md css examples html js node_modules package.json xsd xslt nw-page-editor-win-x64 mkdir artifacts zip -qr artifacts/nw-page-editor-win-x64.zip nw-page-editor-win-x64 - echo ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ./artifacts/ ghr -t ${GITHUB_TOKEN} -u ${CIRCLE_PROJECT_USERNAME} -r ${CIRCLE_PROJECT_REPONAME} -c ${CIRCLE_SHA1} ${CIRCLE_TAG} ./artifacts/ workflows: version: 2 diff --git a/README.md b/README.md index 21856b1..c9ba9a7 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ nw-page-editor - Simple app for visual editing of Page XML files. -Version: 2020.03.03 +Version: 2020.03.17 # Description diff --git a/css/page-editor.css b/css/page-editor.css index 4b9a6c9..83840f6 100644 --- a/css/page-editor.css +++ b/css/page-editor.css @@ -1,7 +1,7 @@ /** * CSS styles for nw-page-editor. * - * @version $Version: 2019.08.12$ + * @version $Version: 2020.03.17$ * @author Mauricio Villegas * @copyright Copyright(c) 2015-present, Mauricio Villegas * @license MIT License @@ -162,10 +162,10 @@ body { #drawer .radio-set { float: right; - width: 35%; + width: 45%; } #drawer .radio-set:first-of-type { - width: 65%; + width: 55%; } #table-rows input, @@ -199,7 +199,6 @@ body { .hide-text-edit #textinfo, .hide-img image, .hide-marker-start #xpg_polystart > polygon, -.hide-prop-tag .prop-tag, .hide-text-reg .TextRegion > .TextEquiv, .hide-text-line .TextLine > .TextEquiv, .hide-text-word .Word > .TextEquiv, @@ -217,11 +216,6 @@ body { stroke-opacity: 0; } -.prop-tag { - fill: red; - font-weight: bold; -} - #xpg.highlight .selectable-member .Coords, #xpg.highlight .editable .Coords { fill-opacity: 0.5; diff --git a/html/index.html b/html/index.html index 89edc02..3ee4c04 100644 --- a/html/index.html +++ b/html/index.html @@ -2,7 +2,7 @@