@unissey-web/sdk-react 5.2.0 → 5.2.1
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/index.d.ts +4 -2
- package/dist/index.js +9 -7
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import * as _lit_labs_react from '@lit-labs/react';
|
|
2
|
-
import { Button as Button$1, FileUpload as FileUpload$1, FullCapture as FullCapture$1, PictureEditor as PictureEditor$1, ImageCaptureDirections, PictureRecorder as PictureRecorder$1, ReferenceCapture as ReferenceCapture$1, RetryResult as RetryResult$1, SelfieCapture as SelfieCapture$1, VideoRecordDirections as VideoRecordDirections$1, Recorder, RecorderExt } from '@unissey-web/web-components';
|
|
2
|
+
import { Animation as Animation$1, Button as Button$1, FileUpload as FileUpload$1, FullCapture as FullCapture$1, PictureEditor as PictureEditor$1, ImageCaptureDirections, PictureRecorder as PictureRecorder$1, ReferenceCapture as ReferenceCapture$1, RetryResult as RetryResult$1, SelfieCapture as SelfieCapture$1, VideoRecordDirections as VideoRecordDirections$1, Recorder, RecorderExt } from '@unissey-web/web-components';
|
|
3
3
|
export { AcquisitionPreset, ActiveChallengeConfig, CameraConfig, ColorRGBA, CustomAction, EN, FR, FaceChecker, FacingMode, IadConfig, IadMode, OverlayColors, OverlayConfig, OverlayDisplayMode, RecordingConfig, SessionConfig, VideoLength, VideoOrientation, VideoResolutionPreset } from '@unissey-web/web-components';
|
|
4
4
|
import * as React from 'react';
|
|
5
5
|
|
|
6
|
+
declare const Animation: _lit_labs_react.ReactWebComponent<Animation$1, {}>;
|
|
7
|
+
|
|
6
8
|
declare const Button: _lit_labs_react.ReactWebComponent<Button$1, {}>;
|
|
7
9
|
|
|
8
10
|
declare const FileUpload: _lit_labs_react.ReactWebComponent<FileUpload$1, {
|
|
@@ -74,4 +76,4 @@ declare const VideoRecorderExt: _lit_labs_react.ReactWebComponent<RecorderExt, {
|
|
|
74
76
|
onRecord: string;
|
|
75
77
|
}>;
|
|
76
78
|
|
|
77
|
-
export { Button, FileUpload, FullCapture, PictureEditor, PictureRecordDirections, PictureRecorder, ReferenceCapture, RetryResult, SelfieCapture, VideoRecordDirections, VideoRecorder, VideoRecorderExt };
|
|
79
|
+
export { Animation, Button, FileUpload, FullCapture, PictureEditor, PictureRecordDirections, PictureRecorder, ReferenceCapture, RetryResult, SelfieCapture, VideoRecordDirections, VideoRecorder, VideoRecorderExt };
|
package/dist/index.js
CHANGED
|
@@ -553,7 +553,7 @@ var EN = {
|
|
|
553
553
|
};
|
|
554
554
|
|
|
555
555
|
var name$1 = "@unissey-web/web-components";
|
|
556
|
-
var version$1 = "5.2.
|
|
556
|
+
var version$1 = "5.2.1";
|
|
557
557
|
var description$1 = "";
|
|
558
558
|
var module$1 = "./dist/index.js";
|
|
559
559
|
var typings$1 = "./dist/index.d.ts";
|
|
@@ -826,7 +826,7 @@ var Spinner = /*#__PURE__*/function (_LitElement) {
|
|
|
826
826
|
return _createClass(Spinner, [{
|
|
827
827
|
key: "render",
|
|
828
828
|
value: function render() {
|
|
829
|
-
return x$2(_templateObject$4$2 || (_templateObject$4$2 = _taggedTemplateLiteral(["\n <style>\n .primary {\n fill: ", ";\n }\n </style>\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n style=\"margin: auto;
|
|
829
|
+
return x$2(_templateObject$4$2 || (_templateObject$4$2 = _taggedTemplateLiteral(["\n <style>\n .primary {\n fill: ", ";\n }\n </style>\n <?xml version=\"1.0\" encoding=\"utf-8\"?>\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n xmlns:xlink=\"http://www.w3.org/1999/xlink\"\n style=\"margin: auto; display: block; shape-rendering: auto;\"\n width=\"200px\"\n height=\"200px\"\n viewBox=\"0 0 100 100\"\n preserveAspectRatio=\"xMidYMid\"\n >\n <g transform=\"rotate(0 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.9166666666666666s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(30 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.8333333333333334s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(60 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.75s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(90 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.6666666666666666s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(120 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.5833333333333334s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(150 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.5s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(180 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.4166666666666667s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(210 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.3333333333333333s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(240 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.25s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(270 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.16666666666666666s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(300 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"-0.08333333333333333s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n <g transform=\"rotate(330 50 50)\">\n <rect x=\"47\" y=\"24\" rx=\"3\" ry=\"6\" width=\"6\" height=\"12\" class=\"primary\">\n <animate\n attributeName=\"opacity\"\n values=\"1;0\"\n keyTimes=\"0;1\"\n dur=\"1s\"\n begin=\"0s\"\n repeatCount=\"indefinite\"\n ></animate>\n </rect>\n </g>\n </svg>\n "])), defaultVars.colors.primary);
|
|
830
830
|
}
|
|
831
831
|
}]);
|
|
832
832
|
}(s$4);
|
|
@@ -843,7 +843,7 @@ function w(l,t,o,r){var n=arguments.length,e=n<3?t:r===null?r=Object.getOwnPrope
|
|
|
843
843
|
h(t=>{J4.setWasmUrl(t),G4.setWasmUrl(t);},"setWasmUrl");
|
|
844
844
|
|
|
845
845
|
var _templateObject$3$4;
|
|
846
|
-
var Animation = /*#__PURE__*/function (_LitElement) {
|
|
846
|
+
var Animation$1 = /*#__PURE__*/function (_LitElement) {
|
|
847
847
|
function Animation() {
|
|
848
848
|
var _this;
|
|
849
849
|
_classCallCheck(this, Animation);
|
|
@@ -864,7 +864,7 @@ var Animation = /*#__PURE__*/function (_LitElement) {
|
|
|
864
864
|
}
|
|
865
865
|
}]);
|
|
866
866
|
}(s$4);
|
|
867
|
-
Animation.properties = {
|
|
867
|
+
Animation$1.properties = {
|
|
868
868
|
animationPath: {
|
|
869
869
|
attribute: "animation-path",
|
|
870
870
|
type: String
|
|
@@ -878,7 +878,7 @@ Animation.properties = {
|
|
|
878
878
|
type: Boolean
|
|
879
879
|
}
|
|
880
880
|
};
|
|
881
|
-
customElements.define("uni-animation", Animation);
|
|
881
|
+
customElements.define("uni-animation", Animation$1);
|
|
882
882
|
|
|
883
883
|
var _templateObject$2$5, _templateObject2$1$1;
|
|
884
884
|
var CameraVideoOutlinedIcon = /*#__PURE__*/function (_LitElement) {
|
|
@@ -3527,6 +3527,8 @@ var FacingMode = /*#__PURE__*/function (FacingMode) {
|
|
|
3527
3527
|
return FacingMode;
|
|
3528
3528
|
}({});
|
|
3529
3529
|
|
|
3530
|
+
var Animation = i$2(React, "uni-animation", Animation$1);
|
|
3531
|
+
|
|
3530
3532
|
var Button = i$2(React, "uni-button", Button$1);
|
|
3531
3533
|
|
|
3532
3534
|
var FileUpload = i$2(React, "uni-file-upload", FileUpload$1, {
|
|
@@ -3608,7 +3610,7 @@ function _extends() {
|
|
|
3608
3610
|
}
|
|
3609
3611
|
|
|
3610
3612
|
var name = "@unissey-web/sdk-react";
|
|
3611
|
-
var version = "5.2.
|
|
3613
|
+
var version = "5.2.1";
|
|
3612
3614
|
var description = "Unissey React Sdk";
|
|
3613
3615
|
var license = "ISC";
|
|
3614
3616
|
var module = "./dist/index.js";
|
|
@@ -3697,4 +3699,4 @@ var VideoRecorderExt = i$2({
|
|
|
3697
3699
|
}
|
|
3698
3700
|
});
|
|
3699
3701
|
|
|
3700
|
-
export { AcquisitionPreset, Button, EN, FR, FacingMode, FileUpload, FullCapture, IadMode, OverlayDisplayMode, PictureEditor, PictureRecordDirections, PictureRecorder, ReferenceCapture, RetryResult, SelfieCapture, VideoOrientation, VideoRecordDirections, VideoRecorder, VideoRecorderExt, VideoResolutionPreset };
|
|
3702
|
+
export { AcquisitionPreset, Animation, Button, EN, FR, FacingMode, FileUpload, FullCapture, IadMode, OverlayDisplayMode, PictureEditor, PictureRecordDirections, PictureRecorder, ReferenceCapture, RetryResult, SelfieCapture, VideoOrientation, VideoRecordDirections, VideoRecorder, VideoRecorderExt, VideoResolutionPreset };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@unissey-web/sdk-react",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.1",
|
|
4
4
|
"description": "Unissey React Sdk",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"module": "./dist/index.js",
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
24
|
"@lit-labs/react": "^1.0.2",
|
|
25
|
-
"@unissey-web/web-components": "5.2.
|
|
25
|
+
"@unissey-web/web-components": "5.2.1"
|
|
26
26
|
},
|
|
27
27
|
"peerDependencies": {
|
|
28
28
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|