Datashare
DownloadAbout ICIJGitHub
  • About Datashare
  • Ask for help
  • Concepts
    • Running modes
    • CLI stages
  • About ICIJ
  • Github
  • 💻On your computer
    • About the local mode
    • Install on Mac
      • Start Datashare
      • Add documents to Datashare
    • Install on Windows
      • Start Datashare
      • Add documents to Datashare
    • Install on Linux
      • Start Datashare
      • Add documents to Datashare
    • Install with Docker
    • Add documents
    • Add more languages
    • Install plugins and extensions
    • Neo4j
      • Install Neo4j plugin
      • Create and update Neo4j graph
  • 🌐On your server
    • About the server mode
    • Install with Docker
    • Add documents from the CLI
    • Add entities from the CLI
    • Authentication providers
      • OAuth2
      • Basic with a database
      • Basic with Redis
      • Dummy
    • Neo4j
      • Install Neo4j plugin
      • Create and update Neo4j graph
    • Performance considerations
  • ⚡Usage
    • Search documents
    • Search documents in batch
    • Search with operators / Regex
    • Filter documents
    • Sort documents
    • Explore a document
    • Star documents
    • Tag documents
    • Recommend documents
    • Keyboard shortcuts
    • Create a Neo4j graph and explore it
    • FAQ
      • General
        • Can I use Datashare with no internet connection?
        • Can I download a document from Datashare?
        • Can I remove document(s) from Datashare?
        • Do you recommend OS or machines for large corpuses?
        • Can I use an external drive as data source?
        • How can we use Datashare on a collaborative mode on a server?
        • How can I contact ICIJ for help, bug reporting or suggestions?
        • Why results from a simple search and a batch search can be slightly different?
        • How can I uninstall Datashare?
        • Advanced: how can I do bulk actions with Tarentula?
        • What should I do if I get more than 10,000 results?
        • How to run Neo4j?
      • Definitions
        • What is a named entity?
        • What are NLP pipelines?
        • What is fuzziness?
        • What are proximity searches?
      • Common errors
        • 'Your search query is wrong.' What should I do?
        • Searching with double quotes doesn't work
        • List of common errors leading to "failure" in Batch Searches
        • What if Datashare says 'No documents found'?
        • Nothing works, everything crashes. What can I do?
        • What if tasks are 'running' but not completing?
        • 'You are not allowed to use Docker, you must be in the "docker-users" group'. What should I do?
        • What if a 'Preview' of my documents is 'not available'?
        • What do I do if Datashare opens a blank screen in my browser?
        • I see people, organizations and locations in the filters but not in the documents
        • What does 'Windows named pipe error' mean?
        • Datashare doesn't open. What should I do?
        • I upgraded to version 9 of Datashare and it fails.
  • 🤓Developers
    • How to contribute
    • Backend
      • API
      • API (deprecated)
      • Database
    • Frontend
      • JSDoc
      • Plugin hooks
      • Insight widgets
      • Vue app
        • Components
          • Api
          • AppliedSearchFilters
          • AppliedSearchFiltersItem
          • AppNav
          • AppSidebar
          • BatchDownloadActions
          • BatchSearchActions
          • BatchSearchClearFilters
          • BatchSearchCopyForm
          • BatchSearchFilterDate
          • BatchSearchFilterQuery
          • BatchSearchForm
          • BatchSearchResultsDetails
          • BatchSearchResultsFilters
          • BatchSearchResultsTable
          • BatchSearchStatus
          • BatchSearchTable
          • ColumnChartPicker
          • ColumnFilter
          • ColumnFilterBadge
          • ColumnFilterDropdown
          • ContentTypeBadge
          • Document
            • DocumentNavbar
            • DocumentNotes
            • DocumentTabDetails
            • DocumentTabExtractedText
            • DocumentTabNamedEntities
            • DocumentTabPreview
            • Viewers
              • AudioViewer
              • ImageViewer
              • JsonViewer
              • LegacySpreadsheetViewer
              • PaginatedViewer
              • SpreadsheetViewer
              • TiffViewer
              • VideoViewer
          • DocumentActions
          • DocumentAttachments
          • DocumentContent
          • DocumentContentSlice
          • DocumentContentSlicePlaceholder
          • DocumentContentSlices
          • DocumentGlobalSearchTermsTags
          • DocumentInModal
          • DocumentLocalSearchInput
          • DocumentSlicedName
          • DocumentTagsForm
          • DocumentThread
          • DocumentThumbnail
          • DocumentTranslatedContent
          • DocumentTypeCard
          • EllipseStatus
          • EmailString
          • Extensions
          • ExtractingForm
          • ExtractingFormOcrControl
          • ExtractingLanguageFormControl
          • Filter
            • FilterBoilerplate
            • FilterFooter
            • FilterSearch
            • FilterSortByDropdown
            • Types
              • FilterAbstract
              • FilterDate
              • FilterDateRange
              • FilterNamedEntity
              • FilterPath
              • FilterProject
              • FilterRecommendedBy
              • FilterStarred
              • FilterText
          • FiltersPanel
          • FindNamedEntitiesForm
          • Hook
          • InlineDirectoryPicker
          • JsonFormatter
          • LocalesMenu
          • MountedDataLocation
          • NamedEntityInContext
          • PageHeader
          • PageIcon
          • Pagination
          • Plugins
          • ProjectCards
          • ProjectForm
          • ProjectLink
          • ProjectSelector
          • ProjectThumbnail
          • QuickItemNav
          • ResetFiltersButton
          • RouterLinkPopup
          • ScrollTracker
          • SearchBar
          • SearchBarInput
          • SearchBarInputDropdown
          • SearchBarInputDropdownForField
          • SearchBarInputDropdownForProjects
          • SearchDocumentNavbar
          • SearchFormControl
          • SearchLayoutSelector
          • SearchResults
          • SearchResultsGrid
          • SearchResultsHeader
          • SearchResultsList
          • SearchResultsListLink
          • SearchResultsTable
          • ServerSettings
          • ShortkeysModal
          • TaskItemStatus
          • TasksList
          • TreeBreadcrumb
          • TreeView
          • UserDisplay
          • UserHistorySaveSearchForm
          • VersionNumber
          • Widget
            • WidgetDiskUsage
            • WidgetDocumentsByCreationDate
            • WidgetDocumentsByCreationDateByPath
            • WidgetDuplicates
            • WidgetEmpty
            • WidgetEntities
            • WidgetFieldFacets
            • WidgetFileBarometer
            • WidgetListGroup
            • WidgetNames
            • WidgetNested
            • WidgetProject
            • WidgetRecommendedBy
            • WidgetSearchBar
            • WidgetText
            • WidgetTreeMap
        • Pages
          • App
          • DocumentModal
          • DocumentStandalone
          • DocumentView
          • Error
          • Landing
          • Login
          • Project
          • ProjectList
          • ProjectNew
          • ProjectView
          • ProjectViewAddDocuments
          • ProjectViewEdit
          • ProjectViewFindNamedEntities
          • ProjectViewInsights
          • Search
          • Settings
          • TaskAnalysis
          • TaskAnalysisList
          • TaskBatchDownload
          • TaskBatchDownloadList
          • TaskBatchSearch
          • TaskBatchSearchList
          • TaskBatchSearchNew
          • TaskBatchSearchView
          • TaskBatchSearchViewResults
          • Tasks
          • UserHistory
          • UserHistoryDocumentList
          • UserHistorySavedSearchList
    • Introduction to Tarentula
    • Index operations with Playground
    • Write extensions
    • Write plugins
