New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@development-framework/dm-core-plugins

Package Overview
Dependencies
Maintainers
5
Versions
118
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@development-framework/dm-core-plugins - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

dist/blueprint-hierarchy/BlueprintHierarchyPlugin.d.ts

36

dist/index.js

@@ -7,45 +7,45 @@ "use strict";

exports.plugins = void 0;
var Editor_1 = __importDefault(require("./explorer/Editor"));
var YamlPlugin_1 = require("./yaml-view/YamlPlugin");
var TabsContainer_1 = require("./tabs/TabsContainer");
var MermaidComponent_1 = require("./mermaid-plugin/MermaidComponent");
var JobInputEdit_1 = require("./job/JobInputEdit");
var JobControlWrapper_1 = require("./job/JobControlWrapper");
var FormComponent_1 = require("./form/FormComponent");
var Header_1 = __importDefault(require("./header/Header"));
var YamlPlugin_1 = require("./yaml/YamlPlugin");
var TabsPlugin_1 = require("./tabs/TabsPlugin");
var BlueprintHierarchyPlugin_1 = require("./blueprint-hierarchy/BlueprintHierarchyPlugin");
var JobInputEditPlugin_1 = require("./job/JobInputEditPlugin");
var JobControlPlugin_1 = require("./job/JobControlPlugin");
var FormPlugin_1 = require("./form/FormPlugin");
var HeaderPlugin_1 = __importDefault(require("./header/HeaderPlugin"));
var DefaultPreviewComponent_1 = require("./default-preview/DefaultPreviewComponent");
var DefaultPdfComponent_1 = require("./default-pdf/DefaultPdfComponent");
var EditBlueprint_1 = require("./blueprint/EditBlueprint");
var ExplorerPlugin_1 = __importDefault(require("./explorer/ExplorerPlugin"));
exports.plugins = [
{
pluginName: 'explorer',
component: Editor_1.default,
component: ExplorerPlugin_1.default,
},
{
pluginName: 'yaml-view',
component: YamlPlugin_1.PluginComponent,
pluginName: 'yaml',
component: YamlPlugin_1.YamlPlugin,
},
{
pluginName: 'tabs',
component: TabsContainer_1.TabsContainer,
component: TabsPlugin_1.TabsPlugin,
},
{
pluginName: 'mermaid',
component: MermaidComponent_1.MermaidComponent,
pluginName: 'blueprint-hierarchy',
component: BlueprintHierarchyPlugin_1.BlueprintHierarchyPlugin,
},
{
pluginName: 'jobControl',
component: JobControlWrapper_1.JobControlWrapper,
component: JobControlPlugin_1.JobControlPlugin,
},
{
pluginName: 'jobInputEdit',
component: JobInputEdit_1.JobInputEdit,
component: JobInputEditPlugin_1.JobInputEditPlugin,
},
{
pluginName: 'form',
component: FormComponent_1.FormComponent,
component: FormPlugin_1.FormPlugin,
},
{
pluginName: 'header',
component: Header_1.default,
component: HeaderPlugin_1.default,
},

@@ -52,0 +52,0 @@ {

"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
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 __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.Sidebar = void 0;
var react_1 = __importDefault(require("react"));
var React = __importStar(require("react"));
var eds_core_react_1 = require("@equinor/eds-core-react");

@@ -15,15 +35,15 @@ var eds_icons_1 = require("@equinor/eds-icons");

var _c = (0, TabsContext_1.useTabContext)(), entity = _c.entity, selectedTab = _c.selectedTab, setSelectedTab = _c.setSelectedTab, childTabs = _c.childTabs;
return (react_1.default.createElement(eds_core_react_1.SideBar, { open: true, style: { height: 'auto' } },
react_1.default.createElement(eds_core_react_1.SideBar.Content, null,
react_1.default.createElement(eds_core_react_1.SideBar.Link, { icon: eds_icons_1.home, label: (_b = (_a = entity === null || entity === void 0 ? void 0 : entity.label) !== null && _a !== void 0 ? _a : (0, utils_1.prettifyName)((entity === null || entity === void 0 ? void 0 : entity.name) || '')) !== null && _b !== void 0 ? _b : selectedTab, onClick: function () { return setSelectedTab('home'); }, active: selectedTab === 'home' }),
return (React.createElement(eds_core_react_1.SideBar, { open: true, style: { height: 'auto' } },
React.createElement(eds_core_react_1.SideBar.Content, null,
React.createElement(eds_core_react_1.SideBar.Link, { icon: eds_icons_1.home, label: (_b = (_a = entity === null || entity === void 0 ? void 0 : entity.label) !== null && _a !== void 0 ? _a : (0, utils_1.prettifyName)((entity === null || entity === void 0 ? void 0 : entity.name) || '')) !== null && _b !== void 0 ? _b : selectedTab, onClick: function () { return setSelectedTab('home'); }, active: selectedTab === 'home' }),
Object.values(childTabs).map(function (tabData) {
var _a, _b;
return (react_1.default.createElement(eds_core_react_1.SideBar.Link, { key: tabData.attribute, icon: eds_icons_1.subdirectory_arrow_right, label: ((_a = tabData.entity) === null || _a === void 0 ? void 0 : _a.label) ||
return (React.createElement(eds_core_react_1.SideBar.Link, { key: tabData.attribute, icon: eds_icons_1.subdirectory_arrow_right, label: ((_a = tabData.entity) === null || _a === void 0 ? void 0 : _a.label) ||
(0, utils_1.prettifyName)(((_b = tabData.entity) === null || _b === void 0 ? void 0 : _b.name) || '') ||
tabData.attribute, onClick: function () { return setSelectedTab(tabData.attribute); }, active: selectedTab === tabData.attribute }));
})),
react_1.default.createElement(eds_core_react_1.SideBar.Footer, null,
react_1.default.createElement(eds_core_react_1.SideBar.Toggle, null))));
React.createElement(eds_core_react_1.SideBar.Footer, null,
React.createElement(eds_core_react_1.SideBar.Toggle, null))));
};
exports.Sidebar = Sidebar;
//# sourceMappingURL=Sidebar.js.map

@@ -40,3 +40,3 @@ "use strict";

var utils_1 = require("./utils");
var Tab = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: fit-content;\n height: 30px;\n padding: 2px 15px;\n align-self: self-end;\n &:hover {\n color: gray;\n }\n cursor: pointer;\n border-bottom: ", ";\n font-size: medium;\n"], ["\n width: fit-content;\n height: 30px;\n padding: 2px 15px;\n align-self: self-end;\n &:hover {\n color: gray;\n }\n cursor: pointer;\n border-bottom: ", ";\n font-size: medium;\n"])), function (props) {
var Tab = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n width: fit-content;\n height: 30px;\n padding: 2px 15px;\n align-self: self-end;\n\n &:hover {\n color: gray;\n }\n\n cursor: pointer;\n border-bottom: ", ";\n font-size: medium;\n"], ["\n width: fit-content;\n height: 30px;\n padding: 2px 15px;\n align-self: self-end;\n\n &:hover {\n color: gray;\n }\n\n cursor: pointer;\n border-bottom: ", ";\n font-size: medium;\n"])), function (props) {
return (props.active == true && '3px red solid') || '3px grey solid';

@@ -43,0 +43,0 @@ });

import { TGenericObject } from '@development-framework/dm-core';
import React from 'react';
import { TStringMap, TTabsPluginConfig } from './TabsContainer';
import { TStringMap, TTabsPluginConfig } from './TabsPlugin';
type TabsContextProps = {

@@ -5,0 +5,0 @@ entity: TGenericObject;

{
"name": "@development-framework/dm-core-plugins",
"license": "MIT",
"version": "1.0.3",
"version": "1.0.4",
"main": "dist/index.js",

@@ -57,4 +57,4 @@ "dependencies": {

"copy-explorer-css-file": "cp src/explorer/components/context-menu/react-contextmenu.css dist/explorer/components/context-menu/react-contextmenu.css",
"copy-yaml-view-css-file": "cp src/yaml-view/index.css ./dist/yaml-view",
"build": "tsc && yarn copy-explorer-css-file && yarn copy-yaml-view-css-file",
"copy-yaml-css-file": "cp src/yaml/index.css ./dist/yaml",
"build": "tsc && yarn copy-explorer-css-file && yarn copy-yaml-css-file",
"postbuild": "rm -rf node_modules",

@@ -61,0 +61,0 @@ "test": "jest test",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc