lost-sia 1.0.2 → 1.0.3
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/CHANGELOG.md +4 -0
- package/dist/index.es.js +26 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.js +27 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
5
5
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
6
6
|
|
|
7
|
+
## [1.0.3] - 2022-05-10
|
|
8
|
+
### Fixed
|
|
9
|
+
- Export of toolbarEvents and tools
|
|
10
|
+
|
|
7
11
|
## [1.0.2] - 2022-05-09
|
|
8
12
|
### Fixed
|
|
9
13
|
- Improved internal uiConfig handling
|
package/dist/index.es.js
CHANGED
|
@@ -3800,6 +3800,13 @@ var BBOX = 'bBox';
|
|
|
3800
3800
|
var LINE = 'line';
|
|
3801
3801
|
var POLYGON = 'polygon';
|
|
3802
3802
|
|
|
3803
|
+
var tools = /*#__PURE__*/Object.freeze({
|
|
3804
|
+
POINT: POINT,
|
|
3805
|
+
BBOX: BBOX,
|
|
3806
|
+
LINE: LINE,
|
|
3807
|
+
POLYGON: POLYGON
|
|
3808
|
+
});
|
|
3809
|
+
|
|
3803
3810
|
var _createClass$f = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
3804
3811
|
|
|
3805
3812
|
function _classCallCheck$f(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -8690,6 +8697,24 @@ var EDIT_NODE_RADIUS = 'editNodeRadius';
|
|
|
8690
8697
|
var APPLY_FILTER = 'applyFilter';
|
|
8691
8698
|
var SAVE = 'save';
|
|
8692
8699
|
|
|
8700
|
+
var toolbarEvents = /*#__PURE__*/Object.freeze({
|
|
8701
|
+
TOOL_SELECTED: TOOL_SELECTED,
|
|
8702
|
+
GET_NEXT_IMAGE: GET_NEXT_IMAGE,
|
|
8703
|
+
GET_PREV_IMAGE: GET_PREV_IMAGE,
|
|
8704
|
+
TASK_FINISHED: TASK_FINISHED,
|
|
8705
|
+
SHOW_IMAGE_LABEL_INPUT: SHOW_IMAGE_LABEL_INPUT,
|
|
8706
|
+
IMG_IS_JUNK: IMG_IS_JUNK,
|
|
8707
|
+
DELETE_ALL_ANNOS: DELETE_ALL_ANNOS,
|
|
8708
|
+
SET_FULLSCREEN: SET_FULLSCREEN,
|
|
8709
|
+
SHOW_ANNO_DETAILS: SHOW_ANNO_DETAILS,
|
|
8710
|
+
SHOW_LABEL_INFO: SHOW_LABEL_INFO,
|
|
8711
|
+
SHOW_ANNO_STATS: SHOW_ANNO_STATS,
|
|
8712
|
+
EDIT_STROKE_WIDTH: EDIT_STROKE_WIDTH,
|
|
8713
|
+
EDIT_NODE_RADIUS: EDIT_NODE_RADIUS,
|
|
8714
|
+
APPLY_FILTER: APPLY_FILTER,
|
|
8715
|
+
SAVE: SAVE
|
|
8716
|
+
});
|
|
8717
|
+
|
|
8693
8718
|
var _createClass$j = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
8694
8719
|
|
|
8695
8720
|
function _classCallCheck$j(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
@@ -10056,5 +10081,5 @@ var Sia = function Sia(props) {
|
|
|
10056
10081
|
);
|
|
10057
10082
|
};
|
|
10058
10083
|
|
|
10059
|
-
export { transform, annoConversion, canvasActions, Canvas, Sia, ToolBar as Toolbar };
|
|
10084
|
+
export { transform, annoConversion, canvasActions, toolbarEvents, tools, Canvas, Sia, ToolBar as Toolbar };
|
|
10060
10085
|
//# sourceMappingURL=index.es.js.map
|