Powered by GitBook

Datashare is an open source project by the International Consortium of Investigative Journalists

On this page
  • Core
  • new Core(api, mode)
  • datashare.ready : Promise.<Object>
  • datashare.app : Core
  • datashare.core : Core
  • datashare.bootstrapVue ⇒ Plugin
  • datashare.i18n : I18n
  • datashare.router : VueRouter
  • datashare.store : Vuex.Store
  • datashare.plugin ⇒ *
  • datashare.auth : Auth
  • datashare.config : Object
  • datashare.api : Api
  • datashare.vue : Vue
  • datashare.wait : VueWait
  • datashare.mode : String
  • datashare.use(Plugin, options) ⇒ Core
  • datashare.useAll() ⇒ Core
  • datashare.useI18n() ⇒ Core
  • datashare.useBootstrapVue() ⇒ Core
  • datashare.useRouter() ⇒ Core
  • datashare.useVuex() ⇒ Core
  • datashare.useCommons() ⇒ Core
  • datashare.useWait() ⇒ Core
  • datashare.useCore() ⇒ Core
  • datashare.buildCorePlugin() ⇒ VueCore
  • datashare.configure() ⇒ Promise.<Object>
  • datashare.mount([selector]) ⇒ Vue
  • datashare.defer()
  • datashare.dispatch(name, ...args) ⇒ Core
  • datashare.getUser() ⇒ Promise.<Object>
  • datashare.loadUser() ⇒ Promise
  • datashare.loadSettings() ⇒ Promise
  • datashare.setPageTitle(title, [suffix])
  • datashare.on(event, callback)
  • datashare.off(event, callback)
  • datashare.emit(event, payload)
  • Core.init(...options) ⇒ Core
  • ComponentMixin
  • FiltersMixin
  • datashare.registerFilter(...args)
  • datashare.unregisterFilter(name)
  • datashare.registerFilterForProject(name, ...args)
  • datashare.unregisterFilterForProject(name, name)
  • HooksMixin
  • datashare.registerHook(...args)
  • datashare.unregisterHook(name)
  • datashare.resetHook(name)
  • datashare.resetHooks()
  • datashare.registerHookForProject(project, options)
  • I18nMixin
  • datashare.initializeI18n() ⇒ Promise
  • datashare.setI18nLocale(locale) ⇒ String
  • datashare.hasI18Locale(locale) ⇒ Boolean
  • datashare.loadI18Locale(locale) ⇒ Promise
  • PipelinesMixin
  • datashare.registerPipeline(...args, category)
  • datashare.unregisterPipeline(name)
  • datashare.registerPipelineForProject(project, ...args, category)
  • datashare.unregisterPipelineForProject(project, name)
  • ProjectsMixin
  • datashare.toggleForProject(name, withFn, withoutFn, mutationType, storePath)
  • datashare.createDefaultProject() ⇒ Promise:Object
  • WidgetsMixin
  • datashare.registerWidget(...args)
  • datashare.unregisterWidget(name)
  • datashare.clearWidgets()
  • datashare.registerWidgetForProject(project, options)
  • datashare.replaceWidget(name, options)
  • datashare.replaceWidgetForProject(project, name, options)
  • projects ⇒ Array:String
  • projectIds ⇒ Array:String
  • defaultProject ⇒ String
  • findComponent(name) ⇒ Promise.<(object|null)>
  • getComponent(name) ⇒ Promise.<(object|Error)>
  • sameComponentNames(...names) ⇒ boolean
  • componentNameSlug(name) ⇒ string
  • lazyComponents() ⇒ Object
  • defaultProjectExists() ⇒ Promise:Boolean
  • findProject(name) ⇒ Object
  • deleteProject(name) ⇒ Promise:Integer
  • deleteProjectFromSearch(name)
  • setProject(project) ⇒ Object
