Skip to content
This repository was archived by the owner on Nov 5, 2024. It is now read-only.

Commit 843d9a3

Browse files
author
Cube
authored
Merge pull request #17 from Dynamsoft/_dev
Dev
2 parents 8e59396 + 41faad3 commit 843d9a3

25 files changed

+179
-348
lines changed

.gitignore

Lines changed: 0 additions & 57 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
[InternetShortcut]
2-
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=4.0.0
2+
URL=https://www.dynamsoft.com/camera-enhancer/docs/programming/javascript/api-reference/?ver=4.0.1

LEGAL.txt

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
Legal Notices:
2+
3+
This SDK contains parts of following softwares which are used under license.
4+
5+
===================================================================================
6+
fabric.js
7+
8+
Copyright (c) 2008-2015 Printio (Juriy Zaytsev, Maxim Chernyak)
9+
10+
Permission is hereby granted, free of charge, to any person obtaining a copy
11+
of this software and associated documentation files (the "Software"), to deal
12+
in the Software without restriction, including without limitation the rights
13+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
14+
copies of the Software, and to permit persons to whom the Software is
15+
furnished to do so, subject to the following conditions:
16+
17+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
FITNESS FOR A PARTICULAR PURPOSE AND NON INFRINGEMENT. IN NO EVENT SHALL THE
20+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
23+
SOFTWARE.
24+
===================================================================================
25+
26+
===================================================================================
27+
howler
28+
29+
Copyright (c) 2013-2020 James Simpson and GoldFire Studios, Inc.
30+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
31+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
32+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
33+
===================================================================================

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Copyright © 2003–2023 Dynamsoft. All Rights Reserved.
1+
Copyright © 2003–2024 Dynamsoft. All Rights Reserved.
22

33
The use of this software is governed by the Dynamsoft Terms and Conditions.
44
https://www.dynamsoft.com/company/license-agreement/

README.md

Lines changed: 65 additions & 71 deletions
Large diffs are not rendered by default.

dist/dce.esm.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/dce.mjs

Lines changed: 3 additions & 3 deletions
Large diffs are not rendered by default.

dist/dce.ui.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<select class="dce-sel-camera" style="display: block;"></select>
1919
<select class="dce-sel-resolution" style="display: block;margin-top: 5px;">
2020
<option class="dce-opt-gotResolution" value="got"></option>
21-
<option data-width="1920" data-height="1080">1920x1080</option>
22-
<option data-width="1280" data-height="720">1280x720</option>
23-
<option data-width="640" data-height="480">640x480</option>
21+
<option data-width="1920" data-height="1080">ask 1920x1080</option>
22+
<option data-width="1280" data-height="720">ask 1280x720</option>
23+
<option data-width="640" data-height="480">ask 640x480</option>
2424
</select>
2525
</div>
2626
<!-- The "Powered by Dynamsoft" logo can be easily removed by eliminating the following line. -->

dist/types/class/CameraView.d.ts

Lines changed: 5 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,7 @@ export declare class CameraView extends View {
88
*/
99
static _onLog: (message: any) => void;
1010
static uiComponentName: string;
11-
private static _hasEngineResourceLoaded;
12-
private static _engineResourcePath?;
13-
/**
14-
* ```js
15-
* Dynamsoft.DCE.CameraEnhancer.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-camera-enhancer/dist/";
16-
* ```
17-
*/
18-
static set engineResourcePath(value: string);
19-
static get engineResourcePath(): string;
11+
private static get engineResourcePath();
2012
private static _defaultUIElementURL;
2113
/**
2214
* The url of the default UI.
@@ -109,23 +101,15 @@ export declare class CameraView extends View {
109101
/**
110102
* @ignore
111103
*/
112-
set _singleFrameMode(value: boolean);
113-
get _singleFrameMode(): boolean;
104+
set _singleFrameMode(value: "disabled" | "camera" | "image");
105+
get _singleFrameMode(): "disabled" | "camera" | "image";
114106
_onSingleFrameAcquired: (canvas: HTMLCanvasElement) => void;
115-
private _singleFrameModeIpt;
107+
private _singleFrameInputContainer;
116108
_clickIptSingleFrameMode: () => void;
117109
/**
118110
* @ignore
119111
*/
120112
extraBindings: Array<(el: Element) => void>;
121-
/**
122-
* @ignore
123-
*/
124-
_ddnUnverifiedResultsStyle: any;
125-
/**
126-
* @ignore
127-
*/
128-
_styleIdsOfUnverifiedResults: any;
129113
_capturedResultReceiver: any;
130114
get disposed(): boolean;
131115
private constructor();
@@ -236,10 +220,7 @@ export declare class CameraView extends View {
236220
* @ignore
237221
*/
238222
updateLayers(): void;
239-
/**
240-
* @ignore
241-
*/
242-
_clearInnerDrawingItems(): void;
223+
clearAllInnerDrawingItems(): void;
243224
/**
244225
* Remove added elements. Remove event listeners.
245226
*/

0 commit comments

Comments
 (0)