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.
Files changed (44) hide show
  1. package/components.json +1242 -6
  2. package/dist/components/AtlasProcessChart.vue.d.ts +17 -0
  3. package/dist/components/AtlasProcessPanel.vue.d.ts +13 -0
  4. package/dist/components/AtlasRankingPanel.vue.d.ts +13 -0
  5. package/dist/components/DefenseMapLayout.vue.d.ts +13 -0
  6. package/dist/components/GlobalMapLayerDock.vue.d.ts +34 -0
  7. package/dist/components/ManagementFormDialog.vue.d.ts +33 -0
  8. package/dist/components/ManagementResourceLayout.vue.d.ts +28 -0
  9. package/dist/components/MapBottomProcessPanel.vue.d.ts +25 -0
  10. package/dist/components/MapEditorDialog.vue.d.ts +33 -0
  11. package/dist/components/MapFeatureListPanel.vue.d.ts +41 -0
  12. package/dist/components/MapLayerControl.vue.d.ts +6 -0
  13. package/dist/components/MapOperationPanel.vue.d.ts +38 -0
  14. package/dist/components/MapPointProcessDialog.vue.d.ts +24 -0
  15. package/dist/components/MapSchemeSelect.vue.d.ts +20 -0
  16. package/dist/components/MapSideMenu.vue.d.ts +1 -0
  17. package/dist/components/MapTools.vue.d.ts +19 -1
  18. package/dist/components/MapValueLegend.vue.d.ts +42 -0
  19. package/dist/components/MapWorkspacePanel.vue.d.ts +21 -0
  20. package/dist/components/NationalHydroSidebar.vue.d.ts +69 -0
  21. package/dist/components/ProcessChart.vue.d.ts +6 -0
  22. package/dist/components/ProjectMenu.vue.d.ts +1 -0
  23. package/dist/components/RainfallProcessChart.vue.d.ts +37 -0
  24. package/dist/components/RainfallRankingTable.vue.d.ts +72 -0
  25. package/dist/components/SpaceAnalysisPanel.vue.d.ts +7 -0
  26. package/dist/components/SpatialScopeInput.vue.d.ts +61 -0
  27. package/dist/components/StationComparisonPanel.vue.d.ts +20 -0
  28. package/dist/components/TemplateLayout.vue.d.ts +27 -9
  29. package/dist/components/WorkbenchShell.vue.d.ts +23 -3
  30. package/dist/components/element-plus.d.ts +2 -0
  31. package/dist/components/index.d.ts +1145 -18
  32. package/dist/components/mapContextMenuStyles.d.ts +2 -0
  33. package/dist/components.js +4011 -1296
  34. package/dist/style.css +1 -1
  35. package/docs/AI-CHANGELOG.md +160 -0
  36. package/docs/AI-GUIDE.md +1 -1
  37. package/docs/COMPONENT-API.md +540 -6
  38. package/docs/CONSUMERS.md +154 -0
  39. package/docs/CSS-THEME.md +109 -0
  40. package/docs/ELEMENT-PLUS-COVERAGE.md +1 -1
  41. package/docs/INTEGRATION.md +23 -12
  42. package/llms-full.txt +966 -9
  43. package/llms.txt +1 -1
  44. package/package.json +82 -84
