@digipair/skill-canvas 0.35.0 → 0.36.0

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/index.esm.js CHANGED
@@ -23491,14 +23491,14 @@ function indent(str, spaces) {
23491
23491
  var match = parseIdentifier(input, i1, namePart) || namePart && parseAdditionalSymbol(input, i1) || maybeSpace && parseSpaces(input, i1);
23492
23492
  // match is required
23493
23493
  if (!match) {
23494
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23494
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23495
23495
  v: nextMatch1
23496
23496
  };
23497
23497
  }
23498
23498
  var token = match.token, offset = match.offset;
23499
23499
  i1 += offset;
23500
23500
  if (token === " ") {
23501
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23501
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23502
23502
  }
23503
23503
  tokens1 = _to_consumable_array$1(tokens1).concat([
23504
23504
  token
@@ -23517,7 +23517,7 @@ function indent(str, spaces) {
23517
23517
  if (contextKeys.some(function(el) {
23518
23518
  return el.startsWith(name);
23519
23519
  })) {
23520
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23520
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23521
23521
  }
23522
23522
  if (dateTimeIdentifiers.some(function(el) {
23523
23523
  return el === name;
@@ -23536,9 +23536,9 @@ function indent(str, spaces) {
23536
23536
  if (dateTimeIdentifiers.some(function(el) {
23537
23537
  return el.startsWith(name);
23538
23538
  })) {
23539
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, "continue";
23539
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, "continue";
23540
23540
  }
23541
- return tokens = tokens1, nextMatch = nextMatch1, i = i1, {
23541
+ return tokens = tokens1, i = i1, nextMatch = nextMatch1, {
23542
23542
  v: nextMatch1
23543
23543
  };
23544
23544
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digipair/skill-canvas",
3
- "version": "0.35.0",
3
+ "version": "0.36.0",
4
4
  "dependencies": {
5
5
  "canvas": "^2.11.2"
6
6
  },
@@ -1,2 +0,0 @@
1
- export * from './lib/engine';
2
- export * from './lib/pins-settings.interface';
@@ -1,9 +0,0 @@
1
- export interface Alias {
2
- name: string;
3
- library: string;
4
- element: string;
5
- properties: {
6
- library: string;
7
- element: string;
8
- };
9
- }
@@ -1,10 +0,0 @@
1
- import { PinsSettings } from './pins-settings.interface';
2
- type CONFIG_KEY = 'BASE_URL' | 'LIBRARIES' | 'ALIAS';
3
- export declare const config: {
4
- set: (key: CONFIG_KEY, value: any) => void;
5
- };
6
- export declare const applyTemplate: (value: any, context: any) => any;
7
- export declare const executePinsList: (pinsSettingsList: PinsSettings[], context: any) => Promise<any>;
8
- export declare const generateElementFromPins: (pinsSettings: PinsSettings, parent: Element, context: any) => Promise<Element | void>;
9
- export declare const preparePinsSettings: (settings: PinsSettings, context: any) => Promise<PinsSettings>;
10
- export {};
@@ -1,15 +0,0 @@
1
- export interface PinsSettings {
2
- library: string;
3
- element: string;
4
- properties?: {
5
- [key: string]: any;
6
- };
7
- conditions?: {
8
- if?: boolean;
9
- each?: any[];
10
- };
11
- pins?: PinsSettings[];
12
- events?: {
13
- [key: string]: PinsSettings[];
14
- };
15
- }