@abpjs/theme-shared 0.7.6 → 0.9.0

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.
@@ -1,2 +1,4 @@
1
1
  export * from './toaster';
2
2
  export * from './confirmation';
3
+ export * from './setting-management';
4
+ export * from './statistics';
@@ -0,0 +1,17 @@
1
+ /**
2
+ * Setting management models for theme-shared
3
+ * Translated from @abp/ng.theme.shared v0.9.0
4
+ */
5
+ /**
6
+ * Represents a settings tab in the settings management UI.
7
+ */
8
+ export interface SettingTab {
9
+ /** Display name of the tab */
10
+ name: string;
11
+ /** Order/priority for tab sorting */
12
+ order: number;
13
+ /** Required policy to view this tab */
14
+ requiredPolicy?: string;
15
+ /** URL/route for this settings tab */
16
+ url?: string;
17
+ }
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Statistics models for theme-shared
3
+ * Translated from @abp/ng.theme.shared v0.9.0
4
+ */
5
+ export declare namespace Statistics {
6
+ /**
7
+ * Response from statistics API
8
+ */
9
+ interface Response {
10
+ data: Data;
11
+ }
12
+ /**
13
+ * Statistics data - key-value pairs of metric names and values
14
+ */
15
+ interface Data {
16
+ [key: string]: number;
17
+ }
18
+ /**
19
+ * Filter for statistics queries
20
+ */
21
+ interface Filter {
22
+ startDate: string | Date;
23
+ endDate: string | Date;
24
+ }
25
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abpjs/theme-shared",
3
- "version": "0.7.6",
3
+ "version": "0.9.0",
4
4
  "description": "ABP Framework Theme Shared components for React - translated from @abp/ng.theme.shared",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -25,11 +25,12 @@
25
25
  "@emotion/react": "^11.11.0",
26
26
  "lucide-react": "^0.400.0",
27
27
  "next-themes": "^0.4.6",
28
+ "react-hook-form": "^7.48.0",
28
29
  "react-icons": "^5.5.0",
29
- "@abpjs/core": "0.7.6"
30
+ "@abpjs/core": "0.9.0"
30
31
  },
31
32
  "devDependencies": {
32
- "@abp/ng.theme.shared": "0.7.6"
33
+ "@abp/ng.theme.shared": "0.9.0"
33
34
  },
34
35
  "author": "tekthar.com",
35
36
  "license": "LGPL-3.0",