sky-ui-kit 0.1.4 → 0.1.6
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/components.json +1242 -6
- package/dist/components/AtlasProcessChart.vue.d.ts +17 -0
- package/dist/components/AtlasProcessPanel.vue.d.ts +13 -0
- package/dist/components/AtlasRankingPanel.vue.d.ts +13 -0
- package/dist/components/DefenseMapLayout.vue.d.ts +13 -0
- package/dist/components/GlobalMapLayerDock.vue.d.ts +34 -0
- package/dist/components/ManagementFormDialog.vue.d.ts +33 -0
- package/dist/components/ManagementResourceLayout.vue.d.ts +28 -0
- package/dist/components/MapBottomProcessPanel.vue.d.ts +25 -0
- package/dist/components/MapEditorDialog.vue.d.ts +33 -0
- package/dist/components/MapFeatureListPanel.vue.d.ts +41 -0
- package/dist/components/MapLayerControl.vue.d.ts +6 -0
- package/dist/components/MapOperationPanel.vue.d.ts +38 -0
- package/dist/components/MapPointProcessDialog.vue.d.ts +24 -0
- package/dist/components/MapSchemeSelect.vue.d.ts +20 -0
- package/dist/components/MapSideMenu.vue.d.ts +1 -0
- package/dist/components/MapTools.vue.d.ts +19 -1
- package/dist/components/MapValueLegend.vue.d.ts +42 -0
- package/dist/components/MapWorkspacePanel.vue.d.ts +21 -0
- package/dist/components/NationalHydroSidebar.vue.d.ts +69 -0
- package/dist/components/ProcessChart.vue.d.ts +6 -0
- package/dist/components/ProjectMenu.vue.d.ts +1 -0
- package/dist/components/RainfallProcessChart.vue.d.ts +37 -0
- package/dist/components/RainfallRankingTable.vue.d.ts +72 -0
- package/dist/components/SpaceAnalysisPanel.vue.d.ts +7 -0
- package/dist/components/SpatialScopeInput.vue.d.ts +61 -0
- package/dist/components/StationComparisonPanel.vue.d.ts +20 -0
- package/dist/components/TemplateLayout.vue.d.ts +27 -9
- package/dist/components/WorkbenchShell.vue.d.ts +23 -3
- package/dist/components/element-plus.d.ts +2 -0
- package/dist/components/index.d.ts +1145 -18
- package/dist/components/mapContextMenuStyles.d.ts +2 -0
- package/dist/components.js +4011 -1296
- package/dist/style.css +1 -1
- package/docs/AI-CHANGELOG.md +160 -0
- package/docs/AI-GUIDE.md +1 -1
- package/docs/COMPONENT-API.md +540 -6
- package/docs/CONSUMERS.md +154 -0
- package/docs/CSS-THEME.md +109 -0
- package/docs/ELEMENT-PLUS-COVERAGE.md +1 -1
- package/docs/INTEGRATION.md +23 -12
- package/llms-full.txt +966 -9
- package/llms.txt +1 -1
- package/package.json +82 -84
package/docs/COMPONENT-API.md
CHANGED
|
@@ -191,7 +191,7 @@ export type TimeRangeQuickOption = {
|
|
|
191
191
|
Slots: No declared content slots.
|
|
192
192
|
|
|
193
193
|
```ts
|
|
194
|
-
export interface ProjectMenuItem { key: string; label: string; disabled?: boolean; icon?: Component }
|
|
194
|
+
export interface ProjectMenuItem { key: string; label: string; disabled?: boolean; icon?: Component; children?: ProjectMenuItem[] }
|
|
195
195
|
export interface ProjectMenuGroup { label: string; items: ProjectMenuItem[] }
|
|
196
196
|
```
|
|
197
197
|
|
|
@@ -229,7 +229,7 @@ export interface ProjectMenuGroup { label: string; items: ProjectMenuItem[] }
|
|
|
229
229
|
Slots: No declared content slots.
|
|
230
230
|
|
|
231
231
|
```ts
|
|
232
|
-
export interface MapMenuItem { key: string; label: string; icon?: Component }
|
|
232
|
+
export interface MapMenuItem { key: string; label: string; icon?: Component; children?: MapMenuItem[] }
|
|
233
233
|
```
|
|
234
234
|
|
|
235
235
|
## MapTools
|
|
@@ -242,14 +242,16 @@ export interface MapMenuItem { key: string; label: string; icon?: Component }
|
|
|
242
242
|
| horizontal | boolean | false | false |
|
|
243
243
|
| icons | Record<string, Component> | false | () => ({}) |
|
|
244
244
|
| items | MapToolItem[] | false | undefined / no declared default |
|
|
245
|
+
| contextEnabled | boolean | false | undefined |
|
|
245
246
|
|
|
246
247
|
### Events
|
|
247
248
|
|
|
248
249
|
- `update:active` — `[key: string]`
|
|
249
250
|
- `tool-click` — `[key: string]`
|
|
250
251
|
- `context-change` — `[enabled: boolean]`
|
|
252
|
+
- `update:contextEnabled` — `[enabled: boolean]`
|
|
251
253
|
|
|
252
|
-
Slots:
|
|
254
|
+
Slots: before, after, panel
|
|
253
255
|
|
|
254
256
|
```ts
|
|
255
257
|
export interface MapToolItem { key: string; label: string; icon?: Component }
|
|
@@ -310,12 +312,17 @@ Slots: No declared content slots.
|
|
|
310
312
|
| Name | Type | Required | Default expression |
|
|
311
313
|
|---|---|---|---|
|
|
312
314
|
| collapsed | boolean | false | false |
|
|
315
|
+
| management | boolean | false | false |
|
|
316
|
+
| groups | ProjectMenuGroup[] | false | () => [] |
|
|
317
|
+
| active | string | false | '' |
|
|
318
|
+
| workspaceStyle | Record<string, string> | false | undefined / no declared default |
|
|
313
319
|
|
|
314
320
|
### Events
|
|
315
321
|
|
|
316
|
-
|
|
322
|
+
- `update:active` — `[key: string]`
|
|
323
|
+
- `select` — `[item: ProjectMenuItem]`
|
|
317
324
|
|
|
318
|
-
Slots: default
|
|
325
|
+
Slots: header, sidebar-footer, workspace, default
|
|
319
326
|
|
|
320
327
|
## WorkbenchPanel
|
|
321
328
|
|
|
@@ -357,10 +364,13 @@ Slots: icon
|
|
|
357
364
|
| Name | Type | Required | Default expression |
|
|
358
365
|
|---|---|---|---|
|
|
359
366
|
| rows | ProcessChartRow[] | true | undefined / no declared default |
|
|
367
|
+
| series | { name: string; rows: ProcessChartRow[] }[] | false | undefined / no declared default |
|
|
360
368
|
| engine | ProcessChartEngine | true | undefined / no declared default |
|
|
361
369
|
| kind | 'rain' | 'flow' | 'line' | false | 'rain' |
|
|
362
370
|
| unit | string | false | '' |
|
|
363
371
|
| label | string | false | undefined / no declared default |
|
|
372
|
+
| timeZone | string | false | undefined / no declared default |
|
|
373
|
+
| currentTime | string | false | undefined / no declared default |
|
|
364
374
|
|
|
365
375
|
### Events
|
|
366
376
|
|
|
@@ -383,6 +393,9 @@ export interface ProcessChartEngine { init: (element: HTMLElement) => ProcessCha
|
|
|
383
393
|
| nodes | MapLayerNode[] | true | undefined / no declared default |
|
|
384
394
|
| basemap | string | false | 'imagery' |
|
|
385
395
|
| annotation | boolean | false | true |
|
|
396
|
+
| closable | boolean | false | true |
|
|
397
|
+
| showLocate | boolean | false | true |
|
|
398
|
+
| showOpacity | boolean | false | true |
|
|
386
399
|
|
|
387
400
|
### Events
|
|
388
401
|
|
|
@@ -407,15 +420,536 @@ export interface MapLayerNode { id: string; name: string; visible?: boolean; opa
|
|
|
407
420
|
|
|
408
421
|
| Name | Type | Required | Default expression |
|
|
409
422
|
|---|---|---|---|
|
|
423
|
+
| timelineLeft | string | false | undefined / no declared default |
|
|
424
|
+
| timelineRight | string | false | undefined / no declared default |
|
|
425
|
+
| leftPanelWidth | string | false | '320px' |
|
|
410
426
|
| rightOpen | boolean | false | false |
|
|
411
427
|
| rightPanelEnabled | boolean | false | true |
|
|
412
428
|
| rightPanelWidth | string | false | '' |
|
|
429
|
+
| toolbarTop | string | false | '' |
|
|
430
|
+
| contentTop | string | false | '' |
|
|
431
|
+
| edge | string | false | '' |
|
|
432
|
+
| variant | 'workbench' | 'atlas' | false | 'workbench' |
|
|
433
|
+
|
|
434
|
+
### Events
|
|
435
|
+
|
|
436
|
+
- `timeline-height` — `[height: number]`
|
|
437
|
+
|
|
438
|
+
Slots: left, top, toolbar, right, legend, timeline, content, default
|
|
439
|
+
|
|
440
|
+
## RainfallRankingTable
|
|
441
|
+
|
|
442
|
+
### Props
|
|
443
|
+
|
|
444
|
+
| Name | Type | Required | Default expression |
|
|
445
|
+
|---|---|---|---|
|
|
446
|
+
| rows | RainfallRankingRow[] | false | () => [] |
|
|
447
|
+
| period | string | false | '24h' |
|
|
448
|
+
| unit | string | false | 'mm' |
|
|
449
|
+
| dataSource | string[] | false | () => [] |
|
|
450
|
+
| dataSourceOptions | DataSourceOption[] | false | () => [] |
|
|
451
|
+
| dataSourceLoading | boolean | false | false |
|
|
452
|
+
| rainfallLevels | RainfallLevelOption[] | false | () => [
|
|
453
|
+
{ key: 'extremeStorm', label: '≥250', min: 250, color: 'rgba(129, 0, 64, 1)', textColor: '#ffffff' },
|
|
454
|
+
{ key: 'hardStorm', label: '100~250', min: 100, color: 'rgba(244, 5, 237, 1)', textColor: '#ffffff' },
|
|
455
|
+
{ key: 'storm', label: '50~100', min: 50, color: 'rgba(2, 1, 252, 1)', textColor: '#ffffff' },
|
|
456
|
+
{ key: 'heavy', label: '25~50', min: 25, color: 'rgba(100, 184, 245, 1)', textColor: '#ffffff' },
|
|
457
|
+
{ key: 'moderate', label: '10~25', min: 10, color: 'rgba(61, 185, 63, 1)', textColor: '#ffffff' },
|
|
458
|
+
{ key: 'light', label: '0.5~10', min: 0.5, color: 'rgba(164, 243, 143, 1)', textColor: '#1f2937' },
|
|
459
|
+
{ key: 'none', label: '0~0.5', min: 0, color: '#ffffff', textColor: '#334155' }
|
|
460
|
+
] |
|
|
461
|
+
| visibleLevelKeys | RainfallLevelKey[] | false | () => ['none', 'light', 'moderate', 'heavy', 'storm', 'hardStorm', 'extremeStorm'] |
|
|
462
|
+
| loading | boolean | false | false |
|
|
463
|
+
|
|
464
|
+
### Events
|
|
465
|
+
|
|
466
|
+
- `close` — `[]`
|
|
467
|
+
- `locate` — `[row: RainfallRankingRow]`
|
|
468
|
+
- `rangeChange` — `[payload: { label: string, range: DateRangeValue }]`
|
|
469
|
+
- `sourceChange` — `[value: string[], payload: DataSourceChangePayload]`
|
|
470
|
+
- `levelVisibilityChange` — `[key: RainfallLevelKey, visible: boolean]`
|
|
471
|
+
|
|
472
|
+
Slots: No declared content slots.
|
|
473
|
+
|
|
474
|
+
```ts
|
|
475
|
+
type SortDirection = 'asc' | 'desc'
|
|
476
|
+
export type RainfallLevelKey = 'none' | 'light' | 'moderate' | 'heavy' | 'storm' | 'hardStorm' | 'extremeStorm'
|
|
477
|
+
type RangeShortcutKey = 'current' | '1h' | '24h' | '3d' | '7d' | '1m'
|
|
478
|
+
type DateRangeValue = [string, string]
|
|
479
|
+
type RangeShortcut = {
|
|
480
|
+
key: RangeShortcutKey
|
|
481
|
+
label: string
|
|
482
|
+
amount: number
|
|
483
|
+
unit: 'current' | 'hour' | 'day' | 'month',
|
|
484
|
+
type: '1' | '2' // 1是显示日期 2是显示文字
|
|
485
|
+
}
|
|
486
|
+
export type DataSourceOption = {
|
|
487
|
+
label: string
|
|
488
|
+
value: string
|
|
489
|
+
}
|
|
490
|
+
export type DataSourceChangePayload = {
|
|
491
|
+
selectedSources: string[]
|
|
492
|
+
addedSources: string[]
|
|
493
|
+
removedSources: string[]
|
|
494
|
+
}
|
|
495
|
+
export type RainfallLevelOption = {
|
|
496
|
+
key: RainfallLevelKey
|
|
497
|
+
label: string
|
|
498
|
+
min: number
|
|
499
|
+
color: string
|
|
500
|
+
textColor: string
|
|
501
|
+
}
|
|
502
|
+
export type RainfallRankingRow = {
|
|
503
|
+
id?: string | number
|
|
504
|
+
stationName: string
|
|
505
|
+
rainfall: number
|
|
506
|
+
region?: string
|
|
507
|
+
longitude?: number
|
|
508
|
+
latitude?: number
|
|
509
|
+
elevation?: number | null
|
|
510
|
+
dataSource?: string
|
|
511
|
+
dataSourceName?: string
|
|
512
|
+
sourceCode?: string | number
|
|
513
|
+
}
|
|
514
|
+
```
|
|
515
|
+
|
|
516
|
+
## RainfallProcessChart
|
|
517
|
+
|
|
518
|
+
### Props
|
|
519
|
+
|
|
520
|
+
| Name | Type | Required | Default expression |
|
|
521
|
+
|---|---|---|---|
|
|
522
|
+
| stations | RainfallRankingRow[] | false | () => [] |
|
|
523
|
+
| selectedStations | RainfallRankingRow[] | false | () => [] |
|
|
524
|
+
| rowsByStation | Record<string, RainHourlyPrecipitation[]> | false | () => ({}) |
|
|
525
|
+
| range | [string, string] | true | undefined / no declared default |
|
|
526
|
+
| loading | boolean | false | false |
|
|
527
|
+
|
|
528
|
+
### Events
|
|
529
|
+
|
|
530
|
+
- `close` — `[]`
|
|
531
|
+
- `query` — `[payload: { stationIds: StationId[], range: [string, string], quickKey?: QuickRangeKey }]`
|
|
532
|
+
|
|
533
|
+
Slots: No declared content slots.
|
|
534
|
+
|
|
535
|
+
```ts
|
|
536
|
+
type EChartsOption = Record<string, any>
|
|
537
|
+
type RainHourlyPrecipitation = { dt: string; drp?: number | null; [key: string]: number | string | null | undefined }
|
|
538
|
+
type StationId = string
|
|
539
|
+
type ProcessSeries = {
|
|
540
|
+
station: RainfallRankingRow
|
|
541
|
+
rainfallName: string
|
|
542
|
+
totalName: string
|
|
543
|
+
rainfallData: Array<number | null>
|
|
544
|
+
totalData: number[]
|
|
545
|
+
latestTotal: number
|
|
546
|
+
}
|
|
547
|
+
type QuickRangeKey = 'current' | '24h' | '7d' | '1m' | '3m'
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
## MapValueLegend
|
|
551
|
+
|
|
552
|
+
### Props
|
|
553
|
+
|
|
554
|
+
| Name | Type | Required | Default expression |
|
|
555
|
+
|---|---|---|---|
|
|
556
|
+
| title | string | true | undefined / no declared default |
|
|
557
|
+
| layerName | string | false | '' |
|
|
558
|
+
| unit | string | false | '' |
|
|
559
|
+
| variant | MapValueLegendVariant | false | 'list' |
|
|
560
|
+
| items | MapValueLegendItem[] | false | () => [] |
|
|
561
|
+
| gradientStops | MapValueLegendGradientStop[] | false | () => [] |
|
|
562
|
+
| tickLabels | string[] | false | () => [] |
|
|
563
|
+
| allVisible | boolean | false | true |
|
|
564
|
+
| toggleable | boolean | false | true |
|
|
565
|
+
|
|
566
|
+
### Events
|
|
567
|
+
|
|
568
|
+
- `toggle` — `[key: string, visible: boolean, layerName: string]`
|
|
569
|
+
- `toggleAll` — `[visible: boolean, layerName: string]`
|
|
570
|
+
|
|
571
|
+
Slots: No declared content slots.
|
|
572
|
+
|
|
573
|
+
```ts
|
|
574
|
+
type MapValueLegendVariant = 'list' | 'gradient'
|
|
575
|
+
export type MapValueLegendItem = {
|
|
576
|
+
key: string
|
|
577
|
+
label: string
|
|
578
|
+
color: string
|
|
579
|
+
count?: number
|
|
580
|
+
visible?: boolean
|
|
581
|
+
empty?: boolean
|
|
582
|
+
}
|
|
583
|
+
export type MapValueLegendGradientStop = {
|
|
584
|
+
offset: number
|
|
585
|
+
color: string
|
|
586
|
+
}
|
|
587
|
+
```
|
|
588
|
+
|
|
589
|
+
## AtlasRankingPanel
|
|
590
|
+
|
|
591
|
+
### Props
|
|
592
|
+
|
|
593
|
+
| Name | Type | Required | Default expression |
|
|
594
|
+
|---|---|---|---|
|
|
595
|
+
|
|
596
|
+
### Events
|
|
597
|
+
|
|
598
|
+
No declared events.
|
|
599
|
+
|
|
600
|
+
Slots: default
|
|
601
|
+
|
|
602
|
+
## AtlasProcessPanel
|
|
603
|
+
|
|
604
|
+
### Props
|
|
605
|
+
|
|
606
|
+
| Name | Type | Required | Default expression |
|
|
607
|
+
|---|---|---|---|
|
|
608
|
+
|
|
609
|
+
### Events
|
|
610
|
+
|
|
611
|
+
No declared events.
|
|
612
|
+
|
|
613
|
+
Slots: default
|
|
614
|
+
|
|
615
|
+
## AtlasProcessChart
|
|
616
|
+
|
|
617
|
+
### Props
|
|
618
|
+
|
|
619
|
+
| Name | Type | Required | Default expression |
|
|
620
|
+
|---|---|---|---|
|
|
621
|
+
| option | EChartsOption | null | false | null |
|
|
622
|
+
| loading | boolean | false | false |
|
|
623
|
+
| empty | boolean | false | false |
|
|
624
|
+
| loadingText | string | false | '加载中...' |
|
|
625
|
+
| emptyText | string | false | '暂无过程线数据' |
|
|
626
|
+
|
|
627
|
+
### Events
|
|
628
|
+
|
|
629
|
+
No declared events.
|
|
630
|
+
|
|
631
|
+
Slots: No declared content slots.
|
|
632
|
+
|
|
633
|
+
```ts
|
|
634
|
+
type EChartsOption = Record<string, any>
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
## StationComparisonPanel
|
|
638
|
+
|
|
639
|
+
### Props
|
|
640
|
+
|
|
641
|
+
| Name | Type | Required | Default expression |
|
|
642
|
+
|---|---|---|---|
|
|
643
|
+
| rows | { id: string; label: string }[] | true | undefined / no declared default |
|
|
644
|
+
| selected | string[] | true | undefined / no declared default |
|
|
645
|
+
|
|
646
|
+
### Events
|
|
647
|
+
|
|
648
|
+
- `update:selected` — `[ids: string[]]`
|
|
649
|
+
- `compare` — `[]`
|
|
650
|
+
- `locate` — `[id: string]`
|
|
651
|
+
- `close` — `[]`
|
|
652
|
+
|
|
653
|
+
Slots: No declared content slots.
|
|
654
|
+
|
|
655
|
+
## MapOperationPanel
|
|
656
|
+
|
|
657
|
+
### Props
|
|
658
|
+
|
|
659
|
+
| Name | Type | Required | Default expression |
|
|
660
|
+
|---|---|---|---|
|
|
661
|
+
| tools | any | true | undefined / no declared default |
|
|
662
|
+
| drawTools | { mode: string; label: string; iconPath: string }[] | true | undefined / no declared default |
|
|
663
|
+
| title | string | false | '地图工具' |
|
|
664
|
+
| showDraw | boolean | false | true |
|
|
665
|
+
| showMeasure | boolean | false | true |
|
|
666
|
+
| showMap | boolean | false | true |
|
|
667
|
+
| showImport | boolean | false | true |
|
|
668
|
+
| showExport | boolean | false | true |
|
|
413
669
|
|
|
414
670
|
### Events
|
|
415
671
|
|
|
416
672
|
No declared events.
|
|
417
673
|
|
|
418
|
-
Slots:
|
|
674
|
+
Slots: message, footer
|
|
675
|
+
|
|
676
|
+
```ts
|
|
677
|
+
type MapDrawMode = string
|
|
678
|
+
type MapMeasureMode = string
|
|
679
|
+
type MapOperationSnapshot = any
|
|
680
|
+
```
|
|
681
|
+
|
|
682
|
+
## SpaceAnalysisPanel
|
|
683
|
+
|
|
684
|
+
### Props
|
|
685
|
+
|
|
686
|
+
| Name | Type | Required | Default expression |
|
|
687
|
+
|---|---|---|---|
|
|
688
|
+
| selectionStore | any | true | undefined / no declared default |
|
|
689
|
+
| provider | any | true | undefined / no declared default |
|
|
690
|
+
|
|
691
|
+
### Events
|
|
692
|
+
|
|
693
|
+
No declared events.
|
|
694
|
+
|
|
695
|
+
Slots: No declared content slots.
|
|
696
|
+
|
|
697
|
+
```ts
|
|
698
|
+
type GisSelectionRecord = any
|
|
699
|
+
type SpaceAnalysisAction = any
|
|
700
|
+
```
|
|
701
|
+
|
|
702
|
+
## SpatialScopeInput
|
|
703
|
+
|
|
704
|
+
### Props
|
|
705
|
+
|
|
706
|
+
| Name | Type | Required | Default expression |
|
|
707
|
+
|---|---|---|---|
|
|
708
|
+
| reservoirOnly | boolean | false | undefined / no declared default |
|
|
709
|
+
| modelValue | SpatialScopeValue | true | undefined / no declared default |
|
|
710
|
+
| regions | Array<{ value: string; label: string; children?: any[] }> | false | () => [] |
|
|
711
|
+
| reservoirs | Array<{ value: string; label: string }> | false | () => [] |
|
|
712
|
+
| loading | boolean | false | false |
|
|
713
|
+
| error | string | false | '' |
|
|
714
|
+
| boundaryName | string | false | '' |
|
|
715
|
+
| boundaryCount | number | false | 0 |
|
|
716
|
+
| previewUrl | string | false | '' |
|
|
717
|
+
| previewPaths | string[] | false | () => [] |
|
|
718
|
+
| busy | boolean | false | false |
|
|
719
|
+
|
|
720
|
+
### Events
|
|
721
|
+
|
|
722
|
+
- `update:modelValue` — `[value: SpatialScopeValue]`
|
|
723
|
+
- `upload` — `[file: File]`
|
|
724
|
+
- `draw` — `[]`
|
|
725
|
+
- `view` — `[]`
|
|
726
|
+
- `clear` — `[]`
|
|
727
|
+
- `retry` — `[]`
|
|
728
|
+
|
|
729
|
+
Slots: No declared content slots.
|
|
730
|
+
|
|
731
|
+
```ts
|
|
732
|
+
export interface SpatialScopeValue { mode: 'catalog' | 'upload' | 'draw'; regionCodes: string[]; reservoirCodes: string[]; boundaryTarget?: 'region' | 'reservoir'; reservoirName?: string }
|
|
733
|
+
```
|
|
734
|
+
|
|
735
|
+
## MapEditorDialog
|
|
736
|
+
|
|
737
|
+
### Props
|
|
738
|
+
|
|
739
|
+
| Name | Type | Required | Default expression |
|
|
740
|
+
|---|---|---|---|
|
|
741
|
+
| modelValue | boolean | true | undefined / no declared default |
|
|
742
|
+
| title | string | false | '地图范围编辑' |
|
|
743
|
+
| hint | string | false | '选择面、矩形或圆进行绘制;双击或 Enter 完成,Esc 取消,完成后可拖动编辑。' |
|
|
744
|
+
|
|
745
|
+
### Events
|
|
746
|
+
|
|
747
|
+
- `update:modelValue` — `[value: boolean]`
|
|
748
|
+
- `ready` — `[host: HTMLElement]`
|
|
749
|
+
|
|
750
|
+
Slots: map, tools, message, footer
|
|
751
|
+
|
|
752
|
+
## ManagementFormDialog
|
|
753
|
+
|
|
754
|
+
### Props
|
|
755
|
+
|
|
756
|
+
| Name | Type | Required | Default expression |
|
|
757
|
+
|---|---|---|---|
|
|
758
|
+
| modelValue | boolean | true | undefined / no declared default |
|
|
759
|
+
| title | string | false | '编辑信息' |
|
|
760
|
+
| split | boolean | false | true |
|
|
761
|
+
| busy | boolean | false | false |
|
|
762
|
+
|
|
763
|
+
### Events
|
|
764
|
+
|
|
765
|
+
- `update:modelValue` — `[value:boolean]`
|
|
766
|
+
|
|
767
|
+
Slots: message, primary, default, footer
|
|
768
|
+
|
|
769
|
+
## ManagementResourceLayout
|
|
770
|
+
|
|
771
|
+
### Props
|
|
772
|
+
|
|
773
|
+
| Name | Type | Required | Default expression |
|
|
774
|
+
|---|---|---|---|
|
|
775
|
+
| title | string | false | undefined / no declared default |
|
|
776
|
+
| description | string | false | undefined / no declared default |
|
|
777
|
+
| showIntro | boolean | false | true |
|
|
778
|
+
|
|
779
|
+
### Events
|
|
780
|
+
|
|
781
|
+
No declared events.
|
|
782
|
+
|
|
783
|
+
Slots: summary, filters, heading, actions, default
|
|
784
|
+
|
|
785
|
+
## GlobalMapLayerDock
|
|
786
|
+
|
|
787
|
+
### Props
|
|
788
|
+
|
|
789
|
+
| Name | Type | Required | Default expression |
|
|
790
|
+
|---|---|---|---|
|
|
791
|
+
| title | string | false | '地图叠加图层' |
|
|
792
|
+
| subtitle | string | false | '' |
|
|
793
|
+
| enabled | boolean | false | false |
|
|
794
|
+
| expanded | boolean | false | false |
|
|
795
|
+
|
|
796
|
+
### Events
|
|
797
|
+
|
|
798
|
+
- `update:enabled` — `[value:boolean]`
|
|
799
|
+
- `update:expanded` — `[value:boolean]`
|
|
800
|
+
|
|
801
|
+
Slots: actions, default, status
|
|
802
|
+
|
|
803
|
+
## MapPointProcessDialog
|
|
804
|
+
|
|
805
|
+
### Props
|
|
806
|
+
|
|
807
|
+
| Name | Type | Required | Default expression |
|
|
808
|
+
|---|---|---|---|
|
|
809
|
+
| modelValue | boolean | true | undefined / no declared default |
|
|
810
|
+
| title | string | false | '降水预报过程' |
|
|
811
|
+
| subtitle | string | false | '' |
|
|
812
|
+
| loading | boolean | false | false |
|
|
813
|
+
| error | string | false | '' |
|
|
814
|
+
| rows | ProcessChartRow[] | true | undefined / no declared default |
|
|
815
|
+
| engine | ProcessChartEngine | true | undefined / no declared default |
|
|
816
|
+
| unit | string | false | 'mm' |
|
|
817
|
+
|
|
818
|
+
### Events
|
|
819
|
+
|
|
820
|
+
- `update:modelValue` — `[value:boolean]`
|
|
821
|
+
|
|
822
|
+
Slots: No declared content slots.
|
|
823
|
+
|
|
824
|
+
## MapFeatureListPanel
|
|
825
|
+
|
|
826
|
+
### Props
|
|
827
|
+
|
|
828
|
+
| Name | Type | Required | Default expression |
|
|
829
|
+
|---|---|---|---|
|
|
830
|
+
| title | string | true | undefined / no declared default |
|
|
831
|
+
| rows | Record<string, any>[] | false | ()=>[] |
|
|
832
|
+
| columns | {prop:string;label:string;width?:number}[] | false | ()=>[] |
|
|
833
|
+
| searchFields | string[] | false | ()=>['name'] |
|
|
834
|
+
| searchPlaceholder | string | false | '搜索名称' |
|
|
835
|
+
| emptyText | string | false | '暂无数据' |
|
|
836
|
+
|
|
837
|
+
### Events
|
|
838
|
+
|
|
839
|
+
- `close` — `[]`
|
|
840
|
+
- `locate` — `[row:Record<string,any>]`
|
|
841
|
+
|
|
842
|
+
Slots: footer
|
|
843
|
+
|
|
844
|
+
## MapBottomProcessPanel
|
|
845
|
+
|
|
846
|
+
### Props
|
|
847
|
+
|
|
848
|
+
| Name | Type | Required | Default expression |
|
|
849
|
+
|---|---|---|---|
|
|
850
|
+
| title | string | true | undefined / no declared default |
|
|
851
|
+
| subtitle | string | false | '' |
|
|
852
|
+
| demo | boolean | false | false |
|
|
853
|
+
| series | {name:string;rows:ProcessChartRow[]}[] | true | undefined / no declared default |
|
|
854
|
+
| engine | ProcessChartEngine | true | undefined / no declared default |
|
|
855
|
+
| unit | string | false | 'mm' |
|
|
856
|
+
| timeZone | string | false | undefined / no declared default |
|
|
857
|
+
| currentTime | string | false | undefined / no declared default |
|
|
858
|
+
|
|
859
|
+
### Events
|
|
860
|
+
|
|
861
|
+
- `close` — `[]`
|
|
862
|
+
|
|
863
|
+
Slots: No declared content slots.
|
|
864
|
+
|
|
865
|
+
## MapWorkspacePanel
|
|
866
|
+
|
|
867
|
+
### Props
|
|
868
|
+
|
|
869
|
+
| Name | Type | Required | Default expression |
|
|
870
|
+
|---|---|---|---|
|
|
871
|
+
| title | string | true | undefined / no declared default |
|
|
872
|
+
| subtitle | string | false | undefined / no declared default |
|
|
873
|
+
|
|
874
|
+
### Events
|
|
875
|
+
|
|
876
|
+
No declared events.
|
|
877
|
+
|
|
878
|
+
Slots: actions, default, footer
|
|
879
|
+
|
|
880
|
+
## NationalHydroSidebar
|
|
881
|
+
|
|
882
|
+
### Props
|
|
883
|
+
|
|
884
|
+
| Name | Type | Required | Default expression |
|
|
885
|
+
|---|---|---|---|
|
|
886
|
+
| selected | SelectedFeature | false | () => ({ rid: '', streamOrder: null }) |
|
|
887
|
+
| locationLng | string | false | '' |
|
|
888
|
+
| locationLat | string | false | '' |
|
|
889
|
+
| meteoSource | string | false | 'wrf' |
|
|
890
|
+
| model | string | false | 'chm' |
|
|
891
|
+
| batchId | string | false | '' |
|
|
892
|
+
| batchList | BatchOption[] | false | () => [] |
|
|
893
|
+
| selectedTimeZone | string | false | '' |
|
|
894
|
+
| timeZoneOptions | TimeZoneOption[] | false | () => [] |
|
|
895
|
+
|
|
896
|
+
### Events
|
|
897
|
+
|
|
898
|
+
- `undefined` — `void`
|
|
899
|
+
- `undefined` — `void`
|
|
900
|
+
- `undefined` — `void`
|
|
901
|
+
- `undefined` — `void`
|
|
902
|
+
- `undefined` — `void`
|
|
903
|
+
- `undefined` — `void`
|
|
904
|
+
- `undefined` — `void`
|
|
905
|
+
|
|
906
|
+
Slots: status
|
|
907
|
+
|
|
908
|
+
```ts
|
|
909
|
+
type LocationField = 'lng' | 'lat'
|
|
910
|
+
export interface SelectedFeature {
|
|
911
|
+
rid?: string | number
|
|
912
|
+
streamOrder?: string | number | null
|
|
913
|
+
}
|
|
914
|
+
export interface BatchOption {
|
|
915
|
+
batchId?: string | number
|
|
916
|
+
[key: string]: unknown
|
|
917
|
+
}
|
|
918
|
+
export interface TimeZoneOption {
|
|
919
|
+
label: string
|
|
920
|
+
value: string
|
|
921
|
+
}
|
|
922
|
+
```
|
|
923
|
+
|
|
924
|
+
## MapSchemeSelect
|
|
925
|
+
|
|
926
|
+
### Props
|
|
927
|
+
|
|
928
|
+
| Name | Type | Required | Default expression |
|
|
929
|
+
|---|---|---|---|
|
|
930
|
+
| modelValue | string | false | '' |
|
|
931
|
+
| options | {value:string;label:string}[] | true | undefined / no declared default |
|
|
932
|
+
| placeholder | string | false | '选择预报方案' |
|
|
933
|
+
|
|
934
|
+
### Events
|
|
935
|
+
|
|
936
|
+
- `update:modelValue` — `[value:string]`
|
|
937
|
+
- `create` — `[]`
|
|
938
|
+
|
|
939
|
+
Slots: No declared content slots.
|
|
940
|
+
|
|
941
|
+
## DefenseMapLayout
|
|
942
|
+
|
|
943
|
+
### Props
|
|
944
|
+
|
|
945
|
+
| Name | Type | Required | Default expression |
|
|
946
|
+
|---|---|---|---|
|
|
947
|
+
|
|
948
|
+
### Events
|
|
949
|
+
|
|
950
|
+
No declared events.
|
|
951
|
+
|
|
952
|
+
Slots: default
|
|
419
953
|
|
|
420
954
|
## UiAffix
|
|
421
955
|
|