Skip to content

Commit ea0a06d

Browse files
committed
【API】 新增部分接口 extends 标识 review by zongym
1 parent 71b9aed commit ea0a06d

27 files changed

+31
-4
lines changed

src/common/widgets/templates/AttributesPopContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {PopContainer} from './PopContainer';
1212
* @param {string} options.id - 组件 dom 元素 id。
1313
* @param {Object} options.title - 属性弹框组件名称。
1414
* @param {Object} options.attributes - 组件需要显示的属性内容。
15+
* @extends {SuperMap.Widgets.PopContainer}
1516
* @category Widgets Common
1617
*/
1718
export class AttributesPopContainer extends PopContainer {

src/common/widgets/templates/CityTabsPage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {Util} from '../../commontypes/Util';
1313
* @param {string} options.id - 组件 dom 元素 id。
1414
* @param {Object|Array.<string>} options.config - 城市名称配置列表,支持两种格式:{key1:{A:[],B:[]}, key2:{C:[],D:[]}} 或
1515
* ["成都市","北京市"],用户可根据自己的项目需求进行配置
16+
* @extends {SuperMap.Widgets.IndexTabsPageContainer}
1617
* @category Widgets Common
1718
*/
1819
export class CityTabsPage extends IndexTabsPageContainer {

src/common/widgets/templates/CommonContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {TemplateBase} from './TemplateBase';
1212
* @param {string} options.id - 组件 dom 元素 id。
1313
* @param {string} options.title - 标题。
1414
* @category Widgets Common
15+
* @extends {SuperMap.Widgets.TemplateBase}
1516
*/
1617
export class CommonContainer extends TemplateBase {
1718
constructor(options) {

src/common/widgets/templates/DropDownBox.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ import {TemplateBase} from './TemplateBase';
1717
* @param {string} [optionsArr.icon.className] - 下拉框图标类名。
1818
* @param {string} [optionsArr.icon.background] - 下拉框图标背景 url。
1919
* @category Widgets Common
20+
* @extends {SuperMap.Widgets.TemplateBase}
2021
*/
2122
export class DropDownBox extends TemplateBase {
2223
constructor(optionsArr) {

src/common/widgets/templates/IndexTabsPageContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {TemplateBase} from './TemplateBase';
1111
* @param {Object} options - 可选参数。
1212
* @param {string} options.id - 组件 dom 元素 id。
1313
* @category Widgets Common
14+
* @extends {SuperMap.Widgets.TemplateBase}
1415
*/
1516
export class IndexTabsPageContainer extends TemplateBase {
1617
constructor(options) {

src/common/widgets/templates/NavTabsPage.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {TemplateBase} from './TemplateBase';
1111
* @param {Object} options - 组件配置参数。
1212
* @param {string} optionsArr.id - 组件 dom 元素 id。
1313
* @param {Array.<Object>} [options.tabs=[]] - 标签对象数组,形如:[{title: "",content: HTMLElement}],初始时,传入则创建页面。
14+
* @extends {SuperMap.Widgets.TemplateBase}
1415
* @category Widgets Common
1516
*/
1617
// todo 思考拆分的控件应该以哪种方式使用

src/common/widgets/templates/PaginationContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import {TemplateBase} from './TemplateBase';
1212
* @param {string} optionsArr.id - 组件 dom 元素 id。
1313
* @param {HTMLElement} options.contents - 页面填充的 DOM 元素对象。
1414
* @param {number} options.pageCounts - 页数。
15+
* @extends {SuperMap.Widgets.TemplateBase}
1516
* @category Widgets Common
1617
*/
1718
export class PaginationContainer extends TemplateBase {

src/common/widgets/templates/PopContainer.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {TemplateBase} from './TemplateBase';
1111
* @param {Object} options - 组件配置参数。
1212
* @param {string} options.id - 组件 dom 元素 id。
1313
* @param {string} options.title - 弹框组件名称。
14+
* @extends {SuperMap.Widgets.TemplateBase}
1415
* @category Widgets Common
1516
*/
1617
export class PopContainer extends TemplateBase {

src/common/widgets/templates/Select.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import {TemplateBase} from './TemplateBase';
1313
* @param {string} [options.labelName] - label 名称。
1414
* @param {Array.<string>} options.optionsArr - 需要创建的 option 数据数组。
1515
* @param {Function} [options.optionsClickCb] - option 点击事件回调函数。
16+
* @extends {SuperMap.Widgets.TemplateBase}
1617
* @category Widgets Common
1718
*/
1819
export class Select extends TemplateBase {

src/leaflet/services/MeasureService.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ import {MeasureMode, MeasureService as CommonMeasureService, MeasureParameters}
2424
* @param {string} [options.proxy] - 服务代理地址。
2525
* @param {SuperMap.ServerType} [options.serverType=SuperMap.ServerType.ISERVER] - 服务来源 iServer|iPortal|online。
2626
* @param {boolean} [options.withCredentials=false] - 请求是否携带 cookie。
27+
* @extends {L.supermap.ServiceBase}
2728
*/
2829
export var MeasureService = ServiceBase.extend({
2930

0 commit comments

Comments
 (0)