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

@kit-data-manager/pid-component

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kit-data-manager/pid-component - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

dist/cjs/PID-886d6fac.js

2

dist/cjs/handle-highlight.cjs.entry.js

@@ -6,3 +6,3 @@ 'use strict';

const index = require('./index-119e5ae4.js');
const PID = require('./PID-dd8d75d3.js');
const PID = require('./PID-886d6fac.js');

@@ -9,0 +9,0 @@ const handleHighlightCss = "/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.static{position:static}.inline{display:inline}.text-clip{text-overflow:clip}.rounded-md{border-radius:.375rem}.border{border-width:1px}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-clip-text{background-clip:text}.p-0{padding:0}.p-0\\.5{padding:.125rem}.align-baseline{vertical-align:baseline}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-bold{font-weight:700}.leading-relaxed{line-height:1.625}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-transparent{color:transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}";

@@ -6,3 +6,3 @@ 'use strict';

const index = require('./index-119e5ae4.js');
const PID = require('./PID-dd8d75d3.js');
const PID = require('./PID-886d6fac.js');

@@ -635,3 +635,3 @@ /**

if (other.length > 0)
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.'));
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.', undefined, undefined, false));
if (parsed.preferredLocale)

@@ -758,3 +758,2 @@ this.items.push(new FoldableItem(25, 'Preferred Language', PID.getLocaleDetail(parsed.preferredLocale, 'language'), 'The preferred locale/language of the person.', undefined, undefined, false));

var _a;
console.log(this._dataTypes);
// default to fallback

@@ -761,0 +760,0 @@ let bestFit = new this._dataTypes[this._dataTypes.length - 1](value);

@@ -88,3 +88,3 @@ import { h } from "@stencil/core";

if (other.length > 0)
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.'));
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.', undefined, undefined, false));
if (parsed.preferredLocale)

@@ -91,0 +91,0 @@ this.items.push(new FoldableItem(25, 'Preferred Language', getLocaleDetail(parsed.preferredLocale, 'language'), 'The preferred locale/language of the person.', undefined, undefined, false));

@@ -34,3 +34,2 @@ import { HandleType } from "./HandleType";

var _a;
console.log(this._dataTypes);
// default to fallback

@@ -37,0 +36,0 @@ let bestFit = new this._dataTypes[this._dataTypes.length - 1](value);

@@ -46,3 +46,3 @@ import { PIDRecord } from "./PIDRecord";

static isPID(text) {
return text.match('^([0-9A-Za-z])+(.([0-9A-Za-z])+)*/([!-~])+$') !== null;
return new RegExp('^([0-9A-Za-z])+\.([0-9A-Za-z])+/([!-~])+$').test(text);
}

@@ -49,0 +49,0 @@ /**

@@ -358,3 +358,3 @@ /**

static isPID(text) {
return text.match('^([0-9A-Za-z])+(.([0-9A-Za-z])+)*/([!-~])+$') !== null;
return new RegExp('^([0-9A-Za-z])+\.([0-9A-Za-z])+/([!-~])+$').test(text);
}

@@ -361,0 +361,0 @@ /**

@@ -630,3 +630,3 @@ import { h, proxyCustomElement, HTMLElement, Host } from '@stencil/core/internal/client';

if (other.length > 0)
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.'));
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.', undefined, undefined, false));
if (parsed.preferredLocale)

@@ -753,3 +753,2 @@ this.items.push(new FoldableItem(25, 'Preferred Language', getLocaleDetail(parsed.preferredLocale, 'language'), 'The preferred locale/language of the person.', undefined, undefined, false));

var _a;
console.log(this._dataTypes);
// default to fallback

@@ -756,0 +755,0 @@ let bestFit = new this._dataTypes[this._dataTypes.length - 1](value);

import { r as registerInstance, h, H as Host } from './index-dafd407b.js';
import { P as PID, H as HSLColor } from './PID-07cdaf9a.js';
import { P as PID, H as HSLColor } from './PID-eada8a74.js';

@@ -4,0 +4,0 @@ const handleHighlightCss = "/*! tailwindcss v3.3.3 | MIT License | https://tailwindcss.com*/*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:\"\"}html{-webkit-text-size-adjust:100%;font-feature-settings:normal;font-family:ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,fieldset,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scroll-snap-strictness:proximity;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;}.static{position:static}.inline{display:inline}.text-clip{text-overflow:clip}.rounded-md{border-radius:.375rem}.border{border-width:1px}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 244 246/var(--tw-bg-opacity))}.bg-clip-text{background-clip:text}.p-0{padding:0}.p-0\\.5{padding:.125rem}.align-baseline{vertical-align:baseline}.font-mono{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.font-bold{font-weight:700}.leading-relaxed{line-height:1.625}.text-gray-200{--tw-text-opacity:1;color:rgb(229 231 235/var(--tw-text-opacity))}.text-gray-800{--tw-text-opacity:1;color:rgb(31 41 55/var(--tw-text-opacity))}.text-transparent{color:transparent}.shadow{--tw-shadow:0 1px 3px 0 rgba(0,0,0,.1),0 1px 2px -1px rgba(0,0,0,.1);--tw-shadow-colored:0 1px 3px 0 var(--tw-shadow-color),0 1px 2px -1px var(--tw-shadow-color)}.shadow,.shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}";

