@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.
40 lines (36 loc) • 4.4 kB
JavaScript
/*!
*
* Copyright 2024 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 promiseResolve, g as globalScripts, b as bootstrapLazy } from './index-DzUQJMIf.js';
export { s as setNonce } from './index-DzUQJMIf.js';
/*
Stencil Client Patch Browser v4.33.1 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = import.meta.url;
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await globalScripts();
return bootstrapLazy([["color-highlight",[[0,"color-highlight",{"text":[1],"color":[32]}]]],["json-viewer",[[1,"json-viewer",{"data":[1],"viewMode":[1,"view-mode"],"maxHeight":[2,"max-height"],"showLineNumbers":[4,"show-line-numbers"],"expandAll":[4,"expand-all"],"theme":[1],"currentViewMode":[32],"expandedNodes":[32],"parsedData":[32],"error":[32],"copied":[32],"isDarkMode":[32],"expandAllNodes":[64],"collapseAllNodes":[64]},null,{"data":["handleDataChange"],"viewMode":["handleViewModeChange"],"expandAll":["handleExpandAllChange"],"theme":["handleThemeChange"]}]]],["locale-visualization",[[0,"locale-visualization",{"locale":[1],"showFlag":[4,"show-flag"]}]]],["copy-button_5",[[0,"copy-button",{"value":[1],"label":[1],"copied":[32]}],[0,"pid-actions",{"actions":[16],"actionsId":[1,"actions-id"],"darkMode":[1,"dark-mode"]}],[4,"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"],"currentWidth":[32],"currentHeight":[32],"isDarkMode":[32],"recalculateContentDimensions":[64]},null,{"open":["watchOpen"],"darkMode":["watchDarkMode"]}],[0,"pid-pagination",{"currentPage":[2,"current-page"],"totalItems":[2,"total-items"],"itemsPerPage":[2,"items-per-page"],"pageSizes":[16,"page-sizes"],"showItemsPerPageControl":[4,"show-items-per-page-control"],"darkMode":[1,"dark-mode"]}],[4,"pid-tooltip",{"text":[1],"position":[1],"maxWidth":[1,"max-width"],"maxHeight":[1,"max-height"],"fitContent":[4,"fit-content"],"isVisible":[32],"calculatedPosition":[32],"needsRowExpansion":[32]},[[0,"keydown","handleKeyDown"]]]]],["pid-data-table",[[0,"pid-data-table",{"items":[16],"itemsPerPage":[1026,"items-per-page"],"currentPage":[1026,"current-page"],"pageSizes":[16,"page-sizes"],"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"],"currentPage":["updateFilteredItems"],"itemsPerPage":["updateFilteredItems"]}]]],["pid-component",[[0,"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"],"defaultTTL":[2,"default-t-t-l"],"width":[1],"height":[1],"darkMode":[1,"dark-mode"],"identifierObject":[32],"isDarkMode":[32],"items":[32],"actions":[32],"loadSubcomponents":[32],"displayStatus":[32],"tablePage":[32],"temporarilyEmphasized":[32],"isExpanded":[32]},null,{"value":["watchValue"],"loadSubcomponents":["watchLoadSubcomponents"],"emphasizeComponent":["watchEmphasizeComponent"],"openByDefault":["watchOpenByDefault"],"items":["onItemsChange"],"amountOfItems":["validateAmountOfItems"],"darkMode":["watchDarkMode"]}]]]], options);
});
//# sourceMappingURL=pid-component.js.map
//# sourceMappingURL=pid-component.js.map