@antv/l7-component 2.9.32-alpha.2 → 2.9.32-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (114) hide show
  1. package/es/assets/iconfont/iconfont.js +53 -0
  2. package/es/constants/index.d.ts +60 -0
  3. package/es/constants/index.js +60 -0
  4. package/es/control/baseControl/buttonControl.d.ts +59 -0
  5. package/es/control/baseControl/buttonControl.js +191 -0
  6. package/es/control/baseControl/control.d.ts +107 -0
  7. package/es/control/baseControl/control.js +288 -0
  8. package/es/control/baseControl/index.d.ts +4 -0
  9. package/es/control/baseControl/index.js +4 -0
  10. package/es/control/baseControl/popperControl.d.ts +26 -0
  11. package/es/control/baseControl/popperControl.js +131 -0
  12. package/es/control/baseControl/selectControl.d.ts +46 -0
  13. package/es/control/baseControl/selectControl.js +227 -0
  14. package/es/control/exportImage.d.ts +18 -0
  15. package/es/control/exportImage.js +163 -0
  16. package/es/control/fullscreen.d.ts +19 -0
  17. package/es/control/fullscreen.js +151 -0
  18. package/es/control/geoLocate.d.ts +16 -0
  19. package/es/control/geoLocate.js +139 -0
  20. package/es/control/layerControl.d.ts +21 -0
  21. package/es/control/layerControl.js +172 -0
  22. package/es/control/logo.d.ts +13 -0
  23. package/es/control/logo.js +87 -0
  24. package/es/control/mapTheme.d.ts +10 -0
  25. package/es/control/mapTheme.js +135 -0
  26. package/es/control/mouseLocation.d.ts +15 -0
  27. package/es/control/mouseLocation.js +104 -0
  28. package/es/control/scale.d.ts +34 -0
  29. package/es/control/scale.js +172 -0
  30. package/es/control/zoom.d.ts +34 -0
  31. package/es/control/zoom.js +146 -0
  32. package/es/css/button.less +70 -0
  33. package/es/css/control.less +71 -0
  34. package/es/css/index.css +567 -0
  35. package/es/css/index.less +12 -0
  36. package/es/css/l7.less +60 -0
  37. package/es/css/layerPopup.less +8 -0
  38. package/es/css/logo.less +18 -0
  39. package/es/css/mouseLocation.less +9 -0
  40. package/es/css/popper.less +64 -0
  41. package/es/css/popup.less +169 -0
  42. package/es/css/scale.less +34 -0
  43. package/es/css/select.less +86 -0
  44. package/es/css/variables.less +28 -0
  45. package/es/css/zoom.less +21 -0
  46. package/es/images/layers.png +0 -0
  47. package/es/images/layers.svg +1 -0
  48. package/es/images/logo.png +0 -0
  49. package/es/images/quanping.svg +12 -0
  50. package/es/index.d.ts +18 -0
  51. package/es/index.js +59 -0
  52. package/es/interface.d.ts +18 -0
  53. package/es/interface.js +1 -0
  54. package/es/marker-layer.d.ts +53 -0
  55. package/es/marker-layer.js +363 -0
  56. package/es/marker.d.ts +49 -0
  57. package/es/marker.js +434 -0
  58. package/es/popup/layerPopup.d.ts +78 -0
  59. package/es/popup/layerPopup.js +308 -0
  60. package/es/popup/popup.d.ts +147 -0
  61. package/es/popup/popup.js +636 -0
  62. package/es/utils/anchor.d.ts +22 -0
  63. package/es/utils/anchor.js +35 -0
  64. package/es/utils/icon.d.ts +1 -0
  65. package/es/utils/icon.js +9 -0
  66. package/es/utils/popper.d.ts +75 -0
  67. package/es/utils/popper.js +286 -0
  68. package/es/utils/screenfull.d.ts +2 -0
  69. package/es/utils/screenfull.js +157 -0
  70. package/lib/assets/iconfont/iconfont.js +39 -0
  71. package/lib/constants/index.js +90 -0
  72. package/lib/control/baseControl/buttonControl.js +118 -0
  73. package/lib/control/baseControl/control.js +172 -0
  74. package/lib/control/baseControl/index.js +22 -0
  75. package/lib/control/baseControl/popperControl.js +108 -0
  76. package/lib/control/baseControl/selectControl.js +153 -0
  77. package/lib/control/exportImage.js +83 -0
  78. package/lib/control/fullscreen.js +109 -0
  79. package/lib/control/geoLocate.js +78 -0
  80. package/lib/control/layerControl.js +136 -0
  81. package/lib/control/logo.js +74 -0
  82. package/lib/control/mapTheme.js +92 -0
  83. package/lib/control/mouseLocation.js +79 -0
  84. package/lib/control/scale.js +136 -0
  85. package/lib/control/zoom.js +119 -0
  86. package/lib/css/button.less +70 -0
  87. package/lib/css/control.less +71 -0
  88. package/lib/css/index.css +567 -0
  89. package/lib/css/index.less +12 -0
  90. package/lib/css/l7.less +60 -0
  91. package/lib/css/layerPopup.less +8 -0
  92. package/lib/css/logo.less +18 -0
  93. package/lib/css/mouseLocation.less +9 -0
  94. package/lib/css/popper.less +64 -0
  95. package/lib/css/popup.less +169 -0
  96. package/lib/css/scale.less +34 -0
  97. package/lib/css/select.less +86 -0
  98. package/lib/css/variables.less +28 -0
  99. package/lib/css/zoom.less +21 -0
  100. package/lib/images/layers.png +0 -0
  101. package/lib/images/layers.svg +1 -0
  102. package/lib/images/logo.png +0 -0
  103. package/lib/images/quanping.svg +12 -0
  104. package/lib/index.js +51 -0
  105. package/lib/interface.js +17 -0
  106. package/lib/marker-layer.js +263 -0
  107. package/lib/marker.js +307 -0
  108. package/lib/popup/layerPopup.js +200 -0
  109. package/lib/popup/popup.js +388 -0
  110. package/lib/utils/anchor.js +63 -0
  111. package/lib/utils/icon.js +37 -0
  112. package/lib/utils/popper.js +209 -0
  113. package/lib/utils/screenfull.js +160 -0
  114. package/package.json +5 -5
