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

@accurat/acc-data-portrait

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@accurat/acc-data-portrait - npm Package Compare versions

Comparing version 2.1.9 to 2.1.10

dist/data-portrait.d.ts

13

dist/index.d.ts

@@ -1,6 +0,7 @@

import { DataPortraitSurvey, DataPortraitMetadata } from './models/types';
export declare function createDataPortraits(originalSvg: string, metadata: DataPortraitMetadata, dataPortraitSurveys: DataPortraitSurvey[]): string[];
/**
* @deprecated please use createDataPortraits to reuse the SVG node as much as possible
*/
export declare function createDataPortrait(originalSvg: string, metadata: DataPortraitMetadata, dataPortraitSurvey: DataPortraitSurvey): string;
import { createDataPortrait, createDataPortraits } from './data-portrait';
import { DataPortraitPointTuple } from './models/geometry';
import { DataPortraitQuestionType, DataPortraitInterpolationType, DataPortraitSurvey, DataPortraitQuestion, DataPortraitQuestionAnswer, DataPortraitTextualQuestionAnswer, DataPortraitCategoricalQuestionAnswer, DataPortraitCategoricalTuplesQuestionAnswer, DataPortraitContinuousQuestionAnswer, DataPortraitBooleanQuestionAnswer, DataPortraitMetadataQuestion, DataPortraitMetadataTextualQuestion, DataPortraitMetadataCategoricalQuestion, DataPortraitMetadataCategoricalTuplesQuestion, DataPortraitMetadataContinuousQuestion, DataPortraitMetadataBooleanQuestion, DataPortraitMetadata } from './models/types';
import { DATA_PORTRAIT_QUESTION_TYPE_TEXT, DATA_PORTRAIT_QUESTION_TYPE_CATEGORICAL, DATA_PORTRAIT_QUESTION_TYPE_CATEGORICAL_TUPLES, DATA_PORTRAIT_QUESTION_TYPE_CONTINUOUS, DATA_PORTRAIT_QUESTION_TYPE_BOOLEAN, DATA_PORTRAIT_INTERPOLATION_TYPE_FLUBBER, DATA_PORTRAIT_INTERPOLATION_TYPE_SVG_PATH_MORPH, DATA_PORTRAIT_INTERPOLATION_TYPE_D3_INTERPOLATE_PATH } from './constants';
import { fromStringToSvgNode } from './utils/conversion-utils';
import { getAllQuestionsNodes, getAllAnswersNodes } from './utils/svg-selector-utils';
export { createDataPortrait, createDataPortraits, DataPortraitPointTuple, DataPortraitQuestionType, DataPortraitInterpolationType, DataPortraitSurvey, DataPortraitQuestion, DataPortraitQuestionAnswer, DataPortraitTextualQuestionAnswer, DataPortraitCategoricalQuestionAnswer, DataPortraitCategoricalTuplesQuestionAnswer, DataPortraitContinuousQuestionAnswer, DataPortraitBooleanQuestionAnswer, DataPortraitMetadataQuestion, DataPortraitMetadataTextualQuestion, DataPortraitMetadataCategoricalQuestion, DataPortraitMetadataCategoricalTuplesQuestion, DataPortraitMetadataContinuousQuestion, DataPortraitMetadataBooleanQuestion, DataPortraitMetadata, DATA_PORTRAIT_QUESTION_TYPE_TEXT, DATA_PORTRAIT_QUESTION_TYPE_CATEGORICAL, DATA_PORTRAIT_QUESTION_TYPE_CATEGORICAL_TUPLES, DATA_PORTRAIT_QUESTION_TYPE_CONTINUOUS, DATA_PORTRAIT_QUESTION_TYPE_BOOLEAN, DATA_PORTRAIT_INTERPOLATION_TYPE_FLUBBER, DATA_PORTRAIT_INTERPOLATION_TYPE_SVG_PATH_MORPH, DATA_PORTRAIT_INTERPOLATION_TYPE_D3_INTERPOLATE_PATH, fromStringToSvgNode, getAllQuestionsNodes, getAllAnswersNodes, };
import { DataPortraitSurvey, DataPortraitMetadata, DataPortraitQuestion } from '../models/types';
export declare function addAnswerIdToNodes(idSuffix: DataPortraitSurvey['id'], svgNode: SVGElement): void;
export declare function getQuestionMetadataById(metadata: DataPortraitMetadata, id: DataPortraitQuestion['id']): import('../main').DataPortraitMetadataQuestion | undefined;
export declare function getQuestionMetadataById(metadata: DataPortraitMetadata, id: DataPortraitQuestion['id']): import('..').DataPortraitMetadataQuestion | undefined;
export declare function selectMirrorChildNode(userAnswer: DataPortraitSurvey, rootNode: SVGElement, questionId: DataPortraitQuestion['id']): void;
export declare function deleteQuestionNodesNotInSurvey(svgNode: SVGElement, dataPortraitQuestions: DataPortraitQuestion[]): SVGElement;

@@ -12,3 +12,3 @@ {

],
"version": "2.1.9",
"version": "2.1.10",
"repository": {

@@ -15,0 +15,0 @@ "type": "git",

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