feat(core): update session, security system and QR exchange
- Removed session creation and Lightning payment logic - Refactored security system: * no more restrictions * all systems enabled on session creation - Improved QR code exchange for mobile devices
This commit is contained in:
36
node_modules/html5-qrcode/cjs/ui/scanner/base.js
generated
vendored
Normal file
36
node_modules/html5-qrcode/cjs/ui/scanner/base.js
generated
vendored
Normal file
@@ -0,0 +1,36 @@
|
||||
"use strict";
|
||||
Object.defineProperty(exports, "__esModule", { value: true });
|
||||
exports.BaseUiElementFactory = exports.PublicUiElementIdAndClasses = void 0;
|
||||
var PublicUiElementIdAndClasses = (function () {
|
||||
function PublicUiElementIdAndClasses() {
|
||||
}
|
||||
PublicUiElementIdAndClasses.ALL_ELEMENT_CLASS = "html5-qrcode-element";
|
||||
PublicUiElementIdAndClasses.CAMERA_PERMISSION_BUTTON_ID = "html5-qrcode-button-camera-permission";
|
||||
PublicUiElementIdAndClasses.CAMERA_START_BUTTON_ID = "html5-qrcode-button-camera-start";
|
||||
PublicUiElementIdAndClasses.CAMERA_STOP_BUTTON_ID = "html5-qrcode-button-camera-stop";
|
||||
PublicUiElementIdAndClasses.TORCH_BUTTON_ID = "html5-qrcode-button-torch";
|
||||
PublicUiElementIdAndClasses.CAMERA_SELECTION_SELECT_ID = "html5-qrcode-select-camera";
|
||||
PublicUiElementIdAndClasses.FILE_SELECTION_BUTTON_ID = "html5-qrcode-button-file-selection";
|
||||
PublicUiElementIdAndClasses.ZOOM_SLIDER_ID = "html5-qrcode-input-range-zoom";
|
||||
PublicUiElementIdAndClasses.SCAN_TYPE_CHANGE_ANCHOR_ID = "html5-qrcode-anchor-scan-type-change";
|
||||
PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_ON = "html5-qrcode-button-torch-on";
|
||||
PublicUiElementIdAndClasses.TORCH_BUTTON_CLASS_TORCH_OFF = "html5-qrcode-button-torch-off";
|
||||
return PublicUiElementIdAndClasses;
|
||||
}());
|
||||
exports.PublicUiElementIdAndClasses = PublicUiElementIdAndClasses;
|
||||
var BaseUiElementFactory = (function () {
|
||||
function BaseUiElementFactory() {
|
||||
}
|
||||
BaseUiElementFactory.createElement = function (elementType, elementId) {
|
||||
var element = (document.createElement(elementType));
|
||||
element.id = elementId;
|
||||
element.classList.add(PublicUiElementIdAndClasses.ALL_ELEMENT_CLASS);
|
||||
if (elementType === "button") {
|
||||
element.setAttribute("type", "button");
|
||||
}
|
||||
return element;
|
||||
};
|
||||
return BaseUiElementFactory;
|
||||
}());
|
||||
exports.BaseUiElementFactory = BaseUiElementFactory;
|
||||
//# sourceMappingURL=base.js.map
|
||||
Reference in New Issue
Block a user