UNPKG

react-mosaic-component2

Version:
86 lines (84 loc) 4.49 kB
"use strict"; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __hasOwnProp = Object.prototype.hasOwnProperty; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); } return to; }; var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); // src/index.ts var index_exports = {}; __export(index_exports, { Corner: () => import_mosaicUtilities.Corner, DEFAULT_CONTROLS_WITHOUT_CREATION: () => import_defaultToolbarControls.DEFAULT_CONTROLS_WITHOUT_CREATION, DEFAULT_CONTROLS_WITH_CREATION: () => import_defaultToolbarControls.DEFAULT_CONTROLS_WITH_CREATION, DefaultToolbarButton: () => import_MosaicButton.DefaultToolbarButton, ExpandButton: () => import_ExpandButton.ExpandButton, Mosaic: () => import_Mosaic.Mosaic, MosaicContext: () => import_contextTypes.MosaicContext, MosaicDragType: () => import_types.MosaicDragType, MosaicWindow: () => import_MosaicWindow.MosaicWindow, MosaicWindowContext: () => import_contextTypes.MosaicWindowContext, MosaicWithoutDragDropContext: () => import_Mosaic.MosaicWithoutDragDropContext, MosaicZeroState: () => import_MosaicZeroState.MosaicZeroState, RemoveButton: () => import_RemoveButton.RemoveButton, ReplaceButton: () => import_ReplaceButton.ReplaceButton, Separator: () => import_Separator.Separator, SplitButton: () => import_SplitButton.SplitButton, buildSpecFromUpdate: () => import_mosaicUpdates.buildSpecFromUpdate, createBalancedTreeFromLeaves: () => import_mosaicUtilities.createBalancedTreeFromLeaves, createDefaultToolbarButton: () => import_MosaicButton.createDefaultToolbarButton, createDragToUpdates: () => import_mosaicUpdates.createDragToUpdates, createExpandUpdate: () => import_mosaicUpdates.createExpandUpdate, createHideUpdate: () => import_mosaicUpdates.createHideUpdate, createRemoveUpdate: () => import_mosaicUpdates.createRemoveUpdate, getAndAssertNodeAtPathExists: () => import_mosaicUtilities.getAndAssertNodeAtPathExists, getLeaves: () => import_mosaicUtilities.getLeaves, getNodeAtPath: () => import_mosaicUtilities.getNodeAtPath, getOtherBranch: () => import_mosaicUtilities.getOtherBranch, getOtherDirection: () => import_mosaicUtilities.getOtherDirection, getPathToCorner: () => import_mosaicUtilities.getPathToCorner, isParent: () => import_mosaicUtilities.isParent, updateTree: () => import_mosaicUpdates.updateTree }); module.exports = __toCommonJS(index_exports); var import_Mosaic = require("./Mosaic.cjs"); var import_types = require("./types.cjs"); var import_contextTypes = require("./contextTypes.cjs"); var import_mosaicUpdates = require("./util/mosaicUpdates.cjs"); var import_mosaicUtilities = require("./util/mosaicUtilities.cjs"); var import_MosaicWindow = require("./MosaicWindow.cjs"); var import_MosaicButton = require("./buttons/MosaicButton.cjs"); var import_MosaicZeroState = require("./MosaicZeroState.cjs"); var import_Separator = require("./buttons/Separator.cjs"); var import_ExpandButton = require("./buttons/ExpandButton.cjs"); var import_ReplaceButton = require("./buttons/ReplaceButton.cjs"); var import_SplitButton = require("./buttons/SplitButton.cjs"); var import_RemoveButton = require("./buttons/RemoveButton.cjs"); var import_defaultToolbarControls = require("./buttons/defaultToolbarControls.cjs"); /** * @license * Copyright 2019 Kevin Verdieck, originally developed at Palantir Technologies, Inc. * * 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. */