Export as PDF
  1. Developers
  2. Frontend

JSDoc

Last updated 10 months ago

This documentation is intended to help you create plugins for Datashare client. All methods currently exposed in the class are available to a global variable called datashare.

Example

datashare.replaceWidget('default-text', {
  card: true,
  cols: 6,
  type: 'WidgetText',
  content: "Welcome to my amazing project dashboard!",
  title: "Secret Project",
  order: "-1"
})

Core

Class representing the core application with public methods for plugins.

Kind: global class Mixes: , , , , ,

    • instance

      • : Promise.<Object>

      • :

      • :

      • ⇒ Plugin

      • : I18n

      • : VueRouter

      • : Vuex.Store

      • ⇒ *

      • : Auth

      • : Object

      • : Api

      • : Vue

      • : VueWait

      • : String

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒

      • ⇒ VueCore

      • ⇒ Promise.<Object>

      • ⇒ Vue

      • ⇒

      • ⇒ Promise.<Object>

      • ⇒ Promise

      • ⇒ Promise

    • static

      • ⇒


new Core(api, mode)

Create an application

Param
Default
Description

api

Datashare api interface

mode

mode of authentication ('local' or 'server'


datashare.ready : Promise.<Object>

Get a promise that is resolved when the application is ready


Deprecated

The application core instance. Deprecated in favor or the core property.


The application core instance


datashare.bootstrapVue ⇒ Plugin

The Bootstrap Vue plugin instance.


datashare.i18n : I18n

The I18n instance


datashare.router : VueRouter

The VueRouter instance


datashare.store : Vuex.Store

The Vuex instance


datashare.plugin ⇒ *

The CorePlugin instance


datashare.auth : Auth

The Auth module instance


datashare.config : Object

The configuration object provided by Murmur


datashare.api : Api

The Datashare api interface


datashare.vue : Vue

The Vue app


datashare.wait : VueWait

The VueWait


datashare.mode : String

Get current Datashare mode


Add a Vue plugin to the app

Param
Type
Description

Plugin

Object

The actual Vue plugin class

options

Object

Option to pass to the plugin


Configure all default Vue plugins for this application


Configure vue-i18n plugin


Configure bootstrap-vue plugin


Configure vue-router plugin


Configure vuex plugin


Configure most common Vue plugins (Murmur, VueShortkey, VueScrollTo and VueCalendar)


Configure vue-wait plugin


Add a $core property to the instance's Vue


datashare.buildCorePlugin() ⇒ VueCore

Build a VueCore instance with the current Core instance as parameter of the global properties.


datashare.configure() ⇒ Promise.<Object>

Load settings from the server and instantiate most the application configuration.


datashare.mount([selector]) ⇒ Vue

Mount the instance's vue application

Param
Type
Default
Description

[selector]

String

#app

Query selector to the mounting point


datashare.defer()

Build a promise to be resolved when the application is configured.


Dispatch an event from the document root, passing the core application through event message.

Param
Type
Description

name

String

Name of the event to fire

...args

Mixed

Additional params to pass to the event


datashare.getUser() ⇒ Promise.<Object>

Get the current signed user.


datashare.loadUser() ⇒ Promise

Get and update user definition in place


datashare.loadSettings() ⇒ Promise

Get settings (both from the server settings and the current mode)


datashare.setPageTitle(title, [suffix])

Append the given title to the page title

Param
Type
Default
Description

title

String

Title to append to the page

[suffix]

String

Datashare

Suffix to the title


datashare.on(event, callback)

Register a callback to an event using the EventBus singleton.

Param
Type

event

String

callback

*


datashare.off(event, callback)

Unregister a callback to an event using the EventBus singleton.

Param
Type

event

String

callback

*


datashare.emit(event, payload)

Emit an event using the EventBus singleton.

Param
Type

event

String

payload

*


instantiate a Core class (useful for chaining usage or mapping)

Param
Type
Description

...options

Mixed

Options to pass to the Core constructor


ComponentMixin

Mixin class extending the core to add helpers for components.

Kind: global mixin


FiltersMixin

Mixin class extending the core to add helpers for filters.

Kind: global mixin


datashare.registerFilter(...args)

Register a filter

Param
Type
Default
Description

...args

Mixed

Filter's params.

args.type

String

Type of the filter.

args.options

Object

Options to pass to the filter constructor.

args.options.name

String

Name of the filter.

args.options.key

String

Key of the filter. Typically ElasticSearch field name.

[args.options.icon]

String

Icon of the filter.

[args.options.isSearchable]

Boolean

false

Set if this filter should be searchable or not.

[args.options.alternativeSearch]

function

()=>{})

