подправил стили для кода примеров. Добавил std, v2, tools, v2.ll.

This commit is contained in:
Aleksey Chichenkov 2018-09-25 15:14:18 +03:00
parent 2c27a64ea0
commit 73f3735bb6
54 changed files with 1579 additions and 342 deletions

View file

@ -0,0 +1,12 @@
/** @typedef {Models.Model.Groups.BaseGroup} ModelBaseGroup */
/**
*
* @group manager
* @class BaseGroup
* @extends Models.Model.Groups.Group
* @memberof Models.Model.Groups
*/
var BaseGroup = function () {
};

View file

@ -0,0 +1,8 @@
/**
*
* @group manager
* @class BGComponents
* @extends Models.Model.Groups.Group.Components
* @memberof Models.Model.Groups.Group
*/
var BGComponents = function () {};

View file

@ -0,0 +1,54 @@
/** @typedef {Models.Model.Groups.Group.Components.Component.Attributes.Attribute} ComponentAttribute */
/**
*
* @group manager
* @class Attribute
* @extends item
* @memberof Models.Model.Groups.Group.Components.Component.Attributes
*/
var Attribute = function () {
/**
*
* @public
* @function name
* @memberof Models.Model.Groups.Group.Components.Component.Attributes.Attribute
* @returns {v2.string}
*/
this.name = function () {
};
/**
*
* @public
* @function type
* @memberof Models.Model.Groups.Group.Components.Component.Attributes.Attribute
* @returns {v2.type}
*/
this.type = function () {
};
/**
*
* @public
* @function last_change
* @memberof Models.Model.Groups.Group.Components.Component.Attributes.Attribute
* @returns {v2.time}
*/
this.last_change = function () {
};
/**
*
* @public
* @function value
* @memberof Models.Model.Groups.Group.Components.Component.Attributes.Attribute
* @returns {v2}
*/
this.value = function () {
};
};

View file

@ -0,0 +1,31 @@
/**
*
* @group manager
* @class Attributes
* @extends manager
* @memberof Models.Model.Groups.Group.Components.Component
*/
var Attributes = function () {
/**
*
* @public
* @function attributes
* @memberof Models.Model.Groups.Group.Components.Component.Attributes
* @returns {v2.map(v2.string, v2.vc)}
*/
this.attributes = function () {
};
/**
*
* @public
* @function get
* @memberof Models.Model.Groups.Group.Components.Component.Attributes
* @param name {v2.string}
* @returns {tools.promise(ModelComponent)}
*/
this.get = function (name) {
};
};

View file

@ -0,0 +1,44 @@
/** @typedef {Models.Model.Groups.Group.Components.Component} ModelComponent */
/**
*
* @group manager
* @class Component
* @extends item
* @memberof Models.Model.Groups.Group.Components
*/
var Component = function () {
/**
*
* @public
* @function address
* @memberof Models.Model.Groups.Group.Components.Component
* @returns {v2.address}
*/
this.address = function () {
};
/**
*
* @public
* @function attributes
* @memberof Models.Model.Groups.Group.Components.Component
* @returns {v2.map(v2.string, v2.vc)}
*/
this.attributes = function () {
};
/**
*
* @public
* @function address
* @memberof Models.Model.Groups.Group.Components.Component
* @param attrName {v2.string}
* @returns {tools.promise(ComponentAttribute)}
*/
this.get = function (attrName) {
};
};

View file

@ -0,0 +1,43 @@
/**
*
* @group manager
* @class Components
* @extends manager
* @memberof Models.Model.Groups.Group
*/
var Components = function () {
/**
*
* @public
* @function is_component_exist
* @memberof Models.Model.Groups.Group.Components
* @param componentId {v2.string}
* @returns {boolean}
*/
this.is_component_exist = function (componentId) {
};
/**
*
* @public
* @function get
* @memberof Models.Model.Groups.Group.Components
* @param componentId {v2.string}
* @returns {tools.promise(ModelComponent)}
*/
this.get = function (componentId) {
};
/**
*
* @public
* @function components
* @memberof Models.Model.Groups.Group.Components
* @returns {tools.promise(v2.set(v2.string))}
*/
this.components = function () {
};
};

View file

@ -0,0 +1,44 @@
/** @typedef {Models.Model.Groups.Group} ModelGroup */
/**
*
* @group manager
* @class Group
* @extends item
* @memberof Models.Model.Groups
*/
var Group = function () {
/**
*
* @public
* @function components
* @memberof Models.Model.Groups.Group
* @returns {tools.promise()}
*/
this.components = function () {
};
/**
*
* @public
* @function attributes
* @memberof Models.Model.Groups.Group
* @returns {v2.map(v2.string, v2.vc)}
*/
this.attributes = function () {
};
/**
*
* @public
* @function get
* @memberof Models.Model.Groups.Group
* @param componentId {v2.string}
* @returns {tools.promise(ModelComponent)}
*/
this.get = function (componentId) {
}
};

View file

@ -0,0 +1,42 @@
/**
*
* @group manager
* @class Groups
* @extends manager
* @memberof Models.Model
*/
var Groups = function () {
/**
*
* @public
* @function all
* @memberof Models.Model.Groups
* @returns {v2.deque(v2.string)}
*/
this.all = function () {
};
/**
*
* @public
* @function is_group_exist
* @memberof Models.Model.Groups
* @returns {boolean}
*/
this.is_group_exist = function () {
};
/**
*
* @public
* @function get
* @memberof Models.Model.Groups
* @param alias {v2.string}
* @returns {tools.promise(Models.Model.Groups.Group)}
*/
this.get = function (alias) {
}
};

View file

@ -5,6 +5,7 @@
*
* @group manager
* @namespace Models
* @extends manager
*/
function Models() {
/**

View file

@ -7,6 +7,15 @@
* @memberof Models
*/
function Model() {
/**
*
* @public
* @name static
* @type {Models.Model.static_data}
*/
this.static = new Models.Model.static_data();
/**
*
* @public
@ -29,6 +38,19 @@ function Model() {
};
/**
*
* @public
* @function get_group
* @memberof Models.Model
* @param groupType {v2.model_type}
* @returns {tools.promise(ModelGroup)}
*/
this.get_group = function(groupType) {
};
/**
*
* @public

View file

@ -0,0 +1,62 @@
/**
* @class static
* @memberof Models.Model
* @extends item
*/
var static_data = function () {
/**
*
* @public
* @function label_attrs
* @memberof Models.Model.static
* @returns {v2.set(v2.string)}
*/
this.label_attrs = function () {
};
/**
*
* @public
* @function popup_attrs
* @memberof Models.Model.static
* @returns {v2.set(v2.string)}
*/
this.popup_attrs = function () {
};
/**
*
* @public
* @function is_container
* @memberof Models.Model.static
* @returns {v2.boolean}
*/
this.is_container = function () {
};
/**
*
* @public
* @function base_component_type
* @memberof Models.Model.static
* @returns {v2.model_type}
*/
this.base_component_type = function () {
};
/**
*
* @public
* @function touch
* @memberof Models.Model.static
* @returns {tools.promise}
*/
this.touch = function () {
}
};