@@ -0,0 +1,288 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/createClass";
4
+ import _inherits from "@babel/runtime/helpers/inherits";
5
+ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
6
+ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
7
+ import _defineProperty from "@babel/runtime/helpers/defineProperty";
8
+
9
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+
11
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
+
13
+ import { PositionType, TYPES } from '@antv/l7-core';
14
+ import { DOM } from '@antv/l7-utils';
15
+ import EventEmitter from 'eventemitter3';
16
+ export { PositionType } from '@antv/l7-core';
17
+ export { Control };
18
+
19
+ var Control = /*#__PURE__*/function (_ref) {
20
+ _inherits(Control, _ref);
21
+
22
+ var _super = _createSuper(Control);
23
+
24
+ /**
25
+ * 当前类型控件实例个数
26
+ * @protected
27
+ */
28
+ function Control(option) {
29
+ var _this;
30
+
31
+ _classCallCheck(this, Control);
32
+
33
+ _this = _super.call(this);
34
+ Control.controlCount++;
35
+ _this.controlOption = _objectSpread(_objectSpread({}, _this.getDefault(option)), option || {});
36
+ return _this;
37
+ }
38
+
39
+ _createClass(Control, [{
40
+ key: "getOptions",
41
+ value: function getOptions() {
42
+ return this.controlOption;
43
+ }
44
+ /**
45
+ * 更新配置的方法,子类如果有自己的配置,也需要重写该方法
46
+ * @param newOptions
47
+ */
48
+
49
+ }, {
50
+ key: "setOptions",
51
+ value: function setOptions(newOptions) {
52
+ if ('position' in newOptions) {
53
+ this.setPosition(newOptions.position);
54
+ }
55
+
56
+ if ('className' in newOptions) {
57
+ this.setClassName(newOptions.className);
58
+ }
59
+
60
+ if ('style' in newOptions) {
61
+ this.setStyle(newOptions.style);
62
+ }
63
+
64
+ this.controlOption = _objectSpread(_objectSpread({}, this.controlOption), newOptions);
65
+ }
66
+ /**
67
+ * 当 Control 被添加至 Scene 中,被 controlService 调用的方法
68
+ * @param sceneContainer
69
+ */
70
+
71
+ }, {
72
+ key: "addTo",
73
+ value: function addTo(sceneContainer) {
74
+ // 初始化各个 Service 实例
75
+ this.mapsService = sceneContainer.get(TYPES.IMapService);
76
+ this.renderService = sceneContainer.get(TYPES.IRendererService);
77
+ this.layerService = sceneContainer.get(TYPES.ILayerService);
78
+ this.controlService = sceneContainer.get(TYPES.IControlService);
79
+ this.configService = sceneContainer.get(TYPES.IGlobalConfigService);
80
+ this.scene = sceneContainer.get(TYPES.ISceneService);
81
+ this.sceneContainer = sceneContainer;
82
+ this.isShow = true; // 初始化 container
83
+
84
+ this.container = this.onAdd();
85
+ DOM.addClass(this.container, 'l7-control');
86
+ var _this$controlOption = this.controlOption,
87
+ className = _this$controlOption.className,
88
+ style = _this$controlOption.style;
89
+
90
+ if (className) {
91
+ this.setClassName(className);
92
+ }
93
+
94
+ if (style) {
95
+ this.setStyle(style);
96
+ } // 将 container 插入容器中
97
+
98
+
99
+ this.insertContainer();
100
+ this.emit('add', this);
101
+ return this;
102
+ }
103
+ /**
104
+ * 将控件移除时触发
105
+ */
106
+
107
+ }, {
108
+ key: "remove",
109
+ value: function remove() {
110
+ if (!this.mapsService) {
111
+ return this;
112
+ }
113
+
114
+ DOM.remove(this.container);
115
+ this.onRemove();
116
+ this.emit('remove', this);
117
+ }
118
+ /**
119
+ * Control 被添加的时候被调用,返回 Control 对应的 DOM 容器
120
+ */
121
+
122
+ }, {
123
+ key: "show",
124
+ value:
125
+ /**
126
+ * 显示控件时触发
127
+ */
128
+ function show() {
129
+ var container = this.container;
130
+ DOM.removeClass(container, 'l7-control--hide');
131
+ this.isShow = true;
132
+ this.emit('show', this);
133
+ }
134
+ /**
135
+ * 隐藏控件时触发
136
+ */
137
+
138
+ }, {
139
+ key: "hide",
140
+ value: function hide() {
141
+ var container = this.container;
142
+ DOM.addClass(container, 'l7-control--hide');
143
+ this.isShow = false;
144
+ this.emit('hide', this);
145
+ }
146
+ /**
147
+ * 获取默认构造器参数
148
+ */
149
+ // eslint-disable-next-line @typescript-eslint/no-unused-vars
150
+
151
+ }, {
152
+ key: "getDefault",
153
+ value: function getDefault(option) {
154
+ // tslint:disable-next-line:no-object-literal-type-assertion
155
+ return {
156
+ position: PositionType.TOPRIGHT,
157
+ name: "".concat(Control.controlCount)
158
+ };
159
+ }
160
+ /**
161
+ * 获取当前控件对应的 DOM 容器
162
+ */
163
+
164
+ }, {
165
+ key: "getContainer",
166
+ value: function getContainer() {
167
+ return this.container;
168
+ }
169
+ /**
170
+ * 获取当前 Control 是否展示
171
+ */
172
+
173
+ }, {
174
+ key: "getIsShow",
175
+ value: function getIsShow() {
176
+ return this.isShow;
177
+ }
178
+ }, {
179
+ key: "_refocusOnMap",
180
+ value: function _refocusOnMap(e) {
181
+ // if map exists and event is not a keyboard event
182
+ if (this.mapsService && e && e.screenX > 0 && e.screenY > 0) {
183
+ var container = this.mapsService.getContainer();
184
+
185
+ if (container !== null) {
186
+ container.focus();
187
+ }
188
+ }
189
+ }
190
+ /**
191
+ * 设置当前控件位置
192
+ * @param position
193
+ */
194
+
195
+ }, {
196
+ key: "setPosition",
197
+ value: function setPosition() {
198
+ var position = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : PositionType.TOPLEFT;
199
+ // 考虑组件的自动布局,需要销毁重建
200
+ var controlService = this.controlService;
201
+
202
+ if (controlService) {
203
+ controlService.removeControl(this);
204
+ }
205
+
206
+ this.controlOption.position = position;
207
+
208
+ if (controlService) {
209
+ controlService.addControl(this, this.sceneContainer);
210
+ }
211
+
212
+ return this;
213
+ }
214
+ /**
215
+ * 设置容器 container 的样式相关位置,包含 className
216
+ * @param className
217
+ */
218
+
219
+ }, {
220
+ key: "setClassName",
221
+ value: function setClassName(className) {
222
+ var container = this.container;
223
+ var oldClassName = this.controlOption.className;
224
+
225
+ if (oldClassName) {
226
+ DOM.removeClass(container, oldClassName);
227
+ }
228
+
229
+ if (className) {
230
+ DOM.addClass(container, className);
231
+ }
232
+ }
233
+ /**
234
+ * 设置容器 container 的样式相关位置,包含 style
235
+ * @param style
236
+ */
237
+
238
+ }, {
239
+ key: "setStyle",
240
+ value: function setStyle(style) {
241
+ var container = this.container;
242
+
243
+ if (style) {
244
+ container.setAttribute('style', style);
245
+ } else {
246
+ container.removeAttribute('style');
247
+ }
248
+ }
249
+ /**
250
+ * 将控件 DOM 插入到对应 position 的容器中
251
+ * @protected
252
+ */
253
+
254
+ }, {
255
+ key: "insertContainer",
256
+ value: function insertContainer() {
257
+ var container = this.container;
258
+ var position = this.controlOption.position;
259
+ var corner = this.controlService.controlCorners[position];
260
+
261
+ if (position.indexOf('bottom') !== -1) {
262
+ corner.insertBefore(container, corner.firstChild);
263
+ } else {
264
+ corner.appendChild(container);
265
+ }
266
+ }
267
+ /**
268
+ * 检查当前传入 option 是否包含 keys 字段
269
+ * @param option
270
+ * @param keys
271
+ * @protected
272
+ */
273
+
274
+ }, {
275
+ key: "checkUpdateOption",
276
+ value: function checkUpdateOption(option, keys) {
277
+ return keys.some(function (key) {
278
+ return key in option;
279
+ });
280
+ }
281
+ }]);
282
+
283
+ return Control;
284
+ }(EventEmitter);
285
+
286
+ _defineProperty(Control, "controlCount", 0);
287
+
288
+ export { Control as default };
@@ -0,0 +1,4 @@
1
+ export * from './control';
2
+ export * from './buttonControl';
3
+ export * from './popperControl';
4
+ export * from './selectControl';
@@ -0,0 +1,4 @@
1
+ export * from "./control";
2
+ export * from "./buttonControl";
3
+ export * from "./popperControl";
4
+ export * from "./selectControl";
@@ -0,0 +1,26 @@
1
+ import { Popper, PopperPlacement, PopperTrigger } from '../../utils/popper';
2
+ import ButtonControl, { IButtonControlOption } from './buttonControl';
3
+ export { PopperControl };
4
+ export interface IPopperControlOption extends IButtonControlOption {
5
+ popperPlacement: PopperPlacement;
6
+ popperClassName?: string;
7
+ popperTrigger: PopperTrigger;
8
+ }
9
+ export default abstract class PopperControl<O extends IPopperControlOption = IPopperControlOption> extends ButtonControl<O> {
10
+ /**
11
+ * 气泡实例
12
+ * @protected
13
+ */
14
+ protected popper: Popper;
15
+ getPopper(): Popper;
16
+ hide(): void;
17
+ /**
18
+ * 获取默认配置
19
+ * @param option
20
+ */
21
+ getDefault(option?: Partial<O>): O;
22
+ onAdd(): HTMLElement;
23
+ onRemove(): void;
24
+ initPopper(): Popper;
25
+ setOptions(option: Partial<O>): void;
26
+ }
@@ -0,0 +1,131 @@
1
+ import _objectSpread from "@babel/runtime/helpers/objectSpread2";
2
+ import _classCallCheck from "@babel/runtime/helpers/classCallCheck";
3
+ import _createClass from "@babel/runtime/helpers/createClass";
4
+ import _get from "@babel/runtime/helpers/get";
5
+ import _inherits from "@babel/runtime/helpers/inherits";
6
+ import _possibleConstructorReturn from "@babel/runtime/helpers/possibleConstructorReturn";
7
+ import _getPrototypeOf from "@babel/runtime/helpers/getPrototypeOf";
8
+
9
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
10
+
11
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
12
+
13
+ import { Popper } from "../../utils/popper";
14
+ import ButtonControl from "./buttonControl";
15
+ export { PopperControl };
16
+ var PopperPlacementMap = {
17
+ topleft: 'right-start',
18
+ topcenter: 'bottom',
19
+ topright: 'left-start',
20
+ bottomleft: 'right-end',
21
+ bottomcenter: 'top',
22
+ bottomright: 'left-end',
23
+ lefttop: 'bottom-start',
24
+ leftcenter: 'right',
25
+ leftbottom: 'top-start',
26
+ righttop: 'bottom-end',
27
+ rightcenter: 'left',
28
+ rightbottom: 'top-end'
29
+ };
30
+
31
+ var PopperControl = /*#__PURE__*/function (_ButtonControl) {
32
+ _inherits(PopperControl, _ButtonControl);
33
+
34
+ var _super = _createSuper(PopperControl);
35
+
36
+ function PopperControl() {
37
+ _classCallCheck(this, PopperControl);
38
+
39
+ return _super.apply(this, arguments);
40
+ }
41
+
42
+ _createClass(PopperControl, [{
43
+ key: "getPopper",
44
+ value:
45
+ /**
46
+ * 气泡实例
47
+ * @protected
48
+ */
49
+ function getPopper() {
50
+ return this.popper;
51
+ }
52
+ }, {
53
+ key: "hide",
54
+ value: function hide() {
55
+ this.popper.hide();
56
+
57
+ _get(_getPrototypeOf(PopperControl.prototype), "hide", this).call(this);
58
+ }
59
+ /**
60
+ * 获取默认配置
61
+ * @param option
62
+ */
63
+
64
+ }, {
65
+ key: "getDefault",
66
+ value: function getDefault(option) {
67
+ var _option$position;
68
+
69
+ var defaultOption = _get(_getPrototypeOf(PopperControl.prototype), "getDefault", this).call(this, option);
70
+
71
+ var position = (_option$position = option === null || option === void 0 ? void 0 : option.position) !== null && _option$position !== void 0 ? _option$position : defaultOption.position;
72
+ return _objectSpread(_objectSpread({}, _get(_getPrototypeOf(PopperControl.prototype), "getDefault", this).call(this, option)), {}, {
73
+ popperPlacement: PopperPlacementMap[position],
74
+ popperTrigger: 'click'
75
+ });
76
+ }
77
+ }, {
78
+ key: "onAdd",
79
+ value: function onAdd() {
80
+ var button = _get(_getPrototypeOf(PopperControl.prototype), "onAdd", this).call(this);
81
+
82
+ this.initPopper();
83
+ return button;
84
+ }
85
+ }, {
86
+ key: "onRemove",
87
+ value: function onRemove() {
88
+ this.popper.destroy();
89
+ }
90
+ }, {
91
+ key: "initPopper",
92
+ value: function initPopper() {
93
+ var _this = this;
94
+
95
+ var _this$controlOption = this.controlOption,
96
+ popperClassName = _this$controlOption.popperClassName,
97
+ popperPlacement = _this$controlOption.popperPlacement,
98
+ popperTrigger = _this$controlOption.popperTrigger;
99
+ var popperContainer = this.mapsService.getMapContainer();
100
+ this.popper = new Popper(this.button, {
101
+ className: popperClassName,
102
+ placement: popperPlacement,
103
+ trigger: popperTrigger,
104
+ container: popperContainer,
105
+ unique: true
106
+ });
107
+ this.popper.on('show', function () {
108
+ _this.emit('popperShow', _this);
109
+ }).on('hide', function () {
110
+ _this.emit('popperHide', _this);
111
+ });
112
+ return this.popper;
113
+ }
114
+ }, {
115
+ key: "setOptions",
116
+ value: function setOptions(option) {
117
+ _get(_getPrototypeOf(PopperControl.prototype), "setOptions", this).call(this, option);
118
+
119
+ if (this.checkUpdateOption(option, ['popperPlacement', 'popperTrigger', 'popperClassName'])) {
120
+ var content = this.popper.getContent();
121
+ this.popper.destroy();
122
+ this.initPopper();
123
+ this.popper.setContent(content);
124
+ }
125
+ }
126
+ }]);
127
+
128
+ return PopperControl;
129
+ }(ButtonControl);
130
+
131
+ export { PopperControl as default };
@@ -0,0 +1,46 @@
1
+ import { IPopperControlOption, PopperControl } from './popperControl';
2
+ declare type BaseOptionItem = {
3
+ value: string;
4
+ text: string;
5
+ [key: string]: string;
6
+ };
7
+ declare type NormalOptionItem = BaseOptionItem & {
8
+ icon?: HTMLElement;
9
+ };
10
+ declare type ImageOptionItem = BaseOptionItem & {
11
+ img: string;
12
+ };
13
+ export declare type ControlOptionItem = ImageOptionItem | NormalOptionItem;
14
+ export interface ISelectControlOption extends IPopperControlOption {
15
+ options: ControlOptionItem[];
16
+ defaultValue?: string | string[];
17
+ }
18
+ export { SelectControl };
19
+ export default abstract class SelectControl<O extends ISelectControlOption = ISelectControlOption> extends PopperControl<O> {
20
+ /**
21
+ * 当前选中的值
22
+ * @protected
23
+ */
24
+ protected selectValue: string[];
25
+ /**
26
+ * 选项对应的 DOM 列表
27
+ * @protected
28
+ */
29
+ protected optionDOMList: HTMLElement[];
30
+ setOptions(option: Partial<O>): void;
31
+ onAdd(): HTMLElement;
32
+ getSelectValue(): string | string[];
33
+ setSelectValue(value: string | string[], emitEvent?: boolean): void;
34
+ /**
35
+ * 是否为多选
36
+ * @protected
37
+ */
38
+ protected abstract getIsMultiple(): boolean;
39
+ protected getPopperContent(options: ControlOptionItem[]): HTMLElement;
40
+ protected createNormalOption: (option: NormalOptionItem) => HTMLElement;
41
+ protected createImageOption(option: ImageOptionItem): HTMLElement;
42
+ protected createCheckbox(isSelect: boolean): HTMLElement;
43
+ protected onItemClick: (item: ControlOptionItem) => void;
44
+ protected isImageOptions(): boolean;
45
+ protected transSelectValue(value: string | string[]): string[];
46
+ }