Set a function about how to transform query term before searching for it.

[args.options.order]

Number

Order of the filter. Will be added as last filter by default.


datashare.unregisterFilter(name)

Unregister a filter

Param
Type
Description

name

String

Name of the filter to unregister


datashare.registerFilterForProject(name, ...args)

Register a filter only for a specific project

Param
Type
Description

name

String

Name of the project

...args

Mixed

Filter's options.

args.name

String

Name of the filter

args.type

String

Type of the filter.

args.options

Object

Options to pass to the filter constructor


datashare.unregisterFilterForProject(name, name)

Unregister a filter only for a specific project

Param
Type
Description

name

String

Name of the project

name

String

Name of the filter


HooksMixin

Mixin class extending the core to add helpers for hooks.

Kind: global mixin


datashare.registerHook(...args)

Register a hook

Param
Type
Description

...args

Mixed

Hook's options

args.name

String

Name of the hook

args.target

String

Target of the hook

args.order

Number

Priority of the hook

args.definition

Object

Options to pass to the hook constructor


datashare.unregisterHook(name)

Unregister a specific hook

Param
Type
Description

name

String

Name of the hook


datashare.resetHook(name)

Unregister all hooks from a target

Param
Type
Description

name

String

Name of the target


datashare.resetHooks()

Unregister all hooks, on every targets


