@ywbgn/bgl-package 1.2.1 → 1.2.2
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.
- package/README.md +309 -31
- package/dist/index.css +1 -1
- package/dist/index.d.ts +279 -15
- package/dist/vue-arcgis-map.js +4655 -4290
- package/dist/vue-arcgis-map.umd.cjs +25 -25
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,15 @@
|
|
|
1
|
+
import { AllowedComponentProps } from 'vue';
|
|
2
|
+
import { Attrs } from 'vue';
|
|
3
|
+
import { ComponentCustomProperties } from 'vue';
|
|
4
|
+
import { ComponentCustomProps } from 'vue';
|
|
5
|
+
import { ComponentInternalInstance } from 'vue';
|
|
6
|
+
import { ComponentOptionsBase } from 'vue';
|
|
1
7
|
import { ComponentOptionsMixin } from 'vue';
|
|
2
8
|
import { ComponentProvideOptions } from 'vue';
|
|
9
|
+
import { ComponentPublicInstance } from 'vue';
|
|
3
10
|
import { ComputedRef } from 'vue';
|
|
4
11
|
import { CreateComponentPublicInstanceWithMixins } from 'vue';
|
|
12
|
+
import { DebuggerEvent } from 'vue';
|
|
5
13
|
import { default as default_2 } from '@arcgis/core/Map.js';
|
|
6
14
|
import { default as default_3 } from '@arcgis/core/views/MapView.js';
|
|
7
15
|
import { default as default_4 } from '@arcgis/core/layers/GraphicsLayer.js';
|
|
@@ -15,9 +23,15 @@ import { GlobalDirectives } from 'vue';
|
|
|
15
23
|
import { InjectionKey } from 'vue';
|
|
16
24
|
import { MaybeRef } from 'vue';
|
|
17
25
|
import { MaybeRefOrGetter } from 'vue';
|
|
26
|
+
import { nextTick } from 'vue';
|
|
27
|
+
import { OnCleanup } from '@vue/reactivity';
|
|
18
28
|
import { Plugin as Plugin_2 } from 'vue';
|
|
19
29
|
import { PropType } from 'vue';
|
|
20
30
|
import { PublicProps } from 'vue';
|
|
31
|
+
import { Slot } from 'vue';
|
|
32
|
+
import { VNodeProps } from 'vue';
|
|
33
|
+
import { WatchOptions } from 'vue';
|
|
34
|
+
import { WatchStopHandle } from 'vue';
|
|
21
35
|
|
|
22
36
|
declare const __VLS_component: DefineComponent<ExtractPropTypes< {
|
|
23
37
|
/** MapView 实例 */
|
|
@@ -212,14 +226,33 @@ visible: boolean;
|
|
|
212
226
|
}> | null;
|
|
213
227
|
}, HTMLDivElement>;
|
|
214
228
|
|
|
215
|
-
declare const __VLS_component_2: DefineComponent<
|
|
229
|
+
declare const __VLS_component_2: DefineComponent<__VLS_Props_5, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
216
230
|
close: () => any;
|
|
217
|
-
}, string, PublicProps, Readonly<
|
|
231
|
+
}, string, PublicProps, Readonly<__VLS_Props_5> & Readonly<{
|
|
218
232
|
onClose?: (() => any) | undefined;
|
|
219
233
|
}>, {
|
|
220
234
|
anchor: "center" | "start";
|
|
235
|
+
appearance: LegendAppearance;
|
|
221
236
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
222
237
|
|
|
238
|
+
declare const __VLS_component_3: DefineComponent<__VLS_Props_9, {
|
|
239
|
+
scrollToTop: typeof scrollToTop;
|
|
240
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
241
|
+
"update:activeIndex": (index: number) => any;
|
|
242
|
+
}, string, PublicProps, Readonly<__VLS_Props_9> & Readonly<{
|
|
243
|
+
"onUpdate:activeIndex"?: ((index: number) => any) | undefined;
|
|
244
|
+
}>, {
|
|
245
|
+
rows: BglDataTableRow[];
|
|
246
|
+
columns: BglDataTableColumn[];
|
|
247
|
+
align: "left" | "center";
|
|
248
|
+
activeIndex: number;
|
|
249
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
250
|
+
headRef: HTMLDivElement;
|
|
251
|
+
headTableRef: HTMLTableElement;
|
|
252
|
+
wrapRef: HTMLDivElement;
|
|
253
|
+
bodyTableRef: HTMLTableElement;
|
|
254
|
+
}, HTMLDivElement>;
|
|
255
|
+
|
|
223
256
|
/** 外层容器尺寸,支持像素数字或 CSS 字符串(如 100%、70vh) */
|
|
224
257
|
declare type __VLS_Props = {
|
|
225
258
|
width?: string | number;
|
|
@@ -241,6 +274,17 @@ declare type __VLS_Props = {
|
|
|
241
274
|
};
|
|
242
275
|
|
|
243
276
|
declare type __VLS_Props_2 = {
|
|
277
|
+
/** MapView 实例 */
|
|
278
|
+
view: default_3;
|
|
279
|
+
/** 业务图层 id 前缀,与 loadBusinessLayers 一致 */
|
|
280
|
+
idPrefix?: string;
|
|
281
|
+
/**
|
|
282
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
283
|
+
*/
|
|
284
|
+
appearance?: LegendAppearance;
|
|
285
|
+
};
|
|
286
|
+
|
|
287
|
+
declare type __VLS_Props_3 = {
|
|
244
288
|
/** MapView 实例 */
|
|
245
289
|
view: default_3;
|
|
246
290
|
/** 业务图层 id 前缀,与 loadBusinessLayers 一致 */
|
|
@@ -257,9 +301,13 @@ declare type __VLS_Props_2 = {
|
|
|
257
301
|
* 默认 14,停靠左下、位于底图/卷帘入口下方;底图/卷帘默认 bottom 已上移避开图例高度。
|
|
258
302
|
*/
|
|
259
303
|
offsetY?: number;
|
|
304
|
+
/**
|
|
305
|
+
* 图例外观。plain=现有纯色圆角面板;frame=切图九宫格背景。
|
|
306
|
+
*/
|
|
307
|
+
appearance?: LegendAppearance;
|
|
260
308
|
};
|
|
261
309
|
|
|
262
|
-
declare type
|
|
310
|
+
declare type __VLS_Props_4 = {
|
|
263
311
|
/** MapView 实例 */
|
|
264
312
|
view: default_3;
|
|
265
313
|
/**
|
|
@@ -290,7 +338,7 @@ declare type __VLS_Props_3 = {
|
|
|
290
338
|
numericLabelColor?: string;
|
|
291
339
|
};
|
|
292
340
|
|
|
293
|
-
declare type
|
|
341
|
+
declare type __VLS_Props_5 = {
|
|
294
342
|
/** 弹框标题 */
|
|
295
343
|
title: string;
|
|
296
344
|
/** 弹框宽度,默认 300px */
|
|
@@ -300,16 +348,20 @@ declare type __VLS_Props_4 = {
|
|
|
300
348
|
* start 配合左对齐弹框(如底图切换),拖动不带 -50% 偏移。
|
|
301
349
|
*/
|
|
302
350
|
anchor?: 'center' | 'start';
|
|
351
|
+
/**
|
|
352
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
353
|
+
*/
|
|
354
|
+
appearance?: LegendAppearance;
|
|
303
355
|
};
|
|
304
356
|
|
|
305
|
-
declare type
|
|
357
|
+
declare type __VLS_Props_6 = {
|
|
306
358
|
map: default_2 | null;
|
|
307
359
|
view: default_3 | null;
|
|
308
360
|
systemCoordinateWkid?: number | null;
|
|
309
361
|
mapBounds?: MapBounds | null;
|
|
310
362
|
};
|
|
311
363
|
|
|
312
|
-
declare type
|
|
364
|
+
declare type __VLS_Props_7 = {
|
|
313
365
|
/** 双向绑定值 */
|
|
314
366
|
modelValue?: string | number;
|
|
315
367
|
/** 输入类型 */
|
|
@@ -324,7 +376,7 @@ declare type __VLS_Props_6 = {
|
|
|
324
376
|
max?: string | number;
|
|
325
377
|
};
|
|
326
378
|
|
|
327
|
-
declare type
|
|
379
|
+
declare type __VLS_Props_8 = {
|
|
328
380
|
/** 当前值 */
|
|
329
381
|
modelValue?: string;
|
|
330
382
|
/** 选项列表 */
|
|
@@ -337,6 +389,17 @@ declare type __VLS_Props_7 = {
|
|
|
337
389
|
disabled?: boolean;
|
|
338
390
|
};
|
|
339
391
|
|
|
392
|
+
declare type __VLS_Props_9 = {
|
|
393
|
+
/** 列定义 */
|
|
394
|
+
columns?: BglDataTableColumn[];
|
|
395
|
+
/** 行数据 */
|
|
396
|
+
rows?: BglDataTableRow[];
|
|
397
|
+
/** 单元格对齐方式 */
|
|
398
|
+
align?: 'left' | 'center';
|
|
399
|
+
/** 当前高亮行下标,-1 表示无 */
|
|
400
|
+
activeIndex?: number;
|
|
401
|
+
};
|
|
402
|
+
|
|
340
403
|
declare function __VLS_template(): {
|
|
341
404
|
attrs: Partial<{}>;
|
|
342
405
|
slots: {
|
|
@@ -393,10 +456,31 @@ declare function __VLS_template_2(): {
|
|
|
393
456
|
rootEl: any;
|
|
394
457
|
};
|
|
395
458
|
|
|
459
|
+
declare function __VLS_template_3(): {
|
|
460
|
+
attrs: Partial<{}>;
|
|
461
|
+
slots: Partial<Record<`cell-${string}`, (_: {
|
|
462
|
+
row: BglDataTableRow;
|
|
463
|
+
index: number;
|
|
464
|
+
column: BglDataTableColumn;
|
|
465
|
+
value: string | number;
|
|
466
|
+
}) => any>> & {
|
|
467
|
+
footer?(_: {}): any;
|
|
468
|
+
};
|
|
469
|
+
refs: {
|
|
470
|
+
headRef: HTMLDivElement;
|
|
471
|
+
headTableRef: HTMLTableElement;
|
|
472
|
+
wrapRef: HTMLDivElement;
|
|
473
|
+
bodyTableRef: HTMLTableElement;
|
|
474
|
+
};
|
|
475
|
+
rootEl: HTMLDivElement;
|
|
476
|
+
};
|
|
477
|
+
|
|
396
478
|
declare type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
397
479
|
|
|
398
480
|
declare type __VLS_TemplateResult_2 = ReturnType<typeof __VLS_template_2>;
|
|
399
481
|
|
|
482
|
+
declare type __VLS_TemplateResult_3 = ReturnType<typeof __VLS_template_3>;
|
|
483
|
+
|
|
400
484
|
declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
401
485
|
new (): {
|
|
402
486
|
$slots: S;
|
|
@@ -409,6 +493,12 @@ declare type __VLS_WithTemplateSlots_2<T, S> = T & {
|
|
|
409
493
|
};
|
|
410
494
|
};
|
|
411
495
|
|
|
496
|
+
declare type __VLS_WithTemplateSlots_3<T, S> = T & {
|
|
497
|
+
new (): {
|
|
498
|
+
$slots: S;
|
|
499
|
+
};
|
|
500
|
+
};
|
|
501
|
+
|
|
412
502
|
/**
|
|
413
503
|
* 按配置给已上图的业务 FeatureLayer 设置 labelingInfo。
|
|
414
504
|
* 仅 FeatureLayer 生效;找不到图层时跳过。
|
|
@@ -477,6 +567,13 @@ keys: {
|
|
|
477
567
|
type: PropType<BasemapKeys | null>;
|
|
478
568
|
default: null;
|
|
479
569
|
};
|
|
570
|
+
/**
|
|
571
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
572
|
+
*/
|
|
573
|
+
appearance: {
|
|
574
|
+
type: PropType<LegendAppearance>;
|
|
575
|
+
default: string;
|
|
576
|
+
};
|
|
480
577
|
}>, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
481
578
|
"before-change": () => any;
|
|
482
579
|
}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -490,17 +587,45 @@ keys: {
|
|
|
490
587
|
type: PropType<BasemapKeys | null>;
|
|
491
588
|
default: null;
|
|
492
589
|
};
|
|
590
|
+
/**
|
|
591
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
592
|
+
*/
|
|
593
|
+
appearance: {
|
|
594
|
+
type: PropType<LegendAppearance>;
|
|
595
|
+
default: string;
|
|
596
|
+
};
|
|
493
597
|
}>> & Readonly<{
|
|
494
598
|
"onBefore-change"?: (() => any) | undefined;
|
|
495
599
|
}>, {
|
|
496
600
|
keys: BasemapKeys | null;
|
|
601
|
+
appearance: LegendAppearance;
|
|
497
602
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
498
603
|
basemapSelectRef: HTMLDivElement;
|
|
499
604
|
}, HTMLDivElement>;
|
|
500
605
|
|
|
501
|
-
export declare const
|
|
606
|
+
export declare const BglDataTable: __VLS_WithTemplateSlots_3<typeof __VLS_component_3, __VLS_TemplateResult_3["slots"]>;
|
|
607
|
+
|
|
608
|
+
/** 表格列 */
|
|
609
|
+
export declare type BglDataTableColumn = {
|
|
610
|
+
/** 表头文案 */
|
|
611
|
+
title: string;
|
|
612
|
+
/** 列标识,同时作为单元格插槽名 cell-<key> */
|
|
613
|
+
key: string;
|
|
614
|
+
/** 列宽,如 '48px' */
|
|
615
|
+
width?: string;
|
|
616
|
+
/** 单元格渲染,缺省时按 key 直接取值 */
|
|
617
|
+
render?: (row: BglDataTableRow, index: number) => string | number;
|
|
618
|
+
};
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* 通用数据表格类型定义
|
|
622
|
+
*/
|
|
623
|
+
/** 表格行 */
|
|
624
|
+
export declare type BglDataTableRow = Record<string, string | number | undefined>;
|
|
625
|
+
|
|
626
|
+
export declare const BglInput: DefineComponent<__VLS_Props_7, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
502
627
|
"update:modelValue": (value: string) => any;
|
|
503
|
-
}, string, PublicProps, Readonly<
|
|
628
|
+
}, string, PublicProps, Readonly<__VLS_Props_7> & Readonly<{
|
|
504
629
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
505
630
|
}>, {
|
|
506
631
|
type: string;
|
|
@@ -509,11 +634,11 @@ disabled: boolean;
|
|
|
509
634
|
modelValue: string | number;
|
|
510
635
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {}, any>;
|
|
511
636
|
|
|
512
|
-
export declare const BglSelect: DefineComponent<
|
|
637
|
+
export declare const BglSelect: DefineComponent<__VLS_Props_8, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
513
638
|
select: (value: string) => any;
|
|
514
639
|
"update:modelValue": (value: string) => any;
|
|
515
640
|
"update:open": (open: boolean) => any;
|
|
516
|
-
}, string, PublicProps, Readonly<
|
|
641
|
+
}, string, PublicProps, Readonly<__VLS_Props_8> & Readonly<{
|
|
517
642
|
onSelect?: ((value: string) => any) | undefined;
|
|
518
643
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
519
644
|
"onUpdate:open"?: ((open: boolean) => any) | undefined;
|
|
@@ -677,6 +802,16 @@ export declare const isViewGotoInterrupted: (error: unknown) => boolean;
|
|
|
677
802
|
|
|
678
803
|
declare type LayerProps = __esri.FeatureLayerProperties | __esri.MapImageLayerProperties;
|
|
679
804
|
|
|
805
|
+
export declare const LayerSwitch: DefineComponent<__VLS_Props_2, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_2> & Readonly<{}>, {
|
|
806
|
+
appearance: LegendAppearance;
|
|
807
|
+
idPrefix: string;
|
|
808
|
+
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
809
|
+
rootRef: HTMLDivElement;
|
|
810
|
+
}, HTMLDivElement>;
|
|
811
|
+
|
|
812
|
+
/** 图例外观:plain=纯色圆角面板;frame=切图九宫格背景 */
|
|
813
|
+
export declare type LegendAppearance = 'plain' | 'frame';
|
|
814
|
+
|
|
680
815
|
/** 图例停靠左右(避让业务侧栏) */
|
|
681
816
|
export declare type LegendDockPosition = 'left' | 'right';
|
|
682
817
|
|
|
@@ -743,7 +878,8 @@ export declare type MapBounds = {
|
|
|
743
878
|
jwYMax: number;
|
|
744
879
|
};
|
|
745
880
|
|
|
746
|
-
export declare const MapLegend: DefineComponent<
|
|
881
|
+
export declare const MapLegend: DefineComponent<__VLS_Props_3, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_3> & Readonly<{}>, {
|
|
882
|
+
appearance: LegendAppearance;
|
|
747
883
|
idPrefix: string;
|
|
748
884
|
position: LegendDockPosition;
|
|
749
885
|
offsetX: number;
|
|
@@ -759,7 +895,7 @@ export declare interface MapReadyPayload {
|
|
|
759
895
|
sketchLayer: default_4;
|
|
760
896
|
}
|
|
761
897
|
|
|
762
|
-
export declare const MapScaleBar: DefineComponent<
|
|
898
|
+
export declare const MapScaleBar: DefineComponent<__VLS_Props_4, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_4> & Readonly<{}>, {
|
|
763
899
|
position: LegendDockPosition;
|
|
764
900
|
offsetX: number;
|
|
765
901
|
offsetY: number;
|
|
@@ -955,6 +1091,9 @@ declare type ScaleBarStyle = 'line' | 'ruler';
|
|
|
955
1091
|
/** 比例尺单位 */
|
|
956
1092
|
declare type ScaleBarUnit = 'metric' | 'imperial' | 'dual';
|
|
957
1093
|
|
|
1094
|
+
/** 滚动重置到左上角(切换 Tab 等场景使用) */
|
|
1095
|
+
declare function scrollToTop(): void;
|
|
1096
|
+
|
|
958
1097
|
/**
|
|
959
1098
|
* 登记尚未上图的业务图层(默认隐藏)。
|
|
960
1099
|
* 不 map.add,因此不会触发服务元数据请求;用户勾选时再 materialize。
|
|
@@ -964,13 +1103,123 @@ export declare const setPendingBusinessLayers: (layers: BusinessLayerConfig[], o
|
|
|
964
1103
|
/** 是否应按 MapImageLayer 加载(整幅 MapServer) */
|
|
965
1104
|
export declare const shouldUseMapImageLayer: (item: BusinessLayerConfig) => boolean;
|
|
966
1105
|
|
|
967
|
-
export declare const SpatialAnalysisPanel: DefineComponent<
|
|
1106
|
+
export declare const SpatialAnalysisPanel: DefineComponent<__VLS_Props_6, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<__VLS_Props_6> & Readonly<{}>, {
|
|
968
1107
|
systemCoordinateWkid: number | null;
|
|
969
1108
|
mapBounds: MapBounds | null;
|
|
970
1109
|
}, {}, {}, {}, string, ComponentProvideOptions, false, {
|
|
971
1110
|
fileInputRef: HTMLInputElement;
|
|
972
1111
|
tabsScrollRef: HTMLDivElement;
|
|
973
|
-
|
|
1112
|
+
resultTableRef: ({
|
|
1113
|
+
$: ComponentInternalInstance;
|
|
1114
|
+
$data: {};
|
|
1115
|
+
$props: {
|
|
1116
|
+
readonly columns?: BglDataTableColumn[] | undefined;
|
|
1117
|
+
readonly rows?: BglDataTableRow[] | undefined;
|
|
1118
|
+
readonly align?: "left" | "center" | undefined;
|
|
1119
|
+
readonly activeIndex?: number | undefined;
|
|
1120
|
+
readonly "onUpdate:activeIndex"?: ((index: number) => any) | undefined;
|
|
1121
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps;
|
|
1122
|
+
$attrs: Attrs;
|
|
1123
|
+
$refs: {
|
|
1124
|
+
[x: string]: unknown;
|
|
1125
|
+
} & {
|
|
1126
|
+
headRef: HTMLDivElement;
|
|
1127
|
+
headTableRef: HTMLTableElement;
|
|
1128
|
+
wrapRef: HTMLDivElement;
|
|
1129
|
+
bodyTableRef: HTMLTableElement;
|
|
1130
|
+
};
|
|
1131
|
+
$slots: Readonly<{
|
|
1132
|
+
[name: string]: Slot<any> | undefined;
|
|
1133
|
+
}>;
|
|
1134
|
+
$root: ComponentPublicInstance | null;
|
|
1135
|
+
$parent: ComponentPublicInstance | null;
|
|
1136
|
+
$host: Element | null;
|
|
1137
|
+
$emit: (event: "update:activeIndex", index: number) => void;
|
|
1138
|
+
$el: HTMLDivElement;
|
|
1139
|
+
$options: ComponentOptionsBase<Readonly<{
|
|
1140
|
+
columns?: BglDataTableColumn[];
|
|
1141
|
+
rows?: BglDataTableRow[];
|
|
1142
|
+
align?: "left" | "center";
|
|
1143
|
+
activeIndex?: number;
|
|
1144
|
+
}> & Readonly<{
|
|
1145
|
+
"onUpdate:activeIndex"?: ((index: number) => any) | undefined;
|
|
1146
|
+
}>, {
|
|
1147
|
+
scrollToTop: () => void;
|
|
1148
|
+
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
1149
|
+
"update:activeIndex": (index: number) => any;
|
|
1150
|
+
}, string, {
|
|
1151
|
+
rows: BglDataTableRow[];
|
|
1152
|
+
columns: BglDataTableColumn[];
|
|
1153
|
+
align: "left" | "center";
|
|
1154
|
+
activeIndex: number;
|
|
1155
|
+
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1156
|
+
beforeCreate?: (() => void) | (() => void)[];
|
|
1157
|
+
created?: (() => void) | (() => void)[];
|
|
1158
|
+
beforeMount?: (() => void) | (() => void)[];
|
|
1159
|
+
mounted?: (() => void) | (() => void)[];
|
|
1160
|
+
beforeUpdate?: (() => void) | (() => void)[];
|
|
1161
|
+
updated?: (() => void) | (() => void)[];
|
|
1162
|
+
activated?: (() => void) | (() => void)[];
|
|
1163
|
+
deactivated?: (() => void) | (() => void)[];
|
|
1164
|
+
beforeDestroy?: (() => void) | (() => void)[];
|
|
1165
|
+
beforeUnmount?: (() => void) | (() => void)[];
|
|
1166
|
+
destroyed?: (() => void) | (() => void)[];
|
|
1167
|
+
unmounted?: (() => void) | (() => void)[];
|
|
1168
|
+
renderTracked?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1169
|
+
renderTriggered?: ((e: DebuggerEvent) => void) | ((e: DebuggerEvent) => void)[];
|
|
1170
|
+
errorCaptured?: ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
1171
|
+
};
|
|
1172
|
+
$forceUpdate: () => void;
|
|
1173
|
+
$nextTick: typeof nextTick;
|
|
1174
|
+
$watch<T extends string | ((
|
|
1175
|
+
/**
|
|
1176
|
+
* 空间分析面板(可导出地图组件)
|
|
1177
|
+
* UI + 业务编排:叠加图层、上传上图、分析、导出、重置
|
|
1178
|
+
* map/view 由宿主 props 注入
|
|
1179
|
+
*/
|
|
1180
|
+
...args: any) => any)>(source: T, cb: T extends (
|
|
1181
|
+
/**
|
|
1182
|
+
* 空间分析面板(可导出地图组件)
|
|
1183
|
+
* UI + 业务编排:叠加图层、上传上图、分析、导出、重置
|
|
1184
|
+
* map/view 由宿主 props 注入
|
|
1185
|
+
*/
|
|
1186
|
+
...args: any) => infer R ? (
|
|
1187
|
+
/**
|
|
1188
|
+
* 空间分析面板(可导出地图组件)
|
|
1189
|
+
* UI + 业务编排:叠加图层、上传上图、分析、导出、重置
|
|
1190
|
+
* map/view 由宿主 props 注入
|
|
1191
|
+
*/
|
|
1192
|
+
...args: [R, R, OnCleanup]) => any : (
|
|
1193
|
+
/**
|
|
1194
|
+
* 空间分析面板(可导出地图组件)
|
|
1195
|
+
* UI + 业务编排:叠加图层、上传上图、分析、导出、重置
|
|
1196
|
+
* map/view 由宿主 props 注入
|
|
1197
|
+
*/
|
|
1198
|
+
...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1199
|
+
} & Readonly<{
|
|
1200
|
+
rows: BglDataTableRow[];
|
|
1201
|
+
columns: BglDataTableColumn[];
|
|
1202
|
+
align: "left" | "center";
|
|
1203
|
+
activeIndex: number;
|
|
1204
|
+
}> & Omit<Readonly<{
|
|
1205
|
+
columns?: BglDataTableColumn[];
|
|
1206
|
+
rows?: BglDataTableRow[];
|
|
1207
|
+
align?: "left" | "center";
|
|
1208
|
+
activeIndex?: number;
|
|
1209
|
+
}> & Readonly<{
|
|
1210
|
+
"onUpdate:activeIndex"?: ((index: number) => any) | undefined;
|
|
1211
|
+
}>, "scrollToTop" | ("rows" | "columns" | "align" | "activeIndex")> & {
|
|
1212
|
+
scrollToTop: () => void;
|
|
1213
|
+
} & {} & ComponentCustomProperties & {} & {
|
|
1214
|
+
$slots: Partial<Record<`cell-${string}`, (_: {
|
|
1215
|
+
row: BglDataTableRow;
|
|
1216
|
+
index: number;
|
|
1217
|
+
column: BglDataTableColumn;
|
|
1218
|
+
value: string | number;
|
|
1219
|
+
}) => any>> & {
|
|
1220
|
+
footer?(_: {}): any;
|
|
1221
|
+
};
|
|
1222
|
+
}) | null;
|
|
974
1223
|
wordRef: HTMLDivElement;
|
|
975
1224
|
}, HTMLDivElement>;
|
|
976
1225
|
|
|
@@ -1039,6 +1288,13 @@ keys: {
|
|
|
1039
1288
|
type: PropType<BasemapKeys | null>;
|
|
1040
1289
|
default: null;
|
|
1041
1290
|
};
|
|
1291
|
+
/**
|
|
1292
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
1293
|
+
*/
|
|
1294
|
+
appearance: {
|
|
1295
|
+
type: PropType<LegendAppearance>;
|
|
1296
|
+
default: string;
|
|
1297
|
+
};
|
|
1042
1298
|
}>, {
|
|
1043
1299
|
destroySwipe: () => void;
|
|
1044
1300
|
}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<ExtractPropTypes< {
|
|
@@ -1052,8 +1308,16 @@ keys: {
|
|
|
1052
1308
|
type: PropType<BasemapKeys | null>;
|
|
1053
1309
|
default: null;
|
|
1054
1310
|
};
|
|
1311
|
+
/**
|
|
1312
|
+
* 弹框外观。plain=纯色圆角面板;frame=切图九宫格背景。
|
|
1313
|
+
*/
|
|
1314
|
+
appearance: {
|
|
1315
|
+
type: PropType<LegendAppearance>;
|
|
1316
|
+
default: string;
|
|
1317
|
+
};
|
|
1055
1318
|
}>> & Readonly<{}>, {
|
|
1056
1319
|
keys: BasemapKeys | null;
|
|
1320
|
+
appearance: LegendAppearance;
|
|
1057
1321
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {
|
|
1058
1322
|
swipeSelectRef: HTMLDivElement;
|
|
1059
1323
|
}, HTMLDivElement>;
|