@@ -0,0 +1,72 @@
1
+ export type RainfallLevelKey = 'none' | 'light' | 'moderate' | 'heavy' | 'storm' | 'hardStorm' | 'extremeStorm';
2
+ type DateRangeValue = [string, string];
3
+ export type DataSourceOption = {
4
+ label: string;
5
+ value: string;
6
+ };
7
+ export type DataSourceChangePayload = {
8
+ selectedSources: string[];
9
+ addedSources: string[];
10
+ removedSources: string[];
11
+ };
12
+ export type RainfallLevelOption = {
13
+ key: RainfallLevelKey;
14
+ label: string;
15
+ min: number;
16
+ color: string;
17
+ textColor: string;
18
+ };
19
+ export type RainfallRankingRow = {
20
+ id?: string | number;
21
+ stationName: string;
22
+ rainfall: number;
23
+ region?: string;
24
+ longitude?: number;
25
+ latitude?: number;
26
+ elevation?: number | null;
27
+ dataSource?: string;
28
+ dataSourceName?: string;
29
+ sourceCode?: string | number;
30
+ };
31
+ type __VLS_Props = {
32
+ rows?: RainfallRankingRow[];
33
+ period?: string;
34
+ unit?: string;
35
+ dataSource?: string[];
36
+ dataSourceOptions?: DataSourceOption[];
37
+ dataSourceLoading?: boolean;
38
+ rainfallLevels?: RainfallLevelOption[];
39
+ visibleLevelKeys?: RainfallLevelKey[];
40
+ loading?: boolean;
41
+ };
42
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
43
+ close: () => any;
44
+ locate: (row: RainfallRankingRow) => any;
45
+ rangeChange: (payload: {
46
+ label: string;
47
+ range: DateRangeValue;
48
+ }) => any;
49
+ sourceChange: (value: string[], payload: DataSourceChangePayload) => any;
50
+ levelVisibilityChange: (key: RainfallLevelKey, visible: boolean) => any;
51
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
52
+ onClose?: (() => any) | undefined;
53
+ onLocate?: ((row: RainfallRankingRow) => any) | undefined;
54
+ onRangeChange?: ((payload: {
55
+ label: string;
56
+ range: DateRangeValue;
57
+ }) => any) | undefined;
58
+ onSourceChange?: ((value: string[], payload: DataSourceChangePayload) => any) | undefined;
59
+ onLevelVisibilityChange?: ((key: RainfallLevelKey, visible: boolean) => any) | undefined;
60
+ }>, {
61
+ rows: RainfallRankingRow[];
62
+ loading: boolean;
63
+ unit: string;
64
+ period: string;
65
+ dataSource: string[];
66
+ dataSourceOptions: DataSourceOption[];
67
+ dataSourceLoading: boolean;
68
+ rainfallLevels: RainfallLevelOption[];
69
+ visibleLevelKeys: RainfallLevelKey[];
70
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
71
+ declare const _default: typeof __VLS_export;
72
+ export default _default;
@@ -0,0 +1,7 @@
1
+ type __VLS_Props = {
2
+ selectionStore: any;
3
+ provider: any;
4
+ };
5
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
6
+ declare const _default: typeof __VLS_export;
7
+ export default _default;
@@ -0,0 +1,61 @@
1
+ export interface SpatialScopeValue {
2
+ mode: 'catalog' | 'upload' | 'draw';
3
+ regionCodes: string[];
4
+ reservoirCodes: string[];
5
+ boundaryTarget?: 'region' | 'reservoir';
6
+ reservoirName?: string;
7
+ }
8
+ type __VLS_Props = {
9
+ reservoirOnly?: boolean;
10
+ modelValue: SpatialScopeValue;
11
+ regions?: Array<{
12
+ value: string;
13
+ label: string;
14
+ children?: any[];
15
+ }>;
16
+ reservoirs?: Array<{
17
+ value: string;
18
+ label: string;
19
+ }>;
20
+ loading?: boolean;
21
+ error?: string;
22
+ boundaryName?: string;
23
+ boundaryCount?: number;
24
+ previewUrl?: string;
25
+ previewPaths?: string[];
26
+ busy?: boolean;
27
+ };
28
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
+ clear: () => any;
30
+ "update:modelValue": (value: SpatialScopeValue) => any;
31
+ view: () => any;
32
+ upload: (file: File) => any;
33
+ draw: () => any;
34
+ retry: () => any;
35
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
36
+ onClear?: (() => any) | undefined;
37
+ "onUpdate:modelValue"?: ((value: SpatialScopeValue) => any) | undefined;
38
+ onView?: (() => any) | undefined;
39
+ onUpload?: ((file: File) => any) | undefined;
40
+ onDraw?: (() => any) | undefined;
41
+ onRetry?: (() => any) | undefined;
42
+ }>, {
43
+ error: string;
44
+ loading: boolean;
45
+ regions: {
46
+ value: string;
47
+ label: string;
48
+ children?: any[];
49
+ }[];
50
+ reservoirs: {
51
+ value: string;
52
+ label: string;
53
+ }[];
54
+ boundaryName: string;
55
+ boundaryCount: number;
56
+ previewUrl: string;
57
+ previewPaths: string[];
58
+ busy: boolean;
59
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
60
+ declare const _default: typeof __VLS_export;
61
+ export default _default;
@@ -0,0 +1,20 @@
1
+ type __VLS_Props = {
2
+ rows: {
3
+ id: string;
4
+ label: string;
5
+ }[];
6
+ selected: string[];
7
+ };
8
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ close: () => any;
10
+ locate: (id: string) => any;
11
+ "update:selected": (ids: string[]) => any;
12
+ compare: () => any;
13
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
14
+ onClose?: (() => any) | undefined;
15
+ onLocate?: ((id: string) => any) | undefined;
16
+ "onUpdate:selected"?: ((ids: string[]) => any) | undefined;
17
+ onCompare?: (() => any) | undefined;
18
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
19
+ declare const _default: typeof __VLS_export;
20
+ export default _default;
@@ -1,28 +1,46 @@
1
1
  type __VLS_Props = {
2
+ timelineLeft?: string;
3
+ timelineRight?: string;
4
+ leftPanelWidth?: string;
2
5
  rightOpen?: boolean;
3
6
  rightPanelEnabled?: boolean;
4
7
  rightPanelWidth?: string;
8
+ toolbarTop?: string;
9
+ contentTop?: string;
10
+ edge?: string;
11
+ variant?: 'workbench' | 'atlas';
5
12
  };
6
- declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {};
13
+ declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
7
14
  type __VLS_Slots = {} & {
8
- top?: (props: typeof __VLS_1) => any;
15
+ left?: (props: typeof __VLS_1) => any;
9
16
  } & {
10
- toolbar?: (props: typeof __VLS_3) => any;
17
+ top?: (props: typeof __VLS_3) => any;
11
18
  } & {
12
- right?: (props: typeof __VLS_5) => any;
19
+ toolbar?: (props: typeof __VLS_5) => any;
13
20
  } & {
14
- legend?: (props: typeof __VLS_7) => any;
21
+ right?: (props: typeof __VLS_7) => any;
15
22
  } & {
16
- timeline?: (props: typeof __VLS_9) => any;
23
+ legend?: (props: typeof __VLS_9) => any;
17
24
  } & {
18
- content?: (props: typeof __VLS_11) => any;
25
+ timeline?: (props: typeof __VLS_11) => any;
19
26
  } & {
20
- default?: (props: typeof __VLS_13) => any;
27
+ content?: (props: typeof __VLS_13) => any;
28
+ } & {
29
+ default?: (props: typeof __VLS_15) => any;
21
30
  };
22
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
31
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
32
+ "timeline-height": (height: number) => any;
33
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
34
+ "onTimeline-height"?: ((height: number) => any) | undefined;
35
+ }>, {
36
+ variant: "workbench" | "atlas";
23
37
  rightOpen: boolean;
38
+ leftPanelWidth: string;
24
39
  rightPanelEnabled: boolean;
25
40
  rightPanelWidth: string;
41
+ toolbarTop: string;
42
+ contentTop: string;
43
+ edge: string;
26
44
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
27
45
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
28
46
  declare const _default: typeof __VLS_export;
@@ -1,12 +1,32 @@
1
+ import { type ProjectMenuGroup, type ProjectMenuItem } from './ProjectMenu.vue';
1
2
  type __VLS_Props = {
2
3
  collapsed?: boolean;
4
+ management?: boolean;
5
+ groups?: ProjectMenuGroup[];
6
+ active?: string;
7
+ workspaceStyle?: Record<string, string>;
3
8
  };
4
- declare var __VLS_1: {};
9
+ declare var __VLS_1: {}, __VLS_11: {}, __VLS_13: {}, __VLS_15: {};
5
10
  type __VLS_Slots = {} & {
6
- default?: (props: typeof __VLS_1) => any;
11
+ header?: (props: typeof __VLS_1) => any;
12
+ } & {
13
+ 'sidebar-footer'?: (props: typeof __VLS_11) => any;
14
+ } & {
15
+ workspace?: (props: typeof __VLS_13) => any;
16
+ } & {
17
+ default?: (props: typeof __VLS_15) => any;
7
18
  };
8
- declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
19
+ declare const __VLS_base: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
20
+ select: (item: ProjectMenuItem) => any;
21
+ "update:active": (key: string) => any;
22
+ }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
23
+ onSelect?: ((item: ProjectMenuItem) => any) | undefined;
24
+ "onUpdate:active"?: ((key: string) => any) | undefined;
25
+ }>, {
26
+ active: string;
27
+ groups: ProjectMenuGroup[];
9
28
  collapsed: boolean;
29
+ management: boolean;
10
30
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
11
31
  declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
12
32
  declare const _default: typeof __VLS_export;
@@ -123,3 +123,5 @@ export declare const UiLoading: {
123
123
  };
124
124
  directive: import("vue").ObjectDirective<import("element-plus/es/components/loading/src/directive.mjs").ElementLoading, import("element-plus/es/components/loading/src/directive.mjs").LoadingBinding, string, any>;
125
125
  };
126
+ /** Scroll container with the same theme boundary as other public controls. */
127
+ export declare const UiScrollbar: typeof EP.ElScrollbar;