sky-ui-kit 0.1.4 → 0.1.5
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 +433 -2
- 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/MapOperationPanel.vue.d.ts +11 -0
- package/dist/components/MapTools.vue.d.ts +15 -1
- package/dist/components/MapValueLegend.vue.d.ts +42 -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/StationComparisonPanel.vue.d.ts +20 -0
- package/dist/components/TemplateLayout.vue.d.ts +8 -0
- package/dist/components/index.d.ts +314 -12
- package/dist/components.js +2728 -1279
- package/dist/style.css +1 -1
- package/docs/AI-CHANGELOG.md +7 -0
- package/docs/COMPONENT-API.md +261 -1
- package/docs/CONSUMERS.md +7 -0
- package/docs/CSS-THEME.md +7 -0
- package/docs/ELEMENT-PLUS-COVERAGE.md +1 -1
- package/docs/INTEGRATION.md +7 -0
- package/llms-full.txt +284 -3
- package/llms.txt +1 -1
- package/package.json +2 -4
package/llms-full.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# sky-ui-kit
|
|
2
2
|
|
|
3
|
-
> Vue 3 components compatible with Element Plus, project menus, timeline and map tools. Version 0.1.
|
|
3
|
+
> Vue 3 components compatible with Element Plus, project menus, timeline and map tools. Version 0.1.5. AI tools must explicitly load these files.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
@@ -3180,6 +3180,13 @@ WorkbenchShell 添加 management-layout 样式变体:顶部栏、侧栏、滚
|
|
|
3180
3180
|
## 2026-10-14 · 0.1.4 发布准备
|
|
3181
3181
|
|
|
3182
3182
|
汇集当前工作区地图布局 TemplateLayout、工作台与管理样式、图层控制、过程图 line/label 以及菜单修订。重新生成 API 与 AI 文档,发布状态以 npm 注册表为准。
|
|
3183
|
+
|
|
3184
|
+
|
|
3185
|
+
2026-10-14 / dev.20:一体机雨量站按参考平台 /atlas/elments/rain 原源码迁移,保留 RainfallRankingTable、RainfallProcessChart、MapValueLegend 的 DOM、CSS、分级与交互,主题变量仅映射到既有 userssite 命名。公开 RainfallRankingTable、RainfallProcessChart、MapValueLegend、AtlasRankingPanel、AtlasProcessPanel、AtlasProcessChart、StationComparisonPanel、MapOperationPanel、SpaceAnalysisPanel;MapTools 新增 before/after/panel 插槽。TemplateLayout 增加 variant=atlas,采用原页面右栏贴右、工具栏右栏左侧、右下图例与底部过程面板的避让几何,workbench 默认行为保留。图表通过 provide('sky-chart-engine', engine) 注入,无业务请求或地图实例进入组件库。MapOperationPanel 接受 tools 和 drawTools;SpaceAnalysisPanel 接受 selectionStore 与 provider,绘制、GIS、空间分析业务由消费方注入。消费项目新雨量页通过平台地图单例绘制非聚合圆点,多数据源各自独立图层,原七级雨量颜色和缩放半径;复用原时间范围、数据源差量请求与批量过程接口。未构建、未打包、未浏览器验证、未发布 npm。需用户发布含新出口版本后更新消费包;当前项目保留旧包兼容显示,避免缺少新出口导致白屏。
|
|
3186
|
+
|
|
3187
|
+
2026-10-14:TemplateLayout 新增 contentTop(布局相对地图容器的顶部避让)和 edge(右栏与工具栏共用边距)。工具栏默认顶部跟随右栏,移除186独立偏移;toolbar插槽内MapTools/map-toolbar取消再次绝对定位,避免偏移叠加。当前仅源码修改,发布时必须重新构建产物,再升级版本发布;消费项目仍安装0.1.4,尚未获得此修复。
|
|
3188
|
+
|
|
3189
|
+
0.1.5 / 2026-10-14:右侧插槽容器采用flex并限制内部溢出,AtlasRankingPanel铺满容器;图例默认底部与右侧面板共用 --template-right-bottom,过程图展开时才额外避让。contentTop/edge控制顶部工作区和共同间距,toolbar插槽的工具栏取消重复绝对定位。修复雨量分级与虚拟行局部CSS变量命名、过程图tooltip参数类型。移除误加的本地消费项目file依赖,库不能依赖使用它的业务项目。打包和类型检查通过;地图页面已检查工具栏/右面板顶部76px、面板/图例底部874px对齐。
|
|
3183
3190
|
|
|
3184
3191
|
# Component API reference
|
|
3185
3192
|
|
|
@@ -3432,7 +3439,7 @@ export interface MapMenuItem { key: string; label: string; icon?: Component }
|
|
|
3432
3439
|
- `tool-click` — `[key: string]`
|
|
3433
3440
|
- `context-change` — `[enabled: boolean]`
|
|
3434
3441
|
|
|
3435
|
-
Slots:
|
|
3442
|
+
Slots: before, after, panel
|
|
3436
3443
|
|
|
3437
3444
|
```ts
|
|
3438
3445
|
export interface MapToolItem { key: string; label: string; icon?: Component }
|
|
@@ -3593,6 +3600,10 @@ export interface MapLayerNode { id: string; name: string; visible?: boolean; opa
|
|
|
3593
3600
|
| rightOpen | boolean | false | false |
|
|
3594
3601
|
| rightPanelEnabled | boolean | false | true |
|
|
3595
3602
|
| rightPanelWidth | string | false | '' |
|
|
3603
|
+
| toolbarTop | string | false | '' |
|
|
3604
|
+
| contentTop | string | false | '' |
|
|
3605
|
+
| edge | string | false | '' |
|
|
3606
|
+
| variant | 'workbench' | 'atlas' | false | 'workbench' |
|
|
3596
3607
|
|
|
3597
3608
|
### Events
|
|
3598
3609
|
|
|
@@ -3600,6 +3611,262 @@ No declared events.
|
|
|
3600
3611
|
|
|
3601
3612
|
Slots: top, toolbar, right, legend, timeline, content, default
|
|
3602
3613
|
|
|
3614
|
+
## RainfallRankingTable
|
|
3615
|
+
|
|
3616
|
+
### Props
|
|
3617
|
+
|
|
3618
|
+
| Name | Type | Required | Default expression |
|
|
3619
|
+
|---|---|---|---|
|
|
3620
|
+
| rows | RainfallRankingRow[] | false | () => [] |
|
|
3621
|
+
| period | string | false | '24h' |
|
|
3622
|
+
| unit | string | false | 'mm' |
|
|
3623
|
+
| dataSource | string[] | false | () => [] |
|
|
3624
|
+
| dataSourceOptions | DataSourceOption[] | false | () => [] |
|
|
3625
|
+
| dataSourceLoading | boolean | false | false |
|
|
3626
|
+
| rainfallLevels | RainfallLevelOption[] | false | () => [
|
|
3627
|
+
{ key: 'extremeStorm', label: '≥250', min: 250, color: 'rgba(129, 0, 64, 1)', textColor: '#ffffff' },
|
|
3628
|
+
{ key: 'hardStorm', label: '100~250', min: 100, color: 'rgba(244, 5, 237, 1)', textColor: '#ffffff' },
|
|
3629
|
+
{ key: 'storm', label: '50~100', min: 50, color: 'rgba(2, 1, 252, 1)', textColor: '#ffffff' },
|
|
3630
|
+
{ key: 'heavy', label: '25~50', min: 25, color: 'rgba(100, 184, 245, 1)', textColor: '#ffffff' },
|
|
3631
|
+
{ key: 'moderate', label: '10~25', min: 10, color: 'rgba(61, 185, 63, 1)', textColor: '#ffffff' },
|
|
3632
|
+
{ key: 'light', label: '0.5~10', min: 0.5, color: 'rgba(164, 243, 143, 1)', textColor: '#1f2937' },
|
|
3633
|
+
{ key: 'none', label: '0~0.5', min: 0, color: '#ffffff', textColor: '#334155' }
|
|
3634
|
+
] |
|
|
3635
|
+
| visibleLevelKeys | RainfallLevelKey[] | false | () => ['none', 'light', 'moderate', 'heavy', 'storm', 'hardStorm', 'extremeStorm'] |
|
|
3636
|
+
| loading | boolean | false | false |
|
|
3637
|
+
|
|
3638
|
+
### Events
|
|
3639
|
+
|
|
3640
|
+
- `close` — `[]`
|
|
3641
|
+
- `locate` — `[row: RainfallRankingRow]`
|
|
3642
|
+
- `rangeChange` — `[payload: { label: string, range: DateRangeValue }]`
|
|
3643
|
+
- `sourceChange` — `[value: string[], payload: DataSourceChangePayload]`
|
|
3644
|
+
- `levelVisibilityChange` — `[key: RainfallLevelKey, visible: boolean]`
|
|
3645
|
+
|
|
3646
|
+
Slots: No declared content slots.
|
|
3647
|
+
|
|
3648
|
+
```ts
|
|
3649
|
+
type SortDirection = 'asc' | 'desc'
|
|
3650
|
+
export type RainfallLevelKey = 'none' | 'light' | 'moderate' | 'heavy' | 'storm' | 'hardStorm' | 'extremeStorm'
|
|
3651
|
+
type RangeShortcutKey = 'current' | '1h' | '24h' | '3d' | '7d' | '1m'
|
|
3652
|
+
type DateRangeValue = [string, string]
|
|
3653
|
+
type RangeShortcut = {
|
|
3654
|
+
key: RangeShortcutKey
|
|
3655
|
+
label: string
|
|
3656
|
+
amount: number
|
|
3657
|
+
unit: 'current' | 'hour' | 'day' | 'month',
|
|
3658
|
+
type: '1' | '2' // 1是显示日期 2是显示文字
|
|
3659
|
+
}
|
|
3660
|
+
export type DataSourceOption = {
|
|
3661
|
+
label: string
|
|
3662
|
+
value: string
|
|
3663
|
+
}
|
|
3664
|
+
export type DataSourceChangePayload = {
|
|
3665
|
+
selectedSources: string[]
|
|
3666
|
+
addedSources: string[]
|
|
3667
|
+
removedSources: string[]
|
|
3668
|
+
}
|
|
3669
|
+
export type RainfallLevelOption = {
|
|
3670
|
+
key: RainfallLevelKey
|
|
3671
|
+
label: string
|
|
3672
|
+
min: number
|
|
3673
|
+
color: string
|
|
3674
|
+
textColor: string
|
|
3675
|
+
}
|
|
3676
|
+
export type RainfallRankingRow = {
|
|
3677
|
+
id?: string | number
|
|
3678
|
+
stationName: string
|
|
3679
|
+
rainfall: number
|
|
3680
|
+
region?: string
|
|
3681
|
+
longitude?: number
|
|
3682
|
+
latitude?: number
|
|
3683
|
+
elevation?: number | null
|
|
3684
|
+
dataSource?: string
|
|
3685
|
+
dataSourceName?: string
|
|
3686
|
+
sourceCode?: string | number
|
|
3687
|
+
}
|
|
3688
|
+
```
|
|
3689
|
+
|
|
3690
|
+
## RainfallProcessChart
|
|
3691
|
+
|
|
3692
|
+
### Props
|
|
3693
|
+
|
|
3694
|
+
| Name | Type | Required | Default expression |
|
|
3695
|
+
|---|---|---|---|
|
|
3696
|
+
| stations | RainfallRankingRow[] | false | () => [] |
|
|
3697
|
+
| selectedStations | RainfallRankingRow[] | false | () => [] |
|
|
3698
|
+
| rowsByStation | Record<string, RainHourlyPrecipitation[]> | false | () => ({}) |
|
|
3699
|
+
| range | [string, string] | true | undefined / no declared default |
|
|
3700
|
+
| loading | boolean | false | false |
|
|
3701
|
+
|
|
3702
|
+
### Events
|
|
3703
|
+
|
|
3704
|
+
- `close` — `[]`
|
|
3705
|
+
- `query` — `[payload: { stationIds: StationId[], range: [string, string], quickKey?: QuickRangeKey }]`
|
|
3706
|
+
|
|
3707
|
+
Slots: No declared content slots.
|
|
3708
|
+
|
|
3709
|
+
```ts
|
|
3710
|
+
type EChartsOption = Record<string, any>
|
|
3711
|
+
type RainHourlyPrecipitation = { dt: string; drp?: number | null; [key: string]: number | string | null | undefined }
|
|
3712
|
+
type StationId = string
|
|
3713
|
+
type ProcessSeries = {
|
|
3714
|
+
station: RainfallRankingRow
|
|
3715
|
+
rainfallName: string
|
|
3716
|
+
totalName: string
|
|
3717
|
+
rainfallData: Array<number | null>
|
|
3718
|
+
totalData: number[]
|
|
3719
|
+
latestTotal: number
|
|
3720
|
+
}
|
|
3721
|
+
type QuickRangeKey = 'current' | '24h' | '7d' | '1m' | '3m'
|
|
3722
|
+
```
|
|
3723
|
+
|
|
3724
|
+
## MapValueLegend
|
|
3725
|
+
|
|
3726
|
+
### Props
|
|
3727
|
+
|
|
3728
|
+
| Name | Type | Required | Default expression |
|
|
3729
|
+
|---|---|---|---|
|
|
3730
|
+
| title | string | true | undefined / no declared default |
|
|
3731
|
+
| layerName | string | false | '' |
|
|
3732
|
+
| unit | string | false | '' |
|
|
3733
|
+
| variant | MapValueLegendVariant | false | 'list' |
|
|
3734
|
+
| items | MapValueLegendItem[] | false | () => [] |
|
|
3735
|
+
| gradientStops | MapValueLegendGradientStop[] | false | () => [] |
|
|
3736
|
+
| tickLabels | string[] | false | () => [] |
|
|
3737
|
+
| allVisible | boolean | false | true |
|
|
3738
|
+
| toggleable | boolean | false | true |
|
|
3739
|
+
|
|
3740
|
+
### Events
|
|
3741
|
+
|
|
3742
|
+
- `toggle` — `[key: string, visible: boolean, layerName: string]`
|
|
3743
|
+
- `toggleAll` — `[visible: boolean, layerName: string]`
|
|
3744
|
+
|
|
3745
|
+
Slots: No declared content slots.
|
|
3746
|
+
|
|
3747
|
+
```ts
|
|
3748
|
+
type MapValueLegendVariant = 'list' | 'gradient'
|
|
3749
|
+
export type MapValueLegendItem = {
|
|
3750
|
+
key: string
|
|
3751
|
+
label: string
|
|
3752
|
+
color: string
|
|
3753
|
+
count?: number
|
|
3754
|
+
visible?: boolean
|
|
3755
|
+
empty?: boolean
|
|
3756
|
+
}
|
|
3757
|
+
export type MapValueLegendGradientStop = {
|
|
3758
|
+
offset: number
|
|
3759
|
+
color: string
|
|
3760
|
+
}
|
|
3761
|
+
```
|
|
3762
|
+
|
|
3763
|
+
## AtlasRankingPanel
|
|
3764
|
+
|
|
3765
|
+
### Props
|
|
3766
|
+
|
|
3767
|
+
| Name | Type | Required | Default expression |
|
|
3768
|
+
|---|---|---|---|
|
|
3769
|
+
|
|
3770
|
+
### Events
|
|
3771
|
+
|
|
3772
|
+
No declared events.
|
|
3773
|
+
|
|
3774
|
+
Slots: default
|
|
3775
|
+
|
|
3776
|
+
## AtlasProcessPanel
|
|
3777
|
+
|
|
3778
|
+
### Props
|
|
3779
|
+
|
|
3780
|
+
| Name | Type | Required | Default expression |
|
|
3781
|
+
|---|---|---|---|
|
|
3782
|
+
|
|
3783
|
+
### Events
|
|
3784
|
+
|
|
3785
|
+
No declared events.
|
|
3786
|
+
|
|
3787
|
+
Slots: default
|
|
3788
|
+
|
|
3789
|
+
## AtlasProcessChart
|
|
3790
|
+
|
|
3791
|
+
### Props
|
|
3792
|
+
|
|
3793
|
+
| Name | Type | Required | Default expression |
|
|
3794
|
+
|---|---|---|---|
|
|
3795
|
+
| option | EChartsOption | null | false | null |
|
|
3796
|
+
| loading | boolean | false | false |
|
|
3797
|
+
| empty | boolean | false | false |
|
|
3798
|
+
| loadingText | string | false | '加载中...' |
|
|
3799
|
+
| emptyText | string | false | '暂无过程线数据' |
|
|
3800
|
+
|
|
3801
|
+
### Events
|
|
3802
|
+
|
|
3803
|
+
No declared events.
|
|
3804
|
+
|
|
3805
|
+
Slots: No declared content slots.
|
|
3806
|
+
|
|
3807
|
+
```ts
|
|
3808
|
+
type EChartsOption = Record<string, any>
|
|
3809
|
+
```
|
|
3810
|
+
|
|
3811
|
+
## StationComparisonPanel
|
|
3812
|
+
|
|
3813
|
+
### Props
|
|
3814
|
+
|
|
3815
|
+
| Name | Type | Required | Default expression |
|
|
3816
|
+
|---|---|---|---|
|
|
3817
|
+
| rows | { id: string; label: string }[] | true | undefined / no declared default |
|
|
3818
|
+
| selected | string[] | true | undefined / no declared default |
|
|
3819
|
+
|
|
3820
|
+
### Events
|
|
3821
|
+
|
|
3822
|
+
- `update:selected` — `[ids: string[]]`
|
|
3823
|
+
- `compare` — `[]`
|
|
3824
|
+
- `locate` — `[id: string]`
|
|
3825
|
+
- `close` — `[]`
|
|
3826
|
+
|
|
3827
|
+
Slots: No declared content slots.
|
|
3828
|
+
|
|
3829
|
+
## MapOperationPanel
|
|
3830
|
+
|
|
3831
|
+
### Props
|
|
3832
|
+
|
|
3833
|
+
| Name | Type | Required | Default expression |
|
|
3834
|
+
|---|---|---|---|
|
|
3835
|
+
| tools | any | true | undefined / no declared default |
|
|
3836
|
+
| drawTools | { mode: string; label: string; iconPath: string }[] | true | undefined / no declared default |
|
|
3837
|
+
|
|
3838
|
+
### Events
|
|
3839
|
+
|
|
3840
|
+
No declared events.
|
|
3841
|
+
|
|
3842
|
+
Slots: No declared content slots.
|
|
3843
|
+
|
|
3844
|
+
```ts
|
|
3845
|
+
type MapDrawMode = string
|
|
3846
|
+
type MapMeasureMode = string
|
|
3847
|
+
type MapOperationSnapshot = any
|
|
3848
|
+
```
|
|
3849
|
+
|
|
3850
|
+
## SpaceAnalysisPanel
|
|
3851
|
+
|
|
3852
|
+
### Props
|
|
3853
|
+
|
|
3854
|
+
| Name | Type | Required | Default expression |
|
|
3855
|
+
|---|---|---|---|
|
|
3856
|
+
| selectionStore | any | true | undefined / no declared default |
|
|
3857
|
+
| provider | any | true | undefined / no declared default |
|
|
3858
|
+
|
|
3859
|
+
### Events
|
|
3860
|
+
|
|
3861
|
+
No declared events.
|
|
3862
|
+
|
|
3863
|
+
Slots: No declared content slots.
|
|
3864
|
+
|
|
3865
|
+
```ts
|
|
3866
|
+
type GisSelectionRecord = any
|
|
3867
|
+
type SpaceAnalysisAction = any
|
|
3868
|
+
```
|
|
3869
|
+
|
|
3603
3870
|
## UiAffix
|
|
3604
3871
|
|
|
3605
3872
|
固钉 · 导航组件. Original: ElAffix. Import from: sky-ui-kit. [API](https://element-plus.org/zh-CN/component/affix.html). See dist/components/element-plus.d.ts.
|
|
@@ -4317,7 +4584,7 @@ Preserves upstream structure and context. Structural children inherit theme from
|
|
|
4317
4584
|
|
|
4318
4585
|
# Element Plus 完整组件目录
|
|
4319
4586
|
|
|
4320
|
-
基准版本:2.14.7。共 111 个主 / 子组件、4 个服务出口、3 个指令出口。另保留
|
|
4587
|
+
基准版本:2.14.7。共 111 个主 / 子组件、4 个服务出口、3 个指令出口。另保留 26 个项目特色组件。
|
|
4321
4588
|
|
|
4322
4589
|
清单覆盖官方组件注册表及服务 / 指令,不包含内部工具函数。出口覆盖不代表所有组件的交互、独立示例和视觉状态均已验证。网站每项均提供导入和官方 API 索引,新增组合示例见 AI-GUIDE.md。
|
|
4323
4590
|
|
|
@@ -4862,6 +5129,13 @@ business-embed:management.css 提供工作台业务 iframe 布局,保留顶
|
|
|
4862
5129
|
|
|
4863
5130
|
|
|
4864
5131
|
2026-10-14 / dev.19:公开 TemplateLayout 地图叠加布局。提供 top、toolbar、right、legend、timeline、content 与默认插槽;rightOpen 为受控右栏状态,rightPanelEnabled 默认 true,rightPanelWidth 可覆盖响应式宽度。工具栏、图例、时间轴随右栏自动避让;空白区域透传地图事件。布局不初始化地图、不依赖业务 store,不内置业务工具;消费方将 MapTools 和 MapLayerControl 放到 toolbar,将业务面板放到 right。
|
|
5132
|
+
|
|
5133
|
+
|
|
5134
|
+
2026-10-14 / dev.20:一体机雨量站按参考平台 /atlas/elments/rain 原源码迁移,保留 RainfallRankingTable、RainfallProcessChart、MapValueLegend 的 DOM、CSS、分级与交互,主题变量仅映射到既有 userssite 命名。公开 RainfallRankingTable、RainfallProcessChart、MapValueLegend、AtlasRankingPanel、AtlasProcessPanel、AtlasProcessChart、StationComparisonPanel、MapOperationPanel、SpaceAnalysisPanel;MapTools 新增 before/after/panel 插槽。TemplateLayout 增加 variant=atlas,采用原页面右栏贴右、工具栏右栏左侧、右下图例与底部过程面板的避让几何,workbench 默认行为保留。图表通过 provide('sky-chart-engine', engine) 注入,无业务请求或地图实例进入组件库。MapOperationPanel 接受 tools 和 drawTools;SpaceAnalysisPanel 接受 selectionStore 与 provider,绘制、GIS、空间分析业务由消费方注入。消费项目新雨量页通过平台地图单例绘制非聚合圆点,多数据源各自独立图层,原七级雨量颜色和缩放半径;复用原时间范围、数据源差量请求与批量过程接口。未构建、未打包、未浏览器验证、未发布 npm。需用户发布含新出口版本后更新消费包;当前项目保留旧包兼容显示,避免缺少新出口导致白屏。
|
|
5135
|
+
|
|
5136
|
+
2026-10-14:TemplateLayout 新增 contentTop(布局相对地图容器的顶部避让)和 edge(右栏与工具栏共用边距)。工具栏默认顶部跟随右栏,移除186独立偏移;toolbar插槽内MapTools/map-toolbar取消再次绝对定位,避免偏移叠加。当前仅源码修改,发布时必须重新构建产物,再升级版本发布;消费项目仍安装0.1.4,尚未获得此修复。
|
|
5137
|
+
|
|
5138
|
+
0.1.5 / 2026-10-14:右侧插槽容器采用flex并限制内部溢出,AtlasRankingPanel铺满容器;图例默认底部与右侧面板共用 --template-right-bottom,过程图展开时才额外避让。contentTop/edge控制顶部工作区和共同间距,toolbar插槽的工具栏取消重复绝对定位。修复雨量分级与虚拟行局部CSS变量命名、过程图tooltip参数类型。移除误加的本地消费项目file依赖,库不能依赖使用它的业务项目。打包和类型检查通过;地图页面已检查工具栏/右面板顶部76px、面板/图例底部874px对齐。
|
|
4865
5139
|
|
|
4866
5140
|
# 一体机组件库接入约定
|
|
4867
5141
|
|
|
@@ -4949,3 +5223,10 @@ D:/dev/TasksBot 已从本地 tgz 切换为 npm sky-ui-kit@0.1.3。安装包多
|
|
|
4949
5223
|
|
|
4950
5224
|
|
|
4951
5225
|
2026-10-14 / dev.19:公开 TemplateLayout 地图叠加布局。提供 top、toolbar、right、legend、timeline、content 与默认插槽;rightOpen 为受控右栏状态,rightPanelEnabled 默认 true,rightPanelWidth 可覆盖响应式宽度。工具栏、图例、时间轴随右栏自动避让;空白区域透传地图事件。布局不初始化地图、不依赖业务 store,不内置业务工具;消费方将 MapTools 和 MapLayerControl 放到 toolbar,将业务面板放到 right。
|
|
5226
|
+
|
|
5227
|
+
|
|
5228
|
+
2026-10-14 / dev.20:一体机雨量站按参考平台 /atlas/elments/rain 原源码迁移,保留 RainfallRankingTable、RainfallProcessChart、MapValueLegend 的 DOM、CSS、分级与交互,主题变量仅映射到既有 userssite 命名。公开 RainfallRankingTable、RainfallProcessChart、MapValueLegend、AtlasRankingPanel、AtlasProcessPanel、AtlasProcessChart、StationComparisonPanel、MapOperationPanel、SpaceAnalysisPanel;MapTools 新增 before/after/panel 插槽。TemplateLayout 增加 variant=atlas,采用原页面右栏贴右、工具栏右栏左侧、右下图例与底部过程面板的避让几何,workbench 默认行为保留。图表通过 provide('sky-chart-engine', engine) 注入,无业务请求或地图实例进入组件库。MapOperationPanel 接受 tools 和 drawTools;SpaceAnalysisPanel 接受 selectionStore 与 provider,绘制、GIS、空间分析业务由消费方注入。消费项目新雨量页通过平台地图单例绘制非聚合圆点,多数据源各自独立图层,原七级雨量颜色和缩放半径;复用原时间范围、数据源差量请求与批量过程接口。未构建、未打包、未浏览器验证、未发布 npm。需用户发布含新出口版本后更新消费包;当前项目保留旧包兼容显示,避免缺少新出口导致白屏。
|
|
5229
|
+
|
|
5230
|
+
2026-10-14:TemplateLayout 新增 contentTop(布局相对地图容器的顶部避让)和 edge(右栏与工具栏共用边距)。工具栏默认顶部跟随右栏,移除186独立偏移;toolbar插槽内MapTools/map-toolbar取消再次绝对定位,避免偏移叠加。当前仅源码修改,发布时必须重新构建产物,再升级版本发布;消费项目仍安装0.1.4,尚未获得此修复。
|
|
5231
|
+
|
|
5232
|
+
0.1.5 / 2026-10-14:右侧插槽容器采用flex并限制内部溢出,AtlasRankingPanel铺满容器;图例默认底部与右侧面板共用 --template-right-bottom,过程图展开时才额外避让。contentTop/edge控制顶部工作区和共同间距,toolbar插槽的工具栏取消重复绝对定位。修复雨量分级与虚拟行局部CSS变量命名、过程图tooltip参数类型。移除误加的本地消费项目file依赖,库不能依赖使用它的业务项目。打包和类型检查通过;地图页面已检查工具栏/右面板顶部76px、面板/图例底部874px对齐。
|
package/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# sky-ui-kit
|
|
2
2
|
|
|
3
|
-
> Vue 3 components compatible with Element Plus, project menus, timeline and map tools. Version 0.1.
|
|
3
|
+
> Vue 3 components compatible with Element Plus, project menus, timeline and map tools. Version 0.1.5. AI tools must explicitly load these files.
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sky-ui-kit",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.5",
|
|
4
4
|
"description": "Vue UI components compatible with Element Plus and the project theme",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -78,7 +78,5 @@
|
|
|
78
78
|
"registry": "https://registry.npmjs.org/"
|
|
79
79
|
},
|
|
80
80
|
"license": "UNLICENSED",
|
|
81
|
-
"dependencies": {
|
|
82
|
-
"reservoir-hydromet-terminal": "file:../Work/01-项目code/一体化平台/一体机项目"
|
|
83
|
-
}
|
|
81
|
+
"dependencies": {}
|
|
84
82
|
}
|