import { h, r as registerInstance, H as Host } from './index-dafd407b.js';
import { P as PID, H as HSLColor, a as PIDDataType, i as init, g as getLocaleDetail } from './PID-07cdaf9a.js';
import { P as PID, H as HSLColor, a as PIDDataType, i as init, g as getLocaleDetail } from './PID-eada8a74.js';

@@ -630,3 +630,3 @@ /**

if (other.length > 0)
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.'));
this.items.push(new FoldableItem(70, 'Other E-Mail addresses', other.map(email => email.email).join(', '), 'All other e-mail addresses of the person.', undefined, undefined, false));
if (parsed.preferredLocale)

@@ -753,3 +753,2 @@ this.items.push(new FoldableItem(25, 'Preferred Language', getLocaleDetail(parsed.preferredLocale, 'language'), 'The preferred locale/language of the person.', undefined, undefined, false));

var _a;
console.log(this._dataTypes);
// default to fallback

@@ -756,0 +755,0 @@ let bestFit = new this._dataTypes[this._dataTypes.length - 1](value);

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

import{p as e,b as t}from"./p-e88674c1.js";export{s as setNonce}from"./p-e88674c1.js";const n=()=>{const t=import.meta.url;const n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return e(n)};n().then((e=>t([["p-4af8ca0c",[[1,"handle-highlight",{handle:[1],linkTo:[1,"link-to"],filled:[4],parts:[32],link:[32]}]]],["p-1ae208a2",[[1,"pid-component",{value:[1],settings:[1],openByDefault:[4,"open-by-default"],amountOfItems:[2,"amount-of-items"],levelOfSubcomponents:[2,"level-of-subcomponents"],currentLevelOfSubcomponents:[2,"current-level-of-subcomponents"],hideSubcomponents:[4,"hide-subcomponents"],deleteCacheAfterDisconnect:[4,"delete-cache-after-disconnect"],identifierObject:[32],items:[32],actions:[32],loadSubcomponents:[32],displayStatus:[32],tablePage:[32]}]]]],e)));
import{p as e,b as t}from"./p-e88674c1.js";export{s as setNonce}from"./p-e88674c1.js";const n=()=>{const t=import.meta.url;const n={};if(t!==""){n.resourcesUrl=new URL(".",t).href}return e(n)};n().then((e=>t([["p-9267d770",[[1,"handle-highlight",{handle:[1],linkTo:[1,"link-to"],filled:[4],parts:[32],link:[32]}]]],["p-7fd06bbf",[[1,"pid-component",{value:[1],settings:[1],openByDefault:[4,"open-by-default"],amountOfItems:[2,"amount-of-items"],levelOfSubcomponents:[2,"level-of-subcomponents"],currentLevelOfSubcomponents:[2,"current-level-of-subcomponents"],hideSubcomponents:[4,"hide-subcomponents"],deleteCacheAfterDisconnect:[4,"delete-cache-after-disconnect"],identifierObject:[32],items:[32],actions:[32],loadSubcomponents:[32],displayStatus:[32],tablePage:[32]}]]]],e)));
//# sourceMappingURL=pid-component.esm.js.map
{
"name": "@kit-data-manager/pid-component",
"version": "0.0.6",
"version": "0.0.7",
"license": "Apache-2.0",

@@ -52,3 +52,4 @@ "description": "The PID-Component is a easily extensible web component that can be used to display PIDs, ORCiDs, and possibly other identifiers in a user-friendly way. It is easily extensible to support other identifier types.",

"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build"
"build-storybook": "storybook build",
"storybook-docs": "storybook dev --docs"
},

@@ -55,0 +56,0 @@ "dependencies": {

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