css and jsdoc
This commit is contained in:
@@ -30,6 +30,13 @@
|
||||
|
||||
import View from 'view';
|
||||
|
||||
/**
|
||||
* @typedef {Object} module:views/record/panels/bottom~defs
|
||||
* @property [buttonList]
|
||||
* @property [actionList]
|
||||
* @property [tabNumber] For internal purposes.
|
||||
*/
|
||||
|
||||
/**
|
||||
* A bottom panel.
|
||||
*/
|
||||
@@ -57,7 +64,11 @@ class BottomPanelView extends View {
|
||||
*/
|
||||
buttonList
|
||||
|
||||
defs = null
|
||||
/**
|
||||
* @protected
|
||||
* @type {module:views/record/panels/bottom~defs}
|
||||
*/
|
||||
defs
|
||||
|
||||
/**
|
||||
* A mode.
|
||||
|
||||
@@ -34,7 +34,7 @@ import SidePanelView from 'views/record/panels/side';
|
||||
class DefaultSidePanelView extends SidePanelView {
|
||||
|
||||
data() {
|
||||
let data = super.data();
|
||||
const data = super.data();
|
||||
|
||||
if (
|
||||
this.complexCreatedDisabled &&
|
||||
|
||||
@@ -30,6 +30,14 @@
|
||||
|
||||
import View from 'view';
|
||||
|
||||
/**
|
||||
* @typedef {Object} module:views/record/panels/side~defs
|
||||
* @property [buttonList]
|
||||
* @property [actionList]
|
||||
* @property [fieldList]
|
||||
* @property [tabNumber] For internal purposes.
|
||||
*/
|
||||
|
||||
/**
|
||||
* A side panel.
|
||||
*/
|
||||
@@ -100,6 +108,12 @@ class SidePanelView extends View {
|
||||
*/
|
||||
disabled = false
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @type {module:views/record/panels/side~defs}
|
||||
*/
|
||||
defs
|
||||
|
||||
events = {
|
||||
/** @this SidePanelView */
|
||||
'click .action': function (e) {
|
||||
|
||||
@@ -78,6 +78,7 @@ class DefaultRowActionsView extends View {
|
||||
* @return {module:views/record/list~rowAction[]}
|
||||
*/
|
||||
getActionList() {
|
||||
/** @type {module:views/record/list~rowAction[]} */
|
||||
const list = [{
|
||||
action: 'quickView',
|
||||
label: 'View',
|
||||
@@ -106,7 +107,7 @@ class DefaultRowActionsView extends View {
|
||||
label: 'Remove',
|
||||
data: {
|
||||
id: this.model.id,
|
||||
}
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user