datashare.registerHookForProject(project, options)

Register a hook for a specific project

Param
Type
Description

project

String

Project to add this hook to

options

Object

Hook's options

options.name

String

Name of the hook

options.target

String

Target of the hook

options.order

Number

Priority of the hook

options.definition

Object

Options to pass to the hook constructor


I18nMixin

Mixin class extending the core to add helpers for i18n.

Kind: global mixin


datashare.initializeI18n() ⇒ Promise

Initialize i18N using the local storage and load the necessary locale's messages


datashare.setI18nLocale(locale) ⇒ String

Set the active locale both in local stoage and VueI18n.

Param
Type
Description

locale

String

Key of the local (fr, de, en, ja, ...)


datashare.hasI18Locale(locale) ⇒ Boolean

Check the given locale storage was loaded.

Param
Type
Description

locale

String

Key of the local (fr, de, en, ja, ...)


datashare.loadI18Locale(locale) ⇒ Promise

Load i18n messages for the given locale (if needed) and set it as the current locale.

Param
Type
Description

locale

String

Key of the local (fr, de, en, ja, ...)


PipelinesMixin

Mixin class extending the core to add helpers for pipelines.

Kind: global mixin


datashare.registerPipeline(...args, category)

Register a pipeline

Param
Type
Description

...args

Mixed

Pipeline's options.

args.name

String

Name of the pipeline

args.type

String | function

Type of the pipeline.

category

String

The pipeline to target


datashare.unregisterPipeline(name)

Unregister a pipeline

Param
Type
Description

name

String

Name of the pipeline


datashare.registerPipelineForProject(project, ...args, category)

Register a pipeline for a specific project

Param
Type
Description

project

String

Name of the project

...args

Mixed

Pipeline's options.

args.name

String

Name of the pipeline

args.type

String | function

Type of the pipeline.

category

String

The pipeline to target


datashare.unregisterPipelineForProject(project, name)

Unregister a pipeline for a specific project

Param
Type
Description

project

String

Name of the project

name

String

Name of the pipeline


ProjectsMixin

Mixin class extending the core to add helpers for projects.

Kind: global mixin


datashare.toggleForProject(name, withFn, withoutFn, mutationType, storePath)

Call a function when a project is selected

Param
Type
Description

name

String

Name of the project

withFn

function

Function to call when the project is selected

withoutFn

function

Function to call when the project is unselected

mutationType

String

Mutation type that will be watched for changes.

storePath

String

Path to the project in the store


datashare.createDefaultProject() ⇒ Promise:Object

