@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.
30 lines (27 loc) • 1.92 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
*
* http://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 { b as bootstrapLazy } from './index-39b8e937.js';
export { s as setNonce } from './index-39b8e937.js';
import { g as globalScripts } from './app-globals-75b0e66f.js';
const defineCustomElements = async (win, options) => {
if (typeof window === 'undefined') return undefined;
await globalScripts();
return bootstrapLazy([["color-highlight",[[0,"color-highlight",{"text":[1],"color":[32]}]]],["locale-visualization",[[0,"locale-visualization",{"locale":[1],"showFlag":[4,"show-flag"]}]]],["copy-button",[[0,"copy-button",{"value":[1]}]]],["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"],"identifierObject":[32],"items":[32],"actions":[32],"loadSubcomponents":[32],"displayStatus":[32],"tablePage":[32],"temporarilyEmphasized":[32]},null,{"value":["watchValue"],"loadSubcomponents":["watchLoadSubcomponents"]}]]]], options);
};
export { defineCustomElements };
//# sourceMappingURL=loader.js.map