UNPKG

@itwin/presentation-components

Version:

React components based on iTwin.js Presentation library

136 lines 7.31 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { desc = { enumerable: true, get: function() { return m[k]; } }; } Object.defineProperty(o, k2, desc); }) : (function(o, m, k, k2) { if (k2 === undefined) k2 = k; o[k2] = m[k]; })); var __exportStar = (this && this.__exportStar) || function(m, exports) { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); exports.viewWithUnifiedSelection = exports.usePropertyDataProviderWithUnifiedSelection = exports.PortalTargetContextProvider = void 0; require("@itwin/unified-selection"); const presentation_frontend_1 = require("@itwin/presentation-frontend"); const Initialization_js_1 = require("./presentation-components/Initialization.js"); /** * @module Core * * @docs-group-description Core * Common types used all across ($presentation-components) package. */ __exportStar(require("./presentation-components/common/ContentDataProvider.js"), exports); __exportStar(require("./presentation-components/common/Diagnostics.js"), exports); __exportStar(require("./presentation-components/common/IPresentationDataProvider.js"), exports); __exportStar(require("./presentation-components/common/IUnifiedSelectionComponent.js"), exports); __exportStar(require("./presentation-components/common/PropertyRecordsBuilder.js"), exports); __exportStar(require("./presentation-components/common/SchemaMetadataContext.js"), exports); var PortalTargetContext_js_1 = require("./presentation-components/common/PortalTargetContext.js"); Object.defineProperty(exports, "PortalTargetContextProvider", { enumerable: true, get: function () { return PortalTargetContext_js_1.PortalTargetContextProvider; } }); __exportStar(require("./presentation-components/hooks/UseRulesetRegistration.js"), exports); /** * @module Logging * * @docs-group-description Logging * Types related to logging in ($presentation-components) package. */ __exportStar(require("./presentation-components/ComponentsLoggerCategory.js"), exports); /** * @module Properties * * @docs-group-description Properties * Presentation-specific [Properties]($components-react:Properties). */ __exportStar(require("./presentation-components/properties/InstanceKeyValueRenderer.js"), exports); __exportStar(require("./presentation-components/properties/editors/index.js"), exports); /** * @module PropertyGrid * * @docs-group-description PropertyGrid * Presentation features for [VirtualizedPropertyGrid]($components-react) component. */ __exportStar(require("./presentation-components/propertygrid/DataProvider.js"), exports); __exportStar(require("./presentation-components/propertygrid/FavoritePropertiesDataFilterer.js"), exports); var UseUnifiedSelection_js_1 = require("./presentation-components/propertygrid/UseUnifiedSelection.js"); Object.defineProperty(exports, "usePropertyDataProviderWithUnifiedSelection", { enumerable: true, get: function () { return UseUnifiedSelection_js_1.usePropertyDataProviderWithUnifiedSelection; } }); /** * @module FavoriteProperties * * @docs-group-description FavoriteProperties * Presentation features for [Favorite properties]($components-react:Favorite). */ __exportStar(require("./presentation-components/favorite-properties/DataProvider.js"), exports); /** * @module Tree * * @docs-group-description Tree * Presentation features for [Tree]($components-react:Tree) component. */ __exportStar(require("./presentation-components/tree/DataProvider.js"), exports); __exportStar(require("./presentation-components/tree/IPresentationTreeDataProvider.js"), exports); __exportStar(require("./presentation-components/tree/PresentationTreeNodeItem.js"), exports); __exportStar(require("./presentation-components/tree/controlled/PresentationTree.js"), exports); __exportStar(require("./presentation-components/tree/controlled/PresentationTreeNodeRenderer.js"), exports); __exportStar(require("./presentation-components/tree/controlled/PresentationTreeRenderer.js"), exports); __exportStar(require("./presentation-components/tree/controlled/TreeHooks.js"), exports); __exportStar(require("./presentation-components/tree/controlled/UseHierarchyLevelFiltering.js"), exports); __exportStar(require("./presentation-components/tree/controlled/UsePresentationTreeState.js"), exports); __exportStar(require("./presentation-components/tree/controlled/UseUnifiedSelection.js"), exports); /** * @module Table * * @docs-group-description Table * Presentation features for Table component. */ __exportStar(require("./presentation-components/table/UsePresentationTable.js"), exports); __exportStar(require("./presentation-components/table/Types.js"), exports); __exportStar(require("./presentation-components/table/CellRenderer.js"), exports); /** * @module Viewport * * @docs-group-description Viewport * Presentation features for [ViewportComponent]($imodel-components-react). */ var WithUnifiedSelection_js_1 = require("./presentation-components/viewport/WithUnifiedSelection.js"); Object.defineProperty(exports, "viewWithUnifiedSelection", { enumerable: true, get: function () { return WithUnifiedSelection_js_1.viewWithUnifiedSelection; } }); /** * @module DisplayLabels * * @docs-group-description DisplayLabels * Types related to display labels. */ __exportStar(require("./presentation-components/labels/LabelsProvider.js"), exports); /** * @module UnifiedSelection * * @docs-group-description UnifiedSelection * Utilities for working with [Unified Selection]($docs/presentation/unified-selection/index.md) within [React](https://reactjs.org/) components. */ __exportStar(require("./presentation-components/unified-selection/UnifiedSelectionContext.js"), exports); /** * @module InstancesFilter * * @docs-group-description InstancesFilter * Utilities for creating filters for filtering presentation data. */ __exportStar(require("./presentation-components/instance-filter-builder/PresentationInstanceFilter.js"), exports); __exportStar(require("./presentation-components/instance-filter-builder/PresentationInstanceFilterDialog.js"), exports); __exportStar(require("./presentation-components/instance-filter-builder/PresentationFilterBuilder.js"), exports); /** * @module Internal * * @docs-group-description Internal * Internal APIs aren't published in documentation, so this group is expected to be empty. */ presentation_frontend_1.Presentation.registerInitializationHandler(Initialization_js_1.initializeLocalization); presentation_frontend_1.Presentation.registerInitializationHandler(Initialization_js_1.initializePropertyValueRenderers); //# sourceMappingURL=presentation-components.js.map