@kit-data-manager/pid-component
Advanced tools
Comparing version 0.0.10 to 0.0.11
@@ -153,3 +153,3 @@ import { Host, h } from "@stencil/core"; | ||
} | ||
return (h(Host, { key: 'd087fd39aea7370a6a068b17f815e43d5f7a011a', class: "inline flex-grow max-w-full font-sans flex-wrap align-top items-center text-xs dark:text-white" }, | ||
return (h(Host, { key: 'c4b948a865a7e587e4efa3606ea734774ccc06b3', class: "inline flex-grow max-w-full font-sans flex-wrap align-top items-center text-xs" }, | ||
// Check if there are any items or actions to show | ||
@@ -156,0 +156,0 @@ (this.items.length === 0 && this.actions.length === 0) || this.hideSubcomponents ? (this.identifierObject !== undefined && this.displayStatus === 'loaded' ? ( |
@@ -25,3 +25,3 @@ import { GenericIdentifierType } from "./GenericIdentifierType"; | ||
return (h("span", { class: "items-center" }, this.value.split(new RegExp(/\s*,\s*/)).filter(email => email.length > 0).map(email => { | ||
return (h("a", { href: 'mailto:' + email, target: '_blank', class: 'items-center inline-flex font-mono text-sm text-blue-400 border border-slate-400 bg-white/60 rounded-md px-1 py-0.5 mr-2' }, h("svg", { xmlns: 'http://www.w3.org/2000/svg', fill: 'none', "aria-hidden": 'true', viewBox: '0 0 24 24', "stroke-width": '1', stroke: 'black', height: '20px', class: 'mr-1' }, h("path", { "stroke-linecap": 'round', "stroke-linejoin": 'round', d: 'M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75' })), h("span", { class: 'ml-2' }, email))); | ||
return (h("a", { href: 'mailto:' + email, rel: 'noopener noreferrer', target: '_blank', class: 'items-center inline-flex font-mono text-sm text-blue-400 border border-slate-400 bg-white/60 rounded-md px-1 py-0.5 mr-2' }, h("svg", { xmlns: 'http://www.w3.org/2000/svg', fill: 'none', "aria-hidden": 'true', viewBox: '0 0 24 24', "stroke-width": '1', stroke: 'black', height: '20px', class: 'mr-1' }, h("path", { "stroke-linecap": 'round', "stroke-linejoin": 'round', d: 'M21.75 6.75v10.5a2.25 2.25 0 0 1-2.25 2.25h-15a2.25 2.25 0 0 1-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0 0 19.5 4.5h-15a2.25 2.25 0 0 0-2.25 2.25m19.5 0v.243a2.25 2.25 0 0 1-1.07 1.916l-7.5 4.615a2.25 2.25 0 0 1-2.36 0L3.32 8.91a2.25 2.25 0 0 1-1.07-1.916V6.75' })), h("span", { class: 'ml-2' }, email))); | ||
}))); | ||
@@ -28,0 +28,0 @@ } |
@@ -1,2 +0,2 @@ | ||
import{p as e,b as o}from"./p-b01c0c49.js";export{s as setNonce}from"./p-b01c0c49.js";import{g as t}from"./p-e1255160.js";const n=()=>{const o=import.meta.url;const t={};if(o!==""){t.resourcesUrl=new URL(".",o).href}return e(t)};n().then((async e=>{await t();return o([["p-d8f76b49",[[1,"handle-highlight",{handle:[1],linkTo:[1,"link-to"],filled:[4],parts:[32],link:[32]}]]],["p-02f402e2",[[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"],emphasizeComponent:[4,"emphasize-component"],showTopLevelCopy:[4,"show-top-level-copy"],deleteCacheAfterDisconnect:[4,"delete-cache-after-disconnect"],identifierObject:[32],items:[32],actions:[32],loadSubcomponents:[32],displayStatus:[32],tablePage:[32],temporarilyEmphasized:[32]},null,{value:["watchValue"],loadSubcomponents:["watchLoadSubcomponents"]}]]]],e)})); | ||
import{p as e,b as o}from"./p-b01c0c49.js";export{s as setNonce}from"./p-b01c0c49.js";import{g as t}from"./p-e1255160.js";const n=()=>{const o=import.meta.url;const t={};if(o!==""){t.resourcesUrl=new URL(".",o).href}return e(t)};n().then((async e=>{await t();return o([["p-d8f76b49",[[1,"handle-highlight",{handle:[1],linkTo:[1,"link-to"],filled:[4],parts:[32],link:[32]}]]],["p-e35a3a46",[[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"],emphasizeComponent:[4,"emphasize-component"],showTopLevelCopy:[4,"show-top-level-copy"],deleteCacheAfterDisconnect:[4,"delete-cache-after-disconnect"],identifierObject:[32],items:[32],actions:[32],loadSubcomponents:[32],displayStatus:[32],tablePage:[32],temporarilyEmphasized:[32]},null,{value:["watchValue"],loadSubcomponents:["watchLoadSubcomponents"]}]]]],e)})); | ||
//# sourceMappingURL=pid-component.esm.js.map |
{ | ||
"name": "@kit-data-manager/pid-component", | ||
"version": "0.0.10", | ||
"version": "0.0.11", | ||
"license": "Apache-2.0", | ||
@@ -5,0 +5,0 @@ "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.", |
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 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 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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
2297762
15000