Create a default project on Datashare using the API


WidgetsMixin

Mixin class extending the core to add helpers for widgets.

Kind: global mixin


datashare.registerWidget(...args)

Register a widget

Param
Type
Default
Description

...args

Mixed

Widget's options passed to widget constructor

args.name

String

Name of the widget

args.card

Boolean

Either or not this widget should be a card component from Boostrap.

args.cols

Number

Number of columns to fill in the grid (from 1 to 12)

[args.type]

String

WidgetEmpty

Type of the widget


datashare.unregisterWidget(name)

Unregister a widget

Param
Type
Description

name

String

Name of the widget to unregister


datashare.clearWidgets()

Unregister all widgets


datashare.registerWidgetForProject(project, options)

Register a widget for a specific project

Param
Type
Default
Description

project

String

Name of the project to add this widget to

options

Object

Widget's options passed to widget constructor

options.name

String

Name of the widget

options.card

Boolean

Either or not this widget should be a card component from Boostrap

options.cols

Number

Number of columns to fill in the grid (from 1 to 12)

[options.type]

String

WidgetEmpty

Type of the widget


datashare.replaceWidget(name, options)

Replace an existing widget

Param
Type
Default
Description

name

String

Name of the widget to replace

options

Object

Widget's options passed to widget constructor.

options.card

Boolean

Either or not this widget should be a card component from Boostrap

options.cols

Number

Number of columns to fill in the grid (from 1 to 12)

[options.type]

String

WidgetEmpty

Type of the widget

Example

datashare.replaceWidget('default-text', {
 card: true,
 cols: 6,
 type: 'WidgetText',
 content: "Welcome to my amazing project dashboard!",
 title: "Secret Project",
 order: "-1"
})

datashare.replaceWidgetForProject(project, name, options)

Replace an existing widget for a specific project

Param
Type
Default
Description

project

String

Name of the project to add this widget to

name

String

Name of the widget to replace

options

Object

Widget's options passed to widget constructor. Each widget class can define its own default values.

options.card

Boolean

Either or not this widget should be a card component from Boostrap

options.cols

Number

Number of columns to fill in the grid (from 1 to 12)

[options.type]

String

WidgetEmpty

Type of the widget


projects ⇒ Array:String

List all projects this user has access to.

Kind: global variable


projectIds ⇒ Array:String

List all projects name ids this user has access to.

Kind: global variable


defaultProject ⇒ String

Get the name of the default project

Kind: global variable


findComponent(name) ⇒ Promise.<(object|null)>

Asynchronously find a component in the lazyComponents object by its name.

Kind: global function Returns: Promise.<(object|null)> - - A promise that resolves with the found component object, or null if not found.

Param
Type
Description

name

string

The name of the component to find.


getComponent(name) ⇒ Promise.<(object|Error)>

Asynchronously get a component from the lazyComponents object based on its name.

Kind: global function Returns: Promise.<(object|Error)> - - A promise that resolves with the found component object, or rejects with an Error if not found.

Param
Type
Description

name

string

The name of the component to retrieve.


sameComponentNames(...names) ⇒ boolean

Check if multiple component names are the same when slugified.

Kind: global function Returns: boolean - - True if all names are the same when slugified, false otherwise.

Param
Type
Description

...names

string

The component names to compare.


componentNameSlug(name) ⇒ string

Generate a slug from the component name using kebab case and lowercase.

Kind: global function Returns: string - - The slugified component name.

Param
Type
Description

name

string

The name of the component to slugify.


lazyComponents() ⇒ Object

Get the lazyComponents object using require.context for lazy loading of components.

Kind: global function Returns: Object - - The lazyComponents object generated using require.context.


defaultProjectExists() ⇒ Promise:Boolean

Return true if the default project exists

Kind: global function


findProject(name) ⇒ Object

Retrieve a project by its name

Kind: global function Returns: Object - The project matching with this name

Param
Type
Description

name

String

Name of the project to retrieve


