Socket
Socket
Sign inDemoInstall

@psdk/cpcl

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@psdk/cpcl - npm Package Compare versions

Comparing version 0.2.34 to 0.2.35

2

build/args/bar.d.ts

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { CodeRotation } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CBar = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -49,3 +49,3 @@ const types_1 = require("../types");

}
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendText(this.codeRotation.toString())

@@ -52,0 +52,0 @@ .appendText(code.type)

@@ -1,2 +0,2 @@

import { Arg, EasyArg } from "@psdk/frame";
import { Arg, EasyArg } from "@psdk/frame-father";
export declare abstract class BasicCPCLArg<T extends BasicCPCLArg<any>> extends EasyArg<string> {

@@ -3,0 +3,0 @@ append(arg: Arg<string>): T;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasicCPCLArg = void 0;
const frame_1 = require("@psdk/frame");
class BasicCPCLArg extends frame_1.EasyArg {
const frame_father_1 = require("@psdk/frame-father");
class BasicCPCLArg extends frame_father_1.EasyArg {
append(arg) {

@@ -7,0 +7,0 @@ super.append(arg);

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CBold extends BasicCPCLArg<CBold> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CBold = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -13,3 +13,3 @@ class CBold extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendText(this.bold ? "1" : "0")

@@ -16,0 +16,0 @@ .clause();

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CBox extends BasicCPCLArg<CBox> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CBox = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -23,3 +23,3 @@ class CBox extends basic_1.BasicCPCLArg {

}
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.topLeftX)

@@ -26,0 +26,0 @@ .appendNumber(this.topLeftY)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CFeed extends BasicCPCLArg<CFeed> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CFeed = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -17,3 +17,3 @@ const pagewidth_1 = require("./pagewidth");

.append(new print_1.CPrint({ mode: mode_1.Mode.NORMAL }));
return frame_1.CPCLCommand.with(this.header()).clause();
return frame_father_1.CPCLCommand.with(this.header()).clause();
}

@@ -20,0 +20,0 @@ header() {

@@ -1,2 +0,2 @@

import { OnlyTextHeaderArg } from "@psdk/frame";
import { OnlyTextHeaderArg } from "@psdk/frame-father";
export declare class CForm extends OnlyTextHeaderArg<CForm> {

@@ -3,0 +3,0 @@ header(): string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CForm = void 0;
const frame_1 = require("@psdk/frame");
class CForm extends frame_1.OnlyTextHeaderArg {
const frame_father_1 = require("@psdk/frame-father");
class CForm extends frame_father_1.OnlyTextHeaderArg {
header() {

@@ -7,0 +7,0 @@ return 'FORM';

@@ -1,2 +0,2 @@

import { OnlyTextHeaderArg } from "@psdk/frame";
import { OnlyTextHeaderArg } from "@psdk/frame-father";
export declare class CGap extends OnlyTextHeaderArg<CGap> {

@@ -3,0 +3,0 @@ header(): string;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CGap = void 0;
const frame_1 = require("@psdk/frame");
class CGap extends frame_1.OnlyTextHeaderArg {
const frame_father_1 = require("@psdk/frame-father");
class CGap extends frame_father_1.OnlyTextHeaderArg {
header() {

@@ -7,0 +7,0 @@ return 'GAP-SENSE';

import { BasicCPCLArg } from "./basic";
import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
/**

@@ -4,0 +4,0 @@ * Image

@@ -28,3 +28,3 @@ "use strict";

const basic_1 = require("./basic");
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const pako = __importStar(require("pako"));

@@ -47,5 +47,5 @@ /**

const eWidth = Math.floor((width % 8 === 0) ? (width / 8) : (width / 8 + 1));
const bytes = frame_1.ImageKit.processImage(this.image, width, height);
const commander = frame_1.Commander.make();
const ccmd = frame_1.CPCLCommand.with(this.header())
const bytes = frame_father_1.ImageKit.processImage(this.image, width, height);
const commander = frame_father_1.Commander.make();
const ccmd = frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.x)

@@ -70,3 +70,3 @@ .appendNumber(this.y)

const command = commander.command();
return frame_1.Raw.binary(command.binary()).clause();
return frame_father_1.Raw.binary(command.binary()).clause();
}

@@ -73,0 +73,0 @@ header() {

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { Font } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CInverse = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -48,3 +48,3 @@ const types_1 = require("../types");

}
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.x)

@@ -51,0 +51,0 @@ .appendNumber(this.y)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CLine extends BasicCPCLArg<CLine> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CLine = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -18,3 +18,3 @@ class CLine extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.startX)

@@ -21,0 +21,0 @@ .appendNumber(this.startY)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { Font } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CMag = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -44,3 +44,3 @@ const types_1 = require("../types");

}
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(fontEntity.ex)

@@ -47,0 +47,0 @@ .appendNumber(fontEntity.ey)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CPage extends BasicCPCLArg<CPage> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPage = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -18,3 +18,3 @@ const pageheight_1 = require("./pageheight");

super.append(new pagewidth_1.CPageWidth({ width: this.width }));
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.clause();

@@ -21,0 +21,0 @@ }

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CPageHeight extends BasicCPCLArg<CPageHeight> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPageHeight = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -13,3 +13,3 @@ class CPageHeight extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.height)

@@ -16,0 +16,0 @@ .appendNumber(1)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { CLocation } from "../types/location";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPageMode = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -18,3 +18,3 @@ const location_1 = require("../types/location");

super.prepend(new gap_1.CGap()).prepend(new form_1.CForm());
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.clause();

@@ -21,0 +21,0 @@ }

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CPageSetup extends BasicCPCLArg<CPageSetup> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPageSetup = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -18,3 +18,3 @@ const pageheight_1 = require("./pageheight");

super.append(new pagewidth_1.CPageWidth({ width: this.pageWidth }));
return frame_1.CPCLCommand.with(this.header()).clause();
return frame_father_1.CPCLCommand.with(this.header()).clause();
}

@@ -21,0 +21,0 @@ header() {

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CPageWidth extends BasicCPCLArg<CPageWidth> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPageWidth = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -13,3 +13,3 @@ class CPageWidth extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.width)

@@ -16,0 +16,0 @@ .clause();

@@ -1,2 +0,2 @@

import { OnlyTextHeaderArg } from "@psdk/frame";
import { OnlyTextHeaderArg } from "@psdk/frame-father";
import { Mode } from "../types/mode";

@@ -3,0 +3,0 @@ export declare class CPrint extends OnlyTextHeaderArg<CPrint> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CPrint = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const mode_1 = require("../types/mode");
class CPrint extends frame_1.OnlyTextHeaderArg {
class CPrint extends frame_father_1.OnlyTextHeaderArg {
constructor(options) {

@@ -8,0 +8,0 @@ var _a;

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { CodeRotation, CorrectLevel } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CQRCode = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -19,3 +19,3 @@ const types_1 = require("../types");

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendText("3" + "\n" + this.codeRotation)

@@ -22,0 +22,0 @@ .appendText("QR")

@@ -1,2 +0,2 @@

import { OnlyBinaryHeaderArg } from "@psdk/frame";
import { OnlyBinaryHeaderArg } from "@psdk/frame-father";
export declare class CStatus extends OnlyBinaryHeaderArg<CStatus> {

@@ -3,0 +3,0 @@ constructor();

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CStatus = void 0;
const frame_1 = require("@psdk/frame");
class CStatus extends frame_1.OnlyBinaryHeaderArg {
const frame_father_1 = require("@psdk/frame-father");
class CStatus extends frame_father_1.OnlyBinaryHeaderArg {
constructor() {

@@ -7,0 +7,0 @@ super();

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ import { Font, Rotation } from "../types";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CText = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -48,3 +48,3 @@ const types_1 = require("../types");

}
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(fontEntity.family)

@@ -51,0 +51,0 @@ .appendNumber(fontEntity.size)

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CUnderLine extends BasicCPCLArg<CUnderLine> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CUnderLine = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -13,3 +13,3 @@ class CUnderLine extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendText(this.underline ? "ON" : "OFF")

@@ -16,0 +16,0 @@ .clause();

@@ -1,2 +0,2 @@

import { CommandClause } from "@psdk/frame";
import { CommandClause } from "@psdk/frame-father";
import { BasicCPCLArg } from "./basic";

@@ -3,0 +3,0 @@ export declare class CWaterMark extends BasicCPCLArg<CWaterMark> {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.CWaterMark = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const basic_1 = require("./basic");

@@ -13,3 +13,3 @@ class CWaterMark extends basic_1.BasicCPCLArg {

clause() {
return frame_1.CPCLCommand.with(this.header())
return frame_father_1.CPCLCommand.with(this.header())
.appendNumber(this.value)

@@ -16,0 +16,0 @@ .clause();

@@ -1,2 +0,2 @@

import { Commander, ConnectedDevice, Lifecycle, PSDK } from '@psdk/frame';
import { Commander, ConnectedDevice, Lifecycle, PSDK } from '@psdk/frame-father';
import { CBar } from "../args/bar";

@@ -3,0 +3,0 @@ import { CBox } from "../args/box";

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.BasicCPCL = void 0;
const frame_1 = require("@psdk/frame");
const frame_father_1 = require("@psdk/frame-father");
const print_1 = require("../args/print");
const mode_1 = require("../types/mode");
class BasicCPCL extends frame_1.PSDK {
class BasicCPCL extends frame_father_1.PSDK {
constructor(lifecycle) {
super();
this._lifecycle = lifecycle;
this._commander = frame_1.Commander.make();
this._commander = frame_father_1.Commander.make();
}

@@ -13,0 +13,0 @@ connectedDevice() {

@@ -1,2 +0,2 @@

import { Lifecycle } from "@psdk/frame";
import { Lifecycle } from "@psdk/frame-father";
import { GenericCPCL } from "./generic";

@@ -3,0 +3,0 @@ /**

import { BasicCPCL } from "./basic";
import { Lifecycle } from "@psdk/frame";
import { Lifecycle } from "@psdk/frame-father";
export declare class GenericCPCL extends BasicCPCL<GenericCPCL> {

@@ -4,0 +4,0 @@ constructor(lifecycle: Lifecycle);

{
"name": "@psdk/cpcl",
"version": "0.2.34",
"version": "0.2.35",
"description": "psdk",

@@ -48,3 +48,3 @@ "main": "build/index.js",

"dependencies": {
"@psdk/frame": "0.2.34"
"@psdk/frame-father": "0.2.35"
},

@@ -55,3 +55,3 @@ "files": [

],
"gitHead": "882830c6760f740ac1265cac559df14e3852111d"
"gitHead": "c7f0050eee6537a4f14095d07761f5206cba8d38"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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