@kit-data-manager/pid-component
Version:
The PID-Component is a web component that can be used to evaluate and display FAIR Digital Objects, PIDs, ORCiDs, and possibly other identifiers in a user-friendly way. It is easily extensible to support other identifier types.
19 lines • 4.29 kB
JavaScript
/*!
*
* Copyright 2024-2026 Karlsruhe Institute of Technology.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
import{p as e,a as t,g as a,b as o}from"./p-BeCqCMz1.js";export{s as setNonce}from"./p-BeCqCMz1.js";var n=()=>{{i(t.prototype)}const a=import.meta.url;const o={};if(a!==""){o.resourcesUrl=new URL(".",a).href}return e(o)};var i=e=>{const t=e.cloneNode;e.cloneNode=function(e){if(this.nodeName==="TEMPLATE"){return t.call(this,e)}const a=t.call(this,false);const o=this.childNodes;if(e){for(let e=0;e<o.length;e++){if(o[e].nodeType!==2){a.appendChild(o[e].cloneNode(true))}}}return a}};n().then((async e=>{await a();return o([["p-a154352b",[[0,"color-highlight",{text:[1],color:[32]}]]],["p-b75a0a4a",[[262,"json-viewer",{data:[1],viewMode:[1,"view-mode"],maxHeight:[2,"max-height"],showLineNumbers:[4,"show-line-numbers"],expandAll:[4,"expand-all"],theme:[513],currentViewMode:[32],expandedNodes:[32],parsedData:[32],error:[32],copied:[32],isDarkMode:[32],expandAllNodes:[64],collapseAllNodes:[64]},null,{data:[{handleDataChange:0}],viewMode:[{handleViewModeChange:0}],expandAll:[{handleExpandAllChange:0}],theme:[{handleThemeChange:0}]}]]],["p-05e4524b",[[0,"locale-visualization",{locale:[1],showFlag:[4,"show-flag"]}]]],["p-c7db7b80",[[1,"pid-component",{value:[1],settings:[1],openByDefault:[4,"open-by-default"],itemsPerPage:[2,"items-per-page"],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"],defaultTTL:[2,"default-t-t-l"],width:[1],height:[1],darkMode:[1,"dark-mode"],renderers:[1],fallbackToAll:[4,"fallback-to-all"],identifierObject:[32],isDarkMode:[32],items:[32],actions:[32],loadSubcomponents:[32],displayStatus:[32],tablePage:[32],temporarilyEmphasized:[32],isExpanded:[32]},null,{value:[{watchValue:0}],loadSubcomponents:[{watchLoadSubcomponents:0}],emphasizeComponent:[{watchEmphasizeComponent:0}],openByDefault:[{watchOpenByDefault:0}],isExpanded:[{watchIsExpanded:0}],items:[{onItemsChange:0}],itemsPerPage:[{validateItemsPerPage:0}],darkMode:[{watchDarkMode:0}]}],[0,"pid-data-table",{items:[16],itemsPerPage:[1026,"items-per-page"],currentPage:[1026,"current-page"],pageSizes:[16],loadSubcomponents:[4,"load-subcomponents"],hideSubcomponents:[4,"hide-subcomponents"],currentLevelOfSubcomponents:[2,"current-level-of-subcomponents"],levelOfSubcomponents:[2,"level-of-subcomponents"],settings:[1],darkMode:[1,"dark-mode"],filteredItems:[32]},null,{items:[{updateFilteredItems:0}],currentPage:[{updateFilteredItems:0}],itemsPerPage:[{updateFilteredItems:0}]}],[0,"copy-button",{value:[1],label:[1],darkMode:[1,"dark-mode"],copied:[32]}],[0,"pid-actions",{actions:[16],actionsId:[1,"actions-id"],darkMode:[1,"dark-mode"]}],[260,"pid-collapsible",{open:[1028],emphasize:[4],darkMode:[1,"dark-mode"],initialWidth:[1,"initial-width"],initialHeight:[1,"initial-height"],lineHeight:[2,"line-height"],showFooter:[4,"show-footer"],expanded:[4],previewScrollable:[4,"preview-scrollable"],currentWidth:[32],currentHeight:[32],isDarkMode:[32],recalculateContentDimensions:[64]},null,{open:[{watchOpen:0}],darkMode:[{watchDarkMode:0}]}],[0,"pid-pagination",{currentPage:[2,"current-page"],totalItems:[2,"total-items"],itemsPerPage:[2,"items-per-page"],pageSizes:[16],showItemsPerPageControl:[4,"show-items-per-page-control"],darkMode:[1,"dark-mode"]}],[260,"pid-tooltip",{text:[1],position:[1],maxWidth:[1,"max-width"],maxHeight:[1,"max-height"],fitContent:[4,"fit-content"],darkMode:[1,"dark-mode"],isVisible:[32],calculatedPosition:[32],needsRowExpansion:[32]},[[0,"keydown","handleKeyDown"]]]]]],e)}));
//# sourceMappingURL=pid-component.esm.js.map