deleteProject(name) ⇒ Promise:Integer

Delete a project by it name identifier.

Kind: global function Returns: Promise:Integer - Index of the project deleted or -1 if project does not exist

Param
Type
Description

name

String

Name of the project to retrieve


deleteProjectFromSearch(name)

Delete a project from the search store

Kind: global function

Param
Type
Description

name

String

Name of the project to delete fropm the store


setProject(project) ⇒ Object

Update a project in the list or add it if it doesn't exist yet.

Kind: global function Returns: Object - The project

Param
Type

project

Object


Kind: instance property of Fullfil: Object The actual application core instance.

datashare.app :

Kind: instance property of

datashare.core :

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

Kind: instance property of

datashare.use(Plugin, options) ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useAll() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useI18n() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useBootstrapVue() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useRouter() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useVuex() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useCommons() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useWait() ⇒

Kind: instance method of Returns: - the current instance of Core

datashare.useCore() ⇒

Kind: instance method of Returns: - the current instance of Core

Kind: instance method of

Kind: instance method of Fullfil: - The instance of the core application Reject: Object - The Error object

Kind: instance method of Returns: Vue - The instantiated Vue

Kind: instance method of

datashare.dispatch(name, ...args) ⇒

Kind: instance method of Returns: - the current instance of Core

Kind: instance method of Fullfil: Object Current user

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Core.init(...options) ⇒

Kind: static method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

⇒ Promise

⇒ String

⇒ Boolean

⇒ Promise

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

⇒ Promise:Object

Kind: instance method of

Kind: instance method of Returns: Promise:Object - The HTTP response object

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

Kind: instance method of

🤓
Core
FiltersMixin
HooksMixin
I18nMixin
PipelinesMixin
ProjectsMixin
WidgetsMixin
Core
new Core(api, mode)
.ready
.app
Core
.core
Core
.bootstrapVue
.i18n
.router
.store
.plugin
.auth
.config
.api
.vue
.wait
.mode
.use(Plugin, options)
Core
.useAll()
Core
.useI18n()
Core
.useBootstrapVue()
Core
.useRouter()
Core
.useVuex()
Core
.useCommons()
Core
.useWait()
Core
.useCore()
Core
.buildCorePlugin()
.configure()
.mount([selector])
.defer()
.dispatch(name, ...args)
Core
.getUser()
.loadUser()
.loadSettings()
.setPageTitle(title, [suffix])
.on(event, callback)
.off(event, callback)
.emit(event, payload)
.init(...options)
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
Core
FiltersMixin
.registerFilter(...args)
.unregisterFilter(name)
.registerFilterForProject(name, ...args)
.unregisterFilterForProject(name, name)
FiltersMixin
FiltersMixin
FiltersMixin
FiltersMixin
HooksMixin
.registerHook(...args)
.unregisterHook(name)
.resetHook(name)
.resetHooks()
.registerHookForProject(project, options)
HooksMixin
HooksMixin
HooksMixin
HooksMixin
HooksMixin
I18nMixin
.initializeI18n()
.setI18nLocale(locale)
.hasI18Locale(locale)
.loadI18Locale(locale)
I18nMixin
I18nMixin
I18nMixin
I18nMixin
PipelinesMixin
.registerPipeline(...args, category)
.unregisterPipeline(name)
.registerPipelineForProject(project, ...args, category)
.unregisterPipelineForProject(project, name)
PipelinesMixin
PipelinesMixin
PipelinesMixin
PipelinesMixin
ProjectsMixin
.toggleForProject(name, withFn, withoutFn, mutationType, storePath)
.createDefaultProject()
ProjectsMixin
ProjectsMixin
WidgetsMixin
.registerWidget(...args)
.unregisterWidget(name)
.clearWidgets()
.registerWidgetForProject(project, options)
.replaceWidget(name, options)
.replaceWidgetForProject(project, name, options)
WidgetsMixin
WidgetsMixin
WidgetsMixin
WidgetsMixin
WidgetsMixin
WidgetsMixin