From ada90f7fe43ee381ca1f07335a9909c060af1188 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Mon, 7 Jun 2021 16:02:43 -0400 Subject: [PATCH 01/21] some comms experiments --- packages/kernel/src/comm.ts | 316 ++++++++++++++++++++++++++++ packages/kernel/src/comm_manager.ts | 259 +++++++++++++++++++++++ packages/kernel/src/kernel.ts | 22 +- packages/kernel/src/tokens.ts | 82 ++++++++ 4 files changed, 678 insertions(+), 1 deletion(-) create mode 100644 packages/kernel/src/comm.ts create mode 100644 packages/kernel/src/comm_manager.ts diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts new file mode 100644 index 000000000..0339ab5de --- /dev/null +++ b/packages/kernel/src/comm.ts @@ -0,0 +1,316 @@ +import { UUID } from '@lumino/coreutils'; + +import { KernelMessage } from '@jupyterlab/services'; + +import { ICommManager, IKernel } from './tokens'; + +export class Comm implements ICommManager.IComm { + public _closed = true; + private _sendMessage: IKernel.SendMessage; + + constructor(options: ICommManager.ICommOptions) { + // TODO: what does a default kernel even look like? + this._kernel = options.kernel; + this._sendMessage = options.sendMessage; + /* + @default('comm_id') + def _default_comm_id(self): + return uuid.uuid4().hex + */ + this._comm_id = options.comm_id || UUID.uuid4(); + this._primary = options.primary === false ? false : true; + this._target_name = options.target_name; + this._topic = options.topic || `comm-${this._comm_id}`; + /* + def __init__(self, target_name='', data=None, metadata=None, buffers=None, **kwargs): + if target_name: + kwargs['target_name'] = target_name + super(Comm, self).__init__(**kwargs) + if self.kernel: + if self.primary: + # I am primary, open my peer. + self.open(data=data, metadata=metadata, buffers=buffers) + else: + self._closed = False + + */ + if (this._kernel) { + if (this._primary) { + void this.open(); + } + } + } + + /** kernel = Instance('ipykernel.kernelbase.Kernel', allow_none=True) */ + private _kernel: IKernel; + get kernel() { + return this._kernel; + } + set kernel(kernel: IKernel) { + this._kernel = kernel; + } + + /** comm_id = Unicode() */ + private _comm_id: string; + get comm_id() { + return this._comm_id; + } + + /** primary = Bool(True, help="Am I the primary or secondary Comm?") */ + private _primary = true; + get primary() { + return this._primary; + } + + /** */ + private _target_name: string; + get target_name() { + return this._target_name; + } + + // TODO: + // target_module = Unicode(None, allow_none=True, help="""requirejs module from + private _target_module: string | null = null; + get target_module() { + return this._target_module; + } + // which to load comm target.""") + + /* + topic = Bytes() + + @default('topic') + def _default_topic(self): + return ('comm-%s' % self.comm_id).encode('ascii') + */ + private _topic: string; + get topic() { + return this._topic; + } + + /* + + def handle_close(self, msg): + """Handle a comm_close message""" + self.log.debug("handle_close[%s](%s)", self.comm_id, msg) + if self._close_callback: + self._close_callback(msg) + + */ + // _close_data = Dict(help="data dict, if any, to be included in comm_close") + _close_data: Record = {}; + // _close_callback = Any() + protected _close_callback: null | ((msg: any) => Promise) = null; + async handle_close(msg: any) { + if (this._close_callback) { + return await this._close_callback(msg); + } + console.warn('handle_close NOT IMPLEMENTED', msg); + } + + // _open_data = Dict(help="data dict, if any, to be included in comm_open") + _open_data: Record = {}; + + // _msg_callback = Any() + _msg_callback: null | ((msg: any) => Promise) = null; + + /* + def open(self, data=None, metadata=None, buffers=None): + """Open the frontend-side version of this comm""" + if data is None: + data = self._open_data + comm_manager = getattr(self.kernel, 'comm_manager', None) + if comm_manager is None: + raise RuntimeError("Comms cannot be opened without a kernel " + "and a comm_manager attached to that kernel.") + + comm_manager.register_comm(self) + try: + self._publish_msg('comm_open', + data=data, metadata=metadata, buffers=buffers, + target_name=self.target_name, + target_module=self.target_module, + ) + self._closed = False + except: + comm_manager.unregister_comm(self) + raise + + */ + + async open(data?: any, metadata?: any, buffers?: any): Promise { + if (!data) { + data = this._open_data; + } + const { comm_manager } = this.kernel; + comm_manager.register_comm(this); + + try { + const message = KernelMessage.createMessage>({ + channel: 'iopub', + msgType: 'comm_open', + session: 'session-uuid', + metadata, + buffers, + content: { + data, + comm_id: this._comm_id, + target_name: this._target_name, + target_module: this._target_module || void 0 + } + }); + this._sendMessage(message); + this._closed = false; + } catch (err) { + comm_manager.unregister_comm(this); + } + } + /** + + def _publish_msg(self, msg_type, data=None, metadata=None, buffers=None, **keys): + """Helper for sending a comm message on IOPub""" + data = {} if data is None else data + metadata = {} if metadata is None else metadata + content = json_clean(dict(data=data, comm_id=self.comm_id, **keys)) + self.kernel.session.send(self.kernel.iopub_socket, msg_type, + content, + metadata=json_clean(metadata), + parent=self.kernel._parent_header.get('shell', {}), + ident=self.topic, + buffers=buffers, + ) + + */ + /* + TODO: dispose? + + def __del__(self): + """trigger close on gc""" + self.close(deleting=True) + + # publishing messages +*/ + + /* + + def close(self, data=None, metadata=None, buffers=None, deleting=False): + """Close the frontend-side version of this comm""" + if self._closed: + # only close once + return + self._closed = True + # nothing to send if we have no kernel + # can be None during interpreter cleanup + if not self.kernel: + return + if data is None: + data = self._close_data + self._publish_msg('comm_close', + data=data, metadata=metadata, buffers=buffers, + ) + if not deleting: + # If deleting, the comm can't be registered + self.kernel.comm_manager.unregister_comm(self) +*/ + async close( + data?: any, + metadata?: any, + buffers?: any, + deleting: boolean = false + ): Promise { + if (this._closed) { + return; + } + this._closed = true; + if (!this._kernel) { + return; + } + if (data == null) { + data = this._close_data; + } + const message = KernelMessage.createMessage>({ + msgType: 'comm_close', + channel: 'iopub', + session: 'session-u-u-i-d', + metadata, + buffers, + content: { + data, + comm_id: this._comm_id + } + }); + this._sendMessage(message); + if (!deleting) { + this.kernel.comm_manager.unregister_comm(this); + } + } + + /* + def on_close(self, callback): + """Register a callback for comm_close + + Will be called with the `data` of the close message. + + Call `on_close(None)` to disable an existing callback. + """ + self._close_callback = callback + */ + on_close(cb: (msg: any) => Promise): void { + this._close_callback = cb; + } + + /* + + def on_msg(self, callback): + """Register a callback for comm_msg + + Will be called with the `data` of any comm_msg messages. + + Call `on_msg(None)` to disable an existing callback. + """ + self._msg_callback = callback + */ + on_msg(callback: (msg: any) => Promise): void { + this._msg_callback = callback; + } + + /* + def send(self, data=None, metadata=None, buffers=None): + """Send a message to the frontend-side version of this comm""" + self._publish_msg('comm_msg', + data=data, metadata=metadata, buffers=buffers, + ) +*/ + async send(data?: any, metadata?: any, buffers?: any): Promise { + const message = KernelMessage.createMessage>({ + channel: 'iopub', + msgType: 'comm_msg', + session: 'session-uuid', + metadata, + buffers, + content: { + data, + comm_id: this._comm_id + } + }); + this._sendMessage(message); + } + + /* + def handle_msg(self, msg): + """Handle a comm_msg message""" + self.log.debug("handle_msg[%s](%s)", self.comm_id, msg) + if self._msg_callback: + shell = self.kernel.shell + if shell: + shell.events.trigger('pre_execute') + self._msg_callback(msg) + if shell: + shell.events.trigger('post_execute') +*/ + async handle_msg(msg: any): Promise { + if (this._msg_callback) { + this._msg_callback(msg); + } + } +} diff --git a/packages/kernel/src/comm_manager.ts b/packages/kernel/src/comm_manager.ts new file mode 100644 index 000000000..a82eaf6b1 --- /dev/null +++ b/packages/kernel/src/comm_manager.ts @@ -0,0 +1,259 @@ +import { IKernel, ICommManager } from './tokens'; +import { Comm } from './comm'; + +/** + * A Default CommManager + * + * Each kernel will get its own CommManager. + * + * Roughly implements an API compatible with the `ipykernel.CommManager`. + * + * _Doesn't_ implement full traitlets observability, but most of the data is in + * `Dict`s anyway. + * + * @see https://github.com/ipython/ipykernel/blob/v5.2.1/ipykernel/comm/manager.py + * + */ +export class DefaultCommManager implements ICommManager { + private _kernel: IKernel; + private _sendMessage: IKernel.SendMessage; + private _comms = new Map(); + private _targets = new Map(); + + constructor(options: ICommManager.IOptions) { + this._kernel = options.kernel; + this._sendMessage = options.sendMessage; + } + + get kernel() { + return this._kernel; + } + + get targets() { + return this._targets; + } + + get comms() { + return this._comms; + } + + /* + def register_target(self, target_name, f): + """Register a callable f for a given target name + + f will be called with two arguments when a comm_open message is received with `target`: + + - the Comm instance + - the `comm_open` message itself. + + f can be a Python callable or an import string for one. + """ + if isinstance(f, string_types): + f = import_item(f) + + */ + register_target(target_name: string, f: ICommManager.ITarget | string) { + if (typeof f === 'string') { + throw new ICommManager.APINotImplemented( + 'creating a comm by import not supported' + ); + } + this._targets.set(target_name, f); + } + + /* + def unregister_target(self, target_name, f): + """Unregister a callable registered with register_target""" + return self.targets.pop(target_name) + */ + unregister_target( + target_name: string, + f: ICommManager.ITarget + ): ICommManager.ITarget | null { + const t = this._targets.get(target_name); + if (!t) { + throw new Error('no target. TOOD: better error'); + } + this._targets.delete(target_name); + return t; + } + + /* + def register_comm(self, comm): + """Register a new comm""" + comm_id = comm.comm_id + comm.kernel = self.kernel + self.comms[comm_id] = comm + return comm_id + */ + register_comm(comm: ICommManager.IComm): string { + const { comm_id } = comm; + comm.kernel = this.kernel; + this._comms.set(comm_id, comm); + return comm_id; + } + /* + def unregister_comm(self, comm): + """Unregister a comm, and close its counterpart""" + # unlike get_comm, this should raise a KeyError + comm = self.comms.pop(comm.comm_id) + */ + unregister_comm(comm: ICommManager.IComm) { + this._comms.delete(comm.comm_id); + } + /* + def get_comm(self, comm_id): + """Get a comm with a particular id + + Returns the comm if found, otherwise None. + + This will not raise an error, + it will log messages if the comm cannot be found. + """ + try: + return self.comms[comm_id] + except KeyError: + self.log.warning("No such comm: %s", comm_id) + if self.log.isEnabledFor(logging.DEBUG): + # don't create the list of keys if debug messages aren't enabled + self.log.debug("Current comms: %s", list(self.comms.keys())) +*/ + get_comm(comm_id: string): ICommManager.IComm { + const comm = this._comms.get(comm_id); + + if (!comm) { + throw new Error(`don't have that comm. TODO: better error sublcass`); + } + + return comm; + } + + /* + # Message handlers + def comm_open(self, stream, ident, msg): + """Handler for comm_open messages""" + content = msg['content'] + comm_id = content['comm_id'] + target_name = content['target_name'] + f = self.targets.get(target_name, None) + comm = Comm(comm_id=comm_id, + primary=False, + target_name=target_name, + ) + self.register_comm(comm) + if f is None: + self.log.error("No such comm target registered: %s", target_name) + else: + try: + f(comm, msg) + return + except Exception: + self.log.error("Exception opening comm with target: %s", target_name, exc_info=True) + + # Failure. + try: + comm.close() + except: + self.log.error("""Could not close comm during `comm_open` failure + clean-up. The comm may not have been opened yet.""", exc_info=True) + */ + async comm_open(msg: any): Promise { + const { content } = msg; + const { comm_id, target_name } = content; + const f = this._targets.get(target_name); + const comm = new Comm({ + kernel: this.kernel, + comm_id, + primary: false, + target_name, + sendMessage: this._sendMessage + }); + this.register_comm(comm); + if (f) { + try { + await f(comm, msg); + return; + } catch (err) { + console.error(err); + console.error('Exception opening comm with target', target_name); + } + } + + try { + await comm.close(); + } catch (err) { + console.error( + 'Could not close comm during `comm_open` failure clean-up. The comm may not have been opened yet.' + ); + } + } + + /* + def comm_msg(self, stream, ident, msg): + """Handler for comm_msg messages""" + content = msg['content'] + comm_id = content['comm_id'] + comm = self.get_comm(comm_id) + if comm is None: + return + + try: + comm.handle_msg(msg) + except Exception: + self.log.error('Exception in comm_msg for %s', comm_id, exc_info=True) + + */ + async comm_msg(msg: any): Promise { + const { content } = msg; + const { comm_id } = content; + const comm = this.get_comm(comm_id); + if (!comm) { + return; + } + + try { + await comm.handle_msg(msg); + } catch (err) { + console.error('Exception in comm_msg for', comm_id); + console.trace(); + } + } + /* + def comm_close(self, stream, ident, msg): + """Handler for comm_close messages""" + content = msg['content'] + comm_id = content['comm_id'] + comm = self.get_comm(comm_id) + if comm is None: + return + + self.comms[comm_id]._closed = True + del self.comms[comm_id] + + try: + comm.handle_close(msg) + except Exception: + self.log.error('Exception in comm_close for %s', comm_id, exc_info=True) + + */ + async comm_close(msg: any): Promise { + const { content } = msg; + const { comm_id } = content; + const comm = this.get_comm(comm_id); + if (!comm) { + return; + } + comm._closed = true; + this._comms.delete(comm_id); + + try { + await comm.handle_close(msg); + } catch (err) { + console.error( + `Exception in comm_close for %s', comm_id, exc_info=True)`, + comm_id + ); + console.trace(); + } + } +} diff --git a/packages/kernel/src/kernel.ts b/packages/kernel/src/kernel.ts index 82dd7e4a5..eead21679 100644 --- a/packages/kernel/src/kernel.ts +++ b/packages/kernel/src/kernel.ts @@ -1,8 +1,9 @@ import { KernelMessage } from '@jupyterlab/services'; import { ISignal, Signal } from '@lumino/signaling'; +import { DefaultCommManager } from './comm_manager'; -import { IKernel } from './tokens'; +import { IKernel, ICommManager } from './tokens'; /** * A base kernel class handling basic kernel messaging. @@ -18,6 +19,8 @@ export abstract class BaseKernel implements IKernel { this._id = id; this._name = name; this._sendMessage = sendMessage; + this._comm_manager = + options.comm_manager || new DefaultCommManager({ kernel: this, sendMessage }); } /** @@ -55,6 +58,13 @@ export abstract class BaseKernel implements IKernel { return this._name; } + /** + * Get the comm manager + */ + get comm_manager(): ICommManager { + return this._comm_manager; + } + /** * The current execution count */ @@ -102,6 +112,15 @@ export abstract class BaseKernel implements IKernel { case 'history_request': await this._historyRequest(msg); break; + case 'comm_open': + await this._comm_manager.comm_open(msg); + break; + case 'comm_msg': + await this._comm_manager.comm_msg(msg); + break; + case 'comm_close': + await this._comm_manager.comm_close(msg); + break; default: break; } @@ -446,4 +465,5 @@ export abstract class BaseKernel implements IKernel { private _parentHeader: | KernelMessage.IHeader | undefined = undefined; + private _comm_manager: ICommManager; } diff --git a/packages/kernel/src/tokens.ts b/packages/kernel/src/tokens.ts index ebe889405..ce5b6828f 100644 --- a/packages/kernel/src/tokens.ts +++ b/packages/kernel/src/tokens.ts @@ -58,6 +58,11 @@ export interface IKernel extends IObservableDisposable { */ readonly ready: Promise; + /** + * A comm manager. + */ + readonly comm_manager: ICommManager; + /** * Handle an incoming message from the client. * @@ -158,6 +163,11 @@ export namespace IKernel { * The method to send messages back to the server. */ sendMessage: SendMessage; + + /* + * The comm manager. + */ + comm_manager?: ICommManager; } } @@ -189,3 +199,75 @@ export interface IKernelSpecs { */ register: (options: KernelSpecs.IKernelOptions) => void; } + +export interface ICommManager { + /** kernel = Instance('ipykernel.kernelbase.Kernel') */ + kernel: IKernel; + /** comms = Dict() */ + comms: Map; + /** targets = Dict() */ + targets: Map; + /** register_target(self, target_name, f): */ + register_target(target_name: string, f: ICommManager.ITarget): void; + /** unregister_target(self, target_name, f): */ + unregister_target( + target_name: string, + f: ICommManager.ITarget + ): ICommManager.ITarget | null; + /** register_comm(self, comm): */ + register_comm(comm: ICommManager.IComm): string; + /** unregister_comm(self, comm): */ + unregister_comm(comm: ICommManager.IComm): void; + /** get_comm(self, comm_id): */ + get_comm(comm_id: string): ICommManager.IComm; + /** comm_open(self, stream, ident, msg): */ + comm_open(msg: any): Promise; + /** comm_msg(self, stream, ident, msg): */ + comm_msg(msg: any): Promise; + /** comm_close(self, stream, ident, msg): */ + comm_close(msg: any): Promise; +} + +export namespace ICommManager { + export interface IOptions { + /** kernel = Instance('ipykernel.kernelbase.Kernel') */ + kernel: IKernel; + sendMessage: IKernel.SendMessage; + } + + export interface IComm { + comm_id: string; + /** kernel = Instance('ipykernel.kernelbase.Kernel') */ + kernel: IKernel; + primary: boolean; + /** open(self, data=None, metadata=None, buffers=None): */ + open(data?: any, metdata?: any, buffers?: any): Promise; + /** close(self, data=None, metadata=None, buffers=None, deleting=False): */ + close(data?: any, metadata?: any, buffers?: any, deleting?: boolean): Promise; + /** send(self, data=None, metadata=None, buffers=None): */ + send(data?: any, metadata?: any, buffers?: any): Promise; + on_close(callback: (msg: any) => Promise): void; + on_msg(callback: (msg: any) => Promise): void; + handle_close(msg: any): Promise; + handle_msg(msg: any): Promise; + _closed: boolean; + } + + export interface ICommOptions { + sendMessage: IKernel.SendMessage; + kernel: IKernel; + comm_id: string; + primary: boolean; + target_name: string; + topic?: string; + data?: any; + metadata?: any; + buffers?: any; + } + + export interface ITarget { + (comm: IComm, msg: any): Promise; + } + + export class APINotImplemented extends Error {} +} From f355919058b2e31ee2fbbf771f633336fc71407e Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Tue, 8 Jun 2021 19:51:07 -0400 Subject: [PATCH 02/21] some almost-widget-like things --- packages/javascript-kernel/src/kernel.ts | 1 + packages/kernel/src/comm.ts | 13 +- packages/kernel/src/comm_manager.ts | 25 +++ packages/kernel/src/kernel.ts | 11 +- packages/kernel/src/proto_widgets.ts | 220 +++++++++++++++++++++++ 5 files changed, 264 insertions(+), 6 deletions(-) create mode 100644 packages/kernel/src/proto_widgets.ts diff --git a/packages/javascript-kernel/src/kernel.ts b/packages/javascript-kernel/src/kernel.ts index c69ca07fb..00a8ecadf 100644 --- a/packages/javascript-kernel/src/kernel.ts +++ b/packages/javascript-kernel/src/kernel.ts @@ -236,6 +236,7 @@ export class JavaScriptKernel extends BaseKernel implements IKernel { } ` ); + (this._iframe.contentWindow as any)['kernel'] = this; } private _iframe: HTMLIFrameElement; diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts index 0339ab5de..bc4b75894 100644 --- a/packages/kernel/src/comm.ts +++ b/packages/kernel/src/comm.ts @@ -105,7 +105,7 @@ export class Comm implements ICommManager.IComm { if (this._close_callback) { return await this._close_callback(msg); } - console.warn('handle_close NOT IMPLEMENTED', msg); + console.warn('handle_close without callback NOT IMPLEMENTED', msg); } // _open_data = Dict(help="data dict, if any, to be included in comm_open") @@ -149,7 +149,7 @@ export class Comm implements ICommManager.IComm { const message = KernelMessage.createMessage>({ channel: 'iopub', msgType: 'comm_open', - session: 'session-uuid', + session: this.session, metadata, buffers, content: { @@ -231,7 +231,7 @@ export class Comm implements ICommManager.IComm { const message = KernelMessage.createMessage>({ msgType: 'comm_close', channel: 'iopub', - session: 'session-u-u-i-d', + session: this.session, metadata, buffers, content: { @@ -281,11 +281,16 @@ export class Comm implements ICommManager.IComm { data=data, metadata=metadata, buffers=buffers, ) */ + + get session() { + return (this.kernel as any).parentHeader.session; + } + async send(data?: any, metadata?: any, buffers?: any): Promise { const message = KernelMessage.createMessage>({ channel: 'iopub', msgType: 'comm_msg', - session: 'session-uuid', + session: this.session, metadata, buffers, content: { diff --git a/packages/kernel/src/comm_manager.ts b/packages/kernel/src/comm_manager.ts index a82eaf6b1..3c27f301f 100644 --- a/packages/kernel/src/comm_manager.ts +++ b/packages/kernel/src/comm_manager.ts @@ -1,5 +1,6 @@ import { IKernel, ICommManager } from './tokens'; import { Comm } from './comm'; +import { UUID } from '@lumino/coreutils'; /** * A Default CommManager @@ -158,6 +159,7 @@ export class DefaultCommManager implements ICommManager { clean-up. The comm may not have been opened yet.""", exc_info=True) */ async comm_open(msg: any): Promise { + console.warn('comm_open', msg); const { content } = msg; const { comm_id, target_name } = content; const f = this._targets.get(target_name); @@ -188,6 +190,22 @@ export class DefaultCommManager implements ICommManager { } } + /** + * Convenience method for exposing the `Comm` class to the interactive shell + */ + make_comm(options: Partial): ICommManager.IComm { + const comm = new Comm({ + kernel: this.kernel, + sendMessage: this._sendMessage, + comm_id: UUID.uuid4(), + primary: true, + target_name: 'unknown', + ...options + }); + this.register_comm(comm); + return comm; + } + /* def comm_msg(self, stream, ident, msg): """Handler for comm_msg messages""" @@ -257,3 +275,10 @@ export class DefaultCommManager implements ICommManager { } } } + +export function createDefaultCommManager(opts: { + kernel: IKernel; + sendMessage: IKernel.SendMessage; +}) { + return new DefaultCommManager(opts); +} diff --git a/packages/kernel/src/kernel.ts b/packages/kernel/src/kernel.ts index eead21679..e6d3cdd76 100644 --- a/packages/kernel/src/kernel.ts +++ b/packages/kernel/src/kernel.ts @@ -1,7 +1,7 @@ import { KernelMessage } from '@jupyterlab/services'; import { ISignal, Signal } from '@lumino/signaling'; -import { DefaultCommManager } from './comm_manager'; +import { createDefaultCommManager } from './comm_manager'; import { IKernel, ICommManager } from './tokens'; @@ -20,7 +20,14 @@ export abstract class BaseKernel implements IKernel { this._name = name; this._sendMessage = sendMessage; this._comm_manager = - options.comm_manager || new DefaultCommManager({ kernel: this, sendMessage }); + options.comm_manager || createDefaultCommManager({ kernel: this, sendMessage }); + this._attemptWidgets().catch(console.error); + } + + private async _attemptWidgets() { + const widgets = await import('./proto_widgets'); + (this as any).widgets = widgets; + widgets._Widget._kernel = this; } /** diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts new file mode 100644 index 000000000..a3e667b17 --- /dev/null +++ b/packages/kernel/src/proto_widgets.ts @@ -0,0 +1,220 @@ +import { DefaultCommManager } from './comm_manager'; +import { ICommManager, IKernel } from './tokens'; + +/** + * An ur-prototype of JupyterLite (T?)JS(?) kernel widgets + */ +export class _HasTraits = Record> { + _trait_names: (keyof T)[]; + // TODO: make generic + _trait_values: T = {} as T; + _next_change_promise: null | Promise = null; + // TODO: these would be Partial + _next_resolve: null | ((args: any) => any) = null; + _next_reject: null | ((args: any) => any) = null; + + constructor(options: Partial) { + this._trait_names = [...Object.keys(options || {})] as any; + this._trait_values = { ...this._trait_values, ...options }; + this._init_next(); + } + _init_next() { + this._next_change_promise = new Promise((resolve, reject) => { + this._next_resolve = resolve; + this._next_reject = reject; + }); + } + + async observe(fn: _HasTraits.IChangeCallback, names?: string[]) { + while (true) { + const change = await this._next_change_promise; + fn(change); + } + } + + _emit_change(change: _HasTraits.IChange) { + this._next_resolve && this._next_resolve(change); + this._init_next(); + } +} + +export namespace _HasTraits { + export interface IChange { + name: keyof T; + old: T[keyof T]; + new: T[keyof T]; + } + export interface IChangeCallback { + (change: IChange): Promise; + } + /** + * Set up get/set proxies + * + * TODO: probably a decorator? + */ + export function _traitMeta(_Klass: new (options: T) => _HasTraits) { + return (options: T) => { + const __ = new _Klass(options); + return new Proxy<_HasTraits>(__, { + get: function(target: any, prop: string | symbol, receiver: any) { + if (__._trait_names.indexOf(prop as keyof T) !== -1) { + return (__._trait_values as T)[prop as keyof T]; + } + return Reflect.get(target, prop, receiver); + }, + set: function(obj: any, prop: string | symbol, value: any) { + if (__._trait_names.indexOf(prop as keyof T) !== -1) { + const old = __._trait_values[prop as keyof T]; + const new_ = (__._trait_values[prop as keyof T] = value); + __._emit_change({ name: prop as keyof T, old, new: new_ }); + return new_; + } + return Reflect.set(obj, prop, value); + } + }); + }; + } +} + +export class _Widget extends _HasTraits { + static _kernel: IKernel | null = null; + private _comm: ICommManager.IComm | null = null; + + constructor(options: T) { + super(options); + this.open(); + } + + open() { + const kernel = _Widget._kernel as IKernel; + if (kernel) { + this._comm = (kernel.comm_manager as DefaultCommManager).make_comm({ + target_name: _Widget.WIDGET_TARGET, + data: { + state: this._trait_values + } + }); + this.observe(async () => { + this._comm && + this._comm.send({ + data: { + state: this._trait_values + } + }); + }); + } + } + + defaults() { + return { + _model_module: '@jupyter-widgets/base', + _model_module_version: '1.2.0', + _model_name: 'WidgetModel', + _view_count: null, + _view_module: '@jupyter-widgets/base', + _view_module_version: '1.2.0', + _view_name: 'WidgetView' + }; + } + + static async handle_comm_opened(comm: ICommManager.IComm, msg: any): Promise { + console.log('TODO: a comm was opened?', comm, msg); + } +} + +export namespace _Widget { + export const WIDGET_TARGET = 'jupyter.widget'; +} + +export const Widget = _HasTraits._traitMeta(_Widget); + +class WidgetRegistry { + _commManager: ICommManager; + + static getInstance() { + return Private.widgetRegistry + ? Private.widgetRegistry + : (Private.widgetRegistry = new WidgetRegistry()); + } + + static getKernel(): IKernel { + return (window as any).kernel; + } + + constructor() { + this._commManager = WidgetRegistry.getKernel().comm_manager; + console.log(`managing ${_Widget.WIDGET_TARGET}`); + this._commManager.register_target( + _Widget.WIDGET_TARGET, + _Widget.handle_comm_opened + ); + } +} + +namespace Private { + export let widgetRegistry: WidgetRegistry; +} + +// self.WidgetRegistry = WidgetRegistry; + +// class _FloatSlider extends _Widget { +// constructor(options) { +// options = { ..._FloatSlider.defaults(), ...options }; +// super(options); +// } +// } +// _FloatSlider.defaults = () => { +// return { +// _model_module: '@jupyter-widgets/base', +// _model_module_version: '1.2.0', +// _model_name: 'LayoutModel', +// _view_count: null, +// _view_module: '@jupyter-widgets/base', +// _view_module_version: '1.2.0', +// _view_name: 'LayoutView', +// align_content: null, +// align_items: null, +// align_self: null, +// border: null, +// bottom: null, +// display: null, +// flex: null, +// flex_flow: null, +// grid_area: null, +// grid_auto_columns: null, +// grid_auto_flow: null, +// grid_auto_rows: null, +// grid_column: null, +// grid_gap: null, +// grid_row: null, +// grid_template_areas: null, +// grid_template_columns: null, +// grid_template_rows: null, +// height: null, +// justify_content: null, +// justify_items: null, +// left: null, +// margin: null, +// max_height: null, +// max_width: null, +// min_height: null, +// min_width: null, +// object_fit: null, +// object_position: null, +// order: null, +// overflow: null, +// overflow_x: null, +// overflow_y: null, +// padding: null, +// right: null, +// top: null, +// visibility: null, +// width: null +// }; +// }; + +// // self._FloatSlider = _FloatSlider; +// // self.FloatSlider = _traitMeta(_FloatSlider); + +// // x = FloatSlider({value: 10}); +// // x.value From c648d4e2605d079b4efec23d6d830da9cc0dc63c Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 09:22:36 -0400 Subject: [PATCH 03/21] something closer to widgets --- packages/kernel/src/comm.ts | 4 +-- packages/kernel/src/proto_widgets.ts | 47 ++++++++++++++++++++++++---- 2 files changed, 43 insertions(+), 8 deletions(-) diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts index bc4b75894..c380b114b 100644 --- a/packages/kernel/src/comm.ts +++ b/packages/kernel/src/comm.ts @@ -36,7 +36,7 @@ export class Comm implements ICommManager.IComm { */ if (this._kernel) { if (this._primary) { - void this.open(); + void this.open(options); } } } @@ -153,7 +153,7 @@ export class Comm implements ICommManager.IComm { metadata, buffers, content: { - data, + data: {...data.data}, comm_id: this._comm_id, target_name: this._target_name, target_module: this._target_module || void 0 diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index a3e667b17..8c277fcf8 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -1,5 +1,6 @@ import { DefaultCommManager } from './comm_manager'; import { ICommManager, IKernel } from './tokens'; +import { KernelMessage } from '@jupyterlab/services'; /** * An ur-prototype of JupyterLite (T?)JS(?) kernel widgets @@ -85,6 +86,25 @@ export class _Widget extends _HasTraits { this.open(); } + display() { + if (!_Widget._kernel) { + return; + } + + const content: KernelMessage.IDisplayDataMsg['content'] = { + data: { + 'text/plain': `${JSON.stringify(this._trait_values, null, 2)}`, + 'application/vnd.jupyter.widget-view+json': { + version_major: 2, + version_minor: 0, + model_id: `${this._comm?.comm_id}` + } + }, + metadata: {} + }; + (_Widget._kernel as any).displayData(content); + } + open() { const kernel = _Widget._kernel as IKernel; if (kernel) { @@ -95,6 +115,7 @@ export class _Widget extends _HasTraits { } }); this.observe(async () => { + console.log('a change!'); this._comm && this._comm.send({ data: { @@ -107,13 +128,27 @@ export class _Widget extends _HasTraits { defaults() { return { - _model_module: '@jupyter-widgets/base', - _model_module_version: '1.2.0', - _model_name: 'WidgetModel', + _dom_classes: [], + _model_module: '@jupyter-widgets/controls', + _model_module_version: '1.5.0', + _model_name: 'FloatSliderModel', _view_count: null, - _view_module: '@jupyter-widgets/base', - _view_module_version: '1.2.0', - _view_name: 'WidgetView' + _view_module: '@jupyter-widgets/controls', + _view_module_version: '1.5.0', + _view_name: 'FloatSliderView', + continuous_update: true, + description: '', + description_tooltip: null, + disabled: false, + layout: null, + max: 100.0, + min: 0.0, + orientation: 'horizontal', + readout: true, + readout_format: '.2f', + step: 0.1, + style: null, + value: 42.0 }; } From 80627df5f50d50b13b4ee13a705f9b1c5cf1d8f6 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 09:27:22 -0400 Subject: [PATCH 04/21] add outputarea --- app/lab/package.json | 1 + 1 file changed, 1 insertion(+) diff --git a/app/lab/package.json b/app/lab/package.json index 43a117578..edb74d74d 100644 --- a/app/lab/package.json +++ b/app/lab/package.json @@ -54,6 +54,7 @@ "@jupyterlab/mathjax2-extension": "^3.1.0-alpha.11", "@jupyterlab/notebook": "^3.1.0-alpha.11", "@jupyterlab/notebook-extension": "^3.1.0-alpha.11", + "@jupyterlab/outputarea": "^3.1.0-alpha.11", "@jupyterlab/rendermime": "^3.1.0-alpha.11", "@jupyterlab/rendermime-extension": "^3.1.0-alpha.11", "@jupyterlab/rendermime-interfaces": "^3.1.0-alpha.11", From 64eeee6f96363c60e234b2b9ac8a4bc1d686e0c7 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 10:38:56 -0400 Subject: [PATCH 05/21] try some more metadata --- packages/kernel/src/comm.ts | 2 +- packages/kernel/src/proto_widgets.ts | 36 ++++++++++++++++++++-------- 2 files changed, 27 insertions(+), 11 deletions(-) diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts index c380b114b..68845073a 100644 --- a/packages/kernel/src/comm.ts +++ b/packages/kernel/src/comm.ts @@ -150,7 +150,7 @@ export class Comm implements ICommManager.IComm { channel: 'iopub', msgType: 'comm_open', session: this.session, - metadata, + metadata: {...data.metadata, metadata}, buffers, content: { data: {...data.data}, diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index 8c277fcf8..2137729f5 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -95,6 +95,7 @@ export class _Widget extends _HasTraits { data: { 'text/plain': `${JSON.stringify(this._trait_values, null, 2)}`, 'application/vnd.jupyter.widget-view+json': { + version: "2.0", version_major: 2, version_minor: 0, model_id: `${this._comm?.comm_id}` @@ -105,23 +106,38 @@ export class _Widget extends _HasTraits { (_Widget._kernel as any).displayData(content); } + + open() { const kernel = _Widget._kernel as IKernel; - if (kernel) { - this._comm = (kernel.comm_manager as DefaultCommManager).make_comm({ - target_name: _Widget.WIDGET_TARGET, + + const makeData = () => { + return { data: { state: this._trait_values + }, + metadata: { + version: "2.0", + version_major: 2, + version_minor: 0, + model_id: `${this._comm?.comm_id}` } + }; + }; + + if (kernel) { + this._comm = (kernel.comm_manager as DefaultCommManager).make_comm({ + target_name: _Widget.WIDGET_TARGET, + ...makeData() }); this.observe(async () => { - console.log('a change!'); - this._comm && - this._comm.send({ - data: { - state: this._trait_values - } - }); + this._comm && this._comm.send(makeData()); + }); + this._comm.on_msg(async (msg) => { + console.log(this._comm?.comm_id, 'got a message', msg); + }); + this._comm.on_close(async (msg) => { + console.log(this._comm?.comm_id, 'should close', msg); }); } } From 628292756b2e700797fc8825620c79f9b439a45b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 10:46:21 -0400 Subject: [PATCH 06/21] more work --- packages/kernel/src/comm.ts | 4 ++-- packages/kernel/src/proto_widgets.ts | 14 ++++++-------- 2 files changed, 8 insertions(+), 10 deletions(-) diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts index 68845073a..01b9d98fc 100644 --- a/packages/kernel/src/comm.ts +++ b/packages/kernel/src/comm.ts @@ -150,10 +150,10 @@ export class Comm implements ICommManager.IComm { channel: 'iopub', msgType: 'comm_open', session: this.session, - metadata: {...data.metadata, metadata}, + metadata: { ...data.metadata, metadata }, buffers, content: { - data: {...data.data}, + data: { ...data.data }, comm_id: this._comm_id, target_name: this._target_name, target_module: this._target_module || void 0 diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index 2137729f5..ff664d40e 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -82,7 +82,7 @@ export class _Widget extends _HasTraits { private _comm: ICommManager.IComm | null = null; constructor(options: T) { - super(options); + super({ ...options, ..._Widget.defaults() }); this.open(); } @@ -95,7 +95,7 @@ export class _Widget extends _HasTraits { data: { 'text/plain': `${JSON.stringify(this._trait_values, null, 2)}`, 'application/vnd.jupyter.widget-view+json': { - version: "2.0", + version: '2.0', version_major: 2, version_minor: 0, model_id: `${this._comm?.comm_id}` @@ -106,8 +106,6 @@ export class _Widget extends _HasTraits { (_Widget._kernel as any).displayData(content); } - - open() { const kernel = _Widget._kernel as IKernel; @@ -117,7 +115,7 @@ export class _Widget extends _HasTraits { state: this._trait_values }, metadata: { - version: "2.0", + version: '2.0', version_major: 2, version_minor: 0, model_id: `${this._comm?.comm_id}` @@ -133,16 +131,16 @@ export class _Widget extends _HasTraits { this.observe(async () => { this._comm && this._comm.send(makeData()); }); - this._comm.on_msg(async (msg) => { + this._comm.on_msg(async msg => { console.log(this._comm?.comm_id, 'got a message', msg); }); - this._comm.on_close(async (msg) => { + this._comm.on_close(async msg => { console.log(this._comm?.comm_id, 'should close', msg); }); } } - defaults() { + static defaults() { return { _dom_classes: [], _model_module: '@jupyter-widgets/controls', From 3b6910e36c5c94a7910be15720d0b649033e0cea Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 11:33:38 -0400 Subject: [PATCH 07/21] handle data coming back --- packages/kernel/src/proto_widgets.ts | 200 ++++++++++++++++----------- 1 file changed, 120 insertions(+), 80 deletions(-) diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index ff664d40e..0e674abea 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -131,38 +131,35 @@ export class _Widget extends _HasTraits { this.observe(async () => { this._comm && this._comm.send(makeData()); }); - this._comm.on_msg(async msg => { - console.log(this._comm?.comm_id, 'got a message', msg); - }); + this._comm.on_msg(this.on_msg); this._comm.on_close(async msg => { console.log(this._comm?.comm_id, 'should close', msg); }); } } + async on_msg(msg: any) { + const { data } = msg.content; + switch (data.method) { + case 'update': + const { state } = data; + for (const [k, v] of Object.entries(state)) { + (this as any)[k as keyof T] = v; + } + break; + default: + console.warn('oh noes', data.method, msg); + break; + } + } + static defaults() { return { _dom_classes: [], _model_module: '@jupyter-widgets/controls', _model_module_version: '1.5.0', - _model_name: 'FloatSliderModel', _view_count: null, - _view_module: '@jupyter-widgets/controls', - _view_module_version: '1.5.0', - _view_name: 'FloatSliderView', - continuous_update: true, - description: '', - description_tooltip: null, - disabled: false, - layout: null, - max: 100.0, - min: 0.0, - orientation: 'horizontal', - readout: true, - readout_format: '.2f', - step: 0.1, - style: null, - value: 42.0 + _view_module_version: '1.5.0' }; } @@ -204,66 +201,109 @@ namespace Private { export let widgetRegistry: WidgetRegistry; } -// self.WidgetRegistry = WidgetRegistry; +const FLOAT_SLIDER_DEFAULTS: IFloatSlider = { + _dom_classes: [], + _model_module: '@jupyter-widgets/controls', + _model_module_version: '1.5.0', + _model_name: 'FloatSliderModel', + _view_count: null, + _view_module: '@jupyter-widgets/controls', + _view_module_version: '1.5.0', + _view_name: 'FloatSliderView', + continuous_update: true, + description: '', + description_tooltip: null, + disabled: false, + layout: null, + max: 100.0, + min: 0.0, + orientation: 'horizontal', + readout: true, + readout_format: '.2f', + step: 0.1, + style: null, + value: 0.0, + tabbable: true, + tooltip: '', + keys: ['value'] +}; + +export class _FloatSlider extends _Widget { + constructor(options: IFloatSlider) { + options = { ...FLOAT_SLIDER_DEFAULTS, ...options }; + super(options); + } +} + +export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); -// class _FloatSlider extends _Widget { -// constructor(options) { -// options = { ..._FloatSlider.defaults(), ...options }; -// super(options); -// } -// } -// _FloatSlider.defaults = () => { -// return { -// _model_module: '@jupyter-widgets/base', -// _model_module_version: '1.2.0', -// _model_name: 'LayoutModel', -// _view_count: null, -// _view_module: '@jupyter-widgets/base', -// _view_module_version: '1.2.0', -// _view_name: 'LayoutView', -// align_content: null, -// align_items: null, -// align_self: null, -// border: null, -// bottom: null, -// display: null, -// flex: null, -// flex_flow: null, -// grid_area: null, -// grid_auto_columns: null, -// grid_auto_flow: null, -// grid_auto_rows: null, -// grid_column: null, -// grid_gap: null, -// grid_row: null, -// grid_template_areas: null, -// grid_template_columns: null, -// grid_template_rows: null, -// height: null, -// justify_content: null, -// justify_items: null, -// left: null, -// margin: null, -// max_height: null, -// max_width: null, -// min_height: null, -// min_width: null, -// object_fit: null, -// object_position: null, -// order: null, -// overflow: null, -// overflow_x: null, -// overflow_y: null, -// padding: null, -// right: null, -// top: null, -// visibility: null, -// width: null -// }; -// }; +export interface IWidget { + // _model_name = Unicode('WidgetModel', + // help="Name of the model.", read_only=True).tag(sync=True) + _model_name: string; + // _model_module = Unicode('@jupyter-widgets/base', + // help="The namespace for the model.", read_only=True).tag(sync=True) + _model_module: string; + // _model_module_version = Unicode(__jupyter_widgets_base_version__, + // help="A semver requirement for namespace version containing the model.", read_only=True).tag(sync=True) + _model_module_version: string; + // _view_name = Unicode(None, allow_none=True, + // help="Name of the view.").tag(sync=True) + _view_name: string; + // _view_module = Unicode(None, allow_none=True, + // help="The namespace for the view.").tag(sync=True) + _view_module: string; + // _view_module_version = Unicode('', + // help="A semver requirement for the namespace version containing the view.").tag(sync=True) + _view_module_version: string; + // _view_count = Int(None, allow_none=True, + // help="EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion.").tag(sync=True) + _view_count: number | null; + // comm = Instance('ipykernel.comm.Comm', allow_none=True) + // keys = List(help="The traits which are synced.") + keys: string[]; +} -// // self._FloatSlider = _FloatSlider; -// // self.FloatSlider = _traitMeta(_FloatSlider); +export interface IDOMWidget extends IWidget { + // _dom_classes = TypedTuple(trait=Unicode(), help="CSS classes applied to widget DOM element").tag(sync=True) + _dom_classes: string[]; + // tabbable = Bool(help="Is widget tabbable?", allow_none=True, default_value=None).tag(sync=True) + tabbable: boolean; + // tooltip = Unicode(None, allow_none=True, help="A tooltip caption.").tag(sync=True) + tooltip: string; + // layout = InstanceDict(Layout).tag(sync=True, **widget_serialization) + layout: any; +} -// // x = FloatSlider({value: 10}); -// // x.value +export interface IDescriptionWidget extends IWidget { + description: string; + description_tooltip: string | null; +} + +export interface IFloat extends IWidget { + value: number; +} + +export interface IBoundedFloat extends IFloat { + min: number; + max: number; +} + +export interface IFloatSlider extends IDOMWidget, IDescriptionWidget, IBoundedFloat { + // step = CFloat(0.1, allow_none=True, help="Minimum step to increment the value").tag(sync=True) + step: number | null; + // orientation = CaselessStrEnum(values=['horizontal', 'vertical'], + // default_value='horizontal', help="Vertical or horizontal.").tag(sync=True) + orientation: 'horizontal' | 'vertical'; + // readout = Bool(True, help="Display the current value of the slider next to it.").tag(sync=True) + readout: boolean; + // readout_format = NumberFormat( + // '.2f', help="Format for the readout").tag(sync=True) + readout_format: string; + // continuous_update = Bool(True, help="Update the value of the widget as the user is holding the slider.").tag(sync=True) + continuous_update: boolean; + // disabled = Bool(False, help="Enable or disable user changes").tag(sync=True) + disabled: boolean; + // style = InstanceDict(SliderStyle).tag(sync=True, **widget_serialization) + style: any; +} From 8fb4770a056a8673fbe0ce9f10102fcde46e8c07 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 11:41:32 -0400 Subject: [PATCH 08/21] manually trigger changes --- packages/kernel/src/proto_widgets.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index 0e674abea..6afc4e9bb 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -142,9 +142,11 @@ export class _Widget extends _HasTraits { const { data } = msg.content; switch (data.method) { case 'update': - const { state } = data; + const state: T = data.state; for (const [k, v] of Object.entries(state)) { - (this as any)[k as keyof T] = v; + const old = this._trait_values[k as keyof T]; + (this._trait_values as any)[k] = v as any; + this._emit_change({ name: k as keyof T, old, new: v }); } break; default: From b101e0a357c2864ece44c15fddfd08cb85bc25dd Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 12:15:40 -0400 Subject: [PATCH 09/21] more work on reporting --- packages/kernel/src/proto_widgets.ts | 79 ++++++++++++++++++++-------- 1 file changed, 56 insertions(+), 23 deletions(-) diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index 6afc4e9bb..a72bc4e79 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -13,6 +13,7 @@ export class _HasTraits = Record> { // TODO: these would be Partial _next_resolve: null | ((args: any) => any) = null; _next_reject: null | ((args: any) => any) = null; + _observers = new Set<_HasTraits.IChangeCallback>(); constructor(options: Partial) { this._trait_names = [...Object.keys(options || {})] as any; @@ -26,10 +27,19 @@ export class _HasTraits = Record> { }); } + /** add an observer. doesn't work with names yet. */ async observe(fn: _HasTraits.IChangeCallback, names?: string[]) { - while (true) { + this._observers.add(fn); + while (this._observers.has(fn)) { const change = await this._next_change_promise; - fn(change); + await fn(change); + } + } + + /** remove an observer. doesn't work with names yet. */ + async unobserve(fn: _HasTraits.IChangeCallback, names?: string[]) { + if (this._observers.has(fn)) { + this._observers.delete(fn); } } @@ -109,28 +119,12 @@ export class _Widget extends _HasTraits { open() { const kernel = _Widget._kernel as IKernel; - const makeData = () => { - return { - data: { - state: this._trait_values - }, - metadata: { - version: '2.0', - version_major: 2, - version_minor: 0, - model_id: `${this._comm?.comm_id}` - } - }; - }; - if (kernel) { this._comm = (kernel.comm_manager as DefaultCommManager).make_comm({ target_name: _Widget.WIDGET_TARGET, - ...makeData() - }); - this.observe(async () => { - this._comm && this._comm.send(makeData()); + ...this.makeData() }); + this.observe(this._sync); this._comm.on_msg(this.on_msg); this._comm.on_close(async msg => { console.log(this._comm?.comm_id, 'should close', msg); @@ -138,22 +132,61 @@ export class _Widget extends _HasTraits { } } - async on_msg(msg: any) { + makeData() { + return { + data: { + state: this._trait_values + }, + metadata: { + version: '2.0', + version_major: 2, + version_minor: 0, + model_id: `${this._comm?.comm_id}` + } + }; + } + + /** + * sync data back to the client + */ + protected _sync = async (): Promise => { + if (!this._comm) { + console.warn('cannot send without comm', this); + return; + } + const data = this.makeData(); + this._comm.send({ + ...data, + data: { + ...data, + method: 'update' + } + }); + }; + + protected on_msg = async (msg: any) => { const { data } = msg.content; switch (data.method) { case 'update': const state: T = data.state; + const changes = []; for (const [k, v] of Object.entries(state)) { const old = this._trait_values[k as keyof T]; + if (old === v) { + continue; + } (this._trait_values as any)[k] = v as any; - this._emit_change({ name: k as keyof T, old, new: v }); + changes.push({ name: k as keyof T, old, new: v }); + } + for (const change of changes) { + this._emit_change(change); } break; default: console.warn('oh noes', data.method, msg); break; } - } + }; static defaults() { return { From 6c215fb0bffc26de0ab618e11ae31296db4e306e Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 12:37:20 -0400 Subject: [PATCH 10/21] add floatslider example --- examples/js - widgets.ipynb | 1 + packages/kernel/src/proto_widgets.ts | 24 ++++++++++-------------- 2 files changed, 11 insertions(+), 14 deletions(-) create mode 100644 examples/js - widgets.ipynb diff --git a/examples/js - widgets.ipynb b/examples/js - widgets.ipynb new file mode 100644 index 000000000..0d04b22b4 --- /dev/null +++ b/examples/js - widgets.ipynb @@ -0,0 +1 @@ +{"metadata":{"language_info":{"codemirror_mode":{"name":"javascript"},"file_extension":".js","mimetype":"text/javascript","name":"javascript","nbconvert_exporter":"javascript","pygments_lexer":"javascript","version":"es2017"},"kernelspec":{"name":"javascript","display_name":"JavaScript","language":"javascript"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Can we get to two linked `FloatSliders`?","metadata":{}},{"cell_type":"code","source":"let {FloatSlider} = kernel.widgets\nlet [x, y] = [\"x\", \"y\"].map((x) => FloatSlider({description: x, min: -3.0, max: 3.0 }))\nself.x = x\nself.y = y\nx.display()\nx.observe(async (change) => y.value = Math.sin(change.new))\ny.display()","metadata":{"trusted":true},"execution_count":8,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"x\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"8e15830e-78ea-44a7-9be6-abf18f21923d"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"y\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"b679fde0-fb6b-4838-bc1c-0c47b58d79e2"}},"metadata":{}},{"execution_count":8,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"markdown","source":"The values _should_ change when set manually.","metadata":{}},{"cell_type":"code","source":"x.value = -3","metadata":{"trusted":true},"execution_count":9,"outputs":[{"execution_count":9,"output_type":"execute_result","data":{"text/plain":-3},"metadata":{}}]},{"cell_type":"markdown","source":"A second copy _should_ work...","metadata":{}},{"cell_type":"code","source":"x.display()","metadata":{"trusted":true},"execution_count":10,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"x\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": -3,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"8e15830e-78ea-44a7-9be6-abf18f21923d"}},"metadata":{}},{"execution_count":10,"output_type":"execute_result","data":{},"metadata":{}}]}]} \ No newline at end of file diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index a72bc4e79..a8c1237c8 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -122,7 +122,7 @@ export class _Widget extends _HasTraits { if (kernel) { this._comm = (kernel.comm_manager as DefaultCommManager).make_comm({ target_name: _Widget.WIDGET_TARGET, - ...this.makeData() + ...this.makeMessage() }); this.observe(this._sync); this._comm.on_msg(this.on_msg); @@ -132,11 +132,13 @@ export class _Widget extends _HasTraits { } } - makeData() { + makeMessage(keys: string[] = []) { + const state: T = {} as T; + for (const k of keys || Object.keys(this._trait_values)) { + state[k as keyof T] = this._trait_values[k as keyof T]; + } return { - data: { - state: this._trait_values - }, + data: { state }, metadata: { version: '2.0', version_major: 2, @@ -149,19 +151,13 @@ export class _Widget extends _HasTraits { /** * sync data back to the client */ - protected _sync = async (): Promise => { + protected _sync = async (change: _HasTraits.IChange): Promise => { if (!this._comm) { console.warn('cannot send without comm', this); return; } - const data = this.makeData(); - this._comm.send({ - ...data, - data: { - ...data, - method: 'update' - } - }); + const msg = this.makeMessage([change.name as string]); + this._comm.send({ ...msg.data, method: 'update' }, msg.metadata); }; protected on_msg = async (msg: any) => { From 86511665a4325592b45a7b5580bf2ba5f768a953 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 13:39:56 -0400 Subject: [PATCH 11/21] linting --- packages/kernel/src/comm.ts | 50 ++++--- packages/kernel/src/comm_manager.ts | 30 ++-- packages/kernel/src/proto_widgets.ts | 209 +++++++++++++++++++-------- 3 files changed, 198 insertions(+), 91 deletions(-) diff --git a/packages/kernel/src/comm.ts b/packages/kernel/src/comm.ts index 01b9d98fc..0658e5e48 100644 --- a/packages/kernel/src/comm.ts +++ b/packages/kernel/src/comm.ts @@ -43,7 +43,7 @@ export class Comm implements ICommManager.IComm { /** kernel = Instance('ipykernel.kernelbase.Kernel', allow_none=True) */ private _kernel: IKernel; - get kernel() { + get kernel(): IKernel { return this._kernel; } set kernel(kernel: IKernel) { @@ -52,26 +52,26 @@ export class Comm implements ICommManager.IComm { /** comm_id = Unicode() */ private _comm_id: string; - get comm_id() { + get comm_id(): string { return this._comm_id; } /** primary = Bool(True, help="Am I the primary or secondary Comm?") */ private _primary = true; - get primary() { + get primary(): boolean { return this._primary; } - /** */ + /** target name e.g. jupyter.widgets */ private _target_name: string; - get target_name() { + get target_name(): string { return this._target_name; } // TODO: // target_module = Unicode(None, allow_none=True, help="""requirejs module from private _target_module: string | null = null; - get target_module() { + get target_module(): string | null { return this._target_module; } // which to load comm target.""") @@ -84,7 +84,7 @@ export class Comm implements ICommManager.IComm { return ('comm-%s' % self.comm_id).encode('ascii') */ private _topic: string; - get topic() { + get topic(): string { return this._topic; } @@ -100,8 +100,10 @@ export class Comm implements ICommManager.IComm { // _close_data = Dict(help="data dict, if any, to be included in comm_close") _close_data: Record = {}; // _close_callback = Any() - protected _close_callback: null | ((msg: any) => Promise) = null; - async handle_close(msg: any) { + protected _close_callback: + | null + | ((msg: KernelMessage.ICommCloseMsg) => Promise) = null; + async handle_close(msg: KernelMessage.ICommCloseMsg): Promise { if (this._close_callback) { return await this._close_callback(msg); } @@ -112,7 +114,7 @@ export class Comm implements ICommManager.IComm { _open_data: Record = {}; // _msg_callback = Any() - _msg_callback: null | ((msg: any) => Promise) = null; + _msg_callback: null | ((msg: KernelMessage.ICommMsgMsg) => Promise) = null; /* def open(self, data=None, metadata=None, buffers=None): @@ -138,7 +140,11 @@ export class Comm implements ICommManager.IComm { */ - async open(data?: any, metadata?: any, buffers?: any): Promise { + async open( + data?: Record, + metadata?: Record, + buffers?: (ArrayBuffer | ArrayBufferView)[] + ): Promise { if (!data) { data = this._open_data; } @@ -213,10 +219,10 @@ export class Comm implements ICommManager.IComm { self.kernel.comm_manager.unregister_comm(self) */ async close( - data?: any, - metadata?: any, - buffers?: any, - deleting: boolean = false + data?: Record, + metadata?: Record, + buffers?: (ArrayBuffer | ArrayBufferView)[], + deleting = false ): Promise { if (this._closed) { return; @@ -225,7 +231,7 @@ export class Comm implements ICommManager.IComm { if (!this._kernel) { return; } - if (data == null) { + if (!data) { data = this._close_data; } const message = KernelMessage.createMessage>({ @@ -282,11 +288,15 @@ export class Comm implements ICommManager.IComm { ) */ - get session() { + get session(): string { return (this.kernel as any).parentHeader.session; } - async send(data?: any, metadata?: any, buffers?: any): Promise { + async send( + data?: Record, + metadata?: Record, + buffers?: (ArrayBuffer | ArrayBufferView)[] + ): Promise { const message = KernelMessage.createMessage>({ channel: 'iopub', msgType: 'comm_msg', @@ -294,7 +304,7 @@ export class Comm implements ICommManager.IComm { metadata, buffers, content: { - data, + data: data || {}, comm_id: this._comm_id } }); @@ -313,7 +323,7 @@ export class Comm implements ICommManager.IComm { if shell: shell.events.trigger('post_execute') */ - async handle_msg(msg: any): Promise { + async handle_msg(msg: KernelMessage.ICommMsgMsg): Promise { if (this._msg_callback) { this._msg_callback(msg); } diff --git a/packages/kernel/src/comm_manager.ts b/packages/kernel/src/comm_manager.ts index 3c27f301f..cec851526 100644 --- a/packages/kernel/src/comm_manager.ts +++ b/packages/kernel/src/comm_manager.ts @@ -1,6 +1,13 @@ +/** + * WARNING! EXPERIMENTAL! VERY DANGEROUS! + * + * This is not a stable API, but there is `/exmaples/js - widgets.ipynb` which + * _should_ work. + */ import { IKernel, ICommManager } from './tokens'; import { Comm } from './comm'; import { UUID } from '@lumino/coreutils'; +import { KernelMessage } from '@jupyterlab/services'; /** * A Default CommManager @@ -26,15 +33,15 @@ export class DefaultCommManager implements ICommManager { this._sendMessage = options.sendMessage; } - get kernel() { + get kernel(): IKernel { return this._kernel; } - get targets() { + get targets(): Map { return this._targets; } - get comms() { + get comms(): Map { return this._comms; } @@ -53,7 +60,7 @@ export class DefaultCommManager implements ICommManager { f = import_item(f) */ - register_target(target_name: string, f: ICommManager.ITarget | string) { + register_target(target_name: string, f: ICommManager.ITarget | string): void { if (typeof f === 'string') { throw new ICommManager.APINotImplemented( 'creating a comm by import not supported' @@ -99,7 +106,7 @@ export class DefaultCommManager implements ICommManager { # unlike get_comm, this should raise a KeyError comm = self.comms.pop(comm.comm_id) */ - unregister_comm(comm: ICommManager.IComm) { + unregister_comm(comm: ICommManager.IComm): void { this._comms.delete(comm.comm_id); } /* @@ -123,7 +130,7 @@ export class DefaultCommManager implements ICommManager { const comm = this._comms.get(comm_id); if (!comm) { - throw new Error(`don't have that comm. TODO: better error sublcass`); + throw new Error("don't have that comm. TODO: better error sublcass"); } return comm; @@ -158,8 +165,7 @@ export class DefaultCommManager implements ICommManager { self.log.error("""Could not close comm during `comm_open` failure clean-up. The comm may not have been opened yet.""", exc_info=True) */ - async comm_open(msg: any): Promise { - console.warn('comm_open', msg); + async comm_open(msg: KernelMessage.ICommOpenMsg): Promise { const { content } = msg; const { comm_id, target_name } = content; const f = this._targets.get(target_name); @@ -221,7 +227,7 @@ export class DefaultCommManager implements ICommManager { self.log.error('Exception in comm_msg for %s', comm_id, exc_info=True) */ - async comm_msg(msg: any): Promise { + async comm_msg(msg: KernelMessage.ICommMsgMsg): Promise { const { content } = msg; const { comm_id } = content; const comm = this.get_comm(comm_id); @@ -254,7 +260,7 @@ export class DefaultCommManager implements ICommManager { self.log.error('Exception in comm_close for %s', comm_id, exc_info=True) */ - async comm_close(msg: any): Promise { + async comm_close(msg: KernelMessage.ICommCloseMsg): Promise { const { content } = msg; const { comm_id } = content; const comm = this.get_comm(comm_id); @@ -268,7 +274,7 @@ export class DefaultCommManager implements ICommManager { await comm.handle_close(msg); } catch (err) { console.error( - `Exception in comm_close for %s', comm_id, exc_info=True)`, + "Exception in comm_close for %s', comm_id, exc_info=True)", comm_id ); console.trace(); @@ -279,6 +285,6 @@ export class DefaultCommManager implements ICommManager { export function createDefaultCommManager(opts: { kernel: IKernel; sendMessage: IKernel.SendMessage; -}) { +}): ICommManager { return new DefaultCommManager(opts); } diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index a8c1237c8..b214aaf0a 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -1,18 +1,22 @@ +/** + * WARNING! EXPERIMENTAL! VERY DANGEROUS! + * + * This is not a stable API, but there is `/exmaples/js - widgets.ipynb` which + * _should_ work. + */ import { DefaultCommManager } from './comm_manager'; import { ICommManager, IKernel } from './tokens'; import { KernelMessage } from '@jupyterlab/services'; /** - * An ur-prototype of JupyterLite (T?)JS(?) kernel widgets + * A naive, ur-prototype of JupyterLite (T?)JS(?) trait-ful objects */ export class _HasTraits = Record> { _trait_names: (keyof T)[]; - // TODO: make generic _trait_values: T = {} as T; _next_change_promise: null | Promise = null; - // TODO: these would be Partial - _next_resolve: null | ((args: any) => any) = null; - _next_reject: null | ((args: any) => any) = null; + _next_resolve: null | ((args: _HasTraits.IChange) => void) = null; + _next_reject: null | ((args: _HasTraits.IChange) => void) = null; _observers = new Set<_HasTraits.IChangeCallback>(); constructor(options: Partial) { @@ -20,7 +24,9 @@ export class _HasTraits = Record> { this._trait_values = { ...this._trait_values, ...options }; this._init_next(); } - _init_next() { + + /** establish the promise callbacks for the next change */ + _init_next(): void { this._next_change_promise = new Promise((resolve, reject) => { this._next_resolve = resolve; this._next_reject = reject; @@ -28,7 +34,7 @@ export class _HasTraits = Record> { } /** add an observer. doesn't work with names yet. */ - async observe(fn: _HasTraits.IChangeCallback, names?: string[]) { + async observe(fn: _HasTraits.IChangeCallback, names?: string[]): Promise { this._observers.add(fn); while (this._observers.has(fn)) { const change = await this._next_change_promise; @@ -37,34 +43,49 @@ export class _HasTraits = Record> { } /** remove an observer. doesn't work with names yet. */ - async unobserve(fn: _HasTraits.IChangeCallback, names?: string[]) { + async unobserve(fn: _HasTraits.IChangeCallback, names?: string[]): Promise { if (this._observers.has(fn)) { this._observers.delete(fn); } } - _emit_change(change: _HasTraits.IChange) { - this._next_resolve && this._next_resolve(change); - this._init_next(); + /** actually create the change */ + _emit_change(change: _HasTraits.IChange): void { + try { + this._next_resolve && this._next_resolve(change); + } catch (err) { + this._next_reject && this._next_reject(change); + } finally { + this._init_next(); + } } } +/** + * A namespace for naive traitlets stuff + */ export namespace _HasTraits { + /** a change */ export interface IChange { name: keyof T; old: T[keyof T]; new: T[keyof T]; } + + /** a change handler */ export interface IChangeCallback { (change: IChange): Promise; } + /** * Set up get/set proxies * * TODO: probably a decorator? */ - export function _traitMeta(_Klass: new (options: T) => _HasTraits) { - return (options: T) => { + export function _traitMeta( + _Klass: new (options: T) => _HasTraits + ): (options: T) => _HasTraits { + return (options: T): _HasTraits => { const __ = new _Klass(options); return new Proxy<_HasTraits>(__, { get: function(target: any, prop: string | symbol, receiver: any) { @@ -87,6 +108,9 @@ export namespace _HasTraits { } } +/** + * A naive base widget class + */ export class _Widget extends _HasTraits { static _kernel: IKernel | null = null; private _comm: ICommManager.IComm | null = null; @@ -96,7 +120,14 @@ export class _Widget extends _HasTraits { this.open(); } - display() { + /** + * Force a display of the widget over raw headers. + * + * TODO: Improve, decide on JupyterLite conventions for display, e.g. + * - the pragmatic `_ipython_display_`, + * - the `_repr_*` family + */ + display(): void { if (!_Widget._kernel) { return; } @@ -105,9 +136,9 @@ export class _Widget extends _HasTraits { data: { 'text/plain': `${JSON.stringify(this._trait_values, null, 2)}`, 'application/vnd.jupyter.widget-view+json': { - version: '2.0', - version_major: 2, - version_minor: 0, + version: _Widget.WIDGET_VERSION, + version_major: _Widget.WIDGET_VERSION_MAJOR, + version_minor: _Widget.WIDGET_VERSION_MINOR, model_id: `${this._comm?.comm_id}` } }, @@ -116,7 +147,8 @@ export class _Widget extends _HasTraits { (_Widget._kernel as any).displayData(content); } - open() { + /** open a new comm */ + open(): void { const kernel = _Widget._kernel as IKernel; if (kernel) { @@ -124,21 +156,24 @@ export class _Widget extends _HasTraits { target_name: _Widget.WIDGET_TARGET, ...this.makeMessage() }); - this.observe(this._sync); + this.observe(this._sync).catch(console.error); this._comm.on_msg(this.on_msg); this._comm.on_close(async msg => { console.log(this._comm?.comm_id, 'should close', msg); }); + } else { + console.warn('no kernel to back comm'); } } - makeMessage(keys: string[] = []) { - const state: T = {} as T; - for (const k of keys || Object.keys(this._trait_values)) { - state[k as keyof T] = this._trait_values[k as keyof T]; - } + /** + * Some boilerplate for making (bad) messages + * + * TODO: fix hard coded things? extract from python? + */ + makeMessage(): Record { return { - data: { state }, + data: { state: this._trait_values }, metadata: { version: '2.0', version_major: 2, @@ -156,27 +191,19 @@ export class _Widget extends _HasTraits { console.warn('cannot send without comm', this); return; } - const msg = this.makeMessage([change.name as string]); + const msg = this.makeMessage(); this._comm.send({ ...msg.data, method: 'update' }, msg.metadata); }; - protected on_msg = async (msg: any) => { + /** a naive change batcher. + * + * TODO: investigate Debouncer/Throttler, or even ConflatableMessage patterns + */ + protected on_msg = async (msg: KernelMessage.ICommMsgMsg): Promise => { const { data } = msg.content; switch (data.method) { case 'update': - const state: T = data.state; - const changes = []; - for (const [k, v] of Object.entries(state)) { - const old = this._trait_values[k as keyof T]; - if (old === v) { - continue; - } - (this._trait_values as any)[k] = v as any; - changes.push({ name: k as keyof T, old, new: v }); - } - for (const change of changes) { - this._emit_change(change); - } + await this.handle_on_msg(msg); break; default: console.warn('oh noes', data.method, msg); @@ -184,31 +211,73 @@ export class _Widget extends _HasTraits { } }; - static defaults() { + protected async handle_on_msg(msg: KernelMessage.ICommMsgMsg): Promise { + const { data } = msg.content; + const state: T = (data.state as any) as T; + const changes = []; + for (const [k, v] of Object.entries(state)) { + const old = this._trait_values[k as keyof T]; + if (old === v) { + continue; + } + (this._trait_values as any)[k] = v as any; + changes.push({ name: k as keyof T, old, new: v }); + } + for (const change of changes) { + this._emit_change(change); + } + } + + /** the default traits + * + * TODO: this is probably wrong, + */ + static defaults(): any { return { _dom_classes: [], - _model_module: '@jupyter-widgets/controls', - _model_module_version: '1.5.0', + _model_module: _Widget.WIDGET_CONTROLS_PACKAGE, + _model_module_version: _Widget.WIDGET_CONTROLS_VERSION, _view_count: null, - _view_module_version: '1.5.0' + _view_module_version: _Widget.WIDGET_CONTROLS_VERSION }; } - static async handle_comm_opened(comm: ICommManager.IComm, msg: any): Promise { + /** + * Handle a request for a new comm from the client + * + * TODO: untested + */ + static async handle_comm_opened( + comm: ICommManager.IComm, + msg: KernelMessage.ICommOpenMsg + ): Promise { console.log('TODO: a comm was opened?', comm, msg); } } +/** a namespace for widget specs */ export namespace _Widget { + /** the widget comm target */ export const WIDGET_TARGET = 'jupyter.widget'; + export const WIDGET_VERSION_MAJOR = 2; + export const WIDGET_VERSION_MINOR = 0; + export const WIDGET_VERSION = `${WIDGET_VERSION_MAJOR}.${WIDGET_VERSION_MINOR}`; + export const WIDGET_CONTROLS_VERSION = '1.5.0'; + export const WIDGET_CONTROLS_PACKAGE = '@jupyter-widgets/controls'; } export const Widget = _HasTraits._traitMeta(_Widget); +/** + * A naive registry for all the widget types. + * + * Not so important... yet, but _does_ wire up target from the client, + * but this is not tested yet. + */ class WidgetRegistry { _commManager: ICommManager; - static getInstance() { + static getInstance(): WidgetRegistry { return Private.widgetRegistry ? Private.widgetRegistry : (Private.widgetRegistry = new WidgetRegistry()); @@ -228,18 +297,35 @@ class WidgetRegistry { } } -namespace Private { - export let widgetRegistry: WidgetRegistry; +/** a naive FloatSlider */ +export class _FloatSlider extends _Widget { + constructor(options: IFloatSlider) { + options = { ...FLOAT_SLIDER_DEFAULTS, ...options }; + super(options); + } } +/** Some copy-pasted default values + * + * TODO: it _must_ be possible to do this _en masse_: + * - load up each of the widgets for defaults + * - infer a JSON schema from the traitlets + * - export the widget.package.schema.json + * - then either + * - go the ts way + * - generate .d.ts types + * - generate concrete .ts types + * - go the js way + * - dynamically build evented classes based directly on json schema + */ const FLOAT_SLIDER_DEFAULTS: IFloatSlider = { _dom_classes: [], - _model_module: '@jupyter-widgets/controls', - _model_module_version: '1.5.0', + _model_module: _Widget.WIDGET_CONTROLS_PACKAGE, + _model_module_version: _Widget.WIDGET_CONTROLS_VERSION, _model_name: 'FloatSliderModel', _view_count: null, - _view_module: '@jupyter-widgets/controls', - _view_module_version: '1.5.0', + _view_module: _Widget.WIDGET_CONTROLS_PACKAGE, + _view_module_version: _Widget.WIDGET_CONTROLS_VERSION, _view_name: 'FloatSliderView', continuous_update: true, description: '', @@ -259,15 +345,10 @@ const FLOAT_SLIDER_DEFAULTS: IFloatSlider = { keys: ['value'] }; -export class _FloatSlider extends _Widget { - constructor(options: IFloatSlider) { - options = { ...FLOAT_SLIDER_DEFAULTS, ...options }; - super(options); - } -} - +/** the concrete observable */ export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); +/** a description of widget traits */ export interface IWidget { // _model_name = Unicode('WidgetModel', // help="Name of the model.", read_only=True).tag(sync=True) @@ -295,6 +376,7 @@ export interface IWidget { keys: string[]; } +/** a description of DOM widget traits */ export interface IDOMWidget extends IWidget { // _dom_classes = TypedTuple(trait=Unicode(), help="CSS classes applied to widget DOM element").tag(sync=True) _dom_classes: string[]; @@ -306,20 +388,24 @@ export interface IDOMWidget extends IWidget { layout: any; } +/** a description of described widget traits */ export interface IDescriptionWidget extends IWidget { description: string; description_tooltip: string | null; } +/** a description of float widget traits */ export interface IFloat extends IWidget { value: number; } +/** a description of bounded float widget traits */ export interface IBoundedFloat extends IFloat { min: number; max: number; } +/** a description of float slider */ export interface IFloatSlider extends IDOMWidget, IDescriptionWidget, IBoundedFloat { // step = CFloat(0.1, allow_none=True, help="Minimum step to increment the value").tag(sync=True) step: number | null; @@ -338,3 +424,8 @@ export interface IFloatSlider extends IDOMWidget, IDescriptionWidget, IBoundedFl // style = InstanceDict(SliderStyle).tag(sync=True, **widget_serialization) style: any; } + +/** A namespace for the widgetregistry singleton */ +namespace Private { + export let widgetRegistry: WidgetRegistry; +} From 0b9f619edf98f554c3cf15a62b4010df65185da2 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 14:50:31 -0400 Subject: [PATCH 12/21] tweak parameter headings in mystify --- dodo.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/dodo.py b/dodo.py index 90f65e875..60f20f94d 100644 --- a/dodo.py +++ b/dodo.py @@ -616,6 +616,12 @@ def mod_md_name(mod): out_text, flags=re.M | re.S, ) + out_text = re.sub( + r"^#### Parameters", + r"### Parameters", + out_text, + flags=re.M | re.S, + ) out_text = re.sub( r"^((Implementation of|Overrides|Inherited from):)", "_\\1_", From 6bf4061bd6a0dc8134e28c2f23bcf0623e068124 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Wed, 9 Jun 2021 16:15:56 -0400 Subject: [PATCH 13/21] start on select widget --- packages/kernel/src/proto_widgets.ts | 121 +++++++++++++++++++++++++-- 1 file changed, 113 insertions(+), 8 deletions(-) diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index b214aaf0a..eefaf0d47 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -238,6 +238,7 @@ export class _Widget extends _HasTraits { _model_module: _Widget.WIDGET_CONTROLS_PACKAGE, _model_module_version: _Widget.WIDGET_CONTROLS_VERSION, _view_count: null, + _view_module: _Widget.WIDGET_CONTROLS_PACKAGE, _view_module_version: _Widget.WIDGET_CONTROLS_VERSION }; } @@ -289,7 +290,7 @@ class WidgetRegistry { constructor() { this._commManager = WidgetRegistry.getKernel().comm_manager; - console.log(`managing ${_Widget.WIDGET_TARGET}`); + console.info(`managing ${_Widget.WIDGET_TARGET}`); this._commManager.register_target( _Widget.WIDGET_TARGET, _Widget.handle_comm_opened @@ -297,11 +298,20 @@ class WidgetRegistry { } } -/** a naive FloatSlider */ +/** a naive FloatSlider + * + * ```js + * let { FloatSlider } = kernel.widgets + * x = FloatSlider({description: "x", min: -1, value: 1, max: 1}) + * x.display() + */ export class _FloatSlider extends _Widget { constructor(options: IFloatSlider) { - options = { ...FLOAT_SLIDER_DEFAULTS, ...options }; - super(options); + super({ ..._FloatSlider.defaults(), ...options }); + } + + static defaults(): IFloatSlider { + return { ...super.defaults(), ...FLOAT_SLIDER_DEFAULTS }; } } @@ -341,13 +351,81 @@ const FLOAT_SLIDER_DEFAULTS: IFloatSlider = { style: null, value: 0.0, tabbable: true, - tooltip: '', - keys: ['value'] + tooltip: '' }; -/** the concrete observable */ +/** the concrete observable FloatSlider */ export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); +/** a naive Select + * + * ```js + * let { Select } = kernel.widgets + * options = ["apple", "banana"] + * self.it = it = Select({rows: 1, description: "it", options, _options_labels: options}) + * it.display() + * ``` + */ +export class _Select extends _Widget { + constructor(options: ISelect) { + super({ ..._Select.defaults(), ...options }); + this.observe(this._on_change).catch(console.error); + } + /** + * A catch-all observer for the semi-private select behavior + * + * TODO: make the `names` part of `observe` work + */ + protected _on_change = async (change: _HasTraits.IChange): Promise => { + let oldValue: any; + + switch (change.name) { + case 'index': + oldValue = this._trait_values['value']; + this._trait_values['value'] = this._trait_values['options'][change.new]; + this._emit_change({ + name: 'value', + old: oldValue, + new: this._trait_values['value'] + }); + break; + default: + break; + } + }; + + static defaults(): ISelect { + return { ...super.defaults(), ...SELECT_DEFAULTS }; + } +} + +/** the concrete observable Select */ +export const Select = _HasTraits._traitMeta(_Select); + +/** some hand-made defaults */ +const SELECT_DEFAULTS: ISelect = { + _dom_classes: [], + _model_module: _Widget.WIDGET_CONTROLS_PACKAGE, + _model_module_version: _Widget.WIDGET_CONTROLS_VERSION, + _model_name: 'SelectModel', + _options_labels: ['1', '2'], + _view_count: null, + _view_module: _Widget.WIDGET_CONTROLS_PACKAGE, + _view_module_version: _Widget.WIDGET_CONTROLS_VERSION, + _view_name: 'SelectView', + options: [], + label: '', + value: 0, + tabbable: true, + tooltip: '', + layout: null, + description: '', + description_tooltip: null, + disabled: false, + index: 0, + rows: 5 +}; + /** a description of widget traits */ export interface IWidget { // _model_name = Unicode('WidgetModel', @@ -373,7 +451,7 @@ export interface IWidget { _view_count: number | null; // comm = Instance('ipykernel.comm.Comm', allow_none=True) // keys = List(help="The traits which are synced.") - keys: string[]; + // keys: string[]; } /** a description of DOM widget traits */ @@ -425,6 +503,33 @@ export interface IFloatSlider extends IDOMWidget, IDescriptionWidget, IBoundedFl style: any; } +export interface ISelection extends IDOMWidget, IDescriptionWidget { + // value = Any(None, help="Selected value", allow_none=True) + value: any | null; + // label = Unicode(None, help="Selected label", allow_none=True) + label: string | null; + // index = Int(None, help="Selected index", allow_none=True).tag(sync=True) + index: number | null; + // options = Any((), + // help="""Iterable of values or (label, value) pairs that the user can select. + // The labels are the strings that will be displayed in the UI, representing the + // actual Python choices, and should be unique. + // """) + options: any[] | [string, any][]; + // # This being read-only means that it cannot be changed by the user. + // _options_labels = TypedTuple(trait=Unicode(), read_only=True, help="The labels for the options.").tag(sync=True) + _options_labels: string[]; + // disabled = Bool(help="Enable or disable user changes").tag(sync=True) + disabled: boolean; +} + +export interface ISelect extends ISelection { + // _view_name = Unicode('SelectView').tag(sync=True) + // _model_name = Unicode('SelectModel').tag(sync=True) + // rows = Int(5, help="The number of rows to display.").tag(sync=True) + rows: number; +} + /** A namespace for the widgetregistry singleton */ namespace Private { export let widgetRegistry: WidgetRegistry; From 9b0422bd2d8c7f69c78874c31fd8e57d0504512d Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 10 Jun 2021 18:07:47 -0400 Subject: [PATCH 14/21] update examples and docs --- examples/js - widgets.ipynb | 358 ++++++++++++++++++++++++++- packages/kernel/src/proto_widgets.ts | 341 +++++++++++++++++++++---- 2 files changed, 648 insertions(+), 51 deletions(-) diff --git a/examples/js - widgets.ipynb b/examples/js - widgets.ipynb index 0d04b22b4..6a18a51b3 100644 --- a/examples/js - widgets.ipynb +++ b/examples/js - widgets.ipynb @@ -1 +1,357 @@ -{"metadata":{"language_info":{"codemirror_mode":{"name":"javascript"},"file_extension":".js","mimetype":"text/javascript","name":"javascript","nbconvert_exporter":"javascript","pygments_lexer":"javascript","version":"es2017"},"kernelspec":{"name":"javascript","display_name":"JavaScript","language":"javascript"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Can we get to two linked `FloatSliders`?","metadata":{}},{"cell_type":"code","source":"let {FloatSlider} = kernel.widgets\nlet [x, y] = [\"x\", \"y\"].map((x) => FloatSlider({description: x, min: -3.0, max: 3.0 }))\nself.x = x\nself.y = y\nx.display()\nx.observe(async (change) => y.value = Math.sin(change.new))\ny.display()","metadata":{"trusted":true},"execution_count":8,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"x\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"8e15830e-78ea-44a7-9be6-abf18f21923d"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"y\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"b679fde0-fb6b-4838-bc1c-0c47b58d79e2"}},"metadata":{}},{"execution_count":8,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"markdown","source":"The values _should_ change when set manually.","metadata":{}},{"cell_type":"code","source":"x.value = -3","metadata":{"trusted":true},"execution_count":9,"outputs":[{"execution_count":9,"output_type":"execute_result","data":{"text/plain":-3},"metadata":{}}]},{"cell_type":"markdown","source":"A second copy _should_ work...","metadata":{}},{"cell_type":"code","source":"x.display()","metadata":{"trusted":true},"execution_count":10,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"x\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3,\n \"min\": -3,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": -3,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"keys\": [\n \"value\"\n ]\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"8e15830e-78ea-44a7-9be6-abf18f21923d"}},"metadata":{}},{"execution_count":10,"output_type":"execute_result","data":{},"metadata":{}}]}]} \ No newline at end of file +{ + "metadata": { + "language_info": { + "codemirror_mode": { + "name": "javascript" + }, + "file_extension": ".js", + "mimetype": "text/javascript", + "name": "javascript", + "nbconvert_exporter": "javascript", + "pygments_lexer": "javascript", + "version": "es2017" + }, + "kernelspec": { + "name": "javascript", + "display_name": "JavaScript", + "language": "javascript" + }, + "widgets": { + "application/vnd.jupyter.widget-state+json": { + "version_major": 2, + "version_minor": 0, + "state": { + "4d6a1fcb-312b-4d03-b758-067a826e95d5": { + "model_name": "FloatSliderModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "description": "$x$", + "layout": null, + "max": 3.141592653589793, + "min": -3.141592653589793, + "step": 0.1, + "style": null, + "value": -3, + "tabbable": true, + "tooltip": "" + } + }, + "535104a6-e58d-4e94-89ad-da46d8f7f023": { + "model_name": "FloatSliderModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "description": "$\\sin{x}$", + "layout": null, + "max": 1, + "min": -1, + "step": 0.1, + "style": null, + "value": -0.1411200080598672, + "tabbable": true, + "tooltip": "" + } + }, + "f9ef8d0b-8a7f-4b7c-9b0b-d0566abff973": { + "model_name": "FloatSliderModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "description": "$\\cos{x}$", + "layout": null, + "max": 1, + "min": -1, + "step": 0.1, + "style": null, + "value": -0.9899924966004454, + "tabbable": true, + "tooltip": "" + } + }, + "e64ee5a5-1e5b-446a-88ea-925a550a149f": { + "model_name": "SelectModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "_options_labels": [ + "apple", + "banana" + ], + "options": [ + "apple", + "banana" + ], + "label": "", + "value": 0, + "tabbable": true, + "tooltip": "", + "layout": null, + "description": "it", + "index": 0, + "rows": 1 + } + }, + "354c7fe2-72d4-4d51-b67d-92ee3d264248": { + "model_name": "SelectModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "_options_labels": [ + "apple", + "banana" + ], + "options": [ + "apple", + "banana" + ], + "label": "", + "value": 0, + "tabbable": true, + "tooltip": "", + "layout": null, + "description": "one", + "index": 0, + "rows": 1 + } + }, + "95689498-5691-4e7a-88a8-998ca263d577": { + "model_name": "SelectModel", + "model_module": "@jupyter-widgets/controls", + "model_module_version": "1.5.0", + "state": { + "_options_labels": [ + "apple", + "banana" + ], + "options": [ + "apple", + "banana" + ], + "label": "", + "value": 0, + "tabbable": true, + "tooltip": "", + "layout": null, + "description": "another", + "index": 0, + "rows": 1 + } + } + } + } + } + }, + "nbformat_minor": 4, + "nbformat": 4, + "cells": [ + { + "cell_type": "markdown", + "source": "> **Please do not expect this to be a stable API**\n\nThis is an exploration of supporting comms in JupyterLite [@jtpio/jupyterlite#14](https://github.com/jtpio/jupyterlite/issues/18) built for [@jtpio/jupyterlite#141](https://github.com/jtpio/jupyterlite/pull/141).\n\n> You should be able to view this by visiting the [PR docs site](https://jupyterlite--141.org.readthedocs.build/en/141/_static/lab/index.html) \n(kindly hosted by [ReadTheDocs](https://readthedocs.org)).\n>\n> ```\n> https://jupyterlite--141.org.readthedocs.build/en/141/_static/lab/index.html\n> ```\n\n
\n Notes\n
\n    # why do this?\n    \n    \n    
\n
", + "metadata": {} + }, + { + "cell_type": "markdown", + "source": "## `FloatSliders` with `observe`", + "metadata": {} + }, + { + "cell_type": "code", + "source": "let {FloatSlider} = kernel.widgets\nself.x = FloatSlider({ description: \"$x$\", min: -Math.PI, max: Math.PI }); x.display();\nObject.entries({sin: Math.sin, cos: Math.cos}).map(([k, fn])=> {\n self[k] = FloatSlider({ description: '$\\\\' + k + '{x}$', min: -1, max: 1});\n x.observe(async (change) => self[k].value = fn(change.new))\n self[k].display()\n})", + "metadata": { + "trusted": true + }, + "execution_count": 1, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$x$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3.141592653589793,\n \"min\": -3.141592653589793,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "4d6a1fcb-312b-4d03-b758-067a826e95d5" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$\\\\sin{x}$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 1,\n \"min\": -1,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "535104a6-e58d-4e94-89ad-da46d8f7f023" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$\\\\cos{x}$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 1,\n \"min\": -1,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "f9ef8d0b-8a7f-4b7c-9b0b-d0566abff973" + } + }, + "metadata": {} + }, + { + "execution_count": 1, + "output_type": "execute_result", + "data": { + "text/plain": [ + null, + null + ] + }, + "metadata": {} + } + ] + }, + { + "cell_type": "markdown", + "source": "The values _should_ change when set manually.", + "metadata": {} + }, + { + "cell_type": "code", + "source": "x.value = -3", + "metadata": { + "trusted": true + }, + "execution_count": 2, + "outputs": [ + { + "execution_count": 2, + "output_type": "execute_result", + "data": { + "text/plain": -3 + }, + "metadata": {} + } + ] + }, + { + "cell_type": "markdown", + "source": "A second copy _should_ work...", + "metadata": {} + }, + { + "cell_type": "code", + "source": "x.display()", + "metadata": { + "trusted": true + }, + "execution_count": 3, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$x$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3.141592653589793,\n \"min\": -3.141592653589793,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": -3,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "4d6a1fcb-312b-4d03-b758-067a826e95d5" + } + }, + "metadata": {} + }, + { + "execution_count": 3, + "output_type": "execute_result", + "data": {}, + "metadata": {} + } + ] + }, + { + "cell_type": "markdown", + "source": "## `Select`", + "metadata": {} + }, + { + "cell_type": "code", + "source": "let { Select } = kernel.widgets\noptions = [\"apple\", \"banana\"]\nself.it = it = Select({rows: 1, description: \"it\", options, _options_labels: options})\nit.display()", + "metadata": { + "trusted": true + }, + "execution_count": 4, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"it\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "e64ee5a5-1e5b-446a-88ea-925a550a149f" + } + }, + "metadata": {} + }, + { + "execution_count": 4, + "output_type": "execute_result", + "data": {}, + "metadata": {} + } + ] + }, + { + "cell_type": "markdown", + "source": "## `link`", + "metadata": {} + }, + { + "cell_type": "code", + "source": "let { link } = kernel.widgets\nlet { Select } = kernel.widgets\noptions = [\"apple\", \"banana\"]\nlet [it1, it2] = [\"one\", \"another\"].map((d) => Select({rows: 1, description: d, options, _options_labels: options}))\nself.it1 = it1\nself.it2 = it2\nlink([it1, \"index\"], [it2, \"index\"])\nit1.display()\nit2.display()", + "metadata": { + "trusted": true + }, + "execution_count": 5, + "outputs": [ + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"one\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "354c7fe2-72d4-4d51-b67d-92ee3d264248" + } + }, + "metadata": {} + }, + { + "output_type": "display_data", + "data": { + "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"another\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", + "application/vnd.jupyter.widget-view+json": { + "version": "2.0", + "version_major": 2, + "version_minor": 0, + "model_id": "95689498-5691-4e7a-88a8-998ca263d577" + } + }, + "metadata": {} + }, + { + "execution_count": 5, + "output_type": "execute_result", + "data": {}, + "metadata": {} + } + ] + } + ] +} diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index eefaf0d47..c2b5f52ce 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -1,23 +1,46 @@ /** - * WARNING! EXPERIMENTAL! VERY DANGEROUS! + * **WARNING! EXPERIMENTAL! VERY DANGEROUS!** + * + * > This is not a stable API, but there is `/exmaples/js - widgets.ipynb` which + * > _should_ work, and exercise most of the features contained in here. + * > There are also some (sometimes aspirational) minimal examples under + * > under `### Examples` headings below + * + * ### Discussion * - * This is not a stable API, but there is `/exmaples/js - widgets.ipynb` which - * _should_ work. */ import { DefaultCommManager } from './comm_manager'; import { ICommManager, IKernel } from './tokens'; import { KernelMessage } from '@jupyterlab/services'; +// self._trait_notifiers[name][type] +export type TObservation = 'change' | string; +export type TObservationMap = Map>>; +export type TObserverMap = Map>; + +/** + * An unconfigurable top-level variable. _Might_ get optimized out by the compiler. + * + * TODO: this is very nasty, but sometimes need to see _everything_... + * */ +const DEBUG = false; + /** * A naive, ur-prototype of JupyterLite (T?)JS(?) trait-ful objects */ export class _HasTraits = Record> { _trait_names: (keyof T)[]; + // self._trait_values = {} _trait_values: T = {} as T; - _next_change_promise: null | Promise = null; - _next_resolve: null | ((args: _HasTraits.IChange) => void) = null; - _next_reject: null | ((args: _HasTraits.IChange) => void) = null; - _observers = new Set<_HasTraits.IChangeCallback>(); + // self._trait_notifiers = {} + _trait_notifiers: TObserverMap = new Map(); + // self._trait_validators = {} + // TODO: valdiators + + // non-canonical stuff + private _next_change_promise: null | Promise = null; + private _next_resolve: null | ((args: _HasTraits.IChange) => void) = null; + private _next_reject: null | ((args: _HasTraits.IChange) => void) = null; constructor(options: Partial) { this._trait_names = [...Object.keys(options || {})] as any; @@ -25,27 +48,167 @@ export class _HasTraits = Record> { this._init_next(); } - /** establish the promise callbacks for the next change */ - _init_next(): void { + /** + * establish the promise callbacks for the next change + * + * TODO: this pattern is probably not right. + */ + private _init_next(): void { this._next_change_promise = new Promise((resolve, reject) => { this._next_resolve = resolve; this._next_reject = reject; }); } - /** add an observer. doesn't work with names yet. */ - async observe(fn: _HasTraits.IChangeCallback, names?: string[]): Promise { - this._observers.add(fn); - while (this._observers.has(fn)) { - const change = await this._next_change_promise; - await fn(change); + /** add an observer. + * + * ### Discussion + * + * The upstream implementation return `void`. + * + * However, it would be very compelling to have access to an observation as a + * async iterable of changes. Perhaps there is an alternate API, or option, + * which could allow for retrieving this... + */ + public observe( + handler: _HasTraits.IChangeCallback, + names: string[] | null = null, + changeType: TObservation = 'change' + ): void { + // def observe(self, handler, names=All, type='change'): + // """Setup a handler to be called when a trait changes. + // This is used to setup dynamic notifications of trait changes. + // Parameters + // ---------- + // handler : callable + // A callable that is called when a trait changes. Its + // signature should be ``handler(change)``, where ``change`` is a + // dictionary. The change dictionary at least holds a 'type' key. + // * ``type``: the type of notification. + // Other keys may be passed depending on the value of 'type'. In the + // case where type is 'change', we also have the following keys: + // * ``owner`` : the HasTraits instance + // * ``old`` : the old value of the modified trait attribute + // * ``new`` : the new value of the modified trait attribute + // * ``name`` : the name of the modified trait attribute. + // names : list, str, All + // If names is All, the handler will apply to all traits. If a list + // of str, handler will apply to all names in the list. If a + // str, the handler will apply just to that name. + // type : str, All (default: 'change') + // The type of notification to filter by. If equal to All, then all + // notifications are passed to the observe handler. + // """ + // names = parse_notifier_name(names) + // for n in names: + // self._add_notifiers(handler, n, type) + for (const name of names || this._trait_names) { + if (!this._trait_notifiers.has(name)) { + this._trait_notifiers.set(name, new Map()); + } + if (!this._trait_notifiers.get(name)?.get(changeType)) { + this._trait_notifiers.get(name)?.set(changeType, new Set()); + } + if ( + this._trait_notifiers + .get(name) + ?.get(changeType) + ?.has(handler) + ) { + continue; + } + this._trait_notifiers + .get(name) + ?.get(changeType) + ?.add(handler); + const observer = this._makeObserver(handler, name, changeType); + const observance = (async () => { + for await (const observation of observer) { + DEBUG && console.log(name, changeType, observation); + } + })(); + DEBUG && console.log(name, changeType, handler); + observance.catch(console.warn); + } + } + + /** an observer that observes until it is disposed by `.unobserve`. + * + * TODO: don't just drop this on the floor. consider an async generator. + */ + private async *_makeObserver( + handler: _HasTraits.IChangeCallback, + name: keyof T, + changeType: TObservation + ) { + const isDisposed = () => { + return !this._trait_notifiers + .get(name) + ?.get(changeType) + ?.has(handler); + }; + + let change: _HasTraits.IChange | null = null; + + while (!isDisposed()) { + yield* [[0, null]]; + try { + change = await this._next_change_promise; + yield* [[1, change]]; + } catch (err) { + console.warn('error awaiting next change promise', name, changeType, err); + } + + // check the handler _again_ + if (isDisposed()) { + DEBUG && console.log('observer closed', name, changeType); + break; + } + if (change && change.name === name) { + try { + await handler(change); + } catch (err) { + DEBUG && console.warn('error handling', name, changeType, handler, err); + } + yield* [[2, change]]; + } } + DEBUG && console.warn('just about done here', name, changeType); + yield* [[99, null]]; } /** remove an observer. doesn't work with names yet. */ - async unobserve(fn: _HasTraits.IChangeCallback, names?: string[]): Promise { - if (this._observers.has(fn)) { - this._observers.delete(fn); + unobserve( + handler: _HasTraits.IChangeCallback, + names: string[] | null = null, + changeType: TObservation = 'change' + ): void { + // def unobserve(self, handler, names=All, type='change'): + // """Remove a trait change handler. + // This is used to unregister handlers to trait change notifications. + // Parameters + // ---------- + // handler : callable + // The callable called when a trait attribute changes. + // names : list, str, All (default: All) + // The names of the traits for which the specified handler should be + // uninstalled. If names is All, the specified handler is uninstalled + // from the list of notifiers corresponding to all changes. + // type : str or All (default: 'change') + // The type of notification to filter by. If All, the specified handler + // is uninstalled from the list of notifiers corresponding to all types. + // """ + // names = parse_notifier_name(names) + // for n in names: + // self._remove_notifiers(handler, n, type) + + for (const name of names || this._trait_names) { + this._trait_notifiers + .get(name) + ?.get(changeType) + ?.delete(handler) && + DEBUG && + console.warn('unobserved', name, changeType); } } @@ -67,9 +230,14 @@ export class _HasTraits = Record> { export namespace _HasTraits { /** a change */ export interface IChange { - name: keyof T; + // * ``owner`` : the HasTraits instance + owner: _HasTraits; + // * ``old`` : the old value of the modified trait attribute old: T[keyof T]; + // * ``new`` : the new value of the modified trait attribute new: T[keyof T]; + // * ``name`` : the name of the modified trait attribute. + name: keyof T; } /** a change handler */ @@ -87,7 +255,7 @@ export namespace _HasTraits { ): (options: T) => _HasTraits { return (options: T): _HasTraits => { const __ = new _Klass(options); - return new Proxy<_HasTraits>(__, { + const proxy = new Proxy<_HasTraits>(__, { get: function(target: any, prop: string | symbol, receiver: any) { if (__._trait_names.indexOf(prop as keyof T) !== -1) { return (__._trait_values as T)[prop as keyof T]; @@ -98,12 +266,20 @@ export namespace _HasTraits { if (__._trait_names.indexOf(prop as keyof T) !== -1) { const old = __._trait_values[prop as keyof T]; const new_ = (__._trait_values[prop as keyof T] = value); - __._emit_change({ name: prop as keyof T, old, new: new_ }); - return new_; + if (old !== new_) { + __._emit_change({ + name: prop as keyof T, + old, + new: new_, + owner: __ + }); + } + return true; } return Reflect.set(obj, prop, value); } }); + return proxy; }; } } @@ -156,13 +332,13 @@ export class _Widget extends _HasTraits { target_name: _Widget.WIDGET_TARGET, ...this.makeMessage() }); - this.observe(this._sync).catch(console.error); + this.observe(this._sync); this._comm.on_msg(this.on_msg); this._comm.on_close(async msg => { - console.log(this._comm?.comm_id, 'should close', msg); + console.warn('TODO', this._comm?.comm_id, 'should close', msg); }); } else { - console.warn('no kernel to back comm'); + console.error('Unexpected: no kernel to back comm'); } } @@ -188,7 +364,7 @@ export class _Widget extends _HasTraits { */ protected _sync = async (change: _HasTraits.IChange): Promise => { if (!this._comm) { - console.warn('cannot send without comm', this); + console.error('Unexpected: cannot send without comm', this); return; } const msg = this.makeMessage(); @@ -203,10 +379,14 @@ export class _Widget extends _HasTraits { const { data } = msg.content; switch (data.method) { case 'update': - await this.handle_on_msg(msg); + try { + await this.handle_on_msg(msg); + } catch (err) { + console.warn('Unexpected handler error', err, msg); + } break; default: - console.warn('oh noes', data.method, msg); + console.error('Unexpected method', data.method, ':', msg); break; } }; @@ -221,7 +401,12 @@ export class _Widget extends _HasTraits { continue; } (this._trait_values as any)[k] = v as any; - changes.push({ name: k as keyof T, old, new: v }); + changes.push({ + name: k as keyof T, + old, + new: v, + owner: this + }); } for (const change of changes) { this._emit_change(change); @@ -252,7 +437,7 @@ export class _Widget extends _HasTraits { comm: ICommManager.IComm, msg: KernelMessage.ICommOpenMsg ): Promise { - console.log('TODO: a comm was opened?', comm, msg); + console.warn('TODO: a comm was opened?', comm, msg); } } @@ -285,12 +470,12 @@ class WidgetRegistry { } static getKernel(): IKernel { - return (window as any).kernel; + return (self as any).kernel; } constructor() { this._commManager = WidgetRegistry.getKernel().comm_manager; - console.info(`managing ${_Widget.WIDGET_TARGET}`); + DEBUG && console.info(`managing ${_Widget.WIDGET_TARGET}`); this._commManager.register_target( _Widget.WIDGET_TARGET, _Widget.handle_comm_opened @@ -300,10 +485,17 @@ class WidgetRegistry { /** a naive FloatSlider * + * ### Examples * ```js * let { FloatSlider } = kernel.widgets - * x = FloatSlider({description: "x", min: -1, value: 1, max: 1}) + * x = FloatSlider({description: "$x$", min: -Math.PI, value: 1, max: Math.PI}) * x.display() + * + * Object.entries({sin: Math.sin, cos: Math.cos, tan: Math.tan}).map(([k, fn])=> { + * self[k] = FloatSlider({ description: '$\\' + k + '{x}$', min: -1, max: 1}) + * x.observe(async (change) => self[k].value = fn(change.new)) + * self[k].display() + * }) */ export class _FloatSlider extends _Widget { constructor(options: IFloatSlider) { @@ -359,6 +551,7 @@ export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); /** a naive Select * + * ### Examples * ```js * let { Select } = kernel.widgets * options = ["apple", "banana"] @@ -369,29 +562,31 @@ export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); export class _Select extends _Widget { constructor(options: ISelect) { super({ ..._Select.defaults(), ...options }); - this.observe(this._on_change).catch(console.error); + this.observe(this._on_index, ['index']); } /** * A catch-all observer for the semi-private select behavior * - * TODO: make the `names` part of `observe` work */ - protected _on_change = async (change: _HasTraits.IChange): Promise => { - let oldValue: any; - - switch (change.name) { - case 'index': - oldValue = this._trait_values['value']; - this._trait_values['value'] = this._trait_values['options'][change.new]; - this._emit_change({ - name: 'value', - old: oldValue, - new: this._trait_values['value'] - }); - break; - default: - break; + protected _on_index = async (change: _HasTraits.IChange): Promise => { + if (change.name !== 'index') { + console.error( + 'Received unexpected change to', + change.name, + ':', + change.new, + change + ); + return; } + const oldValue = this._trait_values['value']; + this._trait_values['value'] = this._trait_values['options'][change.new]; + this._emit_change({ + name: 'value', + old: oldValue, + new: this._trait_values['value'], + owner: this + }); }; static defaults(): ISelect { @@ -426,6 +621,52 @@ const SELECT_DEFAULTS: ISelect = { rows: 5 }; +/** utilities */ + +export type TLinkItem = [_HasTraits, keyof T]; + +/** + * A `link` with the same API as traitlets + * + * ### Examples + * ```js + * let { link } = kernel.widgets + * let { Select } = kernel.widgets + * options = ["apple", "banana"] + * let [it1, it2] = ["one", "another"].map((d) => Select({rows: 1, description: d, options, _options_labels: options})) + * self.it1 = it1 + * self.it2 = it2 + * link([it1, "index"], [it2, "index"]) + * it1.display() + * it2.display() + * ``` + */ +export async function link( + first: TLinkItem, + other: TLinkItem +): Promise { + const [firstHasTraits, firstName] = first; + const [otherHasTraits, otherName] = other; + firstHasTraits.observe( + async (change: _HasTraits.IChange) => { + const old = (otherHasTraits as any)[otherName]; + if (old !== change.new) { + (otherHasTraits as any)[otherName] = change.new; + } + }, + [firstName as string] + ); + otherHasTraits.observe( + async (change: _HasTraits.IChange) => { + const old = (firstHasTraits as any)[firstName]; + if (old !== change.new) { + (firstHasTraits as any)[firstName] = change.new; + } + }, + [otherName as string] + ); +} + /** a description of widget traits */ export interface IWidget { // _model_name = Unicode('WidgetModel', From 3749c000f7ba5ce0b98891eb572d121cc6632517 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Thu, 10 Jun 2021 20:20:41 -0400 Subject: [PATCH 15/21] some work on dlink --- examples/js - widgets.ipynb | 324 +++++---------------------- packages/kernel/src/proto_widgets.ts | 137 ++++++++++- 2 files changed, 189 insertions(+), 272 deletions(-) diff --git a/examples/js - widgets.ipynb b/examples/js - widgets.ipynb index 6a18a51b3..f35a0d501 100644 --- a/examples/js - widgets.ipynb +++ b/examples/js - widgets.ipynb @@ -15,131 +15,6 @@ "name": "javascript", "display_name": "JavaScript", "language": "javascript" - }, - "widgets": { - "application/vnd.jupyter.widget-state+json": { - "version_major": 2, - "version_minor": 0, - "state": { - "4d6a1fcb-312b-4d03-b758-067a826e95d5": { - "model_name": "FloatSliderModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "description": "$x$", - "layout": null, - "max": 3.141592653589793, - "min": -3.141592653589793, - "step": 0.1, - "style": null, - "value": -3, - "tabbable": true, - "tooltip": "" - } - }, - "535104a6-e58d-4e94-89ad-da46d8f7f023": { - "model_name": "FloatSliderModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "description": "$\\sin{x}$", - "layout": null, - "max": 1, - "min": -1, - "step": 0.1, - "style": null, - "value": -0.1411200080598672, - "tabbable": true, - "tooltip": "" - } - }, - "f9ef8d0b-8a7f-4b7c-9b0b-d0566abff973": { - "model_name": "FloatSliderModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "description": "$\\cos{x}$", - "layout": null, - "max": 1, - "min": -1, - "step": 0.1, - "style": null, - "value": -0.9899924966004454, - "tabbable": true, - "tooltip": "" - } - }, - "e64ee5a5-1e5b-446a-88ea-925a550a149f": { - "model_name": "SelectModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "_options_labels": [ - "apple", - "banana" - ], - "options": [ - "apple", - "banana" - ], - "label": "", - "value": 0, - "tabbable": true, - "tooltip": "", - "layout": null, - "description": "it", - "index": 0, - "rows": 1 - } - }, - "354c7fe2-72d4-4d51-b67d-92ee3d264248": { - "model_name": "SelectModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "_options_labels": [ - "apple", - "banana" - ], - "options": [ - "apple", - "banana" - ], - "label": "", - "value": 0, - "tabbable": true, - "tooltip": "", - "layout": null, - "description": "one", - "index": 0, - "rows": 1 - } - }, - "95689498-5691-4e7a-88a8-998ca263d577": { - "model_name": "SelectModel", - "model_module": "@jupyter-widgets/controls", - "model_module_version": "1.5.0", - "state": { - "_options_labels": [ - "apple", - "banana" - ], - "options": [ - "apple", - "banana" - ], - "label": "", - "value": 0, - "tabbable": true, - "tooltip": "", - "layout": null, - "description": "another", - "index": 0, - "rows": 1 - } - } - } - } } }, "nbformat_minor": 4, @@ -161,59 +36,8 @@ "metadata": { "trusted": true }, - "execution_count": 1, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$x$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3.141592653589793,\n \"min\": -3.141592653589793,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "4d6a1fcb-312b-4d03-b758-067a826e95d5" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$\\\\sin{x}$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 1,\n \"min\": -1,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "535104a6-e58d-4e94-89ad-da46d8f7f023" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$\\\\cos{x}$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 1,\n \"min\": -1,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "f9ef8d0b-8a7f-4b7c-9b0b-d0566abff973" - } - }, - "metadata": {} - }, - { - "execution_count": 1, - "output_type": "execute_result", - "data": { - "text/plain": [ - null, - null - ] - }, - "metadata": {} - } - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -226,17 +50,8 @@ "metadata": { "trusted": true }, - "execution_count": 2, - "outputs": [ - { - "execution_count": 2, - "output_type": "execute_result", - "data": { - "text/plain": -3 - }, - "metadata": {} - } - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -249,28 +64,8 @@ "metadata": { "trusted": true }, - "execution_count": 3, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"$x$\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"layout\": null,\n \"max\": 3.141592653589793,\n \"min\": -3.141592653589793,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"readout_format\": \".2f\",\n \"step\": 0.1,\n \"style\": null,\n \"value\": -3,\n \"tabbable\": true,\n \"tooltip\": \"\"\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "4d6a1fcb-312b-4d03-b758-067a826e95d5" - } - }, - "metadata": {} - }, - { - "execution_count": 3, - "output_type": "execute_result", - "data": {}, - "metadata": {} - } - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -283,28 +78,8 @@ "metadata": { "trusted": true }, - "execution_count": 4, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"it\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "e64ee5a5-1e5b-446a-88ea-925a550a149f" - } - }, - "metadata": {} - }, - { - "execution_count": 4, - "output_type": "execute_result", - "data": {}, - "metadata": {} - } - ] + "execution_count": null, + "outputs": [] }, { "cell_type": "markdown", @@ -317,41 +92,54 @@ "metadata": { "trusted": true }, - "execution_count": 5, - "outputs": [ - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"one\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "354c7fe2-72d4-4d51-b67d-92ee3d264248" - } - }, - "metadata": {} - }, - { - "output_type": "display_data", - "data": { - "text/plain": "{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"SelectModel\",\n \"_options_labels\": [\n \"apple\",\n \"banana\"\n ],\n \"_view_name\": \"SelectView\",\n \"options\": [\n \"apple\",\n \"banana\"\n ],\n \"label\": \"\",\n \"value\": 0,\n \"tabbable\": true,\n \"tooltip\": \"\",\n \"layout\": null,\n \"description\": \"another\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"index\": 0,\n \"rows\": 1\n}", - "application/vnd.jupyter.widget-view+json": { - "version": "2.0", - "version_major": 2, - "version_minor": 0, - "model_id": "95689498-5691-4e7a-88a8-998ca263d577" - } - }, - "metadata": {} - }, - { - "execution_count": 5, - "output_type": "execute_result", - "data": {}, - "metadata": {} - } - ] + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": "## `dlink`", + "metadata": {} + }, + { + "cell_type": "code", + "source": "let { dlink, FloatSlider } = kernel.widgets;\nself.src = FloatSlider()\nself.tgt = FloatSlider()\nself.c = dlink([src, 'value'], [tgt, 'value'])\nsrc.display()\ntgt.display()", + "metadata": { + "trusted": true + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "source": "src.value = 5 // updates target objects", + "metadata": { + "trusted": true + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "code", + "source": "tgt.value = 6 // does not update source object", + "metadata": { + "trusted": true + }, + "execution_count": null, + "outputs": [] + }, + { + "cell_type": "markdown", + "source": "## `dlink` (with a transform)", + "metadata": {} + }, + { + "cell_type": "code", + "source": "let { dlink } = kernel.widgets;\nc.unlink()\nc = dlink([src, 'value'], [tgt, 'value'], (x) => 2 * x)\nsrc.display()\ntgt.display()", + "metadata": { + "trusted": true + }, + "execution_count": null, + "outputs": [] } ] } diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index c2b5f52ce..f1f67cf63 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -641,10 +641,7 @@ export type TLinkItem = [_HasTraits, keyof T]; * it2.display() * ``` */ -export async function link( - first: TLinkItem, - other: TLinkItem -): Promise { +export function link(first: TLinkItem, other: TLinkItem): void { const [firstHasTraits, firstName] = first; const [otherHasTraits, otherName] = other; firstHasTraits.observe( @@ -667,6 +664,138 @@ export async function link( ); } +export interface ITranform { + (newValue: any): any; +} + +export interface IDLink { + source: TLinkItem; + target: TLinkItem; + // TODO: this could be greatly improved + transform?: ITranform; +} + +const DLINK_NOOP = async (x: any): Promise => x; + +class _directional_link { + source: TLinkItem; + target: TLinkItem; + transform: null | ITranform; + // """Link the trait of a source object with traits of target objects. + // Parameters + // ---------- + // source : (object, attribute name) pair + // target : (object, attribute name) pair + // transform: callable (optional) + // Data transformation between source and target. + // Examples + // -------- + // >>> c = directional_link((src, "value"), (tgt, "value")) + // >>> src.value = 5 # updates target objects + // >>> tgt.value = 6 # does not update source object + // """ + // updating = False + + constructor(source: TLinkItem, target: TLinkItem, transform?: ITranform) { + // def __init__(self, source, target, transform=None): + // self.source, self.target = source, target + this.source = source; + this.target = target; + // self._transform = transform if transform else lambda x: x + this.transform = transform || null; + // _validate_link(source, target) + // TODO: validate link + // self.link() + this.link(); + } + + link() { + // def link(self): + // try: + // setattr(self.target[0], self.target[1], + // self._transform(getattr(self.source[0], self.source[1]))) + const [source, sourceName] = this.source; + const [target, targetName] = this.target; + try { + ((target as any) as U)[targetName] = (this.transform || DLINK_NOOP)( + ((source as any) as T)[sourceName] + ); + } catch (err) { + console.warn( + 'unexpected failure in link from', + this.source, + 'to', + this.target, + err + ); + } finally { + // finally: + // self.source[0].observe(self._update, names=self.source[1]) + source.observe(this.update, [sourceName as string]); + } + } + + update = async (change: any): Promise => { + ((this.target[0] as any) as U)[this.target[1]] = await ( + this.transform || DLINK_NOOP + )(change.new); + }; + + unlink() { + // def unlink(self): + // self.source[0].unobserve(self._update, names=self.source[1]) + this.source[0].unobserve(this.update, [this.source[1] as string]); + } +} + +/** + * A wrapper for the underlying `_directional_link` + * + * The python call semantics are not exactly the same... + */ +function directional_link( + source: TLinkItem, + target: TLinkItem, + transform?: ITranform +): _directional_link { + return new _directional_link(source, target, transform); +} + +/** + * A pragmatic shortcut for `directional_link` + * + * ### Examples + * ```js + * let { dlink, FloatSlider } = kernel.widgets; + * src = FloatSlider() + * tgt = FloatSlider() + * c = dlink([src, 'value'], [tgt, 'value']) + * src.display() + * tgt.display() + * + * src.value = 5 // updates target objects + * tgt.value = 6 // does not update source object + * + * c.unlink() + * c = dlink([src, 'value'], [tgt, 'value'], (x) => 2 * x) + * ``` + * + * ### Advanced Examples + * ``` + * c.unlink() + * let { FloatSlider, dlink } = kernel.widgets; + * tgt.description = "$$t = sin_x \\cdot cos_x$$" + * tx = () => sin_x.value * cos_x.value + * self.c = dlink([sin_x, 'value'], [tgt, 'value'], tx) + * self.d = dlink([cos_x, 'value'], [tgt, 'value'], tx) + * x.display() + * sin_x.display() + * cos_x.display() + * tgt.display() + * ``` + */ +export const dlink = directional_link; + /** a description of widget traits */ export interface IWidget { // _model_name = Unicode('WidgetModel', From ab759954719f7b9ad0bf508245e426b13d962912 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 11 Jun 2021 13:15:46 -0400 Subject: [PATCH 16/21] add schema widgets notebook --- package.json | 1 + packages/kernel/src/_proto_wrappers.ts | 2788 ++++ packages/kernel/src/_schema_widgets.d.ts | 4774 ++++++ packages/kernel/src/_schema_widgets.json | 17360 +++++++++++++++++++++ packages/kernel/src/kernel.ts | 21 +- packages/kernel/src/proto_widgets.ts | 99 +- packages/kernel/tsconfig.json | 2 +- scripts/schema-widgets.ipynb | 776 + yarn.lock | 210 +- 9 files changed, 25954 insertions(+), 77 deletions(-) create mode 100644 packages/kernel/src/_proto_wrappers.ts create mode 100644 packages/kernel/src/_schema_widgets.d.ts create mode 100644 packages/kernel/src/_schema_widgets.json create mode 100644 scripts/schema-widgets.ipynb diff --git a/package.json b/package.json index 6b198d984..4b42604d2 100644 --- a/package.json +++ b/package.json @@ -65,6 +65,7 @@ "jest-junit": "^11.1.0", "jest-raw-loader": "^1.0.1", "jest-summary-reporter": "^0.0.2", + "json-schema-to-typescript": "^10.1.4", "lerna": "^3.22.1", "lint-staged": "^10.4.0", "npm-run-all": "^4.1.5", diff --git a/packages/kernel/src/_proto_wrappers.ts b/packages/kernel/src/_proto_wrappers.ts new file mode 100644 index 000000000..de2412266 --- /dev/null +++ b/packages/kernel/src/_proto_wrappers.ts @@ -0,0 +1,2788 @@ +/** a bunch of widgets */ +import * as PROTO from './_schema_widgets'; +import * as SCHEMA from './_schema_widgets.json'; +import { _HasTraits, _Widget } from './proto_widgets'; +export let ALL = {} as Record; + +export namespace ipywidgets_widgets_domwidget { + /** a type for the traits of DOMWidget*/ + export type TAnyDOMWidget = PROTO.DOMWidgetPublic | PROTO.DOMWidgetProtected; + + /** a naive DOMWidget + + Widget that can be inserted into the DOM + + @see + */ + export class _DOMWidget extends _Widget { + constructor(options: TAnyDOMWidget) { + super({ ..._DOMWidget.defaults(), ...options }); + } + + static defaults(): TAnyDOMWidget { + return { + ...super.defaults(), + ...SCHEMA.IPublicDOMWidget.default, + ...SCHEMA.IProtectedDOMWidget.default + }; + } + } + + /** the concrete observable DOMWidget */ + export const DOMWidget = _HasTraits._traitMeta(_DOMWidget); + + if (!NS['DOMWidget']) { + NS['DOMWidget'] = DOMWidget; + } else { + console.log('DOMWidget is already hoisted', NS['DOMWidget']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'domwidget'] + +export namespace ipywidgets_widgets_widget { + // --- +} // end of ['ipywidgets', 'widgets', 'widget'] + +export namespace ipywidgets_widgets_widget_bool { + /** a type for the traits of Checkbox*/ + export type TAnyCheckbox = PROTO.CheckboxPublic | PROTO.CheckboxProtected; + + /** a naive Checkbox + + Displays a boolean `value` in the form of a checkbox. + + Parameters + ---------- + value : {True,False} + value of the checkbox: True-checked, False-unchecked + description : str + description displayed next to the checkbox + indent : {True,False} + indent the control to align with other controls with a description. The style.description_width attribute controls this width for consistence with other controls. + + + @see + */ + export class _Checkbox extends _Widget { + constructor(options: TAnyCheckbox) { + super({ ..._Checkbox.defaults(), ...options }); + } + + static defaults(): TAnyCheckbox { + return { + ...super.defaults(), + ...SCHEMA.IPublicCheckbox.default, + ...SCHEMA.IProtectedCheckbox.default + }; + } + } + + /** the concrete observable Checkbox */ + export const Checkbox = _HasTraits._traitMeta(_Checkbox); + + if (!NS['Checkbox']) { + NS['Checkbox'] = Checkbox; + } else { + console.log('Checkbox is already hoisted', NS['Checkbox']); + } + + // --- + + /** a type for the traits of ToggleButton*/ + export type TAnyToggleButton = PROTO.ToggleButtonPublic | PROTO.ToggleButtonProtected; + + /** a naive ToggleButton + + Displays a boolean `value` in the form of a toggle button. + + Parameters + ---------- + value : {True,False} + value of the toggle button: True-pressed, False-unpressed + description : str + description displayed next to the button + tooltip: str + tooltip caption of the toggle button + icon: str + font-awesome icon name + + + @see + */ + export class _ToggleButton extends _Widget { + constructor(options: TAnyToggleButton) { + super({ ..._ToggleButton.defaults(), ...options }); + } + + static defaults(): TAnyToggleButton { + return { + ...super.defaults(), + ...SCHEMA.IPublicToggleButton.default, + ...SCHEMA.IProtectedToggleButton.default + }; + } + } + + /** the concrete observable ToggleButton */ + export const ToggleButton = _HasTraits._traitMeta(_ToggleButton); + + if (!NS['ToggleButton']) { + NS['ToggleButton'] = ToggleButton; + } else { + console.log('ToggleButton is already hoisted', NS['ToggleButton']); + } + + // --- + + /** a type for the traits of _Bool*/ + export type TAny_Bool = PROTO._BoolPublic | PROTO._BoolProtected; + + /** a naive _Bool + + A base class for creating widgets that represent booleans. + + @see + */ + export class __Bool extends _Widget { + constructor(options: TAny_Bool) { + super({ ...__Bool.defaults(), ...options }); + } + + static defaults(): TAny_Bool { + return { + ...super.defaults(), + ...SCHEMA.IPublic_Bool.default, + ...SCHEMA.IProtected_Bool.default + }; + } + } + + /** the concrete observable _Bool */ + export const _Bool = _HasTraits._traitMeta(__Bool); + + if (!NS['_Bool']) { + NS['_Bool'] = _Bool; + } else { + console.log('_Bool is already hoisted', NS['_Bool']); + } + + // --- + + /** a type for the traits of Valid*/ + export type TAnyValid = PROTO.ValidPublic | PROTO.ValidProtected; + + /** a naive Valid + + Displays a boolean `value` in the form of a green check (True / valid) + or a red cross (False / invalid). + + Parameters + ---------- + value: {True,False} + value of the Valid widget + + + @see + */ + export class _Valid extends _Widget { + constructor(options: TAnyValid) { + super({ ..._Valid.defaults(), ...options }); + } + + static defaults(): TAnyValid { + return { + ...super.defaults(), + ...SCHEMA.IPublicValid.default, + ...SCHEMA.IProtectedValid.default + }; + } + } + + /** the concrete observable Valid */ + export const Valid = _HasTraits._traitMeta(_Valid); + + if (!NS['Valid']) { + NS['Valid'] = Valid; + } else { + console.log('Valid is already hoisted', NS['Valid']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_bool'] + +export namespace ipywidgets_widgets_widget_box { + /** a type for the traits of VBox*/ + export type TAnyVBox = PROTO.VBoxPublic | PROTO.VBoxProtected; + + /** a naive VBox + + Displays multiple widgets vertically using the flexible box model. + + Parameters + ---------- + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Vertical Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.VBox([title_widget, slider]) + + + @see + */ + export class _VBox extends _Widget { + constructor(options: TAnyVBox) { + super({ ..._VBox.defaults(), ...options }); + } + + static defaults(): TAnyVBox { + return { + ...super.defaults(), + ...SCHEMA.IPublicVBox.default, + ...SCHEMA.IProtectedVBox.default + }; + } + } + + /** the concrete observable VBox */ + export const VBox = _HasTraits._traitMeta(_VBox); + + if (!NS['VBox']) { + NS['VBox'] = VBox; + } else { + console.log('VBox is already hoisted', NS['VBox']); + } + + // --- + + /** a type for the traits of HBox*/ + export type TAnyHBox = PROTO.HBoxPublic | PROTO.HBoxProtected; + + /** a naive HBox + + Displays multiple widgets horizontally using the flexible box model. + + Parameters + ---------- + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Horizontal Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.HBox([title_widget, slider]) + + + @see + */ + export class _HBox extends _Widget { + constructor(options: TAnyHBox) { + super({ ..._HBox.defaults(), ...options }); + } + + static defaults(): TAnyHBox { + return { + ...super.defaults(), + ...SCHEMA.IPublicHBox.default, + ...SCHEMA.IProtectedHBox.default + }; + } + } + + /** the concrete observable HBox */ + export const HBox = _HasTraits._traitMeta(_HBox); + + if (!NS['HBox']) { + NS['HBox'] = HBox; + } else { + console.log('HBox is already hoisted', NS['HBox']); + } + + // --- + + /** a type for the traits of GridBox*/ + export type TAnyGridBox = PROTO.GridBoxPublic | PROTO.GridBoxProtected; + + /** a naive GridBox + + Displays multiple widgets in rows and columns using the grid box model. + + Parameters + ---------- + {box_params} + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Grid Box Example') + >>> slider = widgets.IntSlider() + >>> button1 = widgets.Button(description='1') + >>> button2 = widgets.Button(description='2') + >>> # Create a grid with two columns, splitting space equally + >>> layout = widgets.Layout(grid_template_columns='1fr 1fr') + >>> widgets.GridBox([title_widget, slider, button1, button2], layout=layout) + + + @see + */ + export class _GridBox extends _Widget { + constructor(options: TAnyGridBox) { + super({ ..._GridBox.defaults(), ...options }); + } + + static defaults(): TAnyGridBox { + return { + ...super.defaults(), + ...SCHEMA.IPublicGridBox.default, + ...SCHEMA.IProtectedGridBox.default + }; + } + } + + /** the concrete observable GridBox */ + export const GridBox = _HasTraits._traitMeta(_GridBox); + + if (!NS['GridBox']) { + NS['GridBox'] = GridBox; + } else { + console.log('GridBox is already hoisted', NS['GridBox']); + } + + // --- + + /** a type for the traits of Box*/ + export type TAnyBox = PROTO.BoxPublic | PROTO.BoxProtected; + + /** a naive Box + + Displays multiple widgets in a group. + + The widgets are laid out horizontally. + + Parameters + ---------- + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.Box([title_widget, slider]) + + + @see + */ + export class _Box extends _Widget { + constructor(options: TAnyBox) { + super({ ..._Box.defaults(), ...options }); + } + + static defaults(): TAnyBox { + return { + ...super.defaults(), + ...SCHEMA.IPublicBox.default, + ...SCHEMA.IProtectedBox.default + }; + } + } + + /** the concrete observable Box */ + export const Box = _HasTraits._traitMeta(_Box); + + if (!NS['Box']) { + NS['Box'] = Box; + } else { + console.log('Box is already hoisted', NS['Box']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_box'] + +export namespace ipywidgets_widgets_widget_button { + /** a type for the traits of ButtonStyle*/ + export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; + + /** a naive ButtonStyle + + Button style widget. + + @see + */ + export class _ButtonStyle extends _Widget { + constructor(options: TAnyButtonStyle) { + super({ ..._ButtonStyle.defaults(), ...options }); + } + + static defaults(): TAnyButtonStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicButtonStyle.default, + ...SCHEMA.IProtectedButtonStyle.default + }; + } + } + + /** the concrete observable ButtonStyle */ + export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); + + if (!NS['ButtonStyle']) { + NS['ButtonStyle'] = ButtonStyle; + } else { + console.log('ButtonStyle is already hoisted', NS['ButtonStyle']); + } + + // --- + + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; + + /** a naive Button + + Button widget. + + This widget has an `on_click` method that allows you to listen for the + user clicking on the button. The click event itself is stateless. + + Parameters + ---------- + description: str + description displayed next to the button + tooltip: str + tooltip caption of the toggle button + icon: str + font-awesome icon name + disabled: bool + whether user interaction is enabled + + + @see + */ + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); + } + + static defaults(): TAnyButton { + return { + ...super.defaults(), + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default + }; + } + } + + /** the concrete observable Button */ + export const Button = _HasTraits._traitMeta(_Button); + + if (!NS['Button']) { + NS['Button'] = Button; + } else { + console.log('Button is already hoisted', NS['Button']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_button'] + +export namespace ipywidgets_widgets_widget_color { + /** a type for the traits of ColorPicker*/ + export type TAnyColorPicker = PROTO.ColorPickerPublic | PROTO.ColorPickerProtected; + + /** a naive ColorPicker + + None + + @see + */ + export class _ColorPicker extends _Widget { + constructor(options: TAnyColorPicker) { + super({ ..._ColorPicker.defaults(), ...options }); + } + + static defaults(): TAnyColorPicker { + return { + ...super.defaults(), + ...SCHEMA.IPublicColorPicker.default, + ...SCHEMA.IProtectedColorPicker.default + }; + } + } + + /** the concrete observable ColorPicker */ + export const ColorPicker = _HasTraits._traitMeta(_ColorPicker); + + if (!NS['ColorPicker']) { + NS['ColorPicker'] = ColorPicker; + } else { + console.log('ColorPicker is already hoisted', NS['ColorPicker']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_color'] + +export namespace ipywidgets_widgets_widget_controller { + /** a type for the traits of Axis*/ + export type TAnyAxis = PROTO.AxisPublic | PROTO.AxisProtected; + + /** a naive Axis + + Represents a gamepad or joystick axis. + + @see + */ + export class _Axis extends _Widget { + constructor(options: TAnyAxis) { + super({ ..._Axis.defaults(), ...options }); + } + + static defaults(): TAnyAxis { + return { + ...super.defaults(), + ...SCHEMA.IPublicAxis.default, + ...SCHEMA.IProtectedAxis.default + }; + } + } + + /** the concrete observable Axis */ + export const Axis = _HasTraits._traitMeta(_Axis); + + if (!NS['Axis']) { + NS['Axis'] = Axis; + } else { + console.log('Axis is already hoisted', NS['Axis']); + } + + // --- + + /** a type for the traits of Controller*/ + export type TAnyController = PROTO.ControllerPublic | PROTO.ControllerProtected; + + /** a naive Controller + + Represents a game controller. + + @see + */ + export class _Controller extends _Widget { + constructor(options: TAnyController) { + super({ ..._Controller.defaults(), ...options }); + } + + static defaults(): TAnyController { + return { + ...super.defaults(), + ...SCHEMA.IPublicController.default, + ...SCHEMA.IProtectedController.default + }; + } + } + + /** the concrete observable Controller */ + export const Controller = _HasTraits._traitMeta(_Controller); + + if (!NS['Controller']) { + NS['Controller'] = Controller; + } else { + console.log('Controller is already hoisted', NS['Controller']); + } + + // --- + + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; + + /** a naive Button + + Represents a gamepad or joystick button. + + @see + */ + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); + } + + static defaults(): TAnyButton { + return { + ...super.defaults(), + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default + }; + } + } + + /** the concrete observable Button */ + export const Button = _HasTraits._traitMeta(_Button); + + if (!NS['Button']) { + NS['Button'] = Button; + } else { + console.log('Button is already hoisted', NS['Button']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_controller'] + +export namespace ipywidgets_widgets_widget_core { + /** a type for the traits of CoreWidget*/ + export type TAnyCoreWidget = PROTO.CoreWidgetPublic | PROTO.CoreWidgetProtected; + + /** a naive CoreWidget + + None + + @see + */ + export class _CoreWidget extends _Widget { + constructor(options: TAnyCoreWidget) { + super({ ..._CoreWidget.defaults(), ...options }); + } + + static defaults(): TAnyCoreWidget { + return { + ...super.defaults(), + ...SCHEMA.IPublicCoreWidget.default, + ...SCHEMA.IProtectedCoreWidget.default + }; + } + } + + /** the concrete observable CoreWidget */ + export const CoreWidget = _HasTraits._traitMeta(_CoreWidget); + + if (!NS['CoreWidget']) { + NS['CoreWidget'] = CoreWidget; + } else { + console.log('CoreWidget is already hoisted', NS['CoreWidget']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_core'] + +export namespace ipywidgets_widgets_widget_description { + /** a type for the traits of DescriptionStyle*/ + export type TAnyDescriptionStyle = + | PROTO.DescriptionStylePublic + | PROTO.DescriptionStyleProtected; + + /** a naive DescriptionStyle + + Description style widget. + + @see + */ + export class _DescriptionStyle extends _Widget { + constructor(options: TAnyDescriptionStyle) { + super({ ..._DescriptionStyle.defaults(), ...options }); + } + + static defaults(): TAnyDescriptionStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicDescriptionStyle.default, + ...SCHEMA.IProtectedDescriptionStyle.default + }; + } + } + + /** the concrete observable DescriptionStyle */ + export const DescriptionStyle = _HasTraits._traitMeta( + _DescriptionStyle + ); + + if (!NS['DescriptionStyle']) { + NS['DescriptionStyle'] = DescriptionStyle; + } else { + console.log('DescriptionStyle is already hoisted', NS['DescriptionStyle']); + } + + // --- + + /** a type for the traits of DescriptionWidget*/ + export type TAnyDescriptionWidget = + | PROTO.DescriptionWidgetPublic + | PROTO.DescriptionWidgetProtected; + + /** a naive DescriptionWidget + + Widget that has a description label to the side. + + @see + */ + export class _DescriptionWidget extends _Widget { + constructor(options: TAnyDescriptionWidget) { + super({ ..._DescriptionWidget.defaults(), ...options }); + } + + static defaults(): TAnyDescriptionWidget { + return { + ...super.defaults(), + ...SCHEMA.IPublicDescriptionWidget.default, + ...SCHEMA.IProtectedDescriptionWidget.default + }; + } + } + + /** the concrete observable DescriptionWidget */ + export const DescriptionWidget = _HasTraits._traitMeta( + _DescriptionWidget + ); + + if (!NS['DescriptionWidget']) { + NS['DescriptionWidget'] = DescriptionWidget; + } else { + console.log('DescriptionWidget is already hoisted', NS['DescriptionWidget']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_description'] + +export namespace ipywidgets_widgets_widget_float { + /** a type for the traits of BoundedFloatText*/ + export type TAnyBoundedFloatText = + | PROTO.BoundedFloatTextPublic + | PROTO.BoundedFloatTextProtected; + + /** a naive BoundedFloatText + + Displays a float value within a textbox. Value must be within the range specified. + + For a textbox in which the value doesn't need to be within a specific range, use FloatText. + + Parameters + ---------- + value : float + value displayed + min : float + minimal value of the range of possible values displayed + max : float + maximal value of the range of possible values displayed + step : float + step of the increment (if None, any step is allowed) + description : str + description displayed next to the textbox + + + @see + */ + export class _BoundedFloatText extends _Widget { + constructor(options: TAnyBoundedFloatText) { + super({ ..._BoundedFloatText.defaults(), ...options }); + } + + static defaults(): TAnyBoundedFloatText { + return { + ...super.defaults(), + ...SCHEMA.IPublicBoundedFloatText.default, + ...SCHEMA.IProtectedBoundedFloatText.default + }; + } + } + + /** the concrete observable BoundedFloatText */ + export const BoundedFloatText = _HasTraits._traitMeta( + _BoundedFloatText + ); + + if (!NS['BoundedFloatText']) { + NS['BoundedFloatText'] = BoundedFloatText; + } else { + console.log('BoundedFloatText is already hoisted', NS['BoundedFloatText']); + } + + // --- + + /** a type for the traits of FloatProgress*/ + export type TAnyFloatProgress = + | PROTO.FloatProgressPublic + | PROTO.FloatProgressProtected; + + /** a naive FloatProgress + + Displays a progress bar. + + Parameters + ----------- + value : float + position within the range of the progress bar + min : float + minimal position of the slider + max : float + maximal position of the slider + description : str + name of the progress bar + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the progress bar + bar_style: {'success', 'info', 'warning', 'danger', ''} + color of the progress bar, default is '' (blue) + colors are: 'success'-green, 'info'-light blue, 'warning'-orange, 'danger'-red + + + @see + */ + export class _FloatProgress extends _Widget { + constructor(options: TAnyFloatProgress) { + super({ ..._FloatProgress.defaults(), ...options }); + } + + static defaults(): TAnyFloatProgress { + return { + ...super.defaults(), + ...SCHEMA.IPublicFloatProgress.default, + ...SCHEMA.IProtectedFloatProgress.default + }; + } + } + + /** the concrete observable FloatProgress */ + export const FloatProgress = _HasTraits._traitMeta(_FloatProgress); + + if (!NS['FloatProgress']) { + NS['FloatProgress'] = FloatProgress; + } else { + console.log('FloatProgress is already hoisted', NS['FloatProgress']); + } + + // --- + + /** a type for the traits of _Float*/ + export type TAny_Float = PROTO._FloatPublic | PROTO._FloatProtected; + + /** a naive _Float + + None + + @see + */ + export class __Float extends _Widget { + constructor(options: TAny_Float) { + super({ ...__Float.defaults(), ...options }); + } + + static defaults(): TAny_Float { + return { + ...super.defaults(), + ...SCHEMA.IPublic_Float.default, + ...SCHEMA.IProtected_Float.default + }; + } + } + + /** the concrete observable _Float */ + export const _Float = _HasTraits._traitMeta(__Float); + + if (!NS['_Float']) { + NS['_Float'] = _Float; + } else { + console.log('_Float is already hoisted', NS['_Float']); + } + + // --- + + /** a type for the traits of FloatSlider*/ + export type TAnyFloatSlider = PROTO.FloatSliderPublic | PROTO.FloatSliderProtected; + + /** a naive FloatSlider + + Slider/trackbar of floating values with the specified range. + + Parameters + ---------- + value : float + position of the slider + min : float + minimal position of the slider + max : float + maximal position of the slider + step : float + step of the trackbar + description : str + name of the slider + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the slider + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.2f', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). + + + @see + */ + export class _FloatSlider extends _Widget { + constructor(options: TAnyFloatSlider) { + super({ ..._FloatSlider.defaults(), ...options }); + } + + static defaults(): TAnyFloatSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicFloatSlider.default, + ...SCHEMA.IProtectedFloatSlider.default + }; + } + } + + /** the concrete observable FloatSlider */ + export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); + + if (!NS['FloatSlider']) { + NS['FloatSlider'] = FloatSlider; + } else { + console.log('FloatSlider is already hoisted', NS['FloatSlider']); + } + + // --- + + /** a type for the traits of _BoundedFloat*/ + export type TAny_BoundedFloat = + | PROTO._BoundedFloatPublic + | PROTO._BoundedFloatProtected; + + /** a naive _BoundedFloat + + None + + @see + */ + export class __BoundedFloat extends _Widget { + constructor(options: TAny_BoundedFloat) { + super({ ...__BoundedFloat.defaults(), ...options }); + } + + static defaults(): TAny_BoundedFloat { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedFloat.default, + ...SCHEMA.IProtected_BoundedFloat.default + }; + } + } + + /** the concrete observable _BoundedFloat */ + export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); + + if (!NS['_BoundedFloat']) { + NS['_BoundedFloat'] = _BoundedFloat; + } else { + console.log('_BoundedFloat is already hoisted', NS['_BoundedFloat']); + } + + // --- + + /** a type for the traits of _FloatRange*/ + export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; + + /** a naive _FloatRange + + None + + @see + */ + export class __FloatRange extends _Widget { + constructor(options: TAny_FloatRange) { + super({ ...__FloatRange.defaults(), ...options }); + } + + static defaults(): TAny_FloatRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_FloatRange.default, + ...SCHEMA.IProtected_FloatRange.default + }; + } + } + + /** the concrete observable _FloatRange */ + export const _FloatRange = _HasTraits._traitMeta(__FloatRange); + + if (!NS['_FloatRange']) { + NS['_FloatRange'] = _FloatRange; + } else { + console.log('_FloatRange is already hoisted', NS['_FloatRange']); + } + + // --- + + /** a type for the traits of _BoundedLogFloat*/ + export type TAny_BoundedLogFloat = + | PROTO._BoundedLogFloatPublic + | PROTO._BoundedLogFloatProtected; + + /** a naive _BoundedLogFloat + + None + + @see + */ + export class __BoundedLogFloat extends _Widget { + constructor(options: TAny_BoundedLogFloat) { + super({ ...__BoundedLogFloat.defaults(), ...options }); + } + + static defaults(): TAny_BoundedLogFloat { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedLogFloat.default, + ...SCHEMA.IProtected_BoundedLogFloat.default + }; + } + } + + /** the concrete observable _BoundedLogFloat */ + export const _BoundedLogFloat = _HasTraits._traitMeta( + __BoundedLogFloat + ); + + if (!NS['_BoundedLogFloat']) { + NS['_BoundedLogFloat'] = _BoundedLogFloat; + } else { + console.log('_BoundedLogFloat is already hoisted', NS['_BoundedLogFloat']); + } + + // --- + + /** a type for the traits of _BoundedFloatRange*/ + export type TAny_BoundedFloatRange = + | PROTO._BoundedFloatRangePublic + | PROTO._BoundedFloatRangeProtected; + + /** a naive _BoundedFloatRange + + None + + @see + */ + export class __BoundedFloatRange extends _Widget { + constructor(options: TAny_BoundedFloatRange) { + super({ ...__BoundedFloatRange.defaults(), ...options }); + } + + static defaults(): TAny_BoundedFloatRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedFloatRange.default, + ...SCHEMA.IProtected_BoundedFloatRange.default + }; + } + } + + /** the concrete observable _BoundedFloatRange */ + export const _BoundedFloatRange = _HasTraits._traitMeta( + __BoundedFloatRange + ); + + if (!NS['_BoundedFloatRange']) { + NS['_BoundedFloatRange'] = _BoundedFloatRange; + } else { + console.log('_BoundedFloatRange is already hoisted', NS['_BoundedFloatRange']); + } + + // --- + + /** a type for the traits of FloatLogSlider*/ + export type TAnyFloatLogSlider = + | PROTO.FloatLogSliderPublic + | PROTO.FloatLogSliderProtected; + + /** a naive FloatLogSlider + + Slider/trackbar of logarithmic floating values with the specified range. + + Parameters + ---------- + value : float + position of the slider + base : float + base of the logarithmic scale. Default is 10 + min : float + minimal position of the slider in log scale, i.e., actual minimum is base ** min + max : float + maximal position of the slider in log scale, i.e., actual maximum is base ** max + step : float + step of the trackbar, denotes steps for the exponent, not the actual value + description : str + name of the slider + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the slider + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.3g', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). + + + @see + */ + export class _FloatLogSlider extends _Widget { + constructor(options: TAnyFloatLogSlider) { + super({ ..._FloatLogSlider.defaults(), ...options }); + } + + static defaults(): TAnyFloatLogSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicFloatLogSlider.default, + ...SCHEMA.IProtectedFloatLogSlider.default + }; + } + } + + /** the concrete observable FloatLogSlider */ + export const FloatLogSlider = _HasTraits._traitMeta( + _FloatLogSlider + ); + + if (!NS['FloatLogSlider']) { + NS['FloatLogSlider'] = FloatLogSlider; + } else { + console.log('FloatLogSlider is already hoisted', NS['FloatLogSlider']); + } + + // --- + + /** a type for the traits of FloatRangeSlider*/ + export type TAnyFloatRangeSlider = + | PROTO.FloatRangeSliderPublic + | PROTO.FloatRangeSliderProtected; + + /** a naive FloatRangeSlider + + Slider/trackbar that represents a pair of floats bounded by minimum and maximum value. + + Parameters + ---------- + value : float tuple + range of the slider displayed + min : float + minimal position of the slider + max : float + maximal position of the slider + step : float + step of the trackbar + description : str + name of the slider + orientation : {'horizontal', 'vertical'} + default is 'horizontal' + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.2f', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). + + + @see + */ + export class _FloatRangeSlider extends _Widget { + constructor(options: TAnyFloatRangeSlider) { + super({ ..._FloatRangeSlider.defaults(), ...options }); + } + + static defaults(): TAnyFloatRangeSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicFloatRangeSlider.default, + ...SCHEMA.IProtectedFloatRangeSlider.default + }; + } + } + + /** the concrete observable FloatRangeSlider */ + export const FloatRangeSlider = _HasTraits._traitMeta( + _FloatRangeSlider + ); + + if (!NS['FloatRangeSlider']) { + NS['FloatRangeSlider'] = FloatRangeSlider; + } else { + console.log('FloatRangeSlider is already hoisted', NS['FloatRangeSlider']); + } + + // --- + + /** a type for the traits of FloatText*/ + export type TAnyFloatText = PROTO.FloatTextPublic | PROTO.FloatTextProtected; + + /** a naive FloatText + + Displays a float value within a textbox. For a textbox in + which the value must be within a specific range, use BoundedFloatText. + + Parameters + ---------- + value : float + value displayed + step : float + step of the increment (if None, any step is allowed) + description : str + description displayed next to the text box + + + @see + */ + export class _FloatText extends _Widget { + constructor(options: TAnyFloatText) { + super({ ..._FloatText.defaults(), ...options }); + } + + static defaults(): TAnyFloatText { + return { + ...super.defaults(), + ...SCHEMA.IPublicFloatText.default, + ...SCHEMA.IProtectedFloatText.default + }; + } + } + + /** the concrete observable FloatText */ + export const FloatText = _HasTraits._traitMeta(_FloatText); + + if (!NS['FloatText']) { + NS['FloatText'] = FloatText; + } else { + console.log('FloatText is already hoisted', NS['FloatText']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_float'] + +export namespace ipywidgets_widgets_widget_int { + /** a type for the traits of _Int*/ + export type TAny_Int = PROTO._IntPublic | PROTO._IntProtected; + + /** a naive _Int + + Base class for widgets that represent an integer. + + @see + */ + export class __Int extends _Widget { + constructor(options: TAny_Int) { + super({ ...__Int.defaults(), ...options }); + } + + static defaults(): TAny_Int { + return { + ...super.defaults(), + ...SCHEMA.IPublic_Int.default, + ...SCHEMA.IProtected_Int.default + }; + } + } + + /** the concrete observable _Int */ + export const _Int = _HasTraits._traitMeta(__Int); + + if (!NS['_Int']) { + NS['_Int'] = _Int; + } else { + console.log('_Int is already hoisted', NS['_Int']); + } + + // --- + + /** a type for the traits of _IntRange*/ + export type TAny_IntRange = PROTO._IntRangePublic | PROTO._IntRangeProtected; + + /** a naive _IntRange + + None + + @see + */ + export class __IntRange extends _Widget { + constructor(options: TAny_IntRange) { + super({ ...__IntRange.defaults(), ...options }); + } + + static defaults(): TAny_IntRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_IntRange.default, + ...SCHEMA.IProtected_IntRange.default + }; + } + } + + /** the concrete observable _IntRange */ + export const _IntRange = _HasTraits._traitMeta(__IntRange); + + if (!NS['_IntRange']) { + NS['_IntRange'] = _IntRange; + } else { + console.log('_IntRange is already hoisted', NS['_IntRange']); + } + + // --- + + /** a type for the traits of SliderStyle*/ + export type TAnySliderStyle = PROTO.SliderStylePublic | PROTO.SliderStyleProtected; + + /** a naive SliderStyle + + Button style widget. + + @see + */ + export class _SliderStyle extends _Widget { + constructor(options: TAnySliderStyle) { + super({ ..._SliderStyle.defaults(), ...options }); + } + + static defaults(): TAnySliderStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicSliderStyle.default, + ...SCHEMA.IProtectedSliderStyle.default + }; + } + } + + /** the concrete observable SliderStyle */ + export const SliderStyle = _HasTraits._traitMeta(_SliderStyle); + + if (!NS['SliderStyle']) { + NS['SliderStyle'] = SliderStyle; + } else { + console.log('SliderStyle is already hoisted', NS['SliderStyle']); + } + + // --- + + /** a type for the traits of IntSlider*/ + export type TAnyIntSlider = PROTO.IntSliderPublic | PROTO.IntSliderProtected; + + /** a naive IntSlider + + Slider widget that represents an integer bounded from above and below. + + + @see + */ + export class _IntSlider extends _Widget { + constructor(options: TAnyIntSlider) { + super({ ..._IntSlider.defaults(), ...options }); + } + + static defaults(): TAnyIntSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntSlider.default, + ...SCHEMA.IProtectedIntSlider.default + }; + } + } + + /** the concrete observable IntSlider */ + export const IntSlider = _HasTraits._traitMeta(_IntSlider); + + if (!NS['IntSlider']) { + NS['IntSlider'] = IntSlider; + } else { + console.log('IntSlider is already hoisted', NS['IntSlider']); + } + + // --- + + /** a type for the traits of Play*/ + export type TAnyPlay = PROTO.PlayPublic | PROTO.PlayProtected; + + /** a naive Play + + Play/repeat buttons to step through values automatically, and optionally loop. + + + @see + */ + export class _Play extends _Widget { + constructor(options: TAnyPlay) { + super({ ..._Play.defaults(), ...options }); + } + + static defaults(): TAnyPlay { + return { + ...super.defaults(), + ...SCHEMA.IPublicPlay.default, + ...SCHEMA.IProtectedPlay.default + }; + } + } + + /** the concrete observable Play */ + export const Play = _HasTraits._traitMeta(_Play); + + if (!NS['Play']) { + NS['Play'] = Play; + } else { + console.log('Play is already hoisted', NS['Play']); + } + + // --- + + /** a type for the traits of BoundedIntText*/ + export type TAnyBoundedIntText = + | PROTO.BoundedIntTextPublic + | PROTO.BoundedIntTextProtected; + + /** a naive BoundedIntText + + Textbox widget that represents an integer bounded from above and below. + + + @see + */ + export class _BoundedIntText extends _Widget { + constructor(options: TAnyBoundedIntText) { + super({ ..._BoundedIntText.defaults(), ...options }); + } + + static defaults(): TAnyBoundedIntText { + return { + ...super.defaults(), + ...SCHEMA.IPublicBoundedIntText.default, + ...SCHEMA.IProtectedBoundedIntText.default + }; + } + } + + /** the concrete observable BoundedIntText */ + export const BoundedIntText = _HasTraits._traitMeta( + _BoundedIntText + ); + + if (!NS['BoundedIntText']) { + NS['BoundedIntText'] = BoundedIntText; + } else { + console.log('BoundedIntText is already hoisted', NS['BoundedIntText']); + } + + // --- + + /** a type for the traits of IntText*/ + export type TAnyIntText = PROTO.IntTextPublic | PROTO.IntTextProtected; + + /** a naive IntText + + Textbox widget that represents an integer. + + @see + */ + export class _IntText extends _Widget { + constructor(options: TAnyIntText) { + super({ ..._IntText.defaults(), ...options }); + } + + static defaults(): TAnyIntText { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntText.default, + ...SCHEMA.IProtectedIntText.default + }; + } + } + + /** the concrete observable IntText */ + export const IntText = _HasTraits._traitMeta(_IntText); + + if (!NS['IntText']) { + NS['IntText'] = IntText; + } else { + console.log('IntText is already hoisted', NS['IntText']); + } + + // --- + + /** a type for the traits of ProgressStyle*/ + export type TAnyProgressStyle = + | PROTO.ProgressStylePublic + | PROTO.ProgressStyleProtected; + + /** a naive ProgressStyle + + Button style widget. + + @see + */ + export class _ProgressStyle extends _Widget { + constructor(options: TAnyProgressStyle) { + super({ ..._ProgressStyle.defaults(), ...options }); + } + + static defaults(): TAnyProgressStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicProgressStyle.default, + ...SCHEMA.IProtectedProgressStyle.default + }; + } + } + + /** the concrete observable ProgressStyle */ + export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + + if (!NS['ProgressStyle']) { + NS['ProgressStyle'] = ProgressStyle; + } else { + console.log('ProgressStyle is already hoisted', NS['ProgressStyle']); + } + + // --- + + /** a type for the traits of _BoundedIntRange*/ + export type TAny_BoundedIntRange = + | PROTO._BoundedIntRangePublic + | PROTO._BoundedIntRangeProtected; + + /** a naive _BoundedIntRange + + None + + @see + */ + export class __BoundedIntRange extends _Widget { + constructor(options: TAny_BoundedIntRange) { + super({ ...__BoundedIntRange.defaults(), ...options }); + } + + static defaults(): TAny_BoundedIntRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedIntRange.default, + ...SCHEMA.IProtected_BoundedIntRange.default + }; + } + } + + /** the concrete observable _BoundedIntRange */ + export const _BoundedIntRange = _HasTraits._traitMeta( + __BoundedIntRange + ); + + if (!NS['_BoundedIntRange']) { + NS['_BoundedIntRange'] = _BoundedIntRange; + } else { + console.log('_BoundedIntRange is already hoisted', NS['_BoundedIntRange']); + } + + // --- + + /** a type for the traits of IntProgress*/ + export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; + + /** a naive IntProgress + + Progress bar that represents an integer bounded from above and below. + + + @see + */ + export class _IntProgress extends _Widget { + constructor(options: TAnyIntProgress) { + super({ ..._IntProgress.defaults(), ...options }); + } + + static defaults(): TAnyIntProgress { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntProgress.default, + ...SCHEMA.IProtectedIntProgress.default + }; + } + } + + /** the concrete observable IntProgress */ + export const IntProgress = _HasTraits._traitMeta(_IntProgress); + + if (!NS['IntProgress']) { + NS['IntProgress'] = IntProgress; + } else { + console.log('IntProgress is already hoisted', NS['IntProgress']); + } + + // --- + + /** a type for the traits of IntRangeSlider*/ + export type TAnyIntRangeSlider = + | PROTO.IntRangeSliderPublic + | PROTO.IntRangeSliderProtected; + + /** a naive IntRangeSlider + + Slider/trackbar that represents a pair of ints bounded by minimum and maximum value. + + Parameters + ---------- + value : int tuple + The pair (`lower`, `upper`) of integers + min : int + The lowest allowed value for `lower` + max : int + The highest allowed value for `upper` + + + @see + */ + export class _IntRangeSlider extends _Widget { + constructor(options: TAnyIntRangeSlider) { + super({ ..._IntRangeSlider.defaults(), ...options }); + } + + static defaults(): TAnyIntRangeSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntRangeSlider.default, + ...SCHEMA.IProtectedIntRangeSlider.default + }; + } + } + + /** the concrete observable IntRangeSlider */ + export const IntRangeSlider = _HasTraits._traitMeta( + _IntRangeSlider + ); + + if (!NS['IntRangeSlider']) { + NS['IntRangeSlider'] = IntRangeSlider; + } else { + console.log('IntRangeSlider is already hoisted', NS['IntRangeSlider']); + } + + // --- + + /** a type for the traits of _BoundedInt*/ + export type TAny_BoundedInt = PROTO._BoundedIntPublic | PROTO._BoundedIntProtected; + + /** a naive _BoundedInt + + Base class for widgets that represent an integer bounded from above and below. + + + @see + */ + export class __BoundedInt extends _Widget { + constructor(options: TAny_BoundedInt) { + super({ ...__BoundedInt.defaults(), ...options }); + } + + static defaults(): TAny_BoundedInt { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedInt.default, + ...SCHEMA.IProtected_BoundedInt.default + }; + } + } + + /** the concrete observable _BoundedInt */ + export const _BoundedInt = _HasTraits._traitMeta(__BoundedInt); + + if (!NS['_BoundedInt']) { + NS['_BoundedInt'] = _BoundedInt; + } else { + console.log('_BoundedInt is already hoisted', NS['_BoundedInt']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_int'] + +export namespace ipywidgets_widgets_widget_layout { + /** a type for the traits of Layout*/ + export type TAnyLayout = PROTO.LayoutPublic | PROTO.LayoutProtected; + + /** a naive Layout + + Layout specification + + Defines a layout that can be expressed using CSS. Supports a subset of + https://developer.mozilla.org/en-US/docs/Web/CSS/Reference + + When a property is also accessible via a shorthand property, we only + expose the shorthand. + + For example: + - ``flex-grow``, ``flex-shrink`` and ``flex-basis`` are bound to ``flex``. + - ``flex-wrap`` and ``flex-direction`` are bound to ``flex-flow``. + - ``margin-[top/bottom/left/right]`` values are bound to ``margin``, etc. + + + @see + */ + export class _Layout extends _Widget { + constructor(options: TAnyLayout) { + super({ ..._Layout.defaults(), ...options }); + } + + static defaults(): TAnyLayout { + return { + ...super.defaults(), + ...SCHEMA.IPublicLayout.default, + ...SCHEMA.IProtectedLayout.default + }; + } + } + + /** the concrete observable Layout */ + export const Layout = _HasTraits._traitMeta(_Layout); + + if (!NS['Layout']) { + NS['Layout'] = Layout; + } else { + console.log('Layout is already hoisted', NS['Layout']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_layout'] + +export namespace ipywidgets_widgets_widget_media { + /** a type for the traits of _Media*/ + export type TAny_Media = PROTO._MediaPublic | PROTO._MediaProtected; + + /** a naive _Media + + Base class for Image, Audio and Video widgets. + + The `value` of this widget accepts a byte string. The byte string is the + raw data that you want the browser to display. + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see + */ + export class __Media extends _Widget { + constructor(options: TAny_Media) { + super({ ...__Media.defaults(), ...options }); + } + + static defaults(): TAny_Media { + return { + ...super.defaults(), + ...SCHEMA.IPublic_Media.default, + ...SCHEMA.IProtected_Media.default + }; + } + } + + /** the concrete observable _Media */ + export const _Media = _HasTraits._traitMeta(__Media); + + if (!NS['_Media']) { + NS['_Media'] = _Media; + } else { + console.log('_Media is already hoisted', NS['_Media']); + } + + // --- + + /** a type for the traits of Audio*/ + export type TAnyAudio = PROTO.AudioPublic | PROTO.AudioProtected; + + /** a naive Audio + + Displays a audio as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw audio data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "mp3"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see + */ + export class _Audio extends _Widget { + constructor(options: TAnyAudio) { + super({ ..._Audio.defaults(), ...options }); + } + + static defaults(): TAnyAudio { + return { + ...super.defaults(), + ...SCHEMA.IPublicAudio.default, + ...SCHEMA.IProtectedAudio.default + }; + } + } + + /** the concrete observable Audio */ + export const Audio = _HasTraits._traitMeta(_Audio); + + if (!NS['Audio']) { + NS['Audio'] = Audio; + } else { + console.log('Audio is already hoisted', NS['Audio']); + } + + // --- + + /** a type for the traits of Image*/ + export type TAnyImage = PROTO.ImagePublic | PROTO.ImageProtected; + + /** a naive Image + + Displays an image as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw image data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "png"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see + */ + export class _Image extends _Widget { + constructor(options: TAnyImage) { + super({ ..._Image.defaults(), ...options }); + } + + static defaults(): TAnyImage { + return { + ...super.defaults(), + ...SCHEMA.IPublicImage.default, + ...SCHEMA.IProtectedImage.default + }; + } + } + + /** the concrete observable Image */ + export const Image = _HasTraits._traitMeta(_Image); + + if (!NS['Image']) { + NS['Image'] = Image; + } else { + console.log('Image is already hoisted', NS['Image']); + } + + // --- + + /** a type for the traits of Video*/ + export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; + + /** a naive Video + + Displays a video as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw video data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "mp4"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see + */ + export class _Video extends _Widget { + constructor(options: TAnyVideo) { + super({ ..._Video.defaults(), ...options }); + } + + static defaults(): TAnyVideo { + return { + ...super.defaults(), + ...SCHEMA.IPublicVideo.default, + ...SCHEMA.IProtectedVideo.default + }; + } + } + + /** the concrete observable Video */ + export const Video = _HasTraits._traitMeta(_Video); + + if (!NS['Video']) { + NS['Video'] = Video; + } else { + console.log('Video is already hoisted', NS['Video']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_media'] + +export namespace ipywidgets_widgets_widget_output { + /** a type for the traits of Output*/ + export type TAnyOutput = PROTO.OutputPublic | PROTO.OutputProtected; + + /** a naive Output + + Widget used as a context manager to display output. + + This widget can capture and display stdout, stderr, and rich output. To use + it, create an instance of it and display it. + + You can then use the widget as a context manager: any output produced while in the + context will be captured and displayed in the widget instead of the standard output + area. + + You can also use the .capture() method to decorate a function or a method. Any output + produced by the function will then go to the output widget. This is useful for + debugging widget callbacks, for example. + + Example:: + import ipywidgets as widgets + from IPython.display import display + out = widgets.Output() + display(out) + + print('prints to output area') + + with out: + print('prints to output widget') + + @out.capture() + def func(): + print('prints to output widget') + + + @see + */ + export class _Output extends _Widget { + constructor(options: TAnyOutput) { + super({ ..._Output.defaults(), ...options }); + } + + static defaults(): TAnyOutput { + return { + ...super.defaults(), + ...SCHEMA.IPublicOutput.default, + ...SCHEMA.IProtectedOutput.default + }; + } + } + + /** the concrete observable Output */ + export const Output = _HasTraits._traitMeta(_Output); + + if (!NS['Output']) { + NS['Output'] = Output; + } else { + console.log('Output is already hoisted', NS['Output']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_output'] + +export namespace ipywidgets_widgets_widget_selection { + /** a type for the traits of SelectMultiple*/ + export type TAnySelectMultiple = + | PROTO.SelectMultiplePublic + | PROTO.SelectMultipleProtected; + + /** a naive SelectMultiple + + + Listbox that allows many items to be selected at any given time. + + The ``value``, ``label`` and ``index`` attributes are all iterables. + + Parameters + ---------- + options: dict or list + The options for the dropdown. This can either be a list of values, e.g. + ``['Galileo', 'Brahe', 'Hubble']`` or ``[0, 1, 2]``, a list of + (label, value) pairs, e.g. + ``[('Galileo', 0), ('Brahe', 1), ('Hubble', 2)]``, + or a dictionary mapping the labels to the values, e.g. ``{'Galileo': 0, + 'Brahe': 1, 'Hubble': 2}``. The labels are the strings that will be + displayed in the UI, representing the actual Python choices, and should + be unique. If this is a dictionary, the order in which they are + displayed is not guaranteed. + + index: iterable of int + The indices of the options that are selected. + + value: iterable + The values that are selected. When programmatically setting the + value, a reverse lookup is performed among the options to check that + the value is valid. The reverse lookup uses the equality operator by + default, but another predicate may be provided via the ``equals`` + keyword argument. For example, when dealing with numpy arrays, one may + set ``equals=np.array_equal``. + + label: iterable of str + The labels corresponding to the selected value. + + disabled: bool + Whether to disable user changes. + + description: str + Label for this input group. This should be a string + describing the widget. + + rows: int + The number of rows to display in the widget. + + + @see + */ + export class _SelectMultiple extends _Widget { + constructor(options: TAnySelectMultiple) { + super({ ..._SelectMultiple.defaults(), ...options }); + } + + static defaults(): TAnySelectMultiple { + return { + ...super.defaults(), + ...SCHEMA.IPublicSelectMultiple.default, + ...SCHEMA.IProtectedSelectMultiple.default + }; + } + } + + /** the concrete observable SelectMultiple */ + export const SelectMultiple = _HasTraits._traitMeta( + _SelectMultiple + ); + + if (!NS['SelectMultiple']) { + NS['SelectMultiple'] = SelectMultiple; + } else { + console.log('SelectMultiple is already hoisted', NS['SelectMultiple']); + } + + // --- + + /** a type for the traits of ToggleButtonsStyle*/ + export type TAnyToggleButtonsStyle = + | PROTO.ToggleButtonsStylePublic + | PROTO.ToggleButtonsStyleProtected; + + /** a naive ToggleButtonsStyle + + Button style widget. + + Parameters + ---------- + button_width: str + The width of each button. This should be a valid CSS + width, e.g. '10px' or '5em'. + + font_weight: str + The text font weight of each button, This should be a valid CSS font + weight unit, for example 'bold' or '600' + + + @see + */ + export class _ToggleButtonsStyle extends _Widget { + constructor(options: TAnyToggleButtonsStyle) { + super({ ..._ToggleButtonsStyle.defaults(), ...options }); + } + + static defaults(): TAnyToggleButtonsStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicToggleButtonsStyle.default, + ...SCHEMA.IProtectedToggleButtonsStyle.default + }; + } + } + + /** the concrete observable ToggleButtonsStyle */ + export const ToggleButtonsStyle = _HasTraits._traitMeta( + _ToggleButtonsStyle + ); + + if (!NS['ToggleButtonsStyle']) { + NS['ToggleButtonsStyle'] = ToggleButtonsStyle; + } else { + console.log('ToggleButtonsStyle is already hoisted', NS['ToggleButtonsStyle']); + } + + // --- + + /** a type for the traits of _MultipleSelection*/ + export type TAny_MultipleSelection = + | PROTO._MultipleSelectionPublic + | PROTO._MultipleSelectionProtected; + + /** a naive _MultipleSelection + + Base class for multiple Selection widgets + + ``options`` can be specified as a list of values, list of (label, value) + tuples, or a dict of {label: value}. The labels are the strings that will be + displayed in the UI, representing the actual Python choices, and should be + unique. If labels are not specified, they are generated from the values. + + When programmatically setting the value, a reverse lookup is performed + among the options to check that the value is valid. The reverse lookup uses + the equality operator by default, but another predicate may be provided via + the ``equals`` keyword argument. For example, when dealing with numpy arrays, + one may set equals=np.array_equal. + + + @see + */ + export class __MultipleSelection extends _Widget { + constructor(options: TAny_MultipleSelection) { + super({ ...__MultipleSelection.defaults(), ...options }); + } + + static defaults(): TAny_MultipleSelection { + return { + ...super.defaults(), + ...SCHEMA.IPublic_MultipleSelection.default, + ...SCHEMA.IProtected_MultipleSelection.default + }; + } + } + + /** the concrete observable _MultipleSelection */ + export const _MultipleSelection = _HasTraits._traitMeta( + __MultipleSelection + ); + + if (!NS['_MultipleSelection']) { + NS['_MultipleSelection'] = _MultipleSelection; + } else { + console.log('_MultipleSelection is already hoisted', NS['_MultipleSelection']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_selection'] + +export namespace ipywidgets_widgets_widget_selectioncontainer { + /** a type for the traits of Tab*/ + export type TAnyTab = PROTO.TabPublic | PROTO.TabProtected; + + /** a naive Tab + + Displays children each on a separate accordion tab. + + @see + */ + export class _Tab extends _Widget { + constructor(options: TAnyTab) { + super({ ..._Tab.defaults(), ...options }); + } + + static defaults(): TAnyTab { + return { + ...super.defaults(), + ...SCHEMA.IPublicTab.default, + ...SCHEMA.IProtectedTab.default + }; + } + } + + /** the concrete observable Tab */ + export const Tab = _HasTraits._traitMeta(_Tab); + + if (!NS['Tab']) { + NS['Tab'] = Tab; + } else { + console.log('Tab is already hoisted', NS['Tab']); + } + + // --- + + /** a type for the traits of _SelectionContainer*/ + export type TAny_SelectionContainer = + | PROTO._SelectionContainerPublic + | PROTO._SelectionContainerProtected; + + /** a naive _SelectionContainer + + Base class used to display multiple child widgets. + + @see + */ + export class __SelectionContainer extends _Widget { + constructor(options: TAny_SelectionContainer) { + super({ ...__SelectionContainer.defaults(), ...options }); + } + + static defaults(): TAny_SelectionContainer { + return { + ...super.defaults(), + ...SCHEMA.IPublic_SelectionContainer.default, + ...SCHEMA.IProtected_SelectionContainer.default + }; + } + } + + /** the concrete observable _SelectionContainer */ + export const _SelectionContainer = _HasTraits._traitMeta( + __SelectionContainer + ); + + if (!NS['_SelectionContainer']) { + NS['_SelectionContainer'] = _SelectionContainer; + } else { + console.log('_SelectionContainer is already hoisted', NS['_SelectionContainer']); + } + + // --- + + /** a type for the traits of Accordion*/ + export type TAnyAccordion = PROTO.AccordionPublic | PROTO.AccordionProtected; + + /** a naive Accordion + + Displays children each on a separate accordion page. + + @see + */ + export class _Accordion extends _Widget { + constructor(options: TAnyAccordion) { + super({ ..._Accordion.defaults(), ...options }); + } + + static defaults(): TAnyAccordion { + return { + ...super.defaults(), + ...SCHEMA.IPublicAccordion.default, + ...SCHEMA.IProtectedAccordion.default + }; + } + } + + /** the concrete observable Accordion */ + export const Accordion = _HasTraits._traitMeta(_Accordion); + + if (!NS['Accordion']) { + NS['Accordion'] = Accordion; + } else { + console.log('Accordion is already hoisted', NS['Accordion']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_selectioncontainer'] + +export namespace ipywidgets_widgets_widget_string { + /** a type for the traits of Textarea*/ + export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; + + /** a naive Textarea + + Multiline text area widget. + + @see + */ + export class _Textarea extends _Widget { + constructor(options: TAnyTextarea) { + super({ ..._Textarea.defaults(), ...options }); + } + + static defaults(): TAnyTextarea { + return { + ...super.defaults(), + ...SCHEMA.IPublicTextarea.default, + ...SCHEMA.IProtectedTextarea.default + }; + } + } + + /** the concrete observable Textarea */ + export const Textarea = _HasTraits._traitMeta(_Textarea); + + if (!NS['Textarea']) { + NS['Textarea'] = Textarea; + } else { + console.log('Textarea is already hoisted', NS['Textarea']); + } + + // --- + + /** a type for the traits of Text*/ + export type TAnyText = PROTO.TextPublic | PROTO.TextProtected; + + /** a naive Text + + Single line textbox widget. + + @see + */ + export class _Text extends _Widget { + constructor(options: TAnyText) { + super({ ..._Text.defaults(), ...options }); + } + + static defaults(): TAnyText { + return { + ...super.defaults(), + ...SCHEMA.IPublicText.default, + ...SCHEMA.IProtectedText.default + }; + } + } + + /** the concrete observable Text */ + export const Text = _HasTraits._traitMeta(_Text); + + if (!NS['Text']) { + NS['Text'] = Text; + } else { + console.log('Text is already hoisted', NS['Text']); + } + + // --- + + /** a type for the traits of _String*/ + export type TAny_String = PROTO._StringPublic | PROTO._StringProtected; + + /** a naive _String + + Base class used to create widgets that represent a string. + + @see + */ + export class __String extends _Widget { + constructor(options: TAny_String) { + super({ ...__String.defaults(), ...options }); + } + + static defaults(): TAny_String { + return { + ...super.defaults(), + ...SCHEMA.IPublic_String.default, + ...SCHEMA.IProtected_String.default + }; + } + } + + /** the concrete observable _String */ + export const _String = _HasTraits._traitMeta(__String); + + if (!NS['_String']) { + NS['_String'] = _String; + } else { + console.log('_String is already hoisted', NS['_String']); + } + + // --- + + /** a type for the traits of Password*/ + export type TAnyPassword = PROTO.PasswordPublic | PROTO.PasswordProtected; + + /** a naive Password + + Single line textbox widget. + + @see + */ + export class _Password extends _Widget { + constructor(options: TAnyPassword) { + super({ ..._Password.defaults(), ...options }); + } + + static defaults(): TAnyPassword { + return { + ...super.defaults(), + ...SCHEMA.IPublicPassword.default, + ...SCHEMA.IProtectedPassword.default + }; + } + } + + /** the concrete observable Password */ + export const Password = _HasTraits._traitMeta(_Password); + + if (!NS['Password']) { + NS['Password'] = Password; + } else { + console.log('Password is already hoisted', NS['Password']); + } + + // --- + + /** a type for the traits of HTML*/ + export type TAnyHTML = PROTO.HTMLPublic | PROTO.HTMLProtected; + + /** a naive HTML + + Renders the string `value` as HTML. + + @see + */ + export class _HTML extends _Widget { + constructor(options: TAnyHTML) { + super({ ..._HTML.defaults(), ...options }); + } + + static defaults(): TAnyHTML { + return { + ...super.defaults(), + ...SCHEMA.IPublicHTML.default, + ...SCHEMA.IProtectedHTML.default + }; + } + } + + /** the concrete observable HTML */ + export const HTML = _HasTraits._traitMeta(_HTML); + + if (!NS['HTML']) { + NS['HTML'] = HTML; + } else { + console.log('HTML is already hoisted', NS['HTML']); + } + + // --- + + /** a type for the traits of Combobox*/ + export type TAnyCombobox = PROTO.ComboboxPublic | PROTO.ComboboxProtected; + + /** a naive Combobox + + Single line textbox widget with a dropdown and autocompletion. + + + @see + */ + export class _Combobox extends _Widget { + constructor(options: TAnyCombobox) { + super({ ..._Combobox.defaults(), ...options }); + } + + static defaults(): TAnyCombobox { + return { + ...super.defaults(), + ...SCHEMA.IPublicCombobox.default, + ...SCHEMA.IProtectedCombobox.default + }; + } + } + + /** the concrete observable Combobox */ + export const Combobox = _HasTraits._traitMeta(_Combobox); + + if (!NS['Combobox']) { + NS['Combobox'] = Combobox; + } else { + console.log('Combobox is already hoisted', NS['Combobox']); + } + + // --- + + /** a type for the traits of HTMLMath*/ + export type TAnyHTMLMath = PROTO.HTMLMathPublic | PROTO.HTMLMathProtected; + + /** a naive HTMLMath + + Renders the string `value` as HTML, and render mathematics. + + @see + */ + export class _HTMLMath extends _Widget { + constructor(options: TAnyHTMLMath) { + super({ ..._HTMLMath.defaults(), ...options }); + } + + static defaults(): TAnyHTMLMath { + return { + ...super.defaults(), + ...SCHEMA.IPublicHTMLMath.default, + ...SCHEMA.IProtectedHTMLMath.default + }; + } + } + + /** the concrete observable HTMLMath */ + export const HTMLMath = _HasTraits._traitMeta(_HTMLMath); + + if (!NS['HTMLMath']) { + NS['HTMLMath'] = HTMLMath; + } else { + console.log('HTMLMath is already hoisted', NS['HTMLMath']); + } + + // --- + + /** a type for the traits of Label*/ + export type TAnyLabel = PROTO.LabelPublic | PROTO.LabelProtected; + + /** a naive Label + + Label widget. + + It also renders math inside the string `value` as Latex (requires $ $ or + $$ $$ and similar latex tags). + + + @see + */ + export class _Label extends _Widget { + constructor(options: TAnyLabel) { + super({ ..._Label.defaults(), ...options }); + } + + static defaults(): TAnyLabel { + return { + ...super.defaults(), + ...SCHEMA.IPublicLabel.default, + ...SCHEMA.IProtectedLabel.default + }; + } + } + + /** the concrete observable Label */ + export const Label = _HasTraits._traitMeta(_Label); + + if (!NS['Label']) { + NS['Label'] = Label; + } else { + console.log('Label is already hoisted', NS['Label']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_string'] + +export namespace ipywidgets_widgets_widget_style { + /** a type for the traits of Style*/ + export type TAnyStyle = PROTO.StylePublic | PROTO.StyleProtected; + + /** a naive Style + + Style specification + + @see + */ + export class _Style extends _Widget { + constructor(options: TAnyStyle) { + super({ ..._Style.defaults(), ...options }); + } + + static defaults(): TAnyStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicStyle.default, + ...SCHEMA.IProtectedStyle.default + }; + } + } + + /** the concrete observable Style */ + export const Style = _HasTraits._traitMeta(_Style); + + if (!NS['Style']) { + NS['Style'] = Style; + } else { + console.log('Style is already hoisted', NS['Style']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_style'] + +export namespace ipywidgets_widgets_widget_templates { + /** a type for the traits of TwoByTwoLayout*/ + export type TAnyTwoByTwoLayout = + | PROTO.TwoByTwoLayoutPublic + | PROTO.TwoByTwoLayoutProtected; + + /** a naive TwoByTwoLayout + + Define a layout with 2x2 regular grid. + + Parameters + ---------- + + top_left: instance of Widget + top_right: instance of Widget + bottom_left: instance of Widget + bottom_right: instance of Widget + widgets to fill the positions in the layout + + merge: bool + flag to say whether the empty positions should be automatically merged + + grid_gap : str + CSS attribute used to set the gap between the grid cells + + justify_content : str, in ['flex-start', 'flex-end', 'center', 'space-between', 'space-around'] + CSS attribute used to align widgets vertically + + align_items : str, in ['top', 'bottom', 'center', 'flex-start', 'flex-end', 'baseline', 'stretch'] + CSS attribute used to align widgets horizontally + + width : str + height : str + width and height + + Examples + -------- + + >>> from ipywidgets import TwoByTwoLayout, Button + >>> TwoByTwoLayout(top_left=Button(description="Top left"), + ... top_right=Button(description="Top right"), + ... bottom_left=Button(description="Bottom left"), + ... bottom_right=Button(description="Bottom right")) + + + + @see + */ + export class _TwoByTwoLayout extends _Widget { + constructor(options: TAnyTwoByTwoLayout) { + super({ ..._TwoByTwoLayout.defaults(), ...options }); + } + + static defaults(): TAnyTwoByTwoLayout { + return { + ...super.defaults(), + ...SCHEMA.IPublicTwoByTwoLayout.default, + ...SCHEMA.IProtectedTwoByTwoLayout.default + }; + } + } + + /** the concrete observable TwoByTwoLayout */ + export const TwoByTwoLayout = _HasTraits._traitMeta( + _TwoByTwoLayout + ); + + if (!NS['TwoByTwoLayout']) { + NS['TwoByTwoLayout'] = TwoByTwoLayout; + } else { + console.log('TwoByTwoLayout is already hoisted', NS['TwoByTwoLayout']); + } + + // --- + + /** a type for the traits of AppLayout*/ + export type TAnyAppLayout = PROTO.AppLayoutPublic | PROTO.AppLayoutProtected; + + /** a naive AppLayout + + Define an application like layout of widgets. + + Parameters + ---------- + + header: instance of Widget + left_sidebar: instance of Widget + center: instance of Widget + right_sidebar: instance of Widget + footer: instance of Widget + widgets to fill the positions in the layout + + merge: bool + flag to say whether the empty positions should be automatically merged + + pane_widths: list of numbers/strings + the fraction of the total layout width each of the central panes should occupy + (left_sidebar, + center, right_sidebar) + + pane_heights: list of numbers/strings + the fraction of the width the vertical space that the panes should occupy + (left_sidebar, center, right_sidebar) + + grid_gap : str + CSS attribute used to set the gap between the grid cells + + justify_content : str, in ['flex-start', 'flex-end', 'center', 'space-between', 'space-around'] + CSS attribute used to align widgets vertically + + align_items : str, in ['top', 'bottom', 'center', 'flex-start', 'flex-end', 'baseline', 'stretch'] + CSS attribute used to align widgets horizontally + + width : str + height : str + width and height + + Examples + -------- + + + + @see + */ + export class _AppLayout extends _Widget { + constructor(options: TAnyAppLayout) { + super({ ..._AppLayout.defaults(), ...options }); + } + + static defaults(): TAnyAppLayout { + return { + ...super.defaults(), + ...SCHEMA.IPublicAppLayout.default, + ...SCHEMA.IProtectedAppLayout.default + }; + } + } + + /** the concrete observable AppLayout */ + export const AppLayout = _HasTraits._traitMeta(_AppLayout); + + if (!NS['AppLayout']) { + NS['AppLayout'] = AppLayout; + } else { + console.log('AppLayout is already hoisted', NS['AppLayout']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_templates'] + +export namespace ipywidgets_widgets_widget_upload { + /** a type for the traits of FileUpload*/ + export type TAnyFileUpload = PROTO.FileUploadPublic | PROTO.FileUploadProtected; + + /** a naive FileUpload + + + Upload file(s) from browser to Python kernel as bytes + + + @see + */ + export class _FileUpload extends _Widget { + constructor(options: TAnyFileUpload) { + super({ ..._FileUpload.defaults(), ...options }); + } + + static defaults(): TAnyFileUpload { + return { + ...super.defaults(), + ...SCHEMA.IPublicFileUpload.default, + ...SCHEMA.IProtectedFileUpload.default + }; + } + } + + /** the concrete observable FileUpload */ + export const FileUpload = _HasTraits._traitMeta(_FileUpload); + + if (!NS['FileUpload']) { + NS['FileUpload'] = FileUpload; + } else { + console.log('FileUpload is already hoisted', NS['FileUpload']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_upload'] + +// fin diff --git a/packages/kernel/src/_schema_widgets.d.ts b/packages/kernel/src/_schema_widgets.d.ts new file mode 100644 index 000000000..bd10d7ea6 --- /dev/null +++ b/packages/kernel/src/_schema_widgets.d.ts @@ -0,0 +1,4774 @@ +/** + @see Widget + */ + +export type AnyWidget = APublicWidget | AProtectedWidget; +export type APublicWidget = + | LayoutPublic + | CheckboxPublic + | BoundedFloatTextPublic + | TwoByTwoLayoutPublic + | _IntPublic + | AppLayoutPublic + | ButtonStylePublic + | TextareaPublic + | _IntRangePublic + | SliderStylePublic + | FloatProgressPublic + | OutputPublic + | SelectMultiplePublic + | DescriptionStylePublic + | IntSliderPublic + | ToggleButtonsStylePublic + | AxisPublic + | _FloatPublic + | PlayPublic + | ControllerPublic + | VBoxPublic + | _MediaPublic + | BoundedIntTextPublic + | _MultipleSelectionPublic + | FloatSliderPublic + | ToggleButtonPublic + | TabPublic + | DOMWidgetPublic + | _BoundedFloatPublic + | TextPublic + | HBoxPublic + | AudioPublic + | ButtonPublic + | _SelectionContainerPublic + | _StringPublic + | IntTextPublic + | PasswordPublic + | ImagePublic + | DescriptionWidgetPublic + | HTMLPublic + | ProgressStylePublic + | _FloatRangePublic + | FileUploadPublic + | _BoundedIntRangePublic + | _BoundedLogFloatPublic + | ComboboxPublic + | GridBoxPublic + | _BoolPublic + | ValidPublic + | HTMLMathPublic + | IntProgressPublic + | _BoundedFloatRangePublic + | StylePublic + | FloatLogSliderPublic + | WidgetPublic + | LabelPublic + | ColorPickerPublic + | FloatRangeSliderPublic + | VideoPublic + | AccordionPublic + | IntRangeSliderPublic + | BoxPublic + | FloatTextPublic + | _BoundedIntPublic + | CoreWidgetPublic; +export type AProtectedWidget = + | LayoutProtected + | CheckboxProtected + | BoundedFloatTextProtected + | TwoByTwoLayoutProtected + | _IntProtected + | AppLayoutProtected + | ButtonStyleProtected + | TextareaProtected + | _IntRangeProtected + | SliderStyleProtected + | FloatProgressProtected + | OutputProtected + | SelectMultipleProtected + | DescriptionStyleProtected + | IntSliderProtected + | ToggleButtonsStyleProtected + | AxisProtected + | _FloatProtected + | PlayProtected + | ControllerProtected + | VBoxProtected + | _MediaProtected + | BoundedIntTextProtected + | _MultipleSelectionProtected + | FloatSliderProtected + | ToggleButtonProtected + | TabProtected + | DOMWidgetProtected + | _BoundedFloatProtected + | TextProtected + | HBoxProtected + | AudioProtected + | ButtonProtected + | _SelectionContainerProtected + | _StringProtected + | IntTextProtected + | PasswordProtected + | ImageProtected + | DescriptionWidgetProtected + | HTMLProtected + | ProgressStyleProtected + | _FloatRangeProtected + | FileUploadProtected + | _BoundedIntRangeProtected + | _BoundedLogFloatProtected + | ComboboxProtected + | GridBoxProtected + | _BoolProtected + | ValidProtected + | HTMLMathProtected + | IntProgressProtected + | _BoundedFloatRangeProtected + | StyleProtected + | FloatLogSliderProtected + | WidgetProtected + | LabelProtected + | ColorPickerProtected + | FloatRangeSliderProtected + | VideoProtected + | AccordionProtected + | IntRangeSliderProtected + | BoxProtected + | FloatTextProtected + | _BoundedIntProtected + | CoreWidgetProtected; + +/** + * The public API for Layout + */ +export interface LayoutPublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; +} +/** + * The public API for Checkbox + */ +export interface CheckboxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Indent the control to align with other controls with a description. + */ + indent: boolean; + /** + * Bool value + */ + value: boolean; +} +/** + * The public API for BoundedFloatText + */ +export interface BoundedFloatTextPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + step: number | null; + /** + * Float value + */ + value: number; +} +/** + * The public API for TwoByTwoLayout + */ +export interface TwoByTwoLayoutPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for _Int + */ +export interface _IntPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Int value + */ + value: number; +} +/** + * The public API for AppLayout + */ +export interface AppLayoutPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for ButtonStyle + */ +export interface ButtonStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Button text font weight. + */ + font_weight: string; +} +/** + * The public API for Textarea + */ +export interface TextareaPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + rows: number | null; + /** + * String value + */ + value: string; +} +/** + * The public API for _IntRange + */ +export interface _IntRangePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for SliderStyle + */ +export interface SliderStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The public API for FloatProgress + */ +export interface FloatProgressPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Float value + */ + value: number; +} +/** + * The public API for Output + */ +export interface OutputPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Parent message id of messages to capture + */ + msg_id: string; + /** + * The output messages synced from the frontend. + */ + outputs: { + [k: string]: unknown; + }[]; +} +/** + * The public API for SelectMultiple + */ +export interface SelectMultiplePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Selected indices + */ + index: number[]; + /** + * The number of rows to display. + */ + rows: number; +} +/** + * The public API for DescriptionStyle + */ +export interface DescriptionStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The public API for IntSlider + */ +export interface IntSliderPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The public API for ToggleButtonsStyle + */ +export interface ToggleButtonsStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The width of each button. + */ + button_width: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; + /** + * Text font weight of each button. + */ + font_weight: string; +} +/** + * The public API for Axis + */ +export interface AxisPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The value of the axis. + */ + value: number; +} +/** + * The public API for _Float + */ +export interface _FloatPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Float value + */ + value: number; +} +/** + * The public API for Play + */ +export interface PlayPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Show the repeat toggle button in the widget. + */ + show_repeat: boolean; + /** + * Increment step + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The public API for Controller + */ +export interface ControllerPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The axes on the gamepad. + */ + axes: unknown[]; + /** + * The buttons on the gamepad. + */ + buttons: unknown[]; + /** + * Whether the gamepad is connected. + */ + connected: boolean; + /** + * The id number of the controller. + */ + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; +} +/** + * The public API for VBox + */ +export interface VBoxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for _Media + */ +export interface _MediaPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for BoundedIntText + */ +export interface BoundedIntTextPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The public API for _MultipleSelection + */ +export interface _MultipleSelectionPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Selected indices + */ + index: number[]; +} +/** + * The public API for FloatSlider + */ +export interface FloatSliderPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Float value + */ + value: number; +} +/** + * The public API for ToggleButton + */ +export interface ToggleButtonPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Font-awesome icon. + */ + icon: string; + /** + * Tooltip caption of the toggle button. + */ + tooltip: string; + /** + * Bool value + */ + value: boolean; +} +/** + * The public API for Tab + */ +export interface TabPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The public API for DOMWidget + */ +export interface DOMWidgetPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for _BoundedFloat + */ +export interface _BoundedFloatPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Float value + */ + value: number; +} +/** + * The public API for Text + */ +export interface TextPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for HBox + */ +export interface HBoxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for Audio + */ +export interface AudioPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * When true, the audio starts when it's displayed + */ + autoplay: boolean; + /** + * Specifies that audio controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the audio. + */ + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; +} +/** + * The public API for Button + */ +export interface ButtonPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Whether the button is pressed. + */ + pressed: boolean; + /** + * The value of the button. + */ + value: number; +} +/** + * The public API for _SelectionContainer + */ +export interface _SelectionContainerPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The public API for _String + */ +export interface _StringPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for IntText + */ +export interface IntTextPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The public API for Password + */ +export interface PasswordPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for Image + */ +export interface ImagePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The format of the image. + */ + format: string; + /** + * Height of the image in pixels. Use layout.height for styling the widget. + */ + height: string; + /** + * Width of the image in pixels. Use layout.width for styling the widget. + */ + width: string; +} +/** + * The public API for DescriptionWidget + */ +export interface DescriptionWidgetPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; +} +/** + * The public API for HTML + */ +export interface HTMLPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for ProgressStyle + */ +export interface ProgressStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The public API for _FloatRange + */ +export interface _FloatRangePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for FileUpload + */ +export interface FileUploadPublic { + _counter: number; + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * File types to accept, empty string for all + */ + accept: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable button + */ + disabled: boolean; + /** + * Error message + */ + error: string; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * List of file metadata + */ + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; +} +/** + * The public API for _BoundedIntRange + */ +export interface _BoundedIntRangePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for _BoundedLogFloat + */ +export interface _BoundedLogFloatPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Base of value + */ + base: number; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Float value + */ + value: number; +} +/** + * The public API for Combobox + */ +export interface ComboboxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * If set, ensure value is in options. Implies continuous_update=False. + */ + ensure_option: boolean; + /** + * Dropdown options for the combobox + */ + options: string[]; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for GridBox + */ +export interface GridBoxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for _Bool + */ +export interface _BoolPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Bool value + */ + value: boolean; +} +/** + * The public API for Valid + */ +export interface ValidPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Message displayed when the value is False + */ + readout: string; + /** + * Bool value + */ + value: boolean; +} +/** + * The public API for HTMLMath + */ +export interface HTMLMathPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for IntProgress + */ +export interface IntProgressPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the progess bar. + */ + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Int value + */ + value: number; +} +/** + * The public API for _BoundedFloatRange + */ +export interface _BoundedFloatRangePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step that the value can take (ignored by some views) + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for Style + */ +export interface StylePublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; +} +/** + * The public API for FloatLogSlider + */ +export interface FloatLogSliderPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Base for the logarithm + */ + base: number; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; + /** + * Float value + */ + value: number; +} +/** + * The public API for Widget + */ +export interface WidgetPublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for Label + */ +export interface LabelPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The public API for ColorPicker + */ +export interface ColorPickerPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Display short version with just a color selector. + */ + concise: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * The color value. + */ + value: string; +} +/** + * The public API for FloatRangeSlider + */ +export interface FloatRangeSliderPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for Video + */ +export interface VideoPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * When true, the video starts when it's displayed + */ + autoplay: boolean; + /** + * Specifies that video controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the video. + */ + format: string; + /** + * Height of the video in pixels. + */ + height: string; + /** + * When true, the video will start from the beginning after finishing + */ + loop: boolean; + /** + * Width of the video in pixels. + */ + width: string; +} +/** + * The public API for Accordion + */ +export interface AccordionPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The public API for IntRangeSlider + */ +export interface IntRangeSliderPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step that the value can take + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The public API for Box + */ +export interface BoxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for FloatText + */ +export interface FloatTextPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + step: number | null; + /** + * Float value + */ + value: number; +} +/** + * The public API for _BoundedInt + */ +export interface _BoundedIntPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Int value + */ + value: number; +} +/** + * The public API for CoreWidget + */ +export interface CoreWidgetPublic { + _model_module: string; + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for Layout + */ +export interface LayoutProtected { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; +} +/** + * The protected API for Checkbox + */ +export interface CheckboxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Indent the control to align with other controls with a description. + */ + indent: boolean; + /** + * Bool value + */ + value: boolean; +} +/** + * The protected API for BoundedFloatText + */ +export interface BoundedFloatTextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + step: number | null; + /** + * Float value + */ + value: number; +} +/** + * The protected API for TwoByTwoLayout + */ +export interface TwoByTwoLayoutProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + width: string | null; +} +/** + * The protected API for _Int + */ +export interface _IntProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Int value + */ + value: number; +} +/** + * The protected API for AppLayout + */ +export interface AppLayoutProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + pane_heights: { + [k: string]: unknown; + }[]; + pane_widths: { + [k: string]: unknown; + }[]; + width: string | null; +} +/** + * The protected API for ButtonStyle + */ +export interface ButtonStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Button text font weight. + */ + font_weight: string; +} +/** + * The protected API for Textarea + */ +export interface TextareaProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + rows: number | null; + /** + * String value + */ + value: string; +} +/** + * The protected API for _IntRange + */ +export interface _IntRangeProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for SliderStyle + */ +export interface SliderStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The protected API for FloatProgress + */ +export interface FloatProgressProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Output + */ +export interface OutputProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Parent message id of messages to capture + */ + msg_id: string; + /** + * The output messages synced from the frontend. + */ + outputs: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for SelectMultiple + */ +export interface SelectMultipleProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Selected indices + */ + index: number[]; + /** + * Selected labels + */ + label: string[]; + options: { + [k: string]: unknown; + } | null; + /** + * The number of rows to display. + */ + rows: number; + /** + * Selected values + */ + value: unknown[]; +} +/** + * The protected API for DescriptionStyle + */ +export interface DescriptionStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The protected API for IntSlider + */ +export interface IntSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for ToggleButtonsStyle + */ +export interface ToggleButtonsStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The width of each button. + */ + button_width: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; + /** + * Text font weight of each button. + */ + font_weight: string; +} +/** + * The protected API for Axis + */ +export interface AxisProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The value of the axis. + */ + value: number; +} +/** + * The protected API for _Float + */ +export interface _FloatProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Play + */ +export interface PlayProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Show the repeat toggle button in the widget. + */ + show_repeat: boolean; + /** + * Increment step + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for Controller + */ +export interface ControllerProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The axes on the gamepad. + */ + axes: unknown[]; + /** + * The buttons on the gamepad. + */ + buttons: unknown[]; + /** + * Whether the gamepad is connected. + */ + connected: boolean; + /** + * The id number of the controller. + */ + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; +} +/** + * The protected API for VBox + */ +export interface VBoxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The protected API for _Media + */ +export interface _MediaProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for BoundedIntText + */ +export interface BoundedIntTextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for _MultipleSelection + */ +export interface _MultipleSelectionProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Selected indices + */ + index: number[]; + /** + * Selected labels + */ + label: string[]; + options: { + [k: string]: unknown; + } | null; + /** + * Selected values + */ + value: unknown[]; +} +/** + * The protected API for FloatSlider + */ +export interface FloatSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Float value + */ + value: number; +} +/** + * The protected API for ToggleButton + */ +export interface ToggleButtonProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Font-awesome icon. + */ + icon: string; + /** + * Tooltip caption of the toggle button. + */ + tooltip: string; + /** + * Bool value + */ + value: boolean; +} +/** + * The protected API for Tab + */ +export interface TabProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The protected API for DOMWidget + */ +export interface DOMWidgetProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for _BoundedFloat + */ +export interface _BoundedFloatProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Text + */ +export interface TextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for HBox + */ +export interface HBoxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The protected API for Audio + */ +export interface AudioProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * When true, the audio starts when it's displayed + */ + autoplay: boolean; + /** + * Specifies that audio controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the audio. + */ + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; +} +/** + * The protected API for Button + */ +export interface ButtonProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Whether the button is pressed. + */ + pressed: boolean; + /** + * The value of the button. + */ + value: number; +} +/** + * The protected API for _SelectionContainer + */ +export interface _SelectionContainerProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The protected API for _String + */ +export interface _StringProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for IntText + */ +export interface IntTextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for Password + */ +export interface PasswordProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for Image + */ +export interface ImageProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * The format of the image. + */ + format: string; + /** + * Height of the image in pixels. Use layout.height for styling the widget. + */ + height: string; + /** + * Width of the image in pixels. Use layout.width for styling the widget. + */ + width: string; +} +/** + * The protected API for DescriptionWidget + */ +export interface DescriptionWidgetProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; +} +/** + * The protected API for HTML + */ +export interface HTMLProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for ProgressStyle + */ +export interface ProgressStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The protected API for _FloatRange + */ +export interface _FloatRangeProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for FileUpload + */ +export interface FileUploadProtected { + _counter: number; + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * File types to accept, empty string for all + */ + accept: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable button + */ + disabled: boolean; + /** + * Error message + */ + error: string; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * List of file metadata + */ + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; + value: { + [k: string]: unknown; + }; +} +/** + * The protected API for _BoundedIntRange + */ +export interface _BoundedIntRangeProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for _BoundedLogFloat + */ +export interface _BoundedLogFloatProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Base of value + */ + base: number; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Combobox + */ +export interface ComboboxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * If set, ensure value is in options. Implies continuous_update=False. + */ + ensure_option: boolean; + /** + * Dropdown options for the combobox + */ + options: string[]; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for GridBox + */ +export interface GridBoxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The protected API for _Bool + */ +export interface _BoolProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Bool value + */ + value: boolean; +} +/** + * The protected API for Valid + */ +export interface ValidProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Message displayed when the value is False + */ + readout: string; + /** + * Bool value + */ + value: boolean; +} +/** + * The protected API for HTMLMath + */ +export interface HTMLMathProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for IntProgress + */ +export interface IntProgressProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the progess bar. + */ + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Int value + */ + value: number; +} +/** + * The protected API for _BoundedFloatRange + */ +export interface _BoundedFloatRangeProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step that the value can take (ignored by some views) + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for Style + */ +export interface StyleProtected { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; +} +/** + * The protected API for FloatLogSlider + */ +export interface FloatLogSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Base for the logarithm + */ + base: number; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Widget + */ +export interface WidgetProtected { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for Label + */ +export interface LabelProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for ColorPicker + */ +export interface ColorPickerProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Display short version with just a color selector. + */ + concise: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * The color value. + */ + value: string; +} +/** + * The protected API for FloatRangeSlider + */ +export interface FloatRangeSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for Video + */ +export interface VideoProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * When true, the video starts when it's displayed + */ + autoplay: boolean; + /** + * Specifies that video controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the video. + */ + format: string; + /** + * Height of the video in pixels. + */ + height: string; + /** + * When true, the video will start from the beginning after finishing + */ + loop: boolean; + /** + * Width of the video in pixels. + */ + width: string; +} +/** + * The protected API for Accordion + */ +export interface AccordionProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; +} +/** + * The protected API for IntRangeSlider + */ +export interface IntRangeSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step that the value can take + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for Box + */ +export interface BoxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The protected API for FloatText + */ +export interface FloatTextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + step: number | null; + /** + * Float value + */ + value: number; +} +/** + * The protected API for _BoundedInt + */ +export interface _BoundedIntProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for CoreWidget + */ +export interface CoreWidgetProtected { + _model_module: string; + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} diff --git a/packages/kernel/src/_schema_widgets.json b/packages/kernel/src/_schema_widgets.json new file mode 100644 index 000000000..ec32beb3c --- /dev/null +++ b/packages/kernel/src/_schema_widgets.json @@ -0,0 +1,17360 @@ +{ + "IPublicLayout": { + "title": "Layout public", + "description": "The public API for Layout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "LayoutModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_items": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_self": { + "oneOf": [ + { + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-self CSS attribute." + }, + { + "type": "null" + } + ] + }, + "border": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The border CSS attribute." + }, + { + "type": "null" + } + ] + }, + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] + }, + "display": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The display CSS attribute." + }, + { + "type": "null" + } + ] + }, + "flex": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex CSS attribute." + }, + { + "type": "null" + } + ] + }, + "flex_flow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_area": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-area CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_flow": { + "oneOf": [ + { + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_column": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-column CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_row": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_areas": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-areas CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-rows CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "left": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The left CSS attribute." + }, + { + "type": "null" + } + ] + }, + "margin": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The margin CSS attribute." + }, + { + "type": "null" + } + ] + }, + "max_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "max_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "min_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] + }, + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] + }, + "order": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The order CSS attribute." + }, + { + "type": "null" + } + ] + }, + "overflow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The overflow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "overflow_x": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-x CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] + }, + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] + }, + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] + }, + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" + ] + }, + "IProtectedLayout": { + "title": "Layout Protected", + "description": "The protected API for Layout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "LayoutModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_items": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_self": { + "oneOf": [ + { + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-self CSS attribute." + }, + { + "type": "null" + } + ] + }, + "border": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The border CSS attribute." + }, + { + "type": "null" + } + ] + }, + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] + }, + "display": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The display CSS attribute." + }, + { + "type": "null" + } + ] + }, + "flex": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex CSS attribute." + }, + { + "type": "null" + } + ] + }, + "flex_flow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_area": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-area CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_flow": { + "oneOf": [ + { + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_column": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-column CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_row": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_areas": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-areas CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] + }, + "grid_template_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-rows CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "left": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The left CSS attribute." + }, + { + "type": "null" + } + ] + }, + "margin": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The margin CSS attribute." + }, + { + "type": "null" + } + ] + }, + "max_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "max_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "min_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-height CSS attribute." + }, + { + "type": "null" + } + ] + }, + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] + }, + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] + }, + "order": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The order CSS attribute." + }, + { + "type": "null" + } + ] + }, + "overflow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The overflow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "overflow_x": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-x CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] + }, + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] + }, + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] + }, + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" + ] + }, + "IPublicCheckbox": { + "title": "Checkbox public", + "description": "The public API for Checkbox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "CheckboxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "CheckboxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "CheckboxView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "indent", + "value" + ] + }, + "IProtectedCheckbox": { + "title": "Checkbox Protected", + "description": "The protected API for Checkbox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "CheckboxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "CheckboxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "CheckboxView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "indent", + "value" + ] + }, + "IPublicBoundedFloatText": { + "title": "BoundedFloatText public", + "description": "The public API for BoundedFloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedFloatTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedFloatTextModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IProtectedBoundedFloatText": { + "title": "BoundedFloatText Protected", + "description": "The protected API for BoundedFloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedFloatTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedFloatTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IPublicTwoByTwoLayout": { + "title": "TwoByTwoLayout public", + "description": "The public API for TwoByTwoLayout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedTwoByTwoLayout": { + "title": "TwoByTwoLayout Protected", + "description": "The protected API for TwoByTwoLayout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "width": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "merge": { + "type": "boolean", + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "width" + ] + }, + "IPublic_Int": { + "title": "_Int public", + "description": "The public API for _Int", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_Int": { + "title": "_Int Protected", + "description": "The protected API for _Int", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicAppLayout": { + "title": "AppLayout public", + "description": "The public API for AppLayout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedAppLayout": { + "title": "AppLayout Protected", + "description": "The protected API for AppLayout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "pane_heights": ["1fr", "3fr", "1fr"], + "pane_widths": ["1fr", "2fr", "1fr"], + "width": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "merge": { + "type": "boolean", + "default": {}, + "description": "" + }, + "pane_heights": { + "type": "array", + "items": { + "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" + }, + "default": {}, + "description": "" + }, + "pane_widths": { + "type": "array", + "items": { + "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" + }, + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "pane_heights", + "pane_widths", + "width" + ] + }, + "IPublicButtonStyle": { + "title": "ButtonStyle public", + "description": "The public API for ButtonStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ButtonStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ButtonStyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Button text font weight." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "font_weight" + ] + }, + "IProtectedButtonStyle": { + "title": "ButtonStyle Protected", + "description": "The protected API for ButtonStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ButtonStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ButtonStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Button text font weight." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "font_weight" + ] + }, + "IPublicTextarea": { + "title": "Textarea public", + "description": "The public API for Textarea", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TextareaModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TextareaModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TextareaView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "rows": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "The number of rows to display." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" + ] + }, + "IProtectedTextarea": { + "title": "Textarea Protected", + "description": "The protected API for Textarea", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TextareaModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TextareaModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TextareaView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "rows": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "The number of rows to display." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" + ] + }, + "IPublic_IntRange": { + "title": "_IntRange public", + "description": "The public API for _IntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_IntRange": { + "title": "_IntRange Protected", + "description": "The protected API for _IntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicSliderStyle": { + "title": "SliderStyle public", + "description": "The public API for SliderStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SliderStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "SliderStyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedSliderStyle": { + "title": "SliderStyle Protected", + "description": "The protected API for SliderStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SliderStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "SliderStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IPublicFloatProgress": { + "title": "FloatProgress public", + "description": "The public API for FloatProgress", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatProgressModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { + "oneOf": [ + { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" + ] + }, + "IProtectedFloatProgress": { + "title": "FloatProgress Protected", + "description": "The protected API for FloatProgress", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatProgressModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatProgressModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { + "oneOf": [ + { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" + ] + }, + "IPublicOutput": { + "title": "Output public", + "description": "The public API for Output", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "OutputModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "OutputView", + "description": "" + }, + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "msg_id", + "outputs" + ] + }, + "IProtectedOutput": { + "title": "Output Protected", + "description": "The protected API for Output", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "OutputModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "OutputView", + "description": "" + }, + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "msg_id", + "outputs" + ] + }, + "IPublicSelectMultiple": { + "title": "SelectMultiple public", + "description": "The public API for SelectMultiple", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SelectMultipleModel", + "_options_labels": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "SelectMultipleView", + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "rows": 5 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "SelectMultipleModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "SelectMultipleView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" + }, + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "rows" + ] + }, + "IProtectedSelectMultiple": { + "title": "SelectMultiple Protected", + "description": "The protected API for SelectMultiple", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SelectMultipleModel", + "_options_labels": [], + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "SelectMultipleView", + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "label": [], + "options": [], + "rows": 5, + "value": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "SelectMultipleModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "SelectMultipleView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" + }, + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" + }, + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." + }, + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "rows", + "value" + ] + }, + "IPublicDescriptionStyle": { + "title": "DescriptionStyle public", + "description": "The public API for DescriptionStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionStyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedDescriptionStyle": { + "title": "DescriptionStyle Protected", + "description": "The protected API for DescriptionStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IPublicIntSlider": { + "title": "IntSlider public", + "description": "The public API for IntSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntSliderModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedIntSlider": { + "title": "IntSlider Protected", + "description": "The protected API for IntSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicToggleButtonsStyle": { + "title": "ToggleButtonsStyle public", + "description": "The public API for ToggleButtonsStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonsStyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_width", + "description_width", + "font_weight" + ] + }, + "IProtectedToggleButtonsStyle": { + "title": "ToggleButtonsStyle Protected", + "description": "The protected API for ToggleButtonsStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonsStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_width", + "description_width", + "font_weight" + ] + }, + "IPublicAxis": { + "title": "Axis public", + "description": "The public API for Axis", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerAxisModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerAxisView", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerAxisModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerAxisView", + "description": "" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "value" + ] + }, + "IProtectedAxis": { + "title": "Axis Protected", + "description": "The protected API for Axis", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerAxisModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerAxisView", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerAxisModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerAxisView", + "description": "" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "value" + ] + }, + "IPublic_Float": { + "title": "_Float public", + "description": "The public API for _Float", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_Float": { + "title": "_Float Protected", + "description": "The protected API for _Float", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicPlay": { + "title": "Play public", + "description": "The public API for Play", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PlayModel", + "description": "" + }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PlayView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_playing", + "_repeat", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" + ] + }, + "IProtectedPlay": { + "title": "Play Protected", + "description": "The protected API for Play", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PlayModel", + "description": "" + }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PlayView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_playing", + "_repeat", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" + ] + }, + "IPublicController": { + "title": "Controller public", + "description": "The public API for Controller", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerView", + "description": "" + }, + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." + }, + "buttons": { + "type": "array", + "items": {}, + "default": [], + "description": "The buttons on the gamepad." + }, + "connected": { + "type": "boolean", + "default": false, + "description": "Whether the gamepad is connected." + }, + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." + }, + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" + ] + }, + "IProtectedController": { + "title": "Controller Protected", + "description": "The protected API for Controller", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerView", + "description": "" + }, + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." + }, + "buttons": { + "type": "array", + "items": {}, + "default": [], + "description": "The buttons on the gamepad." + }, + "connected": { + "type": "boolean", + "default": false, + "description": "Whether the gamepad is connected." + }, + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." + }, + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" + ] + }, + "IPublicVBox": { + "title": "VBox public", + "description": "The public API for VBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "VBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "VBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedVBox": { + "title": "VBox Protected", + "description": "The protected API for VBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "VBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "VBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublic_Media": { + "title": "_Media public", + "description": "The public API for _Media", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DOMWidgetModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtected_Media": { + "title": "_Media Protected", + "description": "The protected API for _Media", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DOMWidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IPublicBoundedIntText": { + "title": "BoundedIntText public", + "description": "The public API for BoundedIntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedIntTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedIntTextModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IProtectedBoundedIntText": { + "title": "BoundedIntText Protected", + "description": "The protected API for BoundedIntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedIntTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedIntTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IPublic_MultipleSelection": { + "title": "_MultipleSelection public", + "description": "The public API for _MultipleSelection", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_options_labels": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index" + ] + }, + "IProtected_MultipleSelection": { + "title": "_MultipleSelection Protected", + "description": "The protected API for _MultipleSelection", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_options_labels": [], + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "label": [], + "options": [], + "value": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" + }, + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" + }, + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "value" + ] + }, + "IPublicFloatSlider": { + "title": "FloatSlider public", + "description": "The public API for FloatSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatSliderModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedFloatSlider": { + "title": "FloatSlider Protected", + "description": "The protected API for FloatSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicToggleButton": { + "title": "ToggleButton public", + "description": "The public API for ToggleButton", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ToggleButtonView", + "button_style": "", + "description": "", + "description_tooltip": null, + "disabled": false, + "icon": "", + "tooltip": "", + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ToggleButtonView", + "description": "" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "icon": { + "type": "string", + "default": "", + "description": "Font-awesome icon." + }, + "tooltip": { + "type": "string", + "default": "", + "description": "Tooltip caption of the toggle button." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_style", + "description", + "description_tooltip", + "disabled", + "icon", + "tooltip", + "value" + ] + }, + "IProtectedToggleButton": { + "title": "ToggleButton Protected", + "description": "The protected API for ToggleButton", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ToggleButtonView", + "button_style": "", + "description": "", + "description_tooltip": null, + "disabled": false, + "icon": "", + "tooltip": "", + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ToggleButtonView", + "description": "" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "icon": { + "type": "string", + "default": "", + "description": "Font-awesome icon." + }, + "tooltip": { + "type": "string", + "default": "", + "description": "Tooltip caption of the toggle button." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_style", + "description", + "description_tooltip", + "disabled", + "icon", + "tooltip", + "value" + ] + }, + "IPublicTab": { + "title": "Tab public", + "description": "The public API for Tab", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TabModel", + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TabModel", + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TabView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IProtectedTab": { + "title": "Tab Protected", + "description": "The protected API for Tab", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TabModel", + "_states_to_send": [], + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TabModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TabView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IPublicDOMWidget": { + "title": "DOMWidget public", + "description": "The public API for DOMWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] + }, + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedDOMWidget": { + "title": "DOMWidget Protected", + "description": "The protected API for DOMWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] + }, + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IPublic_BoundedFloat": { + "title": "_BoundedFloat public", + "description": "The public API for _BoundedFloat", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IProtected_BoundedFloat": { + "title": "_BoundedFloat Protected", + "description": "The protected API for _BoundedFloat", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IPublicText": { + "title": "Text public", + "description": "The public API for Text", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TextView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TextModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" + ] + }, + "IProtectedText": { + "title": "Text Protected", + "description": "The protected API for Text", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TextView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" + ] + }, + "IPublicHBox": { + "title": "HBox public", + "description": "The public API for HBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedHBox": { + "title": "HBox Protected", + "description": "The protected API for HBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublicAudio": { + "title": "Audio public", + "description": "The public API for Audio", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AudioModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "AudioModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "AudioView", + "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "autoplay", + "controls", + "format", + "loop" + ] + }, + "IProtectedAudio": { + "title": "Audio Protected", + "description": "The protected API for Audio", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AudioModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "AudioModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "AudioView", + "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "autoplay", + "controls", + "format", + "loop" + ] + }, + "IPublicButton": { + "title": "Button public", + "description": "The public API for Button", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerButtonModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerButtonView", + "pressed": false, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerButtonModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerButtonView", + "description": "" + }, + "pressed": { + "type": "boolean", + "default": false, + "description": "Whether the button is pressed." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the button." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "pressed", + "value" + ] + }, + "IProtectedButton": { + "title": "Button Protected", + "description": "The protected API for Button", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerButtonModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerButtonView", + "pressed": false, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerButtonModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerButtonView", + "description": "" + }, + "pressed": { + "type": "boolean", + "default": false, + "description": "Whether the button is pressed." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the button." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "pressed", + "value" + ] + }, + "IPublic_SelectionContainer": { + "title": "_SelectionContainer public", + "description": "The public API for _SelectionContainer", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoxModel", + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "BoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IProtected_SelectionContainer": { + "title": "_SelectionContainer Protected", + "description": "The protected API for _SelectionContainer", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", + "_states_to_send": [], + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "BoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IPublic_String": { + "title": "_String public", + "description": "The public API for _String", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "StringModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "StringModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtected_String": { + "title": "_String Protected", + "description": "The protected API for _String", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "StringModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "StringModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicIntText": { + "title": "IntText public", + "description": "The public API for IntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntTextModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IProtectedIntText": { + "title": "IntText Protected", + "description": "The protected API for IntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IPublicPassword": { + "title": "Password public", + "description": "The public API for Password", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PasswordModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PasswordModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PasswordView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" + ] + }, + "IProtectedPassword": { + "title": "Password Protected", + "description": "The protected API for Password", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PasswordModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PasswordModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PasswordView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" + ] + }, + "IPublicImage": { + "title": "Image public", + "description": "The public API for Image", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ImageModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ImageModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ImageView", + "description": "" + }, + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "format", + "height", + "width" + ] + }, + "IProtectedImage": { + "title": "Image Protected", + "description": "The protected API for Image", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ImageModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ImageModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ImageView", + "description": "" + }, + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "format", + "height", + "width" + ] + }, + "IPublicDescriptionWidget": { + "title": "DescriptionWidget public", + "description": "The public API for DescriptionWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip" + ] + }, + "IProtectedDescriptionWidget": { + "title": "DescriptionWidget Protected", + "description": "The protected API for DescriptionWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip" + ] + }, + "IPublicHTML": { + "title": "HTML public", + "description": "The public API for HTML", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedHTML": { + "title": "HTML Protected", + "description": "The protected API for HTML", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicProgressStyle": { + "title": "ProgressStyle public", + "description": "The public API for ProgressStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ProgressStyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedProgressStyle": { + "title": "ProgressStyle Protected", + "description": "The protected API for ProgressStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ProgressStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IPublic_FloatRange": { + "title": "_FloatRange public", + "description": "The public API for _FloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0.0, 1.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_FloatRange": { + "title": "_FloatRange Protected", + "description": "The protected API for _FloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0.0, 1.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicFileUpload": { + "title": "FileUpload public", + "description": "The public API for FileUpload", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_counter": 0, + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FileUploadModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", + "description_tooltip": null, + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false + }, + "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FileUploadModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FileUploadView", + "description": "" + }, + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" + }, + "description": { + "type": "string", + "default": "Upload", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" + }, + "error": { + "type": "string", + "default": "", + "description": "Error message" + }, + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" + } + }, + "required": [ + "_counter", + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "accept", + "button_style", + "data", + "description", + "description_tooltip", + "disabled", + "error", + "icon", + "metadata", + "multiple" + ] + }, + "IProtectedFileUpload": { + "title": "FileUpload Protected", + "description": "The protected API for FileUpload", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_counter": 0, + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FileUploadModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", + "description_tooltip": null, + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false, + "value": {} + }, + "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FileUploadModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FileUploadView", + "description": "" + }, + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" + }, + "description": { + "type": "string", + "default": "Upload", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" + }, + "error": { + "type": "string", + "default": "", + "description": "Error message" + }, + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" + }, + "value": { + "type": "object", + "description": "", + "default": {} + } + }, + "required": [ + "_counter", + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "accept", + "button_style", + "data", + "description", + "description_tooltip", + "disabled", + "error", + "icon", + "metadata", + "multiple", + "value" + ] + }, + "IPublic_BoundedIntRange": { + "title": "_BoundedIntRange public", + "description": "The public API for _BoundedIntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "value": [25, 75] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IProtected_BoundedIntRange": { + "title": "_BoundedIntRange Protected", + "description": "The protected API for _BoundedIntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "value": [25, 75] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IPublic_BoundedLogFloat": { + "title": "_BoundedLogFloat public", + "description": "The public API for _BoundedLogFloat", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "base", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IProtected_BoundedLogFloat": { + "title": "_BoundedLogFloat Protected", + "description": "The protected API for _BoundedLogFloat", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "base", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IPublicCombobox": { + "title": "Combobox public", + "description": "The public API for Combobox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ComboboxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ComboboxView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ComboboxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ComboboxView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", + "value" + ] + }, + "IProtectedCombobox": { + "title": "Combobox Protected", + "description": "The protected API for Combobox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ComboboxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ComboboxView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ComboboxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ComboboxView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", + "value" + ] + }, + "IPublicGridBox": { + "title": "GridBox public", + "description": "The public API for GridBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedGridBox": { + "title": "GridBox Protected", + "description": "The protected API for GridBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublic_Bool": { + "title": "_Bool public", + "description": "The public API for _Bool", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoolModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoolModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "value" + ] + }, + "IProtected_Bool": { + "title": "_Bool Protected", + "description": "The protected API for _Bool", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoolModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoolModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "value" + ] + }, + "IPublicValid": { + "title": "Valid public", + "description": "The public API for Valid", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ValidModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ValidModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ValidView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { + "type": "string", + "default": "Invalid", + "description": "Message displayed when the value is False" + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "readout", + "value" + ] + }, + "IProtectedValid": { + "title": "Valid Protected", + "description": "The protected API for Valid", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ValidModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ValidModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ValidView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { + "type": "string", + "default": "Invalid", + "description": "Message displayed when the value is False" + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "readout", + "value" + ] + }, + "IPublicHTMLMath": { + "title": "HTMLMath public", + "description": "The public API for HTMLMath", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLMathModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLMathView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLMathModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLMathView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedHTMLMath": { + "title": "HTMLMath Protected", + "description": "The protected API for HTMLMath", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLMathModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLMathView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLMathModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLMathView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicIntProgress": { + "title": "IntProgress public", + "description": "The public API for IntProgress", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntProgressModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntProgressModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" + ] + }, + "IProtectedIntProgress": { + "title": "IntProgress Protected", + "description": "The protected API for IntProgress", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntProgressModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntProgressModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" + ] + }, + "IPublic_BoundedFloatRange": { + "title": "_BoundedFloatRange public", + "description": "The public API for _BoundedFloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "step", + "value" + ] + }, + "IProtected_BoundedFloatRange": { + "title": "_BoundedFloatRange Protected", + "description": "The protected API for _BoundedFloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "step", + "value" + ] + }, + "IPublicStyle": { + "title": "Style public", + "description": "The public API for Style", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "StyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedStyle": { + "title": "Style Protected", + "description": "The protected API for Style", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "StyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IPublicFloatLogSlider": { + "title": "FloatLogSlider public", + "description": "The public API for FloatLogSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatLogSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatLogSliderModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatLogSliderView", + "description": "" + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedFloatLogSlider": { + "title": "FloatLogSlider Protected", + "description": "The protected API for FloatLogSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatLogSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatLogSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatLogSliderView", + "description": "" + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicWidget": { + "title": "Widget public", + "description": "The public API for Widget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] + }, + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedWidget": { + "title": "Widget Protected", + "description": "The protected API for Widget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] + }, + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IPublicLabel": { + "title": "Label public", + "description": "The public API for Label", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "LabelModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "LabelModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LabelView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedLabel": { + "title": "Label Protected", + "description": "The protected API for Label", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "LabelModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "LabelModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LabelView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicColorPicker": { + "title": "ColorPicker public", + "description": "The public API for ColorPicker", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ColorPickerModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ColorPickerModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ColorPickerView", + "description": "" + }, + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "concise", + "description", + "description_tooltip", + "disabled", + "value" + ] + }, + "IProtectedColorPicker": { + "title": "ColorPicker Protected", + "description": "The protected API for ColorPicker", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ColorPickerModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ColorPickerModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ColorPickerView", + "description": "" + }, + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "concise", + "description", + "description_tooltip", + "disabled", + "value" + ] + }, + "IPublicFloatRangeSlider": { + "title": "FloatRangeSlider public", + "description": "The public API for FloatRangeSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatRangeSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatRangeSliderModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatRangeSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedFloatRangeSlider": { + "title": "FloatRangeSlider Protected", + "description": "The protected API for FloatRangeSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatRangeSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatRangeSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatRangeSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicVideo": { + "title": "Video public", + "description": "The public API for Video", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VideoModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "VideoModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "VideoView", + "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the video in pixels." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the video will start from the beginning after finishing" + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the video in pixels." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "autoplay", + "controls", + "format", + "height", + "loop", + "width" + ] + }, + "IProtectedVideo": { + "title": "Video Protected", + "description": "The protected API for Video", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VideoModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "VideoModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "VideoView", + "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the video in pixels." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the video will start from the beginning after finishing" + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the video in pixels." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "autoplay", + "controls", + "format", + "height", + "loop", + "width" + ] + }, + "IPublicAccordion": { + "title": "Accordion public", + "description": "The public API for Accordion", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AccordionModel", + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "AccordionModel", + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "AccordionView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IProtectedAccordion": { + "title": "Accordion Protected", + "description": "The protected API for Accordion", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AccordionModel", + "_states_to_send": [], + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "AccordionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "AccordionView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_titles", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" + ] + }, + "IPublicIntRangeSlider": { + "title": "IntRangeSlider public", + "description": "The public API for IntRangeSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntRangeSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntRangeSliderModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntRangeSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedIntRangeSlider": { + "title": "IntRangeSlider Protected", + "description": "The protected API for IntRangeSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntRangeSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntRangeSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntRangeSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicBox": { + "title": "Box public", + "description": "The public API for Box", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "BoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedBox": { + "title": "Box Protected", + "description": "The protected API for Box", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "BoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublicFloatText": { + "title": "FloatText public", + "description": "The public API for FloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatTextModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IProtectedFloatText": { + "title": "FloatText Protected", + "description": "The protected API for FloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IPublic_BoundedInt": { + "title": "_BoundedInt public", + "description": "The public API for _BoundedInt", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IProtected_BoundedInt": { + "title": "_BoundedInt Protected", + "description": "The protected API for _BoundedInt", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "value" + ] + }, + "IPublicCoreWidget": { + "title": "CoreWidget public", + "description": "The public API for CoreWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "WidgetModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedCoreWidget": { + "title": "CoreWidget Protected", + "description": "The protected API for CoreWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "WidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + } +} diff --git a/packages/kernel/src/kernel.ts b/packages/kernel/src/kernel.ts index e6d3cdd76..7c84a32b4 100644 --- a/packages/kernel/src/kernel.ts +++ b/packages/kernel/src/kernel.ts @@ -21,11 +21,26 @@ export abstract class BaseKernel implements IKernel { this._sendMessage = sendMessage; this._comm_manager = options.comm_manager || createDefaultCommManager({ kernel: this, sendMessage }); - this._attemptWidgets().catch(console.error); + this.attemptWidgets().catch(console.error); } - private async _attemptWidgets() { - const widgets = await import('./proto_widgets'); + /** + * Provide a widget implementation on this kernel. It's still up to the + * kernel to provide guest-language access to this object on `self` (or `this`). + * + * In pyodide, this might need to be achieved with `comlink` or similar, + * but may belong at the comm_manager level. + */ + protected async attemptWidgets() { + let widgets = await import('./proto_widgets'); + + try { + const schemaWidgets = await import('./_proto_wrappers'); + widgets = { ...widgets, ...schemaWidgets.ALL }; + } catch (err) { + console.log('attemptWidgts error', err); + } + (this as any).widgets = widgets; widgets._Widget._kernel = this; } diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index f1f67cf63..b6be29e5a 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -283,7 +283,6 @@ export namespace _HasTraits { }; } } - /** * A naive base widget class */ @@ -483,72 +482,6 @@ class WidgetRegistry { } } -/** a naive FloatSlider - * - * ### Examples - * ```js - * let { FloatSlider } = kernel.widgets - * x = FloatSlider({description: "$x$", min: -Math.PI, value: 1, max: Math.PI}) - * x.display() - * - * Object.entries({sin: Math.sin, cos: Math.cos, tan: Math.tan}).map(([k, fn])=> { - * self[k] = FloatSlider({ description: '$\\' + k + '{x}$', min: -1, max: 1}) - * x.observe(async (change) => self[k].value = fn(change.new)) - * self[k].display() - * }) - */ -export class _FloatSlider extends _Widget { - constructor(options: IFloatSlider) { - super({ ..._FloatSlider.defaults(), ...options }); - } - - static defaults(): IFloatSlider { - return { ...super.defaults(), ...FLOAT_SLIDER_DEFAULTS }; - } -} - -/** Some copy-pasted default values - * - * TODO: it _must_ be possible to do this _en masse_: - * - load up each of the widgets for defaults - * - infer a JSON schema from the traitlets - * - export the widget.package.schema.json - * - then either - * - go the ts way - * - generate .d.ts types - * - generate concrete .ts types - * - go the js way - * - dynamically build evented classes based directly on json schema - */ -const FLOAT_SLIDER_DEFAULTS: IFloatSlider = { - _dom_classes: [], - _model_module: _Widget.WIDGET_CONTROLS_PACKAGE, - _model_module_version: _Widget.WIDGET_CONTROLS_VERSION, - _model_name: 'FloatSliderModel', - _view_count: null, - _view_module: _Widget.WIDGET_CONTROLS_PACKAGE, - _view_module_version: _Widget.WIDGET_CONTROLS_VERSION, - _view_name: 'FloatSliderView', - continuous_update: true, - description: '', - description_tooltip: null, - disabled: false, - layout: null, - max: 100.0, - min: 0.0, - orientation: 'horizontal', - readout: true, - readout_format: '.2f', - step: 0.1, - style: null, - value: 0.0, - tabbable: true, - tooltip: '' -}; - -/** the concrete observable FloatSlider */ -export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - /** a naive Select * * ### Examples @@ -621,6 +554,38 @@ const SELECT_DEFAULTS: ISelect = { rows: 5 }; +// /** a naive FloatSlider +// * +// * ### Examples +// * ```js +// * let { FloatSlider } = kernel.widgets +// * x = FloatSlider({description: "$x$", min: -Math.PI, value: 1, max: Math.PI}) +// * x.display() +// * +// * Object.entries({sin: Math.sin, cos: Math.cos, tan: Math.tan}).map(([k, fn])=> { +// * self[k] = FloatSlider({ description: '$\\' + k + '{x}$', min: -1, max: 1}) +// * x.observe(async (change) => self[k].value = fn(change.new)) +// * self[k].display() +// * }) +// */ +// export type TAnyFloatSlider = PROTO.FloatSliderProtected | PROTO.FloatSliderPublic; + +// export class _FloatSlider extends _Widget { +// constructor(options: TAnyFloatSlider) { +// super({ ..._FloatSlider.defaults(), ...options }); +// } + +// static defaults(): TAnyFloatSlider { +// return { +// ...super.defaults(), +// ...(SCHEMA.IProtectedFloatSlider.default as TAnyFloatSlider) +// }; +// } +// } + +// /** the concrete observable FloatSlider */ +// export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); + /** utilities */ export type TLinkItem = [_HasTraits, keyof T]; diff --git a/packages/kernel/tsconfig.json b/packages/kernel/tsconfig.json index 399b75b7a..7df21bb79 100644 --- a/packages/kernel/tsconfig.json +++ b/packages/kernel/tsconfig.json @@ -4,5 +4,5 @@ "outDir": "lib", "rootDir": "src" }, - "include": ["src/**/*"] + "include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.json"] } diff --git a/scripts/schema-widgets.ipynb b/scripts/schema-widgets.ipynb new file mode 100644 index 000000000..a496f0051 --- /dev/null +++ b/scripts/schema-widgets.ipynb @@ -0,0 +1,776 @@ +{ + "cells": [ + { + "cell_type": "markdown", + "id": "400621d9-6deb-467f-acff-99d410c7d04b", + "metadata": {}, + "source": [ + "# How might we generate JS/TS classes from ipywidgets?\n", + "\n", + "This is a companion piece to [@jtpio/jupyterlite#whatever](#whatever).\n", + "\n", + "The goal would be to arrive at a stably-versioned build of the `HasTraits` and `ipywidgets` APIs (without lower level `traitlets` internals) built on top of generic comms." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "85d330b4-6709-44d1-a926-2ebc4d966d33", + "metadata": {}, + "outputs": [], + "source": [ + "from traitlets import *\n", + "from ipywidgets import *\n", + "\n", + "import jsonschema\n", + "import pprint\n", + "import warnings\n", + "from pathlib import Path\n", + "import IPython\n", + "import json\n", + "import tempfile\n", + "import jinja2\n", + "import subprocess" + ] + }, + { + "cell_type": "markdown", + "id": "d849b6f8-d74d-4206-934d-53d4c56a3ec7", + "metadata": {}, + "source": [ + "## Our work cut out for us\n", + "\n", + "Eventually, we'll open this up for everything." + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c880957a-a4d2-466d-bba3-6df39b021928", + "metadata": {}, + "outputs": [], + "source": [ + "def walk_subs(c):\n", + " yield c\n", + " for sub in c.__subclasses__():\n", + " for sub_sub in walk_subs(sub):\n", + " yield sub_sub\n", + " \n", + "widget_classes = set(walk_subs(Widget))\n", + "IPython.display.Markdown(f\"\"\"# {len(widget_classes)} Widget classes\"\"\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c43f174c-64cf-4207-a41a-1bb6042d9237", + "metadata": {}, + "outputs": [], + "source": [ + "wc = FloatSlider\n", + "i = wc()\n", + "i.keys, i.get_state()" + ] + }, + { + "cell_type": "markdown", + "id": "ef29d8bc-ab1f-4051-a75d-433160b03807", + "metadata": {}, + "source": [ + "## We speak schema" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "8a483552-7271-47ab-bfe2-e6861134a6b1", + "metadata": {}, + "outputs": [], + "source": [ + "BASE = {\n", + " \"type\": \"object\",\n", + " \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n", + " # might regret this...\n", + " \"additionalProperties\": False,\n", + "}" + ] + }, + { + "cell_type": "markdown", + "id": "a6a09473-1185-4d8d-a539-79fd95968e17", + "metadata": {}, + "source": [ + "### Always be validating" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "1e6db48b-10e2-4997-8115-62b305141acb", + "metadata": {}, + "outputs": [], + "source": [ + "VALIDATING = True" + ] + }, + { + "cell_type": "markdown", + "id": "018ac6a1-94d3-495c-802b-c1e5b226e254", + "metadata": {}, + "source": [ + "### Stuff we're not going to handle right now" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f6296e39-6515-4026-8cec-31a72ebd5826", + "metadata": {}, + "outputs": [], + "source": [ + "IGNORED_TRAITS = [\n", + " \"_display_callbacks\",\n", + " \"_msg_callbacks\",\n", + " \"_property_lock\",\n", + " \"comm\",\n", + " \"layout\",\n", + " \"log\",\n", + " \"readout_format\",\n", + " \"style\",\n", + " \"handle_color\",\n", + " \"bar_color\",\n", + " \"button_color\",\n", + " \"keys\"\n", + "]" + ] + }, + { + "cell_type": "markdown", + "id": "ec79f0e5-60a9-4aa8-b5b0-510828d9cdaf", + "metadata": {}, + "source": [ + "### How to get make a default (WIP)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "dfe96f0f-df57-4425-9e16-c88042e5fa85", + "metadata": {}, + "outputs": [], + "source": [ + "TO_DEFAULT = lambda t_name, i, s: {\n", + " \"default\": s.get(t_name) if t_name in s else {}\n", + "}" + ] + }, + { + "cell_type": "markdown", + "id": "7203f462-a42a-4d35-ad98-b6ce622d29ee", + "metadata": {}, + "source": [ + "### How to get any description" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "557a55a7-1235-48b5-bfc4-296920af41fd", + "metadata": {}, + "outputs": [], + "source": [ + "TO_DESCRIPTION = lambda t_def: {\"description\": t_def.help}" + ] + }, + { + "cell_type": "markdown", + "id": "f95ca4d2-fc12-4522-8ae7-2142a68e7d4b", + "metadata": {}, + "source": [ + "### How to map traits to schema (WIP)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "d123c91d-7aae-4a06-8739-44c76a51b895", + "metadata": {}, + "outputs": [], + "source": [ + "TYPE_TO_SCHEMA = {\n", + " str: {\"type\": \"string\"},\n", + " set: {\"type\": \"string\", \"uniqueItems\": True},\n", + " int: {\"type\": \"integer\"},\n", + " float: {\"type\": \"number\"},\n", + " bool: {\"type\": \"boolean\"}\n", + "}\n", + "TRAIT_TO_SCHEMA = {\n", + " Unicode: lambda t_name, t_def, i, s: {\"type\": \"string\"},\n", + " Float: lambda t_name, t_def, i, s: {\"type\": \"number\"},\n", + " Int: lambda t_name, t_def, i, s: {\"type\": \"integer\"},\n", + " Bool: lambda t_name, t_def, i, s: {\"type\": \"boolean\"},\n", + " CaselessStrEnum: lambda t_name, t_def, i, s: {\"enum\": t_def.values},\n", + " List: lambda t_name, t_def, i, s: {\n", + " \"type\": \"array\",\n", + " \"items\": {\"description\": f\"TODO: {t_name} = List({t_def.__dict__})\"}\n", + " },\n", + " Tuple: lambda t_name, t_def, i, s: {\n", + " \"type\": \"array\",\n", + " \"items\": {\"description\": f\"TODO: {t_name} = Tyuple({t_def.__dict__})\"}\n", + " },\n", + " Set: lambda t_name, t_def, i, s: {\n", + " \"type\": \"array\",\n", + " \"uniqueItems\": True,\n", + " \"items\": {\"description\": f\"TODO: {t_name} = Set({t_def.__dict__})\"}\n", + " },\n", + " Dict: lambda t_name, t_def, i, s: {\n", + " \"type\": \"object\",\n", + " \"description\": f\"TODO: {t_name} = Dict({t_def.__dict__})\"\n", + " },\n", + " trait_types.TypedTuple: lambda t_name, t_def, i, s: {\n", + " \"type\": \"array\",\n", + " \"items\": {\n", + " **(\n", + " {} if t_def._trait.__class__ not in TRAIT_TO_SCHEMA\n", + " else TRAIT_TO_SCHEMA[t_def._trait.__class__](t_name, t_def, i, s)\n", + " )\n", + " }\n", + " },\n", + " Any: lambda t_name, t_def, i, s: dict()\n", + "}\n", + "TRAIT_TO_SCHEMA[CUnicode] = TRAIT_TO_SCHEMA[Unicode]\n", + "TRAIT_TO_SCHEMA[Color] = TRAIT_TO_SCHEMA[Unicode]\n", + "TRAIT_TO_SCHEMA[CInt] = TRAIT_TO_SCHEMA[Int]\n", + "TRAIT_TO_SCHEMA[CFloat] = TRAIT_TO_SCHEMA[Float]" + ] + }, + { + "cell_type": "markdown", + "id": "aa29c24f-0907-4c3f-925c-cd5ccaf0fe09", + "metadata": {}, + "source": [ + "### handle one trait" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9b1bdb8a-7a1d-4c00-b884-028198eadbf2", + "metadata": {}, + "outputs": [], + "source": [ + "def one_trait(t_name, t_def, i, s):\n", + " if t_name in IGNORED_TRAITS:\n", + " return\n", + " t_cls = t_def.__class__\n", + " s_def = TRAIT_TO_SCHEMA.get(t_cls)\n", + " \n", + " if s_def:\n", + " non_null = {\n", + " **s_def(t_name, t_def, i, s),\n", + " **TO_DEFAULT(t_name, i, s),\n", + " **TO_DESCRIPTION(t_def)\n", + " }\n", + " \n", + " if getattr(t_def, \"allow_none\", None):\n", + " return {\"oneOf\": [non_null, {\"type\": \"null\"}]}\n", + " return non_null\n", + " \n", + " warnings.warn(f\"{t_name} {t_cls}\")" + ] + }, + { + "cell_type": "markdown", + "id": "e2a8b55c-53f7-4dd8-a634-ac9a0615036d", + "metadata": {}, + "source": [ + "### Make schema" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "7805fa51-055d-416c-8a1d-e450b98d201b", + "metadata": {}, + "outputs": [], + "source": [ + "def clean_state(i=None, wc=None):\n", + " i = i or wc()\n", + " s = {k: v for k, v in i.get_state().items() if k not in IGNORED_TRAITS}\n", + " s = {k: v for k, v in s.items() if not isinstance(v, bytes)}\n", + " return s" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "5f004a34-295a-4a42-83fe-8a43d7249b99", + "metadata": {}, + "outputs": [], + "source": [ + "def make_protected_schema(i=None, wc=None, s=None):\n", + " i = i or wc()\n", + " s = s or clean_state(i)\n", + " properties = {\n", + " t_name: one_trait(t_name, t_def, i, s)\n", + " for t_name, t_def in i.traits().items()\n", + " if t_name not in IGNORED_TRAITS and one_trait(t_name, t_def, i, s)\n", + " }\n", + " default_protected = {\n", + " prop: getattr(i, prop) for prop in properties\n", + " }\n", + " default_protected = {\n", + " prop: list(val) if isinstance(val, (set)) else val\n", + " for prop, val in default_protected.items()\n", + " }\n", + " \n", + " return {\n", + " \"title\": f\"{wc.__name__} Protected\",\n", + " \"description\": f\"The protected API for {wc.__name__}\",\n", + " **BASE,\n", + " \"default\": default_protected,\n", + " \"properties\": properties, \n", + " \"required\": sorted(default_protected.keys()),\n", + " }" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "cbfb51d6-98ce-4648-9a10-376fffb42ad8", + "metadata": {}, + "outputs": [], + "source": [ + "def make_public_schema(i=None, wc=None, s=None, protected=None):\n", + " i = i or wc()\n", + " s = s or clean_state(i, wc)\n", + " protected = make_protected_schema(i, wc, s)\n", + " in_keys = {\n", + " name: schema for name, schema \n", + " in protected[\"properties\"].items() \n", + " if name in i.keys\n", + " }\n", + " \n", + " default_public = {**s}\n", + " return {\n", + " \"title\": f\"{wc.__name__} public\",\n", + " \"description\": f\"The public API for {wc.__name__}\",\n", + " **BASE,\n", + " \"default\": default_public,\n", + " \"properties\": {\n", + " name: protected[\"properties\"][name] for name in in_keys\n", + " },\n", + " \"required\": sorted(in_keys.keys()),\n", + " }" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "36b9f398-3ce7-43e0-8955-248d7acc9ef2", + "metadata": {}, + "outputs": [], + "source": [ + "def widget_to_json_schemata(i=None, wc=None, s=None):\n", + " \"\"\" generate the full public and protected schemata\n", + " \"\"\"\n", + " i = i or wc()\n", + " s = s or clean_state(i, wc)\n", + " protected = make_protected_schema(i, wc, s)\n", + " public = make_public_schema(i, wc, s, protected)\n", + "\n", + " return public, protected\n", + "for schema in widget_to_json_schemata(wc=wc):\n", + " IPython.display.display(IPython.display.JSON(schema))" + ] + }, + { + "cell_type": "markdown", + "id": "5ebdbc98-70ae-4195-b832-6f28cf6c4233", + "metadata": {}, + "source": [ + "### validate" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f2475d24-4419-442c-a371-8b7ba9434a9f", + "metadata": {}, + "outputs": [], + "source": [ + "def validate(i=None, wc=None, schemata=None):\n", + " i = i or wc()\n", + " schemata = schemata or widget_to_json_schemata(i, wc)\n", + " for api in schemata:\n", + " api_default = json.loads(json.dumps(api[\"default\"]))\n", + " errors = [\n", + " err.__dict__\n", + " for err\n", + " in jsonschema.Draft7Validator(api).iter_errors(api_default)\n", + " ]\n", + " if not errors:\n", + " print(wc.__name__, \"OK\")\n", + " if errors and VALIDATING:\n", + " [\n", + " print(err)\n", + " for err in errors\n", + " ]\n", + " raise ValueError(f\"{len(errors)} in {wc.__name__}\")\n", + " return schemata\n", + "validate(i, wc);" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c74fb7e3-4b82-43de-80b5-aedc358e106e", + "metadata": {}, + "outputs": [], + "source": [ + "BASE_JSON_TO_TS = lambda comment: [\n", + " \"yarn\", \"json2ts\", \"--unreachableDefintions\", \"--bannerComment\", f\"\"\"/** \n", + " {comment} \n", + " */\"\"\"\n", + "]" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "eec56431-338e-4b54-ad1e-fb5c611478d6", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "def make_a_widget_type_description(schemata=None, wc=None):\n", + " schemata = schemata or validate(wc=wc)\n", + " \n", + " final_dts = \"\"\n", + " \n", + " with tempfile.TemporaryDirectory() as td:\n", + " tdp = Path(td)\n", + " for api in schemata:\n", + " schema_json = tdp / \"foo.json\"\n", + " schema_json.write_text(json.dumps(api))\n", + " dts = tdp / \"foo.d.ts\"\n", + " args = [*BASE_JSON_TO_TS(f\"@see {wc.__name__}\"), \"-i\", schema_json, \"-o\", dts]\n", + " subprocess.check_call([*map(str, args)], cwd=Path.cwd().parent)\n", + " final_dts += \"\\n\" + dts.read_text()\n", + " print(len(final_dts))\n", + " return final_dts\n", + "make_a_widget_type_description(wc=wc)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "25d73125-24ee-4c4f-a152-24cf30815675", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "all_schema = {}\n", + "for wc in widget_classes:\n", + " try:\n", + " all_schema[wc] = validate(wc=wc)\n", + " IPython.get_ipython().log.info(\"OK %s\", wc.__name__)\n", + " except Exception as err:\n", + " IPython.get_ipython().log.warning(err)\n", + "len(all_schema)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "99a5734d-c03b-4a98-80cc-a131981e2cc8", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "def build_an_any_of_tree(all_schema, wc):\n", + " definitions = {\n", + " f\"\"\"I{\"Protected\" if si else \"Public\"}{c.__name__}\"\"\": schema\n", + " for c, schemata in all_schema.items()\n", + " for si, schema in enumerate(schemata)\n", + " }\n", + " return {\n", + " \"title\": f\"Any {wc.__name__}\",\n", + " **BASE,\n", + " \"anyOf\": [\n", + " {\n", + " \"title\": \"A Public Widget\",\n", + " \"anyOf\": [\n", + " {\"$ref\": f\"#/definitions/{ref}\"}\n", + " for ref in definitions if ref.startswith(\"IPublic\")\n", + " ]\n", + " },\n", + " {\n", + " \"title\": \"A Protected Widget\",\n", + " \"anyOf\": [\n", + " {\"$ref\": f\"#/definitions/{ref}\"}\n", + " for ref in definitions if ref.startswith(\"IProtected\")\n", + " ]\n", + " },\n", + " ],\n", + " \"definitions\": definitions,\n", + " }\n", + "any_of_tree = build_an_any_of_tree(all_schema, wc=Widget)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "9f7c947a-db04-41d5-ba6f-962bc2d5a5bc", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "all_dts = make_a_widget_type_description(schemata=[any_of_tree], wc=Widget)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "712d2b85-e0a6-41ea-b8ca-209f98ebe6ca", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "any_of_tree[\"definitions\"].keys()" + ] + }, + { + "cell_type": "markdown", + "id": "f6c6b0d7-3a0f-4d25-8098-411371ca28a8", + "metadata": {}, + "source": [ + "## Write out the types" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "6e7507d0-0dc6-44c3-b2c9-71daad7d4c86", + "metadata": {}, + "outputs": [], + "source": [ + "proto = Path.cwd().parent / \"packages/kernel/src/proto_widgets.ts\"\n", + "assert proto.exists()\n", + "kernel_src = proto.parent\n", + "_schema_widgets = kernel_src / \"_schema_widgets.d.ts\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "808f1bd5-2c2c-4325-bf54-ad547b42499d", + "metadata": {}, + "outputs": [], + "source": [ + "_schema_widgets.write_text(all_dts)" + ] + }, + { + "cell_type": "markdown", + "id": "c6676487-66b9-4210-9527-e8148ce18164", + "metadata": {}, + "source": [ + "## Write out the JSON" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "4d651157-1d92-4638-9256-6db9b9368444", + "metadata": {}, + "outputs": [], + "source": [ + "_schema_json = kernel_src / \"_schema_widgets.json\"\n", + "json_dump = dict(sum([\n", + " [(f\"IPublic{wc.__name__}\", public), (f\"IProtected{wc.__name__}\", protected)] \n", + " for wc, [public, protected] in all_schema.items()\n", + "], []))\n", + "_schema_json.write_text(json.dumps(\n", + "json_dump,\n", + "indent=2\n", + "))" + ] + }, + { + "cell_type": "markdown", + "id": "aac2bd80-13f3-4905-8a2a-2182f75919e2", + "metadata": {}, + "source": [ + "## More classes" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "407166d2-931c-48be-8102-c3eca709b967", + "metadata": {}, + "outputs": [], + "source": [ + "HEADER = \"\"\"\n", + "/** a bunch of widgets */\n", + "import * as PROTO from './_schema_widgets';\n", + "import * as SCHEMA from './_schema_widgets.json';\n", + "import {_HasTraits, _Widget} from './proto_widgets';\n", + "export let ALL = {} as Record;\n", + "\"\"\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "52963311-14a4-4f93-8898-a2c33c9992e1", + "metadata": {}, + "outputs": [], + "source": [ + "FOOTER = \"\"\"\n", + "// fin\n", + "\"\"\"" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "f6b11a30-33ce-458e-95f4-afb8103f32c9", + "metadata": {}, + "outputs": [], + "source": [ + "TEMPLATE = jinja2.Template(\"\"\"{{ HEADER }}\n", + "{% for ns, wcs in widget_classes|groupby(\"ns\") %}\n", + "export namespace {{ ns | join(\"_\") }} {\n", + " {% for item in wcs %}\n", + " {% set wc = item.wc %}\n", + " {% set n = wc.__name__ %}\n", + " {% set scopes = [\"Public\", \"Protected\"] %}\n", + " {% if n not in [\"Widget\", \"interactive\"] %}\n", + " {% set t = \"TAny\" + n %}\n", + " /** a type for the traits of {{ n }}*/\n", + " export type {{ t }} = {% for s in scopes %}{% if loop.index0 %} | {% endif %}PROTO.{{ n }}{{ s }}{% endfor %};\n", + "\n", + " /** a naive {{ n }} \n", + "\n", + " {{ wc.__doc__ }}\n", + "\n", + " @see {{ wc }}\n", + " */\n", + " export class _{{ n }} extends _Widget<{{ t }}> {\n", + " constructor(options: {{ t }}) {\n", + " super({ ..._{{ n }}.defaults(), ...options });\n", + " }\n", + "\n", + " static defaults(): {{ t }} {\n", + " return {\n", + " ...super.defaults(),\n", + " {%- for s in scopes %}\n", + " ...SCHEMA.I{{ s }}{{ n }}.default,{% endfor %}\n", + " };\n", + " }\n", + " }\n", + "\n", + " /** the concrete observable {{ n }} */\n", + " export const {{ n }} = _HasTraits._traitMeta<{{ t }}>(_{{ n }}); \n", + " \n", + " if (!NS['{{ n }}']) {\n", + " NS['{{ n }}'] = {{ n }};\n", + " } else {\n", + " console.log('{{ n }} is already hoisted', NS['{{ n }}']);\n", + " }\n", + " {% endif %}\n", + " // ---\n", + " {% endfor %}\n", + "} // end of {{ ns }}\n", + "{% endfor %}\n", + "{{ FOOTER }}\"\"\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "0e877b02-351a-452c-a025-87a367d3f0b4", + "metadata": {}, + "outputs": [], + "source": [ + "some_ts = TEMPLATE.render(widget_classes=[\n", + " {\"wc\": wc, \"ns\": wc.__module__.split(\".\")}\n", + " for wc, [public, protected] in all_schema.items()\n", + "], HEADER=HEADER, FOOTER=FOOTER)" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "62b78ba6-5eb6-44ae-8375-605942b34b95", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "IPython.display.Markdown(f\"\"\"```ts\n", + "{some_ts.split(\"// ---\")[0]}\n", + "```\"\"\")" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "2e348658-073d-44e4-9582-5c44b7a07860", + "metadata": { + "tags": [] + }, + "outputs": [], + "source": [ + "_ts_proto_wrappers = kernel_src / \"_proto_wrappers.ts\"\n", + "_ts_proto_wrappers.write_text(some_ts)" + ] + }, + { + "cell_type": "markdown", + "id": "c1aea762-0db8-4e6e-9d00-067738e1b7b7", + "metadata": {}, + "source": [ + "## Prettier" + ] + }, + { + "cell_type": "code", + "execution_count": null, + "id": "c5613ab6-7493-4d29-ad5f-15f17cf33fc3", + "metadata": {}, + "outputs": [], + "source": [ + "!cd .. && node ./node_modules/.bin/prettier --write packages/kernel/src/*" + ] + } + ], + "metadata": { + "kernelspec": { + "display_name": "Python 3", + "language": "python", + "name": "python3" + }, + "language_info": { + "codemirror_mode": { + "name": "ipython", + "version": 3 + }, + "file_extension": ".py", + "mimetype": "text/x-python", + "name": "python", + "nbconvert_exporter": "python", + "pygments_lexer": "ipython3", + "version": "3.8.10" + } + }, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/yarn.lock b/yarn.lock index 5663e21d0..5d29e6b26 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,16 @@ # yarn lockfile v1 +"@apidevtools/json-schema-ref-parser@9.0.9": + version "9.0.9" + resolved "https://registry.yarnpkg.com/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz#d720f9256e3609621280584f2b47ae165359268b" + integrity sha512-GBD2Le9w2+lVFoc4vswGI/TjkNIZSVp7+9xPf+X3uidBfWnAeUWmquteSyt0+VCrhNMWj/FTABISQrD3Z/YA+w== + dependencies: + "@jsdevtools/ono" "^7.1.3" + "@types/json-schema" "^7.0.6" + call-me-maybe "^1.0.1" + js-yaml "^4.1.0" + "@babel/code-frame@7.12.11": version "7.12.11" resolved "https://registry.yarnpkg.com/@babel/code-frame/-/code-frame-7.12.11.tgz#f4ad435aa263db935b8f10f2c552d23fb716a63f" @@ -1380,6 +1390,11 @@ "@types/yargs" "^15.0.0" chalk "^4.0.0" +"@jsdevtools/ono@^7.1.3": + version "7.1.3" + resolved "https://registry.yarnpkg.com/@jsdevtools/ono/-/ono-7.1.3.tgz#9df03bbd7c696a5c58885c34aa06da41c8543796" + integrity sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg== + "@jupyterlab/application-extension@^3.1.0-alpha.11": version "3.1.0-alpha.11" resolved "https://registry.yarnpkg.com/@jupyterlab/application-extension/-/application-extension-3.1.0-alpha.11.tgz#0db375d2c2fb581928b7ab7cf751b3aebbbd0e42" @@ -3677,6 +3692,7 @@ "@jupyterlab/apputils" "^3.1.0-alpha.11" "@jupyterlab/docmanager" "^3.1.0-alpha.11" "@jupyterlab/docprovider" "^3.1.0-alpha.11" + "@jupyterlab/help-extension" "^3.1.0-alpha.11" "@jupyterlab/mainmenu" "^3.1.0-alpha.11" "@jupyterlab/translation" "^3.1.0-alpha.11" "@jupyterlite/ui-components" "^0.1.0-alpha.0" @@ -5044,7 +5060,7 @@ dependencies: "@types/node" "*" -"@types/glob@^7.1.1": +"@types/glob@*", "@types/glob@^7.1.1": version "7.1.3" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.1.3.tgz#e6ba80f36b7daad2c685acd9266382e68985c183" integrity sha512-SEYeGAIQIQX8NN6LDKprLjbrd5dARM5EXsd8GI/A5l0apYI1fGMWgPHSe4ZKL4eozlAyI+doUE9XbYS4xCkQ1w== @@ -5098,7 +5114,7 @@ dependencies: "@types/lodash" "*" -"@types/lodash@*": +"@types/lodash@*", "@types/lodash@^4.14.168": version "4.14.170" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.170.tgz#0d67711d4bf7f4ca5147e9091b847479b87925d6" integrity sha512-bpcvu/MKHHeYX+qeEN8GE7DIravODWdACVA1ctevD8CN24RhPZIKMn9ntfAsrvLfSX3cR5RrBKAbYm9bGs0A+Q== @@ -5133,7 +5149,7 @@ resolved "https://registry.yarnpkg.com/@types/parse-json/-/parse-json-4.0.0.tgz#2f8bb441434d163b35fb8ffdccd7138927ffb8c0" integrity sha512-//oorEZjL6sbPcKUaCdIGlIUeH26mgzimjBB77G6XRgnDl/L5wOnpyBGRe/Mmf5CVW3PwEBE1NjiMZ/ssFh4wA== -"@types/prettier@^2.0.0": +"@types/prettier@^2.0.0", "@types/prettier@^2.1.5": version "2.2.3" resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.2.3.tgz#ef65165aea2924c9359205bf748865b8881753c0" integrity sha512-PijRCG/K3s3w1We6ynUKdxEc5AcuuH3NBmMDP8uvKVp6X43UY7NQlTzczakXP3DJR0F4dfNQIGjU2cUeRYs2AA== @@ -5583,7 +5599,7 @@ ansi-escapes@^4.2.1, ansi-escapes@^4.3.0: dependencies: type-fest "^0.21.3" -ansi-regex@^2.0.0: +ansi-regex@^2.0.0, ansi-regex@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" integrity sha1-w7M6te42DYbg5ijwRorn7yfWVN8= @@ -5663,6 +5679,11 @@ argparse@^1.0.7: dependencies: sprintf-js "~1.0.2" +argparse@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" + integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== + arr-diff@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" @@ -6345,6 +6366,18 @@ clean-stack@^2.0.0: resolved "https://registry.yarnpkg.com/clean-stack/-/clean-stack-2.2.0.tgz#ee8472dbb129e727b31e8a10a427dee9dfe4008b" integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A== +cli-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/cli-color/-/cli-color-2.0.0.tgz#11ecfb58a79278cf6035a60c54e338f9d837897c" + integrity sha512-a0VZ8LeraW0jTuCkuAGMNufareGHhyZU9z8OGsW0gXd1hZGi1SRuNRXdbGkraBBKnhyUhyebFWnRbp+dIn0f0A== + dependencies: + ansi-regex "^2.1.1" + d "^1.0.1" + es5-ext "^0.10.51" + es6-iterator "^2.0.3" + memoizee "^0.4.14" + timers-ext "^0.1.7" + cli-cursor@^2.1.0: version "2.1.0" resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-2.1.0.tgz#b35dac376479facc3e94747d41d0d0f5238ffcb5" @@ -7020,6 +7053,14 @@ d3-shape@^2.0.0: resolved "https://registry.yarnpkg.com/d3-timer/-/d3-timer-2.0.0.tgz#055edb1d170cfe31ab2da8968deee940b56623e6" integrity sha512-TO4VLh0/420Y/9dO3+f9abDEFYeCUr2WZRlxJvbp4HPTQcSylXNiL6yZa9FIUvV1yRiFufl1bszTCLDqv9PWNA== +d@1, d@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/d/-/d-1.0.1.tgz#8698095372d58dbee346ffd0c7093f99f8f9eb5a" + integrity sha512-m62ShEObQ39CfralilEQRjH6oAMtNCV1xJyEx5LpRYUVN+EviphDgUc/F3hnYbADmkiNs67Y+3ylmlG7Lnu+FA== + dependencies: + es5-ext "^0.10.50" + type "^1.0.1" + dargs@^4.0.1: version "4.1.0" resolved "https://registry.yarnpkg.com/dargs/-/dargs-4.1.0.tgz#03a9dbb4b5c2f139bf14ae53f0b8a2a6a86f4e17" @@ -7508,6 +7549,24 @@ es-to-primitive@^1.2.1: is-date-object "^1.0.1" is-symbol "^1.0.2" +es5-ext@^0.10.35, es5-ext@^0.10.46, es5-ext@^0.10.50, es5-ext@^0.10.51, es5-ext@^0.10.53, es5-ext@~0.10.14, es5-ext@~0.10.2, es5-ext@~0.10.46: + version "0.10.53" + resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.53.tgz#93c5a3acfdbef275220ad72644ad02ee18368de1" + integrity sha512-Xs2Stw6NiNHWypzRTY1MtaG/uJlwCk8kH81920ma8mvN8Xq1gsfhZvpkImLQArw8AHnv8MT2I45J3c0R8slE+Q== + dependencies: + es6-iterator "~2.0.3" + es6-symbol "~3.1.3" + next-tick "~1.0.0" + +es6-iterator@^2.0.3, es6-iterator@~2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-iterator/-/es6-iterator-2.0.3.tgz#a7de889141a05a94b0854403b2d0a0fbfa98f3b7" + integrity sha1-p96IkUGgWpSwhUQDstCg+/qY87c= + dependencies: + d "1" + es5-ext "^0.10.35" + es6-symbol "^3.1.1" + es6-promise@^4.0.3, es6-promise@~4.2.8: version "4.2.8" resolved "https://registry.yarnpkg.com/es6-promise/-/es6-promise-4.2.8.tgz#4eb21594c972bc40553d276e510539143db53e0a" @@ -7520,6 +7579,14 @@ es6-promisify@^5.0.0: dependencies: es6-promise "^4.0.3" +es6-symbol@^3.1.1, es6-symbol@~3.1.3: + version "3.1.3" + resolved "https://registry.yarnpkg.com/es6-symbol/-/es6-symbol-3.1.3.tgz#bad5d3c1bcdac28269f4cb331e431c78ac705d18" + integrity sha512-NJ6Yn3FuDinBaBRWl/q5X/s4koRHBrgKAu+yGI6JCBeiu3qrcbJhwT2GeR/EXVfylRk8dpQVJoLEFhK+Mu31NA== + dependencies: + d "^1.0.1" + ext "^1.1.2" + es6-templates@^0.2.3: version "0.2.3" resolved "https://registry.yarnpkg.com/es6-templates/-/es6-templates-0.2.3.tgz#5cb9ac9fb1ded6eb1239342b81d792bbb4078ee4" @@ -7528,6 +7595,16 @@ es6-templates@^0.2.3: recast "~0.11.12" through "~2.3.6" +es6-weak-map@^2.0.3: + version "2.0.3" + resolved "https://registry.yarnpkg.com/es6-weak-map/-/es6-weak-map-2.0.3.tgz#b6da1f16cc2cc0d9be43e6bdbfc5e7dfcdf31d53" + integrity sha512-p5um32HOTO1kP+w7PRnB+5lQ43Z6muuMuIMffvDN8ZB4GcnjLBV6zGStpbASIMk4DCAvEaamhe2zhyCb/QXXsA== + dependencies: + d "1" + es5-ext "^0.10.46" + es6-iterator "^2.0.3" + es6-symbol "^3.1.1" + escalade@^3.0.2, escalade@^3.1.1: version "3.1.1" resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" @@ -7715,6 +7792,14 @@ esutils@^2.0.2: resolved "https://registry.yarnpkg.com/esutils/-/esutils-2.0.3.tgz#74d2eb4de0b8da1293711910d50775b9b710ef64" integrity sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g== +event-emitter@^0.3.5: + version "0.3.5" + resolved "https://registry.yarnpkg.com/event-emitter/-/event-emitter-0.3.5.tgz#df8c69eef1647923c7157b9ce83840610b02cc39" + integrity sha1-34xp7vFkeSPHFXuc6DhAYQsCzDk= + dependencies: + d "1" + es5-ext "~0.10.14" + eventemitter3@^3.1.0: version "3.1.2" resolved "https://registry.yarnpkg.com/eventemitter3/-/eventemitter3-3.1.2.tgz#2d3d48f9c346698fce83a85d7d664e98535df6e7" @@ -7810,6 +7895,13 @@ expect@^26.6.2: jest-message-util "^26.6.2" jest-regex-util "^26.0.0" +ext@^1.1.2: + version "1.4.0" + resolved "https://registry.yarnpkg.com/ext/-/ext-1.4.0.tgz#89ae7a07158f79d35517882904324077e4379244" + integrity sha512-Key5NIsUxdqKg3vIsdw9dSuXpPCQ297y6wBjL30edxwPgt2E44WcWBZey/ZvUc6sERLTxKdyCu4gZFmUbk1Q7A== + dependencies: + type "^2.0.0" + extend-shallow@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" @@ -8274,6 +8366,11 @@ get-stdin@^7.0.0: resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-7.0.0.tgz#8d5de98f15171a125c5e516643c7a6d0ea8a96f6" integrity sha512-zRKcywvrXlXsA0v0i9Io4KDRaAw7+a1ZpjRwl9Wox8PFlVCCHra7E9c4kqXCoCM9nR5tBkaTTZRBoCm60bFqTQ== +get-stdin@^8.0.0: + version "8.0.0" + resolved "https://registry.yarnpkg.com/get-stdin/-/get-stdin-8.0.0.tgz#cbad6a73feb75f6eeb22ba9e01f89aa28aa97a53" + integrity sha512-sY22aA6xchAzprjyqmSEQv4UbAAzRN0L2dQB0NlN5acTTK9Don6nhoc3eAbUnpZiCANAMfd/+40kVdKfFygohg== + get-stream@^4.0.0, get-stream@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-4.1.0.tgz#c1b255575f3dc21d59bfc79cd3d2b46b1c3a54b5" @@ -8374,6 +8471,13 @@ glob-parent@^5.0.0, glob-parent@^5.1.0: dependencies: is-glob "^4.0.1" +glob-promise@^3.4.0: + version "3.4.0" + resolved "https://registry.yarnpkg.com/glob-promise/-/glob-promise-3.4.0.tgz#b6b8f084504216f702dc2ce8c9bc9ac8866fdb20" + integrity sha512-q08RJ6O+eJn+dVanerAndJwIcumgbDdYiUT7zFQl3Wm1xD6fBKtah7H8ZJChj4wP+8C+QfeVy8xautR7rdmKEw== + dependencies: + "@types/glob" "*" + glob-to-regexp@^0.3.0: version "0.3.0" resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" @@ -8384,7 +8488,7 @@ glob-to-regexp@^0.4.1: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.4.1.tgz#c75297087c851b9a578bd217dd59a92f59fe546e" integrity sha512-lkX1HJXwyMcprw/5YUZc2s7DrpAiHB21/V+E1rHUrVNokkvB6bqMzT0VfV6/86ZNabt1k14YOIaT7nDvOX3Iiw== -glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@~7.1.6: +glob@^7.0.0, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6, glob@~7.1.6: version "7.1.7" resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.7.tgz#3b193e9233f01d42d0b3f78294bbeeb418f94a90" integrity sha512-OvD9ENzPLbegENnYP5UUfJIirTg4+XwMWGaQfQTY0JenxNvvIKP3U3/tAQSPIu/lHxXYSZmpXlUHeqAIdKzBLQ== @@ -9184,6 +9288,11 @@ is-potential-custom-element-name@^1.0.0: resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" integrity sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ== +is-promise@^2.2.2: + version "2.2.2" + resolved "https://registry.yarnpkg.com/is-promise/-/is-promise-2.2.2.tgz#39ab959ccbf9a774cf079f7b40c7a26f763135f1" + integrity sha512-+lP4/6lKUBfQjZ2pdxThZvLUAafmZb8OAxFb8XXtiQmS35INgr85hdOGoEs124ez1FCnZJt6jau/T+alh58QFQ== + is-regex@^1.0.4, is-regex@^1.1.2: version "1.1.3" resolved "https://registry.yarnpkg.com/is-regex/-/is-regex-1.1.3.tgz#d029f9aff6448b93ebbe3f33dac71511fdcbef9f" @@ -9746,6 +9855,13 @@ js-yaml@^3.13.1: argparse "^1.0.7" esprima "^4.0.0" +js-yaml@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-4.1.0.tgz#c1fb65f8f5017901cdd2c951864ba18458a10602" + integrity sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA== + dependencies: + argparse "^2.0.1" + jsbn@~0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/jsbn/-/jsbn-0.1.1.tgz#a5e654c2e5a2deb5f201d96cefbca80c0ef2f513" @@ -9808,6 +9924,34 @@ json-parse-even-better-errors@^2.3.0: resolved "https://registry.yarnpkg.com/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz#7c47805a94319928e05777405dc12e1f7a4ee02d" integrity sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w== +json-schema-ref-parser@^9.0.6: + version "9.0.9" + resolved "https://registry.yarnpkg.com/json-schema-ref-parser/-/json-schema-ref-parser-9.0.9.tgz#66ea538e7450b12af342fa3d5b8458bc1e1e013f" + integrity sha512-qcP2lmGy+JUoQJ4DOQeLaZDqH9qSkeGCK3suKWxJXS82dg728Mn3j97azDMaOUmJAN4uCq91LdPx4K7E8F1a7Q== + dependencies: + "@apidevtools/json-schema-ref-parser" "9.0.9" + +json-schema-to-typescript@^10.1.4: + version "10.1.4" + resolved "https://registry.yarnpkg.com/json-schema-to-typescript/-/json-schema-to-typescript-10.1.4.tgz#6d8ae66937d07bd054095fc4a541aa81acea3549" + integrity sha512-HWm23Z6Fnj3rnm4FKZh3sMz70hNoA+AfqVuV+ZcwFIhq6v76YVUMZSLlonrw7GI5yIoiuuJjB5rqakIYRCLlsg== + dependencies: + "@types/json-schema" "^7.0.6" + "@types/lodash" "^4.14.168" + "@types/prettier" "^2.1.5" + cli-color "^2.0.0" + get-stdin "^8.0.0" + glob "^7.1.6" + glob-promise "^3.4.0" + is-glob "^4.0.1" + json-schema-ref-parser "^9.0.6" + json-stringify-safe "^5.0.1" + lodash "^4.17.20" + minimist "^1.2.5" + mkdirp "^1.0.4" + mz "^2.7.0" + prettier "^2.2.0" + json-schema-traverse@^0.4.1: version "0.4.1" resolved "https://registry.yarnpkg.com/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz#69f6a87d9513ab8bb8fe63bdb0979c448e684660" @@ -10354,6 +10498,13 @@ lru-cache@^6.0.0: dependencies: yallist "^4.0.0" +lru-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/lru-queue/-/lru-queue-0.1.0.tgz#2738bd9f0d3cf4f84490c5736c48699ac632cda3" + integrity sha1-Jzi9nw089PhEkMVzbEhpmsYyzaM= + dependencies: + es5-ext "~0.10.2" + ltgt@^2.1.2: version "2.2.1" resolved "https://registry.yarnpkg.com/ltgt/-/ltgt-2.2.1.tgz#f35ca91c493f7b73da0e07495304f17b31f87ee5" @@ -10478,6 +10629,20 @@ mdn-data@2.0.14: resolved "https://registry.yarnpkg.com/mdn-data/-/mdn-data-2.0.14.tgz#7113fc4281917d63ce29b43446f701e68c25ba50" integrity sha512-dn6wd0uw5GsdswPFfsgMp5NSB0/aDe6fK94YJV/AJDYXL6HVLWBsxeq7js7Ad+mU2K9LAlwpk6kN2D5mwCPVow== +memoizee@^0.4.14: + version "0.4.15" + resolved "https://registry.yarnpkg.com/memoizee/-/memoizee-0.4.15.tgz#e6f3d2da863f318d02225391829a6c5956555b72" + integrity sha512-UBWmJpLZd5STPm7PMUlOw/TSy972M+z8gcyQ5veOnSDRREz/0bmpyTfKt3/51DhEBqCZQn1udM/5flcSPYhkdQ== + dependencies: + d "^1.0.1" + es5-ext "^0.10.53" + es6-weak-map "^2.0.3" + event-emitter "^0.3.5" + is-promise "^2.2.2" + lru-queue "^0.1.0" + next-tick "^1.1.0" + timers-ext "^0.1.7" + memorystream@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/memorystream/-/memorystream-0.3.1.tgz#86d7090b30ce455d63fbae12dda51a47ddcaf9b2" @@ -10816,7 +10981,7 @@ mute-stream@0.0.8, mute-stream@~0.0.4: resolved "https://registry.yarnpkg.com/mute-stream/-/mute-stream-0.0.8.tgz#1630c42b2251ff81e2a283de96a5497ea92e5e0d" integrity sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA== -mz@^2.5.0: +mz@^2.5.0, mz@^2.7.0: version "2.7.0" resolved "https://registry.yarnpkg.com/mz/-/mz-2.7.0.tgz#95008057a56cafadc2bc63dde7f9ff6955948e32" integrity sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q== @@ -10862,6 +11027,16 @@ neo-async@^2.6.0, neo-async@^2.6.2: resolved "https://registry.yarnpkg.com/neo-async/-/neo-async-2.6.2.tgz#b4aafb93e3aeb2d8174ca53cf163ab7d7308305f" integrity sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw== +next-tick@1, next-tick@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.1.0.tgz#1836ee30ad56d67ef281b22bd199f709449b35eb" + integrity sha512-CXdUiJembsNjuToQvxayPZF9Vqht7hewsvy2sOWafLvi2awflj9mOC6bHIg50orX8IJvWKY9wYQ/zB2kogPslQ== + +next-tick@~1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/next-tick/-/next-tick-1.0.0.tgz#ca86d1fe8828169b0120208e3dc8424b9db8342c" + integrity sha1-yobR/ogoFpsBICCOPchCS524NCw= + nice-try@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" @@ -11783,6 +11958,11 @@ prettier@^2.1.1: resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18" integrity sha512-kXtO4s0Lz/DW/IJ9QdWhAf7/NmPWQXkFr/r/WkR3vyI+0v8amTDxiaQSLzs8NBlytfLWX/7uQUMIW677yLKl4w== +prettier@^2.2.0: + version "2.3.1" + resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.1.tgz#76903c3f8c4449bc9ac597acefa24dc5ad4cbea6" + integrity sha512-p+vNbgpLjif/+D+DwAZAbndtRrR0md0MwfmOVN9N+2RgyACMT+7tfaRnT+WDPkqnuVwleyuBIG2XBxKDme3hPA== + pretty-format@^26.0.0, pretty-format@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-26.6.2.tgz#e35c2705f14cb7fe2fe94fa078345b444120fc93" @@ -13577,6 +13757,14 @@ through@2, "through@>=2.2.7 <3", through@^2.3.4, through@^2.3.6, through@^2.3.8, resolved "https://registry.yarnpkg.com/through/-/through-2.3.8.tgz#0dd4c9ffaabc357960b1b724115d7e0e86a2e1f5" integrity sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU= +timers-ext@^0.1.7: + version "0.1.7" + resolved "https://registry.yarnpkg.com/timers-ext/-/timers-ext-0.1.7.tgz#6f57ad8578e07a3fb9f91d9387d65647555e25c6" + integrity sha512-b85NUNzTSdodShTIbky6ZF02e8STtVVfD+fu4aXXShEELpozH+bCpJLYMPZbsABN2wDH7fJpqIoXxJpzbf0NqQ== + dependencies: + es5-ext "~0.10.46" + next-tick "1" + tmp@^0.0.33: version "0.0.33" resolved "https://registry.yarnpkg.com/tmp/-/tmp-0.0.33.tgz#6d34335889768d21b2bcda0aa277ced3b1bfadf9" @@ -13805,6 +13993,16 @@ type-fest@^0.8.1: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.8.1.tgz#09e249ebde851d3b1e48d27c105444667f17b83d" integrity sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA== +type@^1.0.1: + version "1.2.0" + resolved "https://registry.yarnpkg.com/type/-/type-1.2.0.tgz#848dd7698dafa3e54a6c479e759c4bc3f18847a0" + integrity sha512-+5nt5AAniqsCnu2cEQQdpzCAh33kVx8n0VoFidKpB1dVVLAN/F+bgVOqOJqOnEnrhp222clB5p3vUlD+1QAnfg== + +type@^2.0.0: + version "2.5.0" + resolved "https://registry.yarnpkg.com/type/-/type-2.5.0.tgz#0a2e78c2e77907b252abe5f298c1b01c63f0db3d" + integrity sha512-180WMDQaIMm3+7hGXWf12GtdniDEy7nYcyFMKJn/eZz/6tSLXrUN9V0wKSbMjej0I1WHWbpREDEKHtqPQa9NNw== + typed-styles@^0.0.7: version "0.0.7" resolved "https://registry.yarnpkg.com/typed-styles/-/typed-styles-0.0.7.tgz#93392a008794c4595119ff62dde6809dbc40a3d9" From cf3790e3d30787f48c1e2c9fd6e34982316176af Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 11 Jun 2021 13:27:23 -0400 Subject: [PATCH 17/21] more wrapper updates --- packages/kernel/src/_proto_wrappers.ts | 2062 ++-- packages/kernel/src/_schema_widgets.d.ts | 3798 +++--- packages/kernel/src/_schema_widgets.json | 13492 ++++++++++----------- scripts/schema-widgets.ipynb | 8 +- 4 files changed, 9680 insertions(+), 9680 deletions(-) diff --git a/packages/kernel/src/_proto_wrappers.ts b/packages/kernel/src/_proto_wrappers.ts index de2412266..da46d1de1 100644 --- a/packages/kernel/src/_proto_wrappers.ts +++ b/packages/kernel/src/_proto_wrappers.ts @@ -12,7 +12,7 @@ export namespace ipywidgets_widgets_domwidget { Widget that can be inserted into the DOM - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#DOMWidget */ export class _DOMWidget extends _Widget { constructor(options: TAnyDOMWidget) { @@ -31,10 +31,10 @@ export namespace ipywidgets_widgets_domwidget { /** the concrete observable DOMWidget */ export const DOMWidget = _HasTraits._traitMeta(_DOMWidget); - if (!NS['DOMWidget']) { - NS['DOMWidget'] = DOMWidget; + if (!ALL['DOMWidget']) { + ALL['DOMWidget'] = DOMWidget; } else { - console.log('DOMWidget is already hoisted', NS['DOMWidget']); + console.log('DOMWidget is already hoisted', ALL['DOMWidget']); } // --- @@ -45,6 +45,81 @@ export namespace ipywidgets_widgets_widget { } // end of ['ipywidgets', 'widgets', 'widget'] export namespace ipywidgets_widgets_widget_bool { + /** a type for the traits of _Bool*/ + export type TAny_Bool = PROTO._BoolPublic | PROTO._BoolProtected; + + /** a naive _Bool + + A base class for creating widgets that represent booleans. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Bool + */ + export class __Bool extends _Widget { + constructor(options: TAny_Bool) { + super({ ...__Bool.defaults(), ...options }); + } + + static defaults(): TAny_Bool { + return { + ...super.defaults(), + ...SCHEMA.IPublic_Bool.default, + ...SCHEMA.IProtected_Bool.default + }; + } + } + + /** the concrete observable _Bool */ + export const _Bool = _HasTraits._traitMeta(__Bool); + + if (!ALL['_Bool']) { + ALL['_Bool'] = _Bool; + } else { + console.log('_Bool is already hoisted', ALL['_Bool']); + } + + // --- + + /** a type for the traits of Valid*/ + export type TAnyValid = PROTO.ValidPublic | PROTO.ValidProtected; + + /** a naive Valid + + Displays a boolean `value` in the form of a green check (True / valid) + or a red cross (False / invalid). + + Parameters + ---------- + value: {True,False} + value of the Valid widget + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Valid + */ + export class _Valid extends _Widget { + constructor(options: TAnyValid) { + super({ ..._Valid.defaults(), ...options }); + } + + static defaults(): TAnyValid { + return { + ...super.defaults(), + ...SCHEMA.IPublicValid.default, + ...SCHEMA.IProtectedValid.default + }; + } + } + + /** the concrete observable Valid */ + export const Valid = _HasTraits._traitMeta(_Valid); + + if (!ALL['Valid']) { + ALL['Valid'] = Valid; + } else { + console.log('Valid is already hoisted', ALL['Valid']); + } + + // --- + /** a type for the traits of Checkbox*/ export type TAnyCheckbox = PROTO.CheckboxPublic | PROTO.CheckboxProtected; @@ -62,7 +137,7 @@ export namespace ipywidgets_widgets_widget_bool { indent the control to align with other controls with a description. The style.description_width attribute controls this width for consistence with other controls. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Checkbox */ export class _Checkbox extends _Widget { constructor(options: TAnyCheckbox) { @@ -81,10 +156,10 @@ export namespace ipywidgets_widgets_widget_bool { /** the concrete observable Checkbox */ export const Checkbox = _HasTraits._traitMeta(_Checkbox); - if (!NS['Checkbox']) { - NS['Checkbox'] = Checkbox; + if (!ALL['Checkbox']) { + ALL['Checkbox'] = Checkbox; } else { - console.log('Checkbox is already hoisted', NS['Checkbox']); + console.log('Checkbox is already hoisted', ALL['Checkbox']); } // --- @@ -108,7 +183,7 @@ export namespace ipywidgets_widgets_widget_bool { font-awesome icon name - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButton */ export class _ToggleButton extends _Widget { constructor(options: TAnyToggleButton) { @@ -127,91 +202,120 @@ export namespace ipywidgets_widgets_widget_bool { /** the concrete observable ToggleButton */ export const ToggleButton = _HasTraits._traitMeta(_ToggleButton); - if (!NS['ToggleButton']) { - NS['ToggleButton'] = ToggleButton; + if (!ALL['ToggleButton']) { + ALL['ToggleButton'] = ToggleButton; } else { - console.log('ToggleButton is already hoisted', NS['ToggleButton']); + console.log('ToggleButton is already hoisted', ALL['ToggleButton']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_bool'] - /** a type for the traits of _Bool*/ - export type TAny_Bool = PROTO._BoolPublic | PROTO._BoolProtected; +export namespace ipywidgets_widgets_widget_box { + /** a type for the traits of GridBox*/ + export type TAnyGridBox = PROTO.GridBoxPublic | PROTO.GridBoxProtected; - /** a naive _Bool + /** a naive GridBox - A base class for creating widgets that represent booleans. + Displays multiple widgets in rows and columns using the grid box model. + + Parameters + ---------- + {box_params} + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Grid Box Example') + >>> slider = widgets.IntSlider() + >>> button1 = widgets.Button(description='1') + >>> button2 = widgets.Button(description='2') + >>> # Create a grid with two columns, splitting space equally + >>> layout = widgets.Layout(grid_template_columns='1fr 1fr') + >>> widgets.GridBox([title_widget, slider, button1, button2], layout=layout) + - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#GridBox */ - export class __Bool extends _Widget { - constructor(options: TAny_Bool) { - super({ ...__Bool.defaults(), ...options }); + export class _GridBox extends _Widget { + constructor(options: TAnyGridBox) { + super({ ..._GridBox.defaults(), ...options }); } - static defaults(): TAny_Bool { + static defaults(): TAnyGridBox { return { ...super.defaults(), - ...SCHEMA.IPublic_Bool.default, - ...SCHEMA.IProtected_Bool.default + ...SCHEMA.IPublicGridBox.default, + ...SCHEMA.IProtectedGridBox.default }; } } - /** the concrete observable _Bool */ - export const _Bool = _HasTraits._traitMeta(__Bool); + /** the concrete observable GridBox */ + export const GridBox = _HasTraits._traitMeta(_GridBox); - if (!NS['_Bool']) { - NS['_Bool'] = _Bool; + if (!ALL['GridBox']) { + ALL['GridBox'] = GridBox; } else { - console.log('_Bool is already hoisted', NS['_Bool']); + console.log('GridBox is already hoisted', ALL['GridBox']); } // --- - /** a type for the traits of Valid*/ - export type TAnyValid = PROTO.ValidPublic | PROTO.ValidProtected; + /** a type for the traits of Box*/ + export type TAnyBox = PROTO.BoxPublic | PROTO.BoxProtected; - /** a naive Valid + /** a naive Box - Displays a boolean `value` in the form of a green check (True / valid) - or a red cross (False / invalid). + Displays multiple widgets in a group. + + The widgets are laid out horizontally. Parameters ---------- - value: {True,False} - value of the Valid widget + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.Box([title_widget, slider]) - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Box */ - export class _Valid extends _Widget { - constructor(options: TAnyValid) { - super({ ..._Valid.defaults(), ...options }); + export class _Box extends _Widget { + constructor(options: TAnyBox) { + super({ ..._Box.defaults(), ...options }); } - static defaults(): TAnyValid { + static defaults(): TAnyBox { return { ...super.defaults(), - ...SCHEMA.IPublicValid.default, - ...SCHEMA.IProtectedValid.default + ...SCHEMA.IPublicBox.default, + ...SCHEMA.IProtectedBox.default }; } } - /** the concrete observable Valid */ - export const Valid = _HasTraits._traitMeta(_Valid); + /** the concrete observable Box */ + export const Box = _HasTraits._traitMeta(_Box); - if (!NS['Valid']) { - NS['Valid'] = Valid; + if (!ALL['Box']) { + ALL['Box'] = Box; } else { - console.log('Valid is already hoisted', NS['Valid']); + console.log('Box is already hoisted', ALL['Box']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_bool'] -export namespace ipywidgets_widgets_widget_box { /** a type for the traits of VBox*/ export type TAnyVBox = PROTO.VBoxPublic | PROTO.VBoxProtected; @@ -237,7 +341,7 @@ export namespace ipywidgets_widgets_widget_box { >>> widgets.VBox([title_widget, slider]) - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#VBox */ export class _VBox extends _Widget { constructor(options: TAnyVBox) { @@ -256,10 +360,10 @@ export namespace ipywidgets_widgets_widget_box { /** the concrete observable VBox */ export const VBox = _HasTraits._traitMeta(_VBox); - if (!NS['VBox']) { - NS['VBox'] = VBox; + if (!ALL['VBox']) { + ALL['VBox'] = VBox; } else { - console.log('VBox is already hoisted', NS['VBox']); + console.log('VBox is already hoisted', ALL['VBox']); } // --- @@ -289,7 +393,7 @@ export namespace ipywidgets_widgets_widget_box { >>> widgets.HBox([title_widget, slider]) - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HBox */ export class _HBox extends _Widget { constructor(options: TAnyHBox) { @@ -308,120 +412,65 @@ export namespace ipywidgets_widgets_widget_box { /** the concrete observable HBox */ export const HBox = _HasTraits._traitMeta(_HBox); - if (!NS['HBox']) { - NS['HBox'] = HBox; - } else { - console.log('HBox is already hoisted', NS['HBox']); - } - - // --- - - /** a type for the traits of GridBox*/ - export type TAnyGridBox = PROTO.GridBoxPublic | PROTO.GridBoxProtected; - - /** a naive GridBox - - Displays multiple widgets in rows and columns using the grid box model. - - Parameters - ---------- - {box_params} - - Examples - -------- - >>> import ipywidgets as widgets - >>> title_widget = widgets.HTML('Grid Box Example') - >>> slider = widgets.IntSlider() - >>> button1 = widgets.Button(description='1') - >>> button2 = widgets.Button(description='2') - >>> # Create a grid with two columns, splitting space equally - >>> layout = widgets.Layout(grid_template_columns='1fr 1fr') - >>> widgets.GridBox([title_widget, slider, button1, button2], layout=layout) - - - @see - */ - export class _GridBox extends _Widget { - constructor(options: TAnyGridBox) { - super({ ..._GridBox.defaults(), ...options }); - } - - static defaults(): TAnyGridBox { - return { - ...super.defaults(), - ...SCHEMA.IPublicGridBox.default, - ...SCHEMA.IProtectedGridBox.default - }; - } - } - - /** the concrete observable GridBox */ - export const GridBox = _HasTraits._traitMeta(_GridBox); - - if (!NS['GridBox']) { - NS['GridBox'] = GridBox; + if (!ALL['HBox']) { + ALL['HBox'] = HBox; } else { - console.log('GridBox is already hoisted', NS['GridBox']); + console.log('HBox is already hoisted', ALL['HBox']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_box'] - /** a type for the traits of Box*/ - export type TAnyBox = PROTO.BoxPublic | PROTO.BoxProtected; +export namespace ipywidgets_widgets_widget_button { + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - /** a naive Box + /** a naive Button - Displays multiple widgets in a group. + Button widget. - The widgets are laid out horizontally. + This widget has an `on_click` method that allows you to listen for the + user clicking on the button. The click event itself is stateless. Parameters ---------- - children: iterable of Widget instances - list of widgets to display - - box_style: str - one of 'success', 'info', 'warning' or 'danger', or ''. - Applies a predefined style to the box. Defaults to '', - which applies no pre-defined style. - - Examples - -------- - >>> import ipywidgets as widgets - >>> title_widget = widgets.HTML('Box Example') - >>> slider = widgets.IntSlider() - >>> widgets.Box([title_widget, slider]) + description: str + description displayed next to the button + tooltip: str + tooltip caption of the toggle button + icon: str + font-awesome icon name + disabled: bool + whether user interaction is enabled - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button */ - export class _Box extends _Widget { - constructor(options: TAnyBox) { - super({ ..._Box.defaults(), ...options }); + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); } - static defaults(): TAnyBox { + static defaults(): TAnyButton { return { ...super.defaults(), - ...SCHEMA.IPublicBox.default, - ...SCHEMA.IProtectedBox.default + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default }; } } - /** the concrete observable Box */ - export const Box = _HasTraits._traitMeta(_Box); + /** the concrete observable Button */ + export const Button = _HasTraits._traitMeta(_Button); - if (!NS['Box']) { - NS['Box'] = Box; + if (!ALL['Button']) { + ALL['Button'] = Button; } else { - console.log('Box is already hoisted', NS['Box']); + console.log('Button is already hoisted', ALL['Button']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_box'] -export namespace ipywidgets_widgets_widget_button { /** a type for the traits of ButtonStyle*/ export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; @@ -429,7 +478,7 @@ export namespace ipywidgets_widgets_widget_button { Button style widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ButtonStyle */ export class _ButtonStyle extends _Widget { constructor(options: TAnyButtonStyle) { @@ -448,63 +497,14 @@ export namespace ipywidgets_widgets_widget_button { /** the concrete observable ButtonStyle */ export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); - if (!NS['ButtonStyle']) { - NS['ButtonStyle'] = ButtonStyle; + if (!ALL['ButtonStyle']) { + ALL['ButtonStyle'] = ButtonStyle; } else { - console.log('ButtonStyle is already hoisted', NS['ButtonStyle']); + console.log('ButtonStyle is already hoisted', ALL['ButtonStyle']); } // --- - - /** a type for the traits of Button*/ - export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - - /** a naive Button - - Button widget. - - This widget has an `on_click` method that allows you to listen for the - user clicking on the button. The click event itself is stateless. - - Parameters - ---------- - description: str - description displayed next to the button - tooltip: str - tooltip caption of the toggle button - icon: str - font-awesome icon name - disabled: bool - whether user interaction is enabled - - - @see - */ - export class _Button extends _Widget { - constructor(options: TAnyButton) { - super({ ..._Button.defaults(), ...options }); - } - - static defaults(): TAnyButton { - return { - ...super.defaults(), - ...SCHEMA.IPublicButton.default, - ...SCHEMA.IProtectedButton.default - }; - } - } - - /** the concrete observable Button */ - export const Button = _HasTraits._traitMeta(_Button); - - if (!NS['Button']) { - NS['Button'] = Button; - } else { - console.log('Button is already hoisted', NS['Button']); - } - - // --- -} // end of ['ipywidgets', 'widgets', 'widget_button'] +} // end of ['ipywidgets', 'widgets', 'widget_button'] export namespace ipywidgets_widgets_widget_color { /** a type for the traits of ColorPicker*/ @@ -514,7 +514,7 @@ export namespace ipywidgets_widgets_widget_color { None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ColorPicker */ export class _ColorPicker extends _Widget { constructor(options: TAnyColorPicker) { @@ -533,46 +533,46 @@ export namespace ipywidgets_widgets_widget_color { /** the concrete observable ColorPicker */ export const ColorPicker = _HasTraits._traitMeta(_ColorPicker); - if (!NS['ColorPicker']) { - NS['ColorPicker'] = ColorPicker; + if (!ALL['ColorPicker']) { + ALL['ColorPicker'] = ColorPicker; } else { - console.log('ColorPicker is already hoisted', NS['ColorPicker']); + console.log('ColorPicker is already hoisted', ALL['ColorPicker']); } // --- } // end of ['ipywidgets', 'widgets', 'widget_color'] export namespace ipywidgets_widgets_widget_controller { - /** a type for the traits of Axis*/ - export type TAnyAxis = PROTO.AxisPublic | PROTO.AxisProtected; + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - /** a naive Axis + /** a naive Button - Represents a gamepad or joystick axis. + Represents a gamepad or joystick button. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button */ - export class _Axis extends _Widget { - constructor(options: TAnyAxis) { - super({ ..._Axis.defaults(), ...options }); + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); } - static defaults(): TAnyAxis { + static defaults(): TAnyButton { return { ...super.defaults(), - ...SCHEMA.IPublicAxis.default, - ...SCHEMA.IProtectedAxis.default + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default }; } } - /** the concrete observable Axis */ - export const Axis = _HasTraits._traitMeta(_Axis); + /** the concrete observable Button */ + export const Button = _HasTraits._traitMeta(_Button); - if (!NS['Axis']) { - NS['Axis'] = Axis; + if (!ALL['Button']) { + ALL['Button'] = Button; } else { - console.log('Axis is already hoisted', NS['Axis']); + console.log('Button is already hoisted', ALL['Button']); } // --- @@ -584,7 +584,7 @@ export namespace ipywidgets_widgets_widget_controller { Represents a game controller. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Controller */ export class _Controller extends _Widget { constructor(options: TAnyController) { @@ -603,44 +603,44 @@ export namespace ipywidgets_widgets_widget_controller { /** the concrete observable Controller */ export const Controller = _HasTraits._traitMeta(_Controller); - if (!NS['Controller']) { - NS['Controller'] = Controller; + if (!ALL['Controller']) { + ALL['Controller'] = Controller; } else { - console.log('Controller is already hoisted', NS['Controller']); + console.log('Controller is already hoisted', ALL['Controller']); } // --- - /** a type for the traits of Button*/ - export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; + /** a type for the traits of Axis*/ + export type TAnyAxis = PROTO.AxisPublic | PROTO.AxisProtected; - /** a naive Button + /** a naive Axis - Represents a gamepad or joystick button. + Represents a gamepad or joystick axis. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Axis */ - export class _Button extends _Widget { - constructor(options: TAnyButton) { - super({ ..._Button.defaults(), ...options }); + export class _Axis extends _Widget { + constructor(options: TAnyAxis) { + super({ ..._Axis.defaults(), ...options }); } - static defaults(): TAnyButton { + static defaults(): TAnyAxis { return { ...super.defaults(), - ...SCHEMA.IPublicButton.default, - ...SCHEMA.IProtectedButton.default + ...SCHEMA.IPublicAxis.default, + ...SCHEMA.IProtectedAxis.default }; } } - /** the concrete observable Button */ - export const Button = _HasTraits._traitMeta(_Button); + /** the concrete observable Axis */ + export const Axis = _HasTraits._traitMeta(_Axis); - if (!NS['Button']) { - NS['Button'] = Button; + if (!ALL['Axis']) { + ALL['Axis'] = Axis; } else { - console.log('Button is already hoisted', NS['Button']); + console.log('Axis is already hoisted', ALL['Axis']); } // --- @@ -654,7 +654,7 @@ export namespace ipywidgets_widgets_widget_core { None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#CoreWidget */ export class _CoreWidget extends _Widget { constructor(options: TAnyCoreWidget) { @@ -673,54 +673,16 @@ export namespace ipywidgets_widgets_widget_core { /** the concrete observable CoreWidget */ export const CoreWidget = _HasTraits._traitMeta(_CoreWidget); - if (!NS['CoreWidget']) { - NS['CoreWidget'] = CoreWidget; + if (!ALL['CoreWidget']) { + ALL['CoreWidget'] = CoreWidget; } else { - console.log('CoreWidget is already hoisted', NS['CoreWidget']); + console.log('CoreWidget is already hoisted', ALL['CoreWidget']); } // --- } // end of ['ipywidgets', 'widgets', 'widget_core'] export namespace ipywidgets_widgets_widget_description { - /** a type for the traits of DescriptionStyle*/ - export type TAnyDescriptionStyle = - | PROTO.DescriptionStylePublic - | PROTO.DescriptionStyleProtected; - - /** a naive DescriptionStyle - - Description style widget. - - @see - */ - export class _DescriptionStyle extends _Widget { - constructor(options: TAnyDescriptionStyle) { - super({ ..._DescriptionStyle.defaults(), ...options }); - } - - static defaults(): TAnyDescriptionStyle { - return { - ...super.defaults(), - ...SCHEMA.IPublicDescriptionStyle.default, - ...SCHEMA.IProtectedDescriptionStyle.default - }; - } - } - - /** the concrete observable DescriptionStyle */ - export const DescriptionStyle = _HasTraits._traitMeta( - _DescriptionStyle - ); - - if (!NS['DescriptionStyle']) { - NS['DescriptionStyle'] = DescriptionStyle; - } else { - console.log('DescriptionStyle is already hoisted', NS['DescriptionStyle']); - } - - // --- - /** a type for the traits of DescriptionWidget*/ export type TAnyDescriptionWidget = | PROTO.DescriptionWidgetPublic @@ -730,7 +692,7 @@ export namespace ipywidgets_widgets_widget_description { Widget that has a description label to the side. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#DescriptionWidget */ export class _DescriptionWidget extends _Widget { constructor(options: TAnyDescriptionWidget) { @@ -751,331 +713,136 @@ export namespace ipywidgets_widgets_widget_description { _DescriptionWidget ); - if (!NS['DescriptionWidget']) { - NS['DescriptionWidget'] = DescriptionWidget; + if (!ALL['DescriptionWidget']) { + ALL['DescriptionWidget'] = DescriptionWidget; } else { - console.log('DescriptionWidget is already hoisted', NS['DescriptionWidget']); + console.log('DescriptionWidget is already hoisted', ALL['DescriptionWidget']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_description'] - -export namespace ipywidgets_widgets_widget_float { - /** a type for the traits of BoundedFloatText*/ - export type TAnyBoundedFloatText = - | PROTO.BoundedFloatTextPublic - | PROTO.BoundedFloatTextProtected; - - /** a naive BoundedFloatText - Displays a float value within a textbox. Value must be within the range specified. + /** a type for the traits of DescriptionStyle*/ + export type TAnyDescriptionStyle = + | PROTO.DescriptionStylePublic + | PROTO.DescriptionStyleProtected; - For a textbox in which the value doesn't need to be within a specific range, use FloatText. + /** a naive DescriptionStyle - Parameters - ---------- - value : float - value displayed - min : float - minimal value of the range of possible values displayed - max : float - maximal value of the range of possible values displayed - step : float - step of the increment (if None, any step is allowed) - description : str - description displayed next to the textbox - + Description style widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#DescriptionStyle */ - export class _BoundedFloatText extends _Widget { - constructor(options: TAnyBoundedFloatText) { - super({ ..._BoundedFloatText.defaults(), ...options }); + export class _DescriptionStyle extends _Widget { + constructor(options: TAnyDescriptionStyle) { + super({ ..._DescriptionStyle.defaults(), ...options }); } - static defaults(): TAnyBoundedFloatText { + static defaults(): TAnyDescriptionStyle { return { ...super.defaults(), - ...SCHEMA.IPublicBoundedFloatText.default, - ...SCHEMA.IProtectedBoundedFloatText.default + ...SCHEMA.IPublicDescriptionStyle.default, + ...SCHEMA.IProtectedDescriptionStyle.default }; } } - /** the concrete observable BoundedFloatText */ - export const BoundedFloatText = _HasTraits._traitMeta( - _BoundedFloatText + /** the concrete observable DescriptionStyle */ + export const DescriptionStyle = _HasTraits._traitMeta( + _DescriptionStyle ); - if (!NS['BoundedFloatText']) { - NS['BoundedFloatText'] = BoundedFloatText; + if (!ALL['DescriptionStyle']) { + ALL['DescriptionStyle'] = DescriptionStyle; } else { - console.log('BoundedFloatText is already hoisted', NS['BoundedFloatText']); + console.log('DescriptionStyle is already hoisted', ALL['DescriptionStyle']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_description'] - /** a type for the traits of FloatProgress*/ - export type TAnyFloatProgress = - | PROTO.FloatProgressPublic - | PROTO.FloatProgressProtected; - - /** a naive FloatProgress +export namespace ipywidgets_widgets_widget_float { + /** a type for the traits of _FloatRange*/ + export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; - Displays a progress bar. + /** a naive _FloatRange - Parameters - ----------- - value : float - position within the range of the progress bar - min : float - minimal position of the slider - max : float - maximal position of the slider - description : str - name of the progress bar - orientation : {'horizontal', 'vertical'} - default is 'horizontal', orientation of the progress bar - bar_style: {'success', 'info', 'warning', 'danger', ''} - color of the progress bar, default is '' (blue) - colors are: 'success'-green, 'info'-light blue, 'warning'-orange, 'danger'-red - + None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_FloatRange */ - export class _FloatProgress extends _Widget { - constructor(options: TAnyFloatProgress) { - super({ ..._FloatProgress.defaults(), ...options }); + export class __FloatRange extends _Widget { + constructor(options: TAny_FloatRange) { + super({ ...__FloatRange.defaults(), ...options }); } - static defaults(): TAnyFloatProgress { + static defaults(): TAny_FloatRange { return { ...super.defaults(), - ...SCHEMA.IPublicFloatProgress.default, - ...SCHEMA.IProtectedFloatProgress.default + ...SCHEMA.IPublic_FloatRange.default, + ...SCHEMA.IProtected_FloatRange.default }; } } - /** the concrete observable FloatProgress */ - export const FloatProgress = _HasTraits._traitMeta(_FloatProgress); + /** the concrete observable _FloatRange */ + export const _FloatRange = _HasTraits._traitMeta(__FloatRange); - if (!NS['FloatProgress']) { - NS['FloatProgress'] = FloatProgress; + if (!ALL['_FloatRange']) { + ALL['_FloatRange'] = _FloatRange; } else { - console.log('FloatProgress is already hoisted', NS['FloatProgress']); + console.log('_FloatRange is already hoisted', ALL['_FloatRange']); } // --- - /** a type for the traits of _Float*/ - export type TAny_Float = PROTO._FloatPublic | PROTO._FloatProtected; + /** a type for the traits of _BoundedLogFloat*/ + export type TAny_BoundedLogFloat = + | PROTO._BoundedLogFloatPublic + | PROTO._BoundedLogFloatProtected; - /** a naive _Float + /** a naive _BoundedLogFloat None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedLogFloat */ - export class __Float extends _Widget { - constructor(options: TAny_Float) { - super({ ...__Float.defaults(), ...options }); + export class __BoundedLogFloat extends _Widget { + constructor(options: TAny_BoundedLogFloat) { + super({ ...__BoundedLogFloat.defaults(), ...options }); } - static defaults(): TAny_Float { + static defaults(): TAny_BoundedLogFloat { return { ...super.defaults(), - ...SCHEMA.IPublic_Float.default, - ...SCHEMA.IProtected_Float.default + ...SCHEMA.IPublic_BoundedLogFloat.default, + ...SCHEMA.IProtected_BoundedLogFloat.default }; } } - /** the concrete observable _Float */ - export const _Float = _HasTraits._traitMeta(__Float); + /** the concrete observable _BoundedLogFloat */ + export const _BoundedLogFloat = _HasTraits._traitMeta( + __BoundedLogFloat + ); - if (!NS['_Float']) { - NS['_Float'] = _Float; + if (!ALL['_BoundedLogFloat']) { + ALL['_BoundedLogFloat'] = _BoundedLogFloat; } else { - console.log('_Float is already hoisted', NS['_Float']); + console.log('_BoundedLogFloat is already hoisted', ALL['_BoundedLogFloat']); } // --- - /** a type for the traits of FloatSlider*/ - export type TAnyFloatSlider = PROTO.FloatSliderPublic | PROTO.FloatSliderProtected; + /** a type for the traits of _BoundedFloatRange*/ + export type TAny_BoundedFloatRange = + | PROTO._BoundedFloatRangePublic + | PROTO._BoundedFloatRangeProtected; - /** a naive FloatSlider + /** a naive _BoundedFloatRange - Slider/trackbar of floating values with the specified range. + None - Parameters - ---------- - value : float - position of the slider - min : float - minimal position of the slider - max : float - maximal position of the slider - step : float - step of the trackbar - description : str - name of the slider - orientation : {'horizontal', 'vertical'} - default is 'horizontal', orientation of the slider - readout : {True, False} - default is True, display the current value of the slider next to it - readout_format : str - default is '.2f', specifier for the format function used to represent - slider value for human consumption, modeled after Python 3's format - specification mini-language (PEP 3101). - - - @see - */ - export class _FloatSlider extends _Widget { - constructor(options: TAnyFloatSlider) { - super({ ..._FloatSlider.defaults(), ...options }); - } - - static defaults(): TAnyFloatSlider { - return { - ...super.defaults(), - ...SCHEMA.IPublicFloatSlider.default, - ...SCHEMA.IProtectedFloatSlider.default - }; - } - } - - /** the concrete observable FloatSlider */ - export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - - if (!NS['FloatSlider']) { - NS['FloatSlider'] = FloatSlider; - } else { - console.log('FloatSlider is already hoisted', NS['FloatSlider']); - } - - // --- - - /** a type for the traits of _BoundedFloat*/ - export type TAny_BoundedFloat = - | PROTO._BoundedFloatPublic - | PROTO._BoundedFloatProtected; - - /** a naive _BoundedFloat - - None - - @see - */ - export class __BoundedFloat extends _Widget { - constructor(options: TAny_BoundedFloat) { - super({ ...__BoundedFloat.defaults(), ...options }); - } - - static defaults(): TAny_BoundedFloat { - return { - ...super.defaults(), - ...SCHEMA.IPublic_BoundedFloat.default, - ...SCHEMA.IProtected_BoundedFloat.default - }; - } - } - - /** the concrete observable _BoundedFloat */ - export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); - - if (!NS['_BoundedFloat']) { - NS['_BoundedFloat'] = _BoundedFloat; - } else { - console.log('_BoundedFloat is already hoisted', NS['_BoundedFloat']); - } - - // --- - - /** a type for the traits of _FloatRange*/ - export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; - - /** a naive _FloatRange - - None - - @see - */ - export class __FloatRange extends _Widget { - constructor(options: TAny_FloatRange) { - super({ ...__FloatRange.defaults(), ...options }); - } - - static defaults(): TAny_FloatRange { - return { - ...super.defaults(), - ...SCHEMA.IPublic_FloatRange.default, - ...SCHEMA.IProtected_FloatRange.default - }; - } - } - - /** the concrete observable _FloatRange */ - export const _FloatRange = _HasTraits._traitMeta(__FloatRange); - - if (!NS['_FloatRange']) { - NS['_FloatRange'] = _FloatRange; - } else { - console.log('_FloatRange is already hoisted', NS['_FloatRange']); - } - - // --- - - /** a type for the traits of _BoundedLogFloat*/ - export type TAny_BoundedLogFloat = - | PROTO._BoundedLogFloatPublic - | PROTO._BoundedLogFloatProtected; - - /** a naive _BoundedLogFloat - - None - - @see - */ - export class __BoundedLogFloat extends _Widget { - constructor(options: TAny_BoundedLogFloat) { - super({ ...__BoundedLogFloat.defaults(), ...options }); - } - - static defaults(): TAny_BoundedLogFloat { - return { - ...super.defaults(), - ...SCHEMA.IPublic_BoundedLogFloat.default, - ...SCHEMA.IProtected_BoundedLogFloat.default - }; - } - } - - /** the concrete observable _BoundedLogFloat */ - export const _BoundedLogFloat = _HasTraits._traitMeta( - __BoundedLogFloat - ); - - if (!NS['_BoundedLogFloat']) { - NS['_BoundedLogFloat'] = _BoundedLogFloat; - } else { - console.log('_BoundedLogFloat is already hoisted', NS['_BoundedLogFloat']); - } - - // --- - - /** a type for the traits of _BoundedFloatRange*/ - export type TAny_BoundedFloatRange = - | PROTO._BoundedFloatRangePublic - | PROTO._BoundedFloatRangeProtected; - - /** a naive _BoundedFloatRange - - None - - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloatRange */ export class __BoundedFloatRange extends _Widget { constructor(options: TAny_BoundedFloatRange) { @@ -1096,10 +863,10 @@ export namespace ipywidgets_widgets_widget_float { __BoundedFloatRange ); - if (!NS['_BoundedFloatRange']) { - NS['_BoundedFloatRange'] = _BoundedFloatRange; + if (!ALL['_BoundedFloatRange']) { + ALL['_BoundedFloatRange'] = _BoundedFloatRange; } else { - console.log('_BoundedFloatRange is already hoisted', NS['_BoundedFloatRange']); + console.log('_BoundedFloatRange is already hoisted', ALL['_BoundedFloatRange']); } // --- @@ -1137,7 +904,7 @@ export namespace ipywidgets_widgets_widget_float { specification mini-language (PEP 3101). - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatLogSlider */ export class _FloatLogSlider extends _Widget { constructor(options: TAnyFloatLogSlider) { @@ -1158,10 +925,10 @@ export namespace ipywidgets_widgets_widget_float { _FloatLogSlider ); - if (!NS['FloatLogSlider']) { - NS['FloatLogSlider'] = FloatLogSlider; + if (!ALL['FloatLogSlider']) { + ALL['FloatLogSlider'] = FloatLogSlider; } else { - console.log('FloatLogSlider is already hoisted', NS['FloatLogSlider']); + console.log('FloatLogSlider is already hoisted', ALL['FloatLogSlider']); } // --- @@ -1197,7 +964,7 @@ export namespace ipywidgets_widgets_widget_float { specification mini-language (PEP 3101). - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatRangeSlider */ export class _FloatRangeSlider extends _Widget { constructor(options: TAnyFloatRangeSlider) { @@ -1218,10 +985,10 @@ export namespace ipywidgets_widgets_widget_float { _FloatRangeSlider ); - if (!NS['FloatRangeSlider']) { - NS['FloatRangeSlider'] = FloatRangeSlider; + if (!ALL['FloatRangeSlider']) { + ALL['FloatRangeSlider'] = FloatRangeSlider; } else { - console.log('FloatRangeSlider is already hoisted', NS['FloatRangeSlider']); + console.log('FloatRangeSlider is already hoisted', ALL['FloatRangeSlider']); } // --- @@ -1244,7 +1011,7 @@ export namespace ipywidgets_widgets_widget_float { description displayed next to the text box - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatText */ export class _FloatText extends _Widget { constructor(options: TAnyFloatText) { @@ -1263,449 +1030,682 @@ export namespace ipywidgets_widgets_widget_float { /** the concrete observable FloatText */ export const FloatText = _HasTraits._traitMeta(_FloatText); - if (!NS['FloatText']) { - NS['FloatText'] = FloatText; + if (!ALL['FloatText']) { + ALL['FloatText'] = FloatText; } else { - console.log('FloatText is already hoisted', NS['FloatText']); + console.log('FloatText is already hoisted', ALL['FloatText']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_float'] -export namespace ipywidgets_widgets_widget_int { - /** a type for the traits of _Int*/ - export type TAny_Int = PROTO._IntPublic | PROTO._IntProtected; + /** a type for the traits of BoundedFloatText*/ + export type TAnyBoundedFloatText = + | PROTO.BoundedFloatTextPublic + | PROTO.BoundedFloatTextProtected; - /** a naive _Int + /** a naive BoundedFloatText - Base class for widgets that represent an integer. + Displays a float value within a textbox. Value must be within the range specified. + + For a textbox in which the value doesn't need to be within a specific range, use FloatText. + + Parameters + ---------- + value : float + value displayed + min : float + minimal value of the range of possible values displayed + max : float + maximal value of the range of possible values displayed + step : float + step of the increment (if None, any step is allowed) + description : str + description displayed next to the textbox + - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedFloatText */ - export class __Int extends _Widget { - constructor(options: TAny_Int) { - super({ ...__Int.defaults(), ...options }); + export class _BoundedFloatText extends _Widget { + constructor(options: TAnyBoundedFloatText) { + super({ ..._BoundedFloatText.defaults(), ...options }); } - static defaults(): TAny_Int { + static defaults(): TAnyBoundedFloatText { return { ...super.defaults(), - ...SCHEMA.IPublic_Int.default, - ...SCHEMA.IProtected_Int.default + ...SCHEMA.IPublicBoundedFloatText.default, + ...SCHEMA.IProtectedBoundedFloatText.default }; } } - /** the concrete observable _Int */ - export const _Int = _HasTraits._traitMeta(__Int); + /** the concrete observable BoundedFloatText */ + export const BoundedFloatText = _HasTraits._traitMeta( + _BoundedFloatText + ); - if (!NS['_Int']) { - NS['_Int'] = _Int; + if (!ALL['BoundedFloatText']) { + ALL['BoundedFloatText'] = BoundedFloatText; } else { - console.log('_Int is already hoisted', NS['_Int']); + console.log('BoundedFloatText is already hoisted', ALL['BoundedFloatText']); } // --- - /** a type for the traits of _IntRange*/ - export type TAny_IntRange = PROTO._IntRangePublic | PROTO._IntRangeProtected; + /** a type for the traits of FloatProgress*/ + export type TAnyFloatProgress = + | PROTO.FloatProgressPublic + | PROTO.FloatProgressProtected; - /** a naive _IntRange + /** a naive FloatProgress - None + Displays a progress bar. + + Parameters + ----------- + value : float + position within the range of the progress bar + min : float + minimal position of the slider + max : float + maximal position of the slider + description : str + name of the progress bar + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the progress bar + bar_style: {'success', 'info', 'warning', 'danger', ''} + color of the progress bar, default is '' (blue) + colors are: 'success'-green, 'info'-light blue, 'warning'-orange, 'danger'-red + - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatProgress */ - export class __IntRange extends _Widget { - constructor(options: TAny_IntRange) { - super({ ...__IntRange.defaults(), ...options }); + export class _FloatProgress extends _Widget { + constructor(options: TAnyFloatProgress) { + super({ ..._FloatProgress.defaults(), ...options }); } - static defaults(): TAny_IntRange { + static defaults(): TAnyFloatProgress { return { ...super.defaults(), - ...SCHEMA.IPublic_IntRange.default, - ...SCHEMA.IProtected_IntRange.default + ...SCHEMA.IPublicFloatProgress.default, + ...SCHEMA.IProtectedFloatProgress.default }; } } - /** the concrete observable _IntRange */ - export const _IntRange = _HasTraits._traitMeta(__IntRange); + /** the concrete observable FloatProgress */ + export const FloatProgress = _HasTraits._traitMeta(_FloatProgress); - if (!NS['_IntRange']) { - NS['_IntRange'] = _IntRange; + if (!ALL['FloatProgress']) { + ALL['FloatProgress'] = FloatProgress; } else { - console.log('_IntRange is already hoisted', NS['_IntRange']); + console.log('FloatProgress is already hoisted', ALL['FloatProgress']); } // --- - /** a type for the traits of SliderStyle*/ - export type TAnySliderStyle = PROTO.SliderStylePublic | PROTO.SliderStyleProtected; + /** a type for the traits of _Float*/ + export type TAny_Float = PROTO._FloatPublic | PROTO._FloatProtected; - /** a naive SliderStyle + /** a naive _Float - Button style widget. + None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Float */ - export class _SliderStyle extends _Widget { - constructor(options: TAnySliderStyle) { - super({ ..._SliderStyle.defaults(), ...options }); + export class __Float extends _Widget { + constructor(options: TAny_Float) { + super({ ...__Float.defaults(), ...options }); } - static defaults(): TAnySliderStyle { + static defaults(): TAny_Float { return { ...super.defaults(), - ...SCHEMA.IPublicSliderStyle.default, - ...SCHEMA.IProtectedSliderStyle.default + ...SCHEMA.IPublic_Float.default, + ...SCHEMA.IProtected_Float.default }; } } - /** the concrete observable SliderStyle */ - export const SliderStyle = _HasTraits._traitMeta(_SliderStyle); + /** the concrete observable _Float */ + export const _Float = _HasTraits._traitMeta(__Float); - if (!NS['SliderStyle']) { - NS['SliderStyle'] = SliderStyle; + if (!ALL['_Float']) { + ALL['_Float'] = _Float; } else { - console.log('SliderStyle is already hoisted', NS['SliderStyle']); + console.log('_Float is already hoisted', ALL['_Float']); } // --- - /** a type for the traits of IntSlider*/ - export type TAnyIntSlider = PROTO.IntSliderPublic | PROTO.IntSliderProtected; + /** a type for the traits of FloatSlider*/ + export type TAnyFloatSlider = PROTO.FloatSliderPublic | PROTO.FloatSliderProtected; - /** a naive IntSlider + /** a naive FloatSlider - Slider widget that represents an integer bounded from above and below. + Slider/trackbar of floating values with the specified range. + + Parameters + ---------- + value : float + position of the slider + min : float + minimal position of the slider + max : float + maximal position of the slider + step : float + step of the trackbar + description : str + name of the slider + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the slider + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.2f', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatSlider */ - export class _IntSlider extends _Widget { - constructor(options: TAnyIntSlider) { - super({ ..._IntSlider.defaults(), ...options }); + export class _FloatSlider extends _Widget { + constructor(options: TAnyFloatSlider) { + super({ ..._FloatSlider.defaults(), ...options }); } - static defaults(): TAnyIntSlider { + static defaults(): TAnyFloatSlider { return { ...super.defaults(), - ...SCHEMA.IPublicIntSlider.default, - ...SCHEMA.IProtectedIntSlider.default + ...SCHEMA.IPublicFloatSlider.default, + ...SCHEMA.IProtectedFloatSlider.default }; } } - /** the concrete observable IntSlider */ - export const IntSlider = _HasTraits._traitMeta(_IntSlider); + /** the concrete observable FloatSlider */ + export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - if (!NS['IntSlider']) { - NS['IntSlider'] = IntSlider; + if (!ALL['FloatSlider']) { + ALL['FloatSlider'] = FloatSlider; } else { - console.log('IntSlider is already hoisted', NS['IntSlider']); + console.log('FloatSlider is already hoisted', ALL['FloatSlider']); } // --- - /** a type for the traits of Play*/ - export type TAnyPlay = PROTO.PlayPublic | PROTO.PlayProtected; + /** a type for the traits of _BoundedFloat*/ + export type TAny_BoundedFloat = + | PROTO._BoundedFloatPublic + | PROTO._BoundedFloatProtected; - /** a naive Play + /** a naive _BoundedFloat - Play/repeat buttons to step through values automatically, and optionally loop. + None + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloat + */ + export class __BoundedFloat extends _Widget { + constructor(options: TAny_BoundedFloat) { + super({ ...__BoundedFloat.defaults(), ...options }); + } + + static defaults(): TAny_BoundedFloat { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedFloat.default, + ...SCHEMA.IProtected_BoundedFloat.default + }; + } + } + + /** the concrete observable _BoundedFloat */ + export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); + + if (!ALL['_BoundedFloat']) { + ALL['_BoundedFloat'] = _BoundedFloat; + } else { + console.log('_BoundedFloat is already hoisted', ALL['_BoundedFloat']); + } + + // --- +} // end of ['ipywidgets', 'widgets', 'widget_float'] + +export namespace ipywidgets_widgets_widget_int { + /** a type for the traits of IntText*/ + export type TAnyIntText = PROTO.IntTextPublic | PROTO.IntTextProtected; + + /** a naive IntText + + Textbox widget that represents an integer. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntText + */ + export class _IntText extends _Widget { + constructor(options: TAnyIntText) { + super({ ..._IntText.defaults(), ...options }); + } + + static defaults(): TAnyIntText { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntText.default, + ...SCHEMA.IProtectedIntText.default + }; + } + } + + /** the concrete observable IntText */ + export const IntText = _HasTraits._traitMeta(_IntText); + + if (!ALL['IntText']) { + ALL['IntText'] = IntText; + } else { + console.log('IntText is already hoisted', ALL['IntText']); + } + + // --- + + /** a type for the traits of ProgressStyle*/ + export type TAnyProgressStyle = + | PROTO.ProgressStylePublic + | PROTO.ProgressStyleProtected; + + /** a naive ProgressStyle + + Button style widget. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ProgressStyle + */ + export class _ProgressStyle extends _Widget { + constructor(options: TAnyProgressStyle) { + super({ ..._ProgressStyle.defaults(), ...options }); + } + + static defaults(): TAnyProgressStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicProgressStyle.default, + ...SCHEMA.IProtectedProgressStyle.default + }; + } + } + + /** the concrete observable ProgressStyle */ + export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + + if (!ALL['ProgressStyle']) { + ALL['ProgressStyle'] = ProgressStyle; + } else { + console.log('ProgressStyle is already hoisted', ALL['ProgressStyle']); + } + + // --- + + /** a type for the traits of _BoundedIntRange*/ + export type TAny_BoundedIntRange = + | PROTO._BoundedIntRangePublic + | PROTO._BoundedIntRangeProtected; + + /** a naive _BoundedIntRange + + None + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedIntRange + */ + export class __BoundedIntRange extends _Widget { + constructor(options: TAny_BoundedIntRange) { + super({ ...__BoundedIntRange.defaults(), ...options }); + } + + static defaults(): TAny_BoundedIntRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedIntRange.default, + ...SCHEMA.IProtected_BoundedIntRange.default + }; + } + } + + /** the concrete observable _BoundedIntRange */ + export const _BoundedIntRange = _HasTraits._traitMeta( + __BoundedIntRange + ); + + if (!ALL['_BoundedIntRange']) { + ALL['_BoundedIntRange'] = _BoundedIntRange; + } else { + console.log('_BoundedIntRange is already hoisted', ALL['_BoundedIntRange']); + } + + // --- + + /** a type for the traits of IntProgress*/ + export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; + + /** a naive IntProgress + + Progress bar that represents an integer bounded from above and below. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntProgress */ - export class _Play extends _Widget { - constructor(options: TAnyPlay) { - super({ ..._Play.defaults(), ...options }); + export class _IntProgress extends _Widget { + constructor(options: TAnyIntProgress) { + super({ ..._IntProgress.defaults(), ...options }); } - static defaults(): TAnyPlay { + static defaults(): TAnyIntProgress { return { ...super.defaults(), - ...SCHEMA.IPublicPlay.default, - ...SCHEMA.IProtectedPlay.default + ...SCHEMA.IPublicIntProgress.default, + ...SCHEMA.IProtectedIntProgress.default }; } } - /** the concrete observable Play */ - export const Play = _HasTraits._traitMeta(_Play); + /** the concrete observable IntProgress */ + export const IntProgress = _HasTraits._traitMeta(_IntProgress); - if (!NS['Play']) { - NS['Play'] = Play; + if (!ALL['IntProgress']) { + ALL['IntProgress'] = IntProgress; } else { - console.log('Play is already hoisted', NS['Play']); + console.log('IntProgress is already hoisted', ALL['IntProgress']); } // --- - /** a type for the traits of BoundedIntText*/ - export type TAnyBoundedIntText = - | PROTO.BoundedIntTextPublic - | PROTO.BoundedIntTextProtected; + /** a type for the traits of IntRangeSlider*/ + export type TAnyIntRangeSlider = + | PROTO.IntRangeSliderPublic + | PROTO.IntRangeSliderProtected; - /** a naive BoundedIntText + /** a naive IntRangeSlider - Textbox widget that represents an integer bounded from above and below. + Slider/trackbar that represents a pair of ints bounded by minimum and maximum value. + + Parameters + ---------- + value : int tuple + The pair (`lower`, `upper`) of integers + min : int + The lowest allowed value for `lower` + max : int + The highest allowed value for `upper` - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntRangeSlider */ - export class _BoundedIntText extends _Widget { - constructor(options: TAnyBoundedIntText) { - super({ ..._BoundedIntText.defaults(), ...options }); + export class _IntRangeSlider extends _Widget { + constructor(options: TAnyIntRangeSlider) { + super({ ..._IntRangeSlider.defaults(), ...options }); + } + + static defaults(): TAnyIntRangeSlider { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntRangeSlider.default, + ...SCHEMA.IProtectedIntRangeSlider.default + }; + } + } + + /** the concrete observable IntRangeSlider */ + export const IntRangeSlider = _HasTraits._traitMeta( + _IntRangeSlider + ); + + if (!ALL['IntRangeSlider']) { + ALL['IntRangeSlider'] = IntRangeSlider; + } else { + console.log('IntRangeSlider is already hoisted', ALL['IntRangeSlider']); + } + + // --- + + /** a type for the traits of _BoundedInt*/ + export type TAny_BoundedInt = PROTO._BoundedIntPublic | PROTO._BoundedIntProtected; + + /** a naive _BoundedInt + + Base class for widgets that represent an integer bounded from above and below. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedInt + */ + export class __BoundedInt extends _Widget { + constructor(options: TAny_BoundedInt) { + super({ ...__BoundedInt.defaults(), ...options }); } - static defaults(): TAnyBoundedIntText { + static defaults(): TAny_BoundedInt { return { ...super.defaults(), - ...SCHEMA.IPublicBoundedIntText.default, - ...SCHEMA.IProtectedBoundedIntText.default + ...SCHEMA.IPublic_BoundedInt.default, + ...SCHEMA.IProtected_BoundedInt.default }; } } - /** the concrete observable BoundedIntText */ - export const BoundedIntText = _HasTraits._traitMeta( - _BoundedIntText - ); + /** the concrete observable _BoundedInt */ + export const _BoundedInt = _HasTraits._traitMeta(__BoundedInt); - if (!NS['BoundedIntText']) { - NS['BoundedIntText'] = BoundedIntText; + if (!ALL['_BoundedInt']) { + ALL['_BoundedInt'] = _BoundedInt; } else { - console.log('BoundedIntText is already hoisted', NS['BoundedIntText']); + console.log('_BoundedInt is already hoisted', ALL['_BoundedInt']); } // --- - /** a type for the traits of IntText*/ - export type TAnyIntText = PROTO.IntTextPublic | PROTO.IntTextProtected; + /** a type for the traits of _Int*/ + export type TAny_Int = PROTO._IntPublic | PROTO._IntProtected; - /** a naive IntText + /** a naive _Int - Textbox widget that represents an integer. + Base class for widgets that represent an integer. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Int */ - export class _IntText extends _Widget { - constructor(options: TAnyIntText) { - super({ ..._IntText.defaults(), ...options }); + export class __Int extends _Widget { + constructor(options: TAny_Int) { + super({ ...__Int.defaults(), ...options }); } - static defaults(): TAnyIntText { + static defaults(): TAny_Int { return { ...super.defaults(), - ...SCHEMA.IPublicIntText.default, - ...SCHEMA.IProtectedIntText.default + ...SCHEMA.IPublic_Int.default, + ...SCHEMA.IProtected_Int.default }; } } - /** the concrete observable IntText */ - export const IntText = _HasTraits._traitMeta(_IntText); + /** the concrete observable _Int */ + export const _Int = _HasTraits._traitMeta(__Int); - if (!NS['IntText']) { - NS['IntText'] = IntText; + if (!ALL['_Int']) { + ALL['_Int'] = _Int; } else { - console.log('IntText is already hoisted', NS['IntText']); + console.log('_Int is already hoisted', ALL['_Int']); } // --- - /** a type for the traits of ProgressStyle*/ - export type TAnyProgressStyle = - | PROTO.ProgressStylePublic - | PROTO.ProgressStyleProtected; + /** a type for the traits of SliderStyle*/ + export type TAnySliderStyle = PROTO.SliderStylePublic | PROTO.SliderStyleProtected; - /** a naive ProgressStyle + /** a naive SliderStyle Button style widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#SliderStyle */ - export class _ProgressStyle extends _Widget { - constructor(options: TAnyProgressStyle) { - super({ ..._ProgressStyle.defaults(), ...options }); + export class _SliderStyle extends _Widget { + constructor(options: TAnySliderStyle) { + super({ ..._SliderStyle.defaults(), ...options }); } - static defaults(): TAnyProgressStyle { + static defaults(): TAnySliderStyle { return { ...super.defaults(), - ...SCHEMA.IPublicProgressStyle.default, - ...SCHEMA.IProtectedProgressStyle.default + ...SCHEMA.IPublicSliderStyle.default, + ...SCHEMA.IProtectedSliderStyle.default }; } } - /** the concrete observable ProgressStyle */ - export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + /** the concrete observable SliderStyle */ + export const SliderStyle = _HasTraits._traitMeta(_SliderStyle); - if (!NS['ProgressStyle']) { - NS['ProgressStyle'] = ProgressStyle; + if (!ALL['SliderStyle']) { + ALL['SliderStyle'] = SliderStyle; } else { - console.log('ProgressStyle is already hoisted', NS['ProgressStyle']); + console.log('SliderStyle is already hoisted', ALL['SliderStyle']); } // --- - /** a type for the traits of _BoundedIntRange*/ - export type TAny_BoundedIntRange = - | PROTO._BoundedIntRangePublic - | PROTO._BoundedIntRangeProtected; + /** a type for the traits of _IntRange*/ + export type TAny_IntRange = PROTO._IntRangePublic | PROTO._IntRangeProtected; - /** a naive _BoundedIntRange + /** a naive _IntRange None - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_IntRange */ - export class __BoundedIntRange extends _Widget { - constructor(options: TAny_BoundedIntRange) { - super({ ...__BoundedIntRange.defaults(), ...options }); + export class __IntRange extends _Widget { + constructor(options: TAny_IntRange) { + super({ ...__IntRange.defaults(), ...options }); } - static defaults(): TAny_BoundedIntRange { + static defaults(): TAny_IntRange { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedIntRange.default, - ...SCHEMA.IProtected_BoundedIntRange.default + ...SCHEMA.IPublic_IntRange.default, + ...SCHEMA.IProtected_IntRange.default }; } } - /** the concrete observable _BoundedIntRange */ - export const _BoundedIntRange = _HasTraits._traitMeta( - __BoundedIntRange - ); + /** the concrete observable _IntRange */ + export const _IntRange = _HasTraits._traitMeta(__IntRange); - if (!NS['_BoundedIntRange']) { - NS['_BoundedIntRange'] = _BoundedIntRange; + if (!ALL['_IntRange']) { + ALL['_IntRange'] = _IntRange; } else { - console.log('_BoundedIntRange is already hoisted', NS['_BoundedIntRange']); + console.log('_IntRange is already hoisted', ALL['_IntRange']); } // --- - /** a type for the traits of IntProgress*/ - export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; + /** a type for the traits of IntSlider*/ + export type TAnyIntSlider = PROTO.IntSliderPublic | PROTO.IntSliderProtected; - /** a naive IntProgress + /** a naive IntSlider - Progress bar that represents an integer bounded from above and below. + Slider widget that represents an integer bounded from above and below. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntSlider */ - export class _IntProgress extends _Widget { - constructor(options: TAnyIntProgress) { - super({ ..._IntProgress.defaults(), ...options }); + export class _IntSlider extends _Widget { + constructor(options: TAnyIntSlider) { + super({ ..._IntSlider.defaults(), ...options }); } - static defaults(): TAnyIntProgress { + static defaults(): TAnyIntSlider { return { ...super.defaults(), - ...SCHEMA.IPublicIntProgress.default, - ...SCHEMA.IProtectedIntProgress.default + ...SCHEMA.IPublicIntSlider.default, + ...SCHEMA.IProtectedIntSlider.default }; } } - /** the concrete observable IntProgress */ - export const IntProgress = _HasTraits._traitMeta(_IntProgress); + /** the concrete observable IntSlider */ + export const IntSlider = _HasTraits._traitMeta(_IntSlider); - if (!NS['IntProgress']) { - NS['IntProgress'] = IntProgress; + if (!ALL['IntSlider']) { + ALL['IntSlider'] = IntSlider; } else { - console.log('IntProgress is already hoisted', NS['IntProgress']); + console.log('IntSlider is already hoisted', ALL['IntSlider']); } // --- - /** a type for the traits of IntRangeSlider*/ - export type TAnyIntRangeSlider = - | PROTO.IntRangeSliderPublic - | PROTO.IntRangeSliderProtected; - - /** a naive IntRangeSlider + /** a type for the traits of Play*/ + export type TAnyPlay = PROTO.PlayPublic | PROTO.PlayProtected; - Slider/trackbar that represents a pair of ints bounded by minimum and maximum value. + /** a naive Play - Parameters - ---------- - value : int tuple - The pair (`lower`, `upper`) of integers - min : int - The lowest allowed value for `lower` - max : int - The highest allowed value for `upper` + Play/repeat buttons to step through values automatically, and optionally loop. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Play */ - export class _IntRangeSlider extends _Widget { - constructor(options: TAnyIntRangeSlider) { - super({ ..._IntRangeSlider.defaults(), ...options }); + export class _Play extends _Widget { + constructor(options: TAnyPlay) { + super({ ..._Play.defaults(), ...options }); } - static defaults(): TAnyIntRangeSlider { + static defaults(): TAnyPlay { return { ...super.defaults(), - ...SCHEMA.IPublicIntRangeSlider.default, - ...SCHEMA.IProtectedIntRangeSlider.default + ...SCHEMA.IPublicPlay.default, + ...SCHEMA.IProtectedPlay.default }; } } - /** the concrete observable IntRangeSlider */ - export const IntRangeSlider = _HasTraits._traitMeta( - _IntRangeSlider - ); + /** the concrete observable Play */ + export const Play = _HasTraits._traitMeta(_Play); - if (!NS['IntRangeSlider']) { - NS['IntRangeSlider'] = IntRangeSlider; + if (!ALL['Play']) { + ALL['Play'] = Play; } else { - console.log('IntRangeSlider is already hoisted', NS['IntRangeSlider']); + console.log('Play is already hoisted', ALL['Play']); } // --- - /** a type for the traits of _BoundedInt*/ - export type TAny_BoundedInt = PROTO._BoundedIntPublic | PROTO._BoundedIntProtected; + /** a type for the traits of BoundedIntText*/ + export type TAnyBoundedIntText = + | PROTO.BoundedIntTextPublic + | PROTO.BoundedIntTextProtected; - /** a naive _BoundedInt + /** a naive BoundedIntText - Base class for widgets that represent an integer bounded from above and below. + Textbox widget that represents an integer bounded from above and below. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedIntText */ - export class __BoundedInt extends _Widget { - constructor(options: TAny_BoundedInt) { - super({ ...__BoundedInt.defaults(), ...options }); + export class _BoundedIntText extends _Widget { + constructor(options: TAnyBoundedIntText) { + super({ ..._BoundedIntText.defaults(), ...options }); } - static defaults(): TAny_BoundedInt { + static defaults(): TAnyBoundedIntText { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedInt.default, - ...SCHEMA.IProtected_BoundedInt.default + ...SCHEMA.IPublicBoundedIntText.default, + ...SCHEMA.IProtectedBoundedIntText.default }; } } - /** the concrete observable _BoundedInt */ - export const _BoundedInt = _HasTraits._traitMeta(__BoundedInt); + /** the concrete observable BoundedIntText */ + export const BoundedIntText = _HasTraits._traitMeta( + _BoundedIntText + ); - if (!NS['_BoundedInt']) { - NS['_BoundedInt'] = _BoundedInt; + if (!ALL['BoundedIntText']) { + ALL['BoundedIntText'] = BoundedIntText; } else { - console.log('_BoundedInt is already hoisted', NS['_BoundedInt']); + console.log('BoundedIntText is already hoisted', ALL['BoundedIntText']); } // --- @@ -1731,7 +1731,7 @@ export namespace ipywidgets_widgets_widget_layout { - ``margin-[top/bottom/left/right]`` values are bound to ``margin``, etc. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Layout */ export class _Layout extends _Widget { constructor(options: TAnyLayout) { @@ -1750,16 +1750,59 @@ export namespace ipywidgets_widgets_widget_layout { /** the concrete observable Layout */ export const Layout = _HasTraits._traitMeta(_Layout); - if (!NS['Layout']) { - NS['Layout'] = Layout; + if (!ALL['Layout']) { + ALL['Layout'] = Layout; } else { - console.log('Layout is already hoisted', NS['Layout']); + console.log('Layout is already hoisted', ALL['Layout']); } // --- } // end of ['ipywidgets', 'widgets', 'widget_layout'] export namespace ipywidgets_widgets_widget_media { + /** a type for the traits of Video*/ + export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; + + /** a naive Video + + Displays a video as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw video data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "mp4"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Video + */ + export class _Video extends _Widget { + constructor(options: TAnyVideo) { + super({ ..._Video.defaults(), ...options }); + } + + static defaults(): TAnyVideo { + return { + ...super.defaults(), + ...SCHEMA.IPublicVideo.default, + ...SCHEMA.IProtectedVideo.default + }; + } + } + + /** the concrete observable Video */ + export const Video = _HasTraits._traitMeta(_Video); + + if (!ALL['Video']) { + ALL['Video'] = Video; + } else { + console.log('Video is already hoisted', ALL['Video']); + } + + // --- + /** a type for the traits of _Media*/ export type TAny_Media = PROTO._MediaPublic | PROTO._MediaProtected; @@ -1774,7 +1817,7 @@ export namespace ipywidgets_widgets_widget_media { as a URL as bytes encoded in UTF-8. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Media */ export class __Media extends _Widget { constructor(options: TAny_Media) { @@ -1793,10 +1836,10 @@ export namespace ipywidgets_widgets_widget_media { /** the concrete observable _Media */ export const _Media = _HasTraits._traitMeta(__Media); - if (!NS['_Media']) { - NS['_Media'] = _Media; + if (!ALL['_Media']) { + ALL['_Media'] = _Media; } else { - console.log('_Media is already hoisted', NS['_Media']); + console.log('_Media is already hoisted', ALL['_Media']); } // --- @@ -1817,7 +1860,7 @@ export namespace ipywidgets_widgets_widget_media { as a URL as bytes encoded in UTF-8. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Audio */ export class _Audio extends _Widget { constructor(options: TAnyAudio) { @@ -1833,99 +1876,56 @@ export namespace ipywidgets_widgets_widget_media { } } - /** the concrete observable Audio */ - export const Audio = _HasTraits._traitMeta(_Audio); - - if (!NS['Audio']) { - NS['Audio'] = Audio; - } else { - console.log('Audio is already hoisted', NS['Audio']); - } - - // --- - - /** a type for the traits of Image*/ - export type TAnyImage = PROTO.ImagePublic | PROTO.ImageProtected; - - /** a naive Image - - Displays an image as a widget. - - The `value` of this widget accepts a byte string. The byte string is the - raw image data that you want the browser to display. You can explicitly - define the format of the byte string using the `format` trait (which - defaults to "png"). - - If you pass `"url"` to the `"format"` trait, `value` will be interpreted - as a URL as bytes encoded in UTF-8. - - - @see - */ - export class _Image extends _Widget { - constructor(options: TAnyImage) { - super({ ..._Image.defaults(), ...options }); - } - - static defaults(): TAnyImage { - return { - ...super.defaults(), - ...SCHEMA.IPublicImage.default, - ...SCHEMA.IProtectedImage.default - }; - } - } - - /** the concrete observable Image */ - export const Image = _HasTraits._traitMeta(_Image); + /** the concrete observable Audio */ + export const Audio = _HasTraits._traitMeta(_Audio); - if (!NS['Image']) { - NS['Image'] = Image; + if (!ALL['Audio']) { + ALL['Audio'] = Audio; } else { - console.log('Image is already hoisted', NS['Image']); + console.log('Audio is already hoisted', ALL['Audio']); } // --- - /** a type for the traits of Video*/ - export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; + /** a type for the traits of Image*/ + export type TAnyImage = PROTO.ImagePublic | PROTO.ImageProtected; - /** a naive Video + /** a naive Image - Displays a video as a widget. + Displays an image as a widget. The `value` of this widget accepts a byte string. The byte string is the - raw video data that you want the browser to display. You can explicitly + raw image data that you want the browser to display. You can explicitly define the format of the byte string using the `format` trait (which - defaults to "mp4"). + defaults to "png"). If you pass `"url"` to the `"format"` trait, `value` will be interpreted as a URL as bytes encoded in UTF-8. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Image */ - export class _Video extends _Widget { - constructor(options: TAnyVideo) { - super({ ..._Video.defaults(), ...options }); + export class _Image extends _Widget { + constructor(options: TAnyImage) { + super({ ..._Image.defaults(), ...options }); } - static defaults(): TAnyVideo { + static defaults(): TAnyImage { return { ...super.defaults(), - ...SCHEMA.IPublicVideo.default, - ...SCHEMA.IProtectedVideo.default + ...SCHEMA.IPublicImage.default, + ...SCHEMA.IProtectedImage.default }; } } - /** the concrete observable Video */ - export const Video = _HasTraits._traitMeta(_Video); + /** the concrete observable Image */ + export const Image = _HasTraits._traitMeta(_Image); - if (!NS['Video']) { - NS['Video'] = Video; + if (!ALL['Image']) { + ALL['Image'] = Image; } else { - console.log('Video is already hoisted', NS['Video']); + console.log('Image is already hoisted', ALL['Image']); } // --- @@ -1966,7 +1966,7 @@ export namespace ipywidgets_widgets_widget_output { print('prints to output widget') - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Output */ export class _Output extends _Widget { constructor(options: TAnyOutput) { @@ -1985,10 +1985,10 @@ export namespace ipywidgets_widgets_widget_output { /** the concrete observable Output */ export const Output = _HasTraits._traitMeta(_Output); - if (!NS['Output']) { - NS['Output'] = Output; + if (!ALL['Output']) { + ALL['Output'] = Output; } else { - console.log('Output is already hoisted', NS['Output']); + console.log('Output is already hoisted', ALL['Output']); } // --- @@ -2045,7 +2045,7 @@ export namespace ipywidgets_widgets_widget_selection { The number of rows to display in the widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#SelectMultiple */ export class _SelectMultiple extends _Widget { constructor(options: TAnySelectMultiple) { @@ -2066,10 +2066,10 @@ export namespace ipywidgets_widgets_widget_selection { _SelectMultiple ); - if (!NS['SelectMultiple']) { - NS['SelectMultiple'] = SelectMultiple; + if (!ALL['SelectMultiple']) { + ALL['SelectMultiple'] = SelectMultiple; } else { - console.log('SelectMultiple is already hoisted', NS['SelectMultiple']); + console.log('SelectMultiple is already hoisted', ALL['SelectMultiple']); } // --- @@ -2094,7 +2094,7 @@ export namespace ipywidgets_widgets_widget_selection { weight unit, for example 'bold' or '600' - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButtonsStyle */ export class _ToggleButtonsStyle extends _Widget { constructor(options: TAnyToggleButtonsStyle) { @@ -2115,10 +2115,10 @@ export namespace ipywidgets_widgets_widget_selection { _ToggleButtonsStyle ); - if (!NS['ToggleButtonsStyle']) { - NS['ToggleButtonsStyle'] = ToggleButtonsStyle; + if (!ALL['ToggleButtonsStyle']) { + ALL['ToggleButtonsStyle'] = ToggleButtonsStyle; } else { - console.log('ToggleButtonsStyle is already hoisted', NS['ToggleButtonsStyle']); + console.log('ToggleButtonsStyle is already hoisted', ALL['ToggleButtonsStyle']); } // --- @@ -2144,7 +2144,7 @@ export namespace ipywidgets_widgets_widget_selection { one may set equals=np.array_equal. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_MultipleSelection */ export class __MultipleSelection extends _Widget { constructor(options: TAny_MultipleSelection) { @@ -2165,46 +2165,46 @@ export namespace ipywidgets_widgets_widget_selection { __MultipleSelection ); - if (!NS['_MultipleSelection']) { - NS['_MultipleSelection'] = _MultipleSelection; + if (!ALL['_MultipleSelection']) { + ALL['_MultipleSelection'] = _MultipleSelection; } else { - console.log('_MultipleSelection is already hoisted', NS['_MultipleSelection']); + console.log('_MultipleSelection is already hoisted', ALL['_MultipleSelection']); } // --- } // end of ['ipywidgets', 'widgets', 'widget_selection'] export namespace ipywidgets_widgets_widget_selectioncontainer { - /** a type for the traits of Tab*/ - export type TAnyTab = PROTO.TabPublic | PROTO.TabProtected; + /** a type for the traits of Accordion*/ + export type TAnyAccordion = PROTO.AccordionPublic | PROTO.AccordionProtected; - /** a naive Tab + /** a naive Accordion - Displays children each on a separate accordion tab. + Displays children each on a separate accordion page. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Accordion */ - export class _Tab extends _Widget { - constructor(options: TAnyTab) { - super({ ..._Tab.defaults(), ...options }); + export class _Accordion extends _Widget { + constructor(options: TAnyAccordion) { + super({ ..._Accordion.defaults(), ...options }); } - static defaults(): TAnyTab { + static defaults(): TAnyAccordion { return { ...super.defaults(), - ...SCHEMA.IPublicTab.default, - ...SCHEMA.IProtectedTab.default + ...SCHEMA.IPublicAccordion.default, + ...SCHEMA.IProtectedAccordion.default }; } } - /** the concrete observable Tab */ - export const Tab = _HasTraits._traitMeta(_Tab); + /** the concrete observable Accordion */ + export const Accordion = _HasTraits._traitMeta(_Accordion); - if (!NS['Tab']) { - NS['Tab'] = Tab; + if (!ALL['Accordion']) { + ALL['Accordion'] = Accordion; } else { - console.log('Tab is already hoisted', NS['Tab']); + console.log('Accordion is already hoisted', ALL['Accordion']); } // --- @@ -2218,7 +2218,7 @@ export namespace ipywidgets_widgets_widget_selectioncontainer { Base class used to display multiple child widgets. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_SelectionContainer */ export class __SelectionContainer extends _Widget { constructor(options: TAny_SelectionContainer) { @@ -2239,182 +2239,186 @@ export namespace ipywidgets_widgets_widget_selectioncontainer { __SelectionContainer ); - if (!NS['_SelectionContainer']) { - NS['_SelectionContainer'] = _SelectionContainer; + if (!ALL['_SelectionContainer']) { + ALL['_SelectionContainer'] = _SelectionContainer; } else { - console.log('_SelectionContainer is already hoisted', NS['_SelectionContainer']); + console.log('_SelectionContainer is already hoisted', ALL['_SelectionContainer']); } // --- - /** a type for the traits of Accordion*/ - export type TAnyAccordion = PROTO.AccordionPublic | PROTO.AccordionProtected; + /** a type for the traits of Tab*/ + export type TAnyTab = PROTO.TabPublic | PROTO.TabProtected; - /** a naive Accordion + /** a naive Tab - Displays children each on a separate accordion page. + Displays children each on a separate accordion tab. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Tab */ - export class _Accordion extends _Widget { - constructor(options: TAnyAccordion) { - super({ ..._Accordion.defaults(), ...options }); + export class _Tab extends _Widget { + constructor(options: TAnyTab) { + super({ ..._Tab.defaults(), ...options }); } - static defaults(): TAnyAccordion { + static defaults(): TAnyTab { return { ...super.defaults(), - ...SCHEMA.IPublicAccordion.default, - ...SCHEMA.IProtectedAccordion.default + ...SCHEMA.IPublicTab.default, + ...SCHEMA.IProtectedTab.default }; } } - /** the concrete observable Accordion */ - export const Accordion = _HasTraits._traitMeta(_Accordion); + /** the concrete observable Tab */ + export const Tab = _HasTraits._traitMeta(_Tab); - if (!NS['Accordion']) { - NS['Accordion'] = Accordion; + if (!ALL['Tab']) { + ALL['Tab'] = Tab; } else { - console.log('Accordion is already hoisted', NS['Accordion']); + console.log('Tab is already hoisted', ALL['Tab']); } // --- } // end of ['ipywidgets', 'widgets', 'widget_selectioncontainer'] export namespace ipywidgets_widgets_widget_string { - /** a type for the traits of Textarea*/ - export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; + /** a type for the traits of HTMLMath*/ + export type TAnyHTMLMath = PROTO.HTMLMathPublic | PROTO.HTMLMathProtected; - /** a naive Textarea + /** a naive HTMLMath - Multiline text area widget. + Renders the string `value` as HTML, and render mathematics. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTMLMath */ - export class _Textarea extends _Widget { - constructor(options: TAnyTextarea) { - super({ ..._Textarea.defaults(), ...options }); + export class _HTMLMath extends _Widget { + constructor(options: TAnyHTMLMath) { + super({ ..._HTMLMath.defaults(), ...options }); } - static defaults(): TAnyTextarea { + static defaults(): TAnyHTMLMath { return { ...super.defaults(), - ...SCHEMA.IPublicTextarea.default, - ...SCHEMA.IProtectedTextarea.default + ...SCHEMA.IPublicHTMLMath.default, + ...SCHEMA.IProtectedHTMLMath.default }; } } - /** the concrete observable Textarea */ - export const Textarea = _HasTraits._traitMeta(_Textarea); + /** the concrete observable HTMLMath */ + export const HTMLMath = _HasTraits._traitMeta(_HTMLMath); - if (!NS['Textarea']) { - NS['Textarea'] = Textarea; + if (!ALL['HTMLMath']) { + ALL['HTMLMath'] = HTMLMath; } else { - console.log('Textarea is already hoisted', NS['Textarea']); + console.log('HTMLMath is already hoisted', ALL['HTMLMath']); } // --- - /** a type for the traits of Text*/ - export type TAnyText = PROTO.TextPublic | PROTO.TextProtected; + /** a type for the traits of Label*/ + export type TAnyLabel = PROTO.LabelPublic | PROTO.LabelProtected; - /** a naive Text + /** a naive Label - Single line textbox widget. + Label widget. - @see + It also renders math inside the string `value` as Latex (requires $ $ or + $$ $$ and similar latex tags). + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Label */ - export class _Text extends _Widget { - constructor(options: TAnyText) { - super({ ..._Text.defaults(), ...options }); + export class _Label extends _Widget { + constructor(options: TAnyLabel) { + super({ ..._Label.defaults(), ...options }); } - static defaults(): TAnyText { + static defaults(): TAnyLabel { return { ...super.defaults(), - ...SCHEMA.IPublicText.default, - ...SCHEMA.IProtectedText.default + ...SCHEMA.IPublicLabel.default, + ...SCHEMA.IProtectedLabel.default }; } } - /** the concrete observable Text */ - export const Text = _HasTraits._traitMeta(_Text); + /** the concrete observable Label */ + export const Label = _HasTraits._traitMeta(_Label); - if (!NS['Text']) { - NS['Text'] = Text; + if (!ALL['Label']) { + ALL['Label'] = Label; } else { - console.log('Text is already hoisted', NS['Text']); + console.log('Label is already hoisted', ALL['Label']); } // --- - /** a type for the traits of _String*/ - export type TAny_String = PROTO._StringPublic | PROTO._StringProtected; + /** a type for the traits of Textarea*/ + export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; - /** a naive _String + /** a naive Textarea - Base class used to create widgets that represent a string. + Multiline text area widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Textarea */ - export class __String extends _Widget { - constructor(options: TAny_String) { - super({ ...__String.defaults(), ...options }); + export class _Textarea extends _Widget { + constructor(options: TAnyTextarea) { + super({ ..._Textarea.defaults(), ...options }); } - static defaults(): TAny_String { + static defaults(): TAnyTextarea { return { ...super.defaults(), - ...SCHEMA.IPublic_String.default, - ...SCHEMA.IProtected_String.default + ...SCHEMA.IPublicTextarea.default, + ...SCHEMA.IProtectedTextarea.default }; } } - /** the concrete observable _String */ - export const _String = _HasTraits._traitMeta(__String); + /** the concrete observable Textarea */ + export const Textarea = _HasTraits._traitMeta(_Textarea); - if (!NS['_String']) { - NS['_String'] = _String; + if (!ALL['Textarea']) { + ALL['Textarea'] = Textarea; } else { - console.log('_String is already hoisted', NS['_String']); + console.log('Textarea is already hoisted', ALL['Textarea']); } // --- - /** a type for the traits of Password*/ - export type TAnyPassword = PROTO.PasswordPublic | PROTO.PasswordProtected; + /** a type for the traits of _String*/ + export type TAny_String = PROTO._StringPublic | PROTO._StringProtected; - /** a naive Password + /** a naive _String - Single line textbox widget. + Base class used to create widgets that represent a string. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_String */ - export class _Password extends _Widget { - constructor(options: TAnyPassword) { - super({ ..._Password.defaults(), ...options }); + export class __String extends _Widget { + constructor(options: TAny_String) { + super({ ...__String.defaults(), ...options }); } - static defaults(): TAnyPassword { + static defaults(): TAny_String { return { ...super.defaults(), - ...SCHEMA.IPublicPassword.default, - ...SCHEMA.IProtectedPassword.default + ...SCHEMA.IPublic_String.default, + ...SCHEMA.IProtected_String.default }; } } - /** the concrete observable Password */ - export const Password = _HasTraits._traitMeta(_Password); + /** the concrete observable _String */ + export const _String = _HasTraits._traitMeta(__String); - if (!NS['Password']) { - NS['Password'] = Password; + if (!ALL['_String']) { + ALL['_String'] = _String; } else { - console.log('Password is already hoisted', NS['Password']); + console.log('_String is already hoisted', ALL['_String']); } // --- @@ -2426,7 +2430,7 @@ export namespace ipywidgets_widgets_widget_string { Renders the string `value` as HTML. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTML */ export class _HTML extends _Widget { constructor(options: TAnyHTML) { @@ -2445,117 +2449,113 @@ export namespace ipywidgets_widgets_widget_string { /** the concrete observable HTML */ export const HTML = _HasTraits._traitMeta(_HTML); - if (!NS['HTML']) { - NS['HTML'] = HTML; + if (!ALL['HTML']) { + ALL['HTML'] = HTML; } else { - console.log('HTML is already hoisted', NS['HTML']); + console.log('HTML is already hoisted', ALL['HTML']); } // --- - /** a type for the traits of Combobox*/ - export type TAnyCombobox = PROTO.ComboboxPublic | PROTO.ComboboxProtected; + /** a type for the traits of Text*/ + export type TAnyText = PROTO.TextPublic | PROTO.TextProtected; - /** a naive Combobox + /** a naive Text - Single line textbox widget with a dropdown and autocompletion. - + Single line textbox widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Text */ - export class _Combobox extends _Widget { - constructor(options: TAnyCombobox) { - super({ ..._Combobox.defaults(), ...options }); + export class _Text extends _Widget { + constructor(options: TAnyText) { + super({ ..._Text.defaults(), ...options }); } - static defaults(): TAnyCombobox { + static defaults(): TAnyText { return { ...super.defaults(), - ...SCHEMA.IPublicCombobox.default, - ...SCHEMA.IProtectedCombobox.default + ...SCHEMA.IPublicText.default, + ...SCHEMA.IProtectedText.default }; } } - /** the concrete observable Combobox */ - export const Combobox = _HasTraits._traitMeta(_Combobox); + /** the concrete observable Text */ + export const Text = _HasTraits._traitMeta(_Text); - if (!NS['Combobox']) { - NS['Combobox'] = Combobox; + if (!ALL['Text']) { + ALL['Text'] = Text; } else { - console.log('Combobox is already hoisted', NS['Combobox']); + console.log('Text is already hoisted', ALL['Text']); } // --- - /** a type for the traits of HTMLMath*/ - export type TAnyHTMLMath = PROTO.HTMLMathPublic | PROTO.HTMLMathProtected; + /** a type for the traits of Password*/ + export type TAnyPassword = PROTO.PasswordPublic | PROTO.PasswordProtected; - /** a naive HTMLMath + /** a naive Password - Renders the string `value` as HTML, and render mathematics. + Single line textbox widget. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Password */ - export class _HTMLMath extends _Widget { - constructor(options: TAnyHTMLMath) { - super({ ..._HTMLMath.defaults(), ...options }); + export class _Password extends _Widget { + constructor(options: TAnyPassword) { + super({ ..._Password.defaults(), ...options }); } - static defaults(): TAnyHTMLMath { + static defaults(): TAnyPassword { return { ...super.defaults(), - ...SCHEMA.IPublicHTMLMath.default, - ...SCHEMA.IProtectedHTMLMath.default + ...SCHEMA.IPublicPassword.default, + ...SCHEMA.IProtectedPassword.default }; } } - /** the concrete observable HTMLMath */ - export const HTMLMath = _HasTraits._traitMeta(_HTMLMath); + /** the concrete observable Password */ + export const Password = _HasTraits._traitMeta(_Password); - if (!NS['HTMLMath']) { - NS['HTMLMath'] = HTMLMath; + if (!ALL['Password']) { + ALL['Password'] = Password; } else { - console.log('HTMLMath is already hoisted', NS['HTMLMath']); + console.log('Password is already hoisted', ALL['Password']); } // --- - /** a type for the traits of Label*/ - export type TAnyLabel = PROTO.LabelPublic | PROTO.LabelProtected; - - /** a naive Label + /** a type for the traits of Combobox*/ + export type TAnyCombobox = PROTO.ComboboxPublic | PROTO.ComboboxProtected; - Label widget. + /** a naive Combobox - It also renders math inside the string `value` as Latex (requires $ $ or - $$ $$ and similar latex tags). + Single line textbox widget with a dropdown and autocompletion. - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Combobox */ - export class _Label extends _Widget { - constructor(options: TAnyLabel) { - super({ ..._Label.defaults(), ...options }); + export class _Combobox extends _Widget { + constructor(options: TAnyCombobox) { + super({ ..._Combobox.defaults(), ...options }); } - static defaults(): TAnyLabel { + static defaults(): TAnyCombobox { return { ...super.defaults(), - ...SCHEMA.IPublicLabel.default, - ...SCHEMA.IProtectedLabel.default + ...SCHEMA.IPublicCombobox.default, + ...SCHEMA.IProtectedCombobox.default }; } } - /** the concrete observable Label */ - export const Label = _HasTraits._traitMeta(_Label); + /** the concrete observable Combobox */ + export const Combobox = _HasTraits._traitMeta(_Combobox); - if (!NS['Label']) { - NS['Label'] = Label; + if (!ALL['Combobox']) { + ALL['Combobox'] = Combobox; } else { - console.log('Label is already hoisted', NS['Label']); + console.log('Combobox is already hoisted', ALL['Combobox']); } // --- @@ -2569,7 +2569,7 @@ export namespace ipywidgets_widgets_widget_style { Style specification - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Style */ export class _Style extends _Widget { constructor(options: TAnyStyle) { @@ -2588,10 +2588,10 @@ export namespace ipywidgets_widgets_widget_style { /** the concrete observable Style */ export const Style = _HasTraits._traitMeta(_Style); - if (!NS['Style']) { - NS['Style'] = Style; + if (!ALL['Style']) { + ALL['Style'] = Style; } else { - console.log('Style is already hoisted', NS['Style']); + console.log('Style is already hoisted', ALL['Style']); } // --- @@ -2643,7 +2643,7 @@ export namespace ipywidgets_widgets_widget_templates { - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#TwoByTwoLayout */ export class _TwoByTwoLayout extends _Widget { constructor(options: TAnyTwoByTwoLayout) { @@ -2664,10 +2664,10 @@ export namespace ipywidgets_widgets_widget_templates { _TwoByTwoLayout ); - if (!NS['TwoByTwoLayout']) { - NS['TwoByTwoLayout'] = TwoByTwoLayout; + if (!ALL['TwoByTwoLayout']) { + ALL['TwoByTwoLayout'] = TwoByTwoLayout; } else { - console.log('TwoByTwoLayout is already hoisted', NS['TwoByTwoLayout']); + console.log('TwoByTwoLayout is already hoisted', ALL['TwoByTwoLayout']); } // --- @@ -2719,7 +2719,7 @@ export namespace ipywidgets_widgets_widget_templates { - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#AppLayout */ export class _AppLayout extends _Widget { constructor(options: TAnyAppLayout) { @@ -2738,10 +2738,10 @@ export namespace ipywidgets_widgets_widget_templates { /** the concrete observable AppLayout */ export const AppLayout = _HasTraits._traitMeta(_AppLayout); - if (!NS['AppLayout']) { - NS['AppLayout'] = AppLayout; + if (!ALL['AppLayout']) { + ALL['AppLayout'] = AppLayout; } else { - console.log('AppLayout is already hoisted', NS['AppLayout']); + console.log('AppLayout is already hoisted', ALL['AppLayout']); } // --- @@ -2757,7 +2757,7 @@ export namespace ipywidgets_widgets_widget_upload { Upload file(s) from browser to Python kernel as bytes - @see + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FileUpload */ export class _FileUpload extends _Widget { constructor(options: TAnyFileUpload) { @@ -2776,10 +2776,10 @@ export namespace ipywidgets_widgets_widget_upload { /** the concrete observable FileUpload */ export const FileUpload = _HasTraits._traitMeta(_FileUpload); - if (!NS['FileUpload']) { - NS['FileUpload'] = FileUpload; + if (!ALL['FileUpload']) { + ALL['FileUpload'] = FileUpload; } else { - console.log('FileUpload is already hoisted', NS['FileUpload']); + console.log('FileUpload is already hoisted', ALL['FileUpload']); } // --- diff --git a/packages/kernel/src/_schema_widgets.d.ts b/packages/kernel/src/_schema_widgets.d.ts index bd10d7ea6..20937f912 100644 --- a/packages/kernel/src/_schema_widgets.d.ts +++ b/packages/kernel/src/_schema_widgets.d.ts @@ -4,261 +4,171 @@ export type AnyWidget = APublicWidget | AProtectedWidget; export type APublicWidget = - | LayoutPublic - | CheckboxPublic - | BoundedFloatTextPublic + | HTMLMathPublic + | ButtonPublic + | IntTextPublic + | DescriptionWidgetPublic + | ProgressStylePublic + | _FloatRangePublic + | LabelPublic + | GridBoxPublic + | StylePublic + | _BoundedIntRangePublic + | VideoPublic + | _BoundedLogFloatPublic + | _BoolPublic + | ValidPublic + | IntProgressPublic + | _BoundedFloatRangePublic + | WidgetPublic | TwoByTwoLayoutPublic - | _IntPublic + | FloatLogSliderPublic | AppLayoutPublic - | ButtonStylePublic + | AccordionPublic + | FloatRangeSliderPublic + | BoxPublic + | IntRangeSliderPublic | TextareaPublic - | _IntRangePublic + | _BoundedIntPublic + | ColorPickerPublic + | _SelectionContainerPublic + | FloatTextPublic + | TabPublic + | LayoutPublic + | CheckboxPublic + | ControllerPublic + | _IntPublic + | BoundedFloatTextPublic + | _StringPublic + | _MediaPublic + | CoreWidgetPublic | SliderStylePublic + | _IntRangePublic | FloatProgressPublic + | AxisPublic | OutputPublic + | HTMLPublic | SelectMultiplePublic | DescriptionStylePublic | IntSliderPublic + | VBoxPublic | ToggleButtonsStylePublic - | AxisPublic + | ButtonStylePublic | _FloatPublic | PlayPublic - | ControllerPublic - | VBoxPublic - | _MediaPublic + | AudioPublic + | TextPublic | BoundedIntTextPublic - | _MultipleSelectionPublic - | FloatSliderPublic | ToggleButtonPublic - | TabPublic - | DOMWidgetPublic - | _BoundedFloatPublic - | TextPublic - | HBoxPublic - | AudioPublic - | ButtonPublic - | _SelectionContainerPublic - | _StringPublic - | IntTextPublic - | PasswordPublic + | FloatSliderPublic | ImagePublic - | DescriptionWidgetPublic - | HTMLPublic - | ProgressStylePublic - | _FloatRangePublic + | _MultipleSelectionPublic + | PasswordPublic | FileUploadPublic - | _BoundedIntRangePublic - | _BoundedLogFloatPublic - | ComboboxPublic - | GridBoxPublic - | _BoolPublic - | ValidPublic - | HTMLMathPublic - | IntProgressPublic - | _BoundedFloatRangePublic - | StylePublic - | FloatLogSliderPublic - | WidgetPublic - | LabelPublic - | ColorPickerPublic - | FloatRangeSliderPublic - | VideoPublic - | AccordionPublic - | IntRangeSliderPublic - | BoxPublic - | FloatTextPublic - | _BoundedIntPublic - | CoreWidgetPublic; + | HBoxPublic + | _BoundedFloatPublic + | DOMWidgetPublic + | ComboboxPublic; export type AProtectedWidget = - | LayoutProtected - | CheckboxProtected - | BoundedFloatTextProtected + | HTMLMathProtected + | ButtonProtected + | IntTextProtected + | DescriptionWidgetProtected + | ProgressStyleProtected + | _FloatRangeProtected + | LabelProtected + | GridBoxProtected + | StyleProtected + | _BoundedIntRangeProtected + | VideoProtected + | _BoundedLogFloatProtected + | _BoolProtected + | ValidProtected + | IntProgressProtected + | _BoundedFloatRangeProtected + | WidgetProtected | TwoByTwoLayoutProtected - | _IntProtected + | FloatLogSliderProtected | AppLayoutProtected - | ButtonStyleProtected + | AccordionProtected + | FloatRangeSliderProtected + | BoxProtected + | IntRangeSliderProtected | TextareaProtected - | _IntRangeProtected + | _BoundedIntProtected + | ColorPickerProtected + | _SelectionContainerProtected + | FloatTextProtected + | TabProtected + | LayoutProtected + | CheckboxProtected + | ControllerProtected + | _IntProtected + | BoundedFloatTextProtected + | _StringProtected + | _MediaProtected + | CoreWidgetProtected | SliderStyleProtected + | _IntRangeProtected | FloatProgressProtected + | AxisProtected | OutputProtected + | HTMLProtected | SelectMultipleProtected | DescriptionStyleProtected | IntSliderProtected + | VBoxProtected | ToggleButtonsStyleProtected - | AxisProtected + | ButtonStyleProtected | _FloatProtected | PlayProtected - | ControllerProtected - | VBoxProtected - | _MediaProtected + | AudioProtected + | TextProtected | BoundedIntTextProtected - | _MultipleSelectionProtected - | FloatSliderProtected | ToggleButtonProtected - | TabProtected - | DOMWidgetProtected - | _BoundedFloatProtected - | TextProtected - | HBoxProtected - | AudioProtected - | ButtonProtected - | _SelectionContainerProtected - | _StringProtected - | IntTextProtected - | PasswordProtected + | FloatSliderProtected | ImageProtected - | DescriptionWidgetProtected - | HTMLProtected - | ProgressStyleProtected - | _FloatRangeProtected + | _MultipleSelectionProtected + | PasswordProtected | FileUploadProtected - | _BoundedIntRangeProtected - | _BoundedLogFloatProtected - | ComboboxProtected - | GridBoxProtected - | _BoolProtected - | ValidProtected - | HTMLMathProtected - | IntProgressProtected - | _BoundedFloatRangeProtected - | StyleProtected - | FloatLogSliderProtected - | WidgetProtected - | LabelProtected - | ColorPickerProtected - | FloatRangeSliderProtected - | VideoProtected - | AccordionProtected - | IntRangeSliderProtected - | BoxProtected - | FloatTextProtected - | _BoundedIntProtected - | CoreWidgetProtected; + | HBoxProtected + | _BoundedFloatProtected + | DOMWidgetProtected + | ComboboxProtected; /** - * The public API for Layout + * The public API for HTMLMath */ -export interface LayoutPublic { +export interface HTMLMathPublic { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ + _dom_classes: string[]; _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The public API for Checkbox + * The public API for Button */ -export interface CheckboxPublic { +export interface ButtonPublic { /** * CSS classes applied to widget DOM element */ @@ -271,27 +181,18 @@ export interface CheckboxPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Indent the control to align with other controls with a description. + * Whether the button is pressed. */ - indent: boolean; + pressed: boolean; /** - * Bool value + * The value of the button. */ - value: boolean; + value: number; } /** - * The public API for BoundedFloatText + * The public API for IntText */ -export interface BoundedFloatTextPublic { +export interface IntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -317,23 +218,18 @@ export interface BoundedFloatTextPublic { */ disabled: boolean; /** - * Max value - */ - max: number; - /** - * Min value + * Minimum step to increment the value */ - min: number; - step: number | null; + step: number; /** - * Float value + * Int value */ value: number; } /** - * The public API for TwoByTwoLayout + * The public API for DescriptionWidget */ -export interface TwoByTwoLayoutPublic { +export interface DescriptionWidgetPublic { /** * CSS classes applied to widget DOM element */ @@ -344,20 +240,33 @@ export interface TwoByTwoLayoutPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; +} +/** + * The public API for ProgressStyle + */ +export interface ProgressStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * List of widget children + * Width of the description to the side of the control. */ - children: unknown[]; + description_width: string; } /** - * The public API for _Int + * The public API for _FloatRange */ -export interface _IntPublic { +export interface _FloatRangePublic { /** * CSS classes applied to widget DOM element */ @@ -375,14 +284,16 @@ export interface _IntPublic { description: string; description_tooltip: string | null; /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for AppLayout + * The public API for Label */ -export interface AppLayoutPublic { +export interface LabelPublic { /** * CSS classes applied to widget DOM element */ @@ -395,34 +306,23 @@ export interface AppLayoutPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Placeholder text to display when nothing has been typed */ - children: unknown[]; -} -/** - * The public API for ButtonStyle - */ -export interface ButtonStylePublic { - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + placeholder: string; /** - * Button text font weight. + * String value */ - font_weight: string; + value: string; } /** - * The public API for Textarea + * The public API for GridBox */ -export interface TextareaPublic { +export interface GridBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -435,32 +335,36 @@ export interface TextareaPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Enable or disable user changes + * List of widget children */ - disabled: boolean; + children: unknown[]; +} +/** + * The public API for Style + */ +export interface StylePublic { /** - * Placeholder text to display when nothing has been typed + * The namespace for the model. */ - placeholder: string; - rows: number | null; + _model_module: string; /** - * String value + * A semver requirement for namespace version containing the model. */ - value: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; } /** - * The public API for _IntRange + * The public API for _BoundedIntRange */ -export interface _IntRangePublic { +export interface _BoundedIntRangePublic { /** * CSS classes applied to widget DOM element */ @@ -477,6 +381,14 @@ export interface _IntRangePublic { */ description: string; description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; /** * Tuple of (lower, upper) bounds */ @@ -485,9 +397,13 @@ export interface _IntRangePublic { }[]; } /** - * The public API for SliderStyle + * The public API for Video */ -export interface SliderStylePublic { +export interface VideoPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -496,14 +412,34 @@ export interface SliderStylePublic { _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. + * When true, the video starts when it's displayed */ - description_width: string; + autoplay: boolean; + /** + * Specifies that video controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the video. + */ + format: string; + /** + * Height of the video in pixels. + */ + height: string; + /** + * When true, the video will start from the beginning after finishing + */ + loop: boolean; + /** + * Width of the video in pixels. + */ + width: string; } /** - * The public API for FloatProgress + * The public API for _BoundedLogFloat */ -export interface FloatProgressPublic { +export interface _BoundedLogFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -514,34 +450,33 @@ export interface FloatProgressPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + _view_name: string | null; + /** + * Base of value + */ + base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Max value for the exponent */ max: number; /** - * Min value + * Min value for the exponent */ min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; /** * Float value */ value: number; } /** - * The public API for Output + * The public API for _Bool */ -export interface OutputPublic { +export interface _BoolPublic { /** * CSS classes applied to widget DOM element */ @@ -552,22 +487,25 @@ export interface OutputPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Parent message id of messages to capture + * Description of the control. */ - msg_id: string; + description: string; + description_tooltip: string | null; /** - * The output messages synced from the frontend. + * Enable or disable user changes. */ - outputs: { - [k: string]: unknown; - }[]; + disabled: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The public API for SelectMultiple + * The public API for Valid */ -export interface SelectMultiplePublic { +export interface ValidPublic { /** * CSS classes applied to widget DOM element */ @@ -575,10 +513,6 @@ export interface SelectMultiplePublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -589,38 +523,22 @@ export interface SelectMultiplePublic { description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Selected indices - */ - index: number[]; - /** - * The number of rows to display. + * Message displayed when the value is False */ - rows: number; -} -/** - * The public API for DescriptionStyle - */ -export interface DescriptionStylePublic { - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + readout: string; /** - * Width of the description to the side of the control. + * Bool value */ - description_width: string; + value: boolean; } /** - * The public API for IntSlider + * The public API for IntProgress */ -export interface IntSliderPublic { +export interface IntProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -633,18 +551,14 @@ export interface IntSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Use a predefined styling for the progess bar. */ - continuous_update: boolean; + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -657,67 +571,78 @@ export interface IntSliderPublic { * Vertical or horizontal. */ orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step to increment the value - */ - step: number; /** * Int value */ value: number; } /** - * The public API for ToggleButtonsStyle + * The public API for _BoundedFloatRange */ -export interface ToggleButtonsStylePublic { +export interface _BoundedFloatRangePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * The width of each button. + * Description of the control. */ - button_width: string; + description: string; + description_tooltip: string | null; /** - * Width of the description to the side of the control. + * Max value */ - description_width: string; + max: number; /** - * Text font weight of each button. + * Min value */ - font_weight: string; + min: number; + /** + * Minimum step that the value can take (ignored by some views) + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** - * The public API for Axis + * The public API for Widget */ -export interface AxisPublic { +export interface WidgetPublic { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; + /** + * Name of the model. + */ _model_name: string; _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + _view_module: string | null; /** - * The value of the axis. + * A semver requirement for the namespace version containing the view. */ - value: number; + _view_module_version: string; + _view_name: string | null; } /** - * The public API for _Float + * The public API for TwoByTwoLayout */ -export interface _FloatPublic { +export interface TwoByTwoLayoutPublic { /** * CSS classes applied to widget DOM element */ @@ -728,21 +653,20 @@ export interface _FloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Float value + * List of widget children */ - value: number; + children: unknown[]; } /** - * The public API for Play + * The public API for FloatLogSlider */ -export interface PlayPublic { +export interface FloatLogSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -750,100 +674,56 @@ export interface PlayPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Whether the control is currently playing. - */ - _playing: boolean; - /** - * Whether the control will repeat in a continous loop. - */ - _repeat: boolean; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * The maximum value for the play control. - */ - interval: number; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Show the repeat toggle button in the widget. - */ - show_repeat: boolean; - /** - * Increment step + * Base for the logarithm */ - step: number; + base: number; /** - * Int value + * Update the value of the widget as the user is holding the slider. */ - value: number; -} -/** - * The public API for Controller - */ -export interface ControllerPublic { + continuous_update: boolean; /** - * CSS classes applied to widget DOM element + * Description of the control. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + description: string; + description_tooltip: string | null; /** - * The axes on the gamepad. + * Enable or disable user changes */ - axes: unknown[]; + disabled: boolean; /** - * The buttons on the gamepad. + * Max value for the exponent */ - buttons: unknown[]; + max: number; /** - * Whether the gamepad is connected. + * Min value for the exponent */ - connected: boolean; + min: number; /** - * The id number of the controller. + * Vertical or horizontal. */ - index: number; + orientation: 'horizontal' | 'vertical'; /** - * The name of the control mapping. + * Display the current value of the slider next to it. */ - mapping: string; + readout: boolean; /** - * The name of the controller. + * Minimum step in the exponent to increment the value */ - name: string; + step: number; /** - * The last time the data from this gamepad was updated. + * Float value */ - timestamp: number; + value: number; } /** - * The public API for VBox + * The public API for AppLayout */ -export interface VBoxPublic { +export interface AppLayoutPublic { /** * CSS classes applied to widget DOM element */ @@ -865,9 +745,9 @@ export interface VBoxPublic { children: unknown[]; } /** - * The public API for _Media + * The public API for Accordion */ -export interface _MediaPublic { +export interface AccordionPublic { /** * CSS classes applied to widget DOM element */ @@ -875,15 +755,30 @@ export interface _MediaPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; } /** - * The public API for BoundedIntText + * The public API for FloatRangeSlider */ -export interface BoundedIntTextPublic { +export interface FloatRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -896,7 +791,7 @@ export interface BoundedIntTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is sliding the slider. */ continuous_update: boolean; /** @@ -916,19 +811,29 @@ export interface BoundedIntTextPublic { * Min value */ min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; /** * Minimum step to increment the value */ step: number; /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for _MultipleSelection + * The public API for Box */ -export interface _MultipleSelectionPublic { +export interface BoxPublic { /** * CSS classes applied to widget DOM element */ @@ -936,32 +841,23 @@ export interface _MultipleSelectionPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; + _view_name: string; /** - * Enable or disable user changes + * Use a predefined styling for the box. */ - disabled: boolean; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Selected indices + * List of widget children */ - index: number[]; + children: unknown[]; } /** - * The public API for FloatSlider + * The public API for IntRangeSlider */ -export interface FloatSliderPublic { +export interface IntRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -974,7 +870,7 @@ export interface FloatSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Update the value of the widget as the user is sliding the slider. */ continuous_update: boolean; /** @@ -1003,18 +899,20 @@ export interface FloatSliderPublic { */ readout: boolean; /** - * Minimum step to increment the value + * Minimum step that the value can take */ step: number; /** - * Float value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for ToggleButton + * The public API for Textarea */ -export interface ToggleButtonPublic { +export interface TextareaPublic { /** * CSS classes applied to widget DOM element */ @@ -1027,91 +925,32 @@ export interface ToggleButtonPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the button. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Font-awesome icon. - */ - icon: string; - /** - * Tooltip caption of the toggle button. - */ - tooltip: string; - /** - * Bool value - */ - value: boolean; -} -/** - * The public API for Tab - */ -export interface TabPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; - selected_index: number | null; -} -/** - * The public API for DOMWidget - */ -export interface DOMWidgetPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. + * Placeholder text to display when nothing has been typed */ - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string | null; + placeholder: string; + rows: number | null; /** - * A semver requirement for the namespace version containing the view. + * String value */ - _view_module_version: string; - _view_name: string | null; + value: string; } /** - * The public API for _BoundedFloat + * The public API for _BoundedInt */ -export interface _BoundedFloatPublic { +export interface _BoundedIntPublic { /** * CSS classes applied to widget DOM element */ @@ -1137,14 +976,14 @@ export interface _BoundedFloatPublic { */ min: number; /** - * Float value + * Int value */ value: number; } /** - * The public API for Text + * The public API for ColorPicker */ -export interface TextPublic { +export interface ColorPickerPublic { /** * CSS classes applied to widget DOM element */ @@ -1157,31 +996,27 @@ export interface TextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Display short version with just a color selector. */ - continuous_update: boolean; + concise: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * The color value. */ value: string; } /** - * The public API for HBox + * The public API for _SelectionContainer */ -export interface HBoxPublic { +export interface _SelectionContainerPublic { /** * CSS classes applied to widget DOM element */ @@ -1189,6 +1024,12 @@ export interface HBoxPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -1200,44 +1041,13 @@ export interface HBoxPublic { /** * List of widget children */ - children: unknown[]; -} -/** - * The public API for Audio - */ -export interface AudioPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * When true, the audio starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the audio. - */ - format: string; - /** - * When true, the audio will start from the beginning after finishing - */ - loop: boolean; + children: unknown[]; + selected_index: number | null; } /** - * The public API for Button + * The public API for FloatText */ -export interface ButtonPublic { +export interface FloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1250,18 +1060,28 @@ export interface ButtonPublic { _view_module_version: string; _view_name: string; /** - * Whether the button is pressed. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - pressed: boolean; + continuous_update: boolean; /** - * The value of the button. + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + step: number | null; + /** + * Float value */ value: number; } /** - * The public API for _SelectionContainer + * The public API for Tab */ -export interface _SelectionContainerPublic { +export interface TabPublic { /** * CSS classes applied to widget DOM element */ @@ -1290,9 +1110,128 @@ export interface _SelectionContainerPublic { selected_index: number | null; } /** - * The public API for _String + * The public API for Layout */ -export interface _StringPublic { +export interface LayoutPublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; +} +/** + * The public API for Checkbox + */ +export interface CheckboxPublic { /** * CSS classes applied to widget DOM element */ @@ -1303,25 +1242,29 @@ export interface _StringPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Enable or disable user changes. */ - placeholder: string; + disabled: boolean; /** - * String value + * Indent the control to align with other controls with a description. */ - value: string; + indent: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The public API for IntText + * The public API for Controller */ -export interface IntTextPublic { +export interface ControllerPublic { /** * CSS classes applied to widget DOM element */ @@ -1334,31 +1277,63 @@ export interface IntTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * The axes on the gamepad. */ - continuous_update: boolean; + axes: unknown[]; /** - * Description of the control. + * The buttons on the gamepad. */ - description: string; - description_tooltip: string | null; + buttons: unknown[]; /** - * Enable or disable user changes + * Whether the gamepad is connected. */ - disabled: boolean; + connected: boolean; /** - * Minimum step to increment the value + * The id number of the controller. */ - step: number; + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; +} +/** + * The public API for _Int + */ +export interface _IntPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; /** * Int value */ value: number; } /** - * The public API for Password + * The public API for BoundedFloatText */ -export interface PasswordPublic { +export interface BoundedFloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1384,18 +1359,23 @@ export interface PasswordPublic { */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed + * Max value */ - placeholder: string; + max: number; /** - * String value + * Min value */ - value: string; + min: number; + step: number | null; + /** + * Float value + */ + value: number; } /** - * The public API for Image + * The public API for _String */ -export interface ImagePublic { +export interface _StringPublic { /** * CSS classes applied to widget DOM element */ @@ -1406,24 +1386,25 @@ export interface ImagePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * The format of the image. + * Description of the control. */ - format: string; + description: string; + description_tooltip: string | null; /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Placeholder text to display when nothing has been typed */ - height: string; + placeholder: string; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * String value */ - width: string; + value: string; } /** - * The public API for DescriptionWidget + * The public API for _Media */ -export interface DescriptionWidgetPublic { +export interface _MediaPublic { /** * CSS classes applied to widget DOM element */ @@ -1435,45 +1416,26 @@ export interface DescriptionWidgetPublic { _view_module: string; _view_module_version: string; _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; } /** - * The public API for HTML + * The public API for CoreWidget */ -export interface HTMLPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface CoreWidgetPublic { _model_module: string; _model_module_version: string; + /** + * Name of the model. + */ _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value - */ - value: string; + _view_name: string | null; } /** - * The public API for ProgressStyle + * The public API for SliderStyle */ -export interface ProgressStylePublic { +export interface SliderStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1487,9 +1449,9 @@ export interface ProgressStylePublic { description_width: string; } /** - * The public API for _FloatRange + * The public API for _IntRange */ -export interface _FloatRangePublic { +export interface _IntRangePublic { /** * CSS classes applied to widget DOM element */ @@ -1514,10 +1476,9 @@ export interface _FloatRangePublic { }[]; } /** - * The public API for FileUpload + * The public API for FloatProgress */ -export interface FileUploadPublic { - _counter: number; +export interface FloatProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -1529,52 +1490,33 @@ export interface FileUploadPublic { _view_module: string; _view_module_version: string; _view_name: string; - /** - * File types to accept, empty string for all - */ - accept: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of file content (bytes) - */ - data: { - [k: string]: unknown; - }[]; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message + * Max value */ - error: string; + max: number; /** - * Font-awesome icon name, without the 'fa-' prefix. + * Min value */ - icon: string; + min: number; /** - * List of file metadata + * Vertical or horizontal. */ - metadata: { - [k: string]: unknown; - }[]; + orientation: 'horizontal' | 'vertical'; /** - * If True, allow for multiple files upload + * Float value */ - multiple: boolean; + value: number; } /** - * The public API for _BoundedIntRange + * The public API for Axis */ -export interface _BoundedIntRangePublic { +export interface AxisPublic { /** * CSS classes applied to widget DOM element */ @@ -1585,31 +1527,42 @@ export interface _BoundedIntRangePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * The value of the axis. */ - description: string; - description_tooltip: string | null; + value: number; +} +/** + * The public API for Output + */ +export interface OutputPublic { /** - * Max value + * CSS classes applied to widget DOM element */ - max: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Min value + * Parent message id of messages to capture */ - min: number; + msg_id: string; /** - * Tuple of (lower, upper) bounds + * The output messages synced from the frontend. */ - value: { + outputs: { [k: string]: unknown; }[]; } /** - * The public API for _BoundedLogFloat + * The public API for HTML */ -export interface _BoundedLogFloatPublic { +export interface HTMLPublic { /** * CSS classes applied to widget DOM element */ @@ -1620,33 +1573,25 @@ export interface _BoundedLogFloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Base of value - */ - base: number; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent + * Placeholder text to display when nothing has been typed */ - min: number; + placeholder: string; /** - * Float value + * String value */ - value: number; + value: string; } /** - * The public API for Combobox + * The public API for SelectMultiple */ -export interface ComboboxPublic { +export interface SelectMultiplePublic { /** * CSS classes applied to widget DOM element */ @@ -1654,14 +1599,14 @@ export interface ComboboxPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ @@ -1672,30 +1617,18 @@ export interface ComboboxPublic { */ disabled: boolean; /** - * If set, ensure value is in options. Implies continuous_update=False. - */ - ensure_option: boolean; - /** - * Dropdown options for the combobox - */ - options: string[]; - /** - * Placeholder text to display when nothing has been typed + * Selected indices */ - placeholder: string; + index: number[]; /** - * String value + * The number of rows to display. */ - value: string; + rows: number; } /** - * The public API for GridBox + * The public API for DescriptionStyle */ -export interface GridBoxPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface DescriptionStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1704,18 +1637,14 @@ export interface GridBoxPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children + * Width of the description to the side of the control. */ - children: unknown[]; + description_width: string; } /** - * The public API for _Bool + * The public API for IntSlider */ -export interface _BoolPublic { +export interface IntSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1726,25 +1655,49 @@ export interface _BoolPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Bool value + * Max value */ - value: boolean; + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The public API for Valid + * The public API for VBox */ -export interface ValidPublic { +export interface VBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -1757,31 +1710,42 @@ export interface ValidPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Enable or disable user changes. + * List of widget children */ - disabled: boolean; + children: unknown[]; +} +/** + * The public API for ToggleButtonsStyle + */ +export interface ToggleButtonsStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Message displayed when the value is False + * The width of each button. */ - readout: string; + button_width: string; /** - * Bool value + * Width of the description to the side of the control. */ - value: boolean; + description_width: string; + /** + * Text font weight of each button. + */ + font_weight: string; } /** - * The public API for HTMLMath + * The public API for ButtonStyle */ -export interface HTMLMathPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ButtonStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1790,23 +1754,14 @@ export interface HTMLMathPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Button text font weight. */ - value: string; + font_weight: string; } /** - * The public API for IntProgress + * The public API for _Float */ -export interface IntProgressPublic { +export interface _FloatPublic { /** * CSS classes applied to widget DOM element */ @@ -1817,37 +1772,21 @@ export interface IntProgressPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Use a predefined styling for the progess bar. - */ - bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Int value + * Float value */ value: number; } /** - * The public API for _BoundedFloatRange + * The public API for Play */ -export interface _BoundedFloatRangePublic { +export interface PlayPublic { /** * CSS classes applied to widget DOM element */ @@ -1855,15 +1794,31 @@ export interface _BoundedFloatRangePublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; /** * Max value */ @@ -1873,38 +1828,54 @@ export interface _BoundedFloatRangePublic { */ min: number; /** - * Minimum step that the value can take (ignored by some views) + * Show the repeat toggle button in the widget. + */ + show_repeat: boolean; + /** + * Increment step */ step: number; /** - * Tuple of (lower, upper) bounds + * Int value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The public API for Style + * The public API for Audio */ -export interface StylePublic { +export interface AudioPublic { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ + _dom_classes: string[]; _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; + /** + * When true, the audio starts when it's displayed + */ + autoplay: boolean; + /** + * Specifies that audio controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the audio. + */ + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; } /** - * The public API for FloatLogSlider + * The public API for Text */ -export interface FloatLogSliderPublic { +export interface TextPublic { /** * CSS classes applied to widget DOM element */ @@ -1917,11 +1888,7 @@ export interface FloatLogSliderPublic { _view_module_version: string; _view_name: string; /** - * Base for the logarithm - */ - base: number; - /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -1934,58 +1901,18 @@ export interface FloatLogSliderPublic { */ disabled: boolean; /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step in the exponent to increment the value - */ - step: number; - /** - * Float value - */ - value: number; -} -/** - * The public API for Widget - */ -export interface WidgetPublic { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - /** - * Name of the model. + * Placeholder text to display when nothing has been typed */ - _model_name: string; - _view_count: number | null; - _view_module: string | null; + placeholder: string; /** - * A semver requirement for the namespace version containing the view. + * String value */ - _view_module_version: string; - _view_name: string | null; + value: string; } /** - * The public API for Label + * The public API for BoundedIntText */ -export interface LabelPublic { +export interface BoundedIntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1997,24 +1924,40 @@ export interface LabelPublic { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Enable or disable user changes */ - placeholder: string; + disabled: boolean; /** - * String value + * Max value */ - value: string; + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The public API for ColorPicker + * The public API for ToggleButton */ -export interface ColorPickerPublic { +export interface ToggleButtonPublic { /** * CSS classes applied to widget DOM element */ @@ -2027,9 +1970,9 @@ export interface ColorPickerPublic { _view_module_version: string; _view_name: string; /** - * Display short version with just a color selector. + * Use a predefined styling for the button. */ - concise: boolean; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ @@ -2040,14 +1983,22 @@ export interface ColorPickerPublic { */ disabled: boolean; /** - * The color value. + * Font-awesome icon. */ - value: string; + icon: string; + /** + * Tooltip caption of the toggle button. + */ + tooltip: string; + /** + * Bool value + */ + value: boolean; } /** - * The public API for FloatRangeSlider + * The public API for FloatSlider */ -export interface FloatRangeSliderPublic { +export interface FloatSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -2060,7 +2011,7 @@ export interface FloatRangeSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -2093,16 +2044,14 @@ export interface FloatRangeSliderPublic { */ step: number; /** - * Tuple of (lower, upper) bounds + * Float value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The public API for Video + * The public API for Image */ -export interface VideoPublic { +export interface ImagePublic { /** * CSS classes applied to widget DOM element */ @@ -2115,34 +2064,22 @@ export interface VideoPublic { _view_module_version: string; _view_name: string; /** - * When true, the video starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the video. + * The format of the image. */ format: string; /** - * Height of the video in pixels. + * Height of the image in pixels. Use layout.height for styling the widget. */ height: string; /** - * When true, the video will start from the beginning after finishing - */ - loop: boolean; - /** - * Width of the video in pixels. + * Width of the image in pixels. Use layout.width for styling the widget. */ width: string; } /** - * The public API for Accordion + * The public API for _MultipleSelection */ -export interface AccordionPublic { +export interface _MultipleSelectionPublic { /** * CSS classes applied to widget DOM element */ @@ -2151,29 +2088,31 @@ export interface AccordionPublic { _model_module_version: string; _model_name: string; /** - * Titles of the pages + * The labels for the options. */ - _titles: { - [k: string]: unknown; - }; + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Enable or disable user changes */ - children: unknown[]; - selected_index: number | null; + disabled: boolean; + /** + * Selected indices + */ + index: number[]; } /** - * The public API for IntRangeSlider + * The public API for Password */ -export interface IntRangeSliderPublic { +export interface PasswordPublic { /** * CSS classes applied to widget DOM element */ @@ -2186,7 +2125,7 @@ export interface IntRangeSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -2199,36 +2138,19 @@ export interface IntRangeSliderPublic { */ disabled: boolean; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step that the value can take + * Placeholder text to display when nothing has been typed */ - step: number; + placeholder: string; /** - * Tuple of (lower, upper) bounds + * String value */ - value: { - [k: string]: unknown; - }[]; + value: string; } /** - * The public API for Box + * The public API for FileUpload */ -export interface BoxPublic { +export interface FileUploadPublic { + _counter: number; /** * CSS classes applied to widget DOM element */ @@ -2241,18 +2163,51 @@ export interface BoxPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * File types to accept, empty string for all */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + accept: string; /** - * List of widget children + * Use a predefined styling for the button. */ - children: unknown[]; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable button + */ + disabled: boolean; + /** + * Error message + */ + error: string; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * List of file metadata + */ + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; } /** - * The public API for FloatText + * The public API for HBox */ -export interface FloatTextPublic { +export interface HBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -2265,28 +2220,18 @@ export interface FloatTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes + * Use a predefined styling for the box. */ - disabled: boolean; - step: number | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Float value + * List of widget children */ - value: number; + children: unknown[]; } /** - * The public API for _BoundedInt + * The public API for _BoundedFloat */ -export interface _BoundedIntPublic { +export interface _BoundedFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -2312,151 +2257,39 @@ export interface _BoundedIntPublic { */ min: number; /** - * Int value + * Float value */ value: number; } /** - * The public API for CoreWidget - */ -export interface CoreWidgetPublic { - _model_module: string; - _model_module_version: string; - /** - * Name of the model. - */ - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The protected API for Layout + * The public API for DOMWidget */ -export interface LayoutProtected { - /** - * The namespace for the model. - */ - _model_module: string; +export interface DOMWidgetPublic { /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; } /** - * The protected API for Checkbox + * The public API for Combobox */ -export interface CheckboxProtected { +export interface ComboboxPublic { /** * CSS classes applied to widget DOM element */ @@ -2464,35 +2297,44 @@ export interface CheckboxProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Indent the control to align with other controls with a description. + * If set, ensure value is in options. Implies continuous_update=False. */ - indent: boolean; + ensure_option: boolean; /** - * Bool value + * Dropdown options for the combobox */ - value: boolean; + options: string[]; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The protected API for BoundedFloatText + * The protected API for HTMLMath */ -export interface BoundedFloatTextProtected { +export interface HTMLMathProtected { /** * CSS classes applied to widget DOM element */ @@ -2507,37 +2349,51 @@ export interface BoundedFloatTextProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Placeholder text to display when nothing has been typed */ - disabled: boolean; + placeholder: string; /** - * Max value + * String value */ - max: number; + value: string; +} +/** + * The protected API for Button + */ +export interface ButtonProtected { /** - * Min value + * CSS classes applied to widget DOM element */ - min: number; - step: number | null; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Float value + * Whether the button is pressed. + */ + pressed: boolean; + /** + * The value of the button. */ value: number; } /** - * The protected API for TwoByTwoLayout + * The protected API for IntText */ -export interface TwoByTwoLayoutProtected { +export interface IntTextProtected { /** * CSS classes applied to widget DOM element */ @@ -2552,29 +2408,32 @@ export interface TwoByTwoLayoutProtected { _view_module: string; _view_module_version: string; _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; /** - * Use a predefined styling for the box. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + continuous_update: boolean; /** - * List of widget children + * Description of the control. */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - width: string | null; + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The protected API for _Int + * The protected API for DescriptionWidget */ -export interface _IntProtected { +export interface DescriptionWidgetProtected { /** * CSS classes applied to widget DOM element */ @@ -2594,15 +2453,30 @@ export interface _IntProtected { */ description: string; description_tooltip: string | null; +} +/** + * The protected API for ProgressStyle + */ +export interface ProgressStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Int value + * Width of the description to the side of the control. */ - value: number; + description_width: string; } /** - * The protected API for AppLayout + * The protected API for _FloatRange */ -export interface AppLayoutProtected { +export interface _FloatRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -2616,36 +2490,27 @@ export interface AppLayoutProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Tuple of (lower, upper) bounds */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - pane_heights: { - [k: string]: unknown; - }[]; - pane_widths: { + value: { [k: string]: unknown; }[]; - width: string | null; } /** - * The protected API for ButtonStyle + * The protected API for Label */ -export interface ButtonStyleProtected { +export interface LabelProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -2657,14 +2522,23 @@ export interface ButtonStyleProtected { _view_module_version: string; _view_name: string; /** - * Button text font weight. + * Description of the control. */ - font_weight: string; + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The protected API for Textarea + * The protected API for GridBox */ -export interface TextareaProtected { +export interface GridBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -2680,32 +2554,39 @@ export interface TextareaProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Enable or disable user changes + * List of widget children */ - disabled: boolean; + children: unknown[]; +} +/** + * The protected API for Style + */ +export interface StyleProtected { /** - * Placeholder text to display when nothing has been typed + * The namespace for the model. */ - placeholder: string; - rows: number | null; + _model_module: string; /** - * String value + * A semver requirement for namespace version containing the model. */ - value: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; } /** - * The protected API for _IntRange + * The protected API for _BoundedIntRange */ -export interface _IntRangeProtected { +export interface _BoundedIntRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -2725,6 +2606,14 @@ export interface _IntRangeProtected { */ description: string; description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; /** * Tuple of (lower, upper) bounds */ @@ -2733,9 +2622,13 @@ export interface _IntRangeProtected { }[]; } /** - * The protected API for SliderStyle + * The protected API for Video */ -export interface SliderStyleProtected { +export interface VideoProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -2747,14 +2640,34 @@ export interface SliderStyleProtected { _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. + * When true, the video starts when it's displayed */ - description_width: string; + autoplay: boolean; + /** + * Specifies that video controls should be displayed (such as a play/pause button etc) + */ + controls: boolean; + /** + * The format of the video. + */ + format: string; + /** + * Height of the video in pixels. + */ + height: string; + /** + * When true, the video will start from the beginning after finishing + */ + loop: boolean; + /** + * Width of the video in pixels. + */ + width: string; } /** - * The protected API for FloatProgress + * The protected API for _BoundedLogFloat */ -export interface FloatProgressProtected { +export interface _BoundedLogFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -2768,34 +2681,33 @@ export interface FloatProgressProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + _view_name: string | null; + /** + * Base of value + */ + base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Max value for the exponent */ max: number; /** - * Min value + * Min value for the exponent */ min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; /** * Float value */ value: number; } /** - * The protected API for Output + * The protected API for _Bool */ -export interface OutputProtected { +export interface _BoolProtected { /** * CSS classes applied to widget DOM element */ @@ -2809,22 +2721,25 @@ export interface OutputProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Parent message id of messages to capture + * Description of the control. */ - msg_id: string; + description: string; + description_tooltip: string | null; /** - * The output messages synced from the frontend. + * Enable or disable user changes. */ - outputs: { - [k: string]: unknown; - }[]; + disabled: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The protected API for SelectMultiple + * The protected API for Valid */ -export interface SelectMultipleProtected { +export interface ValidProtected { /** * CSS classes applied to widget DOM element */ @@ -2832,10 +2747,6 @@ export interface SelectMultipleProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; @@ -2849,52 +2760,22 @@ export interface SelectMultipleProtected { description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Selected indices - */ - index: number[]; - /** - * Selected labels - */ - label: string[]; - options: { - [k: string]: unknown; - } | null; - /** - * The number of rows to display. - */ - rows: number; - /** - * Selected values + * Message displayed when the value is False */ - value: unknown[]; -} -/** - * The protected API for DescriptionStyle - */ -export interface DescriptionStyleProtected { - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + readout: string; /** - * Width of the description to the side of the control. + * Bool value */ - description_width: string; + value: boolean; } /** - * The protected API for IntSlider + * The protected API for IntProgress */ -export interface IntSliderProtected { +export interface IntProgressProtected { /** * CSS classes applied to widget DOM element */ @@ -2910,18 +2791,14 @@ export interface IntSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Use a predefined styling for the progess bar. */ - continuous_update: boolean; + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -2934,23 +2811,19 @@ export interface IntSliderProtected { * Vertical or horizontal. */ orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step to increment the value - */ - step: number; /** * Int value */ value: number; } /** - * The protected API for ToggleButtonsStyle + * The protected API for _BoundedFloatRange */ -export interface ToggleButtonsStyleProtected { +export interface _BoundedFloatRangeProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -2960,75 +2833,62 @@ export interface ToggleButtonsStyleProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * The width of each button. + * Description of the control. */ - button_width: string; + description: string; + description_tooltip: string | null; /** - * Width of the description to the side of the control. + * Max value */ - description_width: string; + max: number; /** - * Text font weight of each button. + * Min value */ - font_weight: string; -} -/** - * The protected API for Axis - */ -export interface AxisProtected { + min: number; /** - * CSS classes applied to widget DOM element + * Minimum step that the value can take (ignored by some views) */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + step: number; /** - * The value of the axis. + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for _Float + * The protected API for Widget */ -export interface _FloatProtected { +export interface WidgetProtected { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; + /** + * Name of the model. + */ _model_name: string; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; + _view_module: string | null; /** - * Float value + * A semver requirement for the namespace version containing the view. */ - value: number; + _view_module_version: string; + _view_name: string | null; } /** - * The protected API for Play + * The protected API for TwoByTwoLayout */ -export interface PlayProtected { +export interface TwoByTwoLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -3036,14 +2896,6 @@ export interface PlayProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Whether the control is currently playing. - */ - _playing: boolean; - /** - * Whether the control will repeat in a continous loop. - */ - _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; @@ -3051,44 +2903,29 @@ export interface PlayProtected { _view_module: string; _view_module_version: string; _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * The maximum value for the play control. - */ - interval: number; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Show the repeat toggle button in the widget. - */ - show_repeat: boolean; - /** - * Increment step + * Use a predefined styling for the box. */ - step: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Int value + * List of widget children */ - value: number; + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + width: string | null; } /** - * The protected API for Controller + * The protected API for FloatLogSlider */ -export interface ControllerProtected { +export interface FloatLogSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3104,38 +2941,51 @@ export interface ControllerProtected { _view_module_version: string; _view_name: string; /** - * The axes on the gamepad. + * Base for the logarithm */ - axes: unknown[]; + base: number; /** - * The buttons on the gamepad. + * Update the value of the widget as the user is holding the slider. */ - buttons: unknown[]; + continuous_update: boolean; /** - * Whether the gamepad is connected. + * Description of the control. */ - connected: boolean; + description: string; + description_tooltip: string | null; /** - * The id number of the controller. + * Enable or disable user changes */ - index: number; + disabled: boolean; /** - * The name of the control mapping. + * Max value for the exponent */ - mapping: string; + max: number; /** - * The name of the controller. + * Min value for the exponent */ - name: string; + min: number; /** - * The last time the data from this gamepad was updated. + * Vertical or horizontal. */ - timestamp: number; + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; + /** + * Float value + */ + value: number; } /** - * The protected API for VBox + * The protected API for AppLayout */ -export interface VBoxProtected { +export interface AppLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -3150,6 +3000,9 @@ export interface VBoxProtected { _view_module: string; _view_module_version: string; _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** * Use a predefined styling for the box. */ @@ -3158,11 +3011,24 @@ export interface VBoxProtected { * List of widget children */ children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + pane_heights: { + [k: string]: unknown; + }[]; + pane_widths: { + [k: string]: unknown; + }[]; + width: string | null; } /** - * The protected API for _Media + * The protected API for Accordion */ -export interface _MediaProtected { +export interface AccordionProtected { /** * CSS classes applied to widget DOM element */ @@ -3173,15 +3039,30 @@ export interface _MediaProtected { _states_to_send: { [k: string]: unknown; }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; } /** - * The protected API for BoundedIntText + * The protected API for FloatRangeSlider */ -export interface BoundedIntTextProtected { +export interface FloatRangeSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3197,7 +3078,7 @@ export interface BoundedIntTextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is sliding the slider. */ continuous_update: boolean; /** @@ -3217,19 +3098,29 @@ export interface BoundedIntTextProtected { * Min value */ min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; /** * Minimum step to increment the value */ step: number; /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for _MultipleSelection + * The protected API for Box */ -export interface _MultipleSelectionProtected { +export interface BoxProtected { /** * CSS classes applied to widget DOM element */ @@ -3237,46 +3128,26 @@ export interface _MultipleSelectionProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Selected indices - */ - index: number[]; + _view_name: string; /** - * Selected labels + * Use a predefined styling for the box. */ - label: string[]; - options: { - [k: string]: unknown; - } | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Selected values + * List of widget children */ - value: unknown[]; + children: unknown[]; } /** - * The protected API for FloatSlider + * The protected API for IntRangeSlider */ -export interface FloatSliderProtected { +export interface IntRangeSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3292,7 +3163,7 @@ export interface FloatSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Update the value of the widget as the user is sliding the slider. */ continuous_update: boolean; /** @@ -3321,18 +3192,20 @@ export interface FloatSliderProtected { */ readout: boolean; /** - * Minimum step to increment the value + * Minimum step that the value can take */ step: number; /** - * Float value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for ToggleButton + * The protected API for Textarea */ -export interface ToggleButtonProtected { +export interface TextareaProtected { /** * CSS classes applied to widget DOM element */ @@ -3348,35 +3221,32 @@ export interface ToggleButtonProtected { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the button. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Font-awesome icon. - */ - icon: string; - /** - * Tooltip caption of the toggle button. + * Placeholder text to display when nothing has been typed */ - tooltip: string; + placeholder: string; + rows: number | null; /** - * Bool value + * String value */ - value: boolean; + value: string; } /** - * The protected API for Tab + * The protected API for _BoundedInt */ -export interface TabProtected { +export interface _BoundedIntProtected { /** * CSS classes applied to widget DOM element */ @@ -3387,58 +3257,68 @@ export interface TabProtected { _states_to_send: { [k: string]: unknown; }[]; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Max value */ - children: unknown[]; - selected_index: number | null; + max: number; + /** + * Min value + */ + min: number; + /** + * Int value + */ + value: number; } /** - * The protected API for DOMWidget + * The protected API for ColorPicker */ -export interface DOMWidgetProtected { +export interface ColorPickerProtected { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - /** - * The namespace for the model. - */ _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; - _view_module: string | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * A semver requirement for the namespace version containing the view. + * Display short version with just a color selector. */ - _view_module_version: string; - _view_name: string | null; + concise: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * The color value. + */ + value: string; } /** - * The protected API for _BoundedFloat + * The protected API for _SelectionContainer */ -export interface _BoundedFloatProtected { +export interface _SelectionContainerProtected { /** * CSS classes applied to widget DOM element */ @@ -3448,33 +3328,31 @@ export interface _BoundedFloatProtected { _model_name: string; _states_to_send: { [k: string]: unknown; - }[]; + }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; + _view_name: string; /** - * Min value + * Use a predefined styling for the box. */ - min: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Float value + * List of widget children */ - value: number; + children: unknown[]; + selected_index: number | null; } /** - * The protected API for Text + * The protected API for FloatText */ -export interface TextProtected { +export interface FloatTextProtected { /** * CSS classes applied to widget DOM element */ @@ -3502,19 +3380,16 @@ export interface TextProtected { * Enable or disable user changes */ disabled: boolean; + step: number | null; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Float value */ - value: string; + value: number; } /** - * The protected API for HBox + * The protected API for Tab */ -export interface HBoxProtected { +export interface TabProtected { /** * CSS classes applied to widget DOM element */ @@ -3525,6 +3400,12 @@ export interface HBoxProtected { _states_to_send: { [k: string]: unknown; }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -3537,16 +3418,19 @@ export interface HBoxProtected { * List of widget children */ children: unknown[]; + selected_index: number | null; } /** - * The protected API for Audio + * The protected API for Layout */ -export interface AudioProtected { +export interface LayoutProtected { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; _model_name: string; _states_to_send: { @@ -3556,27 +3440,112 @@ export interface AudioProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * When true, the audio starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the audio. - */ - format: string; - /** - * When true, the audio will start from the beginning after finishing - */ - loop: boolean; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; } /** - * The protected API for Button + * The protected API for Checkbox */ -export interface ButtonProtected { +export interface CheckboxProtected { /** * CSS classes applied to widget DOM element */ @@ -3592,18 +3561,27 @@ export interface ButtonProtected { _view_module_version: string; _view_name: string; /** - * Whether the button is pressed. + * Description of the control. */ - pressed: boolean; + description: string; + description_tooltip: string | null; /** - * The value of the button. + * Enable or disable user changes. */ - value: number; + disabled: boolean; + /** + * Indent the control to align with other controls with a description. + */ + indent: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The protected API for _SelectionContainer + * The protected API for Controller */ -export interface _SelectionContainerProtected { +export interface ControllerProtected { /** * CSS classes applied to widget DOM element */ @@ -3614,30 +3592,43 @@ export interface _SelectionContainerProtected { _states_to_send: { [k: string]: unknown; }[]; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * The axes on the gamepad. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + axes: unknown[]; /** - * List of widget children + * The buttons on the gamepad. */ - children: unknown[]; - selected_index: number | null; + buttons: unknown[]; + /** + * Whether the gamepad is connected. + */ + connected: boolean; + /** + * The id number of the controller. + */ + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; } /** - * The protected API for _String + * The protected API for _Int */ -export interface _StringProtected { +export interface _IntProtected { /** * CSS classes applied to widget DOM element */ @@ -3658,18 +3649,14 @@ export interface _StringProtected { description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Int value */ - value: string; + value: number; } /** - * The protected API for IntText + * The protected API for BoundedFloatText */ -export interface IntTextProtected { +export interface BoundedFloatTextProtected { /** * CSS classes applied to widget DOM element */ @@ -3698,18 +3685,23 @@ export interface IntTextProtected { */ disabled: boolean; /** - * Minimum step to increment the value + * Max value */ - step: number; + max: number; + /** + * Min value + */ + min: number; + step: number | null; /** - * Int value + * Float value */ value: number; } /** - * The protected API for Password + * The protected API for _String */ -export interface PasswordProtected { +export interface _StringProtected { /** * CSS classes applied to widget DOM element */ @@ -3723,20 +3715,12 @@ export interface PasswordProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Placeholder text to display when nothing has been typed */ @@ -3747,9 +3731,9 @@ export interface PasswordProtected { value: string; } /** - * The protected API for Image + * The protected API for _Media */ -export interface ImageProtected { +export interface _MediaProtected { /** * CSS classes applied to widget DOM element */ @@ -3763,24 +3747,49 @@ export interface ImageProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * The format of the image. - */ - format: string; + _view_name: string | null; +} +/** + * The protected API for CoreWidget + */ +export interface CoreWidgetProtected { + _model_module: string; + _model_module_version: string; /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Name of the model. */ - height: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for SliderStyle + */ +export interface SliderStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * Width of the description to the side of the control. */ - width: string; + description_width: string; } /** - * The protected API for DescriptionWidget + * The protected API for _IntRange */ -export interface DescriptionWidgetProtected { +export interface _IntRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -3800,11 +3809,17 @@ export interface DescriptionWidgetProtected { */ description: string; description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for HTML + * The protected API for FloatProgress */ -export interface HTMLProtected { +export interface FloatProgressProtected { /** * CSS classes applied to widget DOM element */ @@ -3819,24 +3834,37 @@ export interface HTMLProtected { _view_module: string; _view_module_version: string; _view_name: string; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Max value */ - placeholder: string; + max: number; /** - * String value + * Min value */ - value: string; + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Float value + */ + value: number; } /** - * The protected API for ProgressStyle + * The protected API for Axis */ -export interface ProgressStyleProtected { +export interface AxisProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -3848,14 +3876,14 @@ export interface ProgressStyleProtected { _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. + * The value of the axis. */ - description_width: string; + value: number; } /** - * The protected API for _FloatRange + * The protected API for Output */ -export interface _FloatRangeProtected { +export interface OutputProtected { /** * CSS classes applied to widget DOM element */ @@ -3869,24 +3897,22 @@ export interface _FloatRangeProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * Parent message id of messages to capture */ - description: string; - description_tooltip: string | null; + msg_id: string; /** - * Tuple of (lower, upper) bounds + * The output messages synced from the frontend. */ - value: { + outputs: { [k: string]: unknown; }[]; } /** - * The protected API for FileUpload + * The protected API for HTML */ -export interface FileUploadProtected { - _counter: number; +export interface HTMLProtected { /** * CSS classes applied to widget DOM element */ @@ -3901,55 +3927,24 @@ export interface FileUploadProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * File types to accept, empty string for all - */ - accept: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of file content (bytes) - */ - data: { - [k: string]: unknown; - }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message - */ - error: string; - /** - * Font-awesome icon name, without the 'fa-' prefix. - */ - icon: string; - /** - * List of file metadata + * Placeholder text to display when nothing has been typed */ - metadata: { - [k: string]: unknown; - }[]; + placeholder: string; /** - * If True, allow for multiple files upload + * String value */ - multiple: boolean; - value: { - [k: string]: unknown; - }; + value: string; } /** - * The protected API for _BoundedIntRange + * The protected API for SelectMultiple */ -export interface _BoundedIntRangeProtected { +export interface SelectMultipleProtected { /** * CSS classes applied to widget DOM element */ @@ -3957,41 +3952,50 @@ export interface _BoundedIntRangeProtected { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes */ - max: number; + disabled: boolean; /** - * Min value + * Selected indices */ - min: number; + index: number[]; /** - * Tuple of (lower, upper) bounds + * Selected labels */ - value: { + label: string[]; + options: { [k: string]: unknown; - }[]; + } | null; + /** + * The number of rows to display. + */ + rows: number; + /** + * Selected values + */ + value: unknown[]; } /** - * The protected API for _BoundedLogFloat + * The protected API for DescriptionStyle */ -export interface _BoundedLogFloatProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface DescriptionStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -4001,33 +4005,16 @@ export interface _BoundedLogFloatProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Base of value - */ - base: number; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent - */ - min: number; + _view_name: string; /** - * Float value + * Width of the description to the side of the control. */ - value: number; + description_width: string; } /** - * The protected API for Combobox + * The protected API for IntSlider */ -export interface ComboboxProtected { +export interface IntSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -4043,7 +4030,7 @@ export interface ComboboxProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -4056,26 +4043,34 @@ export interface ComboboxProtected { */ disabled: boolean; /** - * If set, ensure value is in options. Implies continuous_update=False. + * Max value */ - ensure_option: boolean; + max: number; /** - * Dropdown options for the combobox + * Min value */ - options: string[]; + min: number; /** - * Placeholder text to display when nothing has been typed + * Vertical or horizontal. */ - placeholder: string; + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; /** - * String value + * Int value */ - value: string; + value: number; } /** - * The protected API for GridBox + * The protected API for VBox */ -export interface GridBoxProtected { +export interface VBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -4100,13 +4095,9 @@ export interface GridBoxProtected { children: unknown[]; } /** - * The protected API for _Bool + * The protected API for ToggleButtonsStyle */ -export interface _BoolProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ToggleButtonsStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -4116,29 +4107,24 @@ export interface _BoolProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * The width of each button. */ - description: string; - description_tooltip: string | null; + button_width: string; /** - * Enable or disable user changes. + * Width of the description to the side of the control. */ - disabled: boolean; + description_width: string; /** - * Bool value + * Text font weight of each button. */ - value: boolean; + font_weight: string; } /** - * The protected API for Valid + * The protected API for ButtonStyle */ -export interface ValidProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ButtonStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -4150,27 +4136,14 @@ export interface ValidProtected { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Message displayed when the value is False - */ - readout: string; - /** - * Bool value + * Button text font weight. */ - value: boolean; + font_weight: string; } /** - * The protected API for HTMLMath + * The protected API for _Float */ -export interface HTMLMathProtected { +export interface _FloatProtected { /** * CSS classes applied to widget DOM element */ @@ -4184,25 +4157,21 @@ export interface HTMLMathProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Float value */ - value: string; + value: number; } /** - * The protected API for IntProgress + * The protected API for Play */ -export interface IntProgressProtected { +export interface PlayProtected { /** * CSS classes applied to widget DOM element */ @@ -4210,6 +4179,14 @@ export interface IntProgressProtected { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; @@ -4217,15 +4194,19 @@ export interface IntProgressProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the progess bar. - */ - bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; /** * Max value */ @@ -4235,18 +4216,22 @@ export interface IntProgressProtected { */ min: number; /** - * Vertical or horizontal. + * Show the repeat toggle button in the widget. */ - orientation: 'horizontal' | 'vertical'; + show_repeat: boolean; + /** + * Increment step + */ + step: number; /** * Int value */ value: number; } /** - * The protected API for _BoundedFloatRange + * The protected API for Audio */ -export interface _BoundedFloatRangeProtected { +export interface AudioProtected { /** * CSS classes applied to widget DOM element */ @@ -4260,56 +4245,28 @@ export interface _BoundedFloatRangeProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; + _view_name: string; /** - * Minimum step that the value can take (ignored by some views) + * When true, the audio starts when it's displayed */ - step: number; + autoplay: boolean; /** - * Tuple of (lower, upper) bounds + * Specifies that audio controls should be displayed (such as a play/pause button etc) */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The protected API for Style - */ -export interface StyleProtected { + controls: boolean; /** - * The namespace for the model. + * The format of the audio. */ - _model_module: string; + format: string; /** - * A semver requirement for namespace version containing the model. + * When true, the audio will start from the beginning after finishing */ - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + loop: boolean; } /** - * The protected API for FloatLogSlider + * The protected API for Text */ -export interface FloatLogSliderProtected { +export interface TextProtected { /** * CSS classes applied to widget DOM element */ @@ -4325,11 +4282,7 @@ export interface FloatLogSliderProtected { _view_module_version: string; _view_name: string; /** - * Base for the logarithm - */ - base: number; - /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -4342,61 +4295,18 @@ export interface FloatLogSliderProtected { */ disabled: boolean; /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step in the exponent to increment the value - */ - step: number; - /** - * Float value - */ - value: number; -} -/** - * The protected API for Widget - */ -export interface WidgetProtected { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - /** - * Name of the model. + * Placeholder text to display when nothing has been typed */ - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string | null; + placeholder: string; /** - * A semver requirement for the namespace version containing the view. + * String value */ - _view_module_version: string; - _view_name: string | null; + value: string; } /** - * The protected API for Label + * The protected API for BoundedIntText */ -export interface LabelProtected { +export interface BoundedIntTextProtected { /** * CSS classes applied to widget DOM element */ @@ -4411,24 +4321,40 @@ export interface LabelProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Enable or disable user changes */ - placeholder: string; + disabled: boolean; /** - * String value + * Max value */ - value: string; + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The protected API for ColorPicker + * The protected API for ToggleButton */ -export interface ColorPickerProtected { +export interface ToggleButtonProtected { /** * CSS classes applied to widget DOM element */ @@ -4444,27 +4370,35 @@ export interface ColorPickerProtected { _view_module_version: string; _view_name: string; /** - * Display short version with just a color selector. + * Use a predefined styling for the button. */ - concise: boolean; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Font-awesome icon. + */ + icon: string; + /** + * Tooltip caption of the toggle button. */ - disabled: boolean; + tooltip: string; /** - * The color value. + * Bool value */ - value: string; + value: boolean; } /** - * The protected API for FloatRangeSlider + * The protected API for FloatSlider */ -export interface FloatRangeSliderProtected { +export interface FloatSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -4480,7 +4414,7 @@ export interface FloatRangeSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -4513,16 +4447,14 @@ export interface FloatRangeSliderProtected { */ step: number; /** - * Tuple of (lower, upper) bounds + * Float value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The protected API for Video + * The protected API for Image */ -export interface VideoProtected { +export interface ImageProtected { /** * CSS classes applied to widget DOM element */ @@ -4538,34 +4470,22 @@ export interface VideoProtected { _view_module_version: string; _view_name: string; /** - * When true, the video starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the video. + * The format of the image. */ format: string; /** - * Height of the video in pixels. + * Height of the image in pixels. Use layout.height for styling the widget. */ height: string; /** - * When true, the video will start from the beginning after finishing - */ - loop: boolean; - /** - * Width of the video in pixels. + * Width of the image in pixels. Use layout.width for styling the widget. */ width: string; } /** - * The protected API for Accordion + * The protected API for _MultipleSelection */ -export interface AccordionProtected { +export interface _MultipleSelectionProtected { /** * CSS classes applied to widget DOM element */ @@ -4573,33 +4493,46 @@ export interface AccordionProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; /** - * Titles of the pages + * The labels for the options. */ - _titles: { + _options_labels: string[]; + _states_to_send: { [k: string]: unknown; - }; + }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Enable or disable user changes */ - children: unknown[]; - selected_index: number | null; + disabled: boolean; + /** + * Selected indices + */ + index: number[]; + /** + * Selected labels + */ + label: string[]; + options: { + [k: string]: unknown; + } | null; + /** + * Selected values + */ + value: unknown[]; } /** - * The protected API for IntRangeSlider + * The protected API for Password */ -export interface IntRangeSliderProtected { +export interface PasswordProtected { /** * CSS classes applied to widget DOM element */ @@ -4615,7 +4548,7 @@ export interface IntRangeSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -4628,36 +4561,82 @@ export interface IntRangeSliderProtected { */ disabled: boolean; /** - * Max value + * Placeholder text to display when nothing has been typed */ - max: number; + placeholder: string; /** - * Min value + * String value */ - min: number; + value: string; +} +/** + * The protected API for FileUpload + */ +export interface FileUploadProtected { + _counter: number; /** - * Vertical or horizontal. + * CSS classes applied to widget DOM element */ - orientation: 'horizontal' | 'vertical'; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Display the current value of the slider next to it. + * File types to accept, empty string for all */ - readout: boolean; + accept: string; /** - * Minimum step that the value can take + * Use a predefined styling for the button. */ - step: number; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Tuple of (lower, upper) bounds + * List of file content (bytes) */ - value: { + data: { + [k: string]: unknown; + }[]; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable button + */ + disabled: boolean; + /** + * Error message + */ + error: string; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * List of file metadata + */ + metadata: { [k: string]: unknown; }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; + value: { + [k: string]: unknown; + }; } /** - * The protected API for Box + * The protected API for HBox */ -export interface BoxProtected { +export interface HBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -4682,9 +4661,9 @@ export interface BoxProtected { children: unknown[]; } /** - * The protected API for FloatText + * The protected API for _BoundedFloat */ -export interface FloatTextProtected { +export interface _BoundedFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -4698,30 +4677,57 @@ export interface FloatTextProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value */ - disabled: boolean; - step: number | null; + max: number; + /** + * Min value + */ + min: number; /** * Float value */ value: number; } /** - * The protected API for _BoundedInt + * The protected API for DOMWidget */ -export interface _BoundedIntProtected { +export interface DOMWidgetProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for Combobox + */ +export interface ComboboxProtected { /** * CSS classes applied to widget DOM element */ @@ -4735,40 +4741,34 @@ export interface _BoundedIntProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes */ - max: number; + disabled: boolean; /** - * Min value + * If set, ensure value is in options. Implies continuous_update=False. */ - min: number; + ensure_option: boolean; /** - * Int value + * Dropdown options for the combobox */ - value: number; -} -/** - * The protected API for CoreWidget - */ -export interface CoreWidgetProtected { - _model_module: string; - _model_module_version: string; + options: string[]; /** - * Name of the model. + * Placeholder text to display when nothing has been typed */ - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; + placeholder: string; + /** + * String value + */ + value: string; } diff --git a/packages/kernel/src/_schema_widgets.json b/packages/kernel/src/_schema_widgets.json index ec32beb3c..8aa0e87a3 100644 --- a/packages/kernel/src/_schema_widgets.json +++ b/packages/kernel/src/_schema_widgets.json @@ -1,71 +1,46 @@ { - "IPublicLayout": { - "title": "Layout public", - "description": "The public API for Layout", + "IPublicHTMLMath": { + "title": "HTMLMath public", + "description": "The public API for HTMLMath", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLMathModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLMathView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", + "default": "HTMLMathModel", "description": "" }, "_view_count": { @@ -82,532 +57,855 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "LayoutView", + "default": "HTMLMathView", "description": "" }, - "align_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-content CSS attribute." - }, - { - "type": "null" - } - ] + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "align_items": { + "description_tooltip": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The align-items CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "align_self": { - "oneOf": [ - { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-self CSS attribute." - }, - { - "type": "null" - } - ] + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "border": { + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedHTMLMath": { + "title": "HTMLMath Protected", + "description": "The protected API for HTMLMath", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLMathModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLMathView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLMathModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The border CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "bottom": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLMathView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The bottom CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "display": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The display CSS attribute." - }, - { - "type": "null" - } - ] + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "flex": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicButton": { + "title": "Button public", + "description": "The public API for Button", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerButtonModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerButtonView", + "pressed": false, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "flex_flow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex-flow CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_area": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-area CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_auto_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-columns CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "ControllerButtonModel", + "description": "" }, - "grid_auto_flow": { + "_view_count": { "oneOf": [ { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The grid-auto-flow CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_auto_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-rows CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_column": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-column CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_gap": { + "_view_name": { + "type": "string", + "default": "ControllerButtonView", + "description": "" + }, + "pressed": { + "type": "boolean", + "default": false, + "description": "Whether the button is pressed." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the button." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "pressed", + "value" + ] + }, + "IProtectedButton": { + "title": "Button Protected", + "description": "The protected API for Button", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerButtonModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerButtonView", + "pressed": false, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerButtonModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-gap CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_row": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-row CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_template_areas": { + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerButtonView", + "description": "" + }, + "pressed": { + "type": "boolean", + "default": false, + "description": "Whether the button is pressed." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the button." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "pressed", + "value" + ] + }, + "IPublicIntText": { + "title": "IntText public", + "description": "The public API for IntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntTextModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-areas CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_template_columns": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-template-columns CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_template_rows": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IProtectedIntText": { + "title": "IntText Protected", + "description": "The protected API for IntText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "IntTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-rows CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "height": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "justify_items": { - "oneOf": [ - { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], - "default": null, - "description": "The justify-items CSS attribute." - }, - { - "type": "null" - } - ] + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, - "left": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The left CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" + ] + }, + "IPublicDescriptionWidget": { + "title": "DescriptionWidget public", + "description": "The public API for DescriptionWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "margin": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The margin CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "max_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-height CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "max_width": { + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The max-width CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "min_height": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The min-height CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "min_width": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The min-width CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip" + ] + }, + "IProtectedDescriptionWidget": { + "title": "DescriptionWidget Protected", + "description": "The protected API for DescriptionWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "object_fit": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "enum": ["contain", "cover", "fill", "scale-down", "none"], + "type": "integer", "default": null, - "description": "The object-fit CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "object_position": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The object-position CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "order": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The order CSS attribute." - }, - { - "type": "null" - } - ] - }, - "overflow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The overflow CSS attribute." - }, - { - "type": "null" - } - ] - }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] - }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] - }, - "padding": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The padding CSS attribute." - }, - { - "type": "null" - } - ] - }, - "right": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The right CSS attribute." - }, - { - "type": "null" - } - ] - }, - "top": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The top CSS attribute." - }, - { - "type": "null" - } - ] - }, - "visibility": { - "oneOf": [ - { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], - "default": null, - "description": "The visibility CSS attribute." - }, - { - "type": "null" - } - ] - }, - "width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The width CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" @@ -616,130 +914,49 @@ } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" + "description", + "description_tooltip" ] }, - "IProtectedLayout": { - "title": "Layout Protected", - "description": "The protected API for Layout", + "IPublicProgressStyle": { + "title": "ProgressStyle public", + "description": "The public API for ProgressStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_states_to_send": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_name": "StyleView", + "description_width": "" }, "properties": { "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "ProgressStyleModel", "description": "" }, "_view_count": { @@ -766,581 +983,694 @@ }, "_view_name": { "type": "string", - "default": "LayoutView", + "default": "StyleView", "description": "" }, - "align_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-content CSS attribute." - }, - { - "type": "null" - } - ] - }, - "align_items": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedProgressStyle": { + "title": "ProgressStyle Protected", + "description": "The protected API for ProgressStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ProgressStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "align_self": { - "oneOf": [ - { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-self CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "border": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The border CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "ProgressStyleModel", + "description": "" }, - "bottom": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The bottom CSS attribute." - }, - { - "type": "null" - } - ] + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "display": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The display CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "flex": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, - "flex_flow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex-flow CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" }, - "grid_area": { + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IPublic_FloatRange": { + "title": "_FloatRange public", + "description": "The public API for _FloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0.0, 1.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-area CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_auto_columns": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-auto-columns CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "grid_auto_flow": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The grid-auto-flow CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_auto_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-rows CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_FloatRange": { + "title": "_FloatRange Protected", + "description": "The protected API for _FloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0.0, 1.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "grid_column": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-column CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_row": { + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-row CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_template_areas": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-template-areas CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "grid_template_columns": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-template-columns CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_template_rows": { + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicLabel": { + "title": "Label public", + "description": "The public API for Label", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "LabelModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "LabelModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-rows CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "height": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LabelView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "justify_items": { - "oneOf": [ - { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], - "default": null, - "description": "The justify-items CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedLabel": { + "title": "Label Protected", + "description": "The protected API for Label", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "LabelModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "left": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The left CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "margin": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The margin CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "max_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-height CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "LabelModel", + "description": "" }, - "max_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-width CSS attribute." - }, - { - "type": "null" - } - ] + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "min_height": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The min-height CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "min_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The min-width CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "object_fit": { - "oneOf": [ - { - "enum": ["contain", "cover", "fill", "scale-down", "none"], - "default": null, - "description": "The object-fit CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "object_position": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The object-position CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "LabelView", + "description": "" }, - "order": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The order CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "overflow": { + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicGridBox": { + "title": "GridBox public", + "description": "The public API for GridBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "GridBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "GridBoxModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The overflow CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] - }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] - }, - "padding": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The padding CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "right": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The right CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "top": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The top CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "GridBoxView", + "description": "" }, - "visibility": { - "oneOf": [ - { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], - "default": null, - "description": "The visibility CSS attribute." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" + "box_style", + "children" ] }, - "IPublicCheckbox": { - "title": "Checkbox public", - "description": "The public API for Checkbox", + "IProtectedGridBox": { + "title": "GridBox Protected", + "description": "The protected API for GridBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1348,16 +1678,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", + "_model_name": "GridBoxModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", - "description": "", - "description_tooltip": null, - "disabled": false, - "indent": true, - "value": false + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -1380,7 +1708,16 @@ }, "_model_name": { "type": "string", - "default": "CheckboxModel", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -1407,40 +1744,19 @@ }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "indent": { - "type": "boolean", - "default": true, - "description": "Indent the control to align with other controls with a description." + "description": "Use a predefined styling for the box." }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -1448,70 +1764,44 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" + "box_style", + "children" ] }, - "IProtectedCheckbox": { - "title": "Checkbox Protected", - "description": "The protected API for Checkbox", + "IPublicStyle": { + "title": "Style public", + "description": "The public API for Style", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", - "_states_to_send": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", - "description": "", - "description_tooltip": null, - "disabled": false, - "indent": true, - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "CheckboxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "StyleModel", "description": "" }, "_view_count": { @@ -1528,54 +1818,100 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "StyleView", "description": "" + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedStyle": { + "title": "Style Protected", + "description": "The protected API for Style", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, - "description": { + "_model_module_version": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, - "description_tooltip": { + "_model_name": { + "type": "string", + "default": "StyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, - "indent": { - "type": "boolean", - "default": true, - "description": "Indent the control to align with other controls with a description." + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -1583,17 +1919,12 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" + "_view_name" ] }, - "IPublicBoundedFloatText": { - "title": "BoundedFloatText public", - "description": "The public API for BoundedFloatText", + "IPublic_BoundedIntRange": { + "title": "_BoundedIntRange public", + "description": "The public API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1601,19 +1932,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, - "value": 0.0 + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -1636,7 +1964,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -1662,14 +1990,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -1688,37 +2018,23 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, - "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] - }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1730,19 +2046,16 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", "max", "min", - "step", "value" ] }, - "IProtectedBoundedFloatText": { - "title": "BoundedFloatText Protected", - "description": "The protected API for BoundedFloatText", + "IProtected_BoundedIntRange": { + "title": "_BoundedIntRange Protected", + "description": "The protected API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1750,20 +2063,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, - "value": 0.0 + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -1786,7 +2096,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -1821,14 +2131,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -1847,37 +2159,23 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, - "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] - }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1890,19 +2188,16 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", "max", "min", - "step", "value" ] }, - "IPublicTwoByTwoLayout": { - "title": "TwoByTwoLayout public", - "description": "The public API for TwoByTwoLayout", + "IPublicVideo": { + "title": "Video public", + "description": "The public API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1910,13 +2205,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "VideoModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -1939,7 +2238,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "VideoModel", "description": "" }, "_view_count": { @@ -1966,19 +2265,38 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "VideoView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." + }, + "height": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Height of the video in pixels." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the video will start from the beginning after finishing" + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the video in pixels." } }, "required": [ @@ -1990,13 +2308,17 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "autoplay", + "controls", + "format", + "height", + "loop", + "width" ] }, - "IProtectedTwoByTwoLayout": { - "title": "TwoByTwoLayout Protected", - "description": "The protected API for TwoByTwoLayout", + "IProtectedVideo": { + "title": "Video Protected", + "description": "The protected API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2004,20 +2326,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "VideoModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "width": null + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -2040,7 +2360,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "VideoModel", "description": "" }, "_states_to_send": { @@ -2076,98 +2396,38 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "VideoView", "description": "" }, - "align_items": { - "oneOf": [ - { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." }, "height": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "", + "description": "Height of the video in pixels." }, - "merge": { + "loop": { "type": "boolean", - "default": {}, - "description": "" + "default": true, + "description": "When true, the video will start from the beginning after finishing" }, "width": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "", + "description": "Width of the video in pixels." } }, "required": [ @@ -2180,19 +2440,17 @@ "_view_module", "_view_module_version", "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", + "autoplay", + "controls", + "format", "height", - "justify_content", - "merge", + "loop", "width" ] }, - "IPublic_Int": { - "title": "_Int public", - "description": "The public API for _Int", + "IPublic_BoundedLogFloat": { + "title": "_BoundedLogFloat public", + "description": "The public API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2205,9 +2463,12 @@ "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, + "base": 10.0, "description": "", "description_tooltip": null, - "value": 0 + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -2267,6 +2528,11 @@ } ] }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, "description": { "type": "string", "default": "", @@ -2284,10 +2550,20 @@ } ] }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -2299,14 +2575,17 @@ "_view_module", "_view_module_version", "_view_name", + "base", "description", "description_tooltip", + "max", + "min", "value" ] }, - "IProtected_Int": { - "title": "_Int Protected", - "description": "The protected API for _Int", + "IProtected_BoundedLogFloat": { + "title": "_BoundedLogFloat Protected", + "description": "The protected API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2320,9 +2599,12 @@ "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, + "base": 10.0, "description": "", "description_tooltip": null, - "value": 0 + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -2391,6 +2673,11 @@ } ] }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, "description": { "type": "string", "default": "", @@ -2408,10 +2695,20 @@ } ] }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -2424,14 +2721,17 @@ "_view_module", "_view_module_version", "_view_name", + "base", "description", "description_tooltip", + "max", + "min", "value" ] }, - "IPublicAppLayout": { - "title": "AppLayout public", - "description": "The public API for AppLayout", + "IPublic_Bool": { + "title": "_Bool public", + "description": "The public API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2439,13 +2739,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "BoolModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": false }, "properties": { "_dom_classes": { @@ -2468,7 +2770,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "BoolModel", "description": "" }, "_view_count": { @@ -2494,20 +2796,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -2519,13 +2844,15 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IProtectedAppLayout": { - "title": "AppLayout Protected", - "description": "The protected API for AppLayout", + "IProtected_Bool": { + "title": "_Bool Protected", + "description": "The protected API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2533,22 +2860,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "BoolModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "pane_heights": ["1fr", "3fr", "1fr"], - "pane_widths": ["1fr", "2fr", "1fr"], - "width": null + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": false }, "properties": { "_dom_classes": { @@ -2571,7 +2892,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "BoolModel", "description": "" }, "_states_to_send": { @@ -2606,115 +2927,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" - }, - "align_items": { "oneOf": [ { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." + "type": "string", + "default": null, + "description": "Name of the view." }, { "type": "null" } ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "description": "Description of the control." }, - "height": { + "description_tooltip": { "oneOf": [ { "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "merge": { + "disabled": { "type": "boolean", - "default": {}, - "description": "" - }, - "pane_heights": { - "type": "array", - "items": { - "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" - }, - "default": {}, - "description": "" - }, - "pane_widths": { - "type": "array", - "items": { - "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" - }, - "default": {}, - "description": "" + "default": false, + "description": "Enable or disable user changes." }, - "width": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -2727,35 +2976,42 @@ "_view_module", "_view_module_version", "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", - "height", - "justify_content", - "merge", - "pane_heights", - "pane_widths", - "width" + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IPublicButtonStyle": { - "title": "ButtonStyle public", - "description": "The public API for ButtonStyle", + "IPublicValid": { + "title": "Valid public", + "description": "The public API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", + "_model_name": "ValidModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -2768,7 +3024,7 @@ }, "_model_name": { "type": "string", - "default": "ButtonStyleModel", + "default": "ValidModel", "description": "" }, "_view_count": { @@ -2785,26 +3041,54 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ValidView", "description": "" }, - "font_weight": { + "description": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { + "type": "string", + "default": "Invalid", + "description": "Message displayed when the value is False" + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -2812,27 +3096,44 @@ "_view_module", "_view_module_version", "_view_name", - "font_weight" + "description", + "description_tooltip", + "disabled", + "readout", + "value" ] }, - "IProtectedButtonStyle": { - "title": "ButtonStyle Protected", - "description": "The protected API for ButtonStyle", + "IProtectedValid": { + "title": "Valid Protected", + "description": "The protected API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", + "_model_name": "ValidModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -2845,7 +3146,7 @@ }, "_model_name": { "type": "string", - "default": "ButtonStyleModel", + "default": "ValidModel", "description": "" }, "_states_to_send": { @@ -2871,26 +3172,54 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ValidView", "description": "" }, - "font_weight": { + "description": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { + "type": "string", + "default": "Invalid", + "description": "Message displayed when the value is False" + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -2899,12 +3228,16 @@ "_view_module", "_view_module_version", "_view_name", - "font_weight" + "description", + "description_tooltip", + "disabled", + "readout", + "value" ] }, - "IPublicTextarea": { - "title": "Textarea public", - "description": "The public API for Textarea", + "IPublicIntProgress": { + "title": "IntProgress public", + "description": "The public API for IntProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2912,18 +3245,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "IntProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, + "_view_name": "ProgressView", + "bar_style": "", "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -2946,7 +3279,7 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "IntProgressModel", "description": "" }, "_view_count": { @@ -2973,13 +3306,13 @@ }, "_view_name": { "type": "string", - "default": "TextareaView", + "default": "ProgressView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, "description": { "type": "string", @@ -2998,32 +3331,25 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "rows": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "The number of rows to display." - }, - { - "type": "null" - } - ] + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -3035,18 +3361,18 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", + "bar_style", "description", "description_tooltip", - "disabled", - "placeholder", - "rows", + "max", + "min", + "orientation", "value" ] }, - "IProtectedTextarea": { - "title": "Textarea Protected", - "description": "The protected API for Textarea", + "IProtectedIntProgress": { + "title": "IntProgress Protected", + "description": "The protected API for IntProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -3054,19 +3380,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "IntProgressModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, + "_view_name": "ProgressView", + "bar_style": "", "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -3089,7 +3415,7 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "IntProgressModel", "description": "" }, "_states_to_send": { @@ -3125,13 +3451,13 @@ }, "_view_name": { "type": "string", - "default": "TextareaView", + "default": "ProgressView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, "description": { "type": "string", @@ -3150,32 +3476,25 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "rows": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "The number of rows to display." - }, - { - "type": "null" - } - ] + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -3188,18 +3507,18 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", + "bar_style", "description", "description_tooltip", - "disabled", - "placeholder", - "rows", + "max", + "min", + "orientation", "value" ] }, - "IPublic_IntRange": { - "title": "_IntRange public", - "description": "The public API for _IntRange", + "IPublic_BoundedFloatRange": { + "title": "_BoundedFloatRange public", + "description": "The public API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -3214,7 +3533,10 @@ "_view_name": null, "description": "", "description_tooltip": null, - "value": [0, 1] + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -3291,12 +3613,27 @@ } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, "value": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [0, 1], + "default": [25.0, 75.0], "description": "Tuple of (lower, upper) bounds" } }, @@ -3311,12 +3648,15 @@ "_view_name", "description", "description_tooltip", + "max", + "min", + "step", "value" ] }, - "IProtected_IntRange": { - "title": "_IntRange Protected", - "description": "The protected API for _IntRange", + "IProtected_BoundedFloatRange": { + "title": "_BoundedFloatRange Protected", + "description": "The protected API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -3332,7 +3672,10 @@ "_view_name": null, "description": "", "description_tooltip": null, - "value": [0, 1] + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -3418,12 +3761,27 @@ } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, "value": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [0, 1], + "default": [25.0, 75.0], "description": "Tuple of (lower, upper) bounds" } }, @@ -3439,40 +3797,42 @@ "_view_name", "description", "description_tooltip", + "max", + "min", + "step", "value" ] }, - "IPublicSliderStyle": { - "title": "SliderStyle public", - "description": "The public API for SliderStyle", + "IPublicWidget": { + "title": "Widget public", + "description": "The public API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "SliderStyleModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_view_count": { "oneOf": [ @@ -3487,24 +3847,33 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] }, "_view_module_version": { "type": "string", - "default": "1.2.0", - "description": "" + "default": "", + "description": "A semver requirement for the namespace version containing the view." }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "description_width": { - "type": "string", - "default": "", - "description": "Width of the description to the side of the control." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -3514,42 +3883,40 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description_width" + "_view_name" ] }, - "IProtectedSliderStyle": { - "title": "SliderStyle Protected", - "description": "The protected API for SliderStyle", + "IProtectedWidget": { + "title": "Widget Protected", + "description": "The protected API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "SliderStyleModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_states_to_send": { "type": "array", @@ -3573,24 +3940,33 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] }, "_view_module_version": { "type": "string", - "default": "1.2.0", - "description": "" + "default": "", + "description": "A semver requirement for the namespace version containing the view." }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "description_width": { - "type": "string", - "default": "", - "description": "Width of the description to the side of the control." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -3601,13 +3977,12 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description_width" + "_view_name" ] }, - "IPublicFloatProgress": { - "title": "FloatProgress public", - "description": "The public API for FloatProgress", + "IPublicTwoByTwoLayout": { + "title": "TwoByTwoLayout public", + "description": "The public API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -3615,18 +3990,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -3649,7 +4019,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -3676,57 +4046,19 @@ }, "_view_name": { "type": "string", - "default": "ProgressView", + "default": "GridBoxView", "description": "" }, - "bar_style": { - "oneOf": [ - { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - { - "type": "null" - } - ] - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "description": "Use a predefined styling for the box." }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -3738,18 +4070,13 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "box_style", + "children" ] }, - "IProtectedFloatProgress": { - "title": "FloatProgress Protected", - "description": "The protected API for FloatProgress", + "IProtectedTwoByTwoLayout": { + "title": "TwoByTwoLayout Protected", + "description": "The protected API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -3757,19 +4084,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "width": null }, "properties": { "_dom_classes": { @@ -3792,7 +4120,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "GridBoxModel", "description": "" }, "_states_to_send": { @@ -3828,57 +4156,98 @@ }, "_view_name": { "type": "string", - "default": "ProgressView", + "default": "GridBoxView", "description": "" }, - "bar_style": { + "align_items": { "oneOf": [ { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { "oneOf": [ { "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "default": {}, + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "merge": { + "type": "boolean", + "default": {}, + "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -3891,32 +4260,42 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "width" ] }, - "IPublicOutput": { - "title": "Output public", - "description": "The public API for Output", + "IPublicFloatLogSlider": { + "title": "FloatLogSlider public", + "description": "The public API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatLogSliderModel", "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -3929,17 +4308,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_model_name": { "type": "string", - "default": "OutputModel", + "default": "FloatLogSliderModel", "description": "" }, "_view_count": { @@ -3956,32 +4335,80 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "OutputView", + "default": "FloatLogSliderView", "description": "" }, - "msg_id": { + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { "type": "string", "default": "", - "description": "Parent message id of messages to capture" + "description": "Description of the control." }, - "outputs": { - "type": "array", - "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" - }, - "default": [], - "description": "The output messages synced from the frontend." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -3993,28 +4420,46 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IProtectedOutput": { - "title": "Output Protected", - "description": "The protected API for Output", + "IProtectedFloatLogSlider": { + "title": "FloatLogSlider Protected", + "description": "The protected API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatLogSliderModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -4027,17 +4472,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_model_name": { "type": "string", - "default": "OutputModel", + "default": "FloatLogSliderModel", "description": "" }, "_states_to_send": { @@ -4063,32 +4508,80 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "OutputView", + "default": "FloatLogSliderView", "description": "" }, - "msg_id": { + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { "type": "string", "default": "", - "description": "Parent message id of messages to capture" + "description": "Description of the control." }, - "outputs": { - "type": "array", - "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" - }, - "default": [], - "description": "The output messages synced from the frontend." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -4101,13 +4594,22 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IPublicSelectMultiple": { - "title": "SelectMultiple public", - "description": "The public API for SelectMultiple", + "IPublicAppLayout": { + "title": "AppLayout public", + "description": "The public API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4115,17 +4617,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", - "_options_labels": [], + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [], - "rows": 5 + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -4148,17 +4646,9 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "GridBoxModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_view_count": { "oneOf": [ { @@ -4183,43 +4673,19 @@ }, "_view_name": { "type": "string", - "default": "SelectMultipleView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": "Use a predefined styling for the box." }, - "index": { + "children": { "type": "array", - "items": { - "type": "integer" - }, + "items": {}, "default": [], - "description": "Selected indices" - }, - "rows": { - "type": "integer", - "default": 5, - "description": "The number of rows to display." + "description": "List of widget children" } }, "required": [ @@ -4227,21 +4693,17 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "index", - "rows" + "box_style", + "children" ] }, - "IProtectedSelectMultiple": { - "title": "SelectMultiple Protected", - "description": "The protected API for SelectMultiple", + "IProtectedAppLayout": { + "title": "AppLayout Protected", + "description": "The protected API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4249,21 +4711,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", - "_options_labels": [], + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [], - "label": [], - "options": [], - "rows": 5, - "value": [] + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "pane_heights": ["1fr", "3fr", "1fr"], + "pane_widths": ["1fr", "2fr", "1fr"], + "width": null }, "properties": { "_dom_classes": { @@ -4286,17 +4749,9 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "GridBoxModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -4330,68 +4785,114 @@ }, "_view_name": { "type": "string", - "default": "SelectMultipleView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { "oneOf": [ { "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "default": {}, + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "disabled": { + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "merge": { "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "default": {}, + "description": "" }, - "index": { + "pane_heights": { "type": "array", "items": { - "type": "integer" + "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" }, - "default": [], - "description": "Selected indices" + "default": {}, + "description": "" }, - "label": { + "pane_widths": { "type": "array", "items": { - "type": "string" + "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" }, "default": {}, - "description": "Selected labels" + "description": "" }, - "options": { + "width": { "oneOf": [ { + "type": "string", "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + "description": "The width CSS attribute." }, { "type": "null" } ] - }, - "rows": { - "type": "integer", - "default": 5, - "description": "The number of rows to display." - }, - "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" } }, "required": [ @@ -4399,39 +4900,52 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "index", - "label", - "options", - "rows", - "value" + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "pane_heights", + "pane_widths", + "width" ] }, - "IPublicDescriptionStyle": { - "title": "DescriptionStyle public", - "description": "The public API for DescriptionStyle", + "IPublicAccordion": { + "title": "Accordion public", + "description": "The public API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_model_name": "AccordionModel", + "_titles": {}, "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -4444,9 +4958,14 @@ }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "AccordionModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -4461,54 +4980,88 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "AccordionView", "description": "" }, - "description_width": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description_width" + "box_style", + "children", + "selected_index" ] }, - "IProtectedDescriptionStyle": { - "title": "DescriptionStyle Protected", - "description": "The protected API for DescriptionStyle", + "IProtectedAccordion": { + "title": "Accordion Protected", + "description": "The protected API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_model_name": "AccordionModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -4521,7 +5074,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "AccordionModel", "description": "" }, "_states_to_send": { @@ -4533,6 +5086,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -4547,40 +5105,62 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "AccordionView", "description": "" }, - "description_width": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description_width" + "box_style", + "children", + "selected_index" ] }, - "IPublicIntSlider": { - "title": "IntSlider public", - "description": "The public API for IntSlider", + "IPublicFloatRangeSlider": { + "title": "FloatRangeSlider public", + "description": "The public API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4588,21 +5168,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", + "_model_name": "FloatRangeSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", + "_view_name": "FloatRangeSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, + "max": 100.0, + "min": 0.0, "orientation": "horizontal", "readout": true, - "step": 1, - "value": 0 + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -4625,7 +5205,7 @@ }, "_model_name": { "type": "string", - "default": "IntSliderModel", + "default": "FloatRangeSliderModel", "description": "" }, "_view_count": { @@ -4652,13 +5232,13 @@ }, "_view_name": { "type": "string", - "default": "IntSliderView", + "default": "FloatRangeSliderView", "description": "" }, "continuous_update": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "description": "Update the value of the widget as the user is sliding the slider." }, "description": { "type": "string", @@ -4683,13 +5263,13 @@ "description": "Enable or disable user changes" }, "max": { - "type": "integer", - "default": 100, + "type": "number", + "default": 100.0, "description": "Max value" }, "min": { - "type": "integer", - "default": 0, + "type": "number", + "default": 0.0, "description": "Min value" }, "orientation": { @@ -4703,14 +5283,17 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "integer", - "default": 1, + "type": "number", + "default": 0.1, "description": "Minimum step to increment the value" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -4734,9 +5317,9 @@ "value" ] }, - "IProtectedIntSlider": { - "title": "IntSlider Protected", - "description": "The protected API for IntSlider", + "IProtectedFloatRangeSlider": { + "title": "FloatRangeSlider Protected", + "description": "The protected API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4744,22 +5327,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", + "_model_name": "FloatRangeSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", + "_view_name": "FloatRangeSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, + "max": 100.0, + "min": 0.0, "orientation": "horizontal", "readout": true, - "step": 1, - "value": 0 + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -4782,7 +5365,7 @@ }, "_model_name": { "type": "string", - "default": "IntSliderModel", + "default": "FloatRangeSliderModel", "description": "" }, "_states_to_send": { @@ -4818,13 +5401,13 @@ }, "_view_name": { "type": "string", - "default": "IntSliderView", + "default": "FloatRangeSliderView", "description": "" }, "continuous_update": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "description": "Update the value of the widget as the user is sliding the slider." }, "description": { "type": "string", @@ -4849,13 +5432,13 @@ "description": "Enable or disable user changes" }, "max": { - "type": "integer", - "default": 100, + "type": "number", + "default": 100.0, "description": "Max value" }, "min": { - "type": "integer", - "default": 0, + "type": "number", + "default": 0.0, "description": "Min value" }, "orientation": { @@ -4869,14 +5452,17 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "integer", - "default": 1, + "type": "number", + "default": 0.1, "description": "Minimum step to increment the value" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -4901,25 +5487,33 @@ "value" ] }, - "IPublicToggleButtonsStyle": { - "title": "ToggleButtonsStyle public", - "description": "The public API for ToggleButtonsStyle", + "IPublicBox": { + "title": "Box public", + "description": "The public API for Box", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", + "_model_name": "BoxModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -4932,7 +5526,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonsStyleModel", + "default": "BoxModel", "description": "" }, "_view_count": { @@ -4949,36 +5543,33 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "BoxView", "description": "" }, - "button_width": { - "type": "string", - "default": "", - "description": "The width of each button." - }, - "description_width": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." }, - "font_weight": { - "type": "string", - "default": "", - "description": "Text font weight of each button." + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -4986,31 +5577,38 @@ "_view_module", "_view_module_version", "_view_name", - "button_width", - "description_width", - "font_weight" + "box_style", + "children" ] }, - "IProtectedToggleButtonsStyle": { - "title": "ToggleButtonsStyle Protected", - "description": "The protected API for ToggleButtonsStyle", + "IProtectedBox": { + "title": "Box Protected", + "description": "The protected API for Box", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", + "_model_name": "BoxModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -5023,7 +5621,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonsStyleModel", + "default": "BoxModel", "description": "" }, "_states_to_send": { @@ -5049,36 +5647,33 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "BoxView", "description": "" }, - "button_width": { - "type": "string", - "default": "", - "description": "The width of each button." - }, - "description_width": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." }, - "font_weight": { - "type": "string", - "default": "", - "description": "Text font weight of each button." + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -5087,14 +5682,13 @@ "_view_module", "_view_module_version", "_view_name", - "button_width", - "description_width", - "font_weight" + "box_style", + "children" ] }, - "IPublicAxis": { - "title": "Axis public", - "description": "The public API for Axis", + "IPublicIntRangeSlider": { + "title": "IntRangeSlider public", + "description": "The public API for IntRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5102,12 +5696,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "IntRangeSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "IntRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -5130,7 +5733,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "IntRangeSliderModel", "description": "" }, "_view_count": { @@ -5157,13 +5760,68 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "IntRangeSliderView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5175,12 +5833,21 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IProtectedAxis": { - "title": "Axis Protected", - "description": "The protected API for Axis", + "IProtectedIntRangeSlider": { + "title": "IntRangeSlider Protected", + "description": "The protected API for IntRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5188,13 +5855,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "IntRangeSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "IntRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -5217,7 +5893,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "IntRangeSliderModel", "description": "" }, "_states_to_send": { @@ -5253,13 +5929,68 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "IntRangeSliderView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5272,12 +6003,21 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IPublic_Float": { - "title": "_Float public", - "description": "The public API for _Float", + "IPublicTextarea": { + "title": "Textarea public", + "description": "The public API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5285,14 +6025,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "TextareaModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "TextareaView", + "continuous_update": true, "description": "", "description_tooltip": null, - "value": 0.0 + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -5315,7 +6059,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "TextareaModel", "description": "" }, "_view_count": { @@ -5341,16 +6085,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "TextareaView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -5369,14 +6111,36 @@ } ] }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "rows": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "The number of rows to display." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -5384,14 +6148,18 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "placeholder", + "rows", "value" ] }, - "IProtected_Float": { - "title": "_Float Protected", - "description": "The protected API for _Float", + "IProtectedTextarea": { + "title": "Textarea Protected", + "description": "The protected API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5399,15 +6167,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "TextareaModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "TextareaView", + "continuous_update": true, "description": "", "description_tooltip": null, - "value": 0.0 + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -5430,7 +6202,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "TextareaModel", "description": "" }, "_states_to_send": { @@ -5465,28 +6237,48 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "TextareaView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "description": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "description_tooltip": { + "rows": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The number of rows to display." }, { "type": "null" @@ -5494,9 +6286,9 @@ ] }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -5509,14 +6301,18 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "placeholder", + "rows", "value" ] }, - "IPublicPlay": { - "title": "Play public", - "description": "The public API for Play", + "IPublic_BoundedInt": { + "title": "_BoundedInt public", + "description": "The public API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5524,21 +6320,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "interval": 100, "max": 100, "min": 0, - "show_repeat": true, - "step": 1, "value": 0 }, "properties": { @@ -5562,19 +6352,9 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", + "default": "DescriptionModel", "description": "" }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." - }, "_view_count": { "oneOf": [ { @@ -5598,9 +6378,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PlayView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -5619,16 +6406,6 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, "max": { "type": "integer", "default": 100, @@ -5639,16 +6416,6 @@ "default": 0, "description": "Min value" }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" - }, "value": { "type": "integer", "default": 0, @@ -5660,26 +6427,20 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", "_view_count", "_view_module", "_view_module_version", "_view_name", "description", "description_tooltip", - "disabled", - "interval", "max", "min", - "show_repeat", - "step", "value" ] }, - "IProtectedPlay": { - "title": "Play Protected", - "description": "The protected API for Play", + "IProtected_BoundedInt": { + "title": "_BoundedInt Protected", + "description": "The protected API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5687,22 +6448,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "interval": 100, "max": 100, "min": 0, - "show_repeat": true, - "step": 1, "value": 0 }, "properties": { @@ -5726,19 +6481,9 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", + "default": "DescriptionModel", "description": "" }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." - }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -5771,9 +6516,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PlayView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -5792,16 +6544,6 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, "max": { "type": "integer", "default": 100, @@ -5812,16 +6554,6 @@ "default": 0, "description": "Min value" }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" - }, "value": { "type": "integer", "default": 0, @@ -5833,8 +6565,6 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", "_states_to_send", "_view_count", "_view_module", @@ -5842,18 +6572,14 @@ "_view_name", "description", "description_tooltip", - "disabled", - "interval", "max", "min", - "show_repeat", - "step", "value" ] }, - "IPublicController": { - "title": "Controller public", - "description": "The public API for Controller", + "IPublicColorPicker": { + "title": "ColorPicker public", + "description": "The public API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5861,18 +6587,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "ColorPickerModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { "_dom_classes": { @@ -5895,7 +6619,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "ColorPickerModel", "description": "" }, "_view_count": { @@ -5922,45 +6646,40 @@ }, "_view_name": { "type": "string", - "default": "ControllerView", + "default": "ColorPickerView", "description": "" }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." - }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." - }, - "connected": { + "concise": { "type": "boolean", "default": false, - "description": "Whether the gamepad is connected." - }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "description": "Display short version with just a color selector." }, - "mapping": { + "description": { "type": "string", "default": "", - "description": "The name of the control mapping." + "description": "Description of the control." }, - "name": { - "type": "string", - "default": "", - "description": "The name of the controller." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "timestamp": { - "type": "number", - "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ @@ -5972,18 +6691,16 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IProtectedController": { - "title": "Controller Protected", - "description": "The protected API for Controller", + "IProtectedColorPicker": { + "title": "ColorPicker Protected", + "description": "The protected API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5991,19 +6708,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "ColorPickerModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { "_dom_classes": { @@ -6026,7 +6741,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "ColorPickerModel", "description": "" }, "_states_to_send": { @@ -6062,45 +6777,40 @@ }, "_view_name": { "type": "string", - "default": "ControllerView", + "default": "ColorPickerView", "description": "" }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." - }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." - }, - "connected": { + "concise": { "type": "boolean", "default": false, - "description": "Whether the gamepad is connected." - }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "description": "Display short version with just a color selector." }, - "mapping": { + "description": { "type": "string", "default": "", - "description": "The name of the control mapping." + "description": "Description of the control." }, - "name": { - "type": "string", - "default": "", - "description": "The name of the controller." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "timestamp": { - "type": "number", - "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ @@ -6113,18 +6823,16 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IPublicVBox": { - "title": "VBox public", - "description": "The public API for VBox", + "IPublic_SelectionContainer": { + "title": "_SelectionContainer public", + "description": "The public API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6132,13 +6840,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", + "_model_name": "BoxModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VBoxView", + "_view_name": "BoxView", "box_style": "", - "children": [] + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -6161,9 +6871,14 @@ }, "_model_name": { "type": "string", - "default": "VBoxModel", + "default": "BoxModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -6188,7 +6903,7 @@ }, "_view_name": { "type": "string", - "default": "VBoxView", + "default": "BoxView", "description": "" }, "box_style": { @@ -6201,6 +6916,18 @@ "items": {}, "default": [], "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -6208,17 +6935,19 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", "box_style", - "children" + "children", + "selected_index" ] }, - "IProtectedVBox": { - "title": "VBox Protected", - "description": "The protected API for VBox", + "IProtected_SelectionContainer": { + "title": "_SelectionContainer Protected", + "description": "The protected API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6226,14 +6955,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", + "_model_name": "BoxModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VBoxView", + "_view_name": "BoxView", "box_style": "", - "children": [] + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -6256,7 +6987,7 @@ }, "_model_name": { "type": "string", - "default": "VBoxModel", + "default": "BoxModel", "description": "" }, "_states_to_send": { @@ -6268,6 +6999,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -6292,7 +7028,7 @@ }, "_view_name": { "type": "string", - "default": "VBoxView", + "default": "BoxView", "description": "" }, "box_style": { @@ -6305,6 +7041,18 @@ "items": {}, "default": [], "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -6313,17 +7061,19 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", "box_style", - "children" + "children", + "selected_index" ] }, - "IPublic_Media": { - "title": "_Media public", - "description": "The public API for _Media", + "IPublicFloatText": { + "title": "FloatText public", + "description": "The public API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6331,11 +7081,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", + "_model_name": "FloatTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6358,7 +7114,7 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "FloatTextModel", "description": "" }, "_view_count": { @@ -6384,16 +7140,53 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" }, { "type": "null" } ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6404,12 +7197,18 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IProtected_Media": { - "title": "_Media Protected", - "description": "The protected API for _Media", + "IProtectedFloatText": { + "title": "FloatText Protected", + "description": "The protected API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6417,12 +7216,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", + "_model_name": "FloatTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6445,7 +7250,7 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "FloatTextModel", "description": "" }, "_states_to_send": { @@ -6480,16 +7285,53 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" }, { "type": "null" } ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6501,12 +7343,18 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IPublicBoundedIntText": { - "title": "BoundedIntText public", - "description": "The public API for BoundedIntText", + "IPublicTab": { + "title": "Tab public", + "description": "The public API for Tab", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6514,19 +7362,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", + "_model_name": "TabModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -6549,9 +7393,14 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", + "default": "TabModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -6576,55 +7425,31 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "TabView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ @@ -6632,23 +7457,19 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IProtectedBoundedIntText": { - "title": "BoundedIntText Protected", - "description": "The protected API for BoundedIntText", + "IProtectedTab": { + "title": "Tab Protected", + "description": "The protected API for Tab", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6656,20 +7477,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", + "_model_name": "TabModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -6692,7 +7509,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", + "default": "TabModel", "description": "" }, "_states_to_send": { @@ -6704,6 +7521,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -6728,55 +7550,31 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "TabView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ @@ -6785,73 +7583,85 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublic_MultipleSelection": { - "title": "_MultipleSelection public", - "description": "The public API for _MultipleSelection", + "IPublicLayout": { + "title": "Layout public", + "description": "The public API for Layout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [] + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "LayoutModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_view_count": { "oneOf": [ { @@ -6866,946 +7676,532 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_items": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "align_self": { + "oneOf": [ + { + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-self CSS attribute." + }, + { + "type": "null" + } + ] + }, + "border": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The border CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "display": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The display CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "flex": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex CSS attribute." + }, + { + "type": "null" + } + ] }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_options_labels", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "index" - ] - }, - "IProtected_MultipleSelection": { - "title": "_MultipleSelection Protected", - "description": "The protected API for _MultipleSelection", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [], - "label": [], - "options": [], - "value": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "flex_flow": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The flex-flow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "grid_area": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-area CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_auto_columns": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-auto-columns CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - }, - "label": { - "type": "array", - "items": { - "type": "string" - }, - "default": {}, - "description": "Selected labels" - }, - "options": { + "grid_auto_flow": { "oneOf": [ { - "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." }, { "type": "null" } ] }, - "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_options_labels", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "index", - "label", - "options", - "value" - ] - }, - "IPublicFloatSlider": { - "title": "FloatSlider public", - "description": "The public API for FloatSlider", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "FloatSliderModel", - "description": "" + "grid_column": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-column CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_gap": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "FloatSliderView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_row": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-row CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" - ] - }, - "IProtectedFloatSlider": { - "title": "FloatSlider Protected", - "description": "The protected API for FloatSlider", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "FloatSliderModel", - "description": "" + "grid_template_areas": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-areas CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_template_rows": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-template-rows CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "FloatSliderView", - "description": "" + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "left": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The left CSS attribute." + }, + { + "type": "null" + } + ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "margin": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The margin CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "max_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The max-height CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" - ] - }, - "IPublicToggleButton": { - "title": "ToggleButton public", - "description": "The public API for ToggleButton", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", - "button_style": "", - "description": "", - "description_tooltip": null, - "disabled": false, - "icon": "", - "tooltip": "", - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "ToggleButtonModel", - "description": "" - }, - "_view_count": { + "max_width": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The max-width CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ToggleButtonView", - "description": "" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "min_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The min-height CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon." - }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the toggle button." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "button_style", - "description", - "description_tooltip", - "disabled", - "icon", - "tooltip", - "value" - ] - }, - "IProtectedToggleButton": { - "title": "ToggleButton Protected", - "description": "The protected API for ToggleButton", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", - "button_style": "", - "description": "", - "description_tooltip": null, - "disabled": false, - "icon": "", - "tooltip": "", - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "ToggleButtonModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "object_fit": { "oneOf": [ { - "type": "integer", + "enum": ["contain", "cover", "fill", "scale-down", "none"], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The object-fit CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ToggleButtonView", - "description": "" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "object_position": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The object-position CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon." - }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the toggle button." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "button_style", - "description", - "description_tooltip", - "disabled", - "icon", - "tooltip", - "value" - ] - }, - "IPublicTab": { - "title": "Tab public", - "description": "The public API for Tab", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "TabModel", - "_titles": {}, - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "TabModel", - "description": "" + "order": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The order CSS attribute." + }, + { + "type": "null" + } + ] }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} + "overflow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The overflow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "overflow_x": { "oneOf": [ { - "type": "integer", + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The overflow-x CSS attribute (deprecated)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "TabView", - "description": "" + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] }, - "selected_index": { + "width": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "The width CSS attribute." }, { "type": "null" @@ -7814,63 +8210,121 @@ } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" - ] - }, - "IProtectedTab": { - "title": "Tab Protected", - "description": "The protected API for Tab", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "TabModel", + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" + ] + }, + "IProtectedLayout": { + "title": "Layout Protected", + "description": "The protected API for Layout", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "TabModel", + "default": "LayoutModel", "description": "" }, "_states_to_send": { @@ -7882,11 +8336,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -7901,1200 +8350,540 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "TabView", + "default": "LayoutView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "selected_index": { + "align_content": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-content CSS attribute." }, { "type": "null" } ] - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_titles", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children", - "selected_index" - ] - }, - "IPublicDOMWidget": { - "title": "DOMWidget public", - "description": "The public API for DOMWidget", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", - "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." - }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." - }, - "_model_name": { - "type": "string", - "default": "DOMWidgetModel", - "description": "" }, - "_view_count": { + "align_items": { "oneOf": [ { - "type": "integer", + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The align-items CSS attribute." }, { "type": "null" } ] }, - "_view_module": { + "align_self": { "oneOf": [ { - "type": "string", + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "The namespace for the view." + "description": "The align-self CSS attribute." }, { "type": "null" } ] }, - "_view_module_version": { - "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." - }, - "_view_name": { + "border": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The border CSS attribute." }, { "type": "null" } ] - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IProtectedDOMWidget": { - "title": "DOMWidget Protected", - "description": "The protected API for DOMWidget", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." - }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." }, - "_model_name": { - "type": "string", - "default": "DOMWidgetModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "display": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The display CSS attribute." }, { "type": "null" } ] }, - "_view_module": { + "flex": { "oneOf": [ { "type": "string", "default": null, - "description": "The namespace for the view." + "description": "The flex CSS attribute." }, { "type": "null" } ] }, - "_view_module_version": { - "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "flex_flow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { + "grid_area": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-area CSS attribute." }, { "type": "null" } ] - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IPublic_BoundedFloat": { - "title": "_BoundedFloat public", - "description": "The public API for _BoundedFloat", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_auto_flow": { + "oneOf": [ + { + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_column": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-column CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_row": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { + "grid_template_areas": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-template-areas CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "grid_template_rows": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-template-rows CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IProtected_BoundedFloat": { - "title": "_BoundedFloat Protected", - "description": "The protected API for _BoundedFloat", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "height": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The height CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "justify_content": { "oneOf": [ { - "type": "string", + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The justify-content CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "justify_items": { "oneOf": [ { - "type": "string", + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The justify-items CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IPublicText": { - "title": "Text public", - "description": "The public API for Text", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "TextModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "TextModel", - "description": "" - }, - "_view_count": { + "left": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The left CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "TextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "margin": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The margin CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" - ] - }, - "IProtectedText": { - "title": "Text Protected", - "description": "The protected API for Text", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "TextModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "TextModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." - }, - { - "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "TextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "max_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" - ] - }, - "IPublicHBox": { - "title": "HBox public", - "description": "The public API for HBox", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HBoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "HBoxModel", - "description": "" - }, - "_view_count": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." - }, - { - "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "HBoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IProtectedHBox": { - "title": "HBox Protected", - "description": "The protected API for HBox", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HBoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "HBoxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The max-height CSS attribute." }, { "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "HBoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IPublicAudio": { - "title": "Audio public", - "description": "The public API for Audio", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "AudioModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "AudioModel", - "description": "" + } + ] }, - "_view_count": { + "max_width": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The max-width CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "AudioView", - "description": "" - }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" - }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp3", - "description": "The format of the audio." - }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the audio will start from the beginning after finishing" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "autoplay", - "controls", - "format", - "loop" - ] - }, - "IProtectedAudio": { - "title": "Audio Protected", - "description": "The protected API for Audio", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "AudioModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" + "min_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "AudioModel", - "description": "" + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "order": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The order CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "overflow": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The overflow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "overflow_x": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-x CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "AudioView", - "description": "" + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] }, - "format": { - "type": "string", - "default": "mp3", - "description": "The format of the audio." + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the audio will start from the beginning after finishing" + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -9103,15 +8892,49 @@ "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "loop" + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" ] }, - "IPublicButton": { - "title": "Button public", - "description": "The public API for Button", + "IPublicCheckbox": { + "title": "Checkbox public", + "description": "The public API for Checkbox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9119,13 +8942,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerButtonModel", + "_model_name": "CheckboxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerButtonView", - "pressed": false, - "value": 0.0 + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false }, "properties": { "_dom_classes": { @@ -9148,7 +8974,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerButtonModel", + "default": "CheckboxModel", "description": "" }, "_view_count": { @@ -9175,18 +9001,40 @@ }, "_view_name": { "type": "string", - "default": "ControllerButtonView", + "default": "CheckboxView", "description": "" }, - "pressed": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { "type": "boolean", "default": false, - "description": "Whether the button is pressed." + "description": "Enable or disable user changes." + }, + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." }, "value": { - "type": "number", - "default": 0.0, - "description": "The value of the button." + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -9198,13 +9046,16 @@ "_view_module", "_view_module_version", "_view_name", - "pressed", + "description", + "description_tooltip", + "disabled", + "indent", "value" ] }, - "IProtectedButton": { - "title": "Button Protected", - "description": "The protected API for Button", + "IProtectedCheckbox": { + "title": "Checkbox Protected", + "description": "The protected API for Checkbox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9212,14 +9063,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerButtonModel", + "_model_name": "CheckboxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerButtonView", - "pressed": false, - "value": 0.0 + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false }, "properties": { "_dom_classes": { @@ -9242,7 +9096,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerButtonModel", + "default": "CheckboxModel", "description": "" }, "_states_to_send": { @@ -9278,18 +9132,40 @@ }, "_view_name": { "type": "string", - "default": "ControllerButtonView", + "default": "CheckboxView", "description": "" }, - "pressed": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { "type": "boolean", "default": false, - "description": "Whether the button is pressed." + "description": "Enable or disable user changes." + }, + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." }, "value": { - "type": "number", - "default": 0.0, - "description": "The value of the button." + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -9302,13 +9178,16 @@ "_view_module", "_view_module_version", "_view_name", - "pressed", + "description", + "description_tooltip", + "disabled", + "indent", "value" ] }, - "IPublic_SelectionContainer": { - "title": "_SelectionContainer public", - "description": "The public API for _SelectionContainer", + "IPublicController": { + "title": "Controller public", + "description": "The public API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9316,15 +9195,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", - "_titles": {}, + "_model_name": "ControllerModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -9347,14 +9229,9 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "ControllerModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -9379,31 +9256,45 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "ControllerView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." }, - "children": { + "buttons": { "type": "array", "items": {}, "default": [], - "description": "List of widget children" + "description": "The buttons on the gamepad." + }, + "connected": { + "type": "boolean", + "default": false, + "description": "Whether the gamepad is connected." + }, + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." + }, + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." }, - "selected_index": { - "oneOf": [ - { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." - }, - { - "type": "null" - } - ] + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -9411,19 +9302,22 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IProtected_SelectionContainer": { - "title": "_SelectionContainer Protected", - "description": "The protected API for _SelectionContainer", + "IProtectedController": { + "title": "Controller Protected", + "description": "The protected API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9431,16 +9325,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "ControllerModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -9463,7 +9360,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "ControllerModel", "description": "" }, "_states_to_send": { @@ -9475,11 +9372,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -9504,31 +9396,45 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "ControllerView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." }, - "children": { + "buttons": { "type": "array", "items": {}, "default": [], - "description": "List of widget children" + "description": "The buttons on the gamepad." }, - "selected_index": { - "oneOf": [ - { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." - }, - { - "type": "null" - } - ] + "connected": { + "type": "boolean", + "default": false, + "description": "Whether the gamepad is connected." + }, + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." + }, + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -9537,19 +9443,22 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IPublic_String": { - "title": "_String public", - "description": "The public API for _String", + "IPublic_Int": { + "title": "_Int public", + "description": "The public API for _Int", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9557,15 +9466,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "value": 0 }, "properties": { "_dom_classes": { @@ -9588,7 +9496,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -9642,15 +9550,10 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -9664,13 +9567,12 @@ "_view_name", "description", "description_tooltip", - "placeholder", "value" ] }, - "IProtected_String": { - "title": "_String Protected", - "description": "The protected API for _String", + "IProtected_Int": { + "title": "_Int Protected", + "description": "The protected API for _Int", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9678,7 +9580,7 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", @@ -9686,8 +9588,7 @@ "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "value": 0 }, "properties": { "_dom_classes": { @@ -9710,7 +9611,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -9773,15 +9674,10 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -9796,13 +9692,12 @@ "_view_name", "description", "description_tooltip", - "placeholder", "value" ] }, - "IPublicIntText": { - "title": "IntText public", - "description": "The public API for IntText", + "IPublicBoundedFloatText": { + "title": "BoundedFloatText public", + "description": "The public API for BoundedFloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9810,17 +9705,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", + "_model_name": "BoundedFloatTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", + "_view_name": "FloatTextView", "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "step": 1, - "value": 0 + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -9843,7 +9740,7 @@ }, "_model_name": { "type": "string", - "default": "IntTextModel", + "default": "BoundedFloatTextModel", "description": "" }, "_view_count": { @@ -9870,7 +9767,7 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "FloatTextView", "description": "" }, "continuous_update": { @@ -9900,15 +9797,32 @@ "default": false, "description": "Enable or disable user changes" }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -9924,13 +9838,15 @@ "description", "description_tooltip", "disabled", + "max", + "min", "step", "value" ] }, - "IProtectedIntText": { - "title": "IntText Protected", - "description": "The protected API for IntText", + "IProtectedBoundedFloatText": { + "title": "BoundedFloatText Protected", + "description": "The protected API for BoundedFloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9938,18 +9854,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", + "_model_name": "BoundedFloatTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", + "_view_name": "FloatTextView", "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "step": 1, - "value": 0 + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -9972,7 +9890,7 @@ }, "_model_name": { "type": "string", - "default": "IntTextModel", + "default": "BoundedFloatTextModel", "description": "" }, "_states_to_send": { @@ -10008,7 +9926,7 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "FloatTextView", "description": "" }, "continuous_update": { @@ -10038,15 +9956,32 @@ "default": false, "description": "Enable or disable user changes" }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -10063,13 +9998,15 @@ "description", "description_tooltip", "disabled", + "max", + "min", "step", "value" ] }, - "IPublicPassword": { - "title": "Password public", - "description": "The public API for Password", + "IPublic_String": { + "title": "_String public", + "description": "The public API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10077,15 +10014,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", + "_model_name": "StringModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, "placeholder": "\u200b", "value": "" }, @@ -10110,7 +10045,7 @@ }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "StringModel", "description": "" }, "_view_count": { @@ -10136,14 +10071,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PasswordView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -10162,11 +10099,6 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, "placeholder": { "type": "string", "default": "\u200b", @@ -10187,17 +10119,15 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", "placeholder", "value" ] }, - "IProtectedPassword": { - "title": "Password Protected", - "description": "The protected API for Password", + "IProtected_String": { + "title": "_String Protected", + "description": "The protected API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10205,16 +10135,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", + "_model_name": "StringModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, "placeholder": "\u200b", "value": "" }, @@ -10239,7 +10167,7 @@ }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "StringModel", "description": "" }, "_states_to_send": { @@ -10274,14 +10202,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PasswordView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -10300,11 +10230,6 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, "placeholder": { "type": "string", "default": "\u200b", @@ -10326,17 +10251,15 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", "placeholder", "value" ] }, - "IPublicImage": { - "title": "Image public", - "description": "The public API for Image", + "IPublic_Media": { + "title": "_Media public", + "description": "The public API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10344,14 +10267,11 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "DOMWidgetModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": null }, "properties": { "_dom_classes": { @@ -10374,7 +10294,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "DOMWidgetModel", "description": "" }, "_view_count": { @@ -10400,24 +10320,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ImageView", - "description": "" - }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." - }, - "height": { - "type": "string", - "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." - }, - "width": { - "type": "string", - "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -10428,15 +10340,12 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "format", - "height", - "width" + "_view_name" ] }, - "IProtectedImage": { - "title": "Image Protected", - "description": "The protected API for Image", + "IProtected_Media": { + "title": "_Media Protected", + "description": "The protected API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10444,15 +10353,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "DOMWidgetModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": null }, "properties": { "_dom_classes": { @@ -10475,7 +10381,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "DOMWidgetModel", "description": "" }, "_states_to_send": { @@ -10510,24 +10416,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ImageView", - "description": "" - }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." - }, - "height": { - "type": "string", - "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." - }, - "width": { - "type": "string", - "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -10539,39 +10437,25 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "format", - "height", - "width" + "_view_name" ] }, - "IPublicDescriptionWidget": { - "title": "DescriptionWidget public", - "description": "The public API for DescriptionWidget", + "IPublicCoreWidget": { + "title": "CoreWidget public", + "description": "The public API for CoreWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "WidgetModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10584,8 +10468,8 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_view_count": { "oneOf": [ @@ -10620,66 +10504,35 @@ "type": "null" } ] - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip" + "_view_name" ] }, - "IProtectedDescriptionWidget": { - "title": "DescriptionWidget Protected", - "description": "The protected API for DescriptionWidget", + "IProtectedCoreWidget": { + "title": "CoreWidget Protected", + "description": "The protected API for CoreWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "WidgetModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10691,9 +10544,9 @@ "description": "" }, "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." }, "_states_to_send": { "type": "array", @@ -10737,27 +10590,9 @@ "type": "null" } ] - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10765,40 +10600,26 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip" + "_view_name" ] }, - "IPublicHTML": { - "title": "HTML public", - "description": "The public API for HTML", + "IPublicSliderStyle": { + "title": "SliderStyle public", + "description": "The public API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "SliderStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10811,7 +10632,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "SliderStyleModel", "description": "" }, "_view_count": { @@ -10828,49 +10649,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "StyleView", "description": "" }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { + "description_width": { "type": "string", "default": "", - "description": "String value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10878,42 +10676,27 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "description_width" ] }, - "IProtectedHTML": { - "title": "HTML Protected", - "description": "The protected API for HTML", + "IProtectedSliderStyle": { + "title": "SliderStyle Protected", + "description": "The protected API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "SliderStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10926,7 +10709,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "SliderStyleModel", "description": "" }, "_states_to_send": { @@ -10952,49 +10735,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "StyleView", "description": "" }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { + "description_width": { "type": "string", "default": "", - "description": "String value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11003,29 +10763,37 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "description_width" ] }, - "IPublicProgressStyle": { - "title": "ProgressStyle public", - "description": "The public API for ProgressStyle", + "IPublic_IntRange": { + "title": "_IntRange public", + "description": "The public API for _IntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "DescriptionModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11038,7 +10806,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -11055,26 +10823,54 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11082,27 +10878,40 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "description", + "description_tooltip", + "value" ] }, - "IProtectedProgressStyle": { - "title": "ProgressStyle Protected", - "description": "The protected API for ProgressStyle", + "IProtected_IntRange": { + "title": "_IntRange Protected", + "description": "The protected API for _IntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11115,7 +10924,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -11141,26 +10950,54 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11169,12 +11006,14 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "description", + "description_tooltip", + "value" ] }, - "IPublic_FloatRange": { - "title": "_FloatRange public", - "description": "The public API for _FloatRange", + "IPublicFloatProgress": { + "title": "FloatProgress public", + "description": "The public API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11182,14 +11021,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ProgressView", + "bar_style": "", "description": "", "description_tooltip": null, - "value": [0.0, 1.0] + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -11212,7 +11055,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatProgressModel", "description": "" }, "_view_count": { @@ -11238,11 +11081,16 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Name of the view." + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, { "type": "null" @@ -11266,13 +11114,25 @@ } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -11284,14 +11144,18 @@ "_view_module", "_view_module_version", "_view_name", + "bar_style", "description", "description_tooltip", + "max", + "min", + "orientation", "value" ] }, - "IProtected_FloatRange": { - "title": "_FloatRange Protected", - "description": "The protected API for _FloatRange", + "IProtectedFloatProgress": { + "title": "FloatProgress Protected", + "description": "The protected API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11299,15 +11163,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatProgressModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ProgressView", + "bar_style": "", "description": "", "description_tooltip": null, - "value": [0.0, 1.0] + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -11330,7 +11198,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatProgressModel", "description": "" }, "_states_to_send": { @@ -11365,11 +11233,16 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Name of the view." + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, { "type": "null" @@ -11393,13 +11266,25 @@ } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -11412,44 +11297,33 @@ "_view_module", "_view_module_version", "_view_name", + "bar_style", "description", "description_tooltip", + "max", + "min", + "orientation", "value" ] }, - "IPublicFileUpload": { - "title": "FileUpload public", - "description": "The public API for FileUpload", + "IPublicAxis": { + "title": "Axis public", + "description": "The public API for Axis", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "ControllerAxisModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", - "description_tooltip": null, - "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false + "_view_name": "ControllerAxisView", + "value": 0.0 }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -11470,7 +11344,7 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "ControllerAxisModel", "description": "" }, "_view_count": { @@ -11497,75 +11371,16 @@ }, "_view_name": { "type": "string", - "default": "FileUploadView", + "default": "ControllerAxisView", "description": "" }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "data": { - "type": "array", - "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" - }, - "default": [], - "description": "List of file content (bytes)" - }, - "description": { - "type": "string", - "default": "Upload", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable button" - }, - "error": { - "type": "string", - "default": "", - "description": "Error message" - }, - "icon": { - "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." - }, - "metadata": { - "type": "array", - "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" - }, - "default": [], - "description": "List of file metadata" - }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -11574,53 +11389,28 @@ "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", - "description", - "description_tooltip", - "disabled", - "error", - "icon", - "metadata", - "multiple" + "value" ] }, - "IProtectedFileUpload": { - "title": "FileUpload Protected", - "description": "The protected API for FileUpload", + "IProtectedAxis": { + "title": "Axis Protected", + "description": "The protected API for Axis", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "ControllerAxisModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", - "description_tooltip": null, - "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false, - "value": {} + "_view_name": "ControllerAxisView", + "value": 0.0 }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -11641,7 +11431,7 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "ControllerAxisModel", "description": "" }, "_states_to_send": { @@ -11677,122 +11467,143 @@ }, "_view_name": { "type": "string", - "default": "FileUploadView", + "default": "ControllerAxisView", "description": "" }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "data": { + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "value" + ] + }, + "IPublicOutput": { + "title": "Output public", + "description": "The public API for Output", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] + }, + "properties": { + "_dom_classes": { "type": "array", "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + "type": "string" }, "default": [], - "description": "List of file content (bytes)" + "description": "CSS classes applied to widget DOM element" }, - "description": { + "_model_module": { "type": "string", - "default": "Upload", - "description": "Description of the control." + "default": "@jupyter-widgets/output", + "description": "" }, - "description_tooltip": { + "_model_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "OutputModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable button" + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" }, - "error": { + "_view_module_version": { "type": "string", - "default": "", - "description": "Error message" + "default": "1.0.0", + "description": "" }, - "icon": { + "_view_name": { "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." + "default": "OutputView", + "description": "" }, - "metadata": { + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" + }, + "outputs": { "type": "array", "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" }, "default": [], - "description": "List of file metadata" - }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" - }, - "value": { - "type": "object", - "description": "", - "default": {} + "description": "The output messages synced from the frontend." } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", - "description", - "description_tooltip", - "disabled", - "error", - "icon", - "metadata", - "multiple", - "value" + "msg_id", + "outputs" ] }, - "IPublic_BoundedIntRange": { - "title": "_BoundedIntRange public", - "description": "The public API for _BoundedIntRange", + "IProtectedOutput": { + "title": "Output Protected", + "description": "The protected API for Output", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] }, "properties": { "_dom_classes": { @@ -11805,17 +11616,26 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "OutputModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -11832,60 +11652,32 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, - "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "_view_name": { + "type": "string", + "default": "OutputView", + "description": "" }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" }, - "value": { + "outputs": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "default": [], + "description": "The output messages synced from the frontend." } }, "required": [ @@ -11893,20 +11685,18 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "msg_id", + "outputs" ] }, - "IProtected_BoundedIntRange": { - "title": "_BoundedIntRange Protected", - "description": "The protected API for _BoundedIntRange", + "IPublicHTML": { + "title": "HTML public", + "description": "The public API for HTML", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11914,17 +11704,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], + "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "HTMLView", "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -11947,16 +11735,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "HTMLModel", "description": "" }, "_view_count": { @@ -11982,16 +11761,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HTMLView", + "description": "" }, "description": { "type": "string", @@ -12010,23 +11782,15 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -12034,21 +11798,19 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", "description", "description_tooltip", - "max", - "min", + "placeholder", "value" ] }, - "IPublic_BoundedLogFloat": { - "title": "_BoundedLogFloat public", - "description": "The public API for _BoundedLogFloat", + "IProtectedHTML": { + "title": "HTML Protected", + "description": "The protected API for HTML", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12056,17 +11818,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "HTMLModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, + "_view_name": "HTMLView", "description": "", "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -12089,7 +11850,16 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "HTMLModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -12115,21 +11885,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" + "type": "string", + "default": "HTMLView", + "description": "" }, "description": { "type": "string", @@ -12148,20 +11906,15 @@ } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -12169,21 +11922,20 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "base", "description", "description_tooltip", - "max", - "min", + "placeholder", "value" ] }, - "IProtected_BoundedLogFloat": { - "title": "_BoundedLogFloat Protected", - "description": "The protected API for _BoundedLogFloat", + "IPublicSelectMultiple": { + "title": "SelectMultiple public", + "description": "The public API for SelectMultiple", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12191,18 +11943,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], + "_model_name": "SelectMultipleModel", + "_options_labels": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, + "_view_name": "SelectMultipleView", "description": "", "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 + "disabled": false, + "index": [], + "rows": 5 }, "properties": { "_dom_classes": { @@ -12225,17 +11976,16 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "SelectMultipleModel", "description": "" }, - "_states_to_send": { + "_options_labels": { "type": "array", - "uniqueItems": true, "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + "type": "string" }, - "default": {}, - "description": "" + "default": [], + "description": "The labels for the options." }, "_view_count": { "oneOf": [ @@ -12260,21 +12010,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" + "type": "string", + "default": "SelectMultipleView", + "description": "" }, "description": { "type": "string", @@ -12293,20 +12031,23 @@ } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." } }, "required": [ @@ -12314,22 +12055,21 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", + "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", - "base", "description", "description_tooltip", - "max", - "min", - "value" + "disabled", + "index", + "rows" ] }, - "IPublicCombobox": { - "title": "Combobox public", - "description": "The public API for Combobox", + "IProtectedSelectMultiple": { + "title": "SelectMultiple Protected", + "description": "The protected API for SelectMultiple", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12337,19 +12077,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", + "_model_name": "SelectMultipleModel", + "_options_labels": [], + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, + "_view_name": "SelectMultipleView", "description": "", "description_tooltip": null, "disabled": false, - "ensure_option": false, + "index": [], + "label": [], "options": [], - "placeholder": "\u200b", - "value": "" + "rows": 5, + "value": [] }, "properties": { "_dom_classes": { @@ -12372,7 +12114,24 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", + "default": "SelectMultipleModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -12399,14 +12158,9 @@ }, "_view_name": { "type": "string", - "default": "ComboboxView", + "default": "SelectMultipleView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, "description": { "type": "string", "default": "", @@ -12429,28 +12183,43 @@ "default": false, "description": "Enable or disable user changes" }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" }, - "options": { + "label": { "type": "array", "items": { "type": "string" }, - "default": [], - "description": "Dropdown options for the combobox" + "default": {}, + "description": "Selected labels" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" } }, "required": [ @@ -12458,54 +12227,39 @@ "_model_module", "_model_module_version", "_model_name", + "_options_labels", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", "disabled", - "ensure_option", + "index", + "label", "options", - "placeholder", + "rows", "value" ] }, - "IProtectedCombobox": { - "title": "Combobox Protected", - "description": "The protected API for Combobox", + "IPublicDescriptionStyle": { + "title": "DescriptionStyle public", + "description": "The public API for DescriptionStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", - "_states_to_send": [], + "_model_name": "DescriptionStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "ensure_option": false, - "options": [], - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -12518,16 +12272,7 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "DescriptionStyleModel", "description": "" }, "_view_count": { @@ -12544,93 +12289,126 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ComboboxView", + "default": "StyleView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { + "description_width": { "type": "string", "default": "", - "description": "Description of the control." + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedDescriptionStyle": { + "title": "DescriptionStyle Protected", + "description": "The protected API for DescriptionStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "description_tooltip": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, - "options": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "Dropdown options for the combobox" + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" }, - "placeholder": { + "_view_name": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "StyleView", + "description": "" }, - "value": { + "description_width": { "type": "string", "default": "", - "description": "String value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "ensure_option", - "options", - "placeholder", - "value" + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" ] }, - "IPublicGridBox": { - "title": "GridBox public", - "description": "The public API for GridBox", + "IPublicIntSlider": { + "title": "IntSlider public", + "description": "The public API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12638,13 +12416,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "IntSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -12667,7 +12453,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "IntSliderModel", "description": "" }, "_view_count": { @@ -12694,19 +12480,65 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "IntSliderView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -12718,13 +12550,21 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IProtectedGridBox": { - "title": "GridBox Protected", - "description": "The protected API for GridBox", + "IProtectedIntSlider": { + "title": "IntSlider Protected", + "description": "The protected API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12732,14 +12572,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "IntSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "IntSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -12762,7 +12610,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "IntSliderModel", "description": "" }, "_states_to_send": { @@ -12798,19 +12646,65 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "IntSliderView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -12823,13 +12717,21 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IPublic_Bool": { - "title": "_Bool public", - "description": "The public API for _Bool", + "IPublicVBox": { + "title": "VBox public", + "description": "The public API for VBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12837,15 +12739,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoolModel", + "_model_name": "VBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false + "_view_name": "VBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -12868,7 +12768,7 @@ }, "_model_name": { "type": "string", - "default": "BoolModel", + "default": "VBoxModel", "description": "" }, "_view_count": { @@ -12891,46 +12791,23 @@ "_view_module_version": { "type": "string", "default": "1.5.0", - "description": "" - }, - "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "description": "" }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "_view_name": { + "type": "string", + "default": "VBoxView", + "description": "" }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -12942,15 +12819,13 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "value" + "box_style", + "children" ] }, - "IProtected_Bool": { - "title": "_Bool Protected", - "description": "The protected API for _Bool", + "IProtectedVBox": { + "title": "VBox Protected", + "description": "The protected API for VBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12958,16 +12833,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoolModel", + "_model_name": "VBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false + "_view_name": "VBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -12990,7 +12863,7 @@ }, "_model_name": { "type": "string", - "default": "BoolModel", + "default": "VBoxModel", "description": "" }, "_states_to_send": { @@ -13025,43 +12898,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "default": "VBoxView", + "description": "" }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -13074,42 +12924,29 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "value" + "box_style", + "children" ] }, - "IPublicValid": { - "title": "Valid public", - "description": "The public API for Valid", + "IPublicToggleButtonsStyle": { + "title": "ToggleButtonsStyle public", + "description": "The public API for ToggleButtonsStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ValidModel", + "_model_name": "ToggleButtonsStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13122,7 +12959,7 @@ }, "_model_name": { "type": "string", - "default": "ValidModel", + "default": "ToggleButtonsStyleModel", "description": "" }, "_view_count": { @@ -13139,54 +12976,36 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ValidView", + "default": "StyleView", "description": "" }, - "description": { + "button_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "description": "The width of each button." }, - "readout": { + "description_width": { "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" + "default": "", + "description": "Width of the description to the side of the control." }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13194,44 +13013,31 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" + "button_width", + "description_width", + "font_weight" ] }, - "IProtectedValid": { - "title": "Valid Protected", - "description": "The protected API for Valid", + "IProtectedToggleButtonsStyle": { + "title": "ToggleButtonsStyle Protected", + "description": "The protected API for ToggleButtonsStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ValidModel", + "_model_name": "ToggleButtonsStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13244,7 +13050,7 @@ }, "_model_name": { "type": "string", - "default": "ValidModel", + "default": "ToggleButtonsStyleModel", "description": "" }, "_states_to_send": { @@ -13270,54 +13076,36 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ValidView", + "default": "StyleView", "description": "" }, - "description": { + "button_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "description": "The width of each button." }, - "readout": { + "description_width": { "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" + "default": "", + "description": "Width of the description to the side of the control." }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13326,42 +13114,28 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" + "button_width", + "description_width", + "font_weight" ] }, - "IPublicHTMLMath": { - "title": "HTMLMath public", - "description": "The public API for HTMLMath", + "IPublicButtonStyle": { + "title": "ButtonStyle public", + "description": "The public API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "ButtonStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13374,7 +13148,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "ButtonStyleModel", "description": "" }, "_view_count": { @@ -13391,49 +13165,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HTMLMathView", + "default": "StyleView", "description": "" }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { + "font_weight": { "type": "string", "default": "", - "description": "String value" + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13441,42 +13192,27 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "font_weight" ] }, - "IProtectedHTMLMath": { - "title": "HTMLMath Protected", - "description": "The protected API for HTMLMath", + "IProtectedButtonStyle": { + "title": "ButtonStyle Protected", + "description": "The protected API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "ButtonStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13489,7 +13225,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "ButtonStyleModel", "description": "" }, "_states_to_send": { @@ -13515,49 +13251,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HTMLMathView", + "default": "StyleView", "description": "" }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { + "font_weight": { "type": "string", "default": "", - "description": "String value" + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13566,15 +13279,12 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "font_weight" ] }, - "IPublicIntProgress": { - "title": "IntProgress public", - "description": "The public API for IntProgress", + "IPublic_Float": { + "title": "_Float public", + "description": "The public API for _Float", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13582,18 +13292,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", + "_view_name": null, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 + "value": 0.0 }, "properties": { "_dom_classes": { @@ -13616,7 +13322,7 @@ }, "_model_name": { "type": "string", - "default": "IntProgressModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -13642,14 +13348,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -13668,25 +13376,10 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -13698,18 +13391,14 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", "description", "description_tooltip", - "max", - "min", - "orientation", "value" ] }, - "IProtectedIntProgress": { - "title": "IntProgress Protected", - "description": "The protected API for IntProgress", + "IProtected_Float": { + "title": "_Float Protected", + "description": "The protected API for _Float", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13717,19 +13406,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", + "_view_name": null, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 + "value": 0.0 }, "properties": { "_dom_classes": { @@ -13752,7 +13437,7 @@ }, "_model_name": { "type": "string", - "default": "IntProgressModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -13787,14 +13472,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -13813,25 +13500,10 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -13844,18 +13516,14 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", "description", "description_tooltip", - "max", - "min", - "orientation", "value" ] }, - "IPublic_BoundedFloatRange": { - "title": "_BoundedFloatRange public", - "description": "The public API for _BoundedFloatRange", + "IPublicPlay": { + "title": "Play public", + "description": "The public API for Play", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13863,17 +13531,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "PlayView", "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -13896,9 +13569,19 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "PlayModel", "description": "" }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, "_view_count": { "oneOf": [ { @@ -13922,16 +13605,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "PlayView", + "description": "" }, "description": { "type": "string", @@ -13950,28 +13626,40 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" + "type": "integer", + "default": 1, + "description": "Increment step" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -13979,21 +13667,26 @@ "_model_module", "_model_module_version", "_model_name", + "_playing", + "_repeat", "_view_count", "_view_module", "_view_module_version", "_view_name", "description", "description_tooltip", + "disabled", + "interval", "max", "min", + "show_repeat", "step", "value" ] }, - "IProtected_BoundedFloatRange": { - "title": "_BoundedFloatRange Protected", - "description": "The protected API for _BoundedFloatRange", + "IProtectedPlay": { + "title": "Play Protected", + "description": "The protected API for Play", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14001,18 +13694,23 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "PlayView", "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -14035,9 +13733,19 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "PlayModel", "description": "" }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -14070,16 +13778,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "PlayView", + "description": "" }, "description": { "type": "string", @@ -14098,28 +13799,40 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" + "type": "integer", + "default": 1, + "description": "Increment step" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -14127,6 +13840,8 @@ "_model_module", "_model_module_version", "_model_name", + "_playing", + "_repeat", "_states_to_send", "_view_count", "_view_module", @@ -14134,41 +13849,57 @@ "_view_name", "description", "description_tooltip", + "disabled", + "interval", "max", "min", + "show_repeat", "step", "value" ] }, - "IPublicStyle": { - "title": "Style public", - "description": "The public API for Style", + "IPublicAudio": { + "title": "Audio public", + "description": "The public API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AudioModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "StyleModel", + "default": "AudioModel", "description": "" }, "_view_count": { @@ -14185,60 +13916,98 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "AudioView", "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "autoplay", + "controls", + "format", + "loop" ] }, - "IProtectedStyle": { - "title": "Style Protected", - "description": "The protected API for Style", + "IProtectedAudio": { + "title": "Audio Protected", + "description": "The protected API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "AudioModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "StyleModel", + "default": "AudioModel", "description": "" }, "_states_to_send": { @@ -14264,21 +14033,42 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "AudioView", "description": "" + }, + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -14286,12 +14076,16 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "autoplay", + "controls", + "format", + "loop" ] }, - "IPublicFloatLogSlider": { - "title": "FloatLogSlider public", - "description": "The public API for FloatLogSlider", + "IPublicText": { + "title": "Text public", + "description": "The public API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14299,22 +14093,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", + "_model_name": "TextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, + "_view_name": "TextView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 4.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 1.0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -14337,7 +14126,7 @@ }, "_model_name": { "type": "string", - "default": "FloatLogSliderModel", + "default": "TextModel", "description": "" }, "_view_count": { @@ -14364,18 +14153,13 @@ }, "_view_name": { "type": "string", - "default": "FloatLogSliderView", + "default": "TextView", "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" - }, "continuous_update": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -14399,35 +14183,15 @@ "default": false, "description": "Enable or disable user changes" }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -14439,22 +14203,17 @@ "_view_module", "_view_module_version", "_view_name", - "base", "continuous_update", "description", "description_tooltip", "disabled", - "max", - "min", - "orientation", - "readout", - "step", + "placeholder", "value" ] }, - "IProtectedFloatLogSlider": { - "title": "FloatLogSlider Protected", - "description": "The protected API for FloatLogSlider", + "IProtectedText": { + "title": "Text Protected", + "description": "The protected API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14462,23 +14221,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", + "_model_name": "TextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, + "_view_name": "TextView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 4.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 1.0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -14501,7 +14255,7 @@ }, "_model_name": { "type": "string", - "default": "FloatLogSliderModel", + "default": "TextModel", "description": "" }, "_states_to_send": { @@ -14537,18 +14291,13 @@ }, "_view_name": { "type": "string", - "default": "FloatLogSliderView", + "default": "TextView", "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" - }, "continuous_update": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -14572,35 +14321,15 @@ "default": false, "description": "Enable or disable user changes" }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -14613,49 +14342,61 @@ "_view_module", "_view_module_version", "_view_name", - "base", "continuous_update", "description", "description_tooltip", "disabled", - "max", - "min", - "orientation", - "readout", - "step", + "placeholder", "value" ] }, - "IPublicWidget": { - "title": "Widget public", - "description": "The public API for Widget", + "IPublicBoundedIntText": { + "title": "BoundedIntText public", + "description": "The public API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedIntTextModel", "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "BoundedIntTextModel", + "description": "" }, "_view_count": { "oneOf": [ @@ -14670,76 +14411,135 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.5.0", + "description": "" }, "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" ] }, - "IProtectedWidget": { - "title": "Widget Protected", - "description": "The protected API for Widget", + "IProtectedBoundedIntText": { + "title": "BoundedIntText Protected", + "description": "The protected API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedIntTextModel", "_states_to_send": [], "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100, + "min": 0, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "BoundedIntTextModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -14763,36 +14563,70 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.5.0", + "description": "" }, "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -14800,12 +14634,20 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" ] }, - "IPublicLabel": { - "title": "Label public", - "description": "The public API for Label", + "IPublicToggleButton": { + "title": "ToggleButton public", + "description": "The public API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14813,15 +14655,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "LabelModel", + "_model_name": "ToggleButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "LabelView", + "_view_name": "ToggleButtonView", + "button_style": "", "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { "_dom_classes": { @@ -14844,7 +14689,7 @@ }, "_model_name": { "type": "string", - "default": "LabelModel", + "default": "ToggleButtonModel", "description": "" }, "_view_count": { @@ -14871,9 +14716,14 @@ }, "_view_name": { "type": "string", - "default": "LabelView", + "default": "ToggleButtonView", "description": "" }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, "description": { "type": "string", "default": "", @@ -14891,15 +14741,25 @@ } ] }, - "placeholder": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "icon": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "", + "description": "Font-awesome icon." }, - "value": { + "tooltip": { "type": "string", "default": "", - "description": "String value" + "description": "Tooltip caption of the toggle button." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -14911,15 +14771,18 @@ "_view_module", "_view_module_version", "_view_name", + "button_style", "description", "description_tooltip", - "placeholder", + "disabled", + "icon", + "tooltip", "value" ] }, - "IProtectedLabel": { - "title": "Label Protected", - "description": "The protected API for Label", + "IProtectedToggleButton": { + "title": "ToggleButton Protected", + "description": "The protected API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14927,16 +14790,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "LabelModel", + "_model_name": "ToggleButtonModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "LabelView", + "_view_name": "ToggleButtonView", + "button_style": "", "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { "_dom_classes": { @@ -14959,7 +14825,7 @@ }, "_model_name": { "type": "string", - "default": "LabelModel", + "default": "ToggleButtonModel", "description": "" }, "_states_to_send": { @@ -14995,9 +14861,14 @@ }, "_view_name": { "type": "string", - "default": "LabelView", + "default": "ToggleButtonView", "description": "" }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, "description": { "type": "string", "default": "", @@ -15015,15 +14886,25 @@ } ] }, - "placeholder": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "icon": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "", + "description": "Font-awesome icon." }, - "value": { + "tooltip": { "type": "string", "default": "", - "description": "String value" + "description": "Tooltip caption of the toggle button." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -15036,15 +14917,18 @@ "_view_module", "_view_module_version", "_view_name", + "button_style", "description", "description_tooltip", - "placeholder", + "disabled", + "icon", + "tooltip", "value" ] }, - "IPublicColorPicker": { - "title": "ColorPicker public", - "description": "The public API for ColorPicker", + "IPublicFloatSlider": { + "title": "FloatSlider public", + "description": "The public API for FloatSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15052,16 +14936,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "FloatSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, + "_view_name": "FloatSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "value": "black" + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -15084,7 +14973,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "FloatSliderModel", "description": "" }, "_view_count": { @@ -15111,13 +15000,13 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "FloatSliderView", "description": "" }, - "concise": { + "continuous_update": { "type": "boolean", - "default": false, - "description": "Display short version with just a color selector." + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, "description": { "type": "string", @@ -15139,12 +15028,37 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" }, "value": { - "type": "string", - "default": "black", - "description": "The color value." + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -15156,16 +15070,21 @@ "_view_module", "_view_module_version", "_view_name", - "concise", + "continuous_update", "description", "description_tooltip", "disabled", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IProtectedColorPicker": { - "title": "ColorPicker Protected", - "description": "The protected API for ColorPicker", + "IProtectedFloatSlider": { + "title": "FloatSlider Protected", + "description": "The protected API for FloatSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15173,17 +15092,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "FloatSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, + "_view_name": "FloatSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "value": "black" + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -15206,7 +15130,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "FloatSliderModel", "description": "" }, "_states_to_send": { @@ -15242,13 +15166,13 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "FloatSliderView", "description": "" }, - "concise": { + "continuous_update": { "type": "boolean", - "default": false, - "description": "Display short version with just a color selector." + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, "description": { "type": "string", @@ -15270,12 +15194,37 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" }, "value": { - "type": "string", - "default": "black", - "description": "The color value." + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -15288,16 +15237,21 @@ "_view_module", "_view_module_version", "_view_name", - "concise", + "continuous_update", "description", "description_tooltip", "disabled", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IPublicFloatRangeSlider": { - "title": "FloatRangeSlider public", - "description": "The public API for FloatRangeSlider", + "IPublicImage": { + "title": "Image public", + "description": "The public API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15305,21 +15259,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", + "_model_name": "ImageModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { "_dom_classes": { @@ -15342,7 +15289,7 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "ImageModel", "description": "" }, "_view_count": { @@ -15353,84 +15300,39 @@ "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { - "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "FloatRangeSliderView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "type": "null" + } + ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "_view_name": { + "type": "string", + "default": "ImageView", + "description": "" }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" + "height": { + "type": "string", + "default": "", + "description": "Height of the image in pixels. Use layout.height for styling the widget." }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ @@ -15442,21 +15344,14 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "format", + "height", + "width" ] }, - "IProtectedFloatRangeSlider": { - "title": "FloatRangeSlider Protected", - "description": "The protected API for FloatRangeSlider", + "IProtectedImage": { + "title": "Image Protected", + "description": "The protected API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15464,22 +15359,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", + "_model_name": "ImageModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { "_dom_classes": { @@ -15502,7 +15390,7 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "ImageModel", "description": "" }, "_states_to_send": { @@ -15538,68 +15426,23 @@ }, "_view_name": { "type": "string", - "default": "FloatRangeSliderView", + "default": "ImageView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." }, - "description": { + "height": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" + "description": "Height of the image in pixels. Use layout.height for styling the widget." }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ @@ -15612,21 +15455,14 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "format", + "height", + "width" ] }, - "IPublicVideo": { - "title": "Video public", - "description": "The public API for Video", + "IPublic_MultipleSelection": { + "title": "_MultipleSelection public", + "description": "The public API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15634,17 +15470,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VideoModel", + "_model_name": "DescriptionModel", + "_options_labels": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [] }, "properties": { "_dom_classes": { @@ -15667,9 +15502,17 @@ }, "_model_name": { "type": "string", - "default": "VideoModel", + "default": "DescriptionModel", "description": "" }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, "_view_count": { "oneOf": [ { @@ -15693,39 +15536,46 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "VideoView", - "description": "" - }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" - }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp4", - "description": "The format of the video." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "height": { + "description": { "type": "string", "default": "", - "description": "Height of the video in pixels." + "description": "Description of the control." }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the video will start from the beginning after finishing" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "width": { - "type": "string", - "default": "", - "description": "Width of the video in pixels." + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" } }, "required": [ @@ -15733,21 +15583,20 @@ "_model_module", "_model_module_version", "_model_name", + "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" + "description", + "description_tooltip", + "disabled", + "index" ] }, - "IProtectedVideo": { - "title": "Video Protected", - "description": "The protected API for Video", + "IProtected_MultipleSelection": { + "title": "_MultipleSelection Protected", + "description": "The protected API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15755,18 +15604,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VideoModel", + "_model_name": "DescriptionModel", + "_options_labels": [], "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_name": null, + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "label": [], + "options": [], + "value": [] }, "properties": { "_dom_classes": { @@ -15789,9 +15640,17 @@ }, "_model_name": { "type": "string", - "default": "VideoModel", + "default": "DescriptionModel", "description": "" }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -15824,39 +15683,71 @@ "description": "" }, "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { "type": "string", - "default": "VideoView", - "description": "" + "default": "", + "description": "Description of the control." }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "controls": { + "disabled": { "type": "boolean", - "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + "default": false, + "description": "Enable or disable user changes" }, - "format": { - "type": "string", - "default": "mp4", - "description": "The format of the video." + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" }, - "height": { - "type": "string", - "default": "", - "description": "Height of the video in pixels." + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the video will start from the beginning after finishing" + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] }, - "width": { - "type": "string", - "default": "", - "description": "Width of the video in pixels." + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" } }, "required": [ @@ -15864,22 +15755,24 @@ "_model_module", "_model_module_version", "_model_name", + "_options_labels", "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "value" ] }, - "IPublicAccordion": { - "title": "Accordion public", - "description": "The public API for Accordion", + "IPublicPassword": { + "title": "Password public", + "description": "The public API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -15887,15 +15780,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", - "_titles": {}, + "_model_name": "PasswordModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -15918,14 +15813,9 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", + "default": "PasswordModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -15950,31 +15840,45 @@ }, "_view_name": { "type": "string", - "default": "AccordionView", + "default": "PasswordView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -15982,19 +15886,21 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IProtectedAccordion": { - "title": "Accordion Protected", - "description": "The protected API for Accordion", + "IProtectedPassword": { + "title": "Password Protected", + "description": "The protected API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16002,16 +15908,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", + "_model_name": "PasswordModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -16034,7 +15942,7 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", + "default": "PasswordModel", "description": "" }, "_states_to_send": { @@ -16046,11 +15954,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -16075,31 +15978,45 @@ }, "_view_name": { "type": "string", - "default": "AccordionView", + "default": "PasswordView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -16108,43 +16025,51 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IPublicIntRangeSlider": { - "title": "IntRangeSlider public", - "description": "The public API for IntRangeSlider", + "IPublicFileUpload": { + "title": "FileUpload public", + "description": "The public API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntRangeSliderModel", + "_model_name": "FileUploadModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntRangeSliderView", - "continuous_update": true, - "description": "", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, - "orientation": "horizontal", - "readout": true, - "step": 1, - "value": [25, 75] + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -16165,7 +16090,7 @@ }, "_model_name": { "type": "string", - "default": "IntRangeSliderModel", + "default": "FileUploadModel", "description": "" }, "_view_count": { @@ -16192,17 +16117,30 @@ }, "_view_name": { "type": "string", - "default": "IntRangeSliderView", + "default": "FileUploadView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" }, "description": { "type": "string", - "default": "", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -16220,43 +16158,34 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "description": "Enable or disable button" }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." + "error": { + "type": "string", + "default": "", + "description": "Error message" }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step that the value can take" + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." }, - "value": { + "metadata": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -16265,46 +16194,53 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", + "accept", + "button_style", + "data", "description", "description_tooltip", "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "error", + "icon", + "metadata", + "multiple" ] }, - "IProtectedIntRangeSlider": { - "title": "IntRangeSlider Protected", - "description": "The protected API for IntRangeSlider", + "IProtectedFileUpload": { + "title": "FileUpload Protected", + "description": "The protected API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntRangeSliderModel", + "_model_name": "FileUploadModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntRangeSliderView", - "continuous_update": true, - "description": "", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, - "orientation": "horizontal", - "readout": true, - "step": 1, - "value": [25, 75] + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false, + "value": {} }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -16325,7 +16261,7 @@ }, "_model_name": { "type": "string", - "default": "IntRangeSliderModel", + "default": "FileUploadModel", "description": "" }, "_states_to_send": { @@ -16361,17 +16297,30 @@ }, "_view_name": { "type": "string", - "default": "IntRangeSliderView", + "default": "FileUploadView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" }, "description": { "type": "string", - "default": "", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -16389,43 +16338,39 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "description": "Enable or disable button" }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." + "error": { + "type": "string", + "default": "", + "description": "Error message" }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step that the value can take" + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." }, - "value": { + "metadata": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" + }, + "value": { + "type": "object", + "description": "", + "default": {} } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -16435,21 +16380,22 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", + "accept", + "button_style", + "data", "description", "description_tooltip", "disabled", - "max", - "min", - "orientation", - "readout", - "step", + "error", + "icon", + "metadata", + "multiple", "value" ] }, - "IPublicBox": { - "title": "Box public", - "description": "The public API for Box", + "IPublicHBox": { + "title": "HBox public", + "description": "The public API for HBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16457,11 +16403,11 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", + "_view_name": "HBoxView", "box_style": "", "children": [] }, @@ -16486,7 +16432,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "HBoxModel", "description": "" }, "_view_count": { @@ -16513,7 +16459,7 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "HBoxView", "description": "" }, "box_style": { @@ -16541,9 +16487,9 @@ "children" ] }, - "IProtectedBox": { - "title": "Box Protected", - "description": "The protected API for Box", + "IProtectedHBox": { + "title": "HBox Protected", + "description": "The protected API for HBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16551,12 +16497,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "HBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", + "_view_name": "HBoxView", "box_style": "", "children": [] }, @@ -16581,7 +16527,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "HBoxModel", "description": "" }, "_states_to_send": { @@ -16617,7 +16563,7 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "HBoxView", "description": "" }, "box_style": { @@ -16646,9 +16592,9 @@ "children" ] }, - "IPublicFloatText": { - "title": "FloatText public", - "description": "The public API for FloatText", + "IPublic_BoundedFloat": { + "title": "_BoundedFloat public", + "description": "The public API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16656,16 +16602,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, + "max": 100.0, + "min": 0.0, "value": 0.0 }, "properties": { @@ -16689,7 +16634,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -16715,49 +16660,44 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, "value": { "type": "number", "default": 0.0, @@ -16773,17 +16713,16 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "step", + "max", + "min", "value" ] }, - "IProtectedFloatText": { - "title": "FloatText Protected", - "description": "The protected API for FloatText", + "IProtected_BoundedFloat": { + "title": "_BoundedFloat Protected", + "description": "The protected API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16791,17 +16730,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, + "max": 100.0, + "min": 0.0, "value": 0.0 }, "properties": { @@ -16825,7 +16763,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -16860,49 +16798,44 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, "value": { "type": "number", "default": 0.0, @@ -16919,34 +16852,28 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "step", + "max", + "min", "value" ] }, - "IPublic_BoundedInt": { - "title": "_BoundedInt public", - "description": "The public API for _BoundedInt", + "IPublicDOMWidget": { + "title": "DOMWidget public", + "description": "The public API for DOMWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { "_dom_classes": { @@ -16959,17 +16886,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "DOMWidgetModel", "description": "" }, "_view_count": { @@ -16985,58 +16912,33 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ @@ -17047,35 +16949,25 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] }, - "IProtected_BoundedInt": { - "title": "_BoundedInt Protected", - "description": "The protected API for _BoundedInt", + "IProtectedDOMWidget": { + "title": "DOMWidget Protected", + "description": "The protected API for DOMWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { "_dom_classes": { @@ -17088,17 +16980,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "DOMWidgetModel", "description": "" }, "_states_to_send": { @@ -17123,58 +17015,33 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ @@ -17186,30 +17053,42 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] }, - "IPublicCoreWidget": { - "title": "CoreWidget public", - "description": "The public API for CoreWidget", + "IPublicCombobox": { + "title": "Combobox public", + "description": "The public API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "ComboboxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "ComboboxView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -17222,8 +17101,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "ComboboxModel", + "description": "" }, "_view_count": { "oneOf": [ @@ -17248,45 +17127,114 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ComboboxView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", + "value" ] }, - "IProtectedCoreWidget": { - "title": "CoreWidget Protected", - "description": "The protected API for CoreWidget", + "IProtectedCombobox": { + "title": "Combobox Protected", + "description": "The protected API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "ComboboxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "ComboboxView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -17299,8 +17247,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "ComboboxModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -17334,19 +17282,63 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ComboboxView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -17354,7 +17346,15 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", + "value" ] } } diff --git a/scripts/schema-widgets.ipynb b/scripts/schema-widgets.ipynb index a496f0051..8a38a5ae3 100644 --- a/scripts/schema-widgets.ipynb +++ b/scripts/schema-widgets.ipynb @@ -661,7 +661,7 @@ "\n", " {{ wc.__doc__ }}\n", "\n", - " @see {{ wc }}\n", + " @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#{{ wc.__name__ }}\n", " */\n", " export class _{{ n }} extends _Widget<{{ t }}> {\n", " constructor(options: {{ t }}) {\n", @@ -680,10 +680,10 @@ " /** the concrete observable {{ n }} */\n", " export const {{ n }} = _HasTraits._traitMeta<{{ t }}>(_{{ n }}); \n", " \n", - " if (!NS['{{ n }}']) {\n", - " NS['{{ n }}'] = {{ n }};\n", + " if (!ALL['{{ n }}']) {\n", + " ALL['{{ n }}'] = {{ n }};\n", " } else {\n", - " console.log('{{ n }} is already hoisted', NS['{{ n }}']);\n", + " console.log('{{ n }} is already hoisted', ALL['{{ n }}']);\n", " }\n", " {% endif %}\n", " // ---\n", From d4524e478170516a128ae044471e554110cc5a9f Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 11 Jun 2021 13:48:29 -0400 Subject: [PATCH 18/21] more work on generated classes --- dodo.py | 2 +- packages/kernel/src/_proto_wrappers.ts | 892 +- packages/kernel/src/_schema_widgets.d.ts | 3820 +++--- packages/kernel/src/_schema_widgets.json | 14498 +++++++++++---------- scripts/schema-widgets.ipynb | 18 +- 5 files changed, 9720 insertions(+), 9510 deletions(-) diff --git a/dodo.py b/dodo.py index 60f20f94d..ffc60030b 100644 --- a/dodo.py +++ b/dodo.py @@ -746,7 +746,7 @@ def extend_docs(): # environment overloads os.environ.update( - NODE_OPTS="--max-old-space-size=4096", + NODE_OPTS="--max-old-space-size=8192", PYTHONIOENCODING=C.ENC["encoding"], PIP_DISABLE_PIP_VERSION_CHECK="1", ) diff --git a/packages/kernel/src/_proto_wrappers.ts b/packages/kernel/src/_proto_wrappers.ts index da46d1de1..8343e52c1 100644 --- a/packages/kernel/src/_proto_wrappers.ts +++ b/packages/kernel/src/_proto_wrappers.ts @@ -1,4 +1,10 @@ -/** a bunch of widgets */ +/*************************************************************************************************** + * THIS FILE IS AUTO-GENERATED FROM * See `/scripts/schema-widgets.ipynb`, which also generates + ******** ipywidgets 7.6.3 ******** `_schema_widgets.d.ts` and `_schema_widgets.json`. + * + * @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html + * @see https://github.com/jtpio/jupyterlite/pull/141 + ***************************************************************************************************/ import * as PROTO from './_schema_widgets'; import * as SCHEMA from './_schema_widgets.json'; import { _HasTraits, _Widget } from './proto_widgets'; @@ -422,6 +428,40 @@ export namespace ipywidgets_widgets_widget_box { } // end of ['ipywidgets', 'widgets', 'widget_box'] export namespace ipywidgets_widgets_widget_button { + /** a type for the traits of ButtonStyle*/ + export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; + + /** a naive ButtonStyle + + Button style widget. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ButtonStyle + */ + export class _ButtonStyle extends _Widget { + constructor(options: TAnyButtonStyle) { + super({ ..._ButtonStyle.defaults(), ...options }); + } + + static defaults(): TAnyButtonStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicButtonStyle.default, + ...SCHEMA.IProtectedButtonStyle.default + }; + } + } + + /** the concrete observable ButtonStyle */ + export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); + + if (!ALL['ButtonStyle']) { + ALL['ButtonStyle'] = ButtonStyle; + } else { + console.log('ButtonStyle is already hoisted', ALL['ButtonStyle']); + } + + // --- + /** a type for the traits of Button*/ export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; @@ -470,40 +510,6 @@ export namespace ipywidgets_widgets_widget_button { } // --- - - /** a type for the traits of ButtonStyle*/ - export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; - - /** a naive ButtonStyle - - Button style widget. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ButtonStyle - */ - export class _ButtonStyle extends _Widget { - constructor(options: TAnyButtonStyle) { - super({ ..._ButtonStyle.defaults(), ...options }); - } - - static defaults(): TAnyButtonStyle { - return { - ...super.defaults(), - ...SCHEMA.IPublicButtonStyle.default, - ...SCHEMA.IProtectedButtonStyle.default - }; - } - } - - /** the concrete observable ButtonStyle */ - export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); - - if (!ALL['ButtonStyle']) { - ALL['ButtonStyle'] = ButtonStyle; - } else { - console.log('ButtonStyle is already hoisted', ALL['ButtonStyle']); - } - - // --- } // end of ['ipywidgets', 'widgets', 'widget_button'] export namespace ipywidgets_widgets_widget_color { @@ -543,40 +549,6 @@ export namespace ipywidgets_widgets_widget_color { } // end of ['ipywidgets', 'widgets', 'widget_color'] export namespace ipywidgets_widgets_widget_controller { - /** a type for the traits of Button*/ - export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - - /** a naive Button - - Represents a gamepad or joystick button. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button - */ - export class _Button extends _Widget { - constructor(options: TAnyButton) { - super({ ..._Button.defaults(), ...options }); - } - - static defaults(): TAnyButton { - return { - ...super.defaults(), - ...SCHEMA.IPublicButton.default, - ...SCHEMA.IProtectedButton.default - }; - } - } - - /** the concrete observable Button */ - export const Button = _HasTraits._traitMeta(_Button); - - if (!ALL['Button']) { - ALL['Button'] = Button; - } else { - console.log('Button is already hoisted', ALL['Button']); - } - - // --- - /** a type for the traits of Controller*/ export type TAnyController = PROTO.ControllerPublic | PROTO.ControllerProtected; @@ -644,6 +616,40 @@ export namespace ipywidgets_widgets_widget_controller { } // --- + + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; + + /** a naive Button + + Represents a gamepad or joystick button. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button + */ + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); + } + + static defaults(): TAnyButton { + return { + ...super.defaults(), + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default + }; + } + } + + /** the concrete observable Button */ + export const Button = _HasTraits._traitMeta(_Button); + + if (!ALL['Button']) { + ALL['Button'] = Button; + } else { + console.log('Button is already hoisted', ALL['Button']); + } + + // --- } // end of ['ipywidgets', 'widgets', 'widget_controller'] export namespace ipywidgets_widgets_widget_core { @@ -683,44 +689,6 @@ export namespace ipywidgets_widgets_widget_core { } // end of ['ipywidgets', 'widgets', 'widget_core'] export namespace ipywidgets_widgets_widget_description { - /** a type for the traits of DescriptionWidget*/ - export type TAnyDescriptionWidget = - | PROTO.DescriptionWidgetPublic - | PROTO.DescriptionWidgetProtected; - - /** a naive DescriptionWidget - - Widget that has a description label to the side. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#DescriptionWidget - */ - export class _DescriptionWidget extends _Widget { - constructor(options: TAnyDescriptionWidget) { - super({ ..._DescriptionWidget.defaults(), ...options }); - } - - static defaults(): TAnyDescriptionWidget { - return { - ...super.defaults(), - ...SCHEMA.IPublicDescriptionWidget.default, - ...SCHEMA.IProtectedDescriptionWidget.default - }; - } - } - - /** the concrete observable DescriptionWidget */ - export const DescriptionWidget = _HasTraits._traitMeta( - _DescriptionWidget - ); - - if (!ALL['DescriptionWidget']) { - ALL['DescriptionWidget'] = DescriptionWidget; - } else { - console.log('DescriptionWidget is already hoisted', ALL['DescriptionWidget']); - } - - // --- - /** a type for the traits of DescriptionStyle*/ export type TAnyDescriptionStyle = | PROTO.DescriptionStylePublic @@ -758,43 +726,47 @@ export namespace ipywidgets_widgets_widget_description { } // --- -} // end of ['ipywidgets', 'widgets', 'widget_description'] -export namespace ipywidgets_widgets_widget_float { - /** a type for the traits of _FloatRange*/ - export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; + /** a type for the traits of DescriptionWidget*/ + export type TAnyDescriptionWidget = + | PROTO.DescriptionWidgetPublic + | PROTO.DescriptionWidgetProtected; - /** a naive _FloatRange + /** a naive DescriptionWidget - None + Widget that has a description label to the side. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_FloatRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#DescriptionWidget */ - export class __FloatRange extends _Widget { - constructor(options: TAny_FloatRange) { - super({ ...__FloatRange.defaults(), ...options }); + export class _DescriptionWidget extends _Widget { + constructor(options: TAnyDescriptionWidget) { + super({ ..._DescriptionWidget.defaults(), ...options }); } - static defaults(): TAny_FloatRange { + static defaults(): TAnyDescriptionWidget { return { ...super.defaults(), - ...SCHEMA.IPublic_FloatRange.default, - ...SCHEMA.IProtected_FloatRange.default + ...SCHEMA.IPublicDescriptionWidget.default, + ...SCHEMA.IProtectedDescriptionWidget.default }; } } - /** the concrete observable _FloatRange */ - export const _FloatRange = _HasTraits._traitMeta(__FloatRange); + /** the concrete observable DescriptionWidget */ + export const DescriptionWidget = _HasTraits._traitMeta( + _DescriptionWidget + ); - if (!ALL['_FloatRange']) { - ALL['_FloatRange'] = _FloatRange; + if (!ALL['DescriptionWidget']) { + ALL['DescriptionWidget'] = DescriptionWidget; } else { - console.log('_FloatRange is already hoisted', ALL['_FloatRange']); + console.log('DescriptionWidget is already hoisted', ALL['DescriptionWidget']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_description'] +export namespace ipywidgets_widgets_widget_float { /** a type for the traits of _BoundedLogFloat*/ export type TAny_BoundedLogFloat = | PROTO._BoundedLogFloatPublic @@ -833,40 +805,62 @@ export namespace ipywidgets_widgets_widget_float { // --- - /** a type for the traits of _BoundedFloatRange*/ - export type TAny_BoundedFloatRange = - | PROTO._BoundedFloatRangePublic - | PROTO._BoundedFloatRangeProtected; + /** a type for the traits of FloatRangeSlider*/ + export type TAnyFloatRangeSlider = + | PROTO.FloatRangeSliderPublic + | PROTO.FloatRangeSliderProtected; - /** a naive _BoundedFloatRange + /** a naive FloatRangeSlider - None + Slider/trackbar that represents a pair of floats bounded by minimum and maximum value. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloatRange + Parameters + ---------- + value : float tuple + range of the slider displayed + min : float + minimal position of the slider + max : float + maximal position of the slider + step : float + step of the trackbar + description : str + name of the slider + orientation : {'horizontal', 'vertical'} + default is 'horizontal' + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.2f', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatRangeSlider */ - export class __BoundedFloatRange extends _Widget { - constructor(options: TAny_BoundedFloatRange) { - super({ ...__BoundedFloatRange.defaults(), ...options }); + export class _FloatRangeSlider extends _Widget { + constructor(options: TAnyFloatRangeSlider) { + super({ ..._FloatRangeSlider.defaults(), ...options }); } - static defaults(): TAny_BoundedFloatRange { + static defaults(): TAnyFloatRangeSlider { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedFloatRange.default, - ...SCHEMA.IProtected_BoundedFloatRange.default + ...SCHEMA.IPublicFloatRangeSlider.default, + ...SCHEMA.IProtectedFloatRangeSlider.default }; } } - /** the concrete observable _BoundedFloatRange */ - export const _BoundedFloatRange = _HasTraits._traitMeta( - __BoundedFloatRange + /** the concrete observable FloatRangeSlider */ + export const FloatRangeSlider = _HasTraits._traitMeta( + _FloatRangeSlider ); - if (!ALL['_BoundedFloatRange']) { - ALL['_BoundedFloatRange'] = _BoundedFloatRange; + if (!ALL['FloatRangeSlider']) { + ALL['FloatRangeSlider'] = FloatRangeSlider; } else { - console.log('_BoundedFloatRange is already hoisted', ALL['_BoundedFloatRange']); + console.log('FloatRangeSlider is already hoisted', ALL['FloatRangeSlider']); } // --- @@ -933,66 +927,6 @@ export namespace ipywidgets_widgets_widget_float { // --- - /** a type for the traits of FloatRangeSlider*/ - export type TAnyFloatRangeSlider = - | PROTO.FloatRangeSliderPublic - | PROTO.FloatRangeSliderProtected; - - /** a naive FloatRangeSlider - - Slider/trackbar that represents a pair of floats bounded by minimum and maximum value. - - Parameters - ---------- - value : float tuple - range of the slider displayed - min : float - minimal position of the slider - max : float - maximal position of the slider - step : float - step of the trackbar - description : str - name of the slider - orientation : {'horizontal', 'vertical'} - default is 'horizontal' - readout : {True, False} - default is True, display the current value of the slider next to it - readout_format : str - default is '.2f', specifier for the format function used to represent - slider value for human consumption, modeled after Python 3's format - specification mini-language (PEP 3101). - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatRangeSlider - */ - export class _FloatRangeSlider extends _Widget { - constructor(options: TAnyFloatRangeSlider) { - super({ ..._FloatRangeSlider.defaults(), ...options }); - } - - static defaults(): TAnyFloatRangeSlider { - return { - ...super.defaults(), - ...SCHEMA.IPublicFloatRangeSlider.default, - ...SCHEMA.IProtectedFloatRangeSlider.default - }; - } - } - - /** the concrete observable FloatRangeSlider */ - export const FloatRangeSlider = _HasTraits._traitMeta( - _FloatRangeSlider - ); - - if (!ALL['FloatRangeSlider']) { - ALL['FloatRangeSlider'] = FloatRangeSlider; - } else { - console.log('FloatRangeSlider is already hoisted', ALL['FloatRangeSlider']); - } - - // --- - /** a type for the traits of FloatText*/ export type TAnyFloatText = PROTO.FloatTextPublic | PROTO.FloatTextProtected; @@ -1254,133 +1188,97 @@ export namespace ipywidgets_widgets_widget_float { static defaults(): TAny_BoundedFloat { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedFloat.default, - ...SCHEMA.IProtected_BoundedFloat.default - }; - } - } - - /** the concrete observable _BoundedFloat */ - export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); - - if (!ALL['_BoundedFloat']) { - ALL['_BoundedFloat'] = _BoundedFloat; - } else { - console.log('_BoundedFloat is already hoisted', ALL['_BoundedFloat']); - } - - // --- -} // end of ['ipywidgets', 'widgets', 'widget_float'] - -export namespace ipywidgets_widgets_widget_int { - /** a type for the traits of IntText*/ - export type TAnyIntText = PROTO.IntTextPublic | PROTO.IntTextProtected; - - /** a naive IntText - - Textbox widget that represents an integer. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntText - */ - export class _IntText extends _Widget { - constructor(options: TAnyIntText) { - super({ ..._IntText.defaults(), ...options }); - } - - static defaults(): TAnyIntText { - return { - ...super.defaults(), - ...SCHEMA.IPublicIntText.default, - ...SCHEMA.IProtectedIntText.default + ...SCHEMA.IPublic_BoundedFloat.default, + ...SCHEMA.IProtected_BoundedFloat.default }; } } - /** the concrete observable IntText */ - export const IntText = _HasTraits._traitMeta(_IntText); + /** the concrete observable _BoundedFloat */ + export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); - if (!ALL['IntText']) { - ALL['IntText'] = IntText; + if (!ALL['_BoundedFloat']) { + ALL['_BoundedFloat'] = _BoundedFloat; } else { - console.log('IntText is already hoisted', ALL['IntText']); + console.log('_BoundedFloat is already hoisted', ALL['_BoundedFloat']); } // --- - /** a type for the traits of ProgressStyle*/ - export type TAnyProgressStyle = - | PROTO.ProgressStylePublic - | PROTO.ProgressStyleProtected; + /** a type for the traits of _FloatRange*/ + export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; - /** a naive ProgressStyle + /** a naive _FloatRange - Button style widget. + None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ProgressStyle + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_FloatRange */ - export class _ProgressStyle extends _Widget { - constructor(options: TAnyProgressStyle) { - super({ ..._ProgressStyle.defaults(), ...options }); + export class __FloatRange extends _Widget { + constructor(options: TAny_FloatRange) { + super({ ...__FloatRange.defaults(), ...options }); } - static defaults(): TAnyProgressStyle { + static defaults(): TAny_FloatRange { return { ...super.defaults(), - ...SCHEMA.IPublicProgressStyle.default, - ...SCHEMA.IProtectedProgressStyle.default + ...SCHEMA.IPublic_FloatRange.default, + ...SCHEMA.IProtected_FloatRange.default }; } } - /** the concrete observable ProgressStyle */ - export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + /** the concrete observable _FloatRange */ + export const _FloatRange = _HasTraits._traitMeta(__FloatRange); - if (!ALL['ProgressStyle']) { - ALL['ProgressStyle'] = ProgressStyle; + if (!ALL['_FloatRange']) { + ALL['_FloatRange'] = _FloatRange; } else { - console.log('ProgressStyle is already hoisted', ALL['ProgressStyle']); + console.log('_FloatRange is already hoisted', ALL['_FloatRange']); } // --- - /** a type for the traits of _BoundedIntRange*/ - export type TAny_BoundedIntRange = - | PROTO._BoundedIntRangePublic - | PROTO._BoundedIntRangeProtected; + /** a type for the traits of _BoundedFloatRange*/ + export type TAny_BoundedFloatRange = + | PROTO._BoundedFloatRangePublic + | PROTO._BoundedFloatRangeProtected; - /** a naive _BoundedIntRange + /** a naive _BoundedFloatRange None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedIntRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloatRange */ - export class __BoundedIntRange extends _Widget { - constructor(options: TAny_BoundedIntRange) { - super({ ...__BoundedIntRange.defaults(), ...options }); + export class __BoundedFloatRange extends _Widget { + constructor(options: TAny_BoundedFloatRange) { + super({ ...__BoundedFloatRange.defaults(), ...options }); } - static defaults(): TAny_BoundedIntRange { + static defaults(): TAny_BoundedFloatRange { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedIntRange.default, - ...SCHEMA.IProtected_BoundedIntRange.default + ...SCHEMA.IPublic_BoundedFloatRange.default, + ...SCHEMA.IProtected_BoundedFloatRange.default }; } } - /** the concrete observable _BoundedIntRange */ - export const _BoundedIntRange = _HasTraits._traitMeta( - __BoundedIntRange + /** the concrete observable _BoundedFloatRange */ + export const _BoundedFloatRange = _HasTraits._traitMeta( + __BoundedFloatRange ); - if (!ALL['_BoundedIntRange']) { - ALL['_BoundedIntRange'] = _BoundedIntRange; + if (!ALL['_BoundedFloatRange']) { + ALL['_BoundedFloatRange'] = _BoundedFloatRange; } else { - console.log('_BoundedIntRange is already hoisted', ALL['_BoundedIntRange']); + console.log('_BoundedFloatRange is already hoisted', ALL['_BoundedFloatRange']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_float'] +export namespace ipywidgets_widgets_widget_int { /** a type for the traits of IntProgress*/ export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; @@ -1533,70 +1431,70 @@ export namespace ipywidgets_widgets_widget_int { // --- - /** a type for the traits of SliderStyle*/ - export type TAnySliderStyle = PROTO.SliderStylePublic | PROTO.SliderStyleProtected; + /** a type for the traits of _IntRange*/ + export type TAny_IntRange = PROTO._IntRangePublic | PROTO._IntRangeProtected; - /** a naive SliderStyle + /** a naive _IntRange - Button style widget. + None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#SliderStyle + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_IntRange */ - export class _SliderStyle extends _Widget { - constructor(options: TAnySliderStyle) { - super({ ..._SliderStyle.defaults(), ...options }); + export class __IntRange extends _Widget { + constructor(options: TAny_IntRange) { + super({ ...__IntRange.defaults(), ...options }); } - static defaults(): TAnySliderStyle { + static defaults(): TAny_IntRange { return { ...super.defaults(), - ...SCHEMA.IPublicSliderStyle.default, - ...SCHEMA.IProtectedSliderStyle.default + ...SCHEMA.IPublic_IntRange.default, + ...SCHEMA.IProtected_IntRange.default }; } } - /** the concrete observable SliderStyle */ - export const SliderStyle = _HasTraits._traitMeta(_SliderStyle); + /** the concrete observable _IntRange */ + export const _IntRange = _HasTraits._traitMeta(__IntRange); - if (!ALL['SliderStyle']) { - ALL['SliderStyle'] = SliderStyle; + if (!ALL['_IntRange']) { + ALL['_IntRange'] = _IntRange; } else { - console.log('SliderStyle is already hoisted', ALL['SliderStyle']); + console.log('_IntRange is already hoisted', ALL['_IntRange']); } // --- - /** a type for the traits of _IntRange*/ - export type TAny_IntRange = PROTO._IntRangePublic | PROTO._IntRangeProtected; + /** a type for the traits of SliderStyle*/ + export type TAnySliderStyle = PROTO.SliderStylePublic | PROTO.SliderStyleProtected; - /** a naive _IntRange + /** a naive SliderStyle - None + Button style widget. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_IntRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#SliderStyle */ - export class __IntRange extends _Widget { - constructor(options: TAny_IntRange) { - super({ ...__IntRange.defaults(), ...options }); + export class _SliderStyle extends _Widget { + constructor(options: TAnySliderStyle) { + super({ ..._SliderStyle.defaults(), ...options }); } - static defaults(): TAny_IntRange { + static defaults(): TAnySliderStyle { return { ...super.defaults(), - ...SCHEMA.IPublic_IntRange.default, - ...SCHEMA.IProtected_IntRange.default + ...SCHEMA.IPublicSliderStyle.default, + ...SCHEMA.IProtectedSliderStyle.default }; } } - /** the concrete observable _IntRange */ - export const _IntRange = _HasTraits._traitMeta(__IntRange); + /** the concrete observable SliderStyle */ + export const SliderStyle = _HasTraits._traitMeta(_SliderStyle); - if (!ALL['_IntRange']) { - ALL['_IntRange'] = _IntRange; + if (!ALL['SliderStyle']) { + ALL['SliderStyle'] = SliderStyle; } else { - console.log('_IntRange is already hoisted', ALL['_IntRange']); + console.log('SliderStyle is already hoisted', ALL['SliderStyle']); } // --- @@ -1681,31 +1579,139 @@ export namespace ipywidgets_widgets_widget_int { Textbox widget that represents an integer bounded from above and below. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedIntText + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedIntText + */ + export class _BoundedIntText extends _Widget { + constructor(options: TAnyBoundedIntText) { + super({ ..._BoundedIntText.defaults(), ...options }); + } + + static defaults(): TAnyBoundedIntText { + return { + ...super.defaults(), + ...SCHEMA.IPublicBoundedIntText.default, + ...SCHEMA.IProtectedBoundedIntText.default + }; + } + } + + /** the concrete observable BoundedIntText */ + export const BoundedIntText = _HasTraits._traitMeta( + _BoundedIntText + ); + + if (!ALL['BoundedIntText']) { + ALL['BoundedIntText'] = BoundedIntText; + } else { + console.log('BoundedIntText is already hoisted', ALL['BoundedIntText']); + } + + // --- + + /** a type for the traits of IntText*/ + export type TAnyIntText = PROTO.IntTextPublic | PROTO.IntTextProtected; + + /** a naive IntText + + Textbox widget that represents an integer. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntText + */ + export class _IntText extends _Widget { + constructor(options: TAnyIntText) { + super({ ..._IntText.defaults(), ...options }); + } + + static defaults(): TAnyIntText { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntText.default, + ...SCHEMA.IProtectedIntText.default + }; + } + } + + /** the concrete observable IntText */ + export const IntText = _HasTraits._traitMeta(_IntText); + + if (!ALL['IntText']) { + ALL['IntText'] = IntText; + } else { + console.log('IntText is already hoisted', ALL['IntText']); + } + + // --- + + /** a type for the traits of ProgressStyle*/ + export type TAnyProgressStyle = + | PROTO.ProgressStylePublic + | PROTO.ProgressStyleProtected; + + /** a naive ProgressStyle + + Button style widget. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ProgressStyle + */ + export class _ProgressStyle extends _Widget { + constructor(options: TAnyProgressStyle) { + super({ ..._ProgressStyle.defaults(), ...options }); + } + + static defaults(): TAnyProgressStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicProgressStyle.default, + ...SCHEMA.IProtectedProgressStyle.default + }; + } + } + + /** the concrete observable ProgressStyle */ + export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + + if (!ALL['ProgressStyle']) { + ALL['ProgressStyle'] = ProgressStyle; + } else { + console.log('ProgressStyle is already hoisted', ALL['ProgressStyle']); + } + + // --- + + /** a type for the traits of _BoundedIntRange*/ + export type TAny_BoundedIntRange = + | PROTO._BoundedIntRangePublic + | PROTO._BoundedIntRangeProtected; + + /** a naive _BoundedIntRange + + None + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedIntRange */ - export class _BoundedIntText extends _Widget { - constructor(options: TAnyBoundedIntText) { - super({ ..._BoundedIntText.defaults(), ...options }); + export class __BoundedIntRange extends _Widget { + constructor(options: TAny_BoundedIntRange) { + super({ ...__BoundedIntRange.defaults(), ...options }); } - static defaults(): TAnyBoundedIntText { + static defaults(): TAny_BoundedIntRange { return { ...super.defaults(), - ...SCHEMA.IPublicBoundedIntText.default, - ...SCHEMA.IProtectedBoundedIntText.default + ...SCHEMA.IPublic_BoundedIntRange.default, + ...SCHEMA.IProtected_BoundedIntRange.default }; } } - /** the concrete observable BoundedIntText */ - export const BoundedIntText = _HasTraits._traitMeta( - _BoundedIntText + /** the concrete observable _BoundedIntRange */ + export const _BoundedIntRange = _HasTraits._traitMeta( + __BoundedIntRange ); - if (!ALL['BoundedIntText']) { - ALL['BoundedIntText'] = BoundedIntText; + if (!ALL['_BoundedIntRange']) { + ALL['_BoundedIntRange'] = _BoundedIntRange; } else { - console.log('BoundedIntText is already hoisted', ALL['BoundedIntText']); + console.log('_BoundedIntRange is already hoisted', ALL['_BoundedIntRange']); } // --- @@ -1760,49 +1766,6 @@ export namespace ipywidgets_widgets_widget_layout { } // end of ['ipywidgets', 'widgets', 'widget_layout'] export namespace ipywidgets_widgets_widget_media { - /** a type for the traits of Video*/ - export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; - - /** a naive Video - - Displays a video as a widget. - - The `value` of this widget accepts a byte string. The byte string is the - raw video data that you want the browser to display. You can explicitly - define the format of the byte string using the `format` trait (which - defaults to "mp4"). - - If you pass `"url"` to the `"format"` trait, `value` will be interpreted - as a URL as bytes encoded in UTF-8. - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Video - */ - export class _Video extends _Widget { - constructor(options: TAnyVideo) { - super({ ..._Video.defaults(), ...options }); - } - - static defaults(): TAnyVideo { - return { - ...super.defaults(), - ...SCHEMA.IPublicVideo.default, - ...SCHEMA.IProtectedVideo.default - }; - } - } - - /** the concrete observable Video */ - export const Video = _HasTraits._traitMeta(_Video); - - if (!ALL['Video']) { - ALL['Video'] = Video; - } else { - console.log('Video is already hoisted', ALL['Video']); - } - - // --- - /** a type for the traits of _Media*/ export type TAny_Media = PROTO._MediaPublic | PROTO._MediaProtected; @@ -1929,6 +1892,49 @@ export namespace ipywidgets_widgets_widget_media { } // --- + + /** a type for the traits of Video*/ + export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; + + /** a naive Video + + Displays a video as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw video data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "mp4"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Video + */ + export class _Video extends _Widget { + constructor(options: TAnyVideo) { + super({ ..._Video.defaults(), ...options }); + } + + static defaults(): TAnyVideo { + return { + ...super.defaults(), + ...SCHEMA.IPublicVideo.default, + ...SCHEMA.IProtectedVideo.default + }; + } + } + + /** the concrete observable Video */ + export const Video = _HasTraits._traitMeta(_Video); + + if (!ALL['Video']) { + ALL['Video'] = Video; + } else { + console.log('Video is already hoisted', ALL['Video']); + } + + // --- } // end of ['ipywidgets', 'widgets', 'widget_media'] export namespace ipywidgets_widgets_widget_output { @@ -2283,78 +2289,6 @@ export namespace ipywidgets_widgets_widget_selectioncontainer { } // end of ['ipywidgets', 'widgets', 'widget_selectioncontainer'] export namespace ipywidgets_widgets_widget_string { - /** a type for the traits of HTMLMath*/ - export type TAnyHTMLMath = PROTO.HTMLMathPublic | PROTO.HTMLMathProtected; - - /** a naive HTMLMath - - Renders the string `value` as HTML, and render mathematics. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTMLMath - */ - export class _HTMLMath extends _Widget { - constructor(options: TAnyHTMLMath) { - super({ ..._HTMLMath.defaults(), ...options }); - } - - static defaults(): TAnyHTMLMath { - return { - ...super.defaults(), - ...SCHEMA.IPublicHTMLMath.default, - ...SCHEMA.IProtectedHTMLMath.default - }; - } - } - - /** the concrete observable HTMLMath */ - export const HTMLMath = _HasTraits._traitMeta(_HTMLMath); - - if (!ALL['HTMLMath']) { - ALL['HTMLMath'] = HTMLMath; - } else { - console.log('HTMLMath is already hoisted', ALL['HTMLMath']); - } - - // --- - - /** a type for the traits of Label*/ - export type TAnyLabel = PROTO.LabelPublic | PROTO.LabelProtected; - - /** a naive Label - - Label widget. - - It also renders math inside the string `value` as Latex (requires $ $ or - $$ $$ and similar latex tags). - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Label - */ - export class _Label extends _Widget { - constructor(options: TAnyLabel) { - super({ ..._Label.defaults(), ...options }); - } - - static defaults(): TAnyLabel { - return { - ...super.defaults(), - ...SCHEMA.IPublicLabel.default, - ...SCHEMA.IProtectedLabel.default - }; - } - } - - /** the concrete observable Label */ - export const Label = _HasTraits._traitMeta(_Label); - - if (!ALL['Label']) { - ALL['Label'] = Label; - } else { - console.log('Label is already hoisted', ALL['Label']); - } - - // --- - /** a type for the traits of Textarea*/ export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; @@ -2559,6 +2493,78 @@ export namespace ipywidgets_widgets_widget_string { } // --- + + /** a type for the traits of HTMLMath*/ + export type TAnyHTMLMath = PROTO.HTMLMathPublic | PROTO.HTMLMathProtected; + + /** a naive HTMLMath + + Renders the string `value` as HTML, and render mathematics. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTMLMath + */ + export class _HTMLMath extends _Widget { + constructor(options: TAnyHTMLMath) { + super({ ..._HTMLMath.defaults(), ...options }); + } + + static defaults(): TAnyHTMLMath { + return { + ...super.defaults(), + ...SCHEMA.IPublicHTMLMath.default, + ...SCHEMA.IProtectedHTMLMath.default + }; + } + } + + /** the concrete observable HTMLMath */ + export const HTMLMath = _HasTraits._traitMeta(_HTMLMath); + + if (!ALL['HTMLMath']) { + ALL['HTMLMath'] = HTMLMath; + } else { + console.log('HTMLMath is already hoisted', ALL['HTMLMath']); + } + + // --- + + /** a type for the traits of Label*/ + export type TAnyLabel = PROTO.LabelPublic | PROTO.LabelProtected; + + /** a naive Label + + Label widget. + + It also renders math inside the string `value` as Latex (requires $ $ or + $$ $$ and similar latex tags). + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Label + */ + export class _Label extends _Widget { + constructor(options: TAnyLabel) { + super({ ..._Label.defaults(), ...options }); + } + + static defaults(): TAnyLabel { + return { + ...super.defaults(), + ...SCHEMA.IPublicLabel.default, + ...SCHEMA.IProtectedLabel.default + }; + } + } + + /** the concrete observable Label */ + export const Label = _HasTraits._traitMeta(_Label); + + if (!ALL['Label']) { + ALL['Label'] = Label; + } else { + console.log('Label is already hoisted', ALL['Label']); + } + + // --- } // end of ['ipywidgets', 'widgets', 'widget_string'] export namespace ipywidgets_widgets_widget_style { diff --git a/packages/kernel/src/_schema_widgets.d.ts b/packages/kernel/src/_schema_widgets.d.ts index 20937f912..8278be96e 100644 --- a/packages/kernel/src/_schema_widgets.d.ts +++ b/packages/kernel/src/_schema_widgets.d.ts @@ -4,142 +4,142 @@ export type AnyWidget = APublicWidget | AProtectedWidget; export type APublicWidget = - | HTMLMathPublic - | ButtonPublic - | IntTextPublic - | DescriptionWidgetPublic - | ProgressStylePublic - | _FloatRangePublic - | LabelPublic | GridBoxPublic - | StylePublic - | _BoundedIntRangePublic - | VideoPublic | _BoundedLogFloatPublic - | _BoolPublic - | ValidPublic - | IntProgressPublic - | _BoundedFloatRangePublic - | WidgetPublic | TwoByTwoLayoutPublic - | FloatLogSliderPublic + | _BoolPublic | AppLayoutPublic | AccordionPublic + | ValidPublic + | IntProgressPublic | FloatRangeSliderPublic - | BoxPublic - | IntRangeSliderPublic + | FloatLogSliderPublic + | LayoutPublic | TextareaPublic - | _BoundedIntPublic - | ColorPickerPublic | _SelectionContainerPublic - | FloatTextPublic | TabPublic - | LayoutPublic - | CheckboxPublic + | IntRangeSliderPublic + | _BoundedIntPublic + | FloatTextPublic | ControllerPublic - | _IntPublic - | BoundedFloatTextPublic + | ColorPickerPublic | _StringPublic | _MediaPublic + | BoxPublic + | CheckboxPublic + | OutputPublic + | _IntPublic + | BoundedFloatTextPublic + | AxisPublic + | SelectMultiplePublic + | HTMLPublic | CoreWidgetPublic - | SliderStylePublic + | ToggleButtonsStylePublic | _IntRangePublic + | SliderStylePublic | FloatProgressPublic - | AxisPublic - | OutputPublic - | HTMLPublic - | SelectMultiplePublic - | DescriptionStylePublic + | TextPublic | IntSliderPublic - | VBoxPublic - | ToggleButtonsStylePublic - | ButtonStylePublic + | AudioPublic + | DescriptionStylePublic | _FloatPublic | PlayPublic - | AudioPublic - | TextPublic - | BoundedIntTextPublic - | ToggleButtonPublic - | FloatSliderPublic + | VBoxPublic + | ButtonStylePublic | ImagePublic - | _MultipleSelectionPublic | PasswordPublic | FileUploadPublic + | BoundedIntTextPublic + | DOMWidgetPublic + | FloatSliderPublic + | ToggleButtonPublic + | ComboboxPublic | HBoxPublic + | HTMLMathPublic | _BoundedFloatPublic - | DOMWidgetPublic - | ComboboxPublic; + | _FloatRangePublic + | ButtonPublic + | _MultipleSelectionPublic + | StylePublic + | IntTextPublic + | LabelPublic + | VideoPublic + | DescriptionWidgetPublic + | ProgressStylePublic + | WidgetPublic + | _BoundedFloatRangePublic + | _BoundedIntRangePublic; export type AProtectedWidget = - | HTMLMathProtected - | ButtonProtected - | IntTextProtected - | DescriptionWidgetProtected - | ProgressStyleProtected - | _FloatRangeProtected - | LabelProtected | GridBoxProtected - | StyleProtected - | _BoundedIntRangeProtected - | VideoProtected | _BoundedLogFloatProtected - | _BoolProtected - | ValidProtected - | IntProgressProtected - | _BoundedFloatRangeProtected - | WidgetProtected | TwoByTwoLayoutProtected - | FloatLogSliderProtected + | _BoolProtected | AppLayoutProtected | AccordionProtected + | ValidProtected + | IntProgressProtected | FloatRangeSliderProtected - | BoxProtected - | IntRangeSliderProtected + | FloatLogSliderProtected + | LayoutProtected | TextareaProtected - | _BoundedIntProtected - | ColorPickerProtected | _SelectionContainerProtected - | FloatTextProtected | TabProtected - | LayoutProtected - | CheckboxProtected + | IntRangeSliderProtected + | _BoundedIntProtected + | FloatTextProtected | ControllerProtected - | _IntProtected - | BoundedFloatTextProtected + | ColorPickerProtected | _StringProtected | _MediaProtected + | BoxProtected + | CheckboxProtected + | OutputProtected + | _IntProtected + | BoundedFloatTextProtected + | AxisProtected + | SelectMultipleProtected + | HTMLProtected | CoreWidgetProtected - | SliderStyleProtected + | ToggleButtonsStyleProtected | _IntRangeProtected + | SliderStyleProtected | FloatProgressProtected - | AxisProtected - | OutputProtected - | HTMLProtected - | SelectMultipleProtected - | DescriptionStyleProtected + | TextProtected | IntSliderProtected - | VBoxProtected - | ToggleButtonsStyleProtected - | ButtonStyleProtected + | AudioProtected + | DescriptionStyleProtected | _FloatProtected | PlayProtected - | AudioProtected - | TextProtected - | BoundedIntTextProtected - | ToggleButtonProtected - | FloatSliderProtected + | VBoxProtected + | ButtonStyleProtected | ImageProtected - | _MultipleSelectionProtected | PasswordProtected | FileUploadProtected + | BoundedIntTextProtected + | DOMWidgetProtected + | FloatSliderProtected + | ToggleButtonProtected + | ComboboxProtected | HBoxProtected + | HTMLMathProtected | _BoundedFloatProtected - | DOMWidgetProtected - | ComboboxProtected; + | _FloatRangeProtected + | ButtonProtected + | _MultipleSelectionProtected + | StyleProtected + | IntTextProtected + | LabelProtected + | VideoProtected + | DescriptionWidgetProtected + | ProgressStyleProtected + | WidgetProtected + | _BoundedFloatRangeProtected + | _BoundedIntRangeProtected; /** - * The public API for HTMLMath + * The public API for GridBox */ -export interface HTMLMathPublic { +export interface GridBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -152,23 +152,18 @@ export interface HTMLMathPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Placeholder text to display when nothing has been typed + * Use a predefined styling for the box. */ - placeholder: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * String value + * List of widget children */ - value: string; + children: unknown[]; } /** - * The public API for Button + * The public API for _BoundedLogFloat */ -export interface ButtonPublic { +export interface _BoundedLogFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -179,20 +174,33 @@ export interface ButtonPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; + /** + * Base of value + */ + base: number; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; /** - * Whether the button is pressed. + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent */ - pressed: boolean; + min: number; /** - * The value of the button. + * Float value */ value: number; } /** - * The public API for IntText + * The public API for TwoByTwoLayout */ -export interface IntTextPublic { +export interface TwoByTwoLayoutPublic { /** * CSS classes applied to widget DOM element */ @@ -205,31 +213,18 @@ export interface IntTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Minimum step to increment the value + * Use a predefined styling for the box. */ - step: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Int value + * List of widget children */ - value: number; + children: unknown[]; } /** - * The public API for DescriptionWidget + * The public API for _Bool */ -export interface DescriptionWidgetPublic { +export interface _BoolPublic { /** * CSS classes applied to widget DOM element */ @@ -246,11 +241,23 @@ export interface DescriptionWidgetPublic { */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The public API for ProgressStyle + * The public API for AppLayout */ -export interface ProgressStylePublic { +export interface AppLayoutPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -259,14 +266,18 @@ export interface ProgressStylePublic { _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. + * Use a predefined styling for the box. */ - description_width: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; } /** - * The public API for _FloatRange + * The public API for Accordion */ -export interface _FloatRangePublic { +export interface AccordionPublic { /** * CSS classes applied to widget DOM element */ @@ -274,62 +285,12 @@ export interface _FloatRangePublic { _model_module: string; _model_module_version: string; _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; /** - * Tuple of (lower, upper) bounds + * Titles of the pages */ - value: { + _titles: { [k: string]: unknown; - }[]; -} -/** - * The public API for Label - */ -export interface LabelPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value - */ - value: string; -} -/** - * The public API for GridBox - */ -export interface GridBoxPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; + }; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -342,29 +303,12 @@ export interface GridBoxPublic { * List of widget children */ children: unknown[]; + selected_index: number | null; } /** - * The public API for Style - */ -export interface StylePublic { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; -} -/** - * The public API for _BoundedIntRange + * The public API for Valid */ -export interface _BoundedIntRangePublic { +export interface ValidPublic { /** * CSS classes applied to widget DOM element */ @@ -375,31 +319,29 @@ export interface _BoundedIntRangePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes. */ - max: number; + disabled: boolean; /** - * Min value + * Message displayed when the value is False */ - min: number; + readout: string; /** - * Tuple of (lower, upper) bounds + * Bool value */ - value: { - [k: string]: unknown; - }[]; + value: boolean; } /** - * The public API for Video + * The public API for IntProgress */ -export interface VideoPublic { +export interface IntProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -412,71 +354,35 @@ export interface VideoPublic { _view_module_version: string; _view_name: string; /** - * When true, the video starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the video. - */ - format: string; - /** - * Height of the video in pixels. - */ - height: string; - /** - * When true, the video will start from the beginning after finishing - */ - loop: boolean; - /** - * Width of the video in pixels. - */ - width: string; -} -/** - * The public API for _BoundedLogFloat - */ -export interface _BoundedLogFloatPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Base of value + * Use a predefined styling for the progess bar. */ - base: number; + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value for the exponent + * Max value */ max: number; /** - * Min value for the exponent + * Min value */ min: number; /** - * Float value + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Int value */ value: number; } /** - * The public API for _Bool + * The public API for FloatRangeSlider */ -export interface _BoolPublic { +export interface FloatRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -487,58 +393,51 @@ export interface _BoolPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Bool value + * Max value */ - value: boolean; -} -/** - * The public API for Valid - */ -export interface ValidPublic { + max: number; /** - * CSS classes applied to widget DOM element + * Min value */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + min: number; /** - * Description of the control. + * Vertical or horizontal. */ - description: string; - description_tooltip: string | null; + orientation: 'horizontal' | 'vertical'; /** - * Enable or disable user changes. + * Display the current value of the slider next to it. */ - disabled: boolean; + readout: boolean; /** - * Message displayed when the value is False + * Minimum step to increment the value */ - readout: string; + step: number; /** - * Bool value + * Tuple of (lower, upper) bounds */ - value: boolean; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for IntProgress + * The public API for FloatLogSlider */ -export interface IntProgressPublic { +export interface FloatLogSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -551,20 +450,28 @@ export interface IntProgressPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the progess bar. + * Base for the logarithm */ - bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; + base: number; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value for the exponent */ max: number; /** - * Min value + * Min value for the exponent */ min: number; /** @@ -572,101 +479,141 @@ export interface IntProgressPublic { */ orientation: 'horizontal' | 'vertical'; /** - * Int value + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; + /** + * Float value */ value: number; } /** - * The public API for _BoundedFloatRange + * The public API for Layout */ -export interface _BoundedFloatRangePublic { +export interface LayoutPublic { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Minimum step that the value can take (ignored by some views) - */ - step: number; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The public API for Widget - */ -export interface WidgetPublic { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - /** - * Name of the model. - */ - _model_name: string; - _view_count: number | null; - _view_module: string | null; - /** - * A semver requirement for the namespace version containing the view. - */ - _view_module_version: string; - _view_name: string | null; -} -/** - * The public API for TwoByTwoLayout - */ -export interface TwoByTwoLayoutPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; } /** - * The public API for FloatLogSlider + * The public API for Textarea */ -export interface FloatLogSliderPublic { +export interface TextareaPublic { /** * CSS classes applied to widget DOM element */ @@ -679,11 +626,7 @@ export interface FloatLogSliderPublic { _view_module_version: string; _view_name: string; /** - * Base for the logarithm - */ - base: number; - /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -696,34 +639,19 @@ export interface FloatLogSliderPublic { */ disabled: boolean; /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step in the exponent to increment the value + * Placeholder text to display when nothing has been typed */ - step: number; + placeholder: string; + rows: number | null; /** - * Float value + * String value */ - value: number; + value: string; } /** - * The public API for AppLayout + * The public API for _SelectionContainer */ -export interface AppLayoutPublic { +export interface _SelectionContainerPublic { /** * CSS classes applied to widget DOM element */ @@ -731,6 +659,12 @@ export interface AppLayoutPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -743,11 +677,12 @@ export interface AppLayoutPublic { * List of widget children */ children: unknown[]; + selected_index: number | null; } /** - * The public API for Accordion + * The public API for Tab */ -export interface AccordionPublic { +export interface TabPublic { /** * CSS classes applied to widget DOM element */ @@ -776,9 +711,9 @@ export interface AccordionPublic { selected_index: number | null; } /** - * The public API for FloatRangeSlider + * The public API for IntRangeSlider */ -export interface FloatRangeSliderPublic { +export interface IntRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -820,7 +755,7 @@ export interface FloatRangeSliderPublic { */ readout: boolean; /** - * Minimum step to increment the value + * Minimum step that the value can take */ step: number; /** @@ -831,9 +766,9 @@ export interface FloatRangeSliderPublic { }[]; } /** - * The public API for Box + * The public API for _BoundedInt */ -export interface BoxPublic { +export interface _BoundedIntPublic { /** * CSS classes applied to widget DOM element */ @@ -844,20 +779,29 @@ export interface BoxPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Max value */ - children: unknown[]; + max: number; + /** + * Min value + */ + min: number; + /** + * Int value + */ + value: number; } /** - * The public API for IntRangeSlider + * The public API for FloatText */ -export interface IntRangeSliderPublic { +export interface FloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -870,7 +814,7 @@ export interface IntRangeSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -882,37 +826,60 @@ export interface IntRangeSliderPublic { * Enable or disable user changes */ disabled: boolean; + step: number | null; /** - * Max value + * Float value */ - max: number; + value: number; +} +/** + * The public API for Controller + */ +export interface ControllerPublic { /** - * Min value + * CSS classes applied to widget DOM element */ - min: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Vertical or horizontal. + * The axes on the gamepad. */ - orientation: 'horizontal' | 'vertical'; + axes: unknown[]; /** - * Display the current value of the slider next to it. + * The buttons on the gamepad. */ - readout: boolean; + buttons: unknown[]; /** - * Minimum step that the value can take + * Whether the gamepad is connected. */ - step: number; + connected: boolean; /** - * Tuple of (lower, upper) bounds + * The id number of the controller. */ - value: { - [k: string]: unknown; - }[]; + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; } /** - * The public API for Textarea + * The public API for ColorPicker */ -export interface TextareaPublic { +export interface ColorPickerPublic { /** * CSS classes applied to widget DOM element */ @@ -925,32 +892,27 @@ export interface TextareaPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Display short version with just a color selector. */ - continuous_update: boolean; + concise: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - rows: number | null; - /** - * String value + * The color value. */ value: string; } /** - * The public API for _BoundedInt + * The public API for _String */ -export interface _BoundedIntPublic { +export interface _StringPublic { /** * CSS classes applied to widget DOM element */ @@ -968,22 +930,34 @@ export interface _BoundedIntPublic { description: string; description_tooltip: string | null; /** - * Max value + * Placeholder text to display when nothing has been typed */ - max: number; + placeholder: string; /** - * Min value + * String value */ - min: number; + value: string; +} +/** + * The public API for _Media + */ +export interface _MediaPublic { /** - * Int value + * CSS classes applied to widget DOM element */ - value: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; } /** - * The public API for ColorPicker + * The public API for Box */ -export interface ColorPickerPublic { +export interface BoxPublic { /** * CSS classes applied to widget DOM element */ @@ -996,9 +970,29 @@ export interface ColorPickerPublic { _view_module_version: string; _view_name: string; /** - * Display short version with just a color selector. + * Use a predefined styling for the box. */ - concise: boolean; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The public API for Checkbox + */ +export interface CheckboxPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** * Description of the control. */ @@ -1009,14 +1003,18 @@ export interface ColorPickerPublic { */ disabled: boolean; /** - * The color value. + * Indent the control to align with other controls with a description. */ - value: string; + indent: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The public API for _SelectionContainer + * The public API for Output */ -export interface _SelectionContainerPublic { +export interface OutputPublic { /** * CSS classes applied to widget DOM element */ @@ -1024,30 +1022,50 @@ export interface _SelectionContainerPublic { _model_module: string; _model_module_version: string; _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Titles of the pages + * Parent message id of messages to capture */ - _titles: { + msg_id: string; + /** + * The output messages synced from the frontend. + */ + outputs: { [k: string]: unknown; - }; + }[]; +} +/** + * The public API for _Int + */ +export interface _IntPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Int value */ - children: unknown[]; - selected_index: number | null; + value: number; } /** - * The public API for FloatText + * The public API for BoundedFloatText */ -export interface FloatTextPublic { +export interface BoundedFloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1072,6 +1090,14 @@ export interface FloatTextPublic { * Enable or disable user changes */ disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; step: number | null; /** * Float value @@ -1079,9 +1105,9 @@ export interface FloatTextPublic { value: number; } /** - * The public API for Tab + * The public API for Axis */ -export interface TabPublic { +export interface AxisPublic { /** * CSS classes applied to widget DOM element */ @@ -1089,153 +1115,60 @@ export interface TabPublic { _model_module: string; _model_module_version: string; _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Titles of the pages + * The value of the axis. */ - _titles: { - [k: string]: unknown; - }; + value: number; +} +/** + * The public API for SelectMultiple + */ +export interface SelectMultiplePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Enable or disable user changes */ - children: unknown[]; - selected_index: number | null; + disabled: boolean; + /** + * Selected indices + */ + index: number[]; + /** + * The number of rows to display. + */ + rows: number; } /** - * The public API for Layout + * The public API for HTML */ -export interface LayoutPublic { +export interface HTMLPublic { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; -} -/** - * The public API for Checkbox - */ -export interface CheckboxPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -1249,26 +1182,33 @@ export interface CheckboxPublic { description: string; description_tooltip: string | null; /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Indent the control to align with other controls with a description. + * Placeholder text to display when nothing has been typed */ - indent: boolean; + placeholder: string; /** - * Bool value + * String value */ - value: boolean; + value: string; } /** - * The public API for Controller + * The public API for CoreWidget */ -export interface ControllerPublic { +export interface CoreWidgetPublic { + _model_module: string; + _model_module_version: string; /** - * CSS classes applied to widget DOM element + * Name of the model. */ - _dom_classes: string[]; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for ToggleButtonsStyle + */ +export interface ToggleButtonsStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1277,38 +1217,22 @@ export interface ControllerPublic { _view_module_version: string; _view_name: string; /** - * The axes on the gamepad. - */ - axes: unknown[]; - /** - * The buttons on the gamepad. - */ - buttons: unknown[]; - /** - * Whether the gamepad is connected. - */ - connected: boolean; - /** - * The id number of the controller. - */ - index: number; - /** - * The name of the control mapping. + * The width of each button. */ - mapping: string; + button_width: string; /** - * The name of the controller. + * Width of the description to the side of the control. */ - name: string; + description_width: string; /** - * The last time the data from this gamepad was updated. + * Text font weight of each button. */ - timestamp: number; + font_weight: string; } /** - * The public API for _Int + * The public API for _IntRange */ -export interface _IntPublic { +export interface _IntRangePublic { /** * CSS classes applied to widget DOM element */ @@ -1326,14 +1250,32 @@ export interface _IntPublic { description: string; description_tooltip: string | null; /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for BoundedFloatText + * The public API for SliderStyle */ -export interface BoundedFloatTextPublic { +export interface SliderStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The public API for FloatProgress + */ +export interface FloatProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -1345,19 +1287,12 @@ export interface BoundedFloatTextPublic { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -1366,16 +1301,19 @@ export interface BoundedFloatTextPublic { * Min value */ min: number; - step: number | null; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; /** * Float value */ value: number; } /** - * The public API for _String + * The public API for Text */ -export interface _StringPublic { +export interface TextPublic { /** * CSS classes applied to widget DOM element */ @@ -1386,12 +1324,20 @@ export interface _StringPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Placeholder text to display when nothing has been typed */ @@ -1402,9 +1348,9 @@ export interface _StringPublic { value: string; } /** - * The public API for _Media + * The public API for IntSlider */ -export interface _MediaPublic { +export interface IntSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1415,87 +1361,20 @@ export interface _MediaPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; -} -/** - * The public API for CoreWidget - */ -export interface CoreWidgetPublic { - _model_module: string; - _model_module_version: string; + _view_name: string; /** - * Name of the model. + * Update the value of the widget as the user is holding the slider. */ - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The public API for SliderStyle - */ -export interface SliderStylePublic { - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + continuous_update: boolean; /** - * Width of the description to the side of the control. + * Description of the control. */ - description_width: string; -} -/** - * The public API for _IntRange - */ -export interface _IntRangePublic { + description: string; + description_tooltip: string | null; /** - * CSS classes applied to widget DOM element + * Enable or disable user changes */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The public API for FloatProgress - */ -export interface FloatProgressPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; + disabled: boolean; /** * Max value */ @@ -1509,34 +1388,22 @@ export interface FloatProgressPublic { */ orientation: 'horizontal' | 'vertical'; /** - * Float value + * Display the current value of the slider next to it. */ - value: number; -} -/** - * The public API for Axis - */ -export interface AxisPublic { + readout: boolean; /** - * CSS classes applied to widget DOM element + * Minimum step to increment the value */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + step: number; /** - * The value of the axis. + * Int value */ value: number; } /** - * The public API for Output + * The public API for Audio */ -export interface OutputPublic { +export interface AudioPublic { /** * CSS classes applied to widget DOM element */ @@ -1549,24 +1416,26 @@ export interface OutputPublic { _view_module_version: string; _view_name: string; /** - * Parent message id of messages to capture + * When true, the audio starts when it's displayed */ - msg_id: string; + autoplay: boolean; /** - * The output messages synced from the frontend. + * Specifies that audio controls should be displayed (such as a play/pause button etc) */ - outputs: { - [k: string]: unknown; - }[]; + controls: boolean; + /** + * The format of the audio. + */ + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; } /** - * The public API for HTML + * The public API for DescriptionStyle */ -export interface HTMLPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface DescriptionStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1575,23 +1444,14 @@ export interface HTMLPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Width of the description to the side of the control. */ - value: string; + description_width: string; } /** - * The public API for SelectMultiple + * The public API for _Float */ -export interface SelectMultiplePublic { +export interface _FloatPublic { /** * CSS classes applied to widget DOM element */ @@ -1599,52 +1459,24 @@ export interface SelectMultiplePublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Selected indices - */ - index: number[]; - /** - * The number of rows to display. - */ - rows: number; -} -/** - * The public API for DescriptionStyle - */ -export interface DescriptionStylePublic { - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Width of the description to the side of the control. + * Float value */ - description_width: string; + value: number; } /** - * The public API for IntSlider + * The public API for Play */ -export interface IntSliderPublic { +export interface PlayPublic { /** * CSS classes applied to widget DOM element */ @@ -1652,14 +1484,18 @@ export interface IntSliderPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value of the widget as the user is holding the slider. - */ - continuous_update: boolean; /** * Description of the control. */ @@ -1669,6 +1505,10 @@ export interface IntSliderPublic { * Enable or disable user changes */ disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; /** * Max value */ @@ -1678,15 +1518,11 @@ export interface IntSliderPublic { */ min: number; /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. + * Show the repeat toggle button in the widget. */ - readout: boolean; + show_repeat: boolean; /** - * Minimum step to increment the value + * Increment step */ step: number; /** @@ -1719,9 +1555,9 @@ export interface VBoxPublic { children: unknown[]; } /** - * The public API for ToggleButtonsStyle + * The public API for ButtonStyle */ -export interface ToggleButtonsStylePublic { +export interface ButtonStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1730,22 +1566,18 @@ export interface ToggleButtonsStylePublic { _view_module_version: string; _view_name: string; /** - * The width of each button. - */ - button_width: string; - /** - * Width of the description to the side of the control. - */ - description_width: string; - /** - * Text font weight of each button. + * Button text font weight. */ font_weight: string; } /** - * The public API for ButtonStyle + * The public API for Image */ -export interface ButtonStylePublic { +export interface ImagePublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -1754,14 +1586,22 @@ export interface ButtonStylePublic { _view_module_version: string; _view_name: string; /** - * Button text font weight. + * The format of the image. */ - font_weight: string; + format: string; + /** + * Height of the image in pixels. Use layout.height for styling the widget. + */ + height: string; + /** + * Width of the image in pixels. Use layout.width for styling the widget. + */ + width: string; } /** - * The public API for _Float + * The public API for Password */ -export interface _FloatPublic { +export interface PasswordPublic { /** * CSS classes applied to widget DOM element */ @@ -1772,21 +1612,34 @@ export interface _FloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Float value + * Enable or disable user changes */ - value: number; + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The public API for Play + * The public API for FileUpload */ -export interface PlayPublic { +export interface FileUploadPublic { + _counter: number; /** * CSS classes applied to widget DOM element */ @@ -1794,56 +1647,56 @@ export interface PlayPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Whether the control is currently playing. - */ - _playing: boolean; - /** - * Whether the control will repeat in a continous loop. - */ - _repeat: boolean; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Description of the control. + * File types to accept, empty string for all */ - description: string; - description_tooltip: string | null; + accept: string; /** - * Enable or disable user changes + * Use a predefined styling for the button. */ - disabled: boolean; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * The maximum value for the play control. + * List of file content (bytes) */ - interval: number; + data: { + [k: string]: unknown; + }[]; /** - * Max value + * Description of the control. */ - max: number; + description: string; + description_tooltip: string | null; /** - * Min value + * Enable or disable button */ - min: number; + disabled: boolean; /** - * Show the repeat toggle button in the widget. + * Error message */ - show_repeat: boolean; + error: string; /** - * Increment step + * Font-awesome icon name, without the 'fa-' prefix. */ - step: number; + icon: string; /** - * Int value + * List of file metadata */ - value: number; + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; } /** - * The public API for Audio + * The public API for BoundedIntText */ -export interface AudioPublic { +export interface BoundedIntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1856,63 +1709,64 @@ export interface AudioPublic { _view_module_version: string; _view_name: string; /** - * When true, the audio starts when it's displayed + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - autoplay: boolean; + continuous_update: boolean; /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) + * Description of the control. */ - controls: boolean; + description: string; + description_tooltip: string | null; /** - * The format of the audio. + * Enable or disable user changes */ - format: string; + disabled: boolean; /** - * When true, the audio will start from the beginning after finishing + * Max value */ - loop: boolean; + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The public API for Text + * The public API for DOMWidget */ -export interface TextPublic { +export interface DOMWidgetPublic { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; /** - * Enable or disable user changes + * The namespace for the model. */ - disabled: boolean; + _model_module: string; /** - * Placeholder text to display when nothing has been typed + * A semver requirement for namespace version containing the model. */ - placeholder: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string | null; /** - * String value + * A semver requirement for the namespace version containing the view. */ - value: string; + _view_module_version: string; + _view_name: string | null; } /** - * The public API for BoundedIntText + * The public API for FloatSlider */ -export interface BoundedIntTextPublic { +export interface FloatSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1925,7 +1779,7 @@ export interface BoundedIntTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -1945,12 +1799,20 @@ export interface BoundedIntTextPublic { * Min value */ min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; /** * Minimum step to increment the value */ step: number; /** - * Int value + * Float value */ value: number; } @@ -1996,9 +1858,9 @@ export interface ToggleButtonPublic { value: boolean; } /** - * The public API for FloatSlider + * The public API for Combobox */ -export interface FloatSliderPublic { +export interface ComboboxPublic { /** * CSS classes applied to widget DOM element */ @@ -2011,7 +1873,7 @@ export interface FloatSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -2024,34 +1886,26 @@ export interface FloatSliderPublic { */ disabled: boolean; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. + * If set, ensure value is in options. Implies continuous_update=False. */ - orientation: 'horizontal' | 'vertical'; + ensure_option: boolean; /** - * Display the current value of the slider next to it. + * Dropdown options for the combobox */ - readout: boolean; + options: string[]; /** - * Minimum step to increment the value + * Placeholder text to display when nothing has been typed */ - step: number; + placeholder: string; /** - * Float value + * String value */ - value: number; + value: string; } /** - * The public API for Image + * The public API for HBox */ -export interface ImagePublic { +export interface HBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -2064,22 +1918,18 @@ export interface ImagePublic { _view_module_version: string; _view_name: string; /** - * The format of the image. - */ - format: string; - /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Use a predefined styling for the box. */ - height: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * List of widget children */ - width: string; + children: unknown[]; } /** - * The public API for _MultipleSelection + * The public API for HTMLMath */ -export interface _MultipleSelectionPublic { +export interface HTMLMathPublic { /** * CSS classes applied to widget DOM element */ @@ -2087,32 +1937,28 @@ export interface _MultipleSelectionPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Placeholder text to display when nothing has been typed */ - disabled: boolean; + placeholder: string; /** - * Selected indices + * String value */ - index: number[]; + value: string; } /** - * The public API for Password + * The public API for _BoundedFloat */ -export interface PasswordPublic { +export interface _BoundedFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -2123,34 +1969,29 @@ export interface PasswordPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value */ - disabled: boolean; + max: number; /** - * Placeholder text to display when nothing has been typed + * Min value */ - placeholder: string; + min: number; /** - * String value + * Float value */ - value: string; + value: number; } /** - * The public API for FileUpload + * The public API for _FloatRange */ -export interface FileUploadPublic { - _counter: number; +export interface _FloatRangePublic { /** * CSS classes applied to widget DOM element */ @@ -2161,53 +2002,23 @@ export interface FileUploadPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * File types to accept, empty string for all - */ - accept: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of file content (bytes) - */ - data: { - [k: string]: unknown; - }[]; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message - */ - error: string; - /** - * Font-awesome icon name, without the 'fa-' prefix. - */ - icon: string; - /** - * List of file metadata + * Tuple of (lower, upper) bounds */ - metadata: { + value: { [k: string]: unknown; }[]; - /** - * If True, allow for multiple files upload - */ - multiple: boolean; } /** - * The public API for HBox + * The public API for Button */ -export interface HBoxPublic { +export interface ButtonPublic { /** * CSS classes applied to widget DOM element */ @@ -2220,18 +2031,30 @@ export interface HBoxPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * Use a predefined styling for the button. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * List of widget children + * Button label. */ - children: unknown[]; -} -/** - * The public API for _BoundedFloat - */ -export interface _BoundedFloatPublic { + description: string; + /** + * Enable or disable user changes. + */ + disabled: boolean; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * Tooltip caption of the button. + */ + tooltip: string; +} +/** + * The public API for _MultipleSelection + */ +export interface _MultipleSelectionPublic { /** * CSS classes applied to widget DOM element */ @@ -2239,6 +2062,10 @@ export interface _BoundedFloatPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2249,26 +2076,18 @@ export interface _BoundedFloatPublic { description: string; description_tooltip: string | null; /** - * Max value - */ - max: number; - /** - * Min value + * Enable or disable user changes */ - min: number; + disabled: boolean; /** - * Float value + * Selected indices */ - value: number; + index: number[]; } /** - * The public API for DOMWidget + * The public API for Style */ -export interface DOMWidgetPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface StylePublic { /** * The namespace for the model. */ @@ -2279,17 +2098,14 @@ export interface DOMWidgetPublic { _model_module_version: string; _model_name: string; _view_count: number | null; - _view_module: string | null; - /** - * A semver requirement for the namespace version containing the view. - */ + _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; } /** - * The public API for Combobox + * The public API for IntText */ -export interface ComboboxPublic { +export interface IntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -2315,26 +2131,18 @@ export interface ComboboxPublic { */ disabled: boolean; /** - * If set, ensure value is in options. Implies continuous_update=False. - */ - ensure_option: boolean; - /** - * Dropdown options for the combobox - */ - options: string[]; - /** - * Placeholder text to display when nothing has been typed + * Minimum step to increment the value */ - placeholder: string; + step: number; /** - * String value + * Int value */ - value: string; + value: number; } /** - * The protected API for HTMLMath + * The public API for Label */ -export interface HTMLMathProtected { +export interface LabelPublic { /** * CSS classes applied to widget DOM element */ @@ -2342,9 +2150,6 @@ export interface HTMLMathProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2364,9 +2169,9 @@ export interface HTMLMathProtected { value: string; } /** - * The protected API for Button + * The public API for Video */ -export interface ButtonProtected { +export interface VideoPublic { /** * CSS classes applied to widget DOM element */ @@ -2374,66 +2179,39 @@ export interface ButtonProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Whether the button is pressed. - */ - pressed: boolean; - /** - * The value of the button. - */ - value: number; -} -/** - * The protected API for IntText - */ -export interface IntTextProtected { - /** - * CSS classes applied to widget DOM element + * When true, the video starts when it's displayed */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + autoplay: boolean; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Specifies that video controls should be displayed (such as a play/pause button etc) */ - continuous_update: boolean; + controls: boolean; /** - * Description of the control. + * The format of the video. */ - description: string; - description_tooltip: string | null; + format: string; /** - * Enable or disable user changes + * Height of the video in pixels. */ - disabled: boolean; + height: string; /** - * Minimum step to increment the value + * When true, the video will start from the beginning after finishing */ - step: number; + loop: boolean; /** - * Int value + * Width of the video in pixels. */ - value: number; + width: string; } /** - * The protected API for DescriptionWidget + * The public API for DescriptionWidget */ -export interface DescriptionWidgetProtected { +export interface DescriptionWidgetPublic { /** * CSS classes applied to widget DOM element */ @@ -2441,9 +2219,6 @@ export interface DescriptionWidgetProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2455,15 +2230,12 @@ export interface DescriptionWidgetProtected { description_tooltip: string | null; } /** - * The protected API for ProgressStyle + * The public API for ProgressStyle */ -export interface ProgressStyleProtected { +export interface ProgressStylePublic { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2474,9 +2246,33 @@ export interface ProgressStyleProtected { description_width: string; } /** - * The protected API for _FloatRange + * The public API for Widget */ -export interface _FloatRangeProtected { +export interface WidgetPublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for _BoundedFloatRange + */ +export interface _BoundedFloatRangePublic { /** * CSS classes applied to widget DOM element */ @@ -2484,9 +2280,6 @@ export interface _FloatRangeProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2496,6 +2289,18 @@ export interface _FloatRangeProtected { */ description: string; description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step that the value can take (ignored by some views) + */ + step: number; /** * Tuple of (lower, upper) bounds */ @@ -2504,9 +2309,9 @@ export interface _FloatRangeProtected { }[]; } /** - * The protected API for Label + * The public API for _BoundedIntRange */ -export interface LabelProtected { +export interface _BoundedIntRangePublic { /** * CSS classes applied to widget DOM element */ @@ -2514,26 +2319,29 @@ export interface LabelProtected { _model_module: string; _model_module_version: string; _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Max value */ - placeholder: string; + max: number; /** - * String value + * Min value */ - value: string; + min: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** * The protected API for GridBox @@ -2563,30 +2371,9 @@ export interface GridBoxProtected { children: unknown[]; } /** - * The protected API for Style - */ -export interface StyleProtected { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; -} -/** - * The protected API for _BoundedIntRange + * The protected API for _BoundedLogFloat */ -export interface _BoundedIntRangeProtected { +export interface _BoundedLogFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -2601,30 +2388,32 @@ export interface _BoundedIntRangeProtected { _view_module: string; _view_module_version: string; _view_name: string | null; + /** + * Base of value + */ + base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Max value for the exponent */ max: number; /** - * Min value + * Min value for the exponent */ min: number; /** - * Tuple of (lower, upper) bounds + * Float value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The protected API for Video + * The protected API for TwoByTwoLayout */ -export interface VideoProtected { +export interface TwoByTwoLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -2639,35 +2428,29 @@ export interface VideoProtected { _view_module: string; _view_module_version: string; _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** - * When true, the video starts when it's displayed + * Use a predefined styling for the box. */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the video. - */ - format: string; - /** - * Height of the video in pixels. - */ - height: string; - /** - * When true, the video will start from the beginning after finishing - */ - loop: boolean; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Width of the video in pixels. + * List of widget children */ - width: string; + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + width: string | null; } /** - * The protected API for _BoundedLogFloat + * The protected API for _Bool */ -export interface _BoundedLogFloatProtected { +export interface _BoolProtected { /** * CSS classes applied to widget DOM element */ @@ -2682,32 +2465,24 @@ export interface _BoundedLogFloatProtected { _view_module: string; _view_module_version: string; _view_name: string | null; - /** - * Base of value - */ - base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent + * Enable or disable user changes. */ - min: number; + disabled: boolean; /** - * Float value + * Bool value */ - value: number; + value: boolean; } /** - * The protected API for _Bool + * The protected API for AppLayout */ -export interface _BoolProtected { +export interface AppLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -2721,20 +2496,65 @@ export interface _BoolProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Enable or disable user changes. + * List of widget children */ - disabled: boolean; + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + pane_heights: { + [k: string]: unknown; + }[]; + pane_widths: { + [k: string]: unknown; + }[]; + width: string | null; +} +/** + * The protected API for Accordion + */ +export interface AccordionProtected { /** - * Bool value + * CSS classes applied to widget DOM element */ - value: boolean; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; } /** * The protected API for Valid @@ -2817,9 +2637,9 @@ export interface IntProgressProtected { value: number; } /** - * The protected API for _BoundedFloatRange + * The protected API for FloatRangeSlider */ -export interface _BoundedFloatRangeProtected { +export interface FloatRangeSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -2833,12 +2653,20 @@ export interface _BoundedFloatRangeProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Max value */ @@ -2848,79 +2676,23 @@ export interface _BoundedFloatRangeProtected { */ min: number; /** - * Minimum step that the value can take (ignored by some views) - */ - step: number; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The protected API for Widget - */ -export interface WidgetProtected { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. + * Vertical or horizontal. */ - _model_module_version: string; + orientation: 'horizontal' | 'vertical'; /** - * Name of the model. + * Display the current value of the slider next to it. */ - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string | null; + readout: boolean; /** - * A semver requirement for the namespace version containing the view. + * Minimum step to increment the value */ - _view_module_version: string; - _view_name: string | null; -} -/** - * The protected API for TwoByTwoLayout - */ -export interface TwoByTwoLayoutProtected { + step: number; /** - * CSS classes applied to widget DOM element + * Tuple of (lower, upper) bounds */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { + value: { [k: string]: unknown; }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - width: string | null; } /** * The protected API for FloatLogSlider @@ -2983,86 +2755,131 @@ export interface FloatLogSliderProtected { value: number; } /** - * The protected API for AppLayout + * The protected API for Layout */ -export interface AppLayoutProtected { +export interface LayoutProtected { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - pane_heights: { - [k: string]: unknown; - }[]; - pane_widths: { - [k: string]: unknown; - }[]; - width: string | null; -} -/** - * The protected API for Accordion - */ -export interface AccordionProtected { /** - * CSS classes applied to widget DOM element + * A semver requirement for namespace version containing the model. */ - _dom_classes: string[]; - _model_module: string; _model_module_version: string; _model_name: string; _states_to_send: { [k: string]: unknown; }[]; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; - selected_index: number | null; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; } /** - * The protected API for FloatRangeSlider + * The protected API for Textarea */ -export interface FloatRangeSliderProtected { +export interface TextareaProtected { /** * CSS classes applied to widget DOM element */ @@ -3078,7 +2895,7 @@ export interface FloatRangeSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -3091,36 +2908,53 @@ export interface FloatRangeSliderProtected { */ disabled: boolean; /** - * Max value + * Placeholder text to display when nothing has been typed */ - max: number; + placeholder: string; + rows: number | null; /** - * Min value + * String value */ - min: number; + value: string; +} +/** + * The protected API for _SelectionContainer + */ +export interface _SelectionContainerProtected { /** - * Vertical or horizontal. + * CSS classes applied to widget DOM element */ - orientation: 'horizontal' | 'vertical'; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; /** - * Display the current value of the slider next to it. + * Titles of the pages */ - readout: boolean; + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Minimum step to increment the value + * Use a predefined styling for the box. */ - step: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Tuple of (lower, upper) bounds + * List of widget children */ - value: { - [k: string]: unknown; - }[]; + children: unknown[]; + selected_index: number | null; } /** - * The protected API for Box + * The protected API for Tab */ -export interface BoxProtected { +export interface TabProtected { /** * CSS classes applied to widget DOM element */ @@ -3131,6 +2965,12 @@ export interface BoxProtected { _states_to_send: { [k: string]: unknown; }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -3143,6 +2983,7 @@ export interface BoxProtected { * List of widget children */ children: unknown[]; + selected_index: number | null; } /** * The protected API for IntRangeSlider @@ -3203,9 +3044,45 @@ export interface IntRangeSliderProtected { }[]; } /** - * The protected API for Textarea + * The protected API for _BoundedInt */ -export interface TextareaProtected { +export interface _BoundedIntProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Int value + */ + value: number; +} +/** + * The protected API for FloatText + */ +export interface FloatTextProtected { /** * CSS classes applied to widget DOM element */ @@ -3233,20 +3110,16 @@ export interface TextareaProtected { * Enable or disable user changes */ disabled: boolean; + step: number | null; /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - rows: number | null; - /** - * String value + * Float value */ - value: string; + value: number; } /** - * The protected API for _BoundedInt + * The protected API for Controller */ -export interface _BoundedIntProtected { +export interface ControllerProtected { /** * CSS classes applied to widget DOM element */ @@ -3260,24 +3133,35 @@ export interface _BoundedIntProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * The axes on the gamepad. */ - description: string; - description_tooltip: string | null; + axes: unknown[]; /** - * Max value + * The buttons on the gamepad. */ - max: number; + buttons: unknown[]; /** - * Min value + * Whether the gamepad is connected. */ - min: number; + connected: boolean; /** - * Int value + * The id number of the controller. */ - value: number; + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; } /** * The protected API for ColorPicker @@ -3316,9 +3200,9 @@ export interface ColorPickerProtected { value: string; } /** - * The protected API for _SelectionContainer + * The protected API for _String */ -export interface _SelectionContainerProtected { +export interface _StringProtected { /** * CSS classes applied to widget DOM element */ @@ -3329,12 +3213,57 @@ export interface _SelectionContainerProtected { _states_to_send: { [k: string]: unknown; }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; /** - * Titles of the pages + * Description of the control. */ - _titles: { + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; +} +/** + * The protected API for _Media + */ +export interface _MediaProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { [k: string]: unknown; - }; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for Box + */ +export interface BoxProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -3347,12 +3276,11 @@ export interface _SelectionContainerProtected { * List of widget children */ children: unknown[]; - selected_index: number | null; } /** - * The protected API for FloatText + * The protected API for Checkbox */ -export interface FloatTextProtected { +export interface CheckboxProtected { /** * CSS classes applied to widget DOM element */ @@ -3367,29 +3295,28 @@ export interface FloatTextProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; - step: number | null; /** - * Float value + * Indent the control to align with other controls with a description. */ - value: number; + indent: boolean; + /** + * Bool value + */ + value: boolean; } /** - * The protected API for Tab + * The protected API for Output */ -export interface TabProtected { +export interface OutputProtected { /** * CSS classes applied to widget DOM element */ @@ -3400,37 +3327,103 @@ export interface TabProtected { _states_to_send: { [k: string]: unknown; }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Titles of the pages + * Parent message id of messages to capture */ - _titles: { + msg_id: string; + /** + * The output messages synced from the frontend. + */ + outputs: { [k: string]: unknown; - }; + }[]; +} +/** + * The protected API for _Int + */ +export interface _IntProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Int value */ - children: unknown[]; - selected_index: number | null; + value: number; } /** - * The protected API for Layout + * The protected API for BoundedFloatText */ -export interface LayoutProtected { +export interface BoundedFloatTextProtected { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ + _dom_classes: string[]; _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * A semver requirement for namespace version containing the model. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + step: number | null; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Axis + */ +export interface AxisProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; _model_module_version: string; _model_name: string; _states_to_send: { @@ -3440,112 +3433,15 @@ export interface LayoutProtected { _view_module: string; _view_module_version: string; _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; + /** + * The value of the axis. + */ + value: number; } /** - * The protected API for Checkbox + * The protected API for SelectMultiple */ -export interface CheckboxProtected { +export interface SelectMultipleProtected { /** * CSS classes applied to widget DOM element */ @@ -3553,6 +3449,10 @@ export interface CheckboxProtected { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; @@ -3566,22 +3466,33 @@ export interface CheckboxProtected { description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Indent the control to align with other controls with a description. + * Selected indices */ - indent: boolean; + index: number[]; /** - * Bool value + * Selected labels */ - value: boolean; + label: string[]; + options: { + [k: string]: unknown; + } | null; + /** + * The number of rows to display. + */ + rows: number; + /** + * Selected values + */ + value: unknown[]; } /** - * The protected API for Controller + * The protected API for HTML */ -export interface ControllerProtected { +export interface HTMLProtected { /** * CSS classes applied to widget DOM element */ @@ -3597,38 +3508,68 @@ export interface ControllerProtected { _view_module_version: string; _view_name: string; /** - * The axes on the gamepad. + * Description of the control. */ - axes: unknown[]; + description: string; + description_tooltip: string | null; /** - * The buttons on the gamepad. + * Placeholder text to display when nothing has been typed */ - buttons: unknown[]; + placeholder: string; /** - * Whether the gamepad is connected. + * String value */ - connected: boolean; + value: string; +} +/** + * The protected API for CoreWidget + */ +export interface CoreWidgetProtected { + _model_module: string; + _model_module_version: string; /** - * The id number of the controller. + * Name of the model. */ - index: number; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for ToggleButtonsStyle + */ +export interface ToggleButtonsStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * The name of the control mapping. + * The width of each button. */ - mapping: string; + button_width: string; /** - * The name of the controller. + * Width of the description to the side of the control. */ - name: string; + description_width: string; /** - * The last time the data from this gamepad was updated. + * Text font weight of each button. */ - timestamp: number; + font_weight: string; } /** - * The protected API for _Int + * The protected API for _IntRange */ -export interface _IntProtected { +export interface _IntRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -3644,19 +3585,121 @@ export interface _IntProtected { _view_module_version: string; _view_name: string | null; /** - * Description of the control. + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for SliderStyle + */ +export interface SliderStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The protected API for FloatProgress + */ +export interface FloatProgressProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Float value + */ + value: number; +} +/** + * The protected API for Text + */ +export interface TextProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed */ - description: string; - description_tooltip: string | null; + placeholder: string; /** - * Int value + * String value */ - value: number; + value: string; } /** - * The protected API for BoundedFloatText + * The protected API for IntSlider */ -export interface BoundedFloatTextProtected { +export interface IntSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3672,7 +3715,7 @@ export interface BoundedFloatTextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -3692,16 +3735,27 @@ export interface BoundedFloatTextProtected { * Min value */ min: number; - step: number | null; /** - * Float value + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value */ value: number; } /** - * The protected API for _String + * The protected API for Audio */ -export interface _StringProtected { +export interface AudioProtected { /** * CSS classes applied to widget DOM element */ @@ -3715,62 +3769,28 @@ export interface _StringProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; + _view_name: string; /** - * Placeholder text to display when nothing has been typed + * When true, the audio starts when it's displayed */ - placeholder: string; + autoplay: boolean; /** - * String value + * Specifies that audio controls should be displayed (such as a play/pause button etc) */ - value: string; -} -/** - * The protected API for _Media - */ -export interface _MediaProtected { + controls: boolean; /** - * CSS classes applied to widget DOM element + * The format of the audio. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The protected API for CoreWidget - */ -export interface CoreWidgetProtected { - _model_module: string; - _model_module_version: string; + format: string; /** - * Name of the model. + * When true, the audio will start from the beginning after finishing */ - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; + loop: boolean; } /** - * The protected API for SliderStyle + * The protected API for DescriptionStyle */ -export interface SliderStyleProtected { +export interface DescriptionStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -3787,9 +3807,9 @@ export interface SliderStyleProtected { description_width: string; } /** - * The protected API for _IntRange + * The protected API for _Float */ -export interface _IntRangeProtected { +export interface _FloatProtected { /** * CSS classes applied to widget DOM element */ @@ -3810,16 +3830,14 @@ export interface _IntRangeProtected { description: string; description_tooltip: string | null; /** - * Tuple of (lower, upper) bounds + * Float value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The protected API for FloatProgress + * The protected API for Play */ -export interface FloatProgressProtected { +export interface PlayProtected { /** * CSS classes applied to widget DOM element */ @@ -3827,6 +3845,14 @@ export interface FloatProgressProtected { _model_module: string; _model_module_version: string; _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; @@ -3834,12 +3860,19 @@ export interface FloatProgressProtected { _view_module: string; _view_module_version: string; _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; /** * Max value */ @@ -3849,18 +3882,22 @@ export interface FloatProgressProtected { */ min: number; /** - * Vertical or horizontal. + * Show the repeat toggle button in the widget. */ - orientation: 'horizontal' | 'vertical'; + show_repeat: boolean; /** - * Float value + * Increment step + */ + step: number; + /** + * Int value */ value: number; } /** - * The protected API for Axis + * The protected API for VBox */ -export interface AxisProtected { +export interface VBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -3876,14 +3913,37 @@ export interface AxisProtected { _view_module_version: string; _view_name: string; /** - * The value of the axis. + * Use a predefined styling for the box. */ - value: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; } /** - * The protected API for Output + * The protected API for ButtonStyle */ -export interface OutputProtected { +export interface ButtonStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Button text font weight. + */ + font_weight: string; +} +/** + * The protected API for Image + */ +export interface ImageProtected { /** * CSS classes applied to widget DOM element */ @@ -3899,20 +3959,22 @@ export interface OutputProtected { _view_module_version: string; _view_name: string; /** - * Parent message id of messages to capture + * The format of the image. */ - msg_id: string; + format: string; /** - * The output messages synced from the frontend. + * Height of the image in pixels. Use layout.height for styling the widget. */ - outputs: { - [k: string]: unknown; - }[]; + height: string; + /** + * Width of the image in pixels. Use layout.width for styling the widget. + */ + width: string; } /** - * The protected API for HTML + * The protected API for Password */ -export interface HTMLProtected { +export interface PasswordProtected { /** * CSS classes applied to widget DOM element */ @@ -3927,11 +3989,19 @@ export interface HTMLProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Placeholder text to display when nothing has been typed */ @@ -3942,9 +4012,10 @@ export interface HTMLProtected { value: string; } /** - * The protected API for SelectMultiple + * The protected API for FileUpload */ -export interface SelectMultipleProtected { +export interface FileUploadProtected { + _counter: number; /** * CSS classes applied to widget DOM element */ @@ -3952,10 +4023,6 @@ export interface SelectMultipleProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; @@ -3963,58 +4030,55 @@ export interface SelectMultipleProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * File types to accept, empty string for all + */ + accept: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable button */ disabled: boolean; /** - * Selected indices - */ - index: number[]; - /** - * Selected labels + * Error message */ - label: string[]; - options: { - [k: string]: unknown; - } | null; + error: string; /** - * The number of rows to display. + * Font-awesome icon name, without the 'fa-' prefix. */ - rows: number; + icon: string; /** - * Selected values + * List of file metadata */ - value: unknown[]; -} -/** - * The protected API for DescriptionStyle - */ -export interface DescriptionStyleProtected { - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { + metadata: { [k: string]: unknown; }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; /** - * Width of the description to the side of the control. + * If True, allow for multiple files upload */ - description_width: string; + multiple: boolean; + value: { + [k: string]: unknown; + }; } /** - * The protected API for IntSlider + * The protected API for BoundedIntText */ -export interface IntSliderProtected { +export interface BoundedIntTextProtected { /** * CSS classes applied to widget DOM element */ @@ -4030,7 +4094,7 @@ export interface IntSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -4050,14 +4114,6 @@ export interface IntSliderProtected { * Min value */ min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; /** * Minimum step to increment the value */ @@ -4068,110 +4124,37 @@ export interface IntSliderProtected { value: number; } /** - * The protected API for VBox + * The protected API for DOMWidget */ -export interface VBoxProtected { +export interface DOMWidgetProtected { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * List of widget children + * The namespace for the model. */ - children: unknown[]; -} -/** - * The protected API for ToggleButtonsStyle - */ -export interface ToggleButtonsStyleProtected { _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * The width of each button. - */ - button_width: string; - /** - * Width of the description to the side of the control. - */ - description_width: string; /** - * Text font weight of each button. + * A semver requirement for namespace version containing the model. */ - font_weight: string; -} -/** - * The protected API for ButtonStyle - */ -export interface ButtonStyleProtected { - _model_module: string; _model_module_version: string; _model_name: string; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Button text font weight. - */ - font_weight: string; -} -/** - * The protected API for _Float - */ -export interface _FloatProtected { + _view_module: string | null; /** - * CSS classes applied to widget DOM element + * A semver requirement for the namespace version containing the view. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; _view_module_version: string; _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Float value - */ - value: number; } /** - * The protected API for Play + * The protected API for FloatSlider */ -export interface PlayProtected { +export interface FloatSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -4179,14 +4162,6 @@ export interface PlayProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Whether the control is currently playing. - */ - _playing: boolean; - /** - * Whether the control will repeat in a continous loop. - */ - _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; @@ -4194,6 +4169,10 @@ export interface PlayProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ @@ -4203,10 +4182,6 @@ export interface PlayProtected { * Enable or disable user changes */ disabled: boolean; - /** - * The maximum value for the play control. - */ - interval: number; /** * Max value */ @@ -4216,22 +4191,26 @@ export interface PlayProtected { */ min: number; /** - * Show the repeat toggle button in the widget. + * Vertical or horizontal. */ - show_repeat: boolean; + orientation: 'horizontal' | 'vertical'; /** - * Increment step + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value */ step: number; /** - * Int value + * Float value */ value: number; } /** - * The protected API for Audio + * The protected API for ToggleButton */ -export interface AudioProtected { +export interface ToggleButtonProtected { /** * CSS classes applied to widget DOM element */ @@ -4247,26 +4226,35 @@ export interface AudioProtected { _view_module_version: string; _view_name: string; /** - * When true, the audio starts when it's displayed + * Use a predefined styling for the button. */ - autoplay: boolean; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) + * Description of the control. */ - controls: boolean; + description: string; + description_tooltip: string | null; /** - * The format of the audio. + * Enable or disable user changes. */ - format: string; + disabled: boolean; /** - * When true, the audio will start from the beginning after finishing + * Font-awesome icon. */ - loop: boolean; + icon: string; + /** + * Tooltip caption of the toggle button. + */ + tooltip: string; + /** + * Bool value + */ + value: boolean; } /** - * The protected API for Text + * The protected API for Combobox */ -export interface TextProtected { +export interface ComboboxProtected { /** * CSS classes applied to widget DOM element */ @@ -4294,6 +4282,14 @@ export interface TextProtected { * Enable or disable user changes */ disabled: boolean; + /** + * If set, ensure value is in options. Implies continuous_update=False. + */ + ensure_option: boolean; + /** + * Dropdown options for the combobox + */ + options: string[]; /** * Placeholder text to display when nothing has been typed */ @@ -4304,9 +4300,9 @@ export interface TextProtected { value: string; } /** - * The protected API for BoundedIntText + * The protected API for HBox */ -export interface BoundedIntTextProtected { +export interface HBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -4322,39 +4318,18 @@ export interface BoundedIntTextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Minimum step to increment the value + * Use a predefined styling for the box. */ - step: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Int value + * List of widget children */ - value: number; + children: unknown[]; } /** - * The protected API for ToggleButton + * The protected API for HTMLMath */ -export interface ToggleButtonProtected { +export interface HTMLMathProtected { /** * CSS classes applied to widget DOM element */ @@ -4369,36 +4344,24 @@ export interface ToggleButtonProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Font-awesome icon. - */ - icon: string; - /** - * Tooltip caption of the toggle button. + * Placeholder text to display when nothing has been typed */ - tooltip: string; + placeholder: string; /** - * Bool value + * String value */ - value: boolean; + value: string; } /** - * The protected API for FloatSlider + * The protected API for _BoundedFloat */ -export interface FloatSliderProtected { +export interface _BoundedFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -4412,20 +4375,12 @@ export interface FloatSliderProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value of the widget as the user is holding the slider. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -4435,26 +4390,44 @@ export interface FloatSliderProtected { */ min: number; /** - * Vertical or horizontal. + * Float value */ - orientation: 'horizontal' | 'vertical'; + value: number; +} +/** + * The protected API for _FloatRange + */ +export interface _FloatRangeProtected { /** - * Display the current value of the slider next to it. + * CSS classes applied to widget DOM element */ - readout: boolean; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; /** - * Minimum step to increment the value + * Description of the control. */ - step: number; + description: string; + description_tooltip: string | null; /** - * Float value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for Image + * The protected API for Button */ -export interface ImageProtected { +export interface ButtonProtected { /** * CSS classes applied to widget DOM element */ @@ -4470,17 +4443,25 @@ export interface ImageProtected { _view_module_version: string; _view_name: string; /** - * The format of the image. + * Use a predefined styling for the button. */ - format: string; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Button label. */ - height: string; + description: string; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * Enable or disable user changes. */ - width: string; + disabled: boolean; + /** + * Font-awesome icon name, without the 'fa-' prefix. + */ + icon: string; + /** + * Tooltip caption of the button. + */ + tooltip: string; } /** * The protected API for _MultipleSelection @@ -4530,9 +4511,30 @@ export interface _MultipleSelectionProtected { value: unknown[]; } /** - * The protected API for Password + * The protected API for Style */ -export interface PasswordProtected { +export interface StyleProtected { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; +} +/** + * The protected API for IntText + */ +export interface IntTextProtected { /** * CSS classes applied to widget DOM element */ @@ -4561,19 +4563,18 @@ export interface PasswordProtected { */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed + * Minimum step to increment the value */ - placeholder: string; + step: number; /** - * String value + * Int value */ - value: string; + value: number; } /** - * The protected API for FileUpload + * The protected API for Label */ -export interface FileUploadProtected { - _counter: number; +export interface LabelProtected { /** * CSS classes applied to widget DOM element */ @@ -4588,55 +4589,24 @@ export interface FileUploadProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * File types to accept, empty string for all - */ - accept: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of file content (bytes) - */ - data: { - [k: string]: unknown; - }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message - */ - error: string; - /** - * Font-awesome icon name, without the 'fa-' prefix. - */ - icon: string; - /** - * List of file metadata + * Placeholder text to display when nothing has been typed */ - metadata: { - [k: string]: unknown; - }[]; + placeholder: string; /** - * If True, allow for multiple files upload + * String value */ - multiple: boolean; - value: { - [k: string]: unknown; - }; + value: string; } /** - * The protected API for HBox + * The protected API for Video */ -export interface HBoxProtected { +export interface VideoProtected { /** * CSS classes applied to widget DOM element */ @@ -4652,18 +4622,34 @@ export interface HBoxProtected { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * When true, the video starts when it's displayed */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + autoplay: boolean; /** - * List of widget children + * Specifies that video controls should be displayed (such as a play/pause button etc) */ - children: unknown[]; + controls: boolean; + /** + * The format of the video. + */ + format: string; + /** + * Height of the video in pixels. + */ + height: string; + /** + * When true, the video will start from the beginning after finishing + */ + loop: boolean; + /** + * Width of the video in pixels. + */ + width: string; } /** - * The protected API for _BoundedFloat + * The protected API for DescriptionWidget */ -export interface _BoundedFloatProtected { +export interface DescriptionWidgetProtected { /** * CSS classes applied to widget DOM element */ @@ -4683,27 +4669,30 @@ export interface _BoundedFloatProtected { */ description: string; description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Float value - */ - value: number; } /** - * The protected API for DOMWidget + * The protected API for ProgressStyle */ -export interface DOMWidgetProtected { +export interface ProgressStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * CSS classes applied to widget DOM element + * Width of the description to the side of the control. */ - _dom_classes: string[]; + description_width: string; +} +/** + * The protected API for Widget + */ +export interface WidgetProtected { /** * The namespace for the model. */ @@ -4712,6 +4701,9 @@ export interface DOMWidgetProtected { * A semver requirement for namespace version containing the model. */ _model_module_version: string; + /** + * Name of the model. + */ _model_name: string; _states_to_send: { [k: string]: unknown; @@ -4725,9 +4717,9 @@ export interface DOMWidgetProtected { _view_name: string | null; } /** - * The protected API for Combobox + * The protected API for _BoundedFloatRange */ -export interface ComboboxProtected { +export interface _BoundedFloatRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -4741,34 +4733,66 @@ export interface ComboboxProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value */ - disabled: boolean; + max: number; /** - * If set, ensure value is in options. Implies continuous_update=False. + * Min value */ - ensure_option: boolean; + min: number; /** - * Dropdown options for the combobox + * Minimum step that the value can take (ignored by some views) */ - options: string[]; + step: number; /** - * Placeholder text to display when nothing has been typed + * Tuple of (lower, upper) bounds */ - placeholder: string; + value: { + [k: string]: unknown; + }[]; +} +/** + * The protected API for _BoundedIntRange + */ +export interface _BoundedIntRangeProtected { /** - * String value + * CSS classes applied to widget DOM element */ - value: string; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } diff --git a/packages/kernel/src/_schema_widgets.json b/packages/kernel/src/_schema_widgets.json index 8aa0e87a3..5cc79e02d 100644 --- a/packages/kernel/src/_schema_widgets.json +++ b/packages/kernel/src/_schema_widgets.json @@ -1,23 +1,22 @@ { - "IPublicHTMLMath": { - "title": "HTMLMath public", - "description": "The public API for HTMLMath", + "IPublicGridBox": { + "title": "GridBox public", + "description": "The public API for GridBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -40,7 +39,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -67,35 +66,19 @@ }, "_view_name": { "type": "string", - "default": "HTMLMathView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "description": "Use a predefined styling for the box." }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -107,32 +90,29 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "box_style", + "children" ] }, - "IProtectedHTMLMath": { - "title": "HTMLMath Protected", - "description": "The protected API for HTMLMath", + "IProtectedGridBox": { + "title": "GridBox Protected", + "description": "The protected API for GridBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -155,7 +135,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "GridBoxModel", "description": "" }, "_states_to_send": { @@ -191,35 +171,19 @@ }, "_view_name": { "type": "string", - "default": "HTMLMathView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "description": "Use a predefined styling for the box." }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -232,29 +196,32 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "box_style", + "children" ] }, - "IPublicButton": { - "title": "Button public", - "description": "The public API for Button", + "IPublic_BoundedLogFloat": { + "title": "_BoundedLogFloat public", + "description": "The public API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerButtonModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerButtonView", - "pressed": false, - "value": 0.0 + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -277,7 +244,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerButtonModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -303,19 +270,53 @@ "description": "" }, "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { "type": "string", - "default": "ControllerButtonView", - "description": "" + "default": "", + "description": "Description of the control." }, - "pressed": { - "type": "boolean", - "default": false, - "description": "Whether the button is pressed." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "value": { + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { "type": "number", "default": 0.0, - "description": "The value of the button." + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -327,28 +328,37 @@ "_view_module", "_view_module_version", "_view_name", - "pressed", + "base", + "description", + "description_tooltip", + "max", + "min", "value" ] }, - "IProtectedButton": { - "title": "Button Protected", - "description": "The protected API for Button", + "IProtected_BoundedLogFloat": { + "title": "_BoundedLogFloat Protected", + "description": "The protected API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerButtonModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerButtonView", - "pressed": false, - "value": 0.0 + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -371,7 +381,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerButtonModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -406,19 +416,53 @@ "description": "" }, "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { "type": "string", - "default": "ControllerButtonView", - "description": "" + "default": "", + "description": "Description of the control." }, - "pressed": { - "type": "boolean", - "default": false, - "description": "Whether the button is pressed." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "value": { + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { "type": "number", "default": 0.0, - "description": "The value of the button." + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -431,31 +475,32 @@ "_view_module", "_view_module_version", "_view_name", - "pressed", + "base", + "description", + "description_tooltip", + "max", + "min", "value" ] }, - "IPublicIntText": { - "title": "IntText public", - "description": "The public API for IntText", + "IPublicTwoByTwoLayout": { + "title": "TwoByTwoLayout public", + "description": "The public API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "step": 1, - "value": 0 + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -478,7 +523,7 @@ }, "_model_name": { "type": "string", - "default": "IntTextModel", + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -505,45 +550,19 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "GridBoxView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "description": "Use a predefined styling for the box." }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -555,36 +574,35 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "step", - "value" + "box_style", + "children" ] }, - "IProtectedIntText": { - "title": "IntText Protected", - "description": "The protected API for IntText", + "IProtectedTwoByTwoLayout": { + "title": "TwoByTwoLayout Protected", + "description": "The protected API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "step": 1, - "value": 0 + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "width": null }, "properties": { "_dom_classes": { @@ -607,7 +625,7 @@ }, "_model_name": { "type": "string", - "default": "IntTextModel", + "default": "GridBoxModel", "description": "" }, "_states_to_send": { @@ -643,45 +661,98 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "GridBoxView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { "oneOf": [ { "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "default": {}, + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "merge": { + "type": "boolean", + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -694,31 +765,36 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "step", - "value" + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "width" ] }, - "IPublicDescriptionWidget": { - "title": "DescriptionWidget public", - "description": "The public API for DescriptionWidget", + "IPublic_Bool": { + "title": "_Bool public", + "description": "The public API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "BoolModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, "description": "", - "description_tooltip": null + "description_tooltip": null, + "disabled": false, + "value": false }, "properties": { "_dom_classes": { @@ -741,7 +817,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "BoolModel", "description": "" }, "_view_count": { @@ -794,6 +870,16 @@ "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -806,27 +892,32 @@ "_view_module_version", "_view_name", "description", - "description_tooltip" + "description_tooltip", + "disabled", + "value" ] }, - "IProtectedDescriptionWidget": { - "title": "DescriptionWidget Protected", - "description": "The protected API for DescriptionWidget", + "IProtected_Bool": { + "title": "_Bool Protected", + "description": "The protected API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "BoolModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, "description": "", - "description_tooltip": null + "description_tooltip": null, + "disabled": false, + "value": false }, "properties": { "_dom_classes": { @@ -849,7 +940,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "BoolModel", "description": "" }, "_states_to_send": { @@ -911,39 +1002,62 @@ "type": "null" } ] - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", "_view_module", "_view_module_version", "_view_name", "description", - "description_tooltip" + "description_tooltip", + "disabled", + "value" ] }, - "IPublicProgressStyle": { - "title": "ProgressStyle public", - "description": "The public API for ProgressStyle", + "IPublicAppLayout": { + "title": "AppLayout public", + "description": "The public API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "GridBoxModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -956,7 +1070,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -973,26 +1087,33 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "GridBoxView", "description": "" }, - "description_width": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -1000,27 +1121,47 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "box_style", + "children" ] }, - "IProtectedProgressStyle": { - "title": "ProgressStyle Protected", - "description": "The protected API for ProgressStyle", + "IProtectedAppLayout": { + "title": "AppLayout Protected", + "description": "The protected API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "pane_heights": ["1fr", "3fr", "1fr"], + "pane_widths": ["1fr", "2fr", "1fr"], + "width": null }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -1033,7 +1174,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "GridBoxModel", "description": "" }, "_states_to_send": { @@ -1059,26 +1200,128 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "GridBoxView", "description": "" }, - "description_width": { - "type": "string", + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Width of the description to the side of the control." + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "merge": { + "type": "boolean", + "default": {}, + "description": "" + }, + "pane_heights": { + "type": "array", + "items": { + "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" + }, + "default": {}, + "description": "" + }, + "pane_widths": { + "type": "array", + "items": { + "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" + }, + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -1087,27 +1330,38 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "pane_heights", + "pane_widths", + "width" ] }, - "IPublic_FloatRange": { - "title": "_FloatRange public", - "description": "The public API for _FloatRange", + "IPublicAccordion": { + "title": "Accordion public", + "description": "The public API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "AccordionModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0.0, 1.0] + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -1130,9 +1384,14 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "AccordionModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -1156,41 +1415,32 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", + "default": "AccordionView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1198,34 +1448,37 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children", + "selected_index" ] }, - "IProtected_FloatRange": { - "title": "_FloatRange Protected", - "description": "The protected API for _FloatRange", + "IProtectedAccordion": { + "title": "Accordion Protected", + "description": "The protected API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "AccordionModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0.0, 1.0] + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -1248,7 +1501,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "AccordionModel", "description": "" }, "_states_to_send": { @@ -1260,6 +1513,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -1283,41 +1541,32 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", + "default": "AccordionView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1326,34 +1575,37 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublicLabel": { - "title": "Label public", - "description": "The public API for Label", + "IPublicValid": { + "title": "Valid public", + "description": "The public API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "LabelModel", + "_model_name": "ValidModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "LabelView", + "_view_name": "ValidView", "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { "_dom_classes": { @@ -1376,7 +1628,7 @@ }, "_model_name": { "type": "string", - "default": "LabelModel", + "default": "ValidModel", "description": "" }, "_view_count": { @@ -1403,7 +1655,7 @@ }, "_view_name": { "type": "string", - "default": "LabelView", + "default": "ValidView", "description": "" }, "description": { @@ -1423,15 +1675,20 @@ } ] }, - "placeholder": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "Invalid", + "description": "Message displayed when the value is False" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -1445,30 +1702,33 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "disabled", + "readout", "value" ] }, - "IProtectedLabel": { - "title": "Label Protected", - "description": "The protected API for Label", + "IProtectedValid": { + "title": "Valid Protected", + "description": "The protected API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "LabelModel", + "_model_name": "ValidModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "LabelView", + "_view_name": "ValidView", "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { "_dom_classes": { @@ -1491,7 +1751,7 @@ }, "_model_name": { "type": "string", - "default": "LabelModel", + "default": "ValidModel", "description": "" }, "_states_to_send": { @@ -1527,7 +1787,7 @@ }, "_view_name": { "type": "string", - "default": "LabelView", + "default": "ValidView", "description": "" }, "description": { @@ -1547,15 +1807,20 @@ } ] }, - "placeholder": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "Invalid", + "description": "Message displayed when the value is False" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -1570,27 +1835,34 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "disabled", + "readout", "value" ] }, - "IPublicGridBox": { - "title": "GridBox public", - "description": "The public API for GridBox", + "IPublicIntProgress": { + "title": "IntProgress public", + "description": "The public API for IntProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "IntProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -1613,7 +1885,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "IntProgressModel", "description": "" }, "_view_count": { @@ -1640,52 +1912,94 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "ProgressView", "description": "" }, - "box_style": { + "bar_style": { "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Use a predefined styling for the box." + "description": "Use a predefined styling for the progess bar." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IProtectedGridBox": { - "title": "GridBox Protected", - "description": "The protected API for GridBox", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", - "_states_to_send": [], - "_view_count": null, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" + ] + }, + "IProtectedIntProgress": { + "title": "IntProgress Protected", + "description": "The protected API for IntProgress", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "IntProgressModel", + "_states_to_send": [], + "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -1708,7 +2022,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "IntProgressModel", "description": "" }, "_states_to_send": { @@ -1744,19 +2058,50 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "ProgressView", "description": "" }, - "box_style": { + "bar_style": { "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Use a predefined styling for the box." + "description": "Use a predefined styling for the progess bar." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -1769,39 +2114,64 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IPublicStyle": { - "title": "Style public", - "description": "The public API for Style", + "IPublicFloatRangeSlider": { + "title": "FloatRangeSlider public", + "description": "The public API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatRangeSliderModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "StyleModel", + "default": "FloatRangeSliderModel", "description": "" }, "_view_count": { @@ -1818,130 +2188,128 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "FloatRangeSliderView", "description": "" - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IProtectedStyle": { - "title": "Style Protected", - "description": "The protected API for Style", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." }, - "_model_name": { + "description": { "type": "string", - "default": "StyleModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "default": "", + "description": "Description of the control." }, - "_view_count": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "_view_module_version": { - "type": "string", - "default": "1.2.0", - "description": "" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IPublic_BoundedIntRange": { - "title": "_BoundedIntRange public", - "description": "The public API for _BoundedIntRange", + "IProtectedFloatRangeSlider": { + "title": "FloatRangeSlider Protected", + "description": "The protected API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatRangeSliderModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "FloatRangeSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -1964,7 +2332,16 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatRangeSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -1990,16 +2367,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FloatRangeSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." }, "description": { "type": "string", @@ -2018,22 +2393,42 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, "max": { - "type": "integer", - "default": 100, + "type": "number", + "default": 100.0, "description": "Max value" }, "min": { - "type": "integer", - "default": 0, + "type": "number", + "default": 0.0, "description": "Min value" }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, "value": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [25, 75], + "default": [25.0, 75.0], "description": "Tuple of (lower, upper) bounds" } }, @@ -2042,38 +2437,50 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", "max", "min", + "orientation", + "readout", + "step", "value" ] }, - "IProtected_BoundedIntRange": { - "title": "_BoundedIntRange Protected", - "description": "The protected API for _BoundedIntRange", + "IPublicFloatLogSlider": { + "title": "FloatLogSlider public", + "description": "The public API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], + "_model_name": "FloatLogSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -2096,16 +2503,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "FloatLogSliderModel", "description": "" }, "_view_count": { @@ -2131,16 +2529,19 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FloatLogSliderView", + "description": "" + }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, "description": { "type": "string", @@ -2159,23 +2560,40 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" }, "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -2183,39 +2601,51 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "base", + "continuous_update", "description", "description_tooltip", + "disabled", "max", "min", + "orientation", + "readout", + "step", "value" ] }, - "IPublicVideo": { - "title": "Video public", - "description": "The public API for Video", + "IProtectedFloatLogSlider": { + "title": "FloatLogSlider Protected", + "description": "The protected API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VideoModel", - "_view_count": null, + "_model_name": "FloatLogSliderModel", + "_states_to_send": [], + "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -2238,7 +2668,16 @@ }, "_model_name": { "type": "string", - "default": "VideoModel", + "default": "FloatLogSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -2265,38 +2704,70 @@ }, "_view_name": { "type": "string", - "default": "VideoView", + "default": "FloatLogSliderView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" }, - "controls": { + "continuous_update": { "type": "boolean", "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp4", - "description": "The format of the video." + "description": "Update the value of the widget as the user is holding the slider." }, - "height": { + "description": { "type": "string", "default": "", - "description": "Height of the video in pixels." + "description": "Description of the control." }, - "loop": { + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { "type": "boolean", "default": true, - "description": "When true, the video will start from the beginning after finishing" + "description": "Display the current value of the slider next to it." }, - "width": { - "type": "string", - "default": "", - "description": "Width of the video in pixels." + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -2304,72 +2775,92 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IProtectedVideo": { - "title": "Video Protected", - "description": "The protected API for Video", + "IPublicLayout": { + "title": "Layout public", + "description": "The public API for Layout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "VideoModel", - "_states_to_send": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "VideoModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "LayoutModel", "description": "" }, "_view_count": { @@ -2386,1489 +2877,532 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "VideoView", + "default": "LayoutView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" - }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp4", - "description": "The format of the video." + "align_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "height": { - "type": "string", - "default": "", - "description": "Height of the video in pixels." - }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the video will start from the beginning after finishing" - }, - "width": { - "type": "string", - "default": "", - "description": "Width of the video in pixels." - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" - ] - }, - "IPublic_BoundedLogFloat": { - "title": "_BoundedLogFloat public", - "description": "The public API for _BoundedLogFloat", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, - "description": "", - "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_view_count": { + "align_items": { "oneOf": [ { - "type": "integer", + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The align-items CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "align_self": { "oneOf": [ { - "type": "string", + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The align-self CSS attribute." }, { "type": "null" } ] }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "border": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The border CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" - }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "base", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IProtected_BoundedLogFloat": { - "title": "_BoundedLogFloat Protected", - "description": "The protected API for _BoundedLogFloat", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, - "description": "", - "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "bottom": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The bottom CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "display": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The display CSS attribute." }, { "type": "null" } ] }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "flex": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The flex CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" - }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "base", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IPublic_Bool": { - "title": "_Bool public", - "description": "The public API for _Bool", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "BoolModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "BoolModel", - "description": "" - }, - "_view_count": { + "flex_flow": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The flex-flow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "grid_area": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-area CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_auto_columns": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-auto-columns CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "value" - ] - }, - "IProtected_Bool": { - "title": "_Bool Protected", - "description": "The protected API for _Bool", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "BoolModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "BoolModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "grid_auto_flow": { "oneOf": [ { - "type": "integer", + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-auto-flow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_column": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-column CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { + "grid_gap": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "grid_row": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "grid_template_areas": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-template-areas CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "value" - ] - }, - "IPublicValid": { - "title": "Valid public", - "description": "The public API for Valid", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ValidModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "ValidModel", - "description": "" - }, - "_view_count": { + "grid_template_columns": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-template-columns CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ValidView", - "description": "" - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_template_rows": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-template-rows CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "readout": { - "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" - ] - }, - "IProtectedValid": { - "title": "Valid Protected", - "description": "The protected API for Valid", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ValidModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "ValidModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "height": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The height CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ValidView", - "description": "" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "left": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The left CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "readout": { - "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" - ] - }, - "IPublicIntProgress": { - "title": "IntProgress public", - "description": "The public API for IntProgress", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "IntProgressModel", - "description": "" - }, - "_view_count": { + "margin": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The margin CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "max_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The max-height CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" - ] - }, - "IProtectedIntProgress": { - "title": "IntProgress Protected", - "description": "The protected API for IntProgress", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "IntProgressModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "max_width": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The max-width CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "min_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The min-height CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" - ] - }, - "IPublic_BoundedFloatRange": { - "title": "_BoundedFloatRange public", - "description": "The public API for _BoundedFloatRange", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_view_count": { + "object_fit": { "oneOf": [ { - "type": "integer", + "enum": ["contain", "cover", "fill", "scale-down", "none"], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The object-fit CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "object_position": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The object-position CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "order": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The order CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "step", - "value" - ] - }, - "IProtected_BoundedFloatRange": { - "title": "_BoundedFloatRange Protected", - "description": "The protected API for _BoundedFloatRange", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "overflow": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The overflow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "overflow_x": { "oneOf": [ { - "type": "string", + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The overflow-x CSS attribute (deprecated)." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "overflow_y": { "oneOf": [ { - "type": "string", + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The overflow-y CSS attribute (deprecated)." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "step", - "value" - ] - }, - "IPublicWidget": { - "title": "Widget public", - "description": "The public API for Widget", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", - "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." - }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." - }, - "_model_name": { - "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "right": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The right CSS attribute." }, { "type": "null" } ] }, - "_view_module": { + "top": { "oneOf": [ { "type": "string", "default": null, - "description": "The namespace for the view." + "description": "The top CSS attribute." }, { "type": "null" } ] }, - "_view_module_version": { - "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { + "width": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The width CSS attribute." }, { "type": "null" @@ -3883,24 +3417,101 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" ] }, - "IProtectedWidget": { - "title": "Widget Protected", - "description": "The protected API for Widget", + "IProtectedLayout": { + "title": "Layout Protected", + "description": "The protected API for Layout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_model_module": "@jupyter-widgets/base", "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", + "_model_name": "LayoutModel", "_states_to_send": [], "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { "_model_module": { @@ -3915,8 +3526,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "LayoutModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -3940,793 +3551,612 @@ ] }, "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { "oneOf": [ { - "type": "string", + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "The namespace for the view." + "description": "The align-content CSS attribute." }, { "type": "null" } ] }, - "_view_module_version": { - "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." - }, - "_view_name": { + "align_items": { "oneOf": [ { - "type": "string", + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The align-items CSS attribute." }, { "type": "null" } ] - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IPublicTwoByTwoLayout": { - "title": "TwoByTwoLayout public", - "description": "The public API for TwoByTwoLayout", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "GridBoxModel", - "description": "" }, - "_view_count": { + "align_self": { "oneOf": [ { - "type": "integer", + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The align-self CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IProtectedTwoByTwoLayout": { - "title": "TwoByTwoLayout Protected", - "description": "The protected API for TwoByTwoLayout", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "width": null - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "GridBoxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "border": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The border CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" - }, - "align_items": { + "bottom": { "oneOf": [ { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." + "type": "string", + "default": null, + "description": "The bottom CSS attribute." }, { "type": "null" } ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "grid_gap": { + "display": { "oneOf": [ { "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." + "default": null, + "description": "The display CSS attribute." }, { "type": "null" } ] }, - "height": { + "flex": { "oneOf": [ { "type": "string", - "default": {}, - "description": "The width CSS attribute." + "default": null, + "description": "The flex CSS attribute." }, { "type": "null" } ] }, - "justify_content": { + "flex_flow": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." }, { "type": "null" } ] }, - "merge": { - "type": "boolean", - "default": {}, - "description": "" - }, - "width": { + "grid_area": { "oneOf": [ { "type": "string", - "default": {}, - "description": "The width CSS attribute." + "default": null, + "description": "The grid-area CSS attribute." }, { "type": "null" } ] - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", - "height", - "justify_content", - "merge", - "width" - ] - }, - "IPublicFloatLogSlider": { - "title": "FloatLogSlider public", - "description": "The public API for FloatLogSlider", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 4.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 1.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "FloatLogSliderModel", - "description": "" + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_auto_flow": { "oneOf": [ { - "type": "integer", + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-auto-flow CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "grid_auto_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_column": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-column CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "FloatLogSliderView", - "description": "" + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" + "grid_row": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." + }, + { + "type": "null" + } + ] }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "grid_template_areas": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-areas CSS attribute." + }, + { + "type": "null" + } + ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "grid_template_rows": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-template-rows CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "left": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The left CSS attribute." + }, + { + "type": "null" + } + ] }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" - }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "base", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" - ] - }, - "IProtectedFloatLogSlider": { - "title": "FloatLogSlider Protected", - "description": "The protected API for FloatLogSlider", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 4.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 1.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "FloatLogSliderModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "margin": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The margin CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "FloatLogSliderView", - "description": "" - }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "max_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The max-height CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" - }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "base", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" - ] - }, - "IPublicAppLayout": { - "title": "AppLayout public", - "description": "The public API for AppLayout", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "GridBoxModel", - "description": "" + "max_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "min_height": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The min-height CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "order": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The order CSS attribute." + }, + { + "type": "null" + } + ] }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "overflow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The overflow CSS attribute." + }, + { + "type": "null" + } + ] + }, + "overflow_x": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-x CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] + }, + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] + }, + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] + }, + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] + }, + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" ] }, - "IProtectedAppLayout": { - "title": "AppLayout Protected", - "description": "The protected API for AppLayout", + "IPublicTextarea": { + "title": "Textarea public", + "description": "The public API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", - "_states_to_send": [], + "_model_name": "TextareaModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "pane_heights": ["1fr", "3fr", "1fr"], - "pane_widths": ["1fr", "2fr", "1fr"], - "width": null + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -4749,16 +4179,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "TextareaModel", "description": "" }, "_view_count": { @@ -4785,114 +4206,57 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "TextareaView", "description": "" }, - "align_items": { - "oneOf": [ - { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "description": "Description of the control." }, - "height": { + "description_tooltip": { "oneOf": [ { "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "merge": { + "disabled": { "type": "boolean", - "default": {}, - "description": "" - }, - "pane_heights": { - "type": "array", - "items": { - "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" - }, - "default": {}, - "description": "" + "default": false, + "description": "Enable or disable user changes" }, - "pane_widths": { - "type": "array", - "items": { - "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" - }, - "default": {}, - "description": "" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "width": { + "rows": { "oneOf": [ { - "type": "string", - "default": {}, - "description": "The width CSS attribute." + "type": "integer", + "default": null, + "description": "The number of rows to display." }, { "type": "null" } ] + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -4900,42 +4264,43 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", - "height", - "justify_content", - "merge", - "pane_heights", - "pane_widths", - "width" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" ] }, - "IPublicAccordion": { - "title": "Accordion public", - "description": "The public API for Accordion", + "IProtectedTextarea": { + "title": "Textarea Protected", + "description": "The protected API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", - "_titles": {}, + "_model_name": "TextareaModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -4958,13 +4323,17 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", + "default": "TextareaModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, "_view_count": { "oneOf": [ @@ -4990,31 +4359,57 @@ }, "_view_name": { "type": "string", - "default": "AccordionView", + "default": "TextareaView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "selected_index": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "rows": { "oneOf": [ { "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "default": null, + "description": "The number of rows to display." }, { "type": "null" } ] + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -5022,33 +4417,37 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" ] }, - "IProtectedAccordion": { - "title": "Accordion Protected", - "description": "The protected API for Accordion", + "IPublic_SelectionContainer": { + "title": "_SelectionContainer public", + "description": "The public API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", - "_states_to_send": [], + "_model_name": "BoxModel", "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", + "_view_name": "BoxView", "box_style": "", "children": [], "selected_index": 0 @@ -5074,16 +4473,7 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "BoxModel", "description": "" }, "_titles": { @@ -5115,7 +4505,7 @@ }, "_view_name": { "type": "string", - "default": "AccordionView", + "default": "BoxView", "description": "" }, "box_style": { @@ -5147,7 +4537,6 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_titles", "_view_count", "_view_module", @@ -5158,31 +4547,27 @@ "selected_index" ] }, - "IPublicFloatRangeSlider": { - "title": "FloatRangeSlider public", - "description": "The public API for FloatRangeSlider", + "IProtected_SelectionContainer": { + "title": "_SelectionContainer Protected", + "description": "The protected API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", - "_view_count": null, + "_model_name": "BoxModel", + "_states_to_send": [], + "_titles": {}, + "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "BoxView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -5205,9 +4590,23 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "BoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -5232,68 +4631,31 @@ }, "_view_name": { "type": "string", - "default": "FloatRangeSliderView", + "default": "BoxView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5301,48 +4663,37 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IProtectedFloatRangeSlider": { - "title": "FloatRangeSlider Protected", - "description": "The protected API for FloatRangeSlider", + "IPublicTab": { + "title": "Tab public", + "description": "The public API for Tab", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", - "_states_to_send": [], + "_model_name": "TabModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -5365,17 +4716,13 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "TabModel", "description": "" }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} }, "_view_count": { "oneOf": [ @@ -5401,68 +4748,31 @@ }, "_view_name": { "type": "string", - "default": "FloatRangeSliderView", + "default": "TabView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5470,40 +4780,37 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublicBox": { - "title": "Box public", - "description": "The public API for Box", + "IProtectedTab": { + "title": "Tab Protected", + "description": "The protected API for Tab", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "TabModel", + "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", + "_view_name": "TabView", "box_style": "", - "children": [] + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -5526,102 +4833,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", - "description": "" - }, - "_view_count": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." - }, - { - "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "BoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IProtectedBox": { - "title": "Box Protected", - "description": "The protected API for Box", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "BoxModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "BoxModel", + "default": "TabModel", "description": "" }, "_states_to_send": { @@ -5633,6 +4845,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -5657,7 +4874,7 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "TabView", "description": "" }, "box_style": { @@ -5670,6 +4887,18 @@ "items": {}, "default": [], "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -5678,12 +4907,14 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", "box_style", - "children" + "children", + "selected_index" ] }, "IPublicIntRangeSlider": { @@ -5692,6 +4923,7 @@ "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", @@ -5818,7 +5050,7 @@ "value": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, "default": [25, 75], "description": "Tuple of (lower, upper) bounds" @@ -5851,6 +5083,7 @@ "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", @@ -5987,7 +5220,7 @@ "value": { "type": "array", "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, "default": [25, 75], "description": "Tuple of (lower, upper) bounds" @@ -6015,28 +5248,27 @@ "value" ] }, - "IPublicTextarea": { - "title": "Textarea public", - "description": "The public API for Textarea", + "IPublic_BoundedInt": { + "title": "_BoundedInt public", + "description": "The public API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "max": 100, + "min": 0, + "value": 0 }, "properties": { "_dom_classes": { @@ -6059,7 +5291,7 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -6085,58 +5317,48 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextareaView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { + "description": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "", + "description": "Description of the control." }, - "rows": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "The number of rows to display." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -6148,38 +5370,35 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "placeholder", - "rows", + "max", + "min", "value" ] }, - "IProtectedTextarea": { - "title": "Textarea Protected", - "description": "The protected API for Textarea", + "IProtected_BoundedInt": { + "title": "_BoundedInt Protected", + "description": "The protected API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "max": 100, + "min": 0, + "value": 0 }, "properties": { "_dom_classes": { @@ -6202,7 +5421,7 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -6237,60 +5456,50 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextareaView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { + "description": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "", + "description": "Description of the control." }, - "rows": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "The number of rows to display." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, "value": { - "type": "string", - "default": "", - "description": "String value" - } - }, + "type": "integer", + "default": 0, + "description": "Int value" + } + }, "required": [ "_dom_classes", "_model_module", @@ -6301,35 +5510,35 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "placeholder", - "rows", + "max", + "min", "value" ] }, - "IPublic_BoundedInt": { - "title": "_BoundedInt public", - "description": "The public API for _BoundedInt", + "IPublicFloatText": { + "title": "FloatText public", + "description": "The public API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "FloatTextView", + "continuous_update": false, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "disabled": false, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6352,7 +5561,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatTextModel", "description": "" }, "_view_count": { @@ -6378,16 +5587,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -6406,20 +5613,27 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6431,34 +5645,37 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", - "max", - "min", + "disabled", + "step", "value" ] }, - "IProtected_BoundedInt": { - "title": "_BoundedInt Protected", - "description": "The protected API for _BoundedInt", + "IProtectedFloatText": { + "title": "FloatText Protected", + "description": "The protected API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "FloatTextView", + "continuous_update": false, "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "disabled": false, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6481,7 +5698,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatTextModel", "description": "" }, "_states_to_send": { @@ -6516,16 +5733,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -6544,20 +5759,27 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6570,33 +5792,37 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", - "max", - "min", + "disabled", + "step", "value" ] }, - "IPublicColorPicker": { - "title": "ColorPicker public", - "description": "The public API for ColorPicker", + "IPublicController": { + "title": "Controller public", + "description": "The public API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "ControllerModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": "black" + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -6619,7 +5845,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "ControllerModel", "description": "" }, "_view_count": { @@ -6646,40 +5872,45 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "ControllerView", "description": "" }, - "concise": { + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." + }, + "buttons": { + "type": "array", + "items": {}, + "default": [], + "description": "The buttons on the gamepad." + }, + "connected": { "type": "boolean", "default": false, - "description": "Display short version with just a color selector." + "description": "Whether the gamepad is connected." }, - "description": { + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "description": "The name of the control mapping." }, - "value": { + "name": { "type": "string", - "default": "black", - "description": "The color value." + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -6691,34 +5922,39 @@ "_view_module", "_view_module_version", "_view_name", - "concise", - "description", - "description_tooltip", - "disabled", - "value" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IProtectedColorPicker": { - "title": "ColorPicker Protected", - "description": "The protected API for ColorPicker", + "IProtectedController": { + "title": "Controller Protected", + "description": "The protected API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "ControllerModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": "black" + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -6741,7 +5977,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "ControllerModel", "description": "" }, "_states_to_send": { @@ -6777,40 +6013,45 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "ControllerView", "description": "" }, - "concise": { + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." + }, + "buttons": { + "type": "array", + "items": {}, + "default": [], + "description": "The buttons on the gamepad." + }, + "connected": { "type": "boolean", "default": false, - "description": "Display short version with just a color selector." + "description": "Whether the gamepad is connected." }, - "description": { + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "description": "The name of the control mapping." }, - "value": { + "name": { "type": "string", - "default": "black", - "description": "The color value." + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -6823,32 +6064,36 @@ "_view_module", "_view_module_version", "_view_name", - "concise", - "description", - "description_tooltip", - "disabled", - "value" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IPublic_SelectionContainer": { - "title": "_SelectionContainer public", - "description": "The public API for _SelectionContainer", + "IPublicColorPicker": { + "title": "ColorPicker public", + "description": "The public API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", - "_titles": {}, + "_model_name": "ColorPickerModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { "_dom_classes": { @@ -6871,14 +6116,9 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "ColorPickerModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -6903,31 +6143,40 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "ColorPickerView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ @@ -6935,36 +6184,39 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IProtected_SelectionContainer": { - "title": "_SelectionContainer Protected", - "description": "The protected API for _SelectionContainer", + "IProtectedColorPicker": { + "title": "ColorPicker Protected", + "description": "The protected API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "ColorPickerModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { "_dom_classes": { @@ -6987,7 +6239,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "ColorPickerModel", "description": "" }, "_states_to_send": { @@ -6999,11 +6251,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -7028,31 +6275,40 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "ColorPickerView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ @@ -7061,37 +6317,37 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IPublicFloatText": { - "title": "FloatText public", - "description": "The public API for FloatText", + "IPublic_String": { + "title": "_String public", + "description": "The public API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "StringModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, - "value": 0.0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -7114,7 +6370,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "StringModel", "description": "" }, "_view_count": { @@ -7140,53 +6396,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -7198,36 +6444,33 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "step", + "placeholder", "value" ] }, - "IProtectedFloatText": { - "title": "FloatText Protected", - "description": "The protected API for FloatText", + "IProtected_String": { + "title": "_String Protected", + "description": "The protected API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "StringModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, - "value": 0.0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -7250,7 +6493,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "StringModel", "description": "" }, "_states_to_send": { @@ -7285,53 +6528,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -7344,33 +6577,28 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "step", + "placeholder", "value" ] }, - "IPublicTab": { - "title": "Tab public", - "description": "The public API for Tab", + "IPublic_Media": { + "title": "_Media public", + "description": "The public API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TabModel", - "_titles": {}, + "_model_name": "DOMWidgetModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": null }, "properties": { "_dom_classes": { @@ -7393,14 +6621,9 @@ }, "_model_name": { "type": "string", - "default": "TabModel", + "default": "DOMWidgetModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -7424,27 +6647,11 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TabView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "selected_index": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Name of the view." }, { "type": "null" @@ -7457,36 +6664,29 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "box_style", - "children", - "selected_index" + "_view_name" ] }, - "IProtectedTab": { - "title": "Tab Protected", - "description": "The protected API for Tab", + "IProtected_Media": { + "title": "_Media Protected", + "description": "The protected API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TabModel", + "_model_name": "DOMWidgetModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": null }, "properties": { "_dom_classes": { @@ -7509,7 +6709,7 @@ }, "_model_name": { "type": "string", - "default": "TabModel", + "default": "DOMWidgetModel", "description": "" }, "_states_to_send": { @@ -7521,11 +6721,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -7549,27 +6744,11 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TabView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "selected_index": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Name of the view." }, { "type": "null" @@ -7583,83 +6762,53 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "box_style", - "children", - "selected_index" + "_view_name" ] }, - "IPublicLayout": { - "title": "Layout public", - "description": "The public API for Layout", + "IPublicBox": { + "title": "Box public", + "description": "The public API for Box", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] }, "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", + "default": "BoxModel", "description": "" }, "_view_count": { @@ -7676,540 +6825,1241 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "LayoutView", + "default": "BoxView", "description": "" }, - "align_content": { + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedBox": { + "title": "Box Protected", + "description": "The protected API for Box", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "BoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The align-content CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "align_items": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "BoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublicCheckbox": { + "title": "Checkbox public", + "description": "The public API for Checkbox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "CheckboxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "CheckboxModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The align-items CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "align_self": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "CheckboxView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The align-self CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "border": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The border CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "bottom": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The bottom CSS attribute." - }, - { - "type": "null" - } - ] + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." }, - "display": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The display CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "indent", + "value" + ] + }, + "IProtectedCheckbox": { + "title": "Checkbox Protected", + "description": "The protected API for Checkbox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "CheckboxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "CheckboxView", + "description": "", + "description_tooltip": null, + "disabled": false, + "indent": true, + "value": false + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "flex": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "flex_flow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex-flow CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_area": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-area CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "CheckboxModel", + "description": "" }, - "grid_auto_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-columns CSS attribute." - }, - { - "type": "null" - } - ] + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "grid_auto_flow": { + "_view_count": { "oneOf": [ { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The grid-auto-flow CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_auto_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-rows CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_column": { + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "CheckboxView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-column CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_gap": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "indent", + "value" + ] + }, + "IPublicOutput": { + "title": "Output public", + "description": "The public API for Output", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "OutputModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-gap CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_row": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "OutputView", + "description": "" + }, + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "msg_id", + "outputs" + ] + }, + "IProtectedOutput": { + "title": "Output Protected", + "description": "The protected API for Output", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "OutputModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-row CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_template_areas": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/output", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.0.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "OutputView", + "description": "" + }, + "msg_id": { + "type": "string", + "default": "", + "description": "Parent message id of messages to capture" + }, + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "msg_id", + "outputs" + ] + }, + "IPublic_Int": { + "title": "_Int public", + "description": "The public API for _Int", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-areas CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_template_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-columns CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_template_rows": { + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-template-rows CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "height": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_Int": { + "title": "_Int Protected", + "description": "The protected API for _Int", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "justify_items": { - "oneOf": [ - { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], - "default": null, - "description": "The justify-items CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "left": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The left CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "margin": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The margin CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" }, - "max_height": { + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The max-height CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "max_width": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The max-width CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "min_height": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The min-height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "min_width": { + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicBoundedFloatText": { + "title": "BoundedFloatText public", + "description": "The public API for BoundedFloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedFloatTextModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedFloatTextModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The min-width CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "object_fit": { - "oneOf": [ - { - "enum": ["contain", "cover", "fill", "scale-down", "none"], - "default": null, - "description": "The object-fit CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "object_position": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The object-position CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "order": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The order CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" }, - "overflow": { + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The overflow CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "padding": { + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { "oneOf": [ { - "type": "string", + "type": "number", "default": null, - "description": "The padding CSS attribute." + "description": "Minimum step to increment the value" }, { "type": "null" } ] }, - "right": { + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IProtectedBoundedFloatText": { + "title": "BoundedFloatText Protected", + "description": "The protected API for BoundedFloatText", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "BoundedFloatTextModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "BoundedFloatTextModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The right CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "top": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The top CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "visibility": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { "oneOf": [ { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "type": "number", "default": null, - "description": "The visibility CSS attribute." + "description": "Minimum step to increment the value" }, { "type": "null" } ] }, - "width": { + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "step", + "value" + ] + }, + "IPublicAxis": { + "title": "Axis public", + "description": "The public API for Axis", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerAxisModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerAxisView", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerAxisModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The width CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerAxisView", + "description": "" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -8217,124 +8067,161 @@ "_view_module", "_view_module_version", "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" + "value" ] }, - "IProtectedLayout": { - "title": "Layout Protected", - "description": "The protected API for Layout", + "IProtectedAxis": { + "title": "Axis Protected", + "description": "The protected API for Axis", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ControllerAxisModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ControllerAxisView", + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ControllerAxisModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ControllerAxisView", + "description": "" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "The value of the axis." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "value" + ] + }, + "IPublicSelectMultiple": { + "title": "SelectMultiple public", + "description": "The public API for SelectMultiple", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SelectMultipleModel", + "_options_labels": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "SelectMultipleView", + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "rows": 5 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", + "default": "SelectMultipleModel", "description": "" }, - "_states_to_send": { + "_options_labels": { "type": "array", - "uniqueItems": true, "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + "type": "string" }, - "default": {}, - "description": "" + "default": [], + "description": "The labels for the options." }, "_view_count": { "oneOf": [ @@ -8350,618 +8237,1113 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "LayoutView", + "default": "SelectMultipleView", "description": "" }, - "align_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-content CSS attribute." - }, - { - "type": "null" - } - ] + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "align_items": { + "description_tooltip": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The align-items CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "align_self": { - "oneOf": [ - { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-self CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "border": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The border CSS attribute." - }, - { - "type": "null" - } - ] + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" }, - "bottom": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The bottom CSS attribute." - }, - { - "type": "null" - } - ] + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "rows" + ] + }, + "IProtectedSelectMultiple": { + "title": "SelectMultiple Protected", + "description": "The protected API for SelectMultiple", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "SelectMultipleModel", + "_options_labels": [], + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "SelectMultipleView", + "description": "", + "description_tooltip": null, + "disabled": false, + "index": [], + "label": [], + "options": [], + "rows": 5, + "value": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "SelectMultipleModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "display": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The display CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "flex": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "flex_flow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex-flow CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_area": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-area CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "SelectMultipleView", + "description": "" }, - "grid_auto_columns": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-auto-columns CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_auto_flow": { - "oneOf": [ - { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The grid-auto-flow CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "grid_auto_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-rows CSS attribute." - }, - { - "type": "null" - } - ] + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" }, - "grid_column": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-column CSS attribute." - }, - { - "type": "null" - } - ] + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" }, - "grid_gap": { + "options": { "oneOf": [ { - "type": "string", - "default": null, - "description": "The grid-gap CSS attribute." + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " }, { "type": "null" } ] }, - "grid_row": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-row CSS attribute." - }, - { - "type": "null" - } - ] + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." }, - "grid_template_areas": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-areas CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "rows", + "value" + ] + }, + "IPublicHTML": { + "title": "HTML public", + "description": "The public API for HTML", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "grid_template_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-columns CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_template_rows": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-rows CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "height": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IProtectedHTML": { + "title": "HTML Protected", + "description": "The protected API for HTML", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HTMLModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HTMLView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HTMLModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The justify-content CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "justify_items": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HTMLView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "type": "string", "default": null, - "description": "The justify-items CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "left": { + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "placeholder", + "value" + ] + }, + "IPublicCoreWidget": { + "title": "CoreWidget public", + "description": "The public API for CoreWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "WidgetModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The left CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "margin": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The margin CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedCoreWidget": { + "title": "CoreWidget Protected", + "description": "The protected API for CoreWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "WidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "WidgetModel", + "description": "Name of the model." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "max_height": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The max-height CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "max_width": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The max-width CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IPublicToggleButtonsStyle": { + "title": "ToggleButtonsStyle public", + "description": "The public API for ToggleButtonsStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "min_height": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonsStyleModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The min-height CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "min_width": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_width", + "description_width", + "font_weight" + ] + }, + "IProtectedToggleButtonsStyle": { + "title": "ToggleButtonsStyle Protected", + "description": "The protected API for ToggleButtonsStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "ToggleButtonsStyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The min-width CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "object_fit": { - "oneOf": [ - { - "enum": ["contain", "cover", "fill", "scale-down", "none"], - "default": null, - "description": "The object-fit CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "button_width", + "description_width", + "font_weight" + ] + }, + "IPublic_IntRange": { + "title": "_IntRange public", + "description": "The public API for _IntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" }, - "object_position": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The object-position CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "order": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The order CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "overflow": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The overflow CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_IntRange": { + "title": "_IntRange Protected", + "description": "The protected API for _IntRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "padding": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The padding CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "right": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The right CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" }, - "top": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The top CSS attribute." - }, - { - "type": "null" - } - ] + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "visibility": { + "_view_count": { "oneOf": [ { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "type": "integer", "default": null, - "description": "The visibility CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "width": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The width CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" ] }, - "IPublicCheckbox": { - "title": "Checkbox public", - "description": "The public API for Checkbox", + "IPublicSliderStyle": { + "title": "SliderStyle public", + "description": "The public API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", + "_model_name": "SliderStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", - "description": "", - "description_tooltip": null, - "disabled": false, - "indent": true, - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -8974,7 +9356,7 @@ }, "_model_name": { "type": "string", - "default": "CheckboxModel", + "default": "SliderStyleModel", "description": "" }, "_view_count": { @@ -8991,54 +9373,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "StyleView", "description": "" }, - "description": { + "description_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "indent": { - "type": "boolean", - "default": true, - "description": "Indent the control to align with other controls with a description." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -9046,44 +9400,28 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" + "description_width" ] }, - "IProtectedCheckbox": { - "title": "Checkbox Protected", - "description": "The protected API for Checkbox", + "IProtectedSliderStyle": { + "title": "SliderStyle Protected", + "description": "The protected API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", + "_model_name": "SliderStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", - "description": "", - "description_tooltip": null, - "disabled": false, - "indent": true, - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -9096,7 +9434,7 @@ }, "_model_name": { "type": "string", - "default": "CheckboxModel", + "default": "SliderStyleModel", "description": "" }, "_states_to_send": { @@ -9122,54 +9460,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "StyleView", "description": "" }, - "description": { + "description_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "indent": { - "type": "boolean", - "default": true, - "description": "Indent the control to align with other controls with a description." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -9178,35 +9488,32 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" + "description_width" ] }, - "IPublicController": { - "title": "Controller public", - "description": "The public API for Controller", + "IPublicFloatProgress": { + "title": "FloatProgress public", + "description": "The public API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -9229,72 +9536,84 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "FloatProgressModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ProgressView", "description": "" }, - "_view_count": { + "bar_style": { + "oneOf": [ + { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + { + "type": "null" + } + ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ControllerView", - "description": "" - }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." - }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." - }, - "connected": { - "type": "boolean", - "default": false, - "description": "Whether the gamepad is connected." - }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "mapping": { - "type": "string", - "default": "", - "description": "The name of the control mapping." + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "name": { - "type": "string", - "default": "", - "description": "The name of the controller." + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, - "timestamp": { + "value": { "type": "number", "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "description": "Float value" } }, "required": [ @@ -9306,38 +9625,39 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IProtectedController": { - "title": "Controller Protected", - "description": "The protected API for Controller", + "IProtectedFloatProgress": { + "title": "FloatProgress Protected", + "description": "The protected API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "FloatProgressModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -9360,7 +9680,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "FloatProgressModel", "description": "" }, "_states_to_send": { @@ -9396,45 +9716,57 @@ }, "_view_name": { "type": "string", - "default": "ControllerView", + "default": "ProgressView", "description": "" }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." + "bar_style": { + "oneOf": [ + { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." + }, + { + "type": "null" + } + ] }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "connected": { - "type": "boolean", - "default": false, - "description": "Whether the gamepad is connected." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "mapping": { - "type": "string", - "default": "", - "description": "The name of the control mapping." + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "name": { - "type": "string", - "default": "", - "description": "The name of the controller." + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, - "timestamp": { + "value": { "type": "number", "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "description": "Float value" } }, "required": [ @@ -9447,33 +9779,37 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IPublic_Int": { - "title": "_Int public", - "description": "The public API for _Int", + "IPublicText": { + "title": "Text public", + "description": "The public API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "TextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "TextView", + "continuous_update": true, "description": "", "description_tooltip": null, - "value": 0 + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -9496,7 +9832,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "TextModel", "description": "" }, "_view_count": { @@ -9522,16 +9858,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "TextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -9550,10 +9884,20 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -9565,30 +9909,37 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "placeholder", "value" ] }, - "IProtected_Int": { - "title": "_Int Protected", - "description": "The protected API for _Int", + "IProtectedText": { + "title": "Text Protected", + "description": "The protected API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "TextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "TextView", + "continuous_update": true, "description": "", "description_tooltip": null, - "value": 0 + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -9611,7 +9962,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "TextModel", "description": "" }, "_states_to_send": { @@ -9646,16 +9997,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "TextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -9674,10 +10023,20 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -9690,34 +10049,40 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "placeholder", "value" ] }, - "IPublicBoundedFloatText": { - "title": "BoundedFloatText public", - "description": "The public API for BoundedFloatText", + "IPublicIntSlider": { + "title": "IntSlider public", + "description": "The public API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": "IntSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, - "value": 0.0 + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -9740,7 +10105,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "IntSliderModel", "description": "" }, "_view_count": { @@ -9767,13 +10132,13 @@ }, "_view_name": { "type": "string", - "default": "FloatTextView", + "default": "IntSliderView", "description": "" }, "continuous_update": { "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, "description": { "type": "string", @@ -9798,31 +10163,34 @@ "description": "Enable or disable user changes" }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -9840,34 +10208,39 @@ "disabled", "max", "min", + "orientation", + "readout", "step", "value" ] }, - "IProtectedBoundedFloatText": { - "title": "BoundedFloatText Protected", - "description": "The protected API for BoundedFloatText", + "IProtectedIntSlider": { + "title": "IntSlider Protected", + "description": "The protected API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "IntSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": "IntSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, - "value": 0.0 + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -9890,7 +10263,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "IntSliderModel", "description": "" }, "_states_to_send": { @@ -9926,13 +10299,13 @@ }, "_view_name": { "type": "string", - "default": "FloatTextView", + "default": "IntSliderView", "description": "" }, "continuous_update": { "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, "description": { "type": "string", @@ -9957,31 +10330,34 @@ "description": "Enable or disable user changes" }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -10000,29 +10376,32 @@ "disabled", "max", "min", + "orientation", + "readout", "step", "value" ] }, - "IPublic_String": { - "title": "_String public", - "description": "The public API for _String", + "IPublicAudio": { + "title": "Audio public", + "description": "The public API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "AudioModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { "_dom_classes": { @@ -10045,7 +10424,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "AudioModel", "description": "" }, "_view_count": { @@ -10071,43 +10450,29 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "AudioView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" }, - "value": { + "format": { "type": "string", - "default": "", - "description": "String value" + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ @@ -10119,32 +10484,33 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "autoplay", + "controls", + "format", + "loop" ] }, - "IProtected_String": { - "title": "_String Protected", - "description": "The protected API for _String", + "IProtectedAudio": { + "title": "Audio Protected", + "description": "The protected API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "AudioModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { "_dom_classes": { @@ -10167,7 +10533,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "AudioModel", "description": "" }, "_states_to_send": { @@ -10202,43 +10568,29 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "AudioView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the audio starts when it's displayed" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" }, - "value": { + "format": { "type": "string", - "default": "", - "description": "String value" + "default": "mp3", + "description": "The format of the audio." + }, + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ @@ -10251,37 +10603,30 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "autoplay", + "controls", + "format", + "loop" ] }, - "IPublic_Media": { - "title": "_Media public", - "description": "The public API for _Media", + "IPublicDescriptionStyle": { + "title": "DescriptionStyle public", + "description": "The public API for DescriptionStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", + "_model_name": "DescriptionStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10294,7 +10639,7 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "DescriptionStyleModel", "description": "" }, "_view_count": { @@ -10311,64 +10656,55 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description_width" ] }, - "IProtected_Media": { - "title": "_Media Protected", - "description": "The protected API for _Media", + "IProtectedDescriptionStyle": { + "title": "DescriptionStyle Protected", + "description": "The protected API for DescriptionStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", + "_model_name": "DescriptionStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10381,7 +10717,7 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "DescriptionStyleModel", "description": "" }, "_states_to_send": { @@ -10407,29 +10743,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10437,25 +10770,39 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description_width" ] }, - "IPublicCoreWidget": { - "title": "CoreWidget public", - "description": "The public API for CoreWidget", + "IPublic_Float": { + "title": "_Float public", + "description": "The public API for _Float", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10468,8 +10815,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "DescriptionModel", + "description": "" }, "_view_count": { "oneOf": [ @@ -10504,35 +10851,74 @@ "type": "null" } ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description", + "description_tooltip", + "value" ] }, - "IProtectedCoreWidget": { - "title": "CoreWidget Protected", - "description": "The protected API for CoreWidget", + "IProtected_Float": { + "title": "_Float Protected", + "description": "The protected API for _Float", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10545,8 +10931,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "DescriptionModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -10590,9 +10976,32 @@ "type": "null" } ] + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10600,26 +11009,49 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description", + "description_tooltip", + "value" ] }, - "IPublicSliderStyle": { - "title": "SliderStyle public", - "description": "The public API for SliderStyle", + "IPublicPlay": { + "title": "Play public", + "description": "The public API for Play", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10632,9 +11064,19 @@ }, "_model_name": { "type": "string", - "default": "SliderStyleModel", + "default": "PlayModel", "description": "" }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, "_view_count": { "oneOf": [ { @@ -10649,54 +11091,132 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "PlayView", "description": "" }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_playing", + "_repeat", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description_width" + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" ] }, - "IProtectedSliderStyle": { - "title": "SliderStyle Protected", - "description": "The protected API for SliderStyle", + "IProtectedPlay": { + "title": "Play Protected", + "description": "The protected API for Play", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10709,9 +11229,19 @@ }, "_model_name": { "type": "string", - "default": "SliderStyleModel", + "default": "PlayModel", "description": "" }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -10735,55 +11265,113 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "PlayView", "description": "" }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_playing", + "_repeat", "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description_width" + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" ] }, - "IPublic_IntRange": { - "title": "_IntRange public", - "description": "The public API for _IntRange", + "IPublicVBox": { + "title": "VBox public", + "description": "The public API for VBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "VBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0, 1] + "_view_name": "VBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -10806,7 +11394,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "VBoxModel", "description": "" }, "_view_count": { @@ -10832,41 +11420,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "VBoxView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { + "children": { "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0, 1], - "description": "Tuple of (lower, upper) bounds" + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -10878,30 +11445,29 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children" ] }, - "IProtected_IntRange": { - "title": "_IntRange Protected", - "description": "The protected API for _IntRange", + "IProtectedVBox": { + "title": "VBox Protected", + "description": "The protected API for VBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "VBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0, 1] + "_view_name": "VBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -10924,7 +11490,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "VBoxModel", "description": "" }, "_states_to_send": { @@ -10959,41 +11525,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "VBoxView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { + "children": { "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0, 1], - "description": "Tuple of (lower, upper) bounds" + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -11006,43 +11551,28 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children" ] }, - "IPublicFloatProgress": { - "title": "FloatProgress public", - "description": "The public API for FloatProgress", + "IPublicButtonStyle": { + "title": "ButtonStyle public", + "description": "The public API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "ButtonStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11055,7 +11585,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "ButtonStyleModel", "description": "" }, "_view_count": { @@ -11072,71 +11602,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ProgressView", + "default": "StyleView", "description": "" }, - "bar_style": { - "oneOf": [ - { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - { - "type": "null" - } - ] - }, - "description": { + "font_weight": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11144,48 +11629,28 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "font_weight" ] }, - "IProtectedFloatProgress": { - "title": "FloatProgress Protected", - "description": "The protected API for FloatProgress", + "IProtectedButtonStyle": { + "title": "ButtonStyle Protected", + "description": "The protected API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "ButtonStyleModel", "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11198,7 +11663,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "ButtonStyleModel", "description": "" }, "_states_to_send": { @@ -11224,71 +11689,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ProgressView", + "default": "StyleView", "description": "" }, - "bar_style": { - "oneOf": [ - { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - { - "type": "null" - } - ] - }, - "description": { + "font_weight": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11297,31 +11717,28 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "font_weight" ] }, - "IPublicAxis": { - "title": "Axis public", - "description": "The public API for Axis", + "IPublicImage": { + "title": "Image public", + "description": "The public API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "ImageModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { "_dom_classes": { @@ -11344,7 +11761,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "ImageModel", "description": "" }, "_view_count": { @@ -11371,13 +11788,23 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "ImageView", "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ @@ -11389,26 +11816,31 @@ "_view_module", "_view_module_version", "_view_name", - "value" + "format", + "height", + "width" ] }, - "IProtectedAxis": { - "title": "Axis Protected", - "description": "The protected API for Axis", + "IProtectedImage": { + "title": "Image Protected", + "description": "The protected API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "ImageModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { "_dom_classes": { @@ -11431,7 +11863,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "ImageModel", "description": "" }, "_states_to_send": { @@ -11467,13 +11899,23 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "ImageView", "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { + "type": "string", + "default": "", + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ @@ -11486,26 +11928,33 @@ "_view_module", "_view_module_version", "_view_name", - "value" + "format", + "height", + "width" ] }, - "IPublicOutput": { - "title": "Output public", - "description": "The public API for Output", + "IPublicPassword": { + "title": "Password public", + "description": "The public API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PasswordModel", "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -11518,17 +11967,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_model_name": { "type": "string", - "default": "OutputModel", + "default": "PasswordModel", "description": "" }, "_view_count": { @@ -11545,32 +11994,55 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "OutputView", + "default": "PasswordView", "description": "" }, - "msg_id": { + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { "type": "string", "default": "", - "description": "Parent message id of messages to capture" + "description": "Description of the control." }, - "outputs": { - "type": "array", - "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" - }, - "default": [], - "description": "The output messages synced from the frontend." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -11582,28 +12054,37 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IProtectedOutput": { - "title": "Output Protected", - "description": "The protected API for Output", + "IProtectedPassword": { + "title": "Password Protected", + "description": "The protected API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PasswordModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PasswordView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -11616,17 +12097,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_model_name": { "type": "string", - "default": "OutputModel", + "default": "PasswordModel", "description": "" }, "_states_to_send": { @@ -11652,32 +12133,55 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "OutputView", + "default": "PasswordView", "description": "" }, - "msg_id": { + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { "type": "string", "default": "", - "description": "Parent message id of messages to capture" + "description": "Description of the control." }, - "outputs": { - "type": "array", - "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" - }, - "default": [], - "description": "The output messages synced from the frontend." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -11690,31 +12194,48 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IPublicHTML": { - "title": "HTML public", - "description": "The public API for HTML", + "IPublicFileUpload": { + "title": "FileUpload public", + "description": "The public API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "FileUploadModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -11735,7 +12256,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "FileUploadModel", "description": "" }, "_view_count": { @@ -11762,12 +12283,30 @@ }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "FileUploadView", "description": "" }, - "description": { + "accept": { "type": "string", "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" + }, + "description": { + "type": "string", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -11782,18 +12321,37 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" }, - "value": { + "error": { "type": "string", "default": "", - "description": "String value" + "description": "Error message" + }, + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -11802,34 +12360,54 @@ "_view_module", "_view_module_version", "_view_name", + "accept", + "button_style", + "data", "description", "description_tooltip", - "placeholder", - "value" + "disabled", + "error", + "icon", + "metadata", + "multiple" ] }, - "IProtectedHTML": { - "title": "HTML Protected", - "description": "The protected API for HTML", + "IProtectedFileUpload": { + "title": "FileUpload Protected", + "description": "The protected API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "FileUploadModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLView", - "description": "", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false, + "value": {} }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -11850,7 +12428,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "FileUploadModel", "description": "" }, "_states_to_send": { @@ -11886,12 +12464,30 @@ }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "FileUploadView", "description": "" }, - "description": { + "accept": { "type": "string", "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" + }, + "description": { + "type": "string", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -11906,18 +12502,42 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" }, - "value": { + "error": { "type": "string", "default": "", - "description": "String value" + "description": "Error message" + }, + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" + }, + "value": { + "type": "object", + "description": "", + "default": {} } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -11927,33 +12547,43 @@ "_view_module", "_view_module_version", "_view_name", + "accept", + "button_style", + "data", "description", "description_tooltip", - "placeholder", + "disabled", + "error", + "icon", + "metadata", + "multiple", "value" ] }, - "IPublicSelectMultiple": { - "title": "SelectMultiple public", - "description": "The public API for SelectMultiple", + "IPublicBoundedIntText": { + "title": "BoundedIntText public", + "description": "The public API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", - "_options_labels": [], + "_model_name": "BoundedIntTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", + "_view_name": "IntTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "index": [], - "rows": 5 + "max": 100, + "min": 0, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -11976,17 +12606,9 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "BoundedIntTextModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_view_count": { "oneOf": [ { @@ -12011,9 +12633,14 @@ }, "_view_name": { "type": "string", - "default": "SelectMultipleView", + "default": "IntTextView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, "description": { "type": "string", "default": "", @@ -12036,18 +12663,25 @@ "default": false, "description": "Enable or disable user changes" }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "rows": { + "min": { "type": "integer", - "default": 5, - "description": "The number of rows to display." + "default": 0, + "description": "Min value" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -12055,43 +12689,45 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", "disabled", - "index", - "rows" + "max", + "min", + "step", + "value" ] }, - "IProtectedSelectMultiple": { - "title": "SelectMultiple Protected", - "description": "The protected API for SelectMultiple", + "IProtectedBoundedIntText": { + "title": "BoundedIntText Protected", + "description": "The protected API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", - "_options_labels": [], + "_model_name": "BoundedIntTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", + "_view_name": "IntTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "index": [], - "label": [], - "options": [], - "rows": 5, - "value": [] + "max": 100, + "min": 0, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -12114,17 +12750,9 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "BoundedIntTextModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -12158,9 +12786,14 @@ }, "_view_name": { "type": "string", - "default": "SelectMultipleView", + "default": "IntTextView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, "description": { "type": "string", "default": "", @@ -12183,43 +12816,25 @@ "default": false, "description": "Enable or disable user changes" }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - }, - "label": { - "type": "array", - "items": { - "type": "string" - }, - "default": {}, - "description": "Selected labels" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "options": { - "oneOf": [ - { - "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " - }, - { - "type": "null" - } - ] + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "rows": { + "step": { "type": "integer", - "default": 5, - "description": "The number of rows to display." + "default": 1, + "description": "Minimum step to increment the value" }, "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -12227,52 +12842,60 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", "disabled", - "index", - "label", - "options", - "rows", + "max", + "min", + "step", "value" ] }, - "IPublicDescriptionStyle": { - "title": "DescriptionStyle public", - "description": "The public API for DescriptionStyle", + "IPublicDOMWidget": { + "title": "DOMWidget public", + "description": "The public API for DOMWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "DOMWidgetModel", "description": "" }, "_view_count": { @@ -12288,68 +12911,86 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] }, "_view_module_version": { "type": "string", - "default": "1.2.0", - "description": "" + "default": "", + "description": "A semver requirement for the namespace version containing the view." }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "description_width": { - "type": "string", - "default": "", - "description": "Width of the description to the side of the control." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description_width" + "_view_name" ] }, - "IProtectedDescriptionStyle": { - "title": "DescriptionStyle Protected", - "description": "The protected API for DescriptionStyle", + "IProtectedDOMWidget": { + "title": "DOMWidget Protected", + "description": "The protected API for DOMWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "DOMWidgetModel", "description": "" }, "_states_to_send": { @@ -12374,27 +13015,37 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] }, "_view_module_version": { "type": "string", - "default": "1.2.0", - "description": "" + "default": "", + "description": "A semver requirement for the namespace version containing the view." }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "description_width": { - "type": "string", - "default": "", - "description": "Width of the description to the side of the control." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -12402,35 +13053,35 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description_width" + "_view_name" ] }, - "IPublicIntSlider": { - "title": "IntSlider public", - "description": "The public API for IntSlider", + "IPublicFloatSlider": { + "title": "FloatSlider public", + "description": "The public API for FloatSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", + "_model_name": "FloatSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", + "_view_name": "FloatSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, + "max": 100.0, + "min": 0.0, "orientation": "horizontal", "readout": true, - "step": 1, - "value": 0 + "step": 0.1, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -12453,7 +13104,7 @@ }, "_model_name": { "type": "string", - "default": "IntSliderModel", + "default": "FloatSliderModel", "description": "" }, "_view_count": { @@ -12480,7 +13131,7 @@ }, "_view_name": { "type": "string", - "default": "IntSliderView", + "default": "FloatSliderView", "description": "" }, "continuous_update": { @@ -12511,13 +13162,13 @@ "description": "Enable or disable user changes" }, "max": { - "type": "integer", - "default": 100, + "type": "number", + "default": 100.0, "description": "Max value" }, "min": { - "type": "integer", - "default": 0, + "type": "number", + "default": 0.0, "description": "Min value" }, "orientation": { @@ -12531,14 +13182,14 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "integer", - "default": 1, + "type": "number", + "default": 0.1, "description": "Minimum step to increment the value" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -12562,32 +13213,33 @@ "value" ] }, - "IProtectedIntSlider": { - "title": "IntSlider Protected", - "description": "The protected API for IntSlider", + "IProtectedFloatSlider": { + "title": "FloatSlider Protected", + "description": "The protected API for FloatSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", + "_model_name": "FloatSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", + "_view_name": "FloatSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, + "max": 100.0, + "min": 0.0, "orientation": "horizontal", "readout": true, - "step": 1, - "value": 0 + "step": 0.1, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -12610,7 +13262,7 @@ }, "_model_name": { "type": "string", - "default": "IntSliderModel", + "default": "FloatSliderModel", "description": "" }, "_states_to_send": { @@ -12646,7 +13298,7 @@ }, "_view_name": { "type": "string", - "default": "IntSliderView", + "default": "FloatSliderView", "description": "" }, "continuous_update": { @@ -12677,13 +13329,13 @@ "description": "Enable or disable user changes" }, "max": { - "type": "integer", - "default": 100, + "type": "number", + "default": 100.0, "description": "Max value" }, "min": { - "type": "integer", - "default": 0, + "type": "number", + "default": 0.0, "description": "Min value" }, "orientation": { @@ -12697,14 +13349,14 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "integer", - "default": 1, + "type": "number", + "default": 0.1, "description": "Minimum step to increment the value" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -12717,130 +13369,41 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" - ] - }, - "IPublicVBox": { - "title": "VBox public", - "description": "The public API for VBox", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "VBoxModel", - "description": "" - }, - "_view_count": { - "oneOf": [ - { - "type": "integer", - "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." - }, - { - "type": "null" - } - ] - }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "VBoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IProtectedVBox": { - "title": "VBox Protected", - "description": "The protected API for VBox", + "IPublicToggleButton": { + "title": "ToggleButton public", + "description": "The public API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", - "_states_to_send": [], + "_model_name": "ToggleButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [] + "_view_name": "ToggleButtonView", + "button_style": "", + "description": "", + "description_tooltip": null, + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { "_dom_classes": { @@ -12863,16 +13426,7 @@ }, "_model_name": { "type": "string", - "default": "VBoxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "ToggleButtonModel", "description": "" }, "_view_count": { @@ -12899,113 +13453,54 @@ }, "_view_name": { "type": "string", - "default": "VBoxView", + "default": "ToggleButtonView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "box_style", - "children" - ] - }, - "IPublicToggleButtonsStyle": { - "title": "ToggleButtonsStyle public", - "description": "The public API for ToggleButtonsStyle", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "description": "Use a predefined styling for the button." }, - "_model_name": { + "description": { "type": "string", - "default": "ToggleButtonsStyleModel", - "description": "" + "default": "", + "description": "Description of the control." }, - "_view_count": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.2.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "button_width": { + "icon": { "type": "string", "default": "", - "description": "The width of each button." + "description": "Font-awesome icon." }, - "description_width": { + "tooltip": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Tooltip caption of the toggle button." }, - "font_weight": { - "type": "string", - "default": "", - "description": "Text font weight of each button." + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13013,31 +13508,49 @@ "_view_module", "_view_module_version", "_view_name", - "button_width", - "description_width", - "font_weight" + "button_style", + "description", + "description_tooltip", + "disabled", + "icon", + "tooltip", + "value" ] }, - "IProtectedToggleButtonsStyle": { - "title": "ToggleButtonsStyle Protected", - "description": "The protected API for ToggleButtonsStyle", + "IProtectedToggleButton": { + "title": "ToggleButton Protected", + "description": "The protected API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", + "_model_name": "ToggleButtonModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ToggleButtonView", + "button_style": "", + "description": "", + "description_tooltip": null, + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13050,7 +13563,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonsStyleModel", + "default": "ToggleButtonModel", "description": "" }, "_states_to_send": { @@ -13076,143 +13589,115 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ToggleButtonView", "description": "" }, - "button_width": { - "type": "string", - "default": "", - "description": "The width of each button." - }, - "description_width": { - "type": "string", - "default": "", - "description": "Width of the description to the side of the control." - }, - "font_weight": { - "type": "string", + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], "default": "", - "description": "Text font weight of each button." - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "button_width", - "description_width", - "font_weight" - ] - }, - "IPublicButtonStyle": { - "title": "ButtonStyle public", - "description": "The public API for ButtonStyle", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "default": { - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "description": "Use a predefined styling for the button." }, - "_model_name": { + "description": { "type": "string", - "default": "ButtonStyleModel", - "description": "" + "default": "", + "description": "Description of the control." }, - "_view_count": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.2.0", - "description": "" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "_view_name": { + "icon": { "type": "string", - "default": "StyleView", - "description": "" + "default": "", + "description": "Font-awesome icon." }, - "font_weight": { + "tooltip": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Tooltip caption of the toggle button." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "font_weight" + "button_style", + "description", + "description_tooltip", + "disabled", + "icon", + "tooltip", + "value" ] }, - "IProtectedButtonStyle": { - "title": "ButtonStyle Protected", - "description": "The protected API for ButtonStyle", + "IPublicCombobox": { + "title": "Combobox public", + "description": "The public API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", - "_states_to_send": [], + "_model_name": "ComboboxModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ComboboxView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -13225,16 +13710,7 @@ }, "_model_name": { "type": "string", - "default": "ButtonStyleModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "ComboboxModel", "description": "" }, "_view_count": { @@ -13251,55 +13727,114 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ComboboxView", "description": "" }, - "font_weight": { + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "font_weight" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", + "value" ] }, - "IPublic_Float": { - "title": "_Float public", - "description": "The public API for _Float", + "IProtectedCombobox": { + "title": "Combobox Protected", + "description": "The protected API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "ComboboxModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ComboboxView", + "continuous_update": true, "description": "", "description_tooltip": null, - "value": 0.0 + "disabled": false, + "ensure_option": false, + "options": [], + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -13322,7 +13857,16 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "ComboboxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -13348,16 +13892,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "ComboboxView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -13376,10 +13918,33 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -13387,34 +13952,39 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "ensure_option", + "options", + "placeholder", "value" ] }, - "IProtected_Float": { - "title": "_Float Protected", - "description": "The protected API for _Float", + "IPublicHBox": { + "title": "HBox public", + "description": "The public API for HBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], + "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": 0.0 + "_view_name": "HBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -13437,16 +14007,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "HBoxModel", "description": "" }, "_view_count": { @@ -13472,38 +14033,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "HBoxView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -13511,42 +14054,33 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children" ] }, - "IPublicPlay": { - "title": "Play public", - "description": "The public API for Play", + "IProtectedHBox": { + "title": "HBox Protected", + "description": "The protected API for HBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, + "_model_name": "HBoxModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", - "description": "", - "description_tooltip": null, - "disabled": false, - "interval": 100, - "max": 100, - "min": 0, - "show_repeat": true, - "step": 1, - "value": 0 + "_view_name": "HBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -13569,18 +14103,17 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", + "default": "HBoxModel", "description": "" }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, "_view_count": { "oneOf": [ @@ -13606,60 +14139,19 @@ }, "_view_name": { "type": "string", - "default": "PlayView", + "default": "HBoxView", "description": "" }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" + "description": "Use a predefined styling for the box." }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -13667,50 +14159,35 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "interval", - "max", - "min", - "show_repeat", - "step", - "value" + "box_style", + "children" ] }, - "IProtectedPlay": { - "title": "Play Protected", - "description": "The protected API for Play", + "IPublicHTMLMath": { + "title": "HTMLMath public", + "description": "The public API for HTMLMath", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, - "_states_to_send": [], + "_model_name": "HTMLMathModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", + "_view_name": "HTMLMathView", "description": "", "description_tooltip": null, - "disabled": false, - "interval": 100, - "max": 100, - "min": 0, - "show_repeat": true, - "step": 1, - "value": 0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -13733,26 +14210,7 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", - "description": "" - }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "HTMLMathModel", "description": "" }, "_view_count": { @@ -13779,7 +14237,7 @@ }, "_view_name": { "type": "string", - "default": "PlayView", + "default": "HTMLMathView", "description": "" }, "description": { @@ -13799,40 +14257,15 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -13840,43 +14273,37 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", "description", "description_tooltip", - "disabled", - "interval", - "max", - "min", - "show_repeat", - "step", + "placeholder", "value" ] }, - "IPublicAudio": { - "title": "Audio public", - "description": "The public API for Audio", + "IProtectedHTMLMath": { + "title": "HTMLMath Protected", + "description": "The protected API for HTMLMath", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AudioModel", + "_model_name": "HTMLMathModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true + "_view_name": "HTMLMathView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -13899,7 +14326,16 @@ }, "_model_name": { "type": "string", - "default": "AudioModel", + "default": "HTMLMathModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -13926,28 +14362,35 @@ }, "_view_name": { "type": "string", - "default": "AudioView", + "default": "HTMLMathView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "format": { + "placeholder": { "type": "string", - "default": "mp3", - "description": "The format of the audio." + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the audio will start from the beginning after finishing" + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -13955,36 +14398,38 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "loop" + "description", + "description_tooltip", + "placeholder", + "value" ] }, - "IProtectedAudio": { - "title": "Audio Protected", - "description": "The protected API for Audio", + "IPublic_BoundedFloat": { + "title": "_BoundedFloat public", + "description": "The public API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AudioModel", - "_states_to_send": [], + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -14007,16 +14452,7 @@ }, "_model_name": { "type": "string", - "default": "AudioModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -14042,29 +14478,48 @@ "description": "" }, "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { "type": "string", - "default": "AudioView", - "description": "" + "default": "", + "description": "Description of the control." }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "format": { - "type": "string", - "default": "mp3", - "description": "The format of the audio." + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the audio will start from the beginning after finishing" + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -14072,38 +14527,39 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "loop" + "description", + "description_tooltip", + "max", + "min", + "value" ] }, - "IPublicText": { - "title": "Text public", - "description": "The public API for Text", + "IProtected_BoundedFloat": { + "title": "_BoundedFloat Protected", + "description": "The protected API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextModel", + "_model_name": "DescriptionModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "max": 100.0, + "min": 0.0, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -14126,7 +14582,16 @@ }, "_model_name": { "type": "string", - "default": "TextModel", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -14152,14 +14617,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14178,20 +14645,20 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -14199,40 +14666,37 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "placeholder", + "max", + "min", "value" ] }, - "IProtectedText": { - "title": "Text Protected", - "description": "The protected API for Text", + "IPublic_FloatRange": { + "title": "_FloatRange public", + "description": "The public API for _FloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextModel", - "_states_to_send": [], + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "value": [0.0, 1.0] }, "properties": { "_dom_classes": { @@ -14255,16 +14719,7 @@ }, "_model_name": { "type": "string", - "default": "TextModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -14290,14 +14745,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14316,20 +14773,13 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -14337,42 +14787,35 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "placeholder", "value" ] }, - "IPublicBoundedIntText": { - "title": "BoundedIntText public", - "description": "The public API for BoundedIntText", + "IProtected_FloatRange": { + "title": "_FloatRange Protected", + "description": "The protected API for _FloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", + "_model_name": "DescriptionModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "value": [0.0, 1.0] }, "properties": { "_dom_classes": { @@ -14395,7 +14838,16 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -14421,14 +14873,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "IntTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14447,30 +14901,13 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -14478,44 +14915,37 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "max", - "min", - "step", "value" ] }, - "IProtectedBoundedIntText": { - "title": "BoundedIntText Protected", - "description": "The protected API for BoundedIntText", + "IPublicButton": { + "title": "Button public", + "description": "The public API for Button", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", - "_states_to_send": [], + "_model_name": "ButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, + "_view_name": "ButtonView", + "button_style": "", "description": "", - "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "icon": "", + "tooltip": "" }, "properties": { "_dom_classes": { @@ -14538,16 +14968,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "ButtonModel", "description": "" }, "_view_count": { @@ -14574,55 +14995,33 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "ButtonView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." }, "description": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "description": "Button label." }, "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "description": "Enable or disable user changes." }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "icon": { + "type": "string", + "default": "", + "description": "Font-awesome icon name, without the 'fa-' prefix." }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "tooltip": { + "type": "string", + "default": "", + "description": "Tooltip caption of the button." } }, "required": [ @@ -14630,43 +15029,39 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", + "button_style", "description", - "description_tooltip", "disabled", - "max", - "min", - "step", - "value" + "icon", + "tooltip" ] }, - "IPublicToggleButton": { - "title": "ToggleButton public", - "description": "The public API for ToggleButton", + "IProtectedButton": { + "title": "Button Protected", + "description": "The protected API for Button", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", + "_model_name": "ButtonModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", + "_view_name": "ButtonView", "button_style": "", "description": "", - "description_tooltip": null, "disabled": false, "icon": "", - "tooltip": "", - "value": false + "tooltip": "" }, "properties": { "_dom_classes": { @@ -14689,7 +15084,16 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonModel", + "default": "ButtonModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -14716,7 +15120,7 @@ }, "_view_name": { "type": "string", - "default": "ToggleButtonView", + "default": "ButtonView", "description": "" }, "button_style": { @@ -14727,19 +15131,7 @@ "description": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "description": "Button label." }, "disabled": { "type": "boolean", @@ -14749,17 +15141,12 @@ "icon": { "type": "string", "default": "", - "description": "Font-awesome icon." + "description": "Font-awesome icon name, without the 'fa-' prefix." }, "tooltip": { "type": "string", "default": "", - "description": "Tooltip caption of the toggle button." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "description": "Tooltip caption of the button." } }, "required": [ @@ -14767,42 +15154,39 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", "button_style", "description", - "description_tooltip", "disabled", "icon", - "tooltip", - "value" + "tooltip" ] }, - "IProtectedToggleButton": { - "title": "ToggleButton Protected", - "description": "The protected API for ToggleButton", + "IPublic_MultipleSelection": { + "title": "_MultipleSelection public", + "description": "The public API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", - "_states_to_send": [], + "_model_name": "DescriptionModel", + "_options_labels": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", - "button_style": "", + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, - "icon": "", - "tooltip": "", - "value": false + "index": [] }, "properties": { "_dom_classes": { @@ -14825,17 +15209,16 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonModel", + "default": "DescriptionModel", "description": "" }, - "_states_to_send": { + "_options_labels": { "type": "array", - "uniqueItems": true, "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + "type": "string" }, - "default": {}, - "description": "" + "default": [], + "description": "The labels for the options." }, "_view_count": { "oneOf": [ @@ -14860,14 +15243,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ToggleButtonView", - "description": "" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14889,22 +15274,15 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." - }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon." - }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the toggle button." + "description": "Enable or disable user changes" }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" } }, "required": [ @@ -14912,45 +15290,42 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", + "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", - "button_style", "description", "description_tooltip", "disabled", - "icon", - "tooltip", - "value" + "index" ] }, - "IPublicFloatSlider": { - "title": "FloatSlider public", - "description": "The public API for FloatSlider", + "IProtected_MultipleSelection": { + "title": "_MultipleSelection Protected", + "description": "The protected API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", + "_model_name": "DescriptionModel", + "_options_labels": [], + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 + "index": [], + "label": [], + "options": [], + "value": [] }, "properties": { "_dom_classes": { @@ -14973,7 +15348,24 @@ }, "_model_name": { "type": "string", - "default": "FloatSliderModel", + "default": "DescriptionModel", + "description": "" + }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -14999,138 +15391,194 @@ "description": "" }, "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + }, + "description": { "type": "string", - "default": "FloatSliderView", - "description": "" + "default": "", + "description": "Description of the control." }, - "continuous_update": { + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." + "default": false, + "description": "Enable or disable user changes" + }, + "index": { + "type": "array", + "items": { + "type": "integer" + }, + "default": [], + "description": "Selected indices" + }, + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" + }, + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "value" + ] + }, + "IPublicStyle": { + "title": "Style public", + "description": "The public API for Style", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, - "description": { + "_model_module_version": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, - "description_tooltip": { + "_model_name": { + "type": "string", + "default": "StyleModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "_view_name" ] }, - "IProtectedFloatSlider": { - "title": "FloatSlider Protected", - "description": "The protected API for FloatSlider", + "IProtectedStyle": { + "title": "Style Protected", + "description": "The protected API for Style", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "FloatSliderModel", + "default": "StyleModel", "description": "" }, "_states_to_send": { @@ -15156,79 +15604,21 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "FloatSliderView", + "default": "StyleView", "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -15236,37 +15626,31 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "_view_name" ] }, - "IPublicImage": { - "title": "Image public", - "description": "The public API for Image", + "IPublicIntText": { + "title": "IntText public", + "description": "The public API for IntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "IntTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -15289,7 +15673,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "IntTextModel", "description": "" }, "_view_count": { @@ -15297,42 +15681,64 @@ { "type": "integer", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ImageView", - "description": "" - }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "height": { - "type": "string", - "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, - "width": { - "type": "string", - "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -15344,30 +15750,37 @@ "_view_module", "_view_module_version", "_view_name", - "format", - "height", - "width" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IProtectedImage": { - "title": "Image Protected", - "description": "The protected API for Image", + "IProtectedIntText": { + "title": "IntText Protected", + "description": "The protected API for IntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "IntTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -15390,7 +15803,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "IntTextModel", "description": "" }, "_states_to_send": { @@ -15426,23 +15839,45 @@ }, "_view_name": { "type": "string", - "default": "ImageView", + "default": "IntTextView", "description": "" }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "height": { + "description": { "type": "string", "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." + "description": "Description of the control." }, - "width": { - "type": "string", - "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -15455,31 +15890,34 @@ "_view_module", "_view_module_version", "_view_name", - "format", - "height", - "width" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IPublic_MultipleSelection": { - "title": "_MultipleSelection public", - "description": "The public API for _MultipleSelection", + "IPublicLabel": { + "title": "Label public", + "description": "The public API for Label", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], + "_model_name": "LabelModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "LabelView", "description": "", "description_tooltip": null, - "disabled": false, - "index": [] + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -15502,17 +15940,9 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "LabelModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_view_count": { "oneOf": [ { @@ -15536,16 +15966,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "LabelView", + "description": "" }, "description": { "type": "string", @@ -15564,18 +15987,15 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -15583,41 +16003,37 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", "description", "description_tooltip", - "disabled", - "index" + "placeholder", + "value" ] }, - "IProtected_MultipleSelection": { - "title": "_MultipleSelection Protected", - "description": "The protected API for _MultipleSelection", + "IProtectedLabel": { + "title": "Label Protected", + "description": "The protected API for Label", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], + "_model_name": "LabelModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "LabelView", "description": "", "description_tooltip": null, - "disabled": false, - "index": [], - "label": [], - "options": [], - "value": [] + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -15640,17 +16056,9 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "LabelModel", "description": "" }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." - }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -15682,72 +16090,37 @@ "default": "1.5.0", "description": "" }, - "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - }, - "label": { - "type": "array", - "items": { - "type": "string" - }, - "default": {}, - "description": "Selected labels" + "_view_name": { + "type": "string", + "default": "LabelView", + "description": "" }, - "options": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -15755,7 +16128,6 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_states_to_send", "_view_count", "_view_module", @@ -15763,34 +16135,32 @@ "_view_name", "description", "description_tooltip", - "disabled", - "index", - "label", - "options", + "placeholder", "value" ] }, - "IPublicPassword": { - "title": "Password public", - "description": "The public API for Password", + "IPublicVideo": { + "title": "Video public", + "description": "The public API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", + "_model_name": "VideoModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -15813,7 +16183,7 @@ }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "VideoModel", "description": "" }, "_view_count": { @@ -15840,45 +16210,38 @@ }, "_view_name": { "type": "string", - "default": "PasswordView", + "default": "VideoView", "description": "" }, - "continuous_update": { + "autoplay": { "type": "boolean", "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "description": "When true, the video starts when it's displayed" }, - "description": { + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "mp4", + "description": "The format of the video." }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "height": { + "type": "string", + "default": "", + "description": "Height of the video in pixels." }, - "disabled": { + "loop": { "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": true, + "description": "When true, the video will start from the beginning after finishing" }, - "value": { + "width": { "type": "string", "default": "", - "description": "String value" + "description": "Width of the video in pixels." } }, "required": [ @@ -15890,36 +16253,37 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "autoplay", + "controls", + "format", + "height", + "loop", + "width" ] }, - "IProtectedPassword": { - "title": "Password Protected", - "description": "The protected API for Password", + "IProtectedVideo": { + "title": "Video Protected", + "description": "The protected API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", + "_model_name": "VideoModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -15942,7 +16306,7 @@ }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "VideoModel", "description": "" }, "_states_to_send": { @@ -15978,45 +16342,38 @@ }, "_view_name": { "type": "string", - "default": "PasswordView", + "default": "VideoView", "description": "" }, - "continuous_update": { + "autoplay": { "type": "boolean", "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "description": "When true, the video starts when it's displayed" }, - "description": { + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "mp4", + "description": "The format of the video." }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "height": { + "type": "string", + "default": "", + "description": "Height of the video in pixels." }, - "disabled": { + "loop": { "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": true, + "description": "When true, the video will start from the beginning after finishing" }, - "value": { + "width": { "type": "string", "default": "", - "description": "String value" + "description": "Width of the video in pixels." } }, "required": [ @@ -16029,47 +16386,34 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "autoplay", + "controls", + "format", + "height", + "loop", + "width" ] }, - "IPublicFileUpload": { - "title": "FileUpload public", - "description": "The public API for FileUpload", + "IPublicDescriptionWidget": { + "title": "DescriptionWidget public", + "description": "The public API for DescriptionWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", - "description_tooltip": null, - "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false + "_view_name": null, + "description": "", + "description_tooltip": null }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -16090,7 +16434,7 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -16110,37 +16454,26 @@ "default": "@jupyter-widgets/controls", "description": "" }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "FileUploadView", - "description": "" - }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "data": { - "type": "array", - "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" - }, - "default": [], - "description": "List of file content (bytes)" + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", - "default": "Upload", + "default": "", "description": "Description of the control." }, "description_tooltip": { @@ -16154,38 +16487,9 @@ "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable button" - }, - "error": { - "type": "string", - "default": "", - "description": "Error message" - }, - "icon": { - "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." - }, - "metadata": { - "type": "array", - "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" - }, - "default": [], - "description": "List of file metadata" - }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -16194,53 +16498,31 @@ "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", "description", - "description_tooltip", - "disabled", - "error", - "icon", - "metadata", - "multiple" + "description_tooltip" ] }, - "IProtectedFileUpload": { - "title": "FileUpload Protected", - "description": "The protected API for FileUpload", + "IProtectedDescriptionWidget": { + "title": "DescriptionWidget Protected", + "description": "The protected API for DescriptionWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", - "description_tooltip": null, - "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false, - "value": {} + "_view_name": null, + "description": "", + "description_tooltip": null }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -16261,7 +16543,7 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -16296,31 +16578,20 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FileUploadView", - "description": "" - }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "data": { - "type": "array", - "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" - }, - "default": [], - "description": "List of file content (bytes)" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", - "default": "Upload", + "default": "", "description": "Description of the control." }, "description_tooltip": { @@ -16334,43 +16605,9 @@ "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable button" - }, - "error": { - "type": "string", - "default": "", - "description": "Error message" - }, - "icon": { - "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." - }, - "metadata": { - "type": "array", - "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" - }, - "default": [], - "description": "List of file metadata" - }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" - }, - "value": { - "type": "object", - "description": "", - "default": {} } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -16380,46 +16617,28 @@ "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", "description", - "description_tooltip", - "disabled", - "error", - "icon", - "metadata", - "multiple", - "value" + "description_tooltip" ] }, - "IPublicHBox": { - "title": "HBox public", - "description": "The public API for HBox", + "IPublicProgressStyle": { + "title": "ProgressStyle public", + "description": "The public API for ProgressStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", + "_model_name": "ProgressStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HBoxView", - "box_style": "", - "children": [] + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -16432,7 +16651,7 @@ }, "_model_name": { "type": "string", - "default": "HBoxModel", + "default": "ProgressStyleModel", "description": "" }, "_view_count": { @@ -16449,33 +16668,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HBoxView", + "default": "StyleView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description_width": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16483,38 +16695,28 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description_width" ] }, - "IProtectedHBox": { - "title": "HBox Protected", - "description": "The protected API for HBox", + "IProtectedProgressStyle": { + "title": "ProgressStyle Protected", + "description": "The protected API for ProgressStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", + "_model_name": "ProgressStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "HBoxView", - "box_style": "", - "children": [] + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -16527,7 +16729,7 @@ }, "_model_name": { "type": "string", - "default": "HBoxModel", + "default": "ProgressStyleModel", "description": "" }, "_states_to_send": { @@ -16553,33 +16755,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "HBoxView", + "default": "StyleView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description_width": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16588,54 +16783,40 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description_width" ] }, - "IPublic_BoundedFloat": { - "title": "_BoundedFloat public", - "description": "The public API for _BoundedFloat", + "IPublicWidget": { + "title": "Widget public", + "description": "The public API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_view_count": { "oneOf": [ @@ -16650,121 +16831,77 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] }, - "IProtected_BoundedFloat": { - "title": "_BoundedFloat Protected", - "description": "The protected API for _BoundedFloat", + "IProtectedWidget": { + "title": "Widget Protected", + "description": "The protected API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_states_to_send": { "type": "array", @@ -16788,62 +16925,36 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16851,29 +16962,31 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] }, - "IPublicDOMWidget": { - "title": "DOMWidget public", - "description": "The public API for DOMWidget", + "IPublic_BoundedFloatRange": { + "title": "_BoundedFloatRange public", + "description": "The public API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -16886,17 +16999,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -16912,33 +17025,66 @@ ] }, "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The namespace for the view." + "description": "Name of the view." }, { "type": "null" } ] }, - "_view_module_version": { + "description": { "type": "string", "default": "", - "description": "A semver requirement for the namespace version containing the view." + "description": "Description of the control." }, - "_view_name": { + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -16949,25 +17095,38 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "step", + "value" ] }, - "IProtectedDOMWidget": { - "title": "DOMWidget Protected", - "description": "The protected API for DOMWidget", + "IProtected_BoundedFloatRange": { + "title": "_BoundedFloatRange Protected", + "description": "The protected API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -16980,17 +17139,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -17015,33 +17174,66 @@ ] }, "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The namespace for the view." + "description": "Name of the view." }, { "type": "null" } ] }, - "_view_module_version": { + "description": { "type": "string", "default": "", - "description": "A semver requirement for the namespace version containing the view." + "description": "Description of the control." }, - "_view_name": { + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -17053,32 +17245,36 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "description", + "description_tooltip", + "max", + "min", + "step", + "value" ] }, - "IPublicCombobox": { - "title": "Combobox public", - "description": "The public API for Combobox", + "IPublic_BoundedIntRange": { + "title": "_BoundedIntRange public", + "description": "The public API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "ensure_option": false, - "options": [], - "placeholder": "\u200b", - "value": "" + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -17101,7 +17297,7 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -17127,14 +17323,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ComboboxView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -17153,33 +17351,23 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "options": { + "value": { "type": "array", "items": { - "type": "string" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [], - "description": "Dropdown options for the combobox" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -17191,40 +17379,35 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "ensure_option", - "options", - "placeholder", + "max", + "min", "value" ] }, - "IProtectedCombobox": { - "title": "Combobox Protected", - "description": "The protected API for Combobox", + "IProtected_BoundedIntRange": { + "title": "_BoundedIntRange Protected", + "description": "The protected API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "ensure_option": false, - "options": [], - "placeholder": "\u200b", - "value": "" + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -17247,7 +17430,7 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -17282,14 +17465,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ComboboxView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -17308,33 +17493,23 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "options": { + "value": { "type": "array", "items": { - "type": "string" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [], - "description": "Dropdown options for the combobox" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -17347,13 +17522,10 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", - "ensure_option", - "options", - "placeholder", + "max", + "min", "value" ] } diff --git a/scripts/schema-widgets.ipynb b/scripts/schema-widgets.ipynb index 8a38a5ae3..949526142 100644 --- a/scripts/schema-widgets.ipynb +++ b/scripts/schema-widgets.ipynb @@ -7,7 +7,7 @@ "source": [ "# How might we generate JS/TS classes from ipywidgets?\n", "\n", - "This is a companion piece to [@jtpio/jupyterlite#whatever](#whatever).\n", + "This is a companion piece to [@jtpio/jupyterlite#141](https://github.com/jtpio/jupyterlite/pull/141).\n", "\n", "The goal would be to arrive at a stably-versioned build of the `HasTraits` and `ipywidgets` APIs (without lower level `traitlets` internals) built on top of generic comms." ] @@ -22,6 +22,7 @@ "from traitlets import *\n", "from ipywidgets import *\n", "\n", + "import ipywidgets\n", "import jsonschema\n", "import pprint\n", "import warnings\n", @@ -92,6 +93,7 @@ " \"$schema\": \"http://json-schema.org/draft-07/schema#\",\n", " # might regret this...\n", " \"additionalProperties\": False,\n", + " \"$id\": f\"https://ipywidgets.readthedocs.io/en/{{ ipywidgets.__version__ }}/examples/Widget%20List.html\"\n", "}" ] }, @@ -617,12 +619,18 @@ "metadata": {}, "outputs": [], "source": [ - "HEADER = \"\"\"\n", - "/** a bunch of widgets */\n", + "HEADER = f\"\"\"\n", + "/***************************************************************************************************\n", + " * THIS FILE IS AUTO-GENERATED FROM * See `/scripts/schema-widgets.ipynb`, which also generates \n", + " ******** ipywidgets {ipywidgets.__version__} ******** `_schema_widgets.d.ts` and `_schema_widgets.json`.\n", + " * \n", + " * @see https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html\n", + " * @see https://github.com/jtpio/jupyterlite/pull/141\n", + " ***************************************************************************************************/\n", "import * as PROTO from './_schema_widgets';\n", "import * as SCHEMA from './_schema_widgets.json';\n", - "import {_HasTraits, _Widget} from './proto_widgets';\n", - "export let ALL = {} as Record;\n", + "import {{_HasTraits, _Widget}} from './proto_widgets';\n", + "export let ALL = {{}} as Record;\n", "\"\"\"" ] }, From 2a3169df3184397ff18ae4a53b4d1a3a8e647b5d Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 11 Jun 2021 14:05:06 -0400 Subject: [PATCH 19/21] linting --- .eslintignore | 1 + dodo.py | 2 +- packages/kernel/src/_proto_wrappers.ts | 1663 +-- packages/kernel/src/_schema_widgets.d.ts | 3984 +++---- packages/kernel/src/_schema_widgets.json | 13242 ++++++++++----------- packages/kernel/src/kernel.ts | 2 +- scripts/schema-widgets.ipynb | 1 + 7 files changed, 9416 insertions(+), 9479 deletions(-) diff --git a/.eslintignore b/.eslintignore index 584bb7899..9293057ce 100644 --- a/.eslintignore +++ b/.eslintignore @@ -16,6 +16,7 @@ coverage *.bundle.js docs/_build app/lab/extensions/ +packages/kernel/src/_*.ts # jetbrains IDE stuff .idea/ diff --git a/dodo.py b/dodo.py index ffc60030b..8095b3728 100644 --- a/dodo.py +++ b/dodo.py @@ -746,7 +746,7 @@ def extend_docs(): # environment overloads os.environ.update( - NODE_OPTS="--max-old-space-size=8192", + NODE_OPTIONS="--max-old-space-size=8192", PYTHONIOENCODING=C.ENC["encoding"], PIP_DISABLE_PIP_VERSION_CHECK="1", ) diff --git a/packages/kernel/src/_proto_wrappers.ts b/packages/kernel/src/_proto_wrappers.ts index 8343e52c1..47afc42be 100644 --- a/packages/kernel/src/_proto_wrappers.ts +++ b/packages/kernel/src/_proto_wrappers.ts @@ -1,3 +1,4 @@ +/* eslint-disable */ /*************************************************************************************************** * THIS FILE IS AUTO-GENERATED FROM * See `/scripts/schema-widgets.ipynb`, which also generates ******** ipywidgets 7.6.3 ******** `_schema_widgets.d.ts` and `_schema_widgets.json`. @@ -51,6 +52,52 @@ export namespace ipywidgets_widgets_widget { } // end of ['ipywidgets', 'widgets', 'widget'] export namespace ipywidgets_widgets_widget_bool { + /** a type for the traits of ToggleButton*/ + export type TAnyToggleButton = PROTO.ToggleButtonPublic | PROTO.ToggleButtonProtected; + + /** a naive ToggleButton + + Displays a boolean `value` in the form of a toggle button. + + Parameters + ---------- + value : {True,False} + value of the toggle button: True-pressed, False-unpressed + description : str + description displayed next to the button + tooltip: str + tooltip caption of the toggle button + icon: str + font-awesome icon name + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButton + */ + export class _ToggleButton extends _Widget { + constructor(options: TAnyToggleButton) { + super({ ..._ToggleButton.defaults(), ...options }); + } + + static defaults(): TAnyToggleButton { + return { + ...super.defaults(), + ...SCHEMA.IPublicToggleButton.default, + ...SCHEMA.IProtectedToggleButton.default + }; + } + } + + /** the concrete observable ToggleButton */ + export const ToggleButton = _HasTraits._traitMeta(_ToggleButton); + + if (!ALL['ToggleButton']) { + ALL['ToggleButton'] = ToggleButton; + } else { + console.log('ToggleButton is already hoisted', ALL['ToggleButton']); + } + + // --- + /** a type for the traits of _Bool*/ export type TAny_Bool = PROTO._BoolPublic | PROTO._BoolProtected; @@ -169,55 +216,113 @@ export namespace ipywidgets_widgets_widget_bool { } // --- +} // end of ['ipywidgets', 'widgets', 'widget_bool'] - /** a type for the traits of ToggleButton*/ - export type TAnyToggleButton = PROTO.ToggleButtonPublic | PROTO.ToggleButtonProtected; +export namespace ipywidgets_widgets_widget_box { + /** a type for the traits of VBox*/ + export type TAnyVBox = PROTO.VBoxPublic | PROTO.VBoxProtected; - /** a naive ToggleButton + /** a naive VBox - Displays a boolean `value` in the form of a toggle button. + Displays multiple widgets vertically using the flexible box model. Parameters ---------- - value : {True,False} - value of the toggle button: True-pressed, False-unpressed - description : str - description displayed next to the button - tooltip: str - tooltip caption of the toggle button - icon: str - font-awesome icon name + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Vertical Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.VBox([title_widget, slider]) - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButton + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#VBox */ - export class _ToggleButton extends _Widget { - constructor(options: TAnyToggleButton) { - super({ ..._ToggleButton.defaults(), ...options }); + export class _VBox extends _Widget { + constructor(options: TAnyVBox) { + super({ ..._VBox.defaults(), ...options }); } - static defaults(): TAnyToggleButton { + static defaults(): TAnyVBox { return { ...super.defaults(), - ...SCHEMA.IPublicToggleButton.default, - ...SCHEMA.IProtectedToggleButton.default + ...SCHEMA.IPublicVBox.default, + ...SCHEMA.IProtectedVBox.default }; } } - /** the concrete observable ToggleButton */ - export const ToggleButton = _HasTraits._traitMeta(_ToggleButton); + /** the concrete observable VBox */ + export const VBox = _HasTraits._traitMeta(_VBox); - if (!ALL['ToggleButton']) { - ALL['ToggleButton'] = ToggleButton; + if (!ALL['VBox']) { + ALL['VBox'] = VBox; } else { - console.log('ToggleButton is already hoisted', ALL['ToggleButton']); + console.log('VBox is already hoisted', ALL['VBox']); + } + + // --- + + /** a type for the traits of HBox*/ + export type TAnyHBox = PROTO.HBoxPublic | PROTO.HBoxProtected; + + /** a naive HBox + + Displays multiple widgets horizontally using the flexible box model. + + Parameters + ---------- + children: iterable of Widget instances + list of widgets to display + + box_style: str + one of 'success', 'info', 'warning' or 'danger', or ''. + Applies a predefined style to the box. Defaults to '', + which applies no pre-defined style. + + Examples + -------- + >>> import ipywidgets as widgets + >>> title_widget = widgets.HTML('Horizontal Box Example') + >>> slider = widgets.IntSlider() + >>> widgets.HBox([title_widget, slider]) + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HBox + */ + export class _HBox extends _Widget { + constructor(options: TAnyHBox) { + super({ ..._HBox.defaults(), ...options }); + } + + static defaults(): TAnyHBox { + return { + ...super.defaults(), + ...SCHEMA.IPublicHBox.default, + ...SCHEMA.IProtectedHBox.default + }; + } + } + + /** the concrete observable HBox */ + export const HBox = _HasTraits._traitMeta(_HBox); + + if (!ALL['HBox']) { + ALL['HBox'] = HBox; + } else { + console.log('HBox is already hoisted', ALL['HBox']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_bool'] -export namespace ipywidgets_widgets_widget_box { /** a type for the traits of GridBox*/ export type TAnyGridBox = PROTO.GridBoxPublic | PROTO.GridBoxProtected; @@ -321,181 +426,77 @@ export namespace ipywidgets_widgets_widget_box { } // --- +} // end of ['ipywidgets', 'widgets', 'widget_box'] - /** a type for the traits of VBox*/ - export type TAnyVBox = PROTO.VBoxPublic | PROTO.VBoxProtected; - - /** a naive VBox - - Displays multiple widgets vertically using the flexible box model. - - Parameters - ---------- - children: iterable of Widget instances - list of widgets to display +export namespace ipywidgets_widgets_widget_button { + /** a type for the traits of ButtonStyle*/ + export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; - box_style: str - one of 'success', 'info', 'warning' or 'danger', or ''. - Applies a predefined style to the box. Defaults to '', - which applies no pre-defined style. + /** a naive ButtonStyle - Examples - -------- - >>> import ipywidgets as widgets - >>> title_widget = widgets.HTML('Vertical Box Example') - >>> slider = widgets.IntSlider() - >>> widgets.VBox([title_widget, slider]) - + Button style widget. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#VBox + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ButtonStyle */ - export class _VBox extends _Widget { - constructor(options: TAnyVBox) { - super({ ..._VBox.defaults(), ...options }); + export class _ButtonStyle extends _Widget { + constructor(options: TAnyButtonStyle) { + super({ ..._ButtonStyle.defaults(), ...options }); } - static defaults(): TAnyVBox { + static defaults(): TAnyButtonStyle { return { ...super.defaults(), - ...SCHEMA.IPublicVBox.default, - ...SCHEMA.IProtectedVBox.default + ...SCHEMA.IPublicButtonStyle.default, + ...SCHEMA.IProtectedButtonStyle.default }; } } - /** the concrete observable VBox */ - export const VBox = _HasTraits._traitMeta(_VBox); + /** the concrete observable ButtonStyle */ + export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); - if (!ALL['VBox']) { - ALL['VBox'] = VBox; + if (!ALL['ButtonStyle']) { + ALL['ButtonStyle'] = ButtonStyle; } else { - console.log('VBox is already hoisted', ALL['VBox']); + console.log('ButtonStyle is already hoisted', ALL['ButtonStyle']); } // --- - /** a type for the traits of HBox*/ - export type TAnyHBox = PROTO.HBoxPublic | PROTO.HBoxProtected; + /** a type for the traits of Button*/ + export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - /** a naive HBox + /** a naive Button - Displays multiple widgets horizontally using the flexible box model. + Button widget. + + This widget has an `on_click` method that allows you to listen for the + user clicking on the button. The click event itself is stateless. Parameters ---------- - children: iterable of Widget instances - list of widgets to display - - box_style: str - one of 'success', 'info', 'warning' or 'danger', or ''. - Applies a predefined style to the box. Defaults to '', - which applies no pre-defined style. - - Examples - -------- - >>> import ipywidgets as widgets - >>> title_widget = widgets.HTML('Horizontal Box Example') - >>> slider = widgets.IntSlider() - >>> widgets.HBox([title_widget, slider]) + description: str + description displayed next to the button + tooltip: str + tooltip caption of the toggle button + icon: str + font-awesome icon name + disabled: bool + whether user interaction is enabled - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HBox + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button */ - export class _HBox extends _Widget { - constructor(options: TAnyHBox) { - super({ ..._HBox.defaults(), ...options }); + export class _Button extends _Widget { + constructor(options: TAnyButton) { + super({ ..._Button.defaults(), ...options }); } - static defaults(): TAnyHBox { + static defaults(): TAnyButton { return { ...super.defaults(), - ...SCHEMA.IPublicHBox.default, - ...SCHEMA.IProtectedHBox.default - }; - } - } - - /** the concrete observable HBox */ - export const HBox = _HasTraits._traitMeta(_HBox); - - if (!ALL['HBox']) { - ALL['HBox'] = HBox; - } else { - console.log('HBox is already hoisted', ALL['HBox']); - } - - // --- -} // end of ['ipywidgets', 'widgets', 'widget_box'] - -export namespace ipywidgets_widgets_widget_button { - /** a type for the traits of ButtonStyle*/ - export type TAnyButtonStyle = PROTO.ButtonStylePublic | PROTO.ButtonStyleProtected; - - /** a naive ButtonStyle - - Button style widget. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ButtonStyle - */ - export class _ButtonStyle extends _Widget { - constructor(options: TAnyButtonStyle) { - super({ ..._ButtonStyle.defaults(), ...options }); - } - - static defaults(): TAnyButtonStyle { - return { - ...super.defaults(), - ...SCHEMA.IPublicButtonStyle.default, - ...SCHEMA.IProtectedButtonStyle.default - }; - } - } - - /** the concrete observable ButtonStyle */ - export const ButtonStyle = _HasTraits._traitMeta(_ButtonStyle); - - if (!ALL['ButtonStyle']) { - ALL['ButtonStyle'] = ButtonStyle; - } else { - console.log('ButtonStyle is already hoisted', ALL['ButtonStyle']); - } - - // --- - - /** a type for the traits of Button*/ - export type TAnyButton = PROTO.ButtonPublic | PROTO.ButtonProtected; - - /** a naive Button - - Button widget. - - This widget has an `on_click` method that allows you to listen for the - user clicking on the button. The click event itself is stateless. - - Parameters - ---------- - description: str - description displayed next to the button - tooltip: str - tooltip caption of the toggle button - icon: str - font-awesome icon name - disabled: bool - whether user interaction is enabled - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Button - */ - export class _Button extends _Widget { - constructor(options: TAnyButton) { - super({ ..._Button.defaults(), ...options }); - } - - static defaults(): TAnyButton { - return { - ...super.defaults(), - ...SCHEMA.IPublicButton.default, - ...SCHEMA.IProtectedButton.default + ...SCHEMA.IPublicButton.default, + ...SCHEMA.IProtectedButton.default }; } } @@ -549,70 +550,70 @@ export namespace ipywidgets_widgets_widget_color { } // end of ['ipywidgets', 'widgets', 'widget_color'] export namespace ipywidgets_widgets_widget_controller { - /** a type for the traits of Controller*/ - export type TAnyController = PROTO.ControllerPublic | PROTO.ControllerProtected; + /** a type for the traits of Axis*/ + export type TAnyAxis = PROTO.AxisPublic | PROTO.AxisProtected; - /** a naive Controller + /** a naive Axis - Represents a game controller. + Represents a gamepad or joystick axis. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Controller + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Axis */ - export class _Controller extends _Widget { - constructor(options: TAnyController) { - super({ ..._Controller.defaults(), ...options }); + export class _Axis extends _Widget { + constructor(options: TAnyAxis) { + super({ ..._Axis.defaults(), ...options }); } - static defaults(): TAnyController { + static defaults(): TAnyAxis { return { ...super.defaults(), - ...SCHEMA.IPublicController.default, - ...SCHEMA.IProtectedController.default + ...SCHEMA.IPublicAxis.default, + ...SCHEMA.IProtectedAxis.default }; } } - /** the concrete observable Controller */ - export const Controller = _HasTraits._traitMeta(_Controller); + /** the concrete observable Axis */ + export const Axis = _HasTraits._traitMeta(_Axis); - if (!ALL['Controller']) { - ALL['Controller'] = Controller; + if (!ALL['Axis']) { + ALL['Axis'] = Axis; } else { - console.log('Controller is already hoisted', ALL['Controller']); + console.log('Axis is already hoisted', ALL['Axis']); } // --- - /** a type for the traits of Axis*/ - export type TAnyAxis = PROTO.AxisPublic | PROTO.AxisProtected; + /** a type for the traits of Controller*/ + export type TAnyController = PROTO.ControllerPublic | PROTO.ControllerProtected; - /** a naive Axis + /** a naive Controller - Represents a gamepad or joystick axis. + Represents a game controller. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Axis + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Controller */ - export class _Axis extends _Widget { - constructor(options: TAnyAxis) { - super({ ..._Axis.defaults(), ...options }); + export class _Controller extends _Widget { + constructor(options: TAnyController) { + super({ ..._Controller.defaults(), ...options }); } - static defaults(): TAnyAxis { + static defaults(): TAnyController { return { ...super.defaults(), - ...SCHEMA.IPublicAxis.default, - ...SCHEMA.IProtectedAxis.default + ...SCHEMA.IPublicController.default, + ...SCHEMA.IProtectedController.default }; } } - /** the concrete observable Axis */ - export const Axis = _HasTraits._traitMeta(_Axis); + /** the concrete observable Controller */ + export const Controller = _HasTraits._traitMeta(_Controller); - if (!ALL['Axis']) { - ALL['Axis'] = Axis; + if (!ALL['Controller']) { + ALL['Controller'] = Controller; } else { - console.log('Axis is already hoisted', ALL['Axis']); + console.log('Controller is already hoisted', ALL['Controller']); } // --- @@ -767,57 +768,51 @@ export namespace ipywidgets_widgets_widget_description { } // end of ['ipywidgets', 'widgets', 'widget_description'] export namespace ipywidgets_widgets_widget_float { - /** a type for the traits of _BoundedLogFloat*/ - export type TAny_BoundedLogFloat = - | PROTO._BoundedLogFloatPublic - | PROTO._BoundedLogFloatProtected; + /** a type for the traits of _Float*/ + export type TAny_Float = PROTO._FloatPublic | PROTO._FloatProtected; - /** a naive _BoundedLogFloat + /** a naive _Float None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedLogFloat + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Float */ - export class __BoundedLogFloat extends _Widget { - constructor(options: TAny_BoundedLogFloat) { - super({ ...__BoundedLogFloat.defaults(), ...options }); + export class __Float extends _Widget { + constructor(options: TAny_Float) { + super({ ...__Float.defaults(), ...options }); } - static defaults(): TAny_BoundedLogFloat { + static defaults(): TAny_Float { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedLogFloat.default, - ...SCHEMA.IProtected_BoundedLogFloat.default + ...SCHEMA.IPublic_Float.default, + ...SCHEMA.IProtected_Float.default }; } } - /** the concrete observable _BoundedLogFloat */ - export const _BoundedLogFloat = _HasTraits._traitMeta( - __BoundedLogFloat - ); + /** the concrete observable _Float */ + export const _Float = _HasTraits._traitMeta(__Float); - if (!ALL['_BoundedLogFloat']) { - ALL['_BoundedLogFloat'] = _BoundedLogFloat; + if (!ALL['_Float']) { + ALL['_Float'] = _Float; } else { - console.log('_BoundedLogFloat is already hoisted', ALL['_BoundedLogFloat']); + console.log('_Float is already hoisted', ALL['_Float']); } // --- - /** a type for the traits of FloatRangeSlider*/ - export type TAnyFloatRangeSlider = - | PROTO.FloatRangeSliderPublic - | PROTO.FloatRangeSliderProtected; + /** a type for the traits of FloatSlider*/ + export type TAnyFloatSlider = PROTO.FloatSliderPublic | PROTO.FloatSliderProtected; - /** a naive FloatRangeSlider + /** a naive FloatSlider - Slider/trackbar that represents a pair of floats bounded by minimum and maximum value. + Slider/trackbar of floating values with the specified range. Parameters ---------- - value : float tuple - range of the slider displayed + value : float + position of the slider min : float minimal position of the slider max : float @@ -827,7 +822,7 @@ export namespace ipywidgets_widgets_widget_float { description : str name of the slider orientation : {'horizontal', 'vertical'} - default is 'horizontal' + default is 'horizontal', orientation of the slider readout : {True, False} default is True, display the current value of the slider next to it readout_format : str @@ -836,300 +831,222 @@ export namespace ipywidgets_widgets_widget_float { specification mini-language (PEP 3101). - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatRangeSlider + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatSlider */ - export class _FloatRangeSlider extends _Widget { - constructor(options: TAnyFloatRangeSlider) { - super({ ..._FloatRangeSlider.defaults(), ...options }); + export class _FloatSlider extends _Widget { + constructor(options: TAnyFloatSlider) { + super({ ..._FloatSlider.defaults(), ...options }); } - static defaults(): TAnyFloatRangeSlider { + static defaults(): TAnyFloatSlider { return { ...super.defaults(), - ...SCHEMA.IPublicFloatRangeSlider.default, - ...SCHEMA.IProtectedFloatRangeSlider.default + ...SCHEMA.IPublicFloatSlider.default, + ...SCHEMA.IProtectedFloatSlider.default }; } } - /** the concrete observable FloatRangeSlider */ - export const FloatRangeSlider = _HasTraits._traitMeta( - _FloatRangeSlider - ); + /** the concrete observable FloatSlider */ + export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - if (!ALL['FloatRangeSlider']) { - ALL['FloatRangeSlider'] = FloatRangeSlider; + if (!ALL['FloatSlider']) { + ALL['FloatSlider'] = FloatSlider; } else { - console.log('FloatRangeSlider is already hoisted', ALL['FloatRangeSlider']); + console.log('FloatSlider is already hoisted', ALL['FloatSlider']); } // --- - /** a type for the traits of FloatLogSlider*/ - export type TAnyFloatLogSlider = - | PROTO.FloatLogSliderPublic - | PROTO.FloatLogSliderProtected; + /** a type for the traits of _FloatRange*/ + export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; - /** a naive FloatLogSlider + /** a naive _FloatRange - Slider/trackbar of logarithmic floating values with the specified range. + None - Parameters - ---------- - value : float - position of the slider - base : float - base of the logarithmic scale. Default is 10 - min : float - minimal position of the slider in log scale, i.e., actual minimum is base ** min - max : float - maximal position of the slider in log scale, i.e., actual maximum is base ** max - step : float - step of the trackbar, denotes steps for the exponent, not the actual value - description : str - name of the slider - orientation : {'horizontal', 'vertical'} - default is 'horizontal', orientation of the slider - readout : {True, False} - default is True, display the current value of the slider next to it - readout_format : str - default is '.3g', specifier for the format function used to represent - slider value for human consumption, modeled after Python 3's format - specification mini-language (PEP 3101). - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatLogSlider + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_FloatRange */ - export class _FloatLogSlider extends _Widget { - constructor(options: TAnyFloatLogSlider) { - super({ ..._FloatLogSlider.defaults(), ...options }); + export class __FloatRange extends _Widget { + constructor(options: TAny_FloatRange) { + super({ ...__FloatRange.defaults(), ...options }); } - static defaults(): TAnyFloatLogSlider { + static defaults(): TAny_FloatRange { return { ...super.defaults(), - ...SCHEMA.IPublicFloatLogSlider.default, - ...SCHEMA.IProtectedFloatLogSlider.default + ...SCHEMA.IPublic_FloatRange.default, + ...SCHEMA.IProtected_FloatRange.default }; } } - /** the concrete observable FloatLogSlider */ - export const FloatLogSlider = _HasTraits._traitMeta( - _FloatLogSlider - ); + /** the concrete observable _FloatRange */ + export const _FloatRange = _HasTraits._traitMeta(__FloatRange); - if (!ALL['FloatLogSlider']) { - ALL['FloatLogSlider'] = FloatLogSlider; + if (!ALL['_FloatRange']) { + ALL['_FloatRange'] = _FloatRange; } else { - console.log('FloatLogSlider is already hoisted', ALL['FloatLogSlider']); + console.log('_FloatRange is already hoisted', ALL['_FloatRange']); } // --- - /** a type for the traits of FloatText*/ - export type TAnyFloatText = PROTO.FloatTextPublic | PROTO.FloatTextProtected; - - /** a naive FloatText + /** a type for the traits of _BoundedFloatRange*/ + export type TAny_BoundedFloatRange = + | PROTO._BoundedFloatRangePublic + | PROTO._BoundedFloatRangeProtected; - Displays a float value within a textbox. For a textbox in - which the value must be within a specific range, use BoundedFloatText. + /** a naive _BoundedFloatRange - Parameters - ---------- - value : float - value displayed - step : float - step of the increment (if None, any step is allowed) - description : str - description displayed next to the text box - + None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatText + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloatRange */ - export class _FloatText extends _Widget { - constructor(options: TAnyFloatText) { - super({ ..._FloatText.defaults(), ...options }); + export class __BoundedFloatRange extends _Widget { + constructor(options: TAny_BoundedFloatRange) { + super({ ...__BoundedFloatRange.defaults(), ...options }); } - static defaults(): TAnyFloatText { + static defaults(): TAny_BoundedFloatRange { return { ...super.defaults(), - ...SCHEMA.IPublicFloatText.default, - ...SCHEMA.IProtectedFloatText.default + ...SCHEMA.IPublic_BoundedFloatRange.default, + ...SCHEMA.IProtected_BoundedFloatRange.default }; } } - /** the concrete observable FloatText */ - export const FloatText = _HasTraits._traitMeta(_FloatText); + /** the concrete observable _BoundedFloatRange */ + export const _BoundedFloatRange = _HasTraits._traitMeta( + __BoundedFloatRange + ); - if (!ALL['FloatText']) { - ALL['FloatText'] = FloatText; + if (!ALL['_BoundedFloatRange']) { + ALL['_BoundedFloatRange'] = _BoundedFloatRange; } else { - console.log('FloatText is already hoisted', ALL['FloatText']); + console.log('_BoundedFloatRange is already hoisted', ALL['_BoundedFloatRange']); } // --- - /** a type for the traits of BoundedFloatText*/ - export type TAnyBoundedFloatText = - | PROTO.BoundedFloatTextPublic - | PROTO.BoundedFloatTextProtected; - - /** a naive BoundedFloatText - - Displays a float value within a textbox. Value must be within the range specified. + /** a type for the traits of _BoundedFloat*/ + export type TAny_BoundedFloat = + | PROTO._BoundedFloatPublic + | PROTO._BoundedFloatProtected; - For a textbox in which the value doesn't need to be within a specific range, use FloatText. + /** a naive _BoundedFloat - Parameters - ---------- - value : float - value displayed - min : float - minimal value of the range of possible values displayed - max : float - maximal value of the range of possible values displayed - step : float - step of the increment (if None, any step is allowed) - description : str - description displayed next to the textbox - + None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedFloatText + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloat */ - export class _BoundedFloatText extends _Widget { - constructor(options: TAnyBoundedFloatText) { - super({ ..._BoundedFloatText.defaults(), ...options }); + export class __BoundedFloat extends _Widget { + constructor(options: TAny_BoundedFloat) { + super({ ...__BoundedFloat.defaults(), ...options }); } - static defaults(): TAnyBoundedFloatText { + static defaults(): TAny_BoundedFloat { return { ...super.defaults(), - ...SCHEMA.IPublicBoundedFloatText.default, - ...SCHEMA.IProtectedBoundedFloatText.default + ...SCHEMA.IPublic_BoundedFloat.default, + ...SCHEMA.IProtected_BoundedFloat.default }; } } - /** the concrete observable BoundedFloatText */ - export const BoundedFloatText = _HasTraits._traitMeta( - _BoundedFloatText - ); + /** the concrete observable _BoundedFloat */ + export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); - if (!ALL['BoundedFloatText']) { - ALL['BoundedFloatText'] = BoundedFloatText; + if (!ALL['_BoundedFloat']) { + ALL['_BoundedFloat'] = _BoundedFloat; } else { - console.log('BoundedFloatText is already hoisted', ALL['BoundedFloatText']); + console.log('_BoundedFloat is already hoisted', ALL['_BoundedFloat']); } // --- - /** a type for the traits of FloatProgress*/ - export type TAnyFloatProgress = - | PROTO.FloatProgressPublic - | PROTO.FloatProgressProtected; + /** a type for the traits of FloatRangeSlider*/ + export type TAnyFloatRangeSlider = + | PROTO.FloatRangeSliderPublic + | PROTO.FloatRangeSliderProtected; - /** a naive FloatProgress + /** a naive FloatRangeSlider - Displays a progress bar. + Slider/trackbar that represents a pair of floats bounded by minimum and maximum value. Parameters - ----------- - value : float - position within the range of the progress bar + ---------- + value : float tuple + range of the slider displayed min : float minimal position of the slider max : float maximal position of the slider + step : float + step of the trackbar description : str - name of the progress bar + name of the slider orientation : {'horizontal', 'vertical'} - default is 'horizontal', orientation of the progress bar - bar_style: {'success', 'info', 'warning', 'danger', ''} - color of the progress bar, default is '' (blue) - colors are: 'success'-green, 'info'-light blue, 'warning'-orange, 'danger'-red + default is 'horizontal' + readout : {True, False} + default is True, display the current value of the slider next to it + readout_format : str + default is '.2f', specifier for the format function used to represent + slider value for human consumption, modeled after Python 3's format + specification mini-language (PEP 3101). - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatProgress - */ - export class _FloatProgress extends _Widget { - constructor(options: TAnyFloatProgress) { - super({ ..._FloatProgress.defaults(), ...options }); - } - - static defaults(): TAnyFloatProgress { - return { - ...super.defaults(), - ...SCHEMA.IPublicFloatProgress.default, - ...SCHEMA.IProtectedFloatProgress.default - }; - } - } - - /** the concrete observable FloatProgress */ - export const FloatProgress = _HasTraits._traitMeta(_FloatProgress); - - if (!ALL['FloatProgress']) { - ALL['FloatProgress'] = FloatProgress; - } else { - console.log('FloatProgress is already hoisted', ALL['FloatProgress']); - } - - // --- - - /** a type for the traits of _Float*/ - export type TAny_Float = PROTO._FloatPublic | PROTO._FloatProtected; - - /** a naive _Float - - None - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_Float + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatRangeSlider */ - export class __Float extends _Widget { - constructor(options: TAny_Float) { - super({ ...__Float.defaults(), ...options }); + export class _FloatRangeSlider extends _Widget { + constructor(options: TAnyFloatRangeSlider) { + super({ ..._FloatRangeSlider.defaults(), ...options }); } - static defaults(): TAny_Float { + static defaults(): TAnyFloatRangeSlider { return { ...super.defaults(), - ...SCHEMA.IPublic_Float.default, - ...SCHEMA.IProtected_Float.default + ...SCHEMA.IPublicFloatRangeSlider.default, + ...SCHEMA.IProtectedFloatRangeSlider.default }; } } - /** the concrete observable _Float */ - export const _Float = _HasTraits._traitMeta(__Float); + /** the concrete observable FloatRangeSlider */ + export const FloatRangeSlider = _HasTraits._traitMeta( + _FloatRangeSlider + ); - if (!ALL['_Float']) { - ALL['_Float'] = _Float; + if (!ALL['FloatRangeSlider']) { + ALL['FloatRangeSlider'] = FloatRangeSlider; } else { - console.log('_Float is already hoisted', ALL['_Float']); + console.log('FloatRangeSlider is already hoisted', ALL['FloatRangeSlider']); } // --- - /** a type for the traits of FloatSlider*/ - export type TAnyFloatSlider = PROTO.FloatSliderPublic | PROTO.FloatSliderProtected; + /** a type for the traits of FloatLogSlider*/ + export type TAnyFloatLogSlider = + | PROTO.FloatLogSliderPublic + | PROTO.FloatLogSliderProtected; - /** a naive FloatSlider + /** a naive FloatLogSlider - Slider/trackbar of floating values with the specified range. + Slider/trackbar of logarithmic floating values with the specified range. Parameters ---------- value : float position of the slider + base : float + base of the logarithmic scale. Default is 10 min : float - minimal position of the slider + minimal position of the slider in log scale, i.e., actual minimum is base ** min max : float - maximal position of the slider + maximal position of the slider in log scale, i.e., actual maximum is base ** max step : float - step of the trackbar + step of the trackbar, denotes steps for the exponent, not the actual value description : str name of the slider orientation : {'horizontal', 'vertical'} @@ -1137,266 +1054,232 @@ export namespace ipywidgets_widgets_widget_float { readout : {True, False} default is True, display the current value of the slider next to it readout_format : str - default is '.2f', specifier for the format function used to represent + default is '.3g', specifier for the format function used to represent slider value for human consumption, modeled after Python 3's format specification mini-language (PEP 3101). - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatSlider - */ - export class _FloatSlider extends _Widget { - constructor(options: TAnyFloatSlider) { - super({ ..._FloatSlider.defaults(), ...options }); - } - - static defaults(): TAnyFloatSlider { - return { - ...super.defaults(), - ...SCHEMA.IPublicFloatSlider.default, - ...SCHEMA.IProtectedFloatSlider.default - }; - } - } - - /** the concrete observable FloatSlider */ - export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - - if (!ALL['FloatSlider']) { - ALL['FloatSlider'] = FloatSlider; - } else { - console.log('FloatSlider is already hoisted', ALL['FloatSlider']); - } - - // --- - - /** a type for the traits of _BoundedFloat*/ - export type TAny_BoundedFloat = - | PROTO._BoundedFloatPublic - | PROTO._BoundedFloatProtected; - - /** a naive _BoundedFloat - - None - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloat - */ - export class __BoundedFloat extends _Widget { - constructor(options: TAny_BoundedFloat) { - super({ ...__BoundedFloat.defaults(), ...options }); - } - - static defaults(): TAny_BoundedFloat { - return { - ...super.defaults(), - ...SCHEMA.IPublic_BoundedFloat.default, - ...SCHEMA.IProtected_BoundedFloat.default - }; - } - } - - /** the concrete observable _BoundedFloat */ - export const _BoundedFloat = _HasTraits._traitMeta(__BoundedFloat); - - if (!ALL['_BoundedFloat']) { - ALL['_BoundedFloat'] = _BoundedFloat; - } else { - console.log('_BoundedFloat is already hoisted', ALL['_BoundedFloat']); - } - - // --- - - /** a type for the traits of _FloatRange*/ - export type TAny_FloatRange = PROTO._FloatRangePublic | PROTO._FloatRangeProtected; - - /** a naive _FloatRange - - None - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_FloatRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatLogSlider */ - export class __FloatRange extends _Widget { - constructor(options: TAny_FloatRange) { - super({ ...__FloatRange.defaults(), ...options }); + export class _FloatLogSlider extends _Widget { + constructor(options: TAnyFloatLogSlider) { + super({ ..._FloatLogSlider.defaults(), ...options }); } - static defaults(): TAny_FloatRange { + static defaults(): TAnyFloatLogSlider { return { ...super.defaults(), - ...SCHEMA.IPublic_FloatRange.default, - ...SCHEMA.IProtected_FloatRange.default + ...SCHEMA.IPublicFloatLogSlider.default, + ...SCHEMA.IProtectedFloatLogSlider.default }; } } - /** the concrete observable _FloatRange */ - export const _FloatRange = _HasTraits._traitMeta(__FloatRange); + /** the concrete observable FloatLogSlider */ + export const FloatLogSlider = _HasTraits._traitMeta( + _FloatLogSlider + ); - if (!ALL['_FloatRange']) { - ALL['_FloatRange'] = _FloatRange; + if (!ALL['FloatLogSlider']) { + ALL['FloatLogSlider'] = FloatLogSlider; } else { - console.log('_FloatRange is already hoisted', ALL['_FloatRange']); + console.log('FloatLogSlider is already hoisted', ALL['FloatLogSlider']); } // --- - /** a type for the traits of _BoundedFloatRange*/ - export type TAny_BoundedFloatRange = - | PROTO._BoundedFloatRangePublic - | PROTO._BoundedFloatRangeProtected; + /** a type for the traits of _BoundedLogFloat*/ + export type TAny_BoundedLogFloat = + | PROTO._BoundedLogFloatPublic + | PROTO._BoundedLogFloatProtected; - /** a naive _BoundedFloatRange + /** a naive _BoundedLogFloat None - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedFloatRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedLogFloat */ - export class __BoundedFloatRange extends _Widget { - constructor(options: TAny_BoundedFloatRange) { - super({ ...__BoundedFloatRange.defaults(), ...options }); + export class __BoundedLogFloat extends _Widget { + constructor(options: TAny_BoundedLogFloat) { + super({ ...__BoundedLogFloat.defaults(), ...options }); } - static defaults(): TAny_BoundedFloatRange { + static defaults(): TAny_BoundedLogFloat { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedFloatRange.default, - ...SCHEMA.IProtected_BoundedFloatRange.default + ...SCHEMA.IPublic_BoundedLogFloat.default, + ...SCHEMA.IProtected_BoundedLogFloat.default }; } } - /** the concrete observable _BoundedFloatRange */ - export const _BoundedFloatRange = _HasTraits._traitMeta( - __BoundedFloatRange + /** the concrete observable _BoundedLogFloat */ + export const _BoundedLogFloat = _HasTraits._traitMeta( + __BoundedLogFloat ); - if (!ALL['_BoundedFloatRange']) { - ALL['_BoundedFloatRange'] = _BoundedFloatRange; + if (!ALL['_BoundedLogFloat']) { + ALL['_BoundedLogFloat'] = _BoundedLogFloat; } else { - console.log('_BoundedFloatRange is already hoisted', ALL['_BoundedFloatRange']); + console.log('_BoundedLogFloat is already hoisted', ALL['_BoundedLogFloat']); } // --- -} // end of ['ipywidgets', 'widgets', 'widget_float'] -export namespace ipywidgets_widgets_widget_int { - /** a type for the traits of IntProgress*/ - export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; + /** a type for the traits of FloatText*/ + export type TAnyFloatText = PROTO.FloatTextPublic | PROTO.FloatTextProtected; + + /** a naive FloatText - /** a naive IntProgress + Displays a float value within a textbox. For a textbox in + which the value must be within a specific range, use BoundedFloatText. - Progress bar that represents an integer bounded from above and below. + Parameters + ---------- + value : float + value displayed + step : float + step of the increment (if None, any step is allowed) + description : str + description displayed next to the text box - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntProgress + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatText */ - export class _IntProgress extends _Widget { - constructor(options: TAnyIntProgress) { - super({ ..._IntProgress.defaults(), ...options }); + export class _FloatText extends _Widget { + constructor(options: TAnyFloatText) { + super({ ..._FloatText.defaults(), ...options }); } - static defaults(): TAnyIntProgress { + static defaults(): TAnyFloatText { return { ...super.defaults(), - ...SCHEMA.IPublicIntProgress.default, - ...SCHEMA.IProtectedIntProgress.default + ...SCHEMA.IPublicFloatText.default, + ...SCHEMA.IProtectedFloatText.default }; } } - /** the concrete observable IntProgress */ - export const IntProgress = _HasTraits._traitMeta(_IntProgress); + /** the concrete observable FloatText */ + export const FloatText = _HasTraits._traitMeta(_FloatText); - if (!ALL['IntProgress']) { - ALL['IntProgress'] = IntProgress; + if (!ALL['FloatText']) { + ALL['FloatText'] = FloatText; } else { - console.log('IntProgress is already hoisted', ALL['IntProgress']); + console.log('FloatText is already hoisted', ALL['FloatText']); } // --- - /** a type for the traits of IntRangeSlider*/ - export type TAnyIntRangeSlider = - | PROTO.IntRangeSliderPublic - | PROTO.IntRangeSliderProtected; + /** a type for the traits of BoundedFloatText*/ + export type TAnyBoundedFloatText = + | PROTO.BoundedFloatTextPublic + | PROTO.BoundedFloatTextProtected; - /** a naive IntRangeSlider + /** a naive BoundedFloatText - Slider/trackbar that represents a pair of ints bounded by minimum and maximum value. + Displays a float value within a textbox. Value must be within the range specified. + + For a textbox in which the value doesn't need to be within a specific range, use FloatText. Parameters ---------- - value : int tuple - The pair (`lower`, `upper`) of integers - min : int - The lowest allowed value for `lower` - max : int - The highest allowed value for `upper` + value : float + value displayed + min : float + minimal value of the range of possible values displayed + max : float + maximal value of the range of possible values displayed + step : float + step of the increment (if None, any step is allowed) + description : str + description displayed next to the textbox - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntRangeSlider + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#BoundedFloatText */ - export class _IntRangeSlider extends _Widget { - constructor(options: TAnyIntRangeSlider) { - super({ ..._IntRangeSlider.defaults(), ...options }); + export class _BoundedFloatText extends _Widget { + constructor(options: TAnyBoundedFloatText) { + super({ ..._BoundedFloatText.defaults(), ...options }); } - static defaults(): TAnyIntRangeSlider { + static defaults(): TAnyBoundedFloatText { return { ...super.defaults(), - ...SCHEMA.IPublicIntRangeSlider.default, - ...SCHEMA.IProtectedIntRangeSlider.default + ...SCHEMA.IPublicBoundedFloatText.default, + ...SCHEMA.IProtectedBoundedFloatText.default }; } } - /** the concrete observable IntRangeSlider */ - export const IntRangeSlider = _HasTraits._traitMeta( - _IntRangeSlider + /** the concrete observable BoundedFloatText */ + export const BoundedFloatText = _HasTraits._traitMeta( + _BoundedFloatText ); - if (!ALL['IntRangeSlider']) { - ALL['IntRangeSlider'] = IntRangeSlider; + if (!ALL['BoundedFloatText']) { + ALL['BoundedFloatText'] = BoundedFloatText; } else { - console.log('IntRangeSlider is already hoisted', ALL['IntRangeSlider']); + console.log('BoundedFloatText is already hoisted', ALL['BoundedFloatText']); } // --- - /** a type for the traits of _BoundedInt*/ - export type TAny_BoundedInt = PROTO._BoundedIntPublic | PROTO._BoundedIntProtected; + /** a type for the traits of FloatProgress*/ + export type TAnyFloatProgress = + | PROTO.FloatProgressPublic + | PROTO.FloatProgressProtected; - /** a naive _BoundedInt + /** a naive FloatProgress - Base class for widgets that represent an integer bounded from above and below. + Displays a progress bar. + + Parameters + ----------- + value : float + position within the range of the progress bar + min : float + minimal position of the slider + max : float + maximal position of the slider + description : str + name of the progress bar + orientation : {'horizontal', 'vertical'} + default is 'horizontal', orientation of the progress bar + bar_style: {'success', 'info', 'warning', 'danger', ''} + color of the progress bar, default is '' (blue) + colors are: 'success'-green, 'info'-light blue, 'warning'-orange, 'danger'-red - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedInt + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#FloatProgress */ - export class __BoundedInt extends _Widget { - constructor(options: TAny_BoundedInt) { - super({ ...__BoundedInt.defaults(), ...options }); + export class _FloatProgress extends _Widget { + constructor(options: TAnyFloatProgress) { + super({ ..._FloatProgress.defaults(), ...options }); } - static defaults(): TAny_BoundedInt { + static defaults(): TAnyFloatProgress { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedInt.default, - ...SCHEMA.IProtected_BoundedInt.default + ...SCHEMA.IPublicFloatProgress.default, + ...SCHEMA.IProtectedFloatProgress.default }; } } - /** the concrete observable _BoundedInt */ - export const _BoundedInt = _HasTraits._traitMeta(__BoundedInt); + /** the concrete observable FloatProgress */ + export const FloatProgress = _HasTraits._traitMeta(_FloatProgress); - if (!ALL['_BoundedInt']) { - ALL['_BoundedInt'] = _BoundedInt; + if (!ALL['FloatProgress']) { + ALL['FloatProgress'] = FloatProgress; } else { - console.log('_BoundedInt is already hoisted', ALL['_BoundedInt']); + console.log('FloatProgress is already hoisted', ALL['FloatProgress']); } // --- +} // end of ['ipywidgets', 'widgets', 'widget_float'] +export namespace ipywidgets_widgets_widget_int { /** a type for the traits of _Int*/ export type TAny_Int = PROTO._IntPublic | PROTO._IntProtected; @@ -1651,67 +1534,185 @@ export namespace ipywidgets_widgets_widget_int { Button style widget. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ProgressStyle + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ProgressStyle + */ + export class _ProgressStyle extends _Widget { + constructor(options: TAnyProgressStyle) { + super({ ..._ProgressStyle.defaults(), ...options }); + } + + static defaults(): TAnyProgressStyle { + return { + ...super.defaults(), + ...SCHEMA.IPublicProgressStyle.default, + ...SCHEMA.IProtectedProgressStyle.default + }; + } + } + + /** the concrete observable ProgressStyle */ + export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + + if (!ALL['ProgressStyle']) { + ALL['ProgressStyle'] = ProgressStyle; + } else { + console.log('ProgressStyle is already hoisted', ALL['ProgressStyle']); + } + + // --- + + /** a type for the traits of _BoundedIntRange*/ + export type TAny_BoundedIntRange = + | PROTO._BoundedIntRangePublic + | PROTO._BoundedIntRangeProtected; + + /** a naive _BoundedIntRange + + None + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedIntRange + */ + export class __BoundedIntRange extends _Widget { + constructor(options: TAny_BoundedIntRange) { + super({ ...__BoundedIntRange.defaults(), ...options }); + } + + static defaults(): TAny_BoundedIntRange { + return { + ...super.defaults(), + ...SCHEMA.IPublic_BoundedIntRange.default, + ...SCHEMA.IProtected_BoundedIntRange.default + }; + } + } + + /** the concrete observable _BoundedIntRange */ + export const _BoundedIntRange = _HasTraits._traitMeta( + __BoundedIntRange + ); + + if (!ALL['_BoundedIntRange']) { + ALL['_BoundedIntRange'] = _BoundedIntRange; + } else { + console.log('_BoundedIntRange is already hoisted', ALL['_BoundedIntRange']); + } + + // --- + + /** a type for the traits of IntProgress*/ + export type TAnyIntProgress = PROTO.IntProgressPublic | PROTO.IntProgressProtected; + + /** a naive IntProgress + + Progress bar that represents an integer bounded from above and below. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntProgress + */ + export class _IntProgress extends _Widget { + constructor(options: TAnyIntProgress) { + super({ ..._IntProgress.defaults(), ...options }); + } + + static defaults(): TAnyIntProgress { + return { + ...super.defaults(), + ...SCHEMA.IPublicIntProgress.default, + ...SCHEMA.IProtectedIntProgress.default + }; + } + } + + /** the concrete observable IntProgress */ + export const IntProgress = _HasTraits._traitMeta(_IntProgress); + + if (!ALL['IntProgress']) { + ALL['IntProgress'] = IntProgress; + } else { + console.log('IntProgress is already hoisted', ALL['IntProgress']); + } + + // --- + + /** a type for the traits of IntRangeSlider*/ + export type TAnyIntRangeSlider = + | PROTO.IntRangeSliderPublic + | PROTO.IntRangeSliderProtected; + + /** a naive IntRangeSlider + + Slider/trackbar that represents a pair of ints bounded by minimum and maximum value. + + Parameters + ---------- + value : int tuple + The pair (`lower`, `upper`) of integers + min : int + The lowest allowed value for `lower` + max : int + The highest allowed value for `upper` + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#IntRangeSlider */ - export class _ProgressStyle extends _Widget { - constructor(options: TAnyProgressStyle) { - super({ ..._ProgressStyle.defaults(), ...options }); + export class _IntRangeSlider extends _Widget { + constructor(options: TAnyIntRangeSlider) { + super({ ..._IntRangeSlider.defaults(), ...options }); } - static defaults(): TAnyProgressStyle { + static defaults(): TAnyIntRangeSlider { return { ...super.defaults(), - ...SCHEMA.IPublicProgressStyle.default, - ...SCHEMA.IProtectedProgressStyle.default + ...SCHEMA.IPublicIntRangeSlider.default, + ...SCHEMA.IProtectedIntRangeSlider.default }; } } - /** the concrete observable ProgressStyle */ - export const ProgressStyle = _HasTraits._traitMeta(_ProgressStyle); + /** the concrete observable IntRangeSlider */ + export const IntRangeSlider = _HasTraits._traitMeta( + _IntRangeSlider + ); - if (!ALL['ProgressStyle']) { - ALL['ProgressStyle'] = ProgressStyle; + if (!ALL['IntRangeSlider']) { + ALL['IntRangeSlider'] = IntRangeSlider; } else { - console.log('ProgressStyle is already hoisted', ALL['ProgressStyle']); + console.log('IntRangeSlider is already hoisted', ALL['IntRangeSlider']); } // --- - /** a type for the traits of _BoundedIntRange*/ - export type TAny_BoundedIntRange = - | PROTO._BoundedIntRangePublic - | PROTO._BoundedIntRangeProtected; + /** a type for the traits of _BoundedInt*/ + export type TAny_BoundedInt = PROTO._BoundedIntPublic | PROTO._BoundedIntProtected; - /** a naive _BoundedIntRange + /** a naive _BoundedInt - None + Base class for widgets that represent an integer bounded from above and below. + - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedIntRange + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_BoundedInt */ - export class __BoundedIntRange extends _Widget { - constructor(options: TAny_BoundedIntRange) { - super({ ...__BoundedIntRange.defaults(), ...options }); + export class __BoundedInt extends _Widget { + constructor(options: TAny_BoundedInt) { + super({ ...__BoundedInt.defaults(), ...options }); } - static defaults(): TAny_BoundedIntRange { + static defaults(): TAny_BoundedInt { return { ...super.defaults(), - ...SCHEMA.IPublic_BoundedIntRange.default, - ...SCHEMA.IProtected_BoundedIntRange.default + ...SCHEMA.IPublic_BoundedInt.default, + ...SCHEMA.IProtected_BoundedInt.default }; } } - /** the concrete observable _BoundedIntRange */ - export const _BoundedIntRange = _HasTraits._traitMeta( - __BoundedIntRange - ); + /** the concrete observable _BoundedInt */ + export const _BoundedInt = _HasTraits._traitMeta(__BoundedInt); - if (!ALL['_BoundedIntRange']) { - ALL['_BoundedIntRange'] = _BoundedIntRange; + if (!ALL['_BoundedInt']) { + ALL['_BoundedInt'] = _BoundedInt; } else { - console.log('_BoundedIntRange is already hoisted', ALL['_BoundedIntRange']); + console.log('_BoundedInt is already hoisted', ALL['_BoundedInt']); } // --- @@ -1766,6 +1767,49 @@ export namespace ipywidgets_widgets_widget_layout { } // end of ['ipywidgets', 'widgets', 'widget_layout'] export namespace ipywidgets_widgets_widget_media { + /** a type for the traits of Video*/ + export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; + + /** a naive Video + + Displays a video as a widget. + + The `value` of this widget accepts a byte string. The byte string is the + raw video data that you want the browser to display. You can explicitly + define the format of the byte string using the `format` trait (which + defaults to "mp4"). + + If you pass `"url"` to the `"format"` trait, `value` will be interpreted + as a URL as bytes encoded in UTF-8. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Video + */ + export class _Video extends _Widget { + constructor(options: TAnyVideo) { + super({ ..._Video.defaults(), ...options }); + } + + static defaults(): TAnyVideo { + return { + ...super.defaults(), + ...SCHEMA.IPublicVideo.default, + ...SCHEMA.IProtectedVideo.default + }; + } + } + + /** the concrete observable Video */ + export const Video = _HasTraits._traitMeta(_Video); + + if (!ALL['Video']) { + ALL['Video'] = Video; + } else { + console.log('Video is already hoisted', ALL['Video']); + } + + // --- + /** a type for the traits of _Media*/ export type TAny_Media = PROTO._MediaPublic | PROTO._MediaProtected; @@ -1892,49 +1936,6 @@ export namespace ipywidgets_widgets_widget_media { } // --- - - /** a type for the traits of Video*/ - export type TAnyVideo = PROTO.VideoPublic | PROTO.VideoProtected; - - /** a naive Video - - Displays a video as a widget. - - The `value` of this widget accepts a byte string. The byte string is the - raw video data that you want the browser to display. You can explicitly - define the format of the byte string using the `format` trait (which - defaults to "mp4"). - - If you pass `"url"` to the `"format"` trait, `value` will be interpreted - as a URL as bytes encoded in UTF-8. - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Video - */ - export class _Video extends _Widget { - constructor(options: TAnyVideo) { - super({ ..._Video.defaults(), ...options }); - } - - static defaults(): TAnyVideo { - return { - ...super.defaults(), - ...SCHEMA.IPublicVideo.default, - ...SCHEMA.IProtectedVideo.default - }; - } - } - - /** the concrete observable Video */ - export const Video = _HasTraits._traitMeta(_Video); - - if (!ALL['Video']) { - ALL['Video'] = Video; - } else { - console.log('Video is already hoisted', ALL['Video']); - } - - // --- } // end of ['ipywidgets', 'widgets', 'widget_media'] export namespace ipywidgets_widgets_widget_output { @@ -2001,6 +2002,56 @@ export namespace ipywidgets_widgets_widget_output { } // end of ['ipywidgets', 'widgets', 'widget_output'] export namespace ipywidgets_widgets_widget_selection { + /** a type for the traits of _MultipleSelection*/ + export type TAny_MultipleSelection = + | PROTO._MultipleSelectionPublic + | PROTO._MultipleSelectionProtected; + + /** a naive _MultipleSelection + + Base class for multiple Selection widgets + + ``options`` can be specified as a list of values, list of (label, value) + tuples, or a dict of {label: value}. The labels are the strings that will be + displayed in the UI, representing the actual Python choices, and should be + unique. If labels are not specified, they are generated from the values. + + When programmatically setting the value, a reverse lookup is performed + among the options to check that the value is valid. The reverse lookup uses + the equality operator by default, but another predicate may be provided via + the ``equals`` keyword argument. For example, when dealing with numpy arrays, + one may set equals=np.array_equal. + + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_MultipleSelection + */ + export class __MultipleSelection extends _Widget { + constructor(options: TAny_MultipleSelection) { + super({ ...__MultipleSelection.defaults(), ...options }); + } + + static defaults(): TAny_MultipleSelection { + return { + ...super.defaults(), + ...SCHEMA.IPublic_MultipleSelection.default, + ...SCHEMA.IProtected_MultipleSelection.default + }; + } + } + + /** the concrete observable _MultipleSelection */ + export const _MultipleSelection = _HasTraits._traitMeta( + __MultipleSelection + ); + + if (!ALL['_MultipleSelection']) { + ALL['_MultipleSelection'] = _MultipleSelection; + } else { + console.log('_MultipleSelection is already hoisted', ALL['_MultipleSelection']); + } + + // --- + /** a type for the traits of SelectMultiple*/ export type TAnySelectMultiple = | PROTO.SelectMultiplePublic @@ -2100,81 +2151,31 @@ export namespace ipywidgets_widgets_widget_selection { weight unit, for example 'bold' or '600' - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButtonsStyle - */ - export class _ToggleButtonsStyle extends _Widget { - constructor(options: TAnyToggleButtonsStyle) { - super({ ..._ToggleButtonsStyle.defaults(), ...options }); - } - - static defaults(): TAnyToggleButtonsStyle { - return { - ...super.defaults(), - ...SCHEMA.IPublicToggleButtonsStyle.default, - ...SCHEMA.IProtectedToggleButtonsStyle.default - }; - } - } - - /** the concrete observable ToggleButtonsStyle */ - export const ToggleButtonsStyle = _HasTraits._traitMeta( - _ToggleButtonsStyle - ); - - if (!ALL['ToggleButtonsStyle']) { - ALL['ToggleButtonsStyle'] = ToggleButtonsStyle; - } else { - console.log('ToggleButtonsStyle is already hoisted', ALL['ToggleButtonsStyle']); - } - - // --- - - /** a type for the traits of _MultipleSelection*/ - export type TAny_MultipleSelection = - | PROTO._MultipleSelectionPublic - | PROTO._MultipleSelectionProtected; - - /** a naive _MultipleSelection - - Base class for multiple Selection widgets - - ``options`` can be specified as a list of values, list of (label, value) - tuples, or a dict of {label: value}. The labels are the strings that will be - displayed in the UI, representing the actual Python choices, and should be - unique. If labels are not specified, they are generated from the values. - - When programmatically setting the value, a reverse lookup is performed - among the options to check that the value is valid. The reverse lookup uses - the equality operator by default, but another predicate may be provided via - the ``equals`` keyword argument. For example, when dealing with numpy arrays, - one may set equals=np.array_equal. - - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#_MultipleSelection + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#ToggleButtonsStyle */ - export class __MultipleSelection extends _Widget { - constructor(options: TAny_MultipleSelection) { - super({ ...__MultipleSelection.defaults(), ...options }); + export class _ToggleButtonsStyle extends _Widget { + constructor(options: TAnyToggleButtonsStyle) { + super({ ..._ToggleButtonsStyle.defaults(), ...options }); } - static defaults(): TAny_MultipleSelection { + static defaults(): TAnyToggleButtonsStyle { return { ...super.defaults(), - ...SCHEMA.IPublic_MultipleSelection.default, - ...SCHEMA.IProtected_MultipleSelection.default + ...SCHEMA.IPublicToggleButtonsStyle.default, + ...SCHEMA.IProtectedToggleButtonsStyle.default }; } } - /** the concrete observable _MultipleSelection */ - export const _MultipleSelection = _HasTraits._traitMeta( - __MultipleSelection + /** the concrete observable ToggleButtonsStyle */ + export const ToggleButtonsStyle = _HasTraits._traitMeta( + _ToggleButtonsStyle ); - if (!ALL['_MultipleSelection']) { - ALL['_MultipleSelection'] = _MultipleSelection; + if (!ALL['ToggleButtonsStyle']) { + ALL['ToggleButtonsStyle'] = ToggleButtonsStyle; } else { - console.log('_MultipleSelection is already hoisted', ALL['_MultipleSelection']); + console.log('ToggleButtonsStyle is already hoisted', ALL['ToggleButtonsStyle']); } // --- @@ -2215,6 +2216,40 @@ export namespace ipywidgets_widgets_widget_selectioncontainer { // --- + /** a type for the traits of Tab*/ + export type TAnyTab = PROTO.TabPublic | PROTO.TabProtected; + + /** a naive Tab + + Displays children each on a separate accordion tab. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Tab + */ + export class _Tab extends _Widget { + constructor(options: TAnyTab) { + super({ ..._Tab.defaults(), ...options }); + } + + static defaults(): TAnyTab { + return { + ...super.defaults(), + ...SCHEMA.IPublicTab.default, + ...SCHEMA.IProtectedTab.default + }; + } + } + + /** the concrete observable Tab */ + export const Tab = _HasTraits._traitMeta(_Tab); + + if (!ALL['Tab']) { + ALL['Tab'] = Tab; + } else { + console.log('Tab is already hoisted', ALL['Tab']); + } + + // --- + /** a type for the traits of _SelectionContainer*/ export type TAny_SelectionContainer = | PROTO._SelectionContainerPublic @@ -2252,73 +2287,39 @@ export namespace ipywidgets_widgets_widget_selectioncontainer { } // --- - - /** a type for the traits of Tab*/ - export type TAnyTab = PROTO.TabPublic | PROTO.TabProtected; - - /** a naive Tab - - Displays children each on a separate accordion tab. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Tab - */ - export class _Tab extends _Widget { - constructor(options: TAnyTab) { - super({ ..._Tab.defaults(), ...options }); - } - - static defaults(): TAnyTab { - return { - ...super.defaults(), - ...SCHEMA.IPublicTab.default, - ...SCHEMA.IProtectedTab.default - }; - } - } - - /** the concrete observable Tab */ - export const Tab = _HasTraits._traitMeta(_Tab); - - if (!ALL['Tab']) { - ALL['Tab'] = Tab; - } else { - console.log('Tab is already hoisted', ALL['Tab']); - } - - // --- } // end of ['ipywidgets', 'widgets', 'widget_selectioncontainer'] export namespace ipywidgets_widgets_widget_string { - /** a type for the traits of Textarea*/ - export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; + /** a type for the traits of Text*/ + export type TAnyText = PROTO.TextPublic | PROTO.TextProtected; - /** a naive Textarea + /** a naive Text - Multiline text area widget. + Single line textbox widget. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Textarea + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Text */ - export class _Textarea extends _Widget { - constructor(options: TAnyTextarea) { - super({ ..._Textarea.defaults(), ...options }); + export class _Text extends _Widget { + constructor(options: TAnyText) { + super({ ..._Text.defaults(), ...options }); } - static defaults(): TAnyTextarea { + static defaults(): TAnyText { return { ...super.defaults(), - ...SCHEMA.IPublicTextarea.default, - ...SCHEMA.IProtectedTextarea.default + ...SCHEMA.IPublicText.default, + ...SCHEMA.IProtectedText.default }; } } - /** the concrete observable Textarea */ - export const Textarea = _HasTraits._traitMeta(_Textarea); + /** the concrete observable Text */ + export const Text = _HasTraits._traitMeta(_Text); - if (!ALL['Textarea']) { - ALL['Textarea'] = Textarea; + if (!ALL['Text']) { + ALL['Text'] = Text; } else { - console.log('Textarea is already hoisted', ALL['Textarea']); + console.log('Text is already hoisted', ALL['Text']); } // --- @@ -2357,104 +2358,70 @@ export namespace ipywidgets_widgets_widget_string { // --- - /** a type for the traits of HTML*/ - export type TAnyHTML = PROTO.HTMLPublic | PROTO.HTMLProtected; - - /** a naive HTML - - Renders the string `value` as HTML. - - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTML - */ - export class _HTML extends _Widget { - constructor(options: TAnyHTML) { - super({ ..._HTML.defaults(), ...options }); - } - - static defaults(): TAnyHTML { - return { - ...super.defaults(), - ...SCHEMA.IPublicHTML.default, - ...SCHEMA.IProtectedHTML.default - }; - } - } - - /** the concrete observable HTML */ - export const HTML = _HasTraits._traitMeta(_HTML); - - if (!ALL['HTML']) { - ALL['HTML'] = HTML; - } else { - console.log('HTML is already hoisted', ALL['HTML']); - } - - // --- - - /** a type for the traits of Text*/ - export type TAnyText = PROTO.TextPublic | PROTO.TextProtected; + /** a type for the traits of Password*/ + export type TAnyPassword = PROTO.PasswordPublic | PROTO.PasswordProtected; - /** a naive Text + /** a naive Password Single line textbox widget. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Text + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Password */ - export class _Text extends _Widget { - constructor(options: TAnyText) { - super({ ..._Text.defaults(), ...options }); + export class _Password extends _Widget { + constructor(options: TAnyPassword) { + super({ ..._Password.defaults(), ...options }); } - static defaults(): TAnyText { + static defaults(): TAnyPassword { return { ...super.defaults(), - ...SCHEMA.IPublicText.default, - ...SCHEMA.IProtectedText.default + ...SCHEMA.IPublicPassword.default, + ...SCHEMA.IProtectedPassword.default }; } } - /** the concrete observable Text */ - export const Text = _HasTraits._traitMeta(_Text); + /** the concrete observable Password */ + export const Password = _HasTraits._traitMeta(_Password); - if (!ALL['Text']) { - ALL['Text'] = Text; + if (!ALL['Password']) { + ALL['Password'] = Password; } else { - console.log('Text is already hoisted', ALL['Text']); + console.log('Password is already hoisted', ALL['Password']); } // --- - /** a type for the traits of Password*/ - export type TAnyPassword = PROTO.PasswordPublic | PROTO.PasswordProtected; + /** a type for the traits of HTML*/ + export type TAnyHTML = PROTO.HTMLPublic | PROTO.HTMLProtected; - /** a naive Password + /** a naive HTML - Single line textbox widget. + Renders the string `value` as HTML. - @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Password + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#HTML */ - export class _Password extends _Widget { - constructor(options: TAnyPassword) { - super({ ..._Password.defaults(), ...options }); + export class _HTML extends _Widget { + constructor(options: TAnyHTML) { + super({ ..._HTML.defaults(), ...options }); } - static defaults(): TAnyPassword { + static defaults(): TAnyHTML { return { ...super.defaults(), - ...SCHEMA.IPublicPassword.default, - ...SCHEMA.IProtectedPassword.default + ...SCHEMA.IPublicHTML.default, + ...SCHEMA.IProtectedHTML.default }; } } - /** the concrete observable Password */ - export const Password = _HasTraits._traitMeta(_Password); + /** the concrete observable HTML */ + export const HTML = _HasTraits._traitMeta(_HTML); - if (!ALL['Password']) { - ALL['Password'] = Password; + if (!ALL['HTML']) { + ALL['HTML'] = HTML; } else { - console.log('Password is already hoisted', ALL['Password']); + console.log('HTML is already hoisted', ALL['HTML']); } // --- @@ -2565,6 +2532,40 @@ export namespace ipywidgets_widgets_widget_string { } // --- + + /** a type for the traits of Textarea*/ + export type TAnyTextarea = PROTO.TextareaPublic | PROTO.TextareaProtected; + + /** a naive Textarea + + Multiline text area widget. + + @see https://ipywidgets.readthedocs.io/en/7.6.3/examples/Widget%20List.html#Textarea + */ + export class _Textarea extends _Widget { + constructor(options: TAnyTextarea) { + super({ ..._Textarea.defaults(), ...options }); + } + + static defaults(): TAnyTextarea { + return { + ...super.defaults(), + ...SCHEMA.IPublicTextarea.default, + ...SCHEMA.IProtectedTextarea.default + }; + } + } + + /** the concrete observable Textarea */ + export const Textarea = _HasTraits._traitMeta(_Textarea); + + if (!ALL['Textarea']) { + ALL['Textarea'] = Textarea; + } else { + console.log('Textarea is already hoisted', ALL['Textarea']); + } + + // --- } // end of ['ipywidgets', 'widgets', 'widget_string'] export namespace ipywidgets_widgets_widget_style { diff --git a/packages/kernel/src/_schema_widgets.d.ts b/packages/kernel/src/_schema_widgets.d.ts index 8278be96e..edc318ea0 100644 --- a/packages/kernel/src/_schema_widgets.d.ts +++ b/packages/kernel/src/_schema_widgets.d.ts @@ -4,142 +4,142 @@ export type AnyWidget = APublicWidget | AProtectedWidget; export type APublicWidget = - | GridBoxPublic - | _BoundedLogFloatPublic - | TwoByTwoLayoutPublic - | _BoolPublic - | AppLayoutPublic - | AccordionPublic - | ValidPublic - | IntProgressPublic - | FloatRangeSliderPublic - | FloatLogSliderPublic - | LayoutPublic - | TextareaPublic - | _SelectionContainerPublic - | TabPublic - | IntRangeSliderPublic - | _BoundedIntPublic - | FloatTextPublic - | ControllerPublic - | ColorPickerPublic - | _StringPublic - | _MediaPublic - | BoxPublic - | CheckboxPublic - | OutputPublic | _IntPublic - | BoundedFloatTextPublic + | FileUploadPublic + | ButtonStylePublic | AxisPublic - | SelectMultiplePublic - | HTMLPublic - | CoreWidgetPublic - | ToggleButtonsStylePublic + | ControllerPublic | _IntRangePublic | SliderStylePublic - | FloatProgressPublic - | TextPublic + | CoreWidgetPublic + | AccordionPublic | IntSliderPublic - | AudioPublic - | DescriptionStylePublic | _FloatPublic | PlayPublic | VBoxPublic - | ButtonStylePublic - | ImagePublic - | PasswordPublic - | FileUploadPublic - | BoundedIntTextPublic - | DOMWidgetPublic | FloatSliderPublic + | DescriptionStylePublic + | _FloatRangePublic + | TabPublic + | VideoPublic + | TextPublic + | BoundedIntTextPublic | ToggleButtonPublic - | ComboboxPublic - | HBoxPublic - | HTMLMathPublic + | _BoundedFloatRangePublic + | _StringPublic + | PasswordPublic | _BoundedFloatPublic - | _FloatRangePublic + | HBoxPublic + | TwoByTwoLayoutPublic + | AppLayoutPublic + | FloatRangeSliderPublic + | HTMLPublic | ButtonPublic + | _SelectionContainerPublic | _MultipleSelectionPublic - | StylePublic + | DOMWidgetPublic + | ComboboxPublic | IntTextPublic - | LabelPublic - | VideoPublic | DescriptionWidgetPublic + | HTMLMathPublic | ProgressStylePublic - | WidgetPublic - | _BoundedFloatRangePublic - | _BoundedIntRangePublic; + | _BoundedIntRangePublic + | StylePublic + | _MediaPublic + | FloatLogSliderPublic + | _BoundedLogFloatPublic + | GridBoxPublic + | _BoolPublic + | ValidPublic + | LabelPublic + | IntProgressPublic + | OutputPublic + | SelectMultiplePublic + | FloatTextPublic + | ToggleButtonsStylePublic + | AudioPublic + | IntRangeSliderPublic + | BoundedFloatTextPublic + | BoxPublic + | _BoundedIntPublic + | LayoutPublic + | TextareaPublic + | FloatProgressPublic + | ImagePublic + | ColorPickerPublic + | CheckboxPublic + | WidgetPublic; export type AProtectedWidget = - | GridBoxProtected - | _BoundedLogFloatProtected - | TwoByTwoLayoutProtected - | _BoolProtected - | AppLayoutProtected - | AccordionProtected - | ValidProtected - | IntProgressProtected - | FloatRangeSliderProtected - | FloatLogSliderProtected - | LayoutProtected - | TextareaProtected - | _SelectionContainerProtected - | TabProtected - | IntRangeSliderProtected - | _BoundedIntProtected - | FloatTextProtected - | ControllerProtected - | ColorPickerProtected - | _StringProtected - | _MediaProtected - | BoxProtected - | CheckboxProtected - | OutputProtected | _IntProtected - | BoundedFloatTextProtected + | FileUploadProtected + | ButtonStyleProtected | AxisProtected - | SelectMultipleProtected - | HTMLProtected - | CoreWidgetProtected - | ToggleButtonsStyleProtected + | ControllerProtected | _IntRangeProtected | SliderStyleProtected - | FloatProgressProtected - | TextProtected + | CoreWidgetProtected + | AccordionProtected | IntSliderProtected - | AudioProtected - | DescriptionStyleProtected | _FloatProtected | PlayProtected | VBoxProtected - | ButtonStyleProtected - | ImageProtected - | PasswordProtected - | FileUploadProtected - | BoundedIntTextProtected - | DOMWidgetProtected | FloatSliderProtected + | DescriptionStyleProtected + | _FloatRangeProtected + | TabProtected + | VideoProtected + | TextProtected + | BoundedIntTextProtected | ToggleButtonProtected - | ComboboxProtected - | HBoxProtected - | HTMLMathProtected + | _BoundedFloatRangeProtected + | _StringProtected + | PasswordProtected | _BoundedFloatProtected - | _FloatRangeProtected + | HBoxProtected + | TwoByTwoLayoutProtected + | AppLayoutProtected + | FloatRangeSliderProtected + | HTMLProtected | ButtonProtected + | _SelectionContainerProtected | _MultipleSelectionProtected - | StyleProtected + | DOMWidgetProtected + | ComboboxProtected | IntTextProtected - | LabelProtected - | VideoProtected | DescriptionWidgetProtected + | HTMLMathProtected | ProgressStyleProtected - | WidgetProtected - | _BoundedFloatRangeProtected - | _BoundedIntRangeProtected; + | _BoundedIntRangeProtected + | StyleProtected + | _MediaProtected + | FloatLogSliderProtected + | _BoundedLogFloatProtected + | GridBoxProtected + | _BoolProtected + | ValidProtected + | LabelProtected + | IntProgressProtected + | OutputProtected + | SelectMultipleProtected + | FloatTextProtected + | ToggleButtonsStyleProtected + | AudioProtected + | IntRangeSliderProtected + | BoundedFloatTextProtected + | BoxProtected + | _BoundedIntProtected + | LayoutProtected + | TextareaProtected + | FloatProgressProtected + | ImageProtected + | ColorPickerProtected + | CheckboxProtected + | WidgetProtected; /** - * The public API for GridBox + * The public API for _Int */ -export interface GridBoxPublic { +export interface _IntPublic { /** * CSS classes applied to widget DOM element */ @@ -150,20 +150,22 @@ export interface GridBoxPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Int value */ - children: unknown[]; + value: number; } /** - * The public API for _BoundedLogFloat + * The public API for FileUpload */ -export interface _BoundedLogFloatPublic { +export interface FileUploadPublic { + _counter: number; /** * CSS classes applied to widget DOM element */ @@ -174,37 +176,53 @@ export interface _BoundedLogFloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Base of value + * File types to accept, empty string for all */ - base: number; + accept: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value for the exponent + * Enable or disable button */ - max: number; + disabled: boolean; /** - * Min value for the exponent + * Error message */ - min: number; + error: string; /** - * Float value + * Font-awesome icon name, without the 'fa-' prefix. */ - value: number; + icon: string; + /** + * List of file metadata + */ + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; } /** - * The public API for TwoByTwoLayout + * The public API for ButtonStyle */ -export interface TwoByTwoLayoutPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ButtonStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -213,18 +231,14 @@ export interface TwoByTwoLayoutPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children + * Button text font weight. */ - children: unknown[]; + font_weight: string; } /** - * The public API for _Bool + * The public API for Axis */ -export interface _BoolPublic { +export interface AxisPublic { /** * CSS classes applied to widget DOM element */ @@ -235,25 +249,16 @@ export interface _BoolPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; + _view_name: string; /** - * Bool value + * The value of the axis. */ - value: boolean; + value: number; } /** - * The public API for AppLayout + * The public API for Controller */ -export interface AppLayoutPublic { +export interface ControllerPublic { /** * CSS classes applied to widget DOM element */ @@ -266,49 +271,38 @@ export interface AppLayoutPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * The axes on the gamepad. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + axes: unknown[]; /** - * List of widget children + * The buttons on the gamepad. */ - children: unknown[]; -} -/** - * The public API for Accordion - */ -export interface AccordionPublic { + buttons: unknown[]; /** - * CSS classes applied to widget DOM element + * Whether the gamepad is connected. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; + connected: boolean; /** - * Titles of the pages + * The id number of the controller. */ - _titles: { - [k: string]: unknown; - }; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + index: number; /** - * Use a predefined styling for the box. + * The name of the control mapping. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + mapping: string; /** - * List of widget children + * The name of the controller. */ - children: unknown[]; - selected_index: number | null; + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; } /** - * The public API for Valid + * The public API for _IntRange */ -export interface ValidPublic { +export interface _IntRangePublic { /** * CSS classes applied to widget DOM element */ @@ -319,33 +313,23 @@ export interface ValidPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Message displayed when the value is False - */ - readout: string; - /** - * Bool value + * Tuple of (lower, upper) bounds */ - value: boolean; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for IntProgress + * The public API for SliderStyle */ -export interface IntProgressPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface SliderStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -354,35 +338,60 @@ export interface IntProgressPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the progess bar. + * Width of the description to the side of the control. */ - bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description_width: string; +} +/** + * The public API for CoreWidget + */ +export interface CoreWidgetPublic { + _model_module: string; + _model_module_version: string; /** - * Description of the control. + * Name of the model. */ - description: string; - description_tooltip: string | null; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; +} +/** + * The public API for Accordion + */ +export interface AccordionPublic { /** - * Max value + * CSS classes applied to widget DOM element */ - max: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; /** - * Min value + * Titles of the pages */ - min: number; + _titles: { + [k: string]: unknown; + }; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Vertical or horizontal. + * Use a predefined styling for the box. */ - orientation: 'horizontal' | 'vertical'; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Int value + * List of widget children */ - value: number; + children: unknown[]; + selected_index: number | null; } /** - * The public API for FloatRangeSlider + * The public API for IntSlider */ -export interface FloatRangeSliderPublic { +export interface IntSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -395,7 +404,7 @@ export interface FloatRangeSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -428,16 +437,14 @@ export interface FloatRangeSliderPublic { */ step: number; /** - * Tuple of (lower, upper) bounds + * Int value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The public API for FloatLogSlider + * The public API for _Float */ -export interface FloatLogSliderPublic { +export interface _FloatPublic { /** * CSS classes applied to widget DOM element */ @@ -448,15 +455,40 @@ export interface FloatLogSliderPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Base for the logarithm + * Description of the control. */ - base: number; + description: string; + description_tooltip: string | null; /** - * Update the value of the widget as the user is holding the slider. + * Float value */ - continuous_update: boolean; + value: number; +} +/** + * The public API for Play + */ +export interface PlayPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** * Description of the control. */ @@ -467,153 +499,58 @@ export interface FloatLogSliderPublic { */ disabled: boolean; /** - * Max value for the exponent + * The maximum value for the play control. */ - max: number; + interval: number; /** - * Min value for the exponent + * Max value */ - min: number; + max: number; /** - * Vertical or horizontal. + * Min value */ - orientation: 'horizontal' | 'vertical'; + min: number; /** - * Display the current value of the slider next to it. + * Show the repeat toggle button in the widget. */ - readout: boolean; + show_repeat: boolean; /** - * Minimum step in the exponent to increment the value + * Increment step */ step: number; /** - * Float value + * Int value */ value: number; } /** - * The public API for Layout + * The public API for VBox */ -export interface LayoutPublic { +export interface VBoxPublic { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ + _dom_classes: string[]; _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; + /** + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; } /** - * The public API for Textarea + * The public API for FloatSlider */ -export interface TextareaPublic { +export interface FloatSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -626,7 +563,7 @@ export interface TextareaPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -639,19 +576,50 @@ export interface TextareaPublic { */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed + * Max value */ - placeholder: string; - rows: number | null; + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Float value + */ + value: number; +} +/** + * The public API for DescriptionStyle + */ +export interface DescriptionStylePublic { + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * String value + * Width of the description to the side of the control. */ - value: string; + description_width: string; } /** - * The public API for _SelectionContainer + * The public API for _FloatRange */ -export interface _SelectionContainerPublic { +export interface _FloatRangePublic { /** * CSS classes applied to widget DOM element */ @@ -659,25 +627,21 @@ export interface _SelectionContainerPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Tuple of (lower, upper) bounds */ - children: unknown[]; - selected_index: number | null; + value: { + [k: string]: unknown; + }[]; } /** * The public API for Tab @@ -711,9 +675,9 @@ export interface TabPublic { selected_index: number | null; } /** - * The public API for IntRangeSlider + * The public API for Video */ -export interface IntRangeSliderPublic { +export interface VideoPublic { /** * CSS classes applied to widget DOM element */ @@ -726,49 +690,34 @@ export interface IntRangeSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Max value + * When true, the video starts when it's displayed */ - max: number; + autoplay: boolean; /** - * Min value + * Specifies that video controls should be displayed (such as a play/pause button etc) */ - min: number; + controls: boolean; /** - * Vertical or horizontal. + * The format of the video. */ - orientation: 'horizontal' | 'vertical'; + format: string; /** - * Display the current value of the slider next to it. + * Height of the video in pixels. */ - readout: boolean; + height: string; /** - * Minimum step that the value can take + * When true, the video will start from the beginning after finishing */ - step: number; + loop: boolean; /** - * Tuple of (lower, upper) bounds + * Width of the video in pixels. */ - value: { - [k: string]: unknown; - }[]; + width: string; } /** - * The public API for _BoundedInt + * The public API for Text */ -export interface _BoundedIntPublic { +export interface TextPublic { /** * CSS classes applied to widget DOM element */ @@ -779,29 +728,33 @@ export interface _BoundedIntPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes */ - max: number; + disabled: boolean; /** - * Min value + * Placeholder text to display when nothing has been typed */ - min: number; + placeholder: string; /** - * Int value + * String value */ - value: number; + value: string; } /** - * The public API for FloatText + * The public API for BoundedIntText */ -export interface FloatTextPublic { +export interface BoundedIntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -826,16 +779,27 @@ export interface FloatTextPublic { * Enable or disable user changes */ disabled: boolean; - step: number | null; /** - * Float value + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value */ value: number; } /** - * The public API for Controller + * The public API for ToggleButton */ -export interface ControllerPublic { +export interface ToggleButtonPublic { /** * CSS classes applied to widget DOM element */ @@ -848,38 +812,35 @@ export interface ControllerPublic { _view_module_version: string; _view_name: string; /** - * The axes on the gamepad. - */ - axes: unknown[]; - /** - * The buttons on the gamepad. + * Use a predefined styling for the button. */ - buttons: unknown[]; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Whether the gamepad is connected. + * Description of the control. */ - connected: boolean; + description: string; + description_tooltip: string | null; /** - * The id number of the controller. + * Enable or disable user changes. */ - index: number; + disabled: boolean; /** - * The name of the control mapping. + * Font-awesome icon. */ - mapping: string; + icon: string; /** - * The name of the controller. + * Tooltip caption of the toggle button. */ - name: string; + tooltip: string; /** - * The last time the data from this gamepad was updated. + * Bool value */ - timestamp: number; + value: boolean; } /** - * The public API for ColorPicker + * The public API for _BoundedFloatRange */ -export interface ColorPickerPublic { +export interface _BoundedFloatRangePublic { /** * CSS classes applied to widget DOM element */ @@ -890,24 +851,30 @@ export interface ColorPickerPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Display short version with just a color selector. - */ - concise: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Max value */ - disabled: boolean; + max: number; /** - * The color value. + * Min value */ - value: string; + min: number; + /** + * Minimum step that the value can take (ignored by some views) + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** * The public API for _String @@ -939,25 +906,9 @@ export interface _StringPublic { value: string; } /** - * The public API for _Media - */ -export interface _MediaPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The public API for Box + * The public API for Password */ -export interface BoxPublic { +export interface PasswordPublic { /** * CSS classes applied to widget DOM element */ @@ -970,77 +921,31 @@ export interface BoxPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; -} -/** - * The public API for Checkbox - */ -export interface CheckboxPublic { - /** - * CSS classes applied to widget DOM element + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Indent the control to align with other controls with a description. - */ - indent: boolean; - /** - * Bool value - */ - value: boolean; -} -/** - * The public API for Output - */ -export interface OutputPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Parent message id of messages to capture + * Placeholder text to display when nothing has been typed */ - msg_id: string; + placeholder: string; /** - * The output messages synced from the frontend. + * String value */ - outputs: { - [k: string]: unknown; - }[]; + value: string; } /** - * The public API for _Int + * The public API for _BoundedFloat */ -export interface _IntPublic { +export interface _BoundedFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -1058,14 +963,22 @@ export interface _IntPublic { description: string; description_tooltip: string | null; /** - * Int value + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Float value */ value: number; } /** - * The public API for BoundedFloatText + * The public API for HBox */ -export interface BoundedFloatTextPublic { +export interface HBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -1078,36 +991,42 @@ export interface BoundedFloatTextPublic { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Enable or disable user changes + * List of widget children */ - disabled: boolean; + children: unknown[]; +} +/** + * The public API for TwoByTwoLayout + */ +export interface TwoByTwoLayoutPublic { /** - * Max value + * CSS classes applied to widget DOM element */ - max: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Min value + * Use a predefined styling for the box. */ - min: number; - step: number | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Float value + * List of widget children */ - value: number; + children: unknown[]; } /** - * The public API for Axis + * The public API for AppLayout */ -export interface AxisPublic { +export interface AppLayoutPublic { /** * CSS classes applied to widget DOM element */ @@ -1120,14 +1039,18 @@ export interface AxisPublic { _view_module_version: string; _view_name: string; /** - * The value of the axis. + * Use a predefined styling for the box. */ - value: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; } /** - * The public API for SelectMultiple + * The public API for FloatRangeSlider */ -export interface SelectMultiplePublic { +export interface FloatRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1135,14 +1058,14 @@ export interface SelectMultiplePublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ @@ -1153,13 +1076,31 @@ export interface SelectMultiplePublic { */ disabled: boolean; /** - * Selected indices + * Max value */ - index: number[]; + max: number; /** - * The number of rows to display. + * Min value */ - rows: number; + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** * The public API for HTML @@ -1191,24 +1132,13 @@ export interface HTMLPublic { value: string; } /** - * The public API for CoreWidget + * The public API for Button */ -export interface CoreWidgetPublic { - _model_module: string; - _model_module_version: string; +export interface ButtonPublic { /** - * Name of the model. + * CSS classes applied to widget DOM element */ - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The public API for ToggleButtonsStyle - */ -export interface ToggleButtonsStylePublic { + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -1217,22 +1147,18 @@ export interface ToggleButtonsStylePublic { _view_module_version: string; _view_name: string; /** - * The width of each button. - */ - button_width: string; - /** - * Width of the description to the side of the control. + * Whether the button is pressed. */ - description_width: string; + pressed: boolean; /** - * Text font weight of each button. + * The value of the button. */ - font_weight: string; + value: number; } /** - * The public API for _IntRange + * The public API for _SelectionContainer */ -export interface _IntRangePublic { +export interface _SelectionContainerPublic { /** * CSS classes applied to widget DOM element */ @@ -1240,42 +1166,30 @@ export interface _IntRangePublic { _model_module: string; _model_module_version: string; _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; /** - * Tuple of (lower, upper) bounds + * Titles of the pages */ - value: { + _titles: { [k: string]: unknown; - }[]; -} -/** - * The public API for SliderStyle - */ -export interface SliderStylePublic { - _model_module: string; - _model_module_version: string; - _model_name: string; + }; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. + * Use a predefined styling for the box. */ - description_width: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; } /** - * The public API for FloatProgress + * The public API for _MultipleSelection */ -export interface FloatProgressPublic { +export interface _MultipleSelectionPublic { /** * CSS classes applied to widget DOM element */ @@ -1283,74 +1197,57 @@ export interface FloatProgressPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. + * Enable or disable user changes */ - orientation: 'horizontal' | 'vertical'; + disabled: boolean; /** - * Float value + * Selected indices */ - value: number; + index: number[]; } /** - * The public API for Text + * The public API for DOMWidget */ -export interface TextPublic { +export interface DOMWidgetPublic { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; /** - * Enable or disable user changes + * The namespace for the model. */ - disabled: boolean; + _model_module: string; /** - * Placeholder text to display when nothing has been typed + * A semver requirement for namespace version containing the model. */ - placeholder: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string | null; /** - * String value + * A semver requirement for the namespace version containing the view. */ - value: string; + _view_module_version: string; + _view_name: string | null; } /** - * The public API for IntSlider + * The public API for Combobox */ -export interface IntSliderPublic { +export interface ComboboxPublic { /** * CSS classes applied to widget DOM element */ @@ -1363,7 +1260,7 @@ export interface IntSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ continuous_update: boolean; /** @@ -1376,34 +1273,26 @@ export interface IntSliderPublic { */ disabled: boolean; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. + * If set, ensure value is in options. Implies continuous_update=False. */ - orientation: 'horizontal' | 'vertical'; + ensure_option: boolean; /** - * Display the current value of the slider next to it. + * Dropdown options for the combobox */ - readout: boolean; + options: string[]; /** - * Minimum step to increment the value + * Placeholder text to display when nothing has been typed */ - step: number; + placeholder: string; /** - * Int value + * String value */ - value: number; + value: string; } /** - * The public API for Audio + * The public API for IntText */ -export interface AudioPublic { +export interface IntTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1416,42 +1305,52 @@ export interface AudioPublic { _view_module_version: string; _view_name: string; /** - * When true, the audio starts when it's displayed + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - autoplay: boolean; + continuous_update: boolean; /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) + * Description of the control. */ - controls: boolean; + description: string; + description_tooltip: string | null; /** - * The format of the audio. + * Enable or disable user changes */ - format: string; + disabled: boolean; /** - * When true, the audio will start from the beginning after finishing + * Minimum step to increment the value */ - loop: boolean; + step: number; + /** + * Int value + */ + value: number; } /** - * The public API for DescriptionStyle + * The public API for DescriptionWidget */ -export interface DescriptionStylePublic { +export interface DescriptionWidgetPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Width of the description to the side of the control. + * Description of the control. */ - description_width: string; + description: string; + description_tooltip: string | null; } /** - * The public API for _Float + * The public API for HTMLMath */ -export interface _FloatPublic { +export interface HTMLMathPublic { /** * CSS classes applied to widget DOM element */ @@ -1462,53 +1361,57 @@ export interface _FloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Float value + * Placeholder text to display when nothing has been typed */ - value: number; + placeholder: string; + /** + * String value + */ + value: string; } /** - * The public API for Play + * The public API for ProgressStyle */ -export interface PlayPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ProgressStylePublic { _model_module: string; _model_module_version: string; _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Whether the control is currently playing. + * Width of the description to the side of the control. */ - _playing: boolean; + description_width: string; +} +/** + * The public API for _BoundedIntRange + */ +export interface _BoundedIntRangePublic { /** - * Whether the control will repeat in a continous loop. + * CSS classes applied to widget DOM element */ - _repeat: boolean; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * The maximum value for the play control. - */ - interval: number; /** * Max value */ @@ -1518,62 +1421,50 @@ export interface PlayPublic { */ min: number; /** - * Show the repeat toggle button in the widget. - */ - show_repeat: boolean; - /** - * Increment step - */ - step: number; - /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The public API for VBox + * The public API for Style */ -export interface VBoxPublic { +export interface StylePublic { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of widget children - */ - children: unknown[]; } /** - * The public API for ButtonStyle + * The public API for _Media */ -export interface ButtonStylePublic { +export interface _MediaPublic { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Button text font weight. - */ - font_weight: string; + _view_name: string | null; } /** - * The public API for Image + * The public API for FloatLogSlider */ -export interface ImagePublic { +export interface FloatLogSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1586,22 +1477,51 @@ export interface ImagePublic { _view_module_version: string; _view_name: string; /** - * The format of the image. + * Base for the logarithm */ - format: string; + base: number; /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Update the value of the widget as the user is holding the slider. */ - height: string; + continuous_update: boolean; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * Description of the control. */ - width: string; + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; + /** + * Float value + */ + value: number; } /** - * The public API for Password + * The public API for _BoundedLogFloat */ -export interface PasswordPublic { +export interface _BoundedLogFloatPublic { /** * CSS classes applied to widget DOM element */ @@ -1612,34 +1532,33 @@ export interface PasswordPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Base of value */ - continuous_update: boolean; + base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value for the exponent */ - disabled: boolean; + max: number; /** - * Placeholder text to display when nothing has been typed + * Min value for the exponent */ - placeholder: string; + min: number; /** - * String value + * Float value */ - value: string; + value: number; } /** - * The public API for FileUpload + * The public API for GridBox */ -export interface FileUploadPublic { - _counter: number; +export interface GridBoxPublic { /** * CSS classes applied to widget DOM element */ @@ -1652,51 +1571,47 @@ export interface FileUploadPublic { _view_module_version: string; _view_name: string; /** - * File types to accept, empty string for all + * Use a predefined styling for the box. */ - accept: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Use a predefined styling for the button. + * List of widget children */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + children: unknown[]; +} +/** + * The public API for _Bool + */ +export interface _BoolPublic { /** - * List of file content (bytes) + * CSS classes applied to widget DOM element */ - data: { - [k: string]: unknown; - }[]; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; /** * Description of the control. */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message - */ - error: string; - /** - * Font-awesome icon name, without the 'fa-' prefix. - */ - icon: string; + description: string; + description_tooltip: string | null; /** - * List of file metadata + * Enable or disable user changes. */ - metadata: { - [k: string]: unknown; - }[]; + disabled: boolean; /** - * If True, allow for multiple files upload + * Bool value */ - multiple: boolean; + value: boolean; } /** - * The public API for BoundedIntText + * The public API for Valid */ -export interface BoundedIntTextPublic { +export interface ValidPublic { /** * CSS classes applied to widget DOM element */ @@ -1708,65 +1623,57 @@ export interface BoundedIntTextPublic { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Minimum step to increment the value + * Message displayed when the value is False */ - step: number; + readout: string; /** - * Int value + * Bool value */ - value: number; + value: boolean; } /** - * The public API for DOMWidget + * The public API for Label */ -export interface DOMWidgetPublic { +export interface LabelPublic { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - /** - * The namespace for the model. - */ _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; _view_count: number | null; - _view_module: string | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * A semver requirement for the namespace version containing the view. + * Description of the control. */ - _view_module_version: string; - _view_name: string | null; + description: string; + description_tooltip: string | null; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The public API for FloatSlider + * The public API for IntProgress */ -export interface FloatSliderPublic { +export interface IntProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -1779,18 +1686,14 @@ export interface FloatSliderPublic { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. + * Use a predefined styling for the progess bar. */ - continuous_update: boolean; + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -1804,22 +1707,40 @@ export interface FloatSliderPublic { */ orientation: 'horizontal' | 'vertical'; /** - * Display the current value of the slider next to it. + * Int value */ - readout: boolean; + value: number; +} +/** + * The public API for Output + */ +export interface OutputPublic { /** - * Minimum step to increment the value + * CSS classes applied to widget DOM element */ - step: number; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Float value + * Parent message id of messages to capture */ - value: number; + msg_id: string; + /** + * The output messages synced from the frontend. + */ + outputs: { + [k: string]: unknown; + }[]; } /** - * The public API for ToggleButton + * The public API for SelectMultiple */ -export interface ToggleButtonPublic { +export interface SelectMultiplePublic { /** * CSS classes applied to widget DOM element */ @@ -1827,40 +1748,36 @@ export interface ToggleButtonPublic { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Font-awesome icon. - */ - icon: string; - /** - * Tooltip caption of the toggle button. + * Selected indices */ - tooltip: string; + index: number[]; /** - * Bool value + * The number of rows to display. */ - value: boolean; + rows: number; } /** - * The public API for Combobox + * The public API for FloatText */ -export interface ComboboxPublic { +export interface FloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -1885,31 +1802,16 @@ export interface ComboboxPublic { * Enable or disable user changes */ disabled: boolean; + step: number | null; /** - * If set, ensure value is in options. Implies continuous_update=False. - */ - ensure_option: boolean; - /** - * Dropdown options for the combobox - */ - options: string[]; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Float value */ - value: string; + value: number; } /** - * The public API for HBox + * The public API for ToggleButtonsStyle */ -export interface HBoxPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ToggleButtonsStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -1918,18 +1820,22 @@ export interface HBoxPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * The width of each button. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + button_width: string; /** - * List of widget children + * Width of the description to the side of the control. */ - children: unknown[]; + description_width: string; + /** + * Text font weight of each button. + */ + font_weight: string; } /** - * The public API for HTMLMath + * The public API for Audio */ -export interface HTMLMathPublic { +export interface AudioPublic { /** * CSS classes applied to widget DOM element */ @@ -1942,23 +1848,26 @@ export interface HTMLMathPublic { _view_module_version: string; _view_name: string; /** - * Description of the control. + * When true, the audio starts when it's displayed */ - description: string; - description_tooltip: string | null; + autoplay: boolean; /** - * Placeholder text to display when nothing has been typed + * Specifies that audio controls should be displayed (such as a play/pause button etc) */ - placeholder: string; + controls: boolean; /** - * String value + * The format of the audio. */ - value: string; + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; } /** - * The public API for _BoundedFloat + * The public API for IntRangeSlider */ -export interface _BoundedFloatPublic { +export interface IntRangeSliderPublic { /** * CSS classes applied to widget DOM element */ @@ -1969,12 +1878,20 @@ export interface _BoundedFloatPublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Max value */ @@ -1984,14 +1901,28 @@ export interface _BoundedFloatPublic { */ min: number; /** - * Float value + * Vertical or horizontal. */ - value: number; + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step that the value can take + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** - * The public API for _FloatRange + * The public API for BoundedFloatText */ -export interface _FloatRangePublic { +export interface BoundedFloatTextPublic { /** * CSS classes applied to widget DOM element */ @@ -2002,23 +1933,38 @@ export interface _FloatRangePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Tuple of (lower, upper) bounds + * Enable or disable user changes */ - value: { - [k: string]: unknown; - }[]; + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + step: number | null; + /** + * Float value + */ + value: number; } /** - * The public API for Button + * The public API for Box */ -export interface ButtonPublic { +export interface BoxPublic { /** * CSS classes applied to widget DOM element */ @@ -2031,30 +1977,18 @@ export interface ButtonPublic { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * Button label. - */ - description: string; - /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Font-awesome icon name, without the 'fa-' prefix. + * Use a predefined styling for the box. */ - icon: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Tooltip caption of the button. + * List of widget children */ - tooltip: string; + children: unknown[]; } /** - * The public API for _MultipleSelection + * The public API for _BoundedInt */ -export interface _MultipleSelectionPublic { +export interface _BoundedIntPublic { /** * CSS classes applied to widget DOM element */ @@ -2062,10 +1996,6 @@ export interface _MultipleSelectionPublic { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _view_count: number | null; _view_module: string; _view_module_version: string; @@ -2076,18 +2006,22 @@ export interface _MultipleSelectionPublic { description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value */ - disabled: boolean; + max: number; /** - * Selected indices + * Min value */ - index: number[]; + min: number; + /** + * Int value + */ + value: number; } /** - * The public API for Style + * The public API for Layout */ -export interface StylePublic { +export interface LayoutPublic { /** * The namespace for the model. */ @@ -2101,11 +2035,112 @@ export interface StylePublic { _view_module: string; _view_module_version: string; _view_name: string; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; } /** - * The public API for IntText + * The public API for Textarea */ -export interface IntTextPublic { +export interface TextareaPublic { /** * CSS classes applied to widget DOM element */ @@ -2130,48 +2165,20 @@ export interface IntTextPublic { * Enable or disable user changes */ disabled: boolean; - /** - * Minimum step to increment the value - */ - step: number; - /** - * Int value - */ - value: number; -} -/** - * The public API for Label - */ -export interface LabelPublic { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; /** * Placeholder text to display when nothing has been typed */ placeholder: string; + rows: number | null; /** * String value */ value: string; } /** - * The public API for Video + * The public API for FloatProgress */ -export interface VideoPublic { +export interface FloatProgressPublic { /** * CSS classes applied to widget DOM element */ @@ -2183,56 +2190,37 @@ export interface VideoPublic { _view_module: string; _view_module_version: string; _view_name: string; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** - * When true, the video starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) + * Description of the control. */ - controls: boolean; + description: string; + description_tooltip: string | null; /** - * The format of the video. + * Max value */ - format: string; + max: number; /** - * Height of the video in pixels. + * Min value */ - height: string; + min: number; /** - * When true, the video will start from the beginning after finishing + * Vertical or horizontal. */ - loop: boolean; + orientation: 'horizontal' | 'vertical'; /** - * Width of the video in pixels. + * Float value */ - width: string; + value: number; } /** - * The public API for DescriptionWidget + * The public API for Image */ -export interface DescriptionWidgetPublic { +export interface ImagePublic { /** * CSS classes applied to widget DOM element */ _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; -} -/** - * The public API for ProgressStyle - */ -export interface ProgressStylePublic { _model_module: string; _model_module_version: string; _model_name: string; @@ -2241,38 +2229,22 @@ export interface ProgressStylePublic { _view_module_version: string; _view_name: string; /** - * Width of the description to the side of the control. - */ - description_width: string; -} -/** - * The public API for Widget - */ -export interface WidgetPublic { - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. + * The format of the image. */ - _model_module_version: string; + format: string; /** - * Name of the model. + * Height of the image in pixels. Use layout.height for styling the widget. */ - _model_name: string; - _view_count: number | null; - _view_module: string | null; + height: string; /** - * A semver requirement for the namespace version containing the view. + * Width of the image in pixels. Use layout.width for styling the widget. */ - _view_module_version: string; - _view_name: string | null; + width: string; } /** - * The public API for _BoundedFloatRange + * The public API for ColorPicker */ -export interface _BoundedFloatRangePublic { +export interface ColorPickerPublic { /** * CSS classes applied to widget DOM element */ @@ -2283,35 +2255,29 @@ export interface _BoundedFloatRangePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Display short version with just a color selector. + */ + concise: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Minimum step that the value can take (ignored by some views) + * Enable or disable user changes. */ - step: number; + disabled: boolean; /** - * Tuple of (lower, upper) bounds + * The color value. */ - value: { - [k: string]: unknown; - }[]; + value: string; } /** - * The public API for _BoundedIntRange + * The public API for Checkbox */ -export interface _BoundedIntRangePublic { +export interface CheckboxPublic { /** * CSS classes applied to widget DOM element */ @@ -2322,31 +2288,53 @@ export interface _BoundedIntRangePublic { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value + * Enable or disable user changes. */ - max: number; + disabled: boolean; /** - * Min value + * Indent the control to align with other controls with a description. */ - min: number; + indent: boolean; /** - * Tuple of (lower, upper) bounds + * Bool value */ - value: { - [k: string]: unknown; - }[]; + value: boolean; } /** - * The protected API for GridBox + * The public API for Widget */ -export interface GridBoxProtected { +export interface WidgetPublic { + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + /** + * Name of the model. + */ + _model_name: string; + _view_count: number | null; + _view_module: string | null; + /** + * A semver requirement for the namespace version containing the view. + */ + _view_module_version: string; + _view_name: string | null; +} +/** + * The protected API for _Int + */ +export interface _IntProtected { /** * CSS classes applied to widget DOM element */ @@ -2360,20 +2348,22 @@ export interface GridBoxProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Int value */ - children: unknown[]; + value: number; } /** - * The protected API for _BoundedLogFloat + * The protected API for FileUpload */ -export interface _BoundedLogFloatProtected { +export interface FileUploadProtected { + _counter: number; /** * CSS classes applied to widget DOM element */ @@ -2387,37 +2377,56 @@ export interface _BoundedLogFloatProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Base of value + * File types to accept, empty string for all */ - base: number; + accept: string; + /** + * Use a predefined styling for the button. + */ + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of file content (bytes) + */ + data: { + [k: string]: unknown; + }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value for the exponent + * Enable or disable button */ - max: number; + disabled: boolean; /** - * Min value for the exponent + * Error message */ - min: number; + error: string; /** - * Float value + * Font-awesome icon name, without the 'fa-' prefix. */ - value: number; + icon: string; + /** + * List of file metadata + */ + metadata: { + [k: string]: unknown; + }[]; + /** + * If True, allow for multiple files upload + */ + multiple: boolean; + value: { + [k: string]: unknown; + }; } /** - * The protected API for TwoByTwoLayout + * The protected API for ButtonStyle */ -export interface TwoByTwoLayoutProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ButtonStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -2428,29 +2437,15 @@ export interface TwoByTwoLayoutProtected { _view_module: string; _view_module_version: string; _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; - /** - * Use a predefined styling for the box. - */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * List of widget children + * Button text font weight. */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - width: string | null; + font_weight: string; } /** - * The protected API for _Bool + * The protected API for Axis */ -export interface _BoolProtected { +export interface AxisProtected { /** * CSS classes applied to widget DOM element */ @@ -2464,25 +2459,16 @@ export interface _BoolProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; + _view_name: string; /** - * Bool value + * The value of the axis. */ - value: boolean; + value: number; } /** - * The protected API for AppLayout + * The protected API for Controller */ -export interface AppLayoutProtected { +export interface ControllerProtected { /** * CSS classes applied to widget DOM element */ @@ -2497,35 +2483,39 @@ export interface AppLayoutProtected { _view_module: string; _view_module_version: string; _view_name: string; - align_items: - | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') - | null; /** - * Use a predefined styling for the box. + * The axes on the gamepad. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + axes: unknown[]; /** - * List of widget children + * The buttons on the gamepad. */ - children: unknown[]; - grid_gap: string | null; - height: string | null; - justify_content: - | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') - | null; - merge: boolean; - pane_heights: { - [k: string]: unknown; - }[]; - pane_widths: { - [k: string]: unknown; - }[]; - width: string | null; + buttons: unknown[]; + /** + * Whether the gamepad is connected. + */ + connected: boolean; + /** + * The id number of the controller. + */ + index: number; + /** + * The name of the control mapping. + */ + mapping: string; + /** + * The name of the controller. + */ + name: string; + /** + * The last time the data from this gamepad was updated. + */ + timestamp: number; } /** - * The protected API for Accordion + * The protected API for _IntRange */ -export interface AccordionProtected { +export interface _IntRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -2536,34 +2526,26 @@ export interface AccordionProtected { _states_to_send: { [k: string]: unknown; }[]; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Tuple of (lower, upper) bounds */ - children: unknown[]; - selected_index: number | null; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for Valid + * The protected API for SliderStyle */ -export interface ValidProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface SliderStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -2575,27 +2557,32 @@ export interface ValidProtected { _view_module_version: string; _view_name: string; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Message displayed when the value is False + * Width of the description to the side of the control. */ - readout: string; + description_width: string; +} +/** + * The protected API for CoreWidget + */ +export interface CoreWidgetProtected { + _model_module: string; + _model_module_version: string; /** - * Bool value + * Name of the model. */ - value: boolean; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string | null; } /** - * The protected API for IntProgress + * The protected API for Accordion */ -export interface IntProgressProtected { +export interface AccordionProtected { /** * CSS classes applied to widget DOM element */ @@ -2606,40 +2593,30 @@ export interface IntProgressProtected { _states_to_send: { [k: string]: unknown; }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the progess bar. - */ - bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. + * Use a predefined styling for the box. */ - orientation: 'horizontal' | 'vertical'; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Int value + * List of widget children */ - value: number; + children: unknown[]; + selected_index: number | null; } /** - * The protected API for FloatRangeSlider + * The protected API for IntSlider */ -export interface FloatRangeSliderProtected { +export interface IntSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -2655,7 +2632,7 @@ export interface FloatRangeSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -2688,16 +2665,14 @@ export interface FloatRangeSliderProtected { */ step: number; /** - * Tuple of (lower, upper) bounds + * Int value */ - value: { - [k: string]: unknown; - }[]; + value: number; } /** - * The protected API for FloatLogSlider + * The protected API for _Float */ -export interface FloatLogSliderProtected { +export interface _FloatProtected { /** * CSS classes applied to widget DOM element */ @@ -2711,62 +2686,36 @@ export interface FloatLogSliderProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Base for the logarithm - */ - base: number; - /** - * Update the value of the widget as the user is holding the slider. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Max value for the exponent - */ - max: number; - /** - * Min value for the exponent - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step in the exponent to increment the value - */ - step: number; /** * Float value */ value: number; } /** - * The protected API for Layout + * The protected API for Play */ -export interface LayoutProtected { +export interface PlayProtected { /** - * The namespace for the model. + * CSS classes applied to widget DOM element */ + _dom_classes: string[]; _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ _model_module_version: string; _model_name: string; + /** + * Whether the control is currently playing. + */ + _playing: boolean; + /** + * Whether the control will repeat in a continous loop. + */ + _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; @@ -2774,112 +2723,44 @@ export interface LayoutProtected { _view_module: string; _view_module_version: string; _view_name: string; - align_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'space-evenly' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_items: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - align_self: - | ( - | 'auto' - | 'flex-start' - | 'flex-end' - | 'center' - | 'baseline' - | 'stretch' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - border: string | null; - bottom: string | null; - display: string | null; - flex: string | null; - flex_flow: string | null; - grid_area: string | null; - grid_auto_columns: string | null; - grid_auto_flow: - | ( - | 'column' - | 'row' - | 'row dense' - | 'column dense' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - grid_auto_rows: string | null; - grid_column: string | null; - grid_gap: string | null; - grid_row: string | null; - grid_template_areas: string | null; - grid_template_columns: string | null; - grid_template_rows: string | null; - height: string | null; - justify_content: - | ( - | 'flex-start' - | 'flex-end' - | 'center' - | 'space-between' - | 'space-around' - | 'inherit' - | 'initial' - | 'unset' - ) - | null; - justify_items: - | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') - | null; - left: string | null; - margin: string | null; - max_height: string | null; - max_width: string | null; - min_height: string | null; - min_width: string | null; - object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; - object_position: string | null; - order: string | null; - overflow: string | null; - overflow_x: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - overflow_y: - | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') - | null; - padding: string | null; - right: string | null; - top: string | null; - visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; - width: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * The maximum value for the play control. + */ + interval: number; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Show the repeat toggle button in the widget. + */ + show_repeat: boolean; + /** + * Increment step + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The protected API for Textarea + * The protected API for VBox */ -export interface TextareaProtected { +export interface VBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -2895,7 +2776,34 @@ export interface TextareaProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Use a predefined styling for the box. + */ + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; +} +/** + * The protected API for FloatSlider + */ +export interface FloatSliderProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Update the value of the widget as the user is holding the slider. */ continuous_update: boolean; /** @@ -2908,19 +2816,53 @@ export interface TextareaProtected { */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed + * Max value */ - placeholder: string; - rows: number | null; + max: number; /** - * String value + * Min value */ - value: string; + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Float value + */ + value: number; } /** - * The protected API for _SelectionContainer + * The protected API for DescriptionStyle */ -export interface _SelectionContainerProtected { +export interface DescriptionStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + /** + * Width of the description to the side of the control. + */ + description_width: string; +} +/** + * The protected API for _FloatRange + */ +export interface _FloatRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -2931,25 +2873,21 @@ export interface _SelectionContainerProtected { _states_to_send: { [k: string]: unknown; }[]; - /** - * Titles of the pages - */ - _titles: { - [k: string]: unknown; - }; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the box. + * Description of the control. */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * List of widget children + * Tuple of (lower, upper) bounds */ - children: unknown[]; - selected_index: number | null; + value: { + [k: string]: unknown; + }[]; } /** * The protected API for Tab @@ -2986,9 +2924,9 @@ export interface TabProtected { selected_index: number | null; } /** - * The protected API for IntRangeSlider + * The protected API for Video */ -export interface IntRangeSliderProtected { +export interface VideoProtected { /** * CSS classes applied to widget DOM element */ @@ -3004,49 +2942,74 @@ export interface IntRangeSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is sliding the slider. + * When true, the video starts when it's displayed */ - continuous_update: boolean; + autoplay: boolean; /** - * Description of the control. + * Specifies that video controls should be displayed (such as a play/pause button etc) */ - description: string; - description_tooltip: string | null; + controls: boolean; /** - * Enable or disable user changes + * The format of the video. */ - disabled: boolean; + format: string; /** - * Max value + * Height of the video in pixels. */ - max: number; + height: string; /** - * Min value + * When true, the video will start from the beginning after finishing */ - min: number; + loop: boolean; /** - * Vertical or horizontal. + * Width of the video in pixels. */ - orientation: 'horizontal' | 'vertical'; + width: string; +} +/** + * The protected API for Text + */ +export interface TextProtected { /** - * Display the current value of the slider next to it. + * CSS classes applied to widget DOM element */ - readout: boolean; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Minimum step that the value can take + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - step: number; + continuous_update: boolean; /** - * Tuple of (lower, upper) bounds + * Description of the control. */ - value: { - [k: string]: unknown; - }[]; + description: string; + description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Placeholder text to display when nothing has been typed + */ + placeholder: string; + /** + * String value + */ + value: string; } /** - * The protected API for _BoundedInt + * The protected API for BoundedIntText */ -export interface _BoundedIntProtected { +export interface BoundedIntTextProtected { /** * CSS classes applied to widget DOM element */ @@ -3060,12 +3023,20 @@ export interface _BoundedIntProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Max value */ @@ -3074,15 +3045,19 @@ export interface _BoundedIntProtected { * Min value */ min: number; + /** + * Minimum step to increment the value + */ + step: number; /** * Int value */ value: number; } /** - * The protected API for FloatText + * The protected API for ToggleButton */ -export interface FloatTextProtected { +export interface ToggleButtonProtected { /** * CSS classes applied to widget DOM element */ @@ -3098,28 +3073,35 @@ export interface FloatTextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Use a predefined styling for the button. */ - continuous_update: boolean; + button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; - step: number | null; /** - * Float value + * Font-awesome icon. */ - value: number; + icon: string; + /** + * Tooltip caption of the toggle button. + */ + tooltip: string; + /** + * Bool value + */ + value: boolean; } /** - * The protected API for Controller + * The protected API for _BoundedFloatRange */ -export interface ControllerProtected { +export interface _BoundedFloatRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -3133,40 +3115,35 @@ export interface ControllerProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * The axes on the gamepad. - */ - axes: unknown[]; - /** - * The buttons on the gamepad. - */ - buttons: unknown[]; + _view_name: string | null; /** - * Whether the gamepad is connected. + * Description of the control. */ - connected: boolean; + description: string; + description_tooltip: string | null; /** - * The id number of the controller. + * Max value */ - index: number; + max: number; /** - * The name of the control mapping. + * Min value */ - mapping: string; + min: number; /** - * The name of the controller. + * Minimum step that the value can take (ignored by some views) */ - name: string; + step: number; /** - * The last time the data from this gamepad was updated. + * Tuple of (lower, upper) bounds */ - timestamp: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for ColorPicker + * The protected API for _String */ -export interface ColorPickerProtected { +export interface _StringProtected { /** * CSS classes applied to widget DOM element */ @@ -3180,29 +3157,25 @@ export interface ColorPickerProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Display short version with just a color selector. - */ - concise: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Placeholder text to display when nothing has been typed */ - disabled: boolean; + placeholder: string; /** - * The color value. + * String value */ value: string; } /** - * The protected API for _String + * The protected API for Password */ -export interface _StringProtected { +export interface PasswordProtected { /** * CSS classes applied to widget DOM element */ @@ -3216,12 +3189,20 @@ export interface _StringProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Placeholder text to display when nothing has been typed */ @@ -3232,9 +3213,9 @@ export interface _StringProtected { value: string; } /** - * The protected API for _Media + * The protected API for _BoundedFloat */ -export interface _MediaProtected { +export interface _BoundedFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -3249,11 +3230,28 @@ export interface _MediaProtected { _view_module: string; _view_module_version: string; _view_name: string | null; + /** + * Description of the control. + */ + description: string; + description_tooltip: string | null; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Float value + */ + value: number; } /** - * The protected API for Box + * The protected API for HBox */ -export interface BoxProtected { +export interface HBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -3278,9 +3276,9 @@ export interface BoxProtected { children: unknown[]; } /** - * The protected API for Checkbox + * The protected API for TwoByTwoLayout */ -export interface CheckboxProtected { +export interface TwoByTwoLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -3295,28 +3293,29 @@ export interface CheckboxProtected { _view_module: string; _view_module_version: string; _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes. - */ - disabled: boolean; - /** - * Indent the control to align with other controls with a description. + * Use a predefined styling for the box. */ - indent: boolean; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Bool value + * List of widget children */ - value: boolean; + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + width: string | null; } /** - * The protected API for Output + * The protected API for AppLayout */ -export interface OutputProtected { +export interface AppLayoutProtected { /** * CSS classes applied to widget DOM element */ @@ -3331,21 +3330,35 @@ export interface OutputProtected { _view_module: string; _view_module_version: string; _view_name: string; + align_items: + | ('top' | 'bottom' | 'flex-start' | 'flex-end' | 'center' | 'baseline' | 'stretch') + | null; /** - * Parent message id of messages to capture + * Use a predefined styling for the box. */ - msg_id: string; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * The output messages synced from the frontend. + * List of widget children */ - outputs: { + children: unknown[]; + grid_gap: string | null; + height: string | null; + justify_content: + | ('flex-start' | 'flex-end' | 'center' | 'space-between' | 'space-around') + | null; + merge: boolean; + pane_heights: { + [k: string]: unknown; + }[]; + pane_widths: { [k: string]: unknown; }[]; + width: string | null; } /** - * The protected API for _Int + * The protected API for FloatRangeSlider */ -export interface _IntProtected { +export interface FloatRangeSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3359,21 +3372,51 @@ export interface _IntProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Int value + * Enable or disable user changes */ - value: number; + disabled: boolean; + /** + * Max value + */ + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for BoundedFloatText + * The protected API for HTML */ -export interface BoundedFloatTextProtected { +export interface HTMLProtected { /** * CSS classes applied to widget DOM element */ @@ -3388,37 +3431,51 @@ export interface BoundedFloatTextProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Placeholder text to display when nothing has been typed */ - disabled: boolean; + placeholder: string; /** - * Max value + * String value */ - max: number; + value: string; +} +/** + * The protected API for Button + */ +export interface ButtonProtected { /** - * Min value + * CSS classes applied to widget DOM element */ - min: number; - step: number | null; + _dom_classes: string[]; + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Float value + * Whether the button is pressed. + */ + pressed: boolean; + /** + * The value of the button. */ value: number; } /** - * The protected API for Axis + * The protected API for _SelectionContainer */ -export interface AxisProtected { +export interface _SelectionContainerProtected { /** * CSS classes applied to widget DOM element */ @@ -3429,19 +3486,30 @@ export interface AxisProtected { _states_to_send: { [k: string]: unknown; }[]; + /** + * Titles of the pages + */ + _titles: { + [k: string]: unknown; + }; _view_count: number | null; _view_module: string; _view_module_version: string; _view_name: string; /** - * The value of the axis. + * Use a predefined styling for the box. */ - value: number; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + /** + * List of widget children + */ + children: unknown[]; + selected_index: number | null; } /** - * The protected API for SelectMultiple + * The protected API for _MultipleSelection */ -export interface SelectMultipleProtected { +export interface _MultipleSelectionProtected { /** * CSS classes applied to widget DOM element */ @@ -3459,7 +3527,7 @@ export interface SelectMultipleProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** * Description of the control. */ @@ -3481,18 +3549,42 @@ export interface SelectMultipleProtected { [k: string]: unknown; } | null; /** - * The number of rows to display. + * Selected values */ - rows: number; + value: unknown[]; +} +/** + * The protected API for DOMWidget + */ +export interface DOMWidgetProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; + /** + * The namespace for the model. + */ + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string | null; /** - * Selected values + * A semver requirement for the namespace version containing the view. */ - value: unknown[]; + _view_module_version: string; + _view_name: string | null; } /** - * The protected API for HTML + * The protected API for Combobox */ -export interface HTMLProtected { +export interface ComboboxProtected { /** * CSS classes applied to widget DOM element */ @@ -3507,11 +3599,27 @@ export interface HTMLProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * If set, ensure value is in options. Implies continuous_update=False. + */ + ensure_option: boolean; + /** + * Dropdown options for the combobox + */ + options: string[]; /** * Placeholder text to display when nothing has been typed */ @@ -3522,27 +3630,13 @@ export interface HTMLProtected { value: string; } /** - * The protected API for CoreWidget + * The protected API for IntText */ -export interface CoreWidgetProtected { - _model_module: string; - _model_module_version: string; +export interface IntTextProtected { /** - * Name of the model. + * CSS classes applied to widget DOM element */ - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; -} -/** - * The protected API for ToggleButtonsStyle - */ -export interface ToggleButtonsStyleProtected { + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -3554,22 +3648,31 @@ export interface ToggleButtonsStyleProtected { _view_module_version: string; _view_name: string; /** - * The width of each button. + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. */ - button_width: string; + continuous_update: boolean; /** - * Width of the description to the side of the control. + * Description of the control. */ - description_width: string; + description: string; + description_tooltip: string | null; /** - * Text font weight of each button. + * Enable or disable user changes */ - font_weight: string; + disabled: boolean; + /** + * Minimum step to increment the value + */ + step: number; + /** + * Int value + */ + value: number; } /** - * The protected API for _IntRange + * The protected API for DescriptionWidget */ -export interface _IntRangeProtected { +export interface DescriptionWidgetProtected { /** * CSS classes applied to widget DOM element */ @@ -3589,36 +3692,11 @@ export interface _IntRangeProtected { */ description: string; description_tooltip: string | null; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The protected API for SliderStyle - */ -export interface SliderStyleProtected { - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Width of the description to the side of the control. - */ - description_width: string; } /** - * The protected API for FloatProgress + * The protected API for HTMLMath */ -export interface FloatProgressProtected { +export interface HTMLMathProtected { /** * CSS classes applied to widget DOM element */ @@ -3633,37 +3711,24 @@ export interface FloatProgressProtected { _view_module: string; _view_module_version: string; _view_name: string; - bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. + * Placeholder text to display when nothing has been typed */ - orientation: 'horizontal' | 'vertical'; + placeholder: string; /** - * Float value + * String value */ - value: number; + value: string; } /** - * The protected API for Text + * The protected API for ProgressStyle */ -export interface TextProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; +export interface ProgressStyleProtected { _model_module: string; _model_module_version: string; _model_name: string; @@ -3675,31 +3740,14 @@ export interface TextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Placeholder text to display when nothing has been typed - */ - placeholder: string; - /** - * String value + * Width of the description to the side of the control. */ - value: string; + description_width: string; } /** - * The protected API for IntSlider + * The protected API for _BoundedIntRange */ -export interface IntSliderProtected { +export interface _BoundedIntRangeProtected { /** * CSS classes applied to widget DOM element */ @@ -3713,20 +3761,12 @@ export interface IntSliderProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Update the value of the widget as the user is holding the slider. - */ - continuous_update: boolean; + _view_name: string | null; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -3736,31 +3776,23 @@ export interface IntSliderProtected { */ min: number; /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step to increment the value - */ - step: number; - /** - * Int value + * Tuple of (lower, upper) bounds */ - value: number; + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for Audio + * The protected API for Style */ -export interface AudioProtected { +export interface StyleProtected { /** - * CSS classes applied to widget DOM element + * The namespace for the model. */ - _dom_classes: string[]; _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ _model_module_version: string; _model_name: string; _states_to_send: { @@ -3770,27 +3802,15 @@ export interface AudioProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * When true, the audio starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that audio controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the audio. - */ - format: string; - /** - * When true, the audio will start from the beginning after finishing - */ - loop: boolean; } /** - * The protected API for DescriptionStyle + * The protected API for _Media */ -export interface DescriptionStyleProtected { +export interface _MediaProtected { + /** + * CSS classes applied to widget DOM element + */ + _dom_classes: string[]; _model_module: string; _model_module_version: string; _model_name: string; @@ -3800,16 +3820,12 @@ export interface DescriptionStyleProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; - /** - * Width of the description to the side of the control. - */ - description_width: string; + _view_name: string | null; } /** - * The protected API for _Float + * The protected API for FloatLogSlider */ -export interface _FloatProtected { +export interface FloatLogSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -3823,21 +3839,53 @@ export interface _FloatProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Base for the logarithm + */ + base: number; + /** + * Update the value of the widget as the user is holding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; + /** + * Max value for the exponent + */ + max: number; + /** + * Min value for the exponent + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step in the exponent to increment the value + */ + step: number; /** * Float value */ value: number; } /** - * The protected API for Play + * The protected API for _BoundedLogFloat */ -export interface PlayProtected { +export interface _BoundedLogFloatProtected { /** * CSS classes applied to widget DOM element */ @@ -3845,59 +3893,39 @@ export interface PlayProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * Whether the control is currently playing. - */ - _playing: boolean; - /** - * Whether the control will repeat in a continous loop. - */ - _repeat: boolean; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; + /** + * Base of value + */ + base: number; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * The maximum value for the play control. - */ - interval: number; - /** - * Max value + * Max value for the exponent */ max: number; /** - * Min value + * Min value for the exponent */ min: number; /** - * Show the repeat toggle button in the widget. - */ - show_repeat: boolean; - /** - * Increment step - */ - step: number; - /** - * Int value + * Float value */ value: number; } /** - * The protected API for VBox + * The protected API for GridBox */ -export interface VBoxProtected { +export interface GridBoxProtected { /** * CSS classes applied to widget DOM element */ @@ -3922,28 +3950,9 @@ export interface VBoxProtected { children: unknown[]; } /** - * The protected API for ButtonStyle - */ -export interface ButtonStyleProtected { - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; - /** - * Button text font weight. - */ - font_weight: string; -} -/** - * The protected API for Image + * The protected API for _Bool */ -export interface ImageProtected { +export interface _BoolProtected { /** * CSS classes applied to widget DOM element */ @@ -3957,24 +3966,25 @@ export interface ImageProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * The format of the image. + * Description of the control. */ - format: string; + description: string; + description_tooltip: string | null; /** - * Height of the image in pixels. Use layout.height for styling the widget. + * Enable or disable user changes. */ - height: string; + disabled: boolean; /** - * Width of the image in pixels. Use layout.width for styling the widget. + * Bool value */ - width: string; + value: boolean; } /** - * The protected API for Password + * The protected API for Valid */ -export interface PasswordProtected { +export interface ValidProtected { /** * CSS classes applied to widget DOM element */ @@ -3989,33 +3999,28 @@ export interface PasswordProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Enable or disable user changes. */ disabled: boolean; /** - * Placeholder text to display when nothing has been typed + * Message displayed when the value is False */ - placeholder: string; + readout: string; /** - * String value + * Bool value */ - value: string; + value: boolean; } /** - * The protected API for FileUpload + * The protected API for Label */ -export interface FileUploadProtected { - _counter: number; +export interface LabelProtected { /** * CSS classes applied to widget DOM element */ @@ -4030,55 +4035,24 @@ export interface FileUploadProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * File types to accept, empty string for all - */ - accept: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; - /** - * List of file content (bytes) - */ - data: { - [k: string]: unknown; - }[]; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable button - */ - disabled: boolean; - /** - * Error message - */ - error: string; - /** - * Font-awesome icon name, without the 'fa-' prefix. - */ - icon: string; - /** - * List of file metadata + * Placeholder text to display when nothing has been typed */ - metadata: { - [k: string]: unknown; - }[]; + placeholder: string; /** - * If True, allow for multiple files upload + * String value */ - multiple: boolean; - value: { - [k: string]: unknown; - }; + value: string; } /** - * The protected API for BoundedIntText + * The protected API for IntProgress */ -export interface BoundedIntTextProtected { +export interface IntProgressProtected { /** * CSS classes applied to widget DOM element */ @@ -4094,18 +4068,14 @@ export interface BoundedIntTextProtected { _view_module_version: string; _view_name: string; /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + * Use a predefined styling for the progess bar. */ - continuous_update: boolean; + bar_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; /** * Max value */ @@ -4115,46 +4085,18 @@ export interface BoundedIntTextProtected { */ min: number; /** - * Minimum step to increment the value + * Vertical or horizontal. */ - step: number; + orientation: 'horizontal' | 'vertical'; /** * Int value */ value: number; } /** - * The protected API for DOMWidget - */ -export interface DOMWidgetProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - /** - * The namespace for the model. - */ - _model_module: string; - /** - * A semver requirement for namespace version containing the model. - */ - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string | null; - /** - * A semver requirement for the namespace version containing the view. - */ - _view_module_version: string; - _view_name: string | null; -} -/** - * The protected API for FloatSlider + * The protected API for Output */ -export interface FloatSliderProtected { +export interface OutputProtected { /** * CSS classes applied to widget DOM element */ @@ -4170,47 +4112,20 @@ export interface FloatSliderProtected { _view_module_version: string; _view_name: string; /** - * Update the value of the widget as the user is holding the slider. - */ - continuous_update: boolean; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Enable or disable user changes - */ - disabled: boolean; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Vertical or horizontal. - */ - orientation: 'horizontal' | 'vertical'; - /** - * Display the current value of the slider next to it. - */ - readout: boolean; - /** - * Minimum step to increment the value + * Parent message id of messages to capture */ - step: number; + msg_id: string; /** - * Float value + * The output messages synced from the frontend. */ - value: number; + outputs: { + [k: string]: unknown; + }[]; } /** - * The protected API for ToggleButton + * The protected API for SelectMultiple */ -export interface ToggleButtonProtected { +export interface SelectMultipleProtected { /** * CSS classes applied to widget DOM element */ @@ -4218,6 +4133,10 @@ export interface ToggleButtonProtected { _model_module: string; _model_module_version: string; _model_name: string; + /** + * The labels for the options. + */ + _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; @@ -4225,36 +4144,39 @@ export interface ToggleButtonProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Use a predefined styling for the button. - */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes. + * Enable or disable user changes */ disabled: boolean; /** - * Font-awesome icon. + * Selected indices */ - icon: string; + index: number[]; + /** + * Selected labels + */ + label: string[]; + options: { + [k: string]: unknown; + } | null; /** - * Tooltip caption of the toggle button. + * The number of rows to display. */ - tooltip: string; + rows: number; /** - * Bool value + * Selected values */ - value: boolean; + value: unknown[]; } /** - * The protected API for Combobox + * The protected API for FloatText */ -export interface ComboboxProtected { +export interface FloatTextProtected { /** * CSS classes applied to widget DOM element */ @@ -4282,27 +4204,43 @@ export interface ComboboxProtected { * Enable or disable user changes */ disabled: boolean; + step: number | null; /** - * If set, ensure value is in options. Implies continuous_update=False. + * Float value */ - ensure_option: boolean; + value: number; +} +/** + * The protected API for ToggleButtonsStyle + */ +export interface ToggleButtonsStyleProtected { + _model_module: string; + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; /** - * Dropdown options for the combobox + * The width of each button. */ - options: string[]; + button_width: string; /** - * Placeholder text to display when nothing has been typed + * Width of the description to the side of the control. */ - placeholder: string; + description_width: string; /** - * String value + * Text font weight of each button. */ - value: string; + font_weight: string; } /** - * The protected API for HBox + * The protected API for Audio */ -export interface HBoxProtected { +export interface AudioProtected { /** * CSS classes applied to widget DOM element */ @@ -4318,18 +4256,26 @@ export interface HBoxProtected { _view_module_version: string; _view_name: string; /** - * Use a predefined styling for the box. + * When true, the audio starts when it's displayed */ - box_style: 'success' | 'info' | 'warning' | 'danger' | ''; + autoplay: boolean; /** - * List of widget children + * Specifies that audio controls should be displayed (such as a play/pause button etc) */ - children: unknown[]; + controls: boolean; + /** + * The format of the audio. + */ + format: string; + /** + * When true, the audio will start from the beginning after finishing + */ + loop: boolean; } /** - * The protected API for HTMLMath + * The protected API for IntRangeSlider */ -export interface HTMLMathProtected { +export interface IntRangeSliderProtected { /** * CSS classes applied to widget DOM element */ @@ -4344,24 +4290,50 @@ export interface HTMLMathProtected { _view_module: string; _view_module_version: string; _view_name: string; + /** + * Update the value of the widget as the user is sliding the slider. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Placeholder text to display when nothing has been typed + * Enable or disable user changes */ - placeholder: string; + disabled: boolean; /** - * String value + * Max value */ - value: string; + max: number; + /** + * Min value + */ + min: number; + /** + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Display the current value of the slider next to it. + */ + readout: boolean; + /** + * Minimum step that the value can take + */ + step: number; + /** + * Tuple of (lower, upper) bounds + */ + value: { + [k: string]: unknown; + }[]; } /** - * The protected API for _BoundedFloat + * The protected API for BoundedFloatText */ -export interface _BoundedFloatProtected { +export interface BoundedFloatTextProtected { /** * CSS classes applied to widget DOM element */ @@ -4375,12 +4347,20 @@ export interface _BoundedFloatProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ description: string; description_tooltip: string | null; + /** + * Enable or disable user changes + */ + disabled: boolean; /** * Max value */ @@ -4389,15 +4369,16 @@ export interface _BoundedFloatProtected { * Min value */ min: number; + step: number | null; /** * Float value */ value: number; } /** - * The protected API for _FloatRange + * The protected API for Box */ -export interface _FloatRangeProtected { +export interface BoxProtected { /** * CSS classes applied to widget DOM element */ @@ -4411,23 +4392,20 @@ export interface _FloatRangeProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** - * Description of the control. + * Use a predefined styling for the box. */ - description: string; - description_tooltip: string | null; + box_style: 'success' | 'info' | 'warning' | 'danger' | ''; /** - * Tuple of (lower, upper) bounds + * List of widget children */ - value: { - [k: string]: unknown; - }[]; + children: unknown[]; } /** - * The protected API for Button + * The protected API for _BoundedInt */ -export interface ButtonProtected { +export interface _BoundedIntProtected { /** * CSS classes applied to widget DOM element */ @@ -4441,32 +4419,151 @@ export interface ButtonProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string; + _view_name: string | null; /** - * Use a predefined styling for the button. + * Description of the control. */ - button_style: 'primary' | 'success' | 'info' | 'warning' | 'danger' | ''; + description: string; + description_tooltip: string | null; /** - * Button label. + * Max value */ - description: string; + max: number; /** - * Enable or disable user changes. + * Min value */ - disabled: boolean; + min: number; /** - * Font-awesome icon name, without the 'fa-' prefix. + * Int value */ - icon: string; + value: number; +} +/** + * The protected API for Layout + */ +export interface LayoutProtected { /** - * Tooltip caption of the button. + * The namespace for the model. */ - tooltip: string; + _model_module: string; + /** + * A semver requirement for namespace version containing the model. + */ + _model_module_version: string; + _model_name: string; + _states_to_send: { + [k: string]: unknown; + }[]; + _view_count: number | null; + _view_module: string; + _view_module_version: string; + _view_name: string; + align_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'space-evenly' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_items: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + align_self: + | ( + | 'auto' + | 'flex-start' + | 'flex-end' + | 'center' + | 'baseline' + | 'stretch' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + border: string | null; + bottom: string | null; + display: string | null; + flex: string | null; + flex_flow: string | null; + grid_area: string | null; + grid_auto_columns: string | null; + grid_auto_flow: + | ( + | 'column' + | 'row' + | 'row dense' + | 'column dense' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + grid_auto_rows: string | null; + grid_column: string | null; + grid_gap: string | null; + grid_row: string | null; + grid_template_areas: string | null; + grid_template_columns: string | null; + grid_template_rows: string | null; + height: string | null; + justify_content: + | ( + | 'flex-start' + | 'flex-end' + | 'center' + | 'space-between' + | 'space-around' + | 'inherit' + | 'initial' + | 'unset' + ) + | null; + justify_items: + | ('flex-start' | 'flex-end' | 'center' | 'inherit' | 'initial' | 'unset') + | null; + left: string | null; + margin: string | null; + max_height: string | null; + max_width: string | null; + min_height: string | null; + min_width: string | null; + object_fit: ('contain' | 'cover' | 'fill' | 'scale-down' | 'none') | null; + object_position: string | null; + order: string | null; + overflow: string | null; + overflow_x: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + overflow_y: + | ('visible' | 'hidden' | 'scroll' | 'auto' | 'inherit' | 'initial' | 'unset') + | null; + padding: string | null; + right: string | null; + top: string | null; + visibility: ('visible' | 'hidden' | 'inherit' | 'initial' | 'unset') | null; + width: string | null; } /** - * The protected API for _MultipleSelection + * The protected API for Textarea */ -export interface _MultipleSelectionProtected { +export interface TextareaProtected { /** * CSS classes applied to widget DOM element */ @@ -4474,17 +4571,17 @@ export interface _MultipleSelectionProtected { _model_module: string; _model_module_version: string; _model_name: string; - /** - * The labels for the options. - */ - _options_labels: string[]; _states_to_send: { [k: string]: unknown; }[]; _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; + /** + * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. + */ + continuous_update: boolean; /** * Description of the control. */ @@ -4495,46 +4592,19 @@ export interface _MultipleSelectionProtected { */ disabled: boolean; /** - * Selected indices - */ - index: number[]; - /** - * Selected labels - */ - label: string[]; - options: { - [k: string]: unknown; - } | null; - /** - * Selected values - */ - value: unknown[]; -} -/** - * The protected API for Style - */ -export interface StyleProtected { - /** - * The namespace for the model. + * Placeholder text to display when nothing has been typed */ - _model_module: string; + placeholder: string; + rows: number | null; /** - * A semver requirement for namespace version containing the model. + * String value */ - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; + value: string; } /** - * The protected API for IntText + * The protected API for FloatProgress */ -export interface IntTextProtected { +export interface FloatProgressProtected { /** * CSS classes applied to widget DOM element */ @@ -4549,32 +4619,33 @@ export interface IntTextProtected { _view_module: string; _view_module_version: string; _view_name: string; - /** - * Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away. - */ - continuous_update: boolean; + bar_style: ('success' | 'info' | 'warning' | 'danger' | '') | null; /** * Description of the control. */ description: string; description_tooltip: string | null; /** - * Enable or disable user changes + * Max value */ - disabled: boolean; + max: number; /** - * Minimum step to increment the value + * Min value */ - step: number; + min: number; /** - * Int value + * Vertical or horizontal. + */ + orientation: 'horizontal' | 'vertical'; + /** + * Float value */ value: number; } /** - * The protected API for Label + * The protected API for Image */ -export interface LabelProtected { +export interface ImageProtected { /** * CSS classes applied to widget DOM element */ @@ -4590,23 +4661,22 @@ export interface LabelProtected { _view_module_version: string; _view_name: string; /** - * Description of the control. + * The format of the image. */ - description: string; - description_tooltip: string | null; + format: string; /** - * Placeholder text to display when nothing has been typed + * Height of the image in pixels. Use layout.height for styling the widget. */ - placeholder: string; + height: string; /** - * String value + * Width of the image in pixels. Use layout.width for styling the widget. */ - value: string; + width: string; } /** - * The protected API for Video + * The protected API for ColorPicker */ -export interface VideoProtected { +export interface ColorPickerProtected { /** * CSS classes applied to widget DOM element */ @@ -4622,34 +4692,27 @@ export interface VideoProtected { _view_module_version: string; _view_name: string; /** - * When true, the video starts when it's displayed - */ - autoplay: boolean; - /** - * Specifies that video controls should be displayed (such as a play/pause button etc) - */ - controls: boolean; - /** - * The format of the video. + * Display short version with just a color selector. */ - format: string; + concise: boolean; /** - * Height of the video in pixels. + * Description of the control. */ - height: string; + description: string; + description_tooltip: string | null; /** - * When true, the video will start from the beginning after finishing + * Enable or disable user changes. */ - loop: boolean; + disabled: boolean; /** - * Width of the video in pixels. + * The color value. */ - width: string; + value: string; } /** - * The protected API for DescriptionWidget + * The protected API for Checkbox */ -export interface DescriptionWidgetProtected { +export interface CheckboxProtected { /** * CSS classes applied to widget DOM element */ @@ -4663,31 +4726,24 @@ export interface DescriptionWidgetProtected { _view_count: number | null; _view_module: string; _view_module_version: string; - _view_name: string | null; + _view_name: string; /** * Description of the control. */ description: string; description_tooltip: string | null; -} -/** - * The protected API for ProgressStyle - */ -export interface ProgressStyleProtected { - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string; /** - * Width of the description to the side of the control. + * Enable or disable user changes. */ - description_width: string; + disabled: boolean; + /** + * Indent the control to align with other controls with a description. + */ + indent: boolean; + /** + * Bool value + */ + value: boolean; } /** * The protected API for Widget @@ -4716,83 +4772,3 @@ export interface WidgetProtected { _view_module_version: string; _view_name: string | null; } -/** - * The protected API for _BoundedFloatRange - */ -export interface _BoundedFloatRangeProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Minimum step that the value can take (ignored by some views) - */ - step: number; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} -/** - * The protected API for _BoundedIntRange - */ -export interface _BoundedIntRangeProtected { - /** - * CSS classes applied to widget DOM element - */ - _dom_classes: string[]; - _model_module: string; - _model_module_version: string; - _model_name: string; - _states_to_send: { - [k: string]: unknown; - }[]; - _view_count: number | null; - _view_module: string; - _view_module_version: string; - _view_name: string | null; - /** - * Description of the control. - */ - description: string; - description_tooltip: string | null; - /** - * Max value - */ - max: number; - /** - * Min value - */ - min: number; - /** - * Tuple of (lower, upper) bounds - */ - value: { - [k: string]: unknown; - }[]; -} diff --git a/packages/kernel/src/_schema_widgets.json b/packages/kernel/src/_schema_widgets.json index 5cc79e02d..5785ff83b 100644 --- a/packages/kernel/src/_schema_widgets.json +++ b/packages/kernel/src/_schema_widgets.json @@ -1,7 +1,7 @@ { - "IPublicGridBox": { - "title": "GridBox public", - "description": "The public API for GridBox", + "IPublic_Int": { + "title": "_Int public", + "description": "The public API for _Int", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10,13 +10,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 }, "properties": { "_dom_classes": { @@ -39,7 +40,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -65,20 +66,38 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -90,13 +109,14 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description", + "description_tooltip", + "value" ] }, - "IProtectedGridBox": { - "title": "GridBox Protected", - "description": "The protected API for GridBox", + "IProtected_Int": { + "title": "_Int Protected", + "description": "The protected API for _Int", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -105,14 +125,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0 }, "properties": { "_dom_classes": { @@ -135,7 +156,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -170,20 +191,38 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "GridBoxView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -196,34 +235,45 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description", + "description_tooltip", + "value" ] }, - "IPublic_BoundedLogFloat": { - "title": "_BoundedLogFloat public", - "description": "The public API for _BoundedLogFloat", + "IPublicFileUpload": { + "title": "FileUpload public", + "description": "The public API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FileUploadModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, - "description": "", + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -244,7 +294,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FileUploadModel", "description": "" }, "_view_count": { @@ -270,25 +320,31 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FileUploadView", + "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" }, "description": { "type": "string", - "default": "", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -303,23 +359,37 @@ } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "error": { + "type": "string", + "default": "", + "description": "Error message" }, - "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -328,39 +398,54 @@ "_view_module", "_view_module_version", "_view_name", - "base", + "accept", + "button_style", + "data", "description", "description_tooltip", - "max", - "min", - "value" + "disabled", + "error", + "icon", + "metadata", + "multiple" ] }, - "IProtected_BoundedLogFloat": { - "title": "_BoundedLogFloat Protected", - "description": "The protected API for _BoundedLogFloat", + "IProtectedFileUpload": { + "title": "FileUpload Protected", + "description": "The protected API for FileUpload", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FileUploadModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "base": 10.0, - "description": "", - "description_tooltip": null, - "max": 4.0, - "min": 0.0, - "value": 1.0 + "_view_name": "FileUploadView", + "accept": "", + "button_style": "", + "data": [], + "description": "Upload", + "description_tooltip": null, + "disabled": false, + "error": "", + "icon": "upload", + "metadata": [], + "multiple": false, + "value": {} }, "properties": { + "_counter": { + "type": "integer", + "default": 0, + "description": "" + }, "_dom_classes": { "type": "array", "items": { @@ -381,7 +466,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FileUploadModel", "description": "" }, "_states_to_send": { @@ -416,25 +501,31 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "FileUploadView", + "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base of value" + "accept": { + "type": "string", + "default": "", + "description": "File types to accept, empty string for all" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." + }, + "data": { + "type": "array", + "items": { + "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" + }, + "default": [], + "description": "List of file content (bytes)" }, "description": { "type": "string", - "default": "", + "default": "Upload", "description": "Description of the control." }, "description_tooltip": { @@ -449,23 +540,42 @@ } ] }, - "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable button" }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "error": { + "type": "string", + "default": "", + "description": "Error message" + }, + "icon": { + "type": "string", + "default": "upload", + "description": "Font-awesome icon name, without the 'fa-' prefix." + }, + "metadata": { + "type": "array", + "items": { + "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + }, + "default": [], + "description": "List of file metadata" + }, + "multiple": { + "type": "boolean", + "default": false, + "description": "If True, allow for multiple files upload" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "object", + "description": "", + "default": {} } }, "required": [ + "_counter", "_dom_classes", "_model_module", "_model_module_version", @@ -475,42 +585,37 @@ "_view_module", "_view_module_version", "_view_name", - "base", + "accept", + "button_style", + "data", "description", "description_tooltip", - "max", - "min", + "disabled", + "error", + "icon", + "metadata", + "multiple", "value" ] }, - "IPublicTwoByTwoLayout": { - "title": "TwoByTwoLayout public", - "description": "The public API for TwoByTwoLayout", + "IPublicButtonStyle": { + "title": "ButtonStyle public", + "description": "The public API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "ButtonStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -523,7 +628,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "ButtonStyleModel", "description": "" }, "_view_count": { @@ -540,33 +645,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "StyleView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "font_weight": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -574,45 +672,28 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "font_weight" ] }, - "IProtectedTwoByTwoLayout": { - "title": "TwoByTwoLayout Protected", - "description": "The protected API for TwoByTwoLayout", + "IProtectedButtonStyle": { + "title": "ButtonStyle Protected", + "description": "The protected API for ButtonStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "ButtonStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "width": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -625,7 +706,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "ButtonStyleModel", "description": "" }, "_states_to_send": { @@ -651,112 +732,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "StyleView", "description": "" }, - "align_items": { - "oneOf": [ - { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "font_weight": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] - }, - "merge": { - "type": "boolean", - "default": {}, - "description": "" - }, - "width": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "description": "Button text font weight." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -765,19 +760,12 @@ "_view_module", "_view_module_version", "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", - "height", - "justify_content", - "merge", - "width" + "font_weight" ] }, - "IPublic_Bool": { - "title": "_Bool public", - "description": "The public API for _Bool", + "IPublicAxis": { + "title": "Axis public", + "description": "The public API for Axis", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -786,15 +774,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoolModel", + "_model_name": "ControllerAxisModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false + "_view_name": "ControllerAxisView", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -817,7 +802,7 @@ }, "_model_name": { "type": "string", - "default": "BoolModel", + "default": "ControllerAxisModel", "description": "" }, "_view_count": { @@ -843,43 +828,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "default": "ControllerAxisView", + "description": "" }, "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "type": "number", + "default": 0.0, + "description": "The value of the axis." } }, "required": [ @@ -891,15 +847,12 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", "value" ] }, - "IProtected_Bool": { - "title": "_Bool Protected", - "description": "The protected API for _Bool", + "IProtectedAxis": { + "title": "Axis Protected", + "description": "The protected API for Axis", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -908,16 +861,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoolModel", + "_model_name": "ControllerAxisModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "value": false + "_view_name": "ControllerAxisView", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -940,7 +890,7 @@ }, "_model_name": { "type": "string", - "default": "BoolModel", + "default": "ControllerAxisModel", "description": "" }, "_states_to_send": { @@ -975,43 +925,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "default": "ControllerAxisView", + "description": "" }, "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "type": "number", + "default": 0.0, + "description": "The value of the axis." } }, "required": [ @@ -1024,15 +945,12 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", "value" ] }, - "IPublicAppLayout": { - "title": "AppLayout public", - "description": "The public API for AppLayout", + "IPublicController": { + "title": "Controller public", + "description": "The public API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1041,13 +959,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "ControllerModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "box_style": "", - "children": [] + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -1070,7 +993,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "ControllerModel", "description": "" }, "_view_count": { @@ -1097,19 +1020,45 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "ControllerView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "axes": { + "type": "array", + "items": {}, + "default": [], + "description": "The axes on the gamepad." }, - "children": { + "buttons": { "type": "array", "items": {}, "default": [], - "description": "List of widget children" + "description": "The buttons on the gamepad." + }, + "connected": { + "type": "boolean", + "default": false, + "description": "Whether the gamepad is connected." + }, + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." + }, + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." + }, + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -1121,13 +1070,18 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IProtectedAppLayout": { - "title": "AppLayout Protected", - "description": "The protected API for AppLayout", + "IProtectedController": { + "title": "Controller Protected", + "description": "The protected API for Controller", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1136,22 +1090,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "GridBoxModel", + "_model_name": "ControllerModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "GridBoxView", - "align_items": null, - "box_style": "", - "children": [], - "grid_gap": null, - "height": null, - "justify_content": null, - "merge": true, - "pane_heights": ["1fr", "3fr", "1fr"], - "pane_widths": ["1fr", "2fr", "1fr"], - "width": null + "_view_name": "ControllerView", + "axes": [], + "buttons": [], + "connected": false, + "index": 0, + "mapping": "", + "name": "", + "timestamp": 0.0 }, "properties": { "_dom_classes": { @@ -1174,7 +1125,7 @@ }, "_model_name": { "type": "string", - "default": "GridBoxModel", + "default": "ControllerModel", "description": "" }, "_states_to_send": { @@ -1210,114 +1161,45 @@ }, "_view_name": { "type": "string", - "default": "GridBoxView", + "default": "ControllerView", "description": "" }, - "align_items": { - "oneOf": [ - { - "enum": [ - "top", - "bottom", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch" - ], - "default": {}, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { + "axes": { "type": "array", "items": {}, "default": [], - "description": "List of widget children" - }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] - }, - "height": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "description": "The axes on the gamepad." }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around" - ], - "default": {}, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "buttons": { + "type": "array", + "items": {}, + "default": [], + "description": "The buttons on the gamepad." }, - "merge": { + "connected": { "type": "boolean", - "default": {}, - "description": "" + "default": false, + "description": "Whether the gamepad is connected." }, - "pane_heights": { - "type": "array", - "items": { - "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" - }, - "default": {}, - "description": "" + "index": { + "type": "integer", + "default": 0, + "description": "The id number of the controller." }, - "pane_widths": { - "type": "array", - "items": { - "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" - }, - "default": {}, - "description": "" + "mapping": { + "type": "string", + "default": "", + "description": "The name of the control mapping." }, - "width": { - "oneOf": [ - { - "type": "string", - "default": {}, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "name": { + "type": "string", + "default": "", + "description": "The name of the controller." + }, + "timestamp": { + "type": "number", + "default": 0.0, + "description": "The last time the data from this gamepad was updated." } }, "required": [ @@ -1330,21 +1212,18 @@ "_view_module", "_view_module_version", "_view_name", - "align_items", - "box_style", - "children", - "grid_gap", - "height", - "justify_content", - "merge", - "pane_heights", - "pane_widths", - "width" + "axes", + "buttons", + "connected", + "index", + "mapping", + "name", + "timestamp" ] }, - "IPublicAccordion": { - "title": "Accordion public", - "description": "The public API for Accordion", + "IPublic_IntRange": { + "title": "_IntRange public", + "description": "The public API for _IntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1353,15 +1232,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", - "_titles": {}, + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] }, "properties": { "_dom_classes": { @@ -1384,14 +1262,9 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", + "default": "DescriptionModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -1415,32 +1288,41 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "AccordionView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." - }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1448,19 +1330,18 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "description", + "description_tooltip", + "value" ] }, - "IProtectedAccordion": { - "title": "Accordion Protected", - "description": "The protected API for Accordion", + "IProtected_IntRange": { + "title": "_IntRange Protected", + "description": "The protected API for _IntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -1469,16 +1350,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AccordionModel", + "_model_name": "DescriptionModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AccordionView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0, 1] }, "properties": { "_dom_classes": { @@ -1501,7 +1381,7 @@ }, "_model_name": { "type": "string", - "default": "AccordionModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -1513,11 +1393,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -1541,32 +1416,41 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "AccordionView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" - }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0, 1], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -1575,47 +1459,33 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "description", + "description_tooltip", + "value" ] }, - "IPublicValid": { - "title": "Valid public", - "description": "The public API for Valid", + "IPublicSliderStyle": { + "title": "SliderStyle public", + "description": "The public API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ValidModel", + "_model_name": "SliderStyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -1628,7 +1498,7 @@ }, "_model_name": { "type": "string", - "default": "ValidModel", + "default": "SliderStyleModel", "description": "" }, "_view_count": { @@ -1645,54 +1515,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ValidView", + "default": "StyleView", "description": "" }, - "description": { + "description_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "readout": { - "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -1700,45 +1542,28 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" + "description_width" ] }, - "IProtectedValid": { - "title": "Valid Protected", - "description": "The protected API for Valid", + "IProtectedSliderStyle": { + "title": "SliderStyle Protected", + "description": "The protected API for SliderStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ValidModel", + "_model_name": "SliderStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ValidView", - "description": "", - "description_tooltip": null, - "disabled": false, - "readout": "Invalid", - "value": false + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -1751,7 +1576,7 @@ }, "_model_name": { "type": "string", - "default": "ValidModel", + "default": "SliderStyleModel", "description": "" }, "_states_to_send": { @@ -1777,54 +1602,26 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "ValidView", + "default": "StyleView", "description": "" }, - "description": { + "description_width": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "readout": { - "type": "string", - "default": "Invalid", - "description": "Message displayed when the value is False" - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" + "description": "Width of the description to the side of the control." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -1833,46 +1630,26 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "readout", - "value" + "description_width" ] }, - "IPublicIntProgress": { - "title": "IntProgress public", - "description": "The public API for IntProgress", + "IPublicCoreWidget": { + "title": "CoreWidget public", + "description": "The public API for CoreWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", + "_model_name": "WidgetModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -1885,8 +1662,8 @@ }, "_model_name": { "type": "string", - "default": "IntProgressModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_view_count": { "oneOf": [ @@ -1911,105 +1688,46 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "_view_name" ] }, - "IProtectedIntProgress": { - "title": "IntProgress Protected", - "description": "The protected API for IntProgress", + "IProtectedCoreWidget": { + "title": "CoreWidget Protected", + "description": "The protected API for CoreWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntProgressModel", + "_model_name": "WidgetModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "orientation": "horizontal", - "value": 0 + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -2022,8 +1740,8 @@ }, "_model_name": { "type": "string", - "default": "IntProgressModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_states_to_send": { "type": "array", @@ -2057,55 +1775,19 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -2113,19 +1795,12 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "bar_style", - "description", - "description_tooltip", - "max", - "min", - "orientation", - "value" + "_view_name" ] }, - "IPublicFloatRangeSlider": { - "title": "FloatRangeSlider public", - "description": "The public API for FloatRangeSlider", + "IPublicAccordion": { + "title": "Accordion public", + "description": "The public API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2134,21 +1809,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", + "_model_name": "AccordionModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -2171,9 +1840,14 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "AccordionModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -2198,68 +1872,31 @@ }, "_view_name": { "type": "string", - "default": "FloatRangeSliderView", + "default": "AccordionView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -2267,25 +1904,19 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IProtectedFloatRangeSlider": { - "title": "FloatRangeSlider Protected", - "description": "The protected API for FloatRangeSlider", + "IProtectedAccordion": { + "title": "Accordion Protected", + "description": "The protected API for Accordion", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2294,22 +1925,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatRangeSliderModel", + "_model_name": "AccordionModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatRangeSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": [25.0, 75.0] + "_view_name": "AccordionView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -2332,7 +1957,7 @@ }, "_model_name": { "type": "string", - "default": "FloatRangeSliderModel", + "default": "AccordionModel", "description": "" }, "_states_to_send": { @@ -2344,6 +1969,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -2368,68 +1998,31 @@ }, "_view_name": { "type": "string", - "default": "FloatRangeSliderView", + "default": "AccordionView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -2438,25 +2031,19 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublicFloatLogSlider": { - "title": "FloatLogSlider public", - "description": "The public API for FloatLogSlider", + "IPublicIntSlider": { + "title": "IntSlider public", + "description": "The public API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2465,22 +2052,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", + "_model_name": "IntSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, + "_view_name": "IntSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 4.0, - "min": 0.0, + "max": 100, + "min": 0, "orientation": "horizontal", "readout": true, - "step": 0.1, - "value": 1.0 + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -2503,7 +2089,7 @@ }, "_model_name": { "type": "string", - "default": "FloatLogSliderModel", + "default": "IntSliderModel", "description": "" }, "_view_count": { @@ -2530,14 +2116,9 @@ }, "_view_name": { "type": "string", - "default": "FloatLogSliderView", + "default": "IntSliderView", "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" - }, "continuous_update": { "type": "boolean", "default": true, @@ -2566,14 +2147,14 @@ "description": "Enable or disable user changes" }, "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "type": "integer", + "default": 100, + "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "type": "integer", + "default": 0, + "description": "Min value" }, "orientation": { "enum": ["horizontal", "vertical"], @@ -2586,14 +2167,14 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -2605,7 +2186,6 @@ "_view_module", "_view_module_version", "_view_name", - "base", "continuous_update", "description", "description_tooltip", @@ -2618,9 +2198,9 @@ "value" ] }, - "IProtectedFloatLogSlider": { - "title": "FloatLogSlider Protected", - "description": "The protected API for FloatLogSlider", + "IProtectedIntSlider": { + "title": "IntSlider Protected", + "description": "The protected API for IntSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -2629,23 +2209,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatLogSliderModel", + "_model_name": "IntSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatLogSliderView", - "base": 10.0, + "_view_name": "IntSliderView", "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 4.0, - "min": 0.0, + "max": 100, + "min": 0, "orientation": "horizontal", "readout": true, - "step": 0.1, - "value": 1.0 + "step": 1, + "value": 0 }, "properties": { "_dom_classes": { @@ -2668,7 +2247,7 @@ }, "_model_name": { "type": "string", - "default": "FloatLogSliderModel", + "default": "IntSliderModel", "description": "" }, "_states_to_send": { @@ -2704,14 +2283,9 @@ }, "_view_name": { "type": "string", - "default": "FloatLogSliderView", + "default": "IntSliderView", "description": "" }, - "base": { - "type": "number", - "default": 10.0, - "description": "Base for the logarithm" - }, "continuous_update": { "type": "boolean", "default": true, @@ -2740,14 +2314,14 @@ "description": "Enable or disable user changes" }, "max": { - "type": "number", - "default": 4.0, - "description": "Max value for the exponent" + "type": "integer", + "default": 100, + "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, - "description": "Min value for the exponent" + "type": "integer", + "default": 0, + "description": "Min value" }, "orientation": { "enum": ["horizontal", "vertical"], @@ -2760,14 +2334,14 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step in the exponent to increment the value" + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" }, "value": { - "type": "number", - "default": 1.0, - "description": "Float value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -2780,7 +2354,6 @@ "_view_module", "_view_module_version", "_view_name", - "base", "continuous_update", "description", "description_tooltip", @@ -2793,74 +2366,48 @@ "value" ] }, - "IPublicLayout": { - "title": "Layout public", - "description": "The public API for Layout", + "IPublic_Float": { + "title": "_Float public", + "description": "The public API for _Float", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -2877,665 +2424,569 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "LayoutView", - "description": "" - }, - "align_content": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The align-content CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "align_items": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], + "type": "string", "default": null, - "description": "The align-items CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "align_self": { - "oneOf": [ - { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-self CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IProtected_Float": { + "title": "_Float Protected", + "description": "The protected API for _Float", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "border": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The border CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "bottom": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The bottom CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "display": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "The display CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "flex": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The flex CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "flex_flow": { + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicPlay": { + "title": "Play public", + "description": "The public API for Play", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PlayModel", + "description": "" + }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The flex-flow CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_area": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PlayView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-area CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_auto_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-columns CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "grid_auto_flow": { - "oneOf": [ - { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The grid-auto-flow CSS attribute." - }, - { - "type": "null" - } - ] + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." }, - "grid_auto_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-auto-rows CSS attribute." - }, - { - "type": "null" - } - ] + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "grid_column": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-column CSS attribute." - }, - { - "type": "null" - } - ] + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." }, - "grid_row": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-row CSS attribute." - }, - { - "type": "null" - } - ] + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" }, - "grid_template_areas": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-areas CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "integer", + "default": 0, + "description": "Int value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_playing", + "_repeat", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" + ] + }, + "IProtectedPlay": { + "title": "Play Protected", + "description": "The protected API for Play", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "PlayModel", + "_playing": false, + "_repeat": false, + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "PlayView", + "description": "", + "description_tooltip": null, + "disabled": false, + "interval": 100, + "max": 100, + "min": 0, + "show_repeat": true, + "step": 1, + "value": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "grid_template_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-columns CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_template_rows": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "PlayModel", + "description": "" + }, + "_playing": { + "type": "boolean", + "default": false, + "description": "Whether the control is currently playing." + }, + "_repeat": { + "type": "boolean", + "default": false, + "description": "Whether the control will repeat in a continous loop." + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-template-rows CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "height": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "PlayView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] - }, - "justify_items": { - "oneOf": [ - { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], - "default": null, - "description": "The justify-items CSS attribute." - }, - { - "type": "null" - } - ] - }, - "left": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The left CSS attribute." - }, - { - "type": "null" - } - ] - }, - "margin": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The margin CSS attribute." - }, - { - "type": "null" - } - ] - }, - "max_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-height CSS attribute." - }, - { - "type": "null" - } - ] - }, - "max_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "min_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The min-height CSS attribute." - }, - { - "type": "null" - } - ] - }, - "min_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The min-width CSS attribute." - }, - { - "type": "null" - } - ] - }, - "object_fit": { - "oneOf": [ - { - "enum": ["contain", "cover", "fill", "scale-down", "none"], - "default": null, - "description": "The object-fit CSS attribute." - }, - { - "type": "null" - } - ] - }, - "object_position": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The object-position CSS attribute." - }, - { - "type": "null" - } - ] - }, - "order": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The order CSS attribute." - }, - { - "type": "null" - } - ] - }, - "overflow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The overflow CSS attribute." - }, - { - "type": "null" - } - ] - }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "interval": { + "type": "integer", + "default": 100, + "description": "The maximum value for the play control." }, - "padding": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The padding CSS attribute." - }, - { - "type": "null" - } - ] + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "right": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The right CSS attribute." - }, - { - "type": "null" - } - ] + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "top": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The top CSS attribute." - }, - { - "type": "null" - } - ] + "show_repeat": { + "type": "boolean", + "default": true, + "description": "Show the repeat toggle button in the widget." }, - "visibility": { - "oneOf": [ - { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], - "default": null, - "description": "The visibility CSS attribute." - }, - { - "type": "null" - } - ] + "step": { + "type": "integer", + "default": 1, + "description": "Increment step" }, - "width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The width CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_playing", + "_repeat", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" - ] - }, - "IProtectedLayout": { - "title": "Layout Protected", - "description": "The protected API for Layout", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "LayoutModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "LayoutView", - "align_content": null, - "align_items": null, - "align_self": null, - "border": null, - "bottom": null, - "display": null, - "flex": null, - "flex_flow": null, - "grid_area": null, - "grid_auto_columns": null, - "grid_auto_flow": null, - "grid_auto_rows": null, - "grid_column": null, - "grid_gap": null, - "grid_row": null, - "grid_template_areas": null, - "grid_template_columns": null, - "grid_template_rows": null, - "height": null, - "justify_content": null, - "justify_items": null, - "left": null, - "margin": null, - "max_height": null, - "max_width": null, - "min_height": null, - "min_width": null, - "object_fit": null, - "object_position": null, - "order": null, - "overflow": null, - "overflow_x": null, - "overflow_y": null, - "padding": null, - "right": null, - "top": null, - "visibility": null, - "width": null + "description", + "description_tooltip", + "disabled", + "interval", + "max", + "min", + "show_repeat", + "step", + "value" + ] + }, + "IPublicVBox": { + "title": "VBox public", + "description": "The public API for VBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VBoxModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VBoxView", + "box_style": "", + "children": [] }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "LayoutModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "VBoxModel", "description": "" }, "_view_count": { @@ -3552,591 +3003,761 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "LayoutView", + "default": "VBoxView", "description": "" }, - "align_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "space-evenly", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-content CSS attribute." - }, - { - "type": "null" - } - ] - }, - "align_items": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-items CSS attribute." - }, - { - "type": "null" - } - ] - }, - "align_self": { - "oneOf": [ - { - "enum": [ - "auto", - "flex-start", - "flex-end", - "center", - "baseline", - "stretch", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The align-self CSS attribute." - }, - { - "type": "null" - } - ] - }, - "border": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The border CSS attribute." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "bottom": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The bottom CSS attribute." - }, - { - "type": "null" - } - ] + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedVBox": { + "title": "VBox Protected", + "description": "The protected API for VBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "VBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "VBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "display": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The display CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "flex": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex CSS attribute." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "flex_flow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The flex-flow CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "VBoxModel", + "description": "" }, - "grid_area": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-area CSS attribute." - }, - { - "type": "null" - } - ] + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" }, - "grid_auto_columns": { + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-auto-columns CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_auto_flow": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "VBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IPublicFloatSlider": { + "title": "FloatSlider public", + "description": "The public API for FloatSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatSliderModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatSliderModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "enum": [ - "column", - "row", - "row dense", - "column dense", - "inherit", - "initial", - "unset" - ], + "type": "integer", "default": null, - "description": "The grid-auto-flow CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_auto_rows": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "FloatSliderView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The grid-auto-rows CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "grid_column": { + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IProtectedFloatSlider": { + "title": "FloatSlider Protected", + "description": "The protected API for FloatSlider", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatSliderModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 0.0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The grid-column CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "grid_gap": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-gap CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "grid_row": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-row CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "grid_template_areas": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-areas CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "FloatSliderView", + "description": "" }, - "grid_template_columns": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-columns CSS attribute." - }, - { - "type": "null" - } - ] + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is holding the slider." }, - "grid_template_rows": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The grid-template-rows CSS attribute." - }, - { - "type": "null" - } - ] + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "height": { + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The height CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "justify_content": { - "oneOf": [ - { - "enum": [ - "flex-start", - "flex-end", - "center", - "space-between", - "space-around", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The justify-content CSS attribute." - }, - { - "type": "null" - } - ] + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "justify_items": { - "oneOf": [ - { - "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], - "default": null, - "description": "The justify-items CSS attribute." - }, - { - "type": "null" - } - ] + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "left": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The left CSS attribute." - }, - { - "type": "null" - } - ] + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "margin": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The margin CSS attribute." - }, - { - "type": "null" - } - ] + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, - "max_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-height CSS attribute." - }, - { - "type": "null" - } - ] + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." }, - "max_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The max-width CSS attribute." - }, - { - "type": "null" - } - ] + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" }, - "min_height": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The min-height CSS attribute." - }, - { - "type": "null" - } - ] + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" + ] + }, + "IPublicDescriptionStyle": { + "title": "DescriptionStyle public", + "description": "The public API for DescriptionStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "min_width": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The min-width CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "DescriptionStyleModel", + "description": "" }, - "object_fit": { + "_view_count": { "oneOf": [ { - "enum": ["contain", "cover", "fill", "scale-down", "none"], + "type": "integer", "default": null, - "description": "The object-fit CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "object_position": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The object-position CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, - "order": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The order CSS attribute." - }, - { - "type": "null" - } - ] + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" }, - "overflow": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The overflow CSS attribute." - }, - { - "type": "null" - } - ] + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" }, - "overflow_x": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-x CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IProtectedDescriptionStyle": { + "title": "DescriptionStyle Protected", + "description": "The protected API for DescriptionStyle", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionStyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "description_width": "" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "overflow_y": { - "oneOf": [ - { - "enum": [ - "visible", - "hidden", - "scroll", - "auto", - "inherit", - "initial", - "unset" - ], - "default": null, - "description": "The overflow-y CSS attribute (deprecated)." - }, - { - "type": "null" - } - ] + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" }, - "padding": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The padding CSS attribute." - }, - { - "type": "null" - } - ] + "_model_name": { + "type": "string", + "default": "DescriptionStyleModel", + "description": "" }, - "right": { + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The right CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "top": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", + "description": "" + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description_width" + ] + }, + "IPublic_FloatRange": { + "title": "_FloatRange public", + "description": "The public API for _FloatRange", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "DescriptionModel", + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null, + "value": [0.0, 1.0] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "DescriptionModel", + "description": "" + }, + "_view_count": { "oneOf": [ { - "type": "string", + "type": "integer", "default": null, - "description": "The top CSS attribute." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "visibility": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { "oneOf": [ { - "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "type": "string", "default": null, - "description": "The visibility CSS attribute." + "description": "Name of the view." }, { "type": "null" } ] }, - "width": { + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "The width CSS attribute." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "align_content", - "align_items", - "align_self", - "border", - "bottom", - "display", - "flex", - "flex_flow", - "grid_area", - "grid_auto_columns", - "grid_auto_flow", - "grid_auto_rows", - "grid_column", - "grid_gap", - "grid_row", - "grid_template_areas", - "grid_template_columns", - "grid_template_rows", - "height", - "justify_content", - "justify_items", - "left", - "margin", - "max_height", - "max_width", - "min_height", - "min_width", - "object_fit", - "object_position", - "order", - "overflow", - "overflow_x", - "overflow_y", - "padding", - "right", - "top", - "visibility", - "width" + "description", + "description_tooltip", + "value" ] }, - "IPublicTextarea": { - "title": "Textarea public", - "description": "The public API for Textarea", + "IProtected_FloatRange": { + "title": "_FloatRange Protected", + "description": "The protected API for _FloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4145,18 +3766,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "DescriptionModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "value": [0.0, 1.0] }, "properties": { "_dom_classes": { @@ -4179,7 +3797,16 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "DescriptionModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -4205,14 +3832,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextareaView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -4231,32 +3860,129 @@ } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [0.0, 1.0], + "description": "Tuple of (lower, upper) bounds" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "value" + ] + }, + "IPublicTab": { + "title": "Tab public", + "description": "The public API for Tab", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "TabModel", + "_titles": {}, + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" }, - "placeholder": { + "_model_module": { "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "default": "@jupyter-widgets/controls", + "description": "" }, - "rows": { + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "TabModel", + "description": "" + }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, + "_view_count": { "oneOf": [ { "type": "integer", "default": null, - "description": "The number of rows to display." + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." }, { "type": "null" } ] }, - "value": { + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "TabView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "String value" + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -4264,22 +3990,19 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "rows", - "value" + "_view_module_version", + "_view_name", + "box_style", + "children", + "selected_index" ] }, - "IProtectedTextarea": { - "title": "Textarea Protected", - "description": "The protected API for Textarea", + "IProtectedTab": { + "title": "Tab Protected", + "description": "The protected API for Tab", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4288,19 +4011,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextareaModel", + "_model_name": "TabModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextareaView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "rows": null, - "value": "" + "_view_name": "TabView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -4323,7 +4043,7 @@ }, "_model_name": { "type": "string", - "default": "TextareaModel", + "default": "TabModel", "description": "" }, "_states_to_send": { @@ -4335,6 +4055,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -4359,57 +4084,31 @@ }, "_view_name": { "type": "string", - "default": "TextareaView", + "default": "TabView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": "Use a predefined styling for the box." }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" }, - "rows": { + "selected_index": { "oneOf": [ { "type": "integer", - "default": null, - "description": "The number of rows to display." + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." }, { "type": "null" } ] - }, - "value": { - "type": "string", - "default": "", - "description": "String value" } }, "required": [ @@ -4418,22 +4117,19 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "rows", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublic_SelectionContainer": { - "title": "_SelectionContainer public", - "description": "The public API for _SelectionContainer", + "IPublicVideo": { + "title": "Video public", + "description": "The public API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4442,15 +4138,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", - "_titles": {}, + "_model_name": "VideoModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -4473,14 +4171,9 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "VideoModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -4505,31 +4198,38 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "VideoView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." + }, + "height": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Height of the video in pixels." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the video will start from the beginning after finishing" }, - "selected_index": { - "oneOf": [ - { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." - }, - { - "type": "null" - } - ] + "width": { + "type": "string", + "default": "", + "description": "Width of the video in pixels." } }, "required": [ @@ -4537,19 +4237,21 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "autoplay", + "controls", + "format", + "height", + "loop", + "width" ] }, - "IProtected_SelectionContainer": { - "title": "_SelectionContainer Protected", - "description": "The protected API for _SelectionContainer", + "IProtectedVideo": { + "title": "Video Protected", + "description": "The protected API for Video", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4558,16 +4260,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "VideoModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "VideoView", + "autoplay": true, + "controls": true, + "format": "mp4", + "height": "", + "loop": true, + "width": "" }, "properties": { "_dom_classes": { @@ -4590,7 +4294,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "VideoModel", "description": "" }, "_states_to_send": { @@ -4602,11 +4306,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -4631,31 +4330,38 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "VideoView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "autoplay": { + "type": "boolean", + "default": true, + "description": "When true, the video starts when it's displayed" + }, + "controls": { + "type": "boolean", + "default": true, + "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + }, + "format": { + "type": "string", + "default": "mp4", + "description": "The format of the video." + }, + "height": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Height of the video in pixels." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "loop": { + "type": "boolean", + "default": true, + "description": "When true, the video will start from the beginning after finishing" }, - "selected_index": { - "oneOf": [ - { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." - }, - { - "type": "null" - } - ] + "width": { + "type": "string", + "default": "", + "description": "Width of the video in pixels." } }, "required": [ @@ -4664,19 +4370,21 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "autoplay", + "controls", + "format", + "height", + "loop", + "width" ] }, - "IPublicTab": { - "title": "Tab public", - "description": "The public API for Tab", + "IPublicText": { + "title": "Text public", + "description": "The public API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4685,15 +4393,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TabModel", - "_titles": {}, + "_model_name": "TextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "TextView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -4716,14 +4426,9 @@ }, "_model_name": { "type": "string", - "default": "TabModel", + "default": "TextModel", "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -4748,31 +4453,45 @@ }, "_view_name": { "type": "string", - "default": "TabView", + "default": "TextView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -4780,19 +4499,21 @@ "_model_module", "_model_module_version", "_model_name", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IProtectedTab": { - "title": "Tab Protected", - "description": "The protected API for Tab", + "IProtectedText": { + "title": "Text Protected", + "description": "The protected API for Text", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4801,16 +4522,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TabModel", + "_model_name": "TextModel", "_states_to_send": [], - "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TabView", - "box_style": "", - "children": [], - "selected_index": 0 + "_view_name": "TextView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -4833,7 +4556,7 @@ }, "_model_name": { "type": "string", - "default": "TabModel", + "default": "TextModel", "description": "" }, "_states_to_send": { @@ -4845,11 +4568,6 @@ "default": {}, "description": "" }, - "_titles": { - "type": "object", - "description": "Titles of the pages", - "default": {} - }, "_view_count": { "oneOf": [ { @@ -4874,31 +4592,45 @@ }, "_view_name": { "type": "string", - "default": "TabView", + "default": "TextView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "selected_index": { + "description_tooltip": { "oneOf": [ { - "type": "integer", - "default": 0, - "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -4907,19 +4639,21 @@ "_model_module_version", "_model_name", "_states_to_send", - "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "box_style", - "children", - "selected_index" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "value" ] }, - "IPublicIntRangeSlider": { - "title": "IntRangeSlider public", - "description": "The public API for IntRangeSlider", + "IPublicBoundedIntText": { + "title": "BoundedIntText public", + "description": "The public API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -4928,21 +4662,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntRangeSliderModel", + "_model_name": "BoundedIntTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntRangeSliderView", - "continuous_update": true, + "_view_name": "IntTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, "max": 100, "min": 0, - "orientation": "horizontal", - "readout": true, "step": 1, - "value": [25, 75] + "value": 0 }, "properties": { "_dom_classes": { @@ -4965,7 +4697,7 @@ }, "_model_name": { "type": "string", - "default": "IntRangeSliderModel", + "default": "BoundedIntTextModel", "description": "" }, "_view_count": { @@ -4992,13 +4724,13 @@ }, "_view_name": { "type": "string", - "default": "IntRangeSliderView", + "default": "IntTextView", "description": "" }, "continuous_update": { "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -5032,28 +4764,15 @@ "default": 0, "description": "Min value" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, "step": { "type": "integer", "default": 1, - "description": "Minimum step that the value can take" + "description": "Minimum step to increment the value" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -5071,15 +4790,13 @@ "disabled", "max", "min", - "orientation", - "readout", "step", "value" ] }, - "IProtectedIntRangeSlider": { - "title": "IntRangeSlider Protected", - "description": "The protected API for IntRangeSlider", + "IProtectedBoundedIntText": { + "title": "BoundedIntText Protected", + "description": "The protected API for BoundedIntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5088,22 +4805,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntRangeSliderModel", + "_model_name": "BoundedIntTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntRangeSliderView", - "continuous_update": true, + "_view_name": "IntTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, "max": 100, "min": 0, - "orientation": "horizontal", - "readout": true, "step": 1, - "value": [25, 75] + "value": 0 }, "properties": { "_dom_classes": { @@ -5126,7 +4841,7 @@ }, "_model_name": { "type": "string", - "default": "IntRangeSliderModel", + "default": "BoundedIntTextModel", "description": "" }, "_states_to_send": { @@ -5162,13 +4877,13 @@ }, "_view_name": { "type": "string", - "default": "IntRangeSliderView", + "default": "IntTextView", "description": "" }, "continuous_update": { "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is sliding the slider." + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -5202,28 +4917,15 @@ "default": 0, "description": "Min value" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, "step": { "type": "integer", "default": 1, - "description": "Minimum step that the value can take" + "description": "Minimum step to increment the value" }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -5242,15 +4944,13 @@ "disabled", "max", "min", - "orientation", - "readout", "step", "value" ] }, - "IPublic_BoundedInt": { - "title": "_BoundedInt public", - "description": "The public API for _BoundedInt", + "IPublicToggleButton": { + "title": "ToggleButton public", + "description": "The public API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5259,16 +4959,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "ToggleButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ToggleButtonView", + "button_style": "", "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { "_dom_classes": { @@ -5291,7 +4993,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "ToggleButtonModel", "description": "" }, "_view_count": { @@ -5317,16 +5019,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "ToggleButtonView", + "description": "" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." }, "description": { "type": "string", @@ -5345,20 +5045,25 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "icon": { + "type": "string", + "default": "", + "description": "Font-awesome icon." + }, + "tooltip": { + "type": "string", + "default": "", + "description": "Tooltip caption of the toggle button." }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -5370,16 +5075,18 @@ "_view_module", "_view_module_version", "_view_name", + "button_style", "description", "description_tooltip", - "max", - "min", + "disabled", + "icon", + "tooltip", "value" ] }, - "IProtected_BoundedInt": { - "title": "_BoundedInt Protected", - "description": "The protected API for _BoundedInt", + "IProtectedToggleButton": { + "title": "ToggleButton Protected", + "description": "The protected API for ToggleButton", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5388,17 +5095,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "ToggleButtonModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ToggleButtonView", + "button_style": "", "description": "", "description_tooltip": null, - "max": 100, - "min": 0, - "value": 0 + "disabled": false, + "icon": "", + "tooltip": "", + "value": false }, "properties": { "_dom_classes": { @@ -5421,7 +5130,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "ToggleButtonModel", "description": "" }, "_states_to_send": { @@ -5456,16 +5165,14 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "ToggleButtonView", + "description": "" + }, + "button_style": { + "enum": ["primary", "success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the button." }, "description": { "type": "string", @@ -5484,20 +5191,25 @@ } ] }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "icon": { + "type": "string", + "default": "", + "description": "Font-awesome icon." + }, + "tooltip": { + "type": "string", + "default": "", + "description": "Tooltip caption of the toggle button." }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -5510,16 +5222,18 @@ "_view_module", "_view_module_version", "_view_name", + "button_style", "description", "description_tooltip", - "max", - "min", + "disabled", + "icon", + "tooltip", "value" ] }, - "IPublicFloatText": { - "title": "FloatText public", - "description": "The public API for FloatText", + "IPublic_BoundedFloatRange": { + "title": "_BoundedFloatRange public", + "description": "The public API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5528,17 +5242,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, - "value": 0.0 + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -5561,7 +5275,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -5587,53 +5301,56 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "value": { + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { "type": "number", "default": 0.0, - "description": "Float value" + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5645,17 +5362,17 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", + "max", + "min", "step", "value" ] }, - "IProtectedFloatText": { - "title": "FloatText Protected", - "description": "The protected API for FloatText", + "IProtected_BoundedFloatRange": { + "title": "_BoundedFloatRange Protected", + "description": "The protected API for _BoundedFloatRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5664,18 +5381,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatTextModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, + "_view_name": null, "description": "", "description_tooltip": null, - "disabled": false, - "step": null, - "value": 0.0 + "max": 100.0, + "min": 0.0, + "step": 1.0, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -5698,7 +5415,7 @@ }, "_model_name": { "type": "string", - "default": "FloatTextModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -5723,63 +5440,66 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "FloatTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, - "description": { + "_view_module_version": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "1.5.0", + "description": "" }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "step": { + "description_tooltip": { "oneOf": [ { - "type": "number", + "type": "string", "default": null, - "description": "Minimum step to increment the value" + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "value": { + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { "type": "number", "default": 0.0, - "description": "Float value" + "description": "Min value" + }, + "step": { + "type": "number", + "default": 1.0, + "description": "Minimum step that the value can take (ignored by some views)" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -5792,17 +5512,17 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", "description", "description_tooltip", - "disabled", + "max", + "min", "step", "value" ] }, - "IPublicController": { - "title": "Controller public", - "description": "The public API for Controller", + "IPublic_String": { + "title": "_String public", + "description": "The public API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5811,18 +5531,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "StringModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": null, + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -5845,7 +5562,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "StringModel", "description": "" }, "_view_count": { @@ -5871,46 +5588,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ControllerView", - "description": "" - }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." - }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "connected": { - "type": "boolean", - "default": false, - "description": "Whether the gamepad is connected." + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "mapping": { + "placeholder": { "type": "string", - "default": "", - "description": "The name of the control mapping." + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "name": { + "value": { "type": "string", "default": "", - "description": "The name of the controller." - }, - "timestamp": { - "type": "number", - "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "description": "String value" } }, "required": [ @@ -5922,18 +5636,15 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "description", + "description_tooltip", + "placeholder", + "value" ] }, - "IProtectedController": { - "title": "Controller Protected", - "description": "The protected API for Controller", + "IProtected_String": { + "title": "_String Protected", + "description": "The protected API for _String", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -5942,19 +5653,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerModel", + "_model_name": "StringModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerView", - "axes": [], - "buttons": [], - "connected": false, - "index": 0, - "mapping": "", - "name": "", - "timestamp": 0.0 + "_view_name": null, + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -5977,7 +5685,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerModel", + "default": "StringModel", "description": "" }, "_states_to_send": { @@ -6012,46 +5720,43 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ControllerView", - "description": "" - }, - "axes": { - "type": "array", - "items": {}, - "default": [], - "description": "The axes on the gamepad." - }, - "buttons": { - "type": "array", - "items": {}, - "default": [], - "description": "The buttons on the gamepad." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "connected": { - "type": "boolean", - "default": false, - "description": "Whether the gamepad is connected." + "description": { + "type": "string", + "default": "", + "description": "Description of the control." }, - "index": { - "type": "integer", - "default": 0, - "description": "The id number of the controller." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] }, - "mapping": { + "placeholder": { "type": "string", - "default": "", - "description": "The name of the control mapping." + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "name": { + "value": { "type": "string", "default": "", - "description": "The name of the controller." - }, - "timestamp": { - "type": "number", - "default": 0.0, - "description": "The last time the data from this gamepad was updated." + "description": "String value" } }, "required": [ @@ -6064,18 +5769,15 @@ "_view_module", "_view_module_version", "_view_name", - "axes", - "buttons", - "connected", - "index", - "mapping", - "name", - "timestamp" + "description", + "description_tooltip", + "placeholder", + "value" ] }, - "IPublicColorPicker": { - "title": "ColorPicker public", - "description": "The public API for ColorPicker", + "IPublicPassword": { + "title": "Password public", + "description": "The public API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6084,16 +5786,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "PasswordModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, + "_view_name": "PasswordView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "value": "black" + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -6116,7 +5819,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "PasswordModel", "description": "" }, "_view_count": { @@ -6143,13 +5846,13 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "PasswordView", "description": "" }, - "concise": { + "continuous_update": { "type": "boolean", - "default": false, - "description": "Display short version with just a color selector." + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -6171,12 +5874,17 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { "type": "string", - "default": "black", - "description": "The color value." + "default": "", + "description": "String value" } }, "required": [ @@ -6188,16 +5896,17 @@ "_view_module", "_view_module_version", "_view_name", - "concise", + "continuous_update", "description", "description_tooltip", "disabled", + "placeholder", "value" ] }, - "IProtectedColorPicker": { - "title": "ColorPicker Protected", - "description": "The protected API for ColorPicker", + "IProtectedPassword": { + "title": "Password Protected", + "description": "The protected API for Password", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6206,17 +5915,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ColorPickerModel", + "_model_name": "PasswordModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ColorPickerView", - "concise": false, + "_view_name": "PasswordView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "value": "black" + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -6239,7 +5949,7 @@ }, "_model_name": { "type": "string", - "default": "ColorPickerModel", + "default": "PasswordModel", "description": "" }, "_states_to_send": { @@ -6275,13 +5985,13 @@ }, "_view_name": { "type": "string", - "default": "ColorPickerView", + "default": "PasswordView", "description": "" }, - "concise": { + "continuous_update": { "type": "boolean", - "default": false, - "description": "Display short version with just a color selector." + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { "type": "string", @@ -6303,12 +6013,17 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, "value": { "type": "string", - "default": "black", - "description": "The color value." + "default": "", + "description": "String value" } }, "required": [ @@ -6321,16 +6036,17 @@ "_view_module", "_view_module_version", "_view_name", - "concise", + "continuous_update", "description", "description_tooltip", "disabled", + "placeholder", "value" ] }, - "IPublic_String": { - "title": "_String public", - "description": "The public API for _String", + "IPublic_BoundedFloat": { + "title": "_BoundedFloat public", + "description": "The public API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6339,15 +6055,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "max": 100.0, + "min": 0.0, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6370,7 +6087,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -6424,15 +6141,20 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6446,13 +6168,14 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "max", + "min", "value" ] }, - "IProtected_String": { - "title": "_String Protected", - "description": "The protected API for _String", + "IProtected_BoundedFloat": { + "title": "_BoundedFloat Protected", + "description": "The protected API for _BoundedFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6461,7 +6184,7 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "StringModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", @@ -6469,8 +6192,9 @@ "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "max": 100.0, + "min": 0.0, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -6493,7 +6217,7 @@ }, "_model_name": { "type": "string", - "default": "StringModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -6556,15 +6280,20 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -6579,13 +6308,14 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "max", + "min", "value" ] }, - "IPublic_Media": { - "title": "_Media public", - "description": "The public API for _Media", + "IPublicHBox": { + "title": "HBox public", + "description": "The public API for HBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6594,11 +6324,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", + "_model_name": "HBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "HBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -6621,7 +6353,112 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "HBoxModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "HBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "box_style", + "children" + ] + }, + "IProtectedHBox": { + "title": "HBox Protected", + "description": "The protected API for HBox", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "HBoxModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "HBoxView", + "box_style": "", + "children": [] + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" + }, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "HBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -6647,16 +6484,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -6664,15 +6505,18 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "box_style", + "children" ] }, - "IProtected_Media": { - "title": "_Media Protected", - "description": "The protected API for _Media", + "IPublicTwoByTwoLayout": { + "title": "TwoByTwoLayout public", + "description": "The public API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6681,12 +6525,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DOMWidgetModel", - "_states_to_send": [], + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -6709,16 +6554,7 @@ }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -6744,16 +6580,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "GridBoxView", + "description": "" + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -6761,16 +6601,17 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "box_style", + "children" ] }, - "IPublicBox": { - "title": "Box public", - "description": "The public API for Box", + "IProtectedTwoByTwoLayout": { + "title": "TwoByTwoLayout Protected", + "description": "The protected API for TwoByTwoLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6779,13 +6620,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", + "_model_name": "GridBoxModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", + "_view_name": "GridBoxView", + "align_items": null, "box_style": "", - "children": [] + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "width": null }, "properties": { "_dom_classes": { @@ -6808,7 +6656,16 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -6835,9 +6692,29 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "GridBoxView", "description": "" }, + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, "box_style": { "enum": ["success", "info", "warning", "danger", ""], "default": "", @@ -6848,6 +6725,65 @@ "items": {}, "default": [], "description": "List of widget children" + }, + "grid_gap": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The grid-gap CSS attribute." + }, + { + "type": "null" + } + ] + }, + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] + }, + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] + }, + "merge": { + "type": "boolean", + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -6855,17 +6791,24 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "align_items", "box_style", - "children" + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "width" ] }, - "IProtectedBox": { - "title": "Box Protected", - "description": "The protected API for Box", + "IPublicAppLayout": { + "title": "AppLayout public", + "description": "The public API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6874,12 +6817,11 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoxModel", - "_states_to_send": [], + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "BoxView", + "_view_name": "GridBoxView", "box_style": "", "children": [] }, @@ -6904,16 +6846,7 @@ }, "_model_name": { "type": "string", - "default": "BoxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -6940,7 +6873,7 @@ }, "_view_name": { "type": "string", - "default": "BoxView", + "default": "GridBoxView", "description": "" }, "box_style": { @@ -6960,7 +6893,6 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", @@ -6969,9 +6901,9 @@ "children" ] }, - "IPublicCheckbox": { - "title": "Checkbox public", - "description": "The public API for Checkbox", + "IProtectedAppLayout": { + "title": "AppLayout Protected", + "description": "The protected API for AppLayout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -6980,16 +6912,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", + "_model_name": "GridBoxModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", - "description": "", - "description_tooltip": null, - "disabled": false, - "indent": true, - "value": false + "_view_name": "GridBoxView", + "align_items": null, + "box_style": "", + "children": [], + "grid_gap": null, + "height": null, + "justify_content": null, + "merge": true, + "pane_heights": ["1fr", "3fr", "1fr"], + "pane_widths": ["1fr", "2fr", "1fr"], + "width": null }, "properties": { "_dom_classes": { @@ -7012,7 +6950,16 @@ }, "_model_name": { "type": "string", - "default": "CheckboxModel", + "default": "GridBoxModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -7039,40 +6986,114 @@ }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "GridBoxView", "description": "" }, - "description": { - "type": "string", + "align_items": { + "oneOf": [ + { + "enum": [ + "top", + "bottom", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch" + ], + "default": {}, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] + }, + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Description of the control." + "description": "Use a predefined styling for the box." }, - "description_tooltip": { + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "grid_gap": { "oneOf": [ { "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." + "default": {}, + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "height": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] }, - "indent": { - "type": "boolean", - "default": true, - "description": "Indent the control to align with other controls with a description." + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around" + ], + "default": {}, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "value": { + "merge": { "type": "boolean", - "default": false, - "description": "Bool value" + "default": {}, + "description": "" + }, + "pane_heights": { + "type": "array", + "items": { + "description": "TODO: pane_heights = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '3fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_heights'})" + }, + "default": {}, + "description": "" + }, + "pane_widths": { + "type": "array", + "items": { + "description": "TODO: pane_widths = Tyuple({'_traits': [, , ], 'klass': , 'default_args': (['1fr', '2fr', '1fr'],), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': 'pane_widths'})" + }, + "default": {}, + "description": "" + }, + "width": { + "oneOf": [ + { + "type": "string", + "default": {}, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -7080,20 +7101,26 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" + "align_items", + "box_style", + "children", + "grid_gap", + "height", + "justify_content", + "merge", + "pane_heights", + "pane_widths", + "width" ] }, - "IProtectedCheckbox": { - "title": "Checkbox Protected", - "description": "The protected API for Checkbox", + "IPublicFloatRangeSlider": { + "title": "FloatRangeSlider public", + "description": "The public API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7102,17 +7129,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "CheckboxModel", - "_states_to_send": [], + "_model_name": "FloatRangeSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "CheckboxView", + "_view_name": "FloatRangeSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "indent": true, - "value": false + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -7135,16 +7166,7 @@ }, "_model_name": { "type": "string", - "default": "CheckboxModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "FloatRangeSliderModel", "description": "" }, "_view_count": { @@ -7171,142 +7193,68 @@ }, "_view_name": { "type": "string", - "default": "CheckboxView", + "default": "FloatRangeSliderView", "description": "" }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "indent": { + "continuous_update": { "type": "boolean", "default": true, - "description": "Indent the control to align with other controls with a description." - }, - "value": { - "type": "boolean", - "default": false, - "description": "Bool value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "indent", - "value" - ] - }, - "IPublicOutput": { - "title": "Output public", - "description": "The public API for Output", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/output", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.0.0", - "description": "" + "description": "Update the value of the widget as the user is sliding the slider." }, - "_model_name": { + "description": { "type": "string", - "default": "OutputModel", - "description": "" + "default": "", + "description": "Description of the control." }, - "_view_count": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/output", - "description": "" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "_view_module_version": { - "type": "string", - "default": "1.0.0", - "description": "" + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "_view_name": { - "type": "string", - "default": "OutputView", - "description": "" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "msg_id": { - "type": "string", - "default": "", - "description": "Parent message id of messages to capture" + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, - "outputs": { + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { "type": "array", "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [], - "description": "The output messages synced from the frontend." + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -7318,29 +7266,45 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IProtectedOutput": { - "title": "Output Protected", - "description": "The protected API for Output", + "IProtectedFloatRangeSlider": { + "title": "FloatRangeSlider Protected", + "description": "The protected API for FloatRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/output", - "_model_module_version": "1.0.0", - "_model_name": "OutputModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "FloatRangeSliderModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/output", - "_view_module_version": "1.0.0", - "_view_name": "OutputView", - "msg_id": "", - "outputs": [] + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "FloatRangeSliderView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": [25.0, 75.0] }, "properties": { "_dom_classes": { @@ -7353,17 +7317,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_model_name": { "type": "string", - "default": "OutputModel", + "default": "FloatRangeSliderModel", "description": "" }, "_states_to_send": { @@ -7389,32 +7353,78 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/output", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.0.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "OutputView", + "default": "FloatRangeSliderView", "description": "" }, - "msg_id": { + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." + }, + "description": { "type": "string", "default": "", - "description": "Parent message id of messages to capture" + "description": "Description of the control." }, - "outputs": { + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { + "type": "boolean", + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step to increment the value" + }, + "value": { "type": "array", "items": { - "type": "object", - "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" }, - "default": [], - "description": "The output messages synced from the frontend." + "default": [25.0, 75.0], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -7427,13 +7437,21 @@ "_view_module", "_view_module_version", "_view_name", - "msg_id", - "outputs" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IPublic_Int": { - "title": "_Int public", - "description": "The public API for _Int", + "IPublicHTML": { + "title": "HTML public", + "description": "The public API for HTML", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7442,14 +7460,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "HTMLModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "HTMLView", "description": "", "description_tooltip": null, - "value": 0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -7472,7 +7491,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "HTMLModel", "description": "" }, "_view_count": { @@ -7498,16 +7517,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HTMLView", + "description": "" }, "description": { "type": "string", @@ -7526,10 +7538,15 @@ } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -7543,12 +7560,13 @@ "_view_name", "description", "description_tooltip", + "placeholder", "value" ] }, - "IProtected_Int": { - "title": "_Int Protected", - "description": "The protected API for _Int", + "IProtectedHTML": { + "title": "HTML Protected", + "description": "The protected API for HTML", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7557,15 +7575,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "HTMLModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "HTMLView", "description": "", "description_tooltip": null, - "value": 0 + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -7588,7 +7607,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "HTMLModel", "description": "" }, "_states_to_send": { @@ -7623,16 +7642,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HTMLView", + "description": "" }, "description": { "type": "string", @@ -7651,10 +7663,15 @@ } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -7669,12 +7686,13 @@ "_view_name", "description", "description_tooltip", + "placeholder", "value" ] }, - "IPublicBoundedFloatText": { - "title": "BoundedFloatText public", - "description": "The public API for BoundedFloatText", + "IPublicButton": { + "title": "Button public", + "description": "The public API for Button", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7683,18 +7701,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "ControllerButtonModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, + "_view_name": "ControllerButtonView", + "pressed": false, "value": 0.0 }, "properties": { @@ -7718,7 +7730,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "ControllerButtonModel", "description": "" }, "_view_count": { @@ -7745,62 +7757,18 @@ }, "_view_name": { "type": "string", - "default": "FloatTextView", + "default": "ControllerButtonView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { + "pressed": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] + "description": "Whether the button is pressed." }, "value": { "type": "number", "default": 0.0, - "description": "Float value" + "description": "The value of the button." } }, "required": [ @@ -7812,19 +7780,13 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "step", + "pressed", "value" ] }, - "IProtectedBoundedFloatText": { - "title": "BoundedFloatText Protected", - "description": "The protected API for BoundedFloatText", + "IProtectedButton": { + "title": "Button Protected", + "description": "The protected API for Button", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7833,19 +7795,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedFloatTextModel", + "_model_name": "ControllerButtonModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "step": null, + "_view_name": "ControllerButtonView", + "pressed": false, "value": 0.0 }, "properties": { @@ -7869,7 +7825,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedFloatTextModel", + "default": "ControllerButtonModel", "description": "" }, "_states_to_send": { @@ -7905,62 +7861,18 @@ }, "_view_name": { "type": "string", - "default": "FloatTextView", + "default": "ControllerButtonView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { + "pressed": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "step": { - "oneOf": [ - { - "type": "number", - "default": null, - "description": "Minimum step to increment the value" - }, - { - "type": "null" - } - ] + "description": "Whether the button is pressed." }, "value": { "type": "number", "default": 0.0, - "description": "Float value" + "description": "The value of the button." } }, "required": [ @@ -7973,19 +7885,13 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "step", + "pressed", "value" ] }, - "IPublicAxis": { - "title": "Axis public", - "description": "The public API for Axis", + "IPublic_SelectionContainer": { + "title": "_SelectionContainer public", + "description": "The public API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -7994,12 +7900,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "BoxModel", + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "BoxView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -8022,9 +7931,14 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "BoxModel", "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -8049,13 +7963,31 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "BoxView", "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -8063,16 +7995,19 @@ "_model_module", "_model_module_version", "_model_name", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "value" + "box_style", + "children", + "selected_index" ] }, - "IProtectedAxis": { - "title": "Axis Protected", - "description": "The protected API for Axis", + "IProtected_SelectionContainer": { + "title": "_SelectionContainer Protected", + "description": "The protected API for _SelectionContainer", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -8081,13 +8016,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ControllerAxisModel", + "_model_name": "BoxModel", "_states_to_send": [], + "_titles": {}, "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ControllerAxisView", - "value": 0.0 + "_view_name": "BoxView", + "box_style": "", + "children": [], + "selected_index": 0 }, "properties": { "_dom_classes": { @@ -8110,7 +8048,7 @@ }, "_model_name": { "type": "string", - "default": "ControllerAxisModel", + "default": "BoxModel", "description": "" }, "_states_to_send": { @@ -8122,6 +8060,11 @@ "default": {}, "description": "" }, + "_titles": { + "type": "object", + "description": "Titles of the pages", + "default": {} + }, "_view_count": { "oneOf": [ { @@ -8146,13 +8089,31 @@ }, "_view_name": { "type": "string", - "default": "ControllerAxisView", + "default": "BoxView", "description": "" }, - "value": { - "type": "number", - "default": 0.0, - "description": "The value of the axis." + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." + }, + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" + }, + "selected_index": { + "oneOf": [ + { + "type": "integer", + "default": 0, + "description": "The index of the selected page. This is either an integer selecting a particular sub-widget, or None to have no widgets selected." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -8161,16 +8122,19 @@ "_model_module_version", "_model_name", "_states_to_send", + "_titles", "_view_count", "_view_module", "_view_module_version", "_view_name", - "value" + "box_style", + "children", + "selected_index" ] }, - "IPublicSelectMultiple": { - "title": "SelectMultiple public", - "description": "The public API for SelectMultiple", + "IPublic_MultipleSelection": { + "title": "_MultipleSelection public", + "description": "The public API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -8179,17 +8143,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", + "_model_name": "DescriptionModel", "_options_labels": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, - "index": [], - "rows": 5 + "index": [] }, "properties": { "_dom_classes": { @@ -8212,7 +8175,7 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "DescriptionModel", "description": "" }, "_options_labels": { @@ -8246,9 +8209,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "SelectMultipleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -8279,11 +8249,6 @@ }, "default": [], "description": "Selected indices" - }, - "rows": { - "type": "integer", - "default": 5, - "description": "The number of rows to display." } }, "required": [ @@ -8299,13 +8264,12 @@ "description", "description_tooltip", "disabled", - "index", - "rows" + "index" ] }, - "IProtectedSelectMultiple": { - "title": "SelectMultiple Protected", - "description": "The protected API for SelectMultiple", + "IProtected_MultipleSelection": { + "title": "_MultipleSelection Protected", + "description": "The protected API for _MultipleSelection", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -8314,20 +8278,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SelectMultipleModel", + "_model_name": "DescriptionModel", "_options_labels": [], "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "SelectMultipleView", + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, "index": [], "label": [], "options": [], - "rows": 5, "value": [] }, "properties": { @@ -8351,7 +8314,7 @@ }, "_model_name": { "type": "string", - "default": "SelectMultipleModel", + "default": "DescriptionModel", "description": "" }, "_options_labels": { @@ -8394,9 +8357,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "SelectMultipleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -8436,27 +8406,229 @@ "default": {}, "description": "Selected labels" }, - "options": { + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "value": { + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_options_labels", + "_states_to_send", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name", + "description", + "description_tooltip", + "disabled", + "index", + "label", + "options", + "value" + ] + }, + "IPublicDOMWidget": { + "title": "DOMWidget public", + "description": "The public API for DOMWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The namespace for the view." + }, + { + "type": "null" + } + ] + }, + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." + }, + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] + } + }, + "required": [ + "_dom_classes", + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedDOMWidget": { + "title": "DOMWidget Protected", + "description": "The protected API for DOMWidget", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "DOMWidgetModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": null, + "_view_module_version": "", + "_view_name": null + }, + "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "DOMWidgetModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { "oneOf": [ { - "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + "type": "string", + "default": null, + "description": "The namespace for the view." }, { "type": "null" } ] }, - "rows": { - "type": "integer", - "default": 5, - "description": "The number of rows to display." + "_view_module_version": { + "type": "string", + "default": "", + "description": "A semver requirement for the namespace version containing the view." }, - "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" + "_view_name": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] } }, "required": [ @@ -8464,25 +8636,16 @@ "_model_module", "_model_module_version", "_model_name", - "_options_labels", "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "index", - "label", - "options", - "rows", - "value" + "_view_name" ] }, - "IPublicHTML": { - "title": "HTML public", - "description": "The public API for HTML", + "IPublicCombobox": { + "title": "Combobox public", + "description": "The public API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -8491,13 +8654,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "ComboboxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLView", + "_view_name": "ComboboxView", + "continuous_update": true, "description": "", "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], "placeholder": "\u200b", "value": "" }, @@ -8522,7 +8689,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "ComboboxModel", "description": "" }, "_view_count": { @@ -8549,9 +8716,14 @@ }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "ComboboxView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, "description": { "type": "string", "default": "", @@ -8569,6 +8741,24 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, "placeholder": { "type": "string", "default": "\u200b", @@ -8589,15 +8779,19 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "ensure_option", + "options", "placeholder", "value" ] }, - "IProtectedHTML": { - "title": "HTML Protected", - "description": "The protected API for HTML", + "IProtectedCombobox": { + "title": "Combobox Protected", + "description": "The protected API for Combobox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -8606,14 +8800,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLModel", + "_model_name": "ComboboxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLView", + "_view_name": "ComboboxView", + "continuous_update": true, "description": "", "description_tooltip": null, + "disabled": false, + "ensure_option": false, + "options": [], "placeholder": "\u200b", "value": "" }, @@ -8638,7 +8836,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLModel", + "default": "ComboboxModel", "description": "" }, "_states_to_send": { @@ -8674,9 +8872,14 @@ }, "_view_name": { "type": "string", - "default": "HTMLView", + "default": "ComboboxView", "description": "" }, + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, "description": { "type": "string", "default": "", @@ -8694,6 +8897,24 @@ } ] }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "ensure_option": { + "type": "boolean", + "default": false, + "description": "If set, ensure value is in options. Implies continuous_update=False." + }, + "options": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "Dropdown options for the combobox" + }, "placeholder": { "type": "string", "default": "\u200b", @@ -8715,29 +8936,48 @@ "_view_module", "_view_module_version", "_view_name", + "continuous_update", "description", "description_tooltip", + "disabled", + "ensure_option", + "options", "placeholder", "value" ] }, - "IPublicCoreWidget": { - "title": "CoreWidget public", - "description": "The public API for CoreWidget", + "IPublicIntText": { + "title": "IntText public", + "description": "The public API for IntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "IntTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -8750,8 +8990,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "IntTextModel", + "description": "" }, "_view_count": { "oneOf": [ @@ -8776,46 +9016,98 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IProtectedCoreWidget": { - "title": "CoreWidget Protected", - "description": "The protected API for CoreWidget", + "IProtectedIntText": { + "title": "IntText Protected", + "description": "The protected API for IntText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "WidgetModel", + "_model_name": "IntTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null + "_view_name": "IntTextView", + "continuous_update": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "step": 1, + "value": 0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -8828,8 +9120,8 @@ }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "IntTextModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -8863,19 +9155,50 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "IntTextView", + "description": "" + }, + "continuous_update": { + "type": "boolean", + "default": false, + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step to increment the value" + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -8883,29 +9206,43 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "step", + "value" ] }, - "IPublicToggleButtonsStyle": { - "title": "ToggleButtonsStyle public", - "description": "The public API for ToggleButtonsStyle", + "IPublicDescriptionWidget": { + "title": "DescriptionWidget public", + "description": "The public API for DescriptionWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", + "_model_name": "DescriptionModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -8918,7 +9255,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonsStyleModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -8935,36 +9272,46 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "button_width": { - "type": "string", - "default": "", - "description": "The width of each button." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." }, - "font_weight": { - "type": "string", - "default": "", - "description": "Text font weight of each button." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -8972,32 +9319,39 @@ "_view_module", "_view_module_version", "_view_name", - "button_width", - "description_width", - "font_weight" + "description", + "description_tooltip" ] }, - "IProtectedToggleButtonsStyle": { - "title": "ToggleButtonsStyle Protected", - "description": "The protected API for ToggleButtonsStyle", + "IProtectedDescriptionWidget": { + "title": "DescriptionWidget Protected", + "description": "The protected API for DescriptionWidget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonsStyleModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "button_width": "", - "description_width": "", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "description": "", + "description_tooltip": null }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -9010,7 +9364,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonsStyleModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -9036,36 +9390,46 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - }, - "button_width": { - "type": "string", - "default": "", - "description": "The width of each button." + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." }, - "font_weight": { - "type": "string", - "default": "", - "description": "Text font weight of each button." + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -9074,14 +9438,13 @@ "_view_module", "_view_module_version", "_view_name", - "button_width", - "description_width", - "font_weight" + "description", + "description_tooltip" ] }, - "IPublic_IntRange": { - "title": "_IntRange public", - "description": "The public API for _IntRange", + "IPublicHTMLMath": { + "title": "HTMLMath public", + "description": "The public API for HTMLMath", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9090,14 +9453,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "HTMLMathModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "HTMLMathView", "description": "", "description_tooltip": null, - "value": [0, 1] + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -9120,7 +9484,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "HTMLMathModel", "description": "" }, "_view_count": { @@ -9146,16 +9510,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HTMLMathView", + "description": "" }, "description": { "type": "string", @@ -9174,13 +9531,15 @@ } ] }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0, 1], - "description": "Tuple of (lower, upper) bounds" + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -9194,12 +9553,13 @@ "_view_name", "description", "description_tooltip", + "placeholder", "value" ] }, - "IProtected_IntRange": { - "title": "_IntRange Protected", - "description": "The protected API for _IntRange", + "IProtectedHTMLMath": { + "title": "HTMLMath Protected", + "description": "The protected API for HTMLMath", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9208,15 +9568,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "HTMLMathModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "HTMLMathView", "description": "", "description_tooltip": null, - "value": [0, 1] + "placeholder": "\u200b", + "value": "" }, "properties": { "_dom_classes": { @@ -9239,7 +9600,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "HTMLMathModel", "description": "" }, "_states_to_send": { @@ -9274,16 +9635,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "HTMLMathView", + "description": "" }, "description": { "type": "string", @@ -9302,13 +9656,15 @@ } ] }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0, 1], - "description": "Tuple of (lower, upper) bounds" + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ @@ -9323,12 +9679,13 @@ "_view_name", "description", "description_tooltip", + "placeholder", "value" ] }, - "IPublicSliderStyle": { - "title": "SliderStyle public", - "description": "The public API for SliderStyle", + "IPublicProgressStyle": { + "title": "ProgressStyle public", + "description": "The public API for ProgressStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9336,7 +9693,7 @@ "default": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_name": "ProgressStyleModel", "_view_count": null, "_view_module": "@jupyter-widgets/base", "_view_module_version": "1.2.0", @@ -9356,7 +9713,7 @@ }, "_model_name": { "type": "string", - "default": "SliderStyleModel", + "default": "ProgressStyleModel", "description": "" }, "_view_count": { @@ -9403,9 +9760,9 @@ "description_width" ] }, - "IProtectedSliderStyle": { - "title": "SliderStyle Protected", - "description": "The protected API for SliderStyle", + "IProtectedProgressStyle": { + "title": "ProgressStyle Protected", + "description": "The protected API for ProgressStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9413,7 +9770,7 @@ "default": { "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "SliderStyleModel", + "_model_name": "ProgressStyleModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/base", @@ -9434,7 +9791,7 @@ }, "_model_name": { "type": "string", - "default": "SliderStyleModel", + "default": "ProgressStyleModel", "description": "" }, "_states_to_send": { @@ -9491,9 +9848,9 @@ "description_width" ] }, - "IPublicFloatProgress": { - "title": "FloatProgress public", - "description": "The public API for FloatProgress", + "IPublic_BoundedIntRange": { + "title": "_BoundedIntRange public", + "description": "The public API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9502,18 +9859,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", + "_view_name": null, "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -9536,7 +9891,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -9562,16 +9917,11 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { "oneOf": [ { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." + "type": "string", + "default": null, + "description": "Name of the view." }, { "type": "null" @@ -9596,24 +9946,22 @@ ] }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -9625,18 +9973,16 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", "description", "description_tooltip", "max", "min", - "orientation", "value" ] }, - "IProtectedFloatProgress": { - "title": "FloatProgress Protected", - "description": "The protected API for FloatProgress", + "IProtected_BoundedIntRange": { + "title": "_BoundedIntRange Protected", + "description": "The protected API for _BoundedIntRange", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9645,19 +9991,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatProgressModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ProgressView", - "bar_style": "", + "_view_name": null, "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "value": 0.0 + "max": 100, + "min": 0, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -9680,7 +10024,7 @@ }, "_model_name": { "type": "string", - "default": "FloatProgressModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -9715,16 +10059,11 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "ProgressView", - "description": "" - }, - "bar_style": { "oneOf": [ { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the progess bar." + "type": "string", + "default": null, + "description": "Name of the view." }, { "type": "null" @@ -9749,24 +10088,22 @@ ] }, "max": { - "type": "number", - "default": 100.0, + "type": "integer", + "default": 100, "description": "Max value" }, "min": { - "type": "number", - "default": 0.0, + "type": "integer", + "default": 0, "description": "Min value" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -9779,60 +10116,123 @@ "_view_module", "_view_module_version", "_view_name", - "bar_style", "description", "description_tooltip", "max", "min", - "orientation", "value" ] }, - "IPublicText": { - "title": "Text public", - "description": "The public API for Text", + "IPublicStyle": { + "title": "Style public", + "description": "The public API for Style", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "TextModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." + }, + "_model_name": { + "type": "string", + "default": "StyleModel", + "description": "" + }, + "_view_count": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + }, + { + "type": "null" + } + ] + }, + "_view_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" + }, + "_view_module_version": { + "type": "string", + "default": "1.2.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "StyleView", "description": "" + } + }, + "required": [ + "_model_module", + "_model_module_version", + "_model_name", + "_view_count", + "_view_module", + "_view_module_version", + "_view_name" + ] + }, + "IProtectedStyle": { + "title": "Style Protected", + "description": "The protected API for Style", + "type": "object", + "$schema": "http://json-schema.org/draft-07/schema#", + "additionalProperties": false, + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "StyleModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView" + }, + "properties": { + "_model_module": { + "type": "string", + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." + }, + "_model_module_version": { + "type": "string", + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "TextModel", + "default": "StyleModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -9849,77 +10249,34 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { "type": "string", - "default": "TextView", + "default": "StyleView", "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "_view_name" ] }, - "IProtectedText": { - "title": "Text Protected", - "description": "The protected API for Text", + "IPublic_Media": { + "title": "_Media public", + "description": "The public API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -9928,18 +10285,11 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "TextModel", - "_states_to_send": [], + "_model_name": "DOMWidgetModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "TextView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "_view_name": null }, "properties": { "_dom_classes": { @@ -9962,16 +10312,7 @@ }, "_model_name": { "type": "string", - "default": "TextModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "default": "DOMWidgetModel", "description": "" }, "_view_count": { @@ -9997,46 +10338,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "TextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" } }, "required": [ @@ -10044,22 +10355,15 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "_view_name" ] }, - "IPublicIntSlider": { - "title": "IntSlider public", - "description": "The public API for IntSlider", + "IProtected_Media": { + "title": "_Media Protected", + "description": "The protected API for _Media", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10068,21 +10372,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", + "_model_name": "DOMWidgetModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100, - "min": 0, - "orientation": "horizontal", - "readout": true, - "step": 1, - "value": 0 + "_view_name": null }, "properties": { "_dom_classes": { @@ -10105,7 +10400,16 @@ }, "_model_name": { "type": "string", - "default": "IntSliderModel", + "default": "DOMWidgetModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -10131,66 +10435,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "IntSliderView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." - }, - "readout": { - "type": "boolean", - "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" } }, "required": [ @@ -10198,25 +10452,16 @@ "_model_module", "_model_module_version", "_model_name", + "_states_to_send", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "_view_name" ] }, - "IProtectedIntSlider": { - "title": "IntSlider Protected", - "description": "The protected API for IntSlider", + "IPublicFloatLogSlider": { + "title": "FloatLogSlider public", + "description": "The public API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10225,22 +10470,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "IntSliderModel", - "_states_to_send": [], + "_model_name": "FloatLogSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntSliderView", + "_view_name": "FloatLogSliderView", + "base": 10.0, "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, + "max": 4.0, + "min": 0.0, "orientation": "horizontal", "readout": true, - "step": 1, - "value": 0 + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -10256,23 +10501,14 @@ "default": "@jupyter-widgets/controls", "description": "" }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "IntSliderModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, + "_model_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_model_name": { + "type": "string", + "default": "FloatLogSliderModel", "description": "" }, "_view_count": { @@ -10299,9 +10535,14 @@ }, "_view_name": { "type": "string", - "default": "IntSliderView", + "default": "FloatLogSliderView", "description": "" }, + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" + }, "continuous_update": { "type": "boolean", "default": true, @@ -10330,14 +10571,14 @@ "description": "Enable or disable user changes" }, "max": { - "type": "integer", - "default": 100, - "description": "Max value" + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" }, "min": { - "type": "integer", - "default": 0, - "description": "Min value" + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" }, "orientation": { "enum": ["horizontal", "vertical"], @@ -10350,14 +10591,14 @@ "description": "Display the current value of the slider next to it." }, "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -10365,11 +10606,11 @@ "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", + "base", "continuous_update", "description", "description_tooltip", @@ -10382,9 +10623,9 @@ "value" ] }, - "IPublicAudio": { - "title": "Audio public", - "description": "The public API for Audio", + "IProtectedFloatLogSlider": { + "title": "FloatLogSlider Protected", + "description": "The protected API for FloatLogSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10393,15 +10634,23 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "AudioModel", + "_model_name": "FloatLogSliderModel", + "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true + "_view_name": "FloatLogSliderView", + "base": 10.0, + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "max": 4.0, + "min": 0.0, + "orientation": "horizontal", + "readout": true, + "step": 0.1, + "value": 1.0 }, "properties": { "_dom_classes": { @@ -10424,7 +10673,16 @@ }, "_model_name": { "type": "string", - "default": "AudioModel", + "default": "FloatLogSliderModel", + "description": "" + }, + "_states_to_send": { + "type": "array", + "uniqueItems": true, + "items": { + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" + }, + "default": {}, "description": "" }, "_view_count": { @@ -10451,146 +10709,70 @@ }, "_view_name": { "type": "string", - "default": "AudioView", + "default": "FloatLogSliderView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" - }, - "controls": { - "type": "boolean", - "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp3", - "description": "The format of the audio." + "base": { + "type": "number", + "default": 10.0, + "description": "Base for the logarithm" }, - "loop": { + "continuous_update": { "type": "boolean", "default": true, - "description": "When true, the audio will start from the beginning after finishing" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "autoplay", - "controls", - "format", - "loop" - ] - }, - "IProtectedAudio": { - "title": "Audio Protected", - "description": "The protected API for Audio", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "AudioModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "AudioView", - "autoplay": true, - "controls": true, - "format": "mp3", - "loop": true - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "description": "Update the value of the widget as the user is holding the slider." }, - "_model_name": { + "description": { "type": "string", - "default": "AudioModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "default": "", + "description": "Description of the control." }, - "_view_count": { + "description_tooltip": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" }, - "_view_name": { - "type": "string", - "default": "AudioView", - "description": "" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the audio starts when it's displayed" + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." }, - "controls": { + "readout": { "type": "boolean", "default": true, - "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" + "description": "Display the current value of the slider next to it." }, - "format": { - "type": "string", - "default": "mp3", - "description": "The format of the audio." + "step": { + "type": "number", + "default": 0.1, + "description": "Minimum step in the exponent to increment the value" }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the audio will start from the beginning after finishing" + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ @@ -10603,30 +10785,51 @@ "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "loop" + "base", + "continuous_update", + "description", + "description_tooltip", + "disabled", + "max", + "min", + "orientation", + "readout", + "step", + "value" ] }, - "IPublicDescriptionStyle": { - "title": "DescriptionStyle public", - "description": "The public API for DescriptionStyle", + "IPublic_BoundedLogFloat": { + "title": "_BoundedLogFloat public", + "description": "The public API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_model_name": "DescriptionModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10639,7 +10842,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -10656,26 +10859,66 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10683,28 +10926,47 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "base", + "description", + "description_tooltip", + "max", + "min", + "value" ] }, - "IProtectedDescriptionStyle": { - "title": "DescriptionStyle Protected", - "description": "The protected API for DescriptionStyle", + "IProtected_BoundedLogFloat": { + "title": "_BoundedLogFloat Protected", + "description": "The protected API for _BoundedLogFloat", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionStyleModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": null, + "base": 10.0, + "description": "", + "description_tooltip": null, + "max": 4.0, + "min": 0.0, + "value": 1.0 }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -10717,7 +10979,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionStyleModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -10743,26 +11005,66 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, - "description_width": { + "base": { + "type": "number", + "default": 10.0, + "description": "Base of value" + }, + "description": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "number", + "default": 4.0, + "description": "Max value for the exponent" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value for the exponent" + }, + "value": { + "type": "number", + "default": 1.0, + "description": "Float value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -10771,12 +11073,17 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "base", + "description", + "description_tooltip", + "max", + "min", + "value" ] }, - "IPublic_Float": { - "title": "_Float public", - "description": "The public API for _Float", + "IPublicGridBox": { + "title": "GridBox public", + "description": "The public API for GridBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10785,14 +11092,13 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "GridBoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": 0.0 + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -10815,7 +11121,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "GridBoxModel", "description": "" }, "_view_count": { @@ -10841,38 +11147,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "GridBoxView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -10884,14 +11172,13 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children" ] }, - "IProtected_Float": { - "title": "_Float Protected", - "description": "The protected API for _Float", + "IProtectedGridBox": { + "title": "GridBox Protected", + "description": "The protected API for GridBox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -10900,15 +11187,14 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "GridBoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": 0.0 + "_view_name": "GridBoxView", + "box_style": "", + "children": [] }, "properties": { "_dom_classes": { @@ -10931,7 +11217,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "GridBoxModel", "description": "" }, "_states_to_send": { @@ -10966,38 +11252,20 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] - }, - "description": { "type": "string", - "default": "", - "description": "Description of the control." + "default": "GridBoxView", + "description": "" }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "box_style": { + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the box." }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "children": { + "type": "array", + "items": {}, + "default": [], + "description": "List of widget children" } }, "required": [ @@ -11010,14 +11278,13 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "value" + "box_style", + "children" ] }, - "IPublicPlay": { - "title": "Play public", - "description": "The public API for Play", + "IPublic_Bool": { + "title": "_Bool public", + "description": "The public API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11026,22 +11293,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, + "_model_name": "BoolModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, - "interval": 100, - "max": 100, - "min": 0, - "show_repeat": true, - "step": 1, - "value": 0 + "value": false }, "properties": { "_dom_classes": { @@ -11064,19 +11324,9 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", + "default": "BoolModel", "description": "" }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." - }, "_view_count": { "oneOf": [ { @@ -11100,9 +11350,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PlayView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -11124,37 +11381,12 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" + "description": "Enable or disable user changes." }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -11162,8 +11394,6 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", "_view_count", "_view_module", "_view_module_version", @@ -11171,17 +11401,12 @@ "description", "description_tooltip", "disabled", - "interval", - "max", - "min", - "show_repeat", - "step", "value" ] }, - "IProtectedPlay": { - "title": "Play Protected", - "description": "The protected API for Play", + "IProtected_Bool": { + "title": "_Bool Protected", + "description": "The protected API for _Bool", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11190,23 +11415,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "PlayModel", - "_playing": false, - "_repeat": false, + "_model_name": "BoolModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "PlayView", + "_view_name": null, "description": "", "description_tooltip": null, "disabled": false, - "interval": 100, - "max": 100, - "min": 0, - "show_repeat": true, - "step": 1, - "value": 0 + "value": false }, "properties": { "_dom_classes": { @@ -11229,19 +11447,9 @@ }, "_model_name": { "type": "string", - "default": "PlayModel", + "default": "BoolModel", "description": "" }, - "_playing": { - "type": "boolean", - "default": false, - "description": "Whether the control is currently playing." - }, - "_repeat": { - "type": "boolean", - "default": false, - "description": "Whether the control will repeat in a continous loop." - }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -11274,9 +11482,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "PlayView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -11298,37 +11513,12 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes" - }, - "interval": { - "type": "integer", - "default": 100, - "description": "The maximum value for the play control." - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "show_repeat": { - "type": "boolean", - "default": true, - "description": "Show the repeat toggle button in the widget." - }, - "step": { - "type": "integer", - "default": 1, - "description": "Increment step" + "description": "Enable or disable user changes." }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -11336,8 +11526,6 @@ "_model_module", "_model_module_version", "_model_name", - "_playing", - "_repeat", "_states_to_send", "_view_count", "_view_module", @@ -11346,17 +11534,12 @@ "description", "description_tooltip", "disabled", - "interval", - "max", - "min", - "show_repeat", - "step", "value" ] }, - "IPublicVBox": { - "title": "VBox public", - "description": "The public API for VBox", + "IPublicValid": { + "title": "Valid public", + "description": "The public API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11365,13 +11548,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", + "_model_name": "ValidModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [] + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { "_dom_classes": { @@ -11394,7 +11580,7 @@ }, "_model_name": { "type": "string", - "default": "VBoxModel", + "default": "ValidModel", "description": "" }, "_view_count": { @@ -11414,26 +11600,47 @@ "default": "@jupyter-widgets/controls", "description": "" }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "_view_module_version": { + "type": "string", + "default": "1.5.0", + "description": "" + }, + "_view_name": { + "type": "string", + "default": "ValidView", + "description": "" + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "_view_name": { + "readout": { "type": "string", - "default": "VBoxView", - "description": "" - }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the box." + "default": "Invalid", + "description": "Message displayed when the value is False" }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -11445,13 +11652,16 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description", + "description_tooltip", + "disabled", + "readout", + "value" ] }, - "IProtectedVBox": { - "title": "VBox Protected", - "description": "The protected API for VBox", + "IProtectedValid": { + "title": "Valid Protected", + "description": "The protected API for Valid", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11460,14 +11670,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VBoxModel", + "_model_name": "ValidModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VBoxView", - "box_style": "", - "children": [] + "_view_name": "ValidView", + "description": "", + "description_tooltip": null, + "disabled": false, + "readout": "Invalid", + "value": false }, "properties": { "_dom_classes": { @@ -11490,7 +11703,7 @@ }, "_model_name": { "type": "string", - "default": "VBoxModel", + "default": "ValidModel", "description": "" }, "_states_to_send": { @@ -11526,19 +11739,40 @@ }, "_view_name": { "type": "string", - "default": "VBoxView", + "default": "ValidView", "description": "" }, - "box_style": { - "enum": ["success", "info", "warning", "danger", ""], + "description": { + "type": "string", "default": "", - "description": "Use a predefined styling for the box." + "description": "Description of the control." }, - "children": { - "type": "array", - "items": {}, - "default": [], - "description": "List of widget children" + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "readout": { + "type": "string", + "default": "Invalid", + "description": "Message displayed when the value is False" + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -11551,28 +11785,43 @@ "_view_module", "_view_module_version", "_view_name", - "box_style", - "children" + "description", + "description_tooltip", + "disabled", + "readout", + "value" ] }, - "IPublicButtonStyle": { - "title": "ButtonStyle public", - "description": "The public API for ButtonStyle", + "IPublicLabel": { + "title": "Label public", + "description": "The public API for Label", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", + "_model_name": "LabelModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11585,7 +11834,7 @@ }, "_model_name": { "type": "string", - "default": "ButtonStyleModel", + "default": "LabelModel", "description": "" }, "_view_count": { @@ -11602,26 +11851,49 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "LabelView", "description": "" }, - "font_weight": { + "description": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11629,28 +11901,43 @@ "_view_module", "_view_module_version", "_view_name", - "font_weight" + "description", + "description_tooltip", + "placeholder", + "value" ] }, - "IProtectedButtonStyle": { - "title": "ButtonStyle Protected", - "description": "The protected API for ButtonStyle", + "IProtectedLabel": { + "title": "Label Protected", + "description": "The protected API for Label", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ButtonStyleModel", + "_model_name": "LabelModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "font_weight": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "LabelView", + "description": "", + "description_tooltip": null, + "placeholder": "\u200b", + "value": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -11663,7 +11950,7 @@ }, "_model_name": { "type": "string", - "default": "ButtonStyleModel", + "default": "LabelModel", "description": "" }, "_states_to_send": { @@ -11689,26 +11976,49 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "LabelView", "description": "" }, - "font_weight": { + "description": { "type": "string", "default": "", - "description": "Button text font weight." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "value": { + "type": "string", + "default": "", + "description": "String value" } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -11717,12 +12027,15 @@ "_view_module", "_view_module_version", "_view_name", - "font_weight" + "description", + "description_tooltip", + "placeholder", + "value" ] }, - "IPublicImage": { - "title": "Image public", - "description": "The public API for Image", + "IPublicIntProgress": { + "title": "IntProgress public", + "description": "The public API for IntProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11731,14 +12044,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "IntProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -11761,7 +12078,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "IntProgressModel", "description": "" }, "_view_count": { @@ -11788,23 +12105,50 @@ }, "_view_name": { "type": "string", - "default": "ImageView", + "default": "ProgressView", "description": "" }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." - }, - "height": { - "type": "string", + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." + "description": "Use a predefined styling for the progess bar." }, - "width": { + "description": { "type": "string", "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -11816,14 +12160,18 @@ "_view_module", "_view_module_version", "_view_name", - "format", - "height", - "width" + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IProtectedImage": { - "title": "Image Protected", - "description": "The protected API for Image", + "IProtectedIntProgress": { + "title": "IntProgress Protected", + "description": "The protected API for IntProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -11832,15 +12180,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ImageModel", + "_model_name": "IntProgressModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ImageView", - "format": "png", - "height": "", - "width": "" + "_view_name": "ProgressView", + "bar_style": "", + "description": "", + "description_tooltip": null, + "max": 100, + "min": 0, + "orientation": "horizontal", + "value": 0 }, "properties": { "_dom_classes": { @@ -11863,7 +12215,7 @@ }, "_model_name": { "type": "string", - "default": "ImageModel", + "default": "IntProgressModel", "description": "" }, "_states_to_send": { @@ -11899,23 +12251,50 @@ }, "_view_name": { "type": "string", - "default": "ImageView", + "default": "ProgressView", "description": "" }, - "format": { - "type": "string", - "default": "png", - "description": "The format of the image." - }, - "height": { - "type": "string", + "bar_style": { + "enum": ["success", "info", "warning", "danger", ""], "default": "", - "description": "Height of the image in pixels. Use layout.height for styling the widget." + "description": "Use a predefined styling for the progess bar." }, - "width": { + "description": { "type": "string", "default": "", - "description": "Width of the image in pixels. Use layout.width for styling the widget." + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -11928,33 +12307,33 @@ "_view_module", "_view_module_version", "_view_name", - "format", - "height", - "width" + "bar_style", + "description", + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IPublicPassword": { - "title": "Password public", - "description": "The public API for Password", + "IPublicOutput": { + "title": "Output public", + "description": "The public API for Output", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] }, "properties": { "_dom_classes": { @@ -11967,17 +12346,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "OutputModel", "description": "" }, "_view_count": { @@ -11994,55 +12373,32 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, "_view_name": { "type": "string", - "default": "PasswordView", + "default": "OutputView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { + "msg_id": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "description": "Parent message id of messages to capture" }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." } }, "required": [ @@ -12054,37 +12410,29 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "msg_id", + "outputs" ] }, - "IProtectedPassword": { - "title": "Password Protected", - "description": "The protected API for Password", + "IProtectedOutput": { + "title": "Output Protected", + "description": "The protected API for Output", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "PasswordModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "PasswordView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "placeholder": "\u200b", - "value": "" + "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", + "default": { + "_dom_classes": [], + "_model_module": "@jupyter-widgets/output", + "_model_module_version": "1.0.0", + "_model_name": "OutputModel", + "_states_to_send": [], + "_view_count": null, + "_view_module": "@jupyter-widgets/output", + "_view_module_version": "1.0.0", + "_view_name": "OutputView", + "msg_id": "", + "outputs": [] }, "properties": { "_dom_classes": { @@ -12097,17 +12445,17 @@ }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_model_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, "_model_name": { "type": "string", - "default": "PasswordModel", + "default": "OutputModel", "description": "" }, "_states_to_send": { @@ -12133,55 +12481,32 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/output", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.0.0", "description": "" }, "_view_name": { "type": "string", - "default": "PasswordView", + "default": "OutputView", "description": "" }, - "continuous_update": { - "type": "boolean", - "default": true, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { + "msg_id": { "type": "string", "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "description": "Parent message id of messages to capture" }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "outputs": { + "type": "array", + "items": { + "type": "object", + "description": "TODO: outputs = Dict({'_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'The output messages synced from the frontend.', 'metadata': {'help': 'The output messages synced from the frontend.', 'sync': True}, 'this_class': , 'name': 'outputs'})" + }, + "default": [], + "description": "The output messages synced from the frontend." } }, "required": [ @@ -12194,48 +12519,34 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "placeholder", - "value" + "msg_id", + "outputs" ] }, - "IPublicFileUpload": { - "title": "FileUpload public", - "description": "The public API for FileUpload", + "IPublicSelectMultiple": { + "title": "SelectMultiple public", + "description": "The public API for SelectMultiple", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "SelectMultipleModel", + "_options_labels": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", + "_view_name": "SelectMultipleView", + "description": "", "description_tooltip": null, "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false + "index": [], + "rows": 5 }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -12256,9 +12567,17 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "SelectMultipleModel", "description": "" }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, "_view_count": { "oneOf": [ { @@ -12283,30 +12602,12 @@ }, "_view_name": { "type": "string", - "default": "FileUploadView", + "default": "SelectMultipleView", "description": "" }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "data": { - "type": "array", - "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" - }, - "default": [], - "description": "List of file content (bytes)" - }, "description": { "type": "string", - "default": "Upload", + "default": "", "description": "Description of the control." }, "description_tooltip": { @@ -12324,90 +12625,67 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable button" - }, - "error": { - "type": "string", - "default": "", - "description": "Error message" - }, - "icon": { - "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." + "description": "Enable or disable user changes" }, - "metadata": { + "index": { "type": "array", "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + "type": "integer" }, "default": [], - "description": "List of file metadata" + "description": "Selected indices" }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_options_labels", "_view_count", "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", "description", "description_tooltip", "disabled", - "error", - "icon", - "metadata", - "multiple" + "index", + "rows" ] }, - "IProtectedFileUpload": { - "title": "FileUpload Protected", - "description": "The protected API for FileUpload", + "IProtectedSelectMultiple": { + "title": "SelectMultiple Protected", + "description": "The protected API for SelectMultiple", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_counter": 0, "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FileUploadModel", + "_model_name": "SelectMultipleModel", + "_options_labels": [], "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FileUploadView", - "accept": "", - "button_style": "", - "data": [], - "description": "Upload", + "_view_name": "SelectMultipleView", + "description": "", "description_tooltip": null, "disabled": false, - "error": "", - "icon": "upload", - "metadata": [], - "multiple": false, - "value": {} + "index": [], + "label": [], + "options": [], + "rows": 5, + "value": [] }, "properties": { - "_counter": { - "type": "integer", - "default": 0, - "description": "" - }, "_dom_classes": { "type": "array", "items": { @@ -12428,9 +12706,17 @@ }, "_model_name": { "type": "string", - "default": "FileUploadModel", + "default": "SelectMultipleModel", "description": "" }, + "_options_labels": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "The labels for the options." + }, "_states_to_send": { "type": "array", "uniqueItems": true, @@ -12464,30 +12750,12 @@ }, "_view_name": { "type": "string", - "default": "FileUploadView", + "default": "SelectMultipleView", "description": "" }, - "accept": { - "type": "string", - "default": "", - "description": "File types to accept, empty string for all" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "data": { - "type": "array", - "items": { - "description": "TODO: data = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file content (bytes)', 'metadata': {'help': 'List of file content (bytes)', 'sync': True, 'from_json': }, 'this_class': , 'name': 'data'})" - }, - "default": [], - "description": "List of file content (bytes)" - }, "description": { "type": "string", - "default": "Upload", + "default": "", "description": "Description of the control." }, "description_tooltip": { @@ -12505,64 +12773,71 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable button" - }, - "error": { - "type": "string", - "default": "", - "description": "Error message" - }, - "icon": { - "type": "string", - "default": "upload", - "description": "Font-awesome icon name, without the 'fa-' prefix." + "description": "Enable or disable user changes" }, - "metadata": { + "index": { "type": "array", "items": { - "description": "TODO: metadata = List({'_minlen': 0, '_maxlen': 9223372036854775807, '_trait': , 'klass': , 'default_args': (), 'default_kwargs': None, 'help': 'List of file metadata', 'metadata': {'help': 'List of file metadata', 'sync': True}, 'this_class': , 'name': 'metadata'})" + "type": "integer" }, "default": [], - "description": "List of file metadata" + "description": "Selected indices" + }, + "label": { + "type": "array", + "items": { + "type": "string" + }, + "default": {}, + "description": "Selected labels" }, - "multiple": { - "type": "boolean", - "default": false, - "description": "If True, allow for multiple files upload" + "options": { + "oneOf": [ + { + "default": {}, + "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + }, + { + "type": "null" + } + ] + }, + "rows": { + "type": "integer", + "default": 5, + "description": "The number of rows to display." }, "value": { - "type": "object", - "description": "", - "default": {} + "type": "array", + "items": {}, + "default": {}, + "description": "Selected values" } }, "required": [ - "_counter", "_dom_classes", "_model_module", "_model_module_version", "_model_name", + "_options_labels", "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "accept", - "button_style", - "data", "description", "description_tooltip", "disabled", - "error", - "icon", - "metadata", - "multiple", + "index", + "label", + "options", + "rows", "value" ] }, - "IPublicBoundedIntText": { - "title": "BoundedIntText public", - "description": "The public API for BoundedIntText", + "IPublicFloatText": { + "title": "FloatText public", + "description": "The public API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12571,19 +12846,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", + "_model_name": "FloatTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", + "_view_name": "FloatTextView", "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -12606,7 +12879,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", + "default": "FloatTextModel", "description": "" }, "_view_count": { @@ -12633,7 +12906,7 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "FloatTextView", "description": "" }, "continuous_update": { @@ -12663,25 +12936,22 @@ "default": false, "description": "Enable or disable user changes" }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -12697,15 +12967,13 @@ "description", "description_tooltip", "disabled", - "max", - "min", "step", "value" ] }, - "IProtectedBoundedIntText": { - "title": "BoundedIntText Protected", - "description": "The protected API for BoundedIntText", + "IProtectedFloatText": { + "title": "FloatText Protected", + "description": "The protected API for FloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -12714,20 +12982,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "BoundedIntTextModel", + "_model_name": "FloatTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "IntTextView", + "_view_name": "FloatTextView", "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "max": 100, - "min": 0, - "step": 1, - "value": 0 + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -12750,7 +13016,7 @@ }, "_model_name": { "type": "string", - "default": "BoundedIntTextModel", + "default": "FloatTextModel", "description": "" }, "_states_to_send": { @@ -12786,7 +13052,7 @@ }, "_view_name": { "type": "string", - "default": "IntTextView", + "default": "FloatTextView", "description": "" }, "continuous_update": { @@ -12816,25 +13082,22 @@ "default": false, "description": "Enable or disable user changes" }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "integer", - "default": 0, - "description": "Int value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -12851,51 +13114,43 @@ "description", "description_tooltip", "disabled", - "max", - "min", "step", "value" ] }, - "IPublicDOMWidget": { - "title": "DOMWidget public", - "description": "The public API for DOMWidget", + "IPublicToggleButtonsStyle": { + "title": "ToggleButtonsStyle public", + "description": "The public API for ToggleButtonsStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "ToggleButtonsStyleModel", "description": "" }, "_view_count": { @@ -12911,86 +13166,83 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.2.0", + "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "button_width", + "description_width", + "font_weight" ] }, - "IProtectedDOMWidget": { - "title": "DOMWidget Protected", - "description": "The protected API for DOMWidget", + "IProtectedToggleButtonsStyle": { + "title": "ToggleButtonsStyle Protected", + "description": "The protected API for ToggleButtonsStyle", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "DOMWidgetModel", + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ToggleButtonsStyleModel", "_states_to_send": [], "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "StyleView", + "button_width": "", + "description_width": "", + "font_weight": "" }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "DOMWidgetModel", + "default": "ToggleButtonsStyleModel", "description": "" }, "_states_to_send": { @@ -13015,37 +13267,37 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/base", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.2.0", + "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "StyleView", + "description": "" + }, + "button_width": { + "type": "string", + "default": "", + "description": "The width of each button." + }, + "description_width": { + "type": "string", + "default": "", + "description": "Width of the description to the side of the control." + }, + "font_weight": { + "type": "string", + "default": "", + "description": "Text font weight of each button." } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -13053,12 +13305,15 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "button_width", + "description_width", + "font_weight" ] }, - "IPublicFloatSlider": { - "title": "FloatSlider public", - "description": "The public API for FloatSlider", + "IPublicAudio": { + "title": "Audio public", + "description": "The public API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13067,21 +13322,15 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", + "_model_name": "AudioModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { "_dom_classes": { @@ -13104,7 +13353,7 @@ }, "_model_name": { "type": "string", - "default": "FloatSliderModel", + "default": "AudioModel", "description": "" }, "_view_count": { @@ -13131,65 +13380,28 @@ }, "_view_name": { "type": "string", - "default": "FloatSliderView", + "default": "AudioView", "description": "" }, - "continuous_update": { + "autoplay": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "description": "When true, the audio starts when it's displayed" }, - "disabled": { + "controls": { "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." }, - "readout": { + "loop": { "type": "boolean", "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ @@ -13201,21 +13413,15 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "autoplay", + "controls", + "format", + "loop" ] }, - "IProtectedFloatSlider": { - "title": "FloatSlider Protected", - "description": "The protected API for FloatSlider", + "IProtectedAudio": { + "title": "Audio Protected", + "description": "The protected API for Audio", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13224,22 +13430,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "FloatSliderModel", + "_model_name": "AudioModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "FloatSliderView", - "continuous_update": true, - "description": "", - "description_tooltip": null, - "disabled": false, - "max": 100.0, - "min": 0.0, - "orientation": "horizontal", - "readout": true, - "step": 0.1, - "value": 0.0 + "_view_name": "AudioView", + "autoplay": true, + "controls": true, + "format": "mp3", + "loop": true }, "properties": { "_dom_classes": { @@ -13262,7 +13462,7 @@ }, "_model_name": { "type": "string", - "default": "FloatSliderModel", + "default": "AudioModel", "description": "" }, "_states_to_send": { @@ -13298,65 +13498,28 @@ }, "_view_name": { "type": "string", - "default": "FloatSliderView", + "default": "AudioView", "description": "" }, - "continuous_update": { + "autoplay": { "type": "boolean", "default": true, - "description": "Update the value of the widget as the user is holding the slider." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Tooltip for the description (defaults to description)." - }, - { - "type": "null" - } - ] + "description": "When true, the audio starts when it's displayed" }, - "disabled": { + "controls": { "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "default": true, + "description": "Specifies that audio controls should be displayed (such as a play/pause button etc)" }, - "orientation": { - "enum": ["horizontal", "vertical"], - "default": "horizontal", - "description": "Vertical or horizontal." + "format": { + "type": "string", + "default": "mp3", + "description": "The format of the audio." }, - "readout": { + "loop": { "type": "boolean", "default": true, - "description": "Display the current value of the slider next to it." - }, - "step": { - "type": "number", - "default": 0.1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" + "description": "When true, the audio will start from the beginning after finishing" } }, "required": [ @@ -13369,21 +13532,15 @@ "_view_module", "_view_module_version", "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "max", - "min", - "orientation", - "readout", - "step", - "value" + "autoplay", + "controls", + "format", + "loop" ] }, - "IPublicToggleButton": { - "title": "ToggleButton public", - "description": "The public API for ToggleButton", + "IPublicIntRangeSlider": { + "title": "IntRangeSlider public", + "description": "The public API for IntRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13392,18 +13549,21 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", + "_model_name": "IntRangeSliderModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", - "button_style": "", + "_view_name": "IntRangeSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "icon": "", - "tooltip": "", - "value": false + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -13426,7 +13586,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonModel", + "default": "IntRangeSliderModel", "description": "" }, "_view_count": { @@ -13453,13 +13613,13 @@ }, "_view_name": { "type": "string", - "default": "ToggleButtonView", + "default": "IntRangeSliderView", "description": "" }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." }, "description": { "type": "string", @@ -13481,22 +13641,40 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon." + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the toggle button." + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "value": { + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { "type": "boolean", - "default": false, - "description": "Bool value" + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -13508,18 +13686,21 @@ "_view_module", "_view_module_version", "_view_name", - "button_style", + "continuous_update", "description", "description_tooltip", "disabled", - "icon", - "tooltip", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IProtectedToggleButton": { - "title": "ToggleButton Protected", - "description": "The protected API for ToggleButton", + "IProtectedIntRangeSlider": { + "title": "IntRangeSlider Protected", + "description": "The protected API for IntRangeSlider", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13528,19 +13709,22 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ToggleButtonModel", + "_model_name": "IntRangeSliderModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ToggleButtonView", - "button_style": "", + "_view_name": "IntRangeSliderView", + "continuous_update": true, "description": "", "description_tooltip": null, "disabled": false, - "icon": "", - "tooltip": "", - "value": false + "max": 100, + "min": 0, + "orientation": "horizontal", + "readout": true, + "step": 1, + "value": [25, 75] }, "properties": { "_dom_classes": { @@ -13563,7 +13747,7 @@ }, "_model_name": { "type": "string", - "default": "ToggleButtonModel", + "default": "IntRangeSliderModel", "description": "" }, "_states_to_send": { @@ -13599,13 +13783,13 @@ }, "_view_name": { "type": "string", - "default": "ToggleButtonView", + "default": "IntRangeSliderView", "description": "" }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." + "continuous_update": { + "type": "boolean", + "default": true, + "description": "Update the value of the widget as the user is sliding the slider." }, "description": { "type": "string", @@ -13627,22 +13811,40 @@ "disabled": { "type": "boolean", "default": false, - "description": "Enable or disable user changes." + "description": "Enable or disable user changes" }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon." + "max": { + "type": "integer", + "default": 100, + "description": "Max value" }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the toggle button." + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, - "value": { + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "readout": { "type": "boolean", - "default": false, - "description": "Bool value" + "default": true, + "description": "Display the current value of the slider next to it." + }, + "step": { + "type": "integer", + "default": 1, + "description": "Minimum step that the value can take" + }, + "value": { + "type": "array", + "items": { + "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" + }, + "default": [25, 75], + "description": "Tuple of (lower, upper) bounds" } }, "required": [ @@ -13655,18 +13857,21 @@ "_view_module", "_view_module_version", "_view_name", - "button_style", + "continuous_update", "description", "description_tooltip", "disabled", - "icon", - "tooltip", + "max", + "min", + "orientation", + "readout", + "step", "value" ] }, - "IPublicCombobox": { - "title": "Combobox public", - "description": "The public API for Combobox", + "IPublicBoundedFloatText": { + "title": "BoundedFloatText public", + "description": "The public API for BoundedFloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13675,19 +13880,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", + "_model_name": "BoundedFloatTextModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, + "_view_name": "FloatTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "ensure_option": false, - "options": [], - "placeholder": "\u200b", - "value": "" + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -13710,7 +13915,7 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", + "default": "BoundedFloatTextModel", "description": "" }, "_view_count": { @@ -13737,12 +13942,12 @@ }, "_view_name": { "type": "string", - "default": "ComboboxView", + "default": "FloatTextView", "description": "" }, "continuous_update": { "type": "boolean", - "default": true, + "default": false, "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { @@ -13767,28 +13972,32 @@ "default": false, "description": "Enable or disable user changes" }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "options": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "Dropdown options for the combobox" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -13804,15 +14013,15 @@ "description", "description_tooltip", "disabled", - "ensure_option", - "options", - "placeholder", + "max", + "min", + "step", "value" ] }, - "IProtectedCombobox": { - "title": "Combobox Protected", - "description": "The protected API for Combobox", + "IProtectedBoundedFloatText": { + "title": "BoundedFloatText Protected", + "description": "The protected API for BoundedFloatText", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13821,20 +14030,20 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ComboboxModel", + "_model_name": "BoundedFloatTextModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "ComboboxView", - "continuous_update": true, + "_view_name": "FloatTextView", + "continuous_update": false, "description": "", "description_tooltip": null, "disabled": false, - "ensure_option": false, - "options": [], - "placeholder": "\u200b", - "value": "" + "max": 100.0, + "min": 0.0, + "step": null, + "value": 0.0 }, "properties": { "_dom_classes": { @@ -13857,7 +14066,7 @@ }, "_model_name": { "type": "string", - "default": "ComboboxModel", + "default": "BoundedFloatTextModel", "description": "" }, "_states_to_send": { @@ -13893,12 +14102,12 @@ }, "_view_name": { "type": "string", - "default": "ComboboxView", + "default": "FloatTextView", "description": "" }, "continuous_update": { "type": "boolean", - "default": true, + "default": false, "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, "description": { @@ -13923,28 +14132,32 @@ "default": false, "description": "Enable or disable user changes" }, - "ensure_option": { - "type": "boolean", - "default": false, - "description": "If set, ensure value is in options. Implies continuous_update=False." + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" }, - "options": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "Dropdown options for the combobox" + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "step": { + "oneOf": [ + { + "type": "number", + "default": null, + "description": "Minimum step to increment the value" + }, + { + "type": "null" + } + ] }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -13961,15 +14174,15 @@ "description", "description_tooltip", "disabled", - "ensure_option", - "options", - "placeholder", + "max", + "min", + "step", "value" ] }, - "IPublicHBox": { - "title": "HBox public", - "description": "The public API for HBox", + "IPublicBox": { + "title": "Box public", + "description": "The public API for Box", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -13978,11 +14191,11 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", + "_model_name": "BoxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HBoxView", + "_view_name": "BoxView", "box_style": "", "children": [] }, @@ -14007,7 +14220,7 @@ }, "_model_name": { "type": "string", - "default": "HBoxModel", + "default": "BoxModel", "description": "" }, "_view_count": { @@ -14034,7 +14247,7 @@ }, "_view_name": { "type": "string", - "default": "HBoxView", + "default": "BoxView", "description": "" }, "box_style": { @@ -14062,9 +14275,9 @@ "children" ] }, - "IProtectedHBox": { - "title": "HBox Protected", - "description": "The protected API for HBox", + "IProtectedBox": { + "title": "Box Protected", + "description": "The protected API for Box", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14073,12 +14286,12 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HBoxModel", + "_model_name": "BoxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HBoxView", + "_view_name": "BoxView", "box_style": "", "children": [] }, @@ -14103,7 +14316,7 @@ }, "_model_name": { "type": "string", - "default": "HBoxModel", + "default": "BoxModel", "description": "" }, "_states_to_send": { @@ -14139,7 +14352,7 @@ }, "_view_name": { "type": "string", - "default": "HBoxView", + "default": "BoxView", "description": "" }, "box_style": { @@ -14168,9 +14381,9 @@ "children" ] }, - "IPublicHTMLMath": { - "title": "HTMLMath public", - "description": "The public API for HTMLMath", + "IPublic_BoundedInt": { + "title": "_BoundedInt public", + "description": "The public API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14179,15 +14392,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "DescriptionModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", + "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "max": 100, + "min": 0, + "value": 0 }, "properties": { "_dom_classes": { @@ -14210,7 +14424,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "DescriptionModel", "description": "" }, "_view_count": { @@ -14236,9 +14450,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "HTMLMathView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14257,15 +14478,20 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -14279,13 +14505,14 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "max", + "min", "value" ] }, - "IProtectedHTMLMath": { - "title": "HTMLMath Protected", - "description": "The protected API for HTMLMath", + "IProtected_BoundedInt": { + "title": "_BoundedInt Protected", + "description": "The protected API for _BoundedInt", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -14294,16 +14521,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "HTMLMathModel", + "_model_name": "DescriptionModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "HTMLMathView", + "_view_name": null, "description": "", "description_tooltip": null, - "placeholder": "\u200b", - "value": "" + "max": 100, + "min": 0, + "value": 0 }, "properties": { "_dom_classes": { @@ -14326,7 +14554,7 @@ }, "_model_name": { "type": "string", - "default": "HTMLMathModel", + "default": "DescriptionModel", "description": "" }, "_states_to_send": { @@ -14361,9 +14589,16 @@ "description": "" }, "_view_name": { - "type": "string", - "default": "HTMLMathView", - "description": "" + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Name of the view." + }, + { + "type": "null" + } + ] }, "description": { "type": "string", @@ -14382,15 +14617,20 @@ } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "max": { + "type": "integer", + "default": 100, + "description": "Max value" + }, + "min": { + "type": "integer", + "default": 0, + "description": "Min value" }, "value": { - "type": "string", - "default": "", - "description": "String value" + "type": "integer", + "default": 0, + "description": "Int value" } }, "required": [ @@ -14405,54 +14645,79 @@ "_view_name", "description", "description_tooltip", - "placeholder", + "max", + "min", "value" ] }, - "IPublic_BoundedFloat": { - "title": "_BoundedFloat public", - "description": "The public API for _BoundedFloat", + "IPublicLayout": { + "title": "Layout public", + "description": "The public API for Layout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "LayoutModel", "description": "" }, "_view_count": { @@ -14469,756 +14734,666 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { "oneOf": [ { - "type": "string", + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The align-content CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "align_items": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "align_self": { + "oneOf": [ + { + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-self CSS attribute." + }, + { + "type": "null" + } + ] + }, + "border": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The border CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "display": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The display CSS attribute." + }, + { + "type": "null" + } + ] }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IProtected_BoundedFloat": { - "title": "_BoundedFloat Protected", - "description": "The protected API for _BoundedFloat", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "value": 0.0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" + "flex": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "flex_flow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_area": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-area CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "grid_auto_flow": { + "oneOf": [ + { + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_auto_rows": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-auto-rows CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "grid_column": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-column CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_gap": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "value": { - "type": "number", - "default": 0.0, - "description": "Float value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" - ] - }, - "IPublic_FloatRange": { - "title": "_FloatRange public", - "description": "The public API for _FloatRange", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0.0, 1.0] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" - }, - "_view_count": { + "grid_row": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-row CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "grid_template_areas": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-template-areas CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_template_columns": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-template-columns CSS attribute." }, { "type": "null" } ] }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "value" - ] - }, - "IProtected_FloatRange": { - "title": "_FloatRange Protected", - "description": "The protected API for _FloatRange", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "value": [0.0, 1.0] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "grid_template_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "justify_items": { "oneOf": [ { - "type": "integer", + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The justify-items CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "left": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The left CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "margin": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The margin CSS attribute." }, { "type": "null" } ] }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [0.0, 1.0], - "description": "Tuple of (lower, upper) bounds" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "value" - ] - }, - "IPublicButton": { - "title": "Button public", - "description": "The public API for Button", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ButtonModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ButtonView", - "button_style": "", - "description": "", - "disabled": false, - "icon": "", - "tooltip": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "ButtonModel", - "description": "" - }, - "_view_count": { + "max_height": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The max-height CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "ButtonView", - "description": "" - }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." - }, - "description": { - "type": "string", - "default": "", - "description": "Button label." - }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." - }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon name, without the 'fa-' prefix." - }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the button." - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "button_style", - "description", - "disabled", - "icon", - "tooltip" - ] - }, - "IProtectedButton": { - "title": "Button Protected", - "description": "The protected API for Button", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "ButtonModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "ButtonView", - "button_style": "", - "description": "", - "disabled": false, - "icon": "", - "tooltip": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" + "max_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "min_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "ButtonModel", - "description": "" + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "order": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The order CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "overflow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The overflow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "overflow_x": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-x CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "ButtonView", - "description": "" + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "button_style": { - "enum": ["primary", "success", "info", "warning", "danger", ""], - "default": "", - "description": "Use a predefined styling for the button." + "padding": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The padding CSS attribute." + }, + { + "type": "null" + } + ] }, - "description": { - "type": "string", - "default": "", - "description": "Button label." + "right": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The right CSS attribute." + }, + { + "type": "null" + } + ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes." + "top": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The top CSS attribute." + }, + { + "type": "null" + } + ] }, - "icon": { - "type": "string", - "default": "", - "description": "Font-awesome icon name, without the 'fa-' prefix." + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] }, - "tooltip": { - "type": "string", - "default": "", - "description": "Tooltip caption of the button." + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", - "_states_to_send", "_view_count", "_view_module", "_view_module_version", "_view_name", - "button_style", - "description", - "disabled", - "icon", - "tooltip" + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" ] }, - "IPublic_MultipleSelection": { - "title": "_MultipleSelection public", - "description": "The public API for _MultipleSelection", + "IProtectedLayout": { + "title": "Layout Protected", + "description": "The protected API for Layout", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "LayoutModel", + "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [] + "_view_module": "@jupyter-widgets/base", + "_view_module_version": "1.2.0", + "_view_name": "LayoutView", + "align_content": null, + "align_items": null, + "align_self": null, + "border": null, + "bottom": null, + "display": null, + "flex": null, + "flex_flow": null, + "grid_area": null, + "grid_auto_columns": null, + "grid_auto_flow": null, + "grid_auto_rows": null, + "grid_column": null, + "grid_gap": null, + "grid_row": null, + "grid_template_areas": null, + "grid_template_columns": null, + "grid_template_rows": null, + "height": null, + "justify_content": null, + "justify_items": null, + "left": null, + "margin": null, + "max_height": null, + "max_width": null, + "min_height": null, + "min_width": null, + "object_fit": null, + "object_position": null, + "order": null, + "overflow": null, + "overflow_x": null, + "overflow_y": null, + "padding": null, + "right": null, + "top": null, + "visibility": null, + "width": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "LayoutModel", "description": "" }, - "_options_labels": { + "_states_to_send": { "type": "array", + "uniqueItems": true, "items": { - "type": "string" + "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" }, - "default": [], - "description": "The labels for the options." + "default": {}, + "description": "" }, "_view_count": { "oneOf": [ @@ -15234,897 +15409,540 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/controls", + "default": "@jupyter-widgets/base", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.5.0", + "default": "1.2.0", "description": "" }, "_view_name": { + "type": "string", + "default": "LayoutView", + "description": "" + }, + "align_content": { "oneOf": [ { - "type": "string", + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "space-evenly", + "stretch", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "Name of the view." + "description": "The align-content CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "align_items": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "align_self": { + "oneOf": [ + { + "enum": [ + "auto", + "flex-start", + "flex-end", + "center", + "baseline", + "stretch", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The align-self CSS attribute." + }, + { + "type": "null" + } + ] + }, + "border": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The border CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" + "bottom": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The bottom CSS attribute." + }, + { + "type": "null" + } + ] }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_options_labels", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "index" - ] - }, - "IProtected_MultipleSelection": { - "title": "_MultipleSelection Protected", - "description": "The protected API for _MultipleSelection", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", - "_options_labels": [], - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "disabled": false, - "index": [], - "label": [], - "options": [], - "value": [] - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" + "display": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The display CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "flex": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "flex_flow": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The flex-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "DescriptionModel", - "description": "" + "grid_area": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-area CSS attribute." + }, + { + "type": "null" + } + ] }, - "_options_labels": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "The labels for the options." + "grid_auto_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-auto-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "grid_auto_flow": { + "oneOf": [ + { + "enum": [ + "column", + "row", + "row dense", + "column dense", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The grid-auto-flow CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "grid_auto_rows": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-auto-rows CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { + "grid_column": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The grid-column CSS attribute." }, { "type": "null" } ] }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "grid_gap": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The grid-gap CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "index": { - "type": "array", - "items": { - "type": "integer" - }, - "default": [], - "description": "Selected indices" - }, - "label": { - "type": "array", - "items": { - "type": "string" - }, - "default": {}, - "description": "Selected labels" - }, - "options": { + "grid_row": { "oneOf": [ { - "default": {}, - "description": "Iterable of values, (label, value) pairs, or a mapping of {label: value} pairs that the user can select.\n\n The labels are the strings that will be displayed in the UI, representing the\n actual Python choices, and should be unique.\n " + "type": "string", + "default": null, + "description": "The grid-row CSS attribute." }, { "type": "null" } ] }, - "value": { - "type": "array", - "items": {}, - "default": {}, - "description": "Selected values" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_options_labels", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "disabled", - "index", - "label", - "options", - "value" - ] - }, - "IPublicStyle": { - "title": "Style public", - "description": "The public API for Style", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." - }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." - }, - "_model_name": { - "type": "string", - "default": "StyleModel", - "description": "" - }, - "_view_count": { + "grid_template_areas": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The grid-template-areas CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.2.0", - "description": "" + "grid_template_columns": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-columns CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IProtectedStyle": { - "title": "Style Protected", - "description": "The protected API for Style", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "StyleModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView" - }, - "properties": { - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "grid_template_rows": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The grid-template-rows CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "StyleModel", - "description": "" + "justify_content": { + "oneOf": [ + { + "enum": [ + "flex-start", + "flex-end", + "center", + "space-between", + "space-around", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The justify-content CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "justify_items": { + "oneOf": [ + { + "enum": ["flex-start", "flex-end", "center", "inherit", "initial", "unset"], + "default": null, + "description": "The justify-items CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "left": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The left CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/base", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.2.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "StyleView", - "description": "" - } - }, - "required": [ - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name" - ] - }, - "IPublicIntText": { - "title": "IntText public", - "description": "The public API for IntText", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "step": 1, - "value": 0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "IntTextModel", - "description": "" - }, - "_view_count": { + "margin": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The margin CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "IntTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "max_height": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The max-height CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "step", - "value" - ] - }, - "IProtectedIntText": { - "title": "IntText Protected", - "description": "The protected API for IntText", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "IntTextModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "IntTextView", - "continuous_update": false, - "description": "", - "description_tooltip": null, - "disabled": false, - "step": 1, - "value": 0 - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" + "max_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The max-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "min_height": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-height CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" + "min_width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The min-width CSS attribute." + }, + { + "type": "null" + } + ] }, - "_model_name": { - "type": "string", - "default": "IntTextModel", - "description": "" + "object_fit": { + "oneOf": [ + { + "enum": ["contain", "cover", "fill", "scale-down", "none"], + "default": null, + "description": "The object-fit CSS attribute." + }, + { + "type": "null" + } + ] }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" + "object_position": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The object-position CSS attribute." + }, + { + "type": "null" + } + ] }, - "_view_count": { + "order": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The order CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "IntTextView", - "description": "" - }, - "continuous_update": { - "type": "boolean", - "default": false, - "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "overflow": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The overflow CSS attribute." }, { "type": "null" } ] }, - "disabled": { - "type": "boolean", - "default": false, - "description": "Enable or disable user changes" - }, - "step": { - "type": "integer", - "default": 1, - "description": "Minimum step to increment the value" - }, - "value": { - "type": "integer", - "default": 0, - "description": "Int value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_states_to_send", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "continuous_update", - "description", - "description_tooltip", - "disabled", - "step", - "value" - ] - }, - "IPublicLabel": { - "title": "Label public", - "description": "The public API for Label", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "LabelModel", - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "LabelView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "LabelModel", - "description": "" - }, - "_view_count": { + "overflow_x": { "oneOf": [ { - "type": "integer", + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The overflow-x CSS attribute (deprecated)." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "LabelView", - "description": "" - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." + "overflow_y": { + "oneOf": [ + { + "enum": [ + "visible", + "hidden", + "scroll", + "auto", + "inherit", + "initial", + "unset" + ], + "default": null, + "description": "The overflow-y CSS attribute (deprecated)." + }, + { + "type": "null" + } + ] }, - "description_tooltip": { + "padding": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The padding CSS attribute." }, { "type": "null" } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" - }, - "value": { - "type": "string", - "default": "", - "description": "String value" - } - }, - "required": [ - "_dom_classes", - "_model_module", - "_model_module_version", - "_model_name", - "_view_count", - "_view_module", - "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" - ] - }, - "IProtectedLabel": { - "title": "Label Protected", - "description": "The protected API for Label", - "type": "object", - "$schema": "http://json-schema.org/draft-07/schema#", - "additionalProperties": false, - "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", - "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "LabelModel", - "_states_to_send": [], - "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": "LabelView", - "description": "", - "description_tooltip": null, - "placeholder": "\u200b", - "value": "" - }, - "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, - "_model_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_model_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_model_name": { - "type": "string", - "default": "LabelModel", - "description": "" - }, - "_states_to_send": { - "type": "array", - "uniqueItems": true, - "items": { - "description": "TODO: _states_to_send = Set({'_minlen': 0, '_maxlen': 9223372036854775807, 'klass': , 'default_args': (), 'default_kwargs': None, 'help': '', 'metadata': {}, 'this_class': , 'name': '_states_to_send'})" - }, - "default": {}, - "description": "" - }, - "_view_count": { + "right": { "oneOf": [ { - "type": "integer", + "type": "string", "default": null, - "description": "EXPERIMENTAL: The number of views of the model displayed in the frontend. This attribute is experimental and may change or be removed in the future. None signifies that views will not be tracked. Set this to 0 to start tracking view creation/deletion." + "description": "The right CSS attribute." }, { "type": "null" } ] }, - "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { - "type": "string", - "default": "LabelView", - "description": "" - }, - "description": { - "type": "string", - "default": "", - "description": "Description of the control." - }, - "description_tooltip": { + "top": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "The top CSS attribute." }, { "type": "null" } ] }, - "placeholder": { - "type": "string", - "default": "\u200b", - "description": "Placeholder text to display when nothing has been typed" + "visibility": { + "oneOf": [ + { + "enum": ["visible", "hidden", "inherit", "initial", "unset"], + "default": null, + "description": "The visibility CSS attribute." + }, + { + "type": "null" + } + ] }, - "value": { - "type": "string", - "default": "", - "description": "String value" + "width": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "The width CSS attribute." + }, + { + "type": "null" + } + ] } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16133,15 +15951,49 @@ "_view_module", "_view_module_version", "_view_name", - "description", - "description_tooltip", - "placeholder", - "value" + "align_content", + "align_items", + "align_self", + "border", + "bottom", + "display", + "flex", + "flex_flow", + "grid_area", + "grid_auto_columns", + "grid_auto_flow", + "grid_auto_rows", + "grid_column", + "grid_gap", + "grid_row", + "grid_template_areas", + "grid_template_columns", + "grid_template_rows", + "height", + "justify_content", + "justify_items", + "left", + "margin", + "max_height", + "max_width", + "min_height", + "min_width", + "object_fit", + "object_position", + "order", + "overflow", + "overflow_x", + "overflow_y", + "padding", + "right", + "top", + "visibility", + "width" ] }, - "IPublicVideo": { - "title": "Video public", - "description": "The public API for Video", + "IPublicTextarea": { + "title": "Textarea public", + "description": "The public API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16150,17 +16002,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VideoModel", + "_model_name": "TextareaModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -16183,7 +16036,7 @@ }, "_model_name": { "type": "string", - "default": "VideoModel", + "default": "TextareaModel", "description": "" }, "_view_count": { @@ -16210,38 +16063,57 @@ }, "_view_name": { "type": "string", - "default": "VideoView", + "default": "TextareaView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" - }, - "controls": { + "continuous_update": { "type": "boolean", "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" - }, - "format": { - "type": "string", - "default": "mp4", - "description": "The format of the video." + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "height": { + "description": { "type": "string", "default": "", - "description": "Height of the video in pixels." + "description": "Description of the control." }, - "loop": { + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { "type": "boolean", - "default": true, - "description": "When true, the video will start from the beginning after finishing" + "default": false, + "description": "Enable or disable user changes" }, - "width": { + "placeholder": { + "type": "string", + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" + }, + "rows": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "The number of rows to display." + }, + { + "type": "null" + } + ] + }, + "value": { "type": "string", "default": "", - "description": "Width of the video in pixels." + "description": "String value" } }, "required": [ @@ -16253,17 +16125,18 @@ "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" ] }, - "IProtectedVideo": { - "title": "Video Protected", - "description": "The protected API for Video", + "IProtectedTextarea": { + "title": "Textarea Protected", + "description": "The protected API for Textarea", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16272,18 +16145,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "VideoModel", + "_model_name": "TextareaModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": "VideoView", - "autoplay": true, - "controls": true, - "format": "mp4", - "height": "", - "loop": true, - "width": "" + "_view_name": "TextareaView", + "continuous_update": true, + "description": "", + "description_tooltip": null, + "disabled": false, + "placeholder": "\u200b", + "rows": null, + "value": "" }, "properties": { "_dom_classes": { @@ -16306,7 +16180,7 @@ }, "_model_name": { "type": "string", - "default": "VideoModel", + "default": "TextareaModel", "description": "" }, "_states_to_send": { @@ -16342,38 +16216,57 @@ }, "_view_name": { "type": "string", - "default": "VideoView", + "default": "TextareaView", "description": "" }, - "autoplay": { - "type": "boolean", - "default": true, - "description": "When true, the video starts when it's displayed" - }, - "controls": { + "continuous_update": { "type": "boolean", "default": true, - "description": "Specifies that video controls should be displayed (such as a play/pause button etc)" + "description": "Update the value as the user types. If False, update on submission, e.g., pressing Enter or navigating away." }, - "format": { + "description": { "type": "string", - "default": "mp4", - "description": "The format of the video." + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { + "oneOf": [ + { + "type": "string", + "default": null, + "description": "Tooltip for the description (defaults to description)." + }, + { + "type": "null" + } + ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes" }, - "height": { + "placeholder": { "type": "string", - "default": "", - "description": "Height of the video in pixels." + "default": "\u200b", + "description": "Placeholder text to display when nothing has been typed" }, - "loop": { - "type": "boolean", - "default": true, - "description": "When true, the video will start from the beginning after finishing" + "rows": { + "oneOf": [ + { + "type": "integer", + "default": null, + "description": "The number of rows to display." + }, + { + "type": "null" + } + ] }, - "width": { + "value": { "type": "string", "default": "", - "description": "Width of the video in pixels." + "description": "String value" } }, "required": [ @@ -16386,17 +16279,18 @@ "_view_module", "_view_module_version", "_view_name", - "autoplay", - "controls", - "format", - "height", - "loop", - "width" + "continuous_update", + "description", + "description_tooltip", + "disabled", + "placeholder", + "rows", + "value" ] }, - "IPublicDescriptionWidget": { - "title": "DescriptionWidget public", - "description": "The public API for DescriptionWidget", + "IPublicFloatProgress": { + "title": "FloatProgress public", + "description": "The public API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16405,13 +16299,18 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatProgressModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ProgressView", + "bar_style": "", "description": "", - "description_tooltip": null + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -16434,7 +16333,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatProgressModel", "description": "" }, "_view_count": { @@ -16460,11 +16359,16 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Name of the view." + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, { "type": "null" @@ -16487,6 +16391,26 @@ "type": "null" } ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -16498,13 +16422,18 @@ "_view_module", "_view_module_version", "_view_name", + "bar_style", "description", - "description_tooltip" + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IProtectedDescriptionWidget": { - "title": "DescriptionWidget Protected", - "description": "The protected API for DescriptionWidget", + "IProtectedFloatProgress": { + "title": "FloatProgress Protected", + "description": "The protected API for FloatProgress", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16513,14 +16442,19 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "FloatProgressModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "ProgressView", + "bar_style": "", "description": "", - "description_tooltip": null + "description_tooltip": null, + "max": 100.0, + "min": 0.0, + "orientation": "horizontal", + "value": 0.0 }, "properties": { "_dom_classes": { @@ -16543,7 +16477,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "FloatProgressModel", "description": "" }, "_states_to_send": { @@ -16578,11 +16512,16 @@ "description": "" }, "_view_name": { + "type": "string", + "default": "ProgressView", + "description": "" + }, + "bar_style": { "oneOf": [ { - "type": "string", - "default": null, - "description": "Name of the view." + "enum": ["success", "info", "warning", "danger", ""], + "default": "", + "description": "Use a predefined styling for the progess bar." }, { "type": "null" @@ -16605,6 +16544,26 @@ "type": "null" } ] + }, + "max": { + "type": "number", + "default": 100.0, + "description": "Max value" + }, + "min": { + "type": "number", + "default": 0.0, + "description": "Min value" + }, + "orientation": { + "enum": ["horizontal", "vertical"], + "default": "horizontal", + "description": "Vertical or horizontal." + }, + "value": { + "type": "number", + "default": 0.0, + "description": "Float value" } }, "required": [ @@ -16617,28 +16576,44 @@ "_view_module", "_view_module_version", "_view_name", + "bar_style", "description", - "description_tooltip" + "description_tooltip", + "max", + "min", + "orientation", + "value" ] }, - "IPublicProgressStyle": { - "title": "ProgressStyle public", - "description": "The public API for ProgressStyle", + "IPublicImage": { + "title": "Image public", + "description": "The public API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "ImageModel", "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -16651,7 +16626,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "ImageModel", "description": "" }, "_view_count": { @@ -16668,26 +16643,37 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ImageView", "description": "" }, - "description_width": { + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16695,28 +16681,41 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "format", + "height", + "width" ] }, - "IProtectedProgressStyle": { - "title": "ProgressStyle Protected", - "description": "The protected API for ProgressStyle", + "IProtectedImage": { + "title": "Image Protected", + "description": "The protected API for Image", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { + "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "ProgressStyleModel", + "_model_name": "ImageModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/base", - "_view_module_version": "1.2.0", - "_view_name": "StyleView", - "description_width": "" + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ImageView", + "format": "png", + "height": "", + "width": "" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", "default": "@jupyter-widgets/controls", @@ -16729,7 +16728,7 @@ }, "_model_name": { "type": "string", - "default": "ProgressStyleModel", + "default": "ImageModel", "description": "" }, "_states_to_send": { @@ -16755,26 +16754,37 @@ }, "_view_module": { "type": "string", - "default": "@jupyter-widgets/base", + "default": "@jupyter-widgets/controls", "description": "" }, "_view_module_version": { "type": "string", - "default": "1.2.0", + "default": "1.5.0", "description": "" }, "_view_name": { "type": "string", - "default": "StyleView", + "default": "ImageView", "description": "" }, - "description_width": { + "format": { + "type": "string", + "default": "png", + "description": "The format of the image." + }, + "height": { "type": "string", "default": "", - "description": "Width of the description to the side of the control." + "description": "Height of the image in pixels. Use layout.height for styling the widget." + }, + "width": { + "type": "string", + "default": "", + "description": "Width of the image in pixels. Use layout.width for styling the widget." } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16783,40 +16793,56 @@ "_view_module", "_view_module_version", "_view_name", - "description_width" + "format", + "height", + "width" ] }, - "IPublicWidget": { - "title": "Widget public", - "description": "The public API for Widget", + "IPublicColorPicker": { + "title": "ColorPicker public", + "description": "The public API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ColorPickerModel", "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "ColorPickerModel", + "description": "" }, "_view_count": { "oneOf": [ @@ -16831,77 +16857,115 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.5.0", + "description": "" }, "_view_name": { + "type": "string", + "default": "ColorPickerView", + "description": "" + }, + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IProtectedWidget": { - "title": "Widget Protected", - "description": "The protected API for Widget", + "IProtectedColorPicker": { + "title": "ColorPicker Protected", + "description": "The protected API for ColorPicker", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_model_module": "@jupyter-widgets/base", - "_model_module_version": "1.2.0", - "_model_name": "WidgetModel", + "_dom_classes": [], + "_model_module": "@jupyter-widgets/controls", + "_model_module_version": "1.5.0", + "_model_name": "ColorPickerModel", "_states_to_send": [], "_view_count": null, - "_view_module": null, - "_view_module_version": "", - "_view_name": null + "_view_module": "@jupyter-widgets/controls", + "_view_module_version": "1.5.0", + "_view_name": "ColorPickerView", + "concise": false, + "description": "", + "description_tooltip": null, + "disabled": false, + "value": "black" }, "properties": { + "_dom_classes": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "CSS classes applied to widget DOM element" + }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/base", - "description": "The namespace for the model." + "default": "@jupyter-widgets/controls", + "description": "" }, "_model_module_version": { "type": "string", - "default": "1.2.0", - "description": "A semver requirement for namespace version containing the model." + "default": "1.5.0", + "description": "" }, "_model_name": { "type": "string", - "default": "WidgetModel", - "description": "Name of the model." + "default": "ColorPickerModel", + "description": "" }, "_states_to_send": { "type": "array", @@ -16925,36 +16989,55 @@ ] }, "_view_module": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "The namespace for the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "@jupyter-widgets/controls", + "description": "" }, "_view_module_version": { "type": "string", - "default": "", - "description": "A semver requirement for the namespace version containing the view." + "default": "1.5.0", + "description": "" }, "_view_name": { + "type": "string", + "default": "ColorPickerView", + "description": "" + }, + "concise": { + "type": "boolean", + "default": false, + "description": "Display short version with just a color selector." + }, + "description": { + "type": "string", + "default": "", + "description": "Description of the control." + }, + "description_tooltip": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "Tooltip for the description (defaults to description)." }, { "type": "null" } ] + }, + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." + }, + "value": { + "type": "string", + "default": "black", + "description": "The color value." } }, "required": [ + "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -16962,12 +17045,17 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name" + "_view_name", + "concise", + "description", + "description_tooltip", + "disabled", + "value" ] }, - "IPublic_BoundedFloatRange": { - "title": "_BoundedFloatRange public", - "description": "The public API for _BoundedFloatRange", + "IPublicCheckbox": { + "title": "Checkbox public", + "description": "The public API for Checkbox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -16976,17 +17064,16 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "CheckboxModel", "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "CheckboxView", "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] + "disabled": false, + "indent": true, + "value": false }, "properties": { "_dom_classes": { @@ -17009,7 +17096,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "CheckboxModel", "description": "" }, "_view_count": { @@ -17035,16 +17122,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "CheckboxView", + "description": "" }, "description": { "type": "string", @@ -17063,28 +17143,20 @@ } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" - }, - "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." + }, + "value": { + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -17098,15 +17170,14 @@ "_view_name", "description", "description_tooltip", - "max", - "min", - "step", + "disabled", + "indent", "value" ] }, - "IProtected_BoundedFloatRange": { - "title": "_BoundedFloatRange Protected", - "description": "The protected API for _BoundedFloatRange", + "IProtectedCheckbox": { + "title": "Checkbox Protected", + "description": "The protected API for Checkbox", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, @@ -17115,18 +17186,17 @@ "_dom_classes": [], "_model_module": "@jupyter-widgets/controls", "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_name": "CheckboxModel", "_states_to_send": [], "_view_count": null, "_view_module": "@jupyter-widgets/controls", "_view_module_version": "1.5.0", - "_view_name": null, + "_view_name": "CheckboxView", "description": "", "description_tooltip": null, - "max": 100.0, - "min": 0.0, - "step": 1.0, - "value": [25.0, 75.0] + "disabled": false, + "indent": true, + "value": false }, "properties": { "_dom_classes": { @@ -17149,7 +17219,7 @@ }, "_model_name": { "type": "string", - "default": "DescriptionModel", + "default": "CheckboxModel", "description": "" }, "_states_to_send": { @@ -17184,16 +17254,9 @@ "description": "" }, "_view_name": { - "oneOf": [ - { - "type": "string", - "default": null, - "description": "Name of the view." - }, - { - "type": "null" - } - ] + "type": "string", + "default": "CheckboxView", + "description": "" }, "description": { "type": "string", @@ -17212,28 +17275,20 @@ } ] }, - "max": { - "type": "number", - "default": 100.0, - "description": "Max value" - }, - "min": { - "type": "number", - "default": 0.0, - "description": "Min value" + "disabled": { + "type": "boolean", + "default": false, + "description": "Enable or disable user changes." }, - "step": { - "type": "number", - "default": 1.0, - "description": "Minimum step that the value can take (ignored by some views)" + "indent": { + "type": "boolean", + "default": true, + "description": "Indent the control to align with other controls with a description." }, "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0.0, 1.0),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25.0, 75.0], - "description": "Tuple of (lower, upper) bounds" + "type": "boolean", + "default": false, + "description": "Bool value" } }, "required": [ @@ -17248,57 +17303,42 @@ "_view_name", "description", "description_tooltip", - "max", - "min", - "step", + "disabled", + "indent", "value" ] }, - "IPublic_BoundedIntRange": { - "title": "_BoundedIntRange public", - "description": "The public API for _BoundedIntRange", + "IPublicWidget": { + "title": "Widget public", + "description": "The public API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_view_count": { "oneOf": [ @@ -17313,125 +17353,77 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] }, - "IProtected_BoundedIntRange": { - "title": "_BoundedIntRange Protected", - "description": "The protected API for _BoundedIntRange", + "IProtectedWidget": { + "title": "Widget Protected", + "description": "The protected API for Widget", "type": "object", "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "$id": "https://ipywidgets.readthedocs.io/en/{ ipywidgets.__version__ }/examples/Widget%20List.html", "default": { - "_dom_classes": [], - "_model_module": "@jupyter-widgets/controls", - "_model_module_version": "1.5.0", - "_model_name": "DescriptionModel", + "_model_module": "@jupyter-widgets/base", + "_model_module_version": "1.2.0", + "_model_name": "WidgetModel", "_states_to_send": [], "_view_count": null, - "_view_module": "@jupyter-widgets/controls", - "_view_module_version": "1.5.0", - "_view_name": null, - "description": "", - "description_tooltip": null, - "max": 100, - "min": 0, - "value": [25, 75] + "_view_module": null, + "_view_module_version": "", + "_view_name": null }, "properties": { - "_dom_classes": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "CSS classes applied to widget DOM element" - }, "_model_module": { "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" + "default": "@jupyter-widgets/base", + "description": "The namespace for the model." }, "_model_module_version": { "type": "string", - "default": "1.5.0", - "description": "" + "default": "1.2.0", + "description": "A semver requirement for namespace version containing the model." }, "_model_name": { "type": "string", - "default": "DescriptionModel", - "description": "" + "default": "WidgetModel", + "description": "Name of the model." }, "_states_to_send": { "type": "array", @@ -17455,65 +17447,36 @@ ] }, "_view_module": { - "type": "string", - "default": "@jupyter-widgets/controls", - "description": "" - }, - "_view_module_version": { - "type": "string", - "default": "1.5.0", - "description": "" - }, - "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Name of the view." + "description": "The namespace for the view." }, { "type": "null" } ] }, - "description": { + "_view_module_version": { "type": "string", "default": "", - "description": "Description of the control." + "description": "A semver requirement for the namespace version containing the view." }, - "description_tooltip": { + "_view_name": { "oneOf": [ { "type": "string", "default": null, - "description": "Tooltip for the description (defaults to description)." + "description": "Name of the view." }, { "type": "null" } ] - }, - "max": { - "type": "integer", - "default": 100, - "description": "Max value" - }, - "min": { - "type": "integer", - "default": 0, - "description": "Min value" - }, - "value": { - "type": "array", - "items": { - "description": "TODO: value = Tyuple({'_traits': [, ], 'klass': , 'default_args': ((0, 1),), 'default_kwargs': None, 'help': 'Tuple of (lower, upper) bounds', 'metadata': {'help': 'Tuple of (lower, upper) bounds', 'sync': True}, 'this_class': , 'name': 'value'})" - }, - "default": [25, 75], - "description": "Tuple of (lower, upper) bounds" } }, "required": [ - "_dom_classes", "_model_module", "_model_module_version", "_model_name", @@ -17521,12 +17484,7 @@ "_view_count", "_view_module", "_view_module_version", - "_view_name", - "description", - "description_tooltip", - "max", - "min", - "value" + "_view_name" ] } } diff --git a/packages/kernel/src/kernel.ts b/packages/kernel/src/kernel.ts index 7c84a32b4..e20c8a056 100644 --- a/packages/kernel/src/kernel.ts +++ b/packages/kernel/src/kernel.ts @@ -31,7 +31,7 @@ export abstract class BaseKernel implements IKernel { * In pyodide, this might need to be achieved with `comlink` or similar, * but may belong at the comm_manager level. */ - protected async attemptWidgets() { + protected async attemptWidgets(): Promise { let widgets = await import('./proto_widgets'); try { diff --git a/scripts/schema-widgets.ipynb b/scripts/schema-widgets.ipynb index 949526142..0c3cb6e15 100644 --- a/scripts/schema-widgets.ipynb +++ b/scripts/schema-widgets.ipynb @@ -620,6 +620,7 @@ "outputs": [], "source": [ "HEADER = f\"\"\"\n", + "/* eslint-disable */\n", "/***************************************************************************************************\n", " * THIS FILE IS AUTO-GENERATED FROM * See `/scripts/schema-widgets.ipynb`, which also generates \n", " ******** ipywidgets {ipywidgets.__version__} ******** `_schema_widgets.d.ts` and `_schema_widgets.json`.\n", From 05a2cdb17910d855afc7dae755cf7d9b55329963 Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Fri, 11 Jun 2021 14:31:08 -0400 Subject: [PATCH 20/21] more work on generated widgets --- packages/kernel/src/kernel.ts | 1 + packages/kernel/src/proto_widgets.ts | 68 ++-------------------------- 2 files changed, 6 insertions(+), 63 deletions(-) diff --git a/packages/kernel/src/kernel.ts b/packages/kernel/src/kernel.ts index e20c8a056..30cf1c2e2 100644 --- a/packages/kernel/src/kernel.ts +++ b/packages/kernel/src/kernel.ts @@ -34,6 +34,7 @@ export abstract class BaseKernel implements IKernel { protected async attemptWidgets(): Promise { let widgets = await import('./proto_widgets'); + // these widgets are generated _en masse_, and should either all work or fail try { const schemaWidgets = await import('./_proto_wrappers'); widgets = { ...widgets, ...schemaWidgets.ALL }; diff --git a/packages/kernel/src/proto_widgets.ts b/packages/kernel/src/proto_widgets.ts index b6be29e5a..dfcb99f1b 100644 --- a/packages/kernel/src/proto_widgets.ts +++ b/packages/kernel/src/proto_widgets.ts @@ -483,6 +483,11 @@ class WidgetRegistry { } /** a naive Select + * + * ### Discussion + * + * This is an example of something for which we'd want to override the default + * trait generation behavior. * * ### Examples * ```js @@ -554,38 +559,6 @@ const SELECT_DEFAULTS: ISelect = { rows: 5 }; -// /** a naive FloatSlider -// * -// * ### Examples -// * ```js -// * let { FloatSlider } = kernel.widgets -// * x = FloatSlider({description: "$x$", min: -Math.PI, value: 1, max: Math.PI}) -// * x.display() -// * -// * Object.entries({sin: Math.sin, cos: Math.cos, tan: Math.tan}).map(([k, fn])=> { -// * self[k] = FloatSlider({ description: '$\\' + k + '{x}$', min: -1, max: 1}) -// * x.observe(async (change) => self[k].value = fn(change.new)) -// * self[k].display() -// * }) -// */ -// export type TAnyFloatSlider = PROTO.FloatSliderProtected | PROTO.FloatSliderPublic; - -// export class _FloatSlider extends _Widget { -// constructor(options: TAnyFloatSlider) { -// super({ ..._FloatSlider.defaults(), ...options }); -// } - -// static defaults(): TAnyFloatSlider { -// return { -// ...super.defaults(), -// ...(SCHEMA.IProtectedFloatSlider.default as TAnyFloatSlider) -// }; -// } -// } - -// /** the concrete observable FloatSlider */ -// export const FloatSlider = _HasTraits._traitMeta(_FloatSlider); - /** utilities */ export type TLinkItem = [_HasTraits, keyof T]; @@ -807,37 +780,6 @@ export interface IDescriptionWidget extends IWidget { description_tooltip: string | null; } -/** a description of float widget traits */ -export interface IFloat extends IWidget { - value: number; -} - -/** a description of bounded float widget traits */ -export interface IBoundedFloat extends IFloat { - min: number; - max: number; -} - -/** a description of float slider */ -export interface IFloatSlider extends IDOMWidget, IDescriptionWidget, IBoundedFloat { - // step = CFloat(0.1, allow_none=True, help="Minimum step to increment the value").tag(sync=True) - step: number | null; - // orientation = CaselessStrEnum(values=['horizontal', 'vertical'], - // default_value='horizontal', help="Vertical or horizontal.").tag(sync=True) - orientation: 'horizontal' | 'vertical'; - // readout = Bool(True, help="Display the current value of the slider next to it.").tag(sync=True) - readout: boolean; - // readout_format = NumberFormat( - // '.2f', help="Format for the readout").tag(sync=True) - readout_format: string; - // continuous_update = Bool(True, help="Update the value of the widget as the user is holding the slider.").tag(sync=True) - continuous_update: boolean; - // disabled = Bool(False, help="Enable or disable user changes").tag(sync=True) - disabled: boolean; - // style = InstanceDict(SliderStyle).tag(sync=True, **widget_serialization) - style: any; -} - export interface ISelection extends IDOMWidget, IDescriptionWidget { // value = Any(None, help="Selected value", allow_none=True) value: any | null; From 14daabbb0991962f5c09241723cc1b84bd78fa2b Mon Sep 17 00:00:00 2001 From: Nicholas Bollweg Date: Sat, 12 Jun 2021 22:40:05 -0400 Subject: [PATCH 21/21] add some theming examples --- examples/js - widget theming.ipynb | 1 + 1 file changed, 1 insertion(+) create mode 100644 examples/js - widget theming.ipynb diff --git a/examples/js - widget theming.ipynb b/examples/js - widget theming.ipynb new file mode 100644 index 000000000..326896d5d --- /dev/null +++ b/examples/js - widget theming.ipynb @@ -0,0 +1 @@ +{"metadata":{"language_info":{"codemirror_mode":{"name":"javascript"},"file_extension":".js","mimetype":"text/javascript","name":"javascript","nbconvert_exporter":"javascript","pygments_lexer":"javascript","version":"es2017"},"kernelspec":{"name":"javascript","display_name":"JavaScript","language":"javascript"}},"nbformat_minor":4,"nbformat":4,"cells":[{"cell_type":"markdown","source":"# Theming JupyterLite with Widgets","metadata":{}},{"cell_type":"code","source":"let {FloatSlider, HTML, dlink, Checkbox} = kernel.widgets\nself.make_a_theme_control = (v, t, k=FloatSlider) => {\n s = k({description: v, ...(t || {})})\n h = HTML()\n dlink([s, 'value'], [h, 'value'], (s) => ``)\n h.display()\n s.display()\n}\nself.make_a_color_picker = (v, rgba=\"rgba\") => {\n const S = rgba.split(\"\").map((d) => FloatSlider({description: d, min: 0, max: d == 'a' ? 1 : 255, step: 0.01}))\n S.map((s) => s.display())\n S.map((s) => s.observe(()=> {\n const style = `${v}: ${rgba}(${S.map(({value})=> value).join(',')});`;\n h.value = `
${style}
`\n }))\n h = HTML()\n h.display()\n}","metadata":{"trusted":true},"execution_count":60,"outputs":[{"execution_count":60,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"code","source":"make_a_theme_control('--jp-cell-collapser-width');","metadata":{"tags":[],"trusted":true},"execution_count":61,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"HTMLModel\",\n \"_view_name\": \"HTMLView\",\n \"description\": \"\",\n \"description_tooltip\": null,\n \"placeholder\": \"​\",\n \"value\": \"\",\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"e0dcb055-1722-4db4-9b06-0d66e568a99a"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"--jp-cell-collapser-width\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 100,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.1,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"5019e398-50fa-48b4-bb9f-7c278e0e77d2"}},"metadata":{}},{"execution_count":61,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"code","source":"make_a_theme_control('--jp-notebook-padding');","metadata":{"tags":[],"trusted":true},"execution_count":62,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"HTMLModel\",\n \"_view_name\": \"HTMLView\",\n \"description\": \"\",\n \"description_tooltip\": null,\n \"placeholder\": \"​\",\n \"value\": \"\",\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"97385ed3-7212-44e5-98a6-3ccf27f1c85f"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"--jp-notebook-padding\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 100,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.1,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"7bc8112d-1a10-445f-b4df-3d6ed90e804b"}},"metadata":{}},{"execution_count":62,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"code","source":"self.make_a_color_picker('--jp-cell-editor-background')","metadata":{"tags":[],"trusted":true},"execution_count":63,"outputs":[{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"r\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 255,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.01,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"baa2fd3f-d073-41ba-a3f5-f4a1a2c9b89b"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"g\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 255,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.01,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"67a8a364-4d46-4a49-b10d-99df407bf384"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"b\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 255,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.01,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"9415c063-f030-45d1-807a-ba0331fa61f1"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"FloatSliderModel\",\n \"_view_name\": \"FloatSliderView\",\n \"continuous_update\": true,\n \"description\": \"a\",\n \"description_tooltip\": null,\n \"disabled\": false,\n \"max\": 1,\n \"min\": 0,\n \"orientation\": \"horizontal\",\n \"readout\": true,\n \"step\": 0.01,\n \"value\": 0,\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"8980584e-de0c-4ca7-9c5d-9451de0e29d8"}},"metadata":{}},{"output_type":"display_data","data":{"text/plain":"{\n \"_dom_classes\": [],\n \"_model_module\": \"@jupyter-widgets/controls\",\n \"_model_module_version\": \"1.5.0\",\n \"_view_count\": null,\n \"_view_module\": \"@jupyter-widgets/controls\",\n \"_view_module_version\": \"1.5.0\",\n \"_model_name\": \"HTMLModel\",\n \"_view_name\": \"HTMLView\",\n \"description\": \"\",\n \"description_tooltip\": null,\n \"placeholder\": \"​\",\n \"value\": \"\",\n \"_states_to_send\": []\n}","application/vnd.jupyter.widget-view+json":{"version":"2.0","version_major":2,"version_minor":0,"model_id":"1c770c52-ff33-46ed-aa23-b906a091faed"}},"metadata":{}},{"execution_count":63,"output_type":"execute_result","data":{},"metadata":{}}]},{"cell_type":"code","source":"","metadata":{"tags":[]},"execution_count":null,"outputs":[]},{"cell_type":"code","source":"","metadata":{},"execution_count":null,"outputs":[]}]} \ No newline at end of file