Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

lct-components

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lct-components - npm Package Compare versions

Comparing version 0.7.5 to 0.7.6

19

esm2015/lib/input-text/input-text.component.js

@@ -110,10 +110,14 @@ import { __awaiter } from "tslib";

onPaste(ev) {
var _a;
var _a, _b, _c, _d;
ev.preventDefault();
const clipboard = (_a = ev.clipboardData) === null || _a === void 0 ? void 0 : _a.getData('Text');
if (clipboard) {
if (this.selectionEnd) {
if (this.selectionEnd && this.selectionStart === ((_b = this.inputScan) === null || _b === void 0 ? void 0 : _b.nativeElement.selectionStart)) {
const slice1 = this.inputValue.slice(0, this.selectionStart);
const slice2 = this.inputValue.slice(this.selectionEnd);
this.inputValue = slice1 + clipboard + slice2;
setTimeout(() => {
var _a;
(_a = this.inputScan) === null || _a === void 0 ? void 0 : _a.nativeElement.setSelectionRange(slice1.length + clipboard.length, slice1.length + clipboard.length);
}, 20);
this.selectionStart = 0;

@@ -123,3 +127,10 @@ this.selectionEnd = 0;

else {
this.inputValue = this.inputValue + clipboard;
const slice1 = this.inputValue.slice(0, (_c = this.inputScan) === null || _c === void 0 ? void 0 : _c.nativeElement.selectionStart);
const slice2 = this.inputValue.slice((_d = this.inputScan) === null || _d === void 0 ? void 0 : _d.nativeElement.selectionStart);
this.inputValue = slice1 + clipboard + slice2;
setTimeout(() => {
var _a;
(_a = this.inputScan) === null || _a === void 0 ? void 0 : _a.nativeElement.setSelectionRange(slice1.length + clipboard.length, slice1.length + clipboard.length);
}, 20);
// this.inputValue = this.inputValue+clipboard;
}

@@ -188,2 +199,2 @@ }

}] } });
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtdGV4dC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8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ZXZlbnQpXCJcbiAgICAgICAgICAgKGNsaWNrKT1cImNsaWNrSW5wdXQoKVwiXG4gICAgICAgICAgIChuZ01vZGVsQ2hhbmdlKT1cImxwblVwZGF0ZS5uZXh0KGlucHV0U2Nhbi52YWx1ZSk7XCJcbiAgICAgICAgICAgKHBhc3RlKT1cIm9uUGFzdGUoJGV2ZW50KVwiXG4gICAgICAgICAgIChzZWxlY3QpPVwic2VsZWN0aW9uQ2hhbmdlKCRldmVudClcIlxuICAgID5cbiAgICA8ZGl2IGNsYXNzPVwiaWNvblwiICNpY29uRGl2ICpuZ0lmPVwic2hvd0ljb25cIj5cbiAgICAgIDxpbWcgW3NyY109XCJpY29uXCIgW25nU3R5bGVdPVwieydjdXJzb3InOiBkaXNhYmxlZCA/ICdub3QtYWxsb3dlZCcgOiAncG9pbnRlcid9XCIgYWx0PVwiXCIgKGNsaWNrKT1cImNsaWNrKClcIj5cbiAgICA8L2Rpdj5cbiAgPC9kaXY+XG48L2Rpdj5cbiJdfQ==
{
"name": "lct-components",
"version": "0.7.5",
"version": "0.7.6",
"description": "LCT basic components",

@@ -5,0 +5,0 @@ "keywords": [

@@ -133,3 +133,3 @@

>Version 0.7.5
>Version 0.7.6
>

@@ -136,0 +136,0 @@ >[(ngModel)] Can only be used at the moment for:

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc