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

datagrok-api

Package Overview
Dependencies
Maintainers
0
Versions
487
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

datagrok-api - npm Package Compare versions

Comparing version 1.20.0 to 1.20.1-rc.0f668ab549.24713f912ecb

2

package.json
{
"name": "datagrok-api",
"version": "1.20.0",
"version": "1.20.1-rc.0f668ab549.24713f912ecb",
"description": "",

@@ -5,0 +5,0 @@ "dependencies": {

@@ -24,2 +24,3 @@ import { DataFrame } from "./dataframe";

build: AppBuildInfo;
isInDemo: boolean;
testError(s: String): void;

@@ -26,0 +27,0 @@ reportTest(type: String, params: object): Promise<void>;

@@ -11,3 +11,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import { DataFrame } from './dataframe';
import { View, ViewBase } from './views/view';
import { TableView, View, ViewBase } from './views/view';
import { toDart, toJs } from './wrappers';

@@ -35,2 +35,3 @@ import { DockManager } from './docking';

this.build = new AppBuildInfo();
this.isInDemo = false;
}

@@ -157,3 +158,8 @@ testError(s) {

v.parentCall = context;
api.grok_AddView(v.dart, dockType, width);
if (this.isInDemo && grok.shell.view('Browse') !== null) {
const bv = grok.shell.view('Browse');
bv.preview = v;
}
else
api.grok_AddView(v.dart, dockType, width);
}

@@ -184,3 +190,10 @@ return v;

addTableView(table, dockType = DOCK_TYPE.FILL, width = null) {
return toJs(api.grok_AddTableView(table.dart, dockType, width));
if (this.isInDemo && grok.shell.view('Browse') !== null) {
const tv = TableView.create(table, false);
const bv = grok.shell.view('Browse');
bv.preview = tv;
return tv;
}
else
return toJs(api.grok_AddTableView(table.dart, dockType, width));
}

@@ -187,0 +200,0 @@ /**

@@ -338,2 +338,3 @@ import { ViewerType } from '../const';

set preview(preview: View | null);
get dockManager(): DockManager;
}

@@ -340,0 +341,0 @@ export declare class ViewLayout extends Entity {

@@ -521,4 +521,5 @@ import { VIEW_TYPE, VIEWER } from '../const';

get mainTree() { return api.grok_BrowseView_Get_MainTree(this.dart); }
get preview() { return api.grok_BrowseView_Get_Preview(this.dart); }
get preview() { return toJs(api.grok_BrowseView_Get_Preview(this.dart)); }
set preview(preview) { api.grok_BrowseView_Set_Preview(this.dart, preview === null || preview === void 0 ? void 0 : preview.dart); }
get dockManager() { return new DockManager(api.grok_BrowseView_Get_DockManager(this.dart)); }
}

@@ -525,0 +526,0 @@ export class ViewLayout extends Entity {

@@ -799,2 +799,4 @@ import { EventData, InputArgs, StreamSubscription } from "./events";

set autoCheckChildren(auto: boolean);
get currentItem(): TreeViewNode;
set currentItem(node: TreeViewNode);
/** Adds new group */

@@ -801,0 +803,0 @@ group(text: string | Element, value?: object | null, expanded?: boolean): TreeViewGroup;

Sorry, the diff of this file is too big to display

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

Sorry, the diff of this file is too big to display

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