ProjectsView
Defined in: js-api/src/views/card_view.ts:90
Projects view
Extends
Constructors
Constructor
new ProjectsView(
dart):ProjectsView
Defined in: js-api/src/views/card_view.ts:92
Parameters
| Parameter | Type |
|---|---|
dart | any |
Returns
ProjectsView
Constructs
ProjectsView
Overrides
Properties
| Property | Modifier | Type | Default value | Description | Inherited from | Defined in |
|---|---|---|---|---|---|---|
_functions | protected | Func[] | [] | - | CardView._functions | js-api/src/widgets/base.ts:214 |
_name | protected | string | 'New View' | - | CardView._name | js-api/src/views/view.ts:106 |
_properties | protected | Property[] | [] | - | CardView._properties | js-api/src/widgets/base.ts:213 |
_root | protected | HTMLElement | undefined | - | CardView._root | js-api/src/u2core/component.ts:445 |
_u2 | readonly | ComponentState | undefined | - | CardView._u2 | js-api/src/u2core/component.ts:82 |
componentMeta? | public | ComponentMetaBase | undefined | The registry metadata of the tag that built this component, stamped by the spec renderer — the single source the introspection surface below is generated from. | CardView.componentMeta | js-api/src/u2core/component.ts:77 |
dart | public | any | undefined | - | CardView.dart | js-api/src/views/card_view.ts:21 |
factory | public | Func | null | null | Constructor function. No parameters, returns [Widget]. | CardView.factory | js-api/src/widgets/base.ts:211 |
isDetached | public | boolean | false | - | CardView.isDetached | js-api/src/widgets/base.ts:218 |
props | public | any | undefined | - | CardView.props | js-api/src/widgets/base.ts:215 |
specProps? | public | Record<string, unknown> | undefined | The props the registry's create was handed, stamped alongside componentMeta: the last resort of the property read below, for a component that keeps a prop under another name or not at all (a create wrapping a bare element). Construction-time values — a live one always wins. | CardView.specProps | js-api/src/u2core/component.ts:81 |
subs | public | Subscription[] | undefined | - | CardView.subs | js-api/src/views/view.ts:47 |
temp | public | any | undefined | Contains auxiliary information | CardView.temp | js-api/src/views/view.ts:238 |
ALL_VIEW_TYPES | readonly | string[] | undefined | - | CardView.ALL_VIEW_TYPES | js-api/src/views/view.ts:404 |
APPS | readonly | "apps" | 'apps' | - | CardView.APPS | js-api/src/views/view.ts:374 |
BROWSE | readonly | "browse" | 'browse' | - | CardView.BROWSE | js-api/src/views/view.ts:401 |
DATA_CONNECTIONS | readonly | "connections" | 'connections' | - | CardView.DATA_CONNECTIONS | js-api/src/views/view.ts:388 |
DATA_JOB_RUNS | readonly | "jobs" | 'jobs' | - | CardView.DATA_JOB_RUNS | js-api/src/views/view.ts:389 |
DATA_QUERY_RUNS | readonly | "queryruns" | 'queryruns' | - | CardView.DATA_QUERY_RUNS | js-api/src/views/view.ts:391 |
DATABASES | readonly | "databases" | 'databases' | - | CardView.DATABASES | js-api/src/views/view.ts:384 |
DOCKERS | readonly | "dockers" | 'dockers' | - | CardView.DOCKERS | js-api/src/views/view.ts:402 |
EMAILS | readonly | "emails" | 'emails' | - | CardView.EMAILS | js-api/src/views/view.ts:392 |
FILES | readonly | "files" | 'files' | - | CardView.FILES | js-api/src/views/view.ts:390 |
FORUM | readonly | "forum" | 'forum' | - | CardView.FORUM | js-api/src/views/view.ts:379 |
FUNCTIONS | readonly | "functions" | 'functions' | - | CardView.FUNCTIONS | js-api/src/views/view.ts:387 |
GROUPS | readonly | "groups" | 'groups' | - | CardView.GROUPS | js-api/src/views/view.ts:393 |
HELP | readonly | "help" | 'help' | - | CardView.HELP | js-api/src/views/view.ts:382 |
JS_EDITOR | readonly | "js" | 'js' | - | CardView.JS_EDITOR | js-api/src/views/view.ts:400 |
MODELS | readonly | "models" | 'models' | - | CardView.MODELS | js-api/src/views/view.ts:394 |
NOTEBOOKS | readonly | "notebooks" | 'notebooks' | - | CardView.NOTEBOOKS | js-api/src/views/view.ts:381 |
OPEN_TEXT | readonly | "text" | 'text' | - | CardView.OPEN_TEXT | js-api/src/views/view.ts:383 |
PACKAGE_REPOSITORIES | readonly | "repositories" | 'repositories' | - | CardView.PACKAGE_REPOSITORIES | js-api/src/views/view.ts:399 |
PACKAGES | readonly | "packages" | 'packages' | - | CardView.PACKAGES | js-api/src/views/view.ts:398 |
PROJECTS | readonly | "projects" | 'projects' | - | CardView.PROJECTS | js-api/src/views/view.ts:380 |
QUERIES | readonly | "queries" | 'queries' | - | CardView.QUERIES | js-api/src/views/view.ts:395 |
SCRIPT | readonly | "script" | 'script' | - | CardView.SCRIPT | js-api/src/views/view.ts:377 |
SCRIPTS | readonly | "scripts" | 'scripts' | - | CardView.SCRIPTS | js-api/src/views/view.ts:396 |
SETTINGS | readonly | "settings" | 'settings' | - | CardView.SETTINGS | js-api/src/views/view.ts:375 |
SKETCH | readonly | "sketch" | 'sketch' | - | CardView.SKETCH | js-api/src/views/view.ts:378 |
USERS | readonly | "users" | 'users' | - | CardView.USERS | js-api/src/views/view.ts:397 |
VIEW_LAYOUTS | readonly | "layouts" | 'layouts' | - | CardView.VIEW_LAYOUTS | js-api/src/views/view.ts:386 |
WEB_SERVICES | readonly | "webservices" | 'webservices' | - | CardView.WEB_SERVICES | js-api/src/views/view.ts:385 |
WELCOME | readonly | "welcome" | 'welcome' | - | CardView.WELCOME | js-api/src/views/view.ts:376 |
Accessors
aiDescription
Get Signature
get aiDescription():
string|null
Defined in: js-api/src/views/view.ts:249
AI briefing of the underlying view (widget-level on the Dart side). For a JS-defined view the Dart host forwards to the original ViewBase instance.
Returns
string | null
Set Signature
set aiDescription(
x):void
Defined in: js-api/src/views/view.ts:254
A short AI-facing briefing, seeded from the registry's usage or description.
Parameters
| Parameter | Type |
|---|---|
x | string | null |
Returns
void
Inherited from
ambientAdoption
Get Signature
get
protectedambientAdoption():boolean
Defined in: js-api/src/widgets/base.ts:272
A widget wrapper minted inside somebody's effect scope must not be auto-disposed with it.
Returns
boolean
Inherited from
basePath
Get Signature
get basePath():
string
Defined in: js-api/src/views/view.ts:131
Deprecated
use path instead
Returns
string
Set Signature
set basePath(
s):void
Defined in: js-api/src/views/view.ts:132
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
box
Get Signature
get box():
boolean
Defined in: js-api/src/views/view.ts:73
Returns
boolean
Set Signature
set box(
b):void
Defined in: js-api/src/views/view.ts:74
Parameters
| Parameter | Type |
|---|---|
b | boolean |
Returns
void
Inherited from
categoryFilters
Get Signature
get categoryFilters():
object
Defined in: js-api/src/views/card_view.ts:56
Category filter properties list
Returns
object
Set Signature
set categoryFilters(
ff):void
Defined in: js-api/src/views/card_view.ts:57
Parameters
| Parameter | Type |
|---|---|
ff | {[property: string]: string; } |
Returns
void
Inherited from
children
Get Signature
get children():
Widget<any>[]
Defined in: js-api/src/widgets/base.ts:304
Parent widget up the DOM tree, or null.
Returns
Widget<any>[]
Inherited from
closing
Get Signature
get closing():
boolean
Defined in: js-api/src/views/view.ts:149
Whether the view is currently closing.
Returns
boolean
Set Signature
set closing(
c):void
Defined in: js-api/src/views/view.ts:150
Parameters
| Parameter | Type |
|---|---|
c | boolean |
Returns
void
Inherited from
description
Get Signature
get description():
string
Defined in: js-api/src/views/view.ts:324
View description. Used in UI and AI.
Returns
string
Set Signature
set description(
s):void
Defined in: js-api/src/views/view.ts:325
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
entity
Get Signature
get entity():
object|null
Defined in: js-api/src/views/view.ts:127
Returns
object | null
Set Signature
set entity(
_e):void
Defined in: js-api/src/views/view.ts:128
Parameters
| Parameter | Type |
|---|---|
_e | object | null |
Returns
void
Inherited from
filters
Get Signature
get filters():
object
Defined in: js-api/src/views/card_view.ts:60
Text filter properties list
Returns
object
Set Signature
set filters(
ff):void
Defined in: js-api/src/views/card_view.ts:61
Parameters
| Parameter | Type |
|---|---|
ff | {[property: string]: string; } |
Returns
void
Inherited from
helpUrl
Get Signature
get helpUrl():
string|null
Defined in: js-api/src/views/view.ts:328
Returns
string | null
View help URL.
Set Signature
set helpUrl(
url):void
Defined in: js-api/src/views/view.ts:329
Parameters
| Parameter | Type |
|---|---|
url | string | null |
Returns
void
View help URL.
Inherited from
hierarchy
Get Signature
get hierarchy():
string[]
Defined in: js-api/src/views/card_view.ts:64
Grouping properties list
Returns
string[]
Set Signature
set hierarchy(
s):void
Defined in: js-api/src/views/card_view.ts:65
Parameters
| Parameter | Type |
|---|---|
s | string[] |
Returns
void
Inherited from
hierarchyProperties
Get Signature
get hierarchyProperties():
object
Defined in: js-api/src/views/card_view.ts:68
All possible grouping properties list
Returns
object
Set Signature
set hierarchyProperties(
s):void
Defined in: js-api/src/views/card_view.ts:69
Parameters
| Parameter | Type |
|---|---|
s | {[property: string]: string; } |
Returns
void
Inherited from
id
Get Signature
get id():
string
Defined in: js-api/src/views/view.ts:319
Returns
string
Inherited from
isPinned
Get Signature
get isPinned():
boolean
Defined in: js-api/src/views/view.ts:180
Whether the view is pinned. Pinned views are not closed when a new view is opened.
Returns
boolean
Set Signature
set isPinned(
value):void
Defined in: js-api/src/views/view.ts:181
Parameters
| Parameter | Type |
|---|---|
value | boolean |
Returns
void
Inherited from
jsView
Get Signature
get jsView():
ViewBase|null
Defined in: js-api/src/views/view.ts:263
The original JS ViewBase instance when this view hosts a JS-defined view
(e.g. a plugin app view), null for native Dart views. Lets callers reach the actual
view class (its methods, tools, state) from grok.shell.v.
Returns
ViewBase | null
Inherited from
meta
Get Signature
get meta():
ObjectHandler
Defined in: js-api/src/views/card_view.ts:39
Object handler (instructions how to render, drag-and-drop, etc)
Returns
Set Signature
set meta(
s):void
Defined in: js-api/src/views/card_view.ts:40
Parameters
| Parameter | Type |
|---|---|
s | ObjectHandler |
Returns
void
Inherited from
name
Get Signature
get name():
string
Defined in: js-api/src/views/view.ts:356
View name. It gets shown in the tab handle.
Returns
string
Set Signature
set name(
s):void
Defined in: js-api/src/views/view.ts:361
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
objectType
Get Signature
get objectType():
string
Defined in: js-api/src/views/card_view.ts:43
Semantic type of the items.
Returns
string
Set Signature
set objectType(
s):void
Defined in: js-api/src/views/card_view.ts:44
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
parent
Get Signature
get parent():
Widget<any> |null
Defined in: js-api/src/widgets/base.ts:301
Parent widget up the DOM tree, or null.
Returns
Widget<any> | null
Inherited from
parentCall
Get Signature
get parentCall():
FuncCall|undefined
Defined in: js-api/src/views/view.ts:118
Returns
FuncCall | undefined
Set Signature
set parentCall(
s):void
Defined in: js-api/src/views/view.ts:119
Parameters
| Parameter | Type |
|---|---|
s | FuncCall | undefined |
Returns
void
Inherited from
parentView
Get Signature
get parentView():
ViewBase
Defined in: js-api/src/views/view.ts:121
Returns
Set Signature
set parentView(
s):void
Defined in: js-api/src/views/view.ts:122
Parameters
| Parameter | Type |
|---|---|
s | ViewBase |
Returns
void
Inherited from
path
Get Signature
get path():
string
Defined in: js-api/src/views/view.ts:176
View URI, relative to the view root
Returns
string
Set Signature
set path(
s):void
Defined in: js-api/src/views/view.ts:177
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
permanentFilter
Get Signature
get permanentFilter():
string
Defined in: js-api/src/views/card_view.ts:52
Programmatically defined invisible filter expression.
Returns
string
Set Signature
set permanentFilter(
s):void
Defined in: js-api/src/views/card_view.ts:53
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
propertyTarget
Get Signature
get propertyTarget():
unknown
Defined in: js-api/src/u2core/component.ts:250
What this component's properties are read from and written to — prop.get(target) /
prop.set(target, v): the component itself, unless an adoption says otherwise.
Returns
unknown
Inherited from
propertyTier
Get Signature
get propertyTier():
boolean
Defined in: js-api/src/widgets/base.ts:276
Every property getProperties declares is a bind step, read and written on propertyTarget.
Returns
boolean
Inherited from
renderMode
Get Signature
get renderMode():
RENDER_MODE
Defined in: js-api/src/views/card_view.ts:76
Render mode
Returns
Set Signature
set renderMode(
s):void
Defined in: js-api/src/views/card_view.ts:77
Parameters
| Parameter | Type |
|---|---|
s | RENDER_MODE |
Returns
void
Inherited from
ribbonMenu
Get Signature
get ribbonMenu():
Menu
Defined in: js-api/src/views/view.ts:141
View menu. Sample: https://public.datagrok.ai/js/samples/ui/views/ribbon
Returns
Set Signature
set ribbonMenu(
menu):void
Defined in: js-api/src/views/view.ts:142
Parameters
| Parameter | Type |
|---|---|
menu | Menu |
Returns
void
Inherited from
root
Get Signature
get root():
HTMLElement
Defined in: js-api/src/views/view.ts:311
Returns the content (visual root) of this view.
Returns
HTMLElement
Inherited from
scope
Get Signature
get scope():
Scope
Defined in: js-api/src/u2core/component.ts:53
Minted on first use; assigned before _scopeMinted fires, so the hook's own
this.scope.own(...) reads the stored scope instead of re-entering the mint.
Returns
Inherited from
searchFields
Get Signature
get searchFields():
string[]
Defined in: js-api/src/views/card_view.ts:46
Returns
string[]
Set Signature
set searchFields(
s):void
Defined in: js-api/src/views/card_view.ts:47
Parameters
| Parameter | Type |
|---|---|
s | string[] |
Returns
void
Inherited from
searchValue
Get Signature
get searchValue():
string
Defined in: js-api/src/views/card_view.ts:35
User-specified filter expression.
Returns
string
Set Signature
set searchValue(
s):void
Defined in: js-api/src/views/card_view.ts:36
Parameters
| Parameter | Type |
|---|---|
s | string |
Returns
void
Inherited from
showTree
Get Signature
get showTree():
boolean
Defined in: js-api/src/views/card_view.ts:72
Grouping mode on
Returns
boolean
Set Signature
set showTree(
s):void
Defined in: js-api/src/views/card_view.ts:73
Parameters
| Parameter | Type |
|---|---|
s | boolean |
Returns
void
Inherited from
statusBarPanels
Get Signature
get statusBarPanels():
HTMLDivElement[]
Defined in: js-api/src/views/view.ts:145
Status bar panels to be shown on the bottom
Returns
HTMLDivElement[]
Set Signature
set statusBarPanels(
panels):void
Defined in: js-api/src/views/view.ts:146
Parameters
| Parameter | Type |
|---|---|
panels | HTMLDivElement[] |
Returns
void
Inherited from
toolbox
Get Signature
get toolbox():
HTMLElement
Defined in: js-api/src/views/view.ts:136
View toolbox. Sample: https://public.datagrok.ai/js/samples/ui/views/toolbox
Returns
HTMLElement
Set Signature
set toolbox(
x):void
Defined in: js-api/src/views/view.ts:137
Parameters
| Parameter | Type |
|---|---|
x | HTMLElement |
Returns
void
Inherited from
type
Get Signature
get type():
string
Defined in: js-api/src/views/view.ts:315
View type
Returns
string
Inherited from
Methods
_notifyPropertyChange()
protected_notifyPropertyChange(p):void
Defined in: js-api/src/widgets/base.ts:351
Notifies the property tier. Called from both the addProperty setter (overrides that skip
super would otherwise lose props.x = writes) and onPropertyChanged (direct calls);
the double notify collapses into one microtask refresh.
Parameters
| Parameter | Type |
|---|---|
p | Property | null |
Returns
void
Inherited from
CardView._notifyPropertyChange
_onAdded()
_onAdded():
void
Defined in: js-api/src/views/view.ts:369
Returns
void
Inherited from
_ownPropertyChanges()
protected_ownPropertyChanges():ObservableLike<PropertyChange>
Defined in: js-api/src/widgets/base.ts:356
Returns
ObservableLike<PropertyChange>
Inherited from
_scopeMinted()
protected_scopeMinted(_scope):void
Defined in: js-api/src/widgets/base.ts:320
First-mint hook: a platform descendant wires its lifecycle here. Never fired for a scope provided to init — that path runs inside the constructor chain.
Parameters
| Parameter | Type |
|---|---|
_scope | Scope |
Returns
void
Inherited from
_wireDartLifecycle()
protected_wireDartLifecycle():void
Defined in: js-api/src/widgets/base.ts:336
Dart-owned lifecycle: the platform kill disposes the scope, and disposing the scope kills the widget through the kill-walk.
Returns
void
Inherited from
_wireJsLifecycle()
protected_wireJsLifecycle():void
Defined in: js-api/src/widgets/base.ts:327
JS-owned lifecycle: disposing the scope detaches the widget, and vice versa.
Returns
void
Inherited from
_wireLifecycle()
protected_wireLifecycle():void
Defined in: js-api/src/widgets/base.ts:322
Returns
void
Inherited from
acceptsPath()
acceptsPath(
_urlPath):boolean
Defined in: js-api/src/views/view.ts:202
Checks if URL path is acceptable. Override in subclasses.
[_urlPath] is the path WITHOUT the query string: a view claims a URL by its path, and decides what the parameters mean in handlePath.