@abpjs/saas 2.4.0 → 2.7.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.
- package/dist/index.d.mts +30 -5
- package/dist/index.d.ts +30 -5
- package/dist/index.js +14 -5
- package/dist/index.mjs +13 -5
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -122,11 +122,36 @@ declare const SAAS_ROUTES: {
|
|
|
122
122
|
* Used for component registration and routing
|
|
123
123
|
*
|
|
124
124
|
* @since 2.4.0
|
|
125
|
+
* @updated 2.7.0 - Changed from enum to const object
|
|
125
126
|
*/
|
|
126
|
-
declare
|
|
127
|
-
Editions
|
|
128
|
-
Tenants
|
|
129
|
-
}
|
|
127
|
+
declare const eSaasComponents: {
|
|
128
|
+
readonly Editions: "Saas.EditionsComponent";
|
|
129
|
+
readonly Tenants: "Saas.TenantsComponent";
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Type for SaaS component key values
|
|
133
|
+
*/
|
|
134
|
+
type SaasComponentKey = (typeof eSaasComponents)[keyof typeof eSaasComponents];
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* SaaS Route Names
|
|
138
|
+
* Translated from @volo/abp.ng.saas v2.7.0
|
|
139
|
+
*/
|
|
140
|
+
/**
|
|
141
|
+
* Enum-like const object for SaaS route names.
|
|
142
|
+
* Used for localization and navigation configuration.
|
|
143
|
+
* @since 2.7.0
|
|
144
|
+
*/
|
|
145
|
+
declare const eSaasRouteNames: {
|
|
146
|
+
readonly Administration: "AbpUiNavigation::Menu:Administration";
|
|
147
|
+
readonly Saas: "Saas::Menu:Saas";
|
|
148
|
+
readonly Tenants: "Saas::Tenants";
|
|
149
|
+
readonly Editions: "Saas::Editions";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Type for SaaS route name values
|
|
153
|
+
*/
|
|
154
|
+
type SaasRouteNameKey = (typeof eSaasRouteNames)[keyof typeof eSaasRouteNames];
|
|
130
155
|
|
|
131
156
|
/**
|
|
132
157
|
* SaaS Service
|
|
@@ -634,4 +659,4 @@ interface EditionsComponentProps {
|
|
|
634
659
|
*/
|
|
635
660
|
declare function EditionsComponent({ onEditionCreated, onEditionUpdated, onEditionDeleted, onManageFeatures, }: EditionsComponentProps): react_jsx_runtime.JSX.Element;
|
|
636
661
|
|
|
637
|
-
export { type EditionOperationResult, EditionsComponent, type EditionsComponentProps, SAAS_ROUTES, Saas, SaasService, SaasStateService, type SortOrder$1 as SortOrder, type TenantOperationResult, TenantsComponent, type TenantsComponentProps, type UseEditionsReturn, type UseTenantsReturn, eSaasComponents, useEditions, useTenants };
|
|
662
|
+
export { type EditionOperationResult, EditionsComponent, type EditionsComponentProps, SAAS_ROUTES, Saas, type SaasComponentKey, type SaasRouteNameKey, SaasService, SaasStateService, type SortOrder$1 as SortOrder, type TenantOperationResult, TenantsComponent, type TenantsComponentProps, type UseEditionsReturn, type UseTenantsReturn, eSaasComponents, eSaasRouteNames, useEditions, useTenants };
|
package/dist/index.d.ts
CHANGED
|
@@ -122,11 +122,36 @@ declare const SAAS_ROUTES: {
|
|
|
122
122
|
* Used for component registration and routing
|
|
123
123
|
*
|
|
124
124
|
* @since 2.4.0
|
|
125
|
+
* @updated 2.7.0 - Changed from enum to const object
|
|
125
126
|
*/
|
|
126
|
-
declare
|
|
127
|
-
Editions
|
|
128
|
-
Tenants
|
|
129
|
-
}
|
|
127
|
+
declare const eSaasComponents: {
|
|
128
|
+
readonly Editions: "Saas.EditionsComponent";
|
|
129
|
+
readonly Tenants: "Saas.TenantsComponent";
|
|
130
|
+
};
|
|
131
|
+
/**
|
|
132
|
+
* Type for SaaS component key values
|
|
133
|
+
*/
|
|
134
|
+
type SaasComponentKey = (typeof eSaasComponents)[keyof typeof eSaasComponents];
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* SaaS Route Names
|
|
138
|
+
* Translated from @volo/abp.ng.saas v2.7.0
|
|
139
|
+
*/
|
|
140
|
+
/**
|
|
141
|
+
* Enum-like const object for SaaS route names.
|
|
142
|
+
* Used for localization and navigation configuration.
|
|
143
|
+
* @since 2.7.0
|
|
144
|
+
*/
|
|
145
|
+
declare const eSaasRouteNames: {
|
|
146
|
+
readonly Administration: "AbpUiNavigation::Menu:Administration";
|
|
147
|
+
readonly Saas: "Saas::Menu:Saas";
|
|
148
|
+
readonly Tenants: "Saas::Tenants";
|
|
149
|
+
readonly Editions: "Saas::Editions";
|
|
150
|
+
};
|
|
151
|
+
/**
|
|
152
|
+
* Type for SaaS route name values
|
|
153
|
+
*/
|
|
154
|
+
type SaasRouteNameKey = (typeof eSaasRouteNames)[keyof typeof eSaasRouteNames];
|
|
130
155
|
|
|
131
156
|
/**
|
|
132
157
|
* SaaS Service
|
|
@@ -634,4 +659,4 @@ interface EditionsComponentProps {
|
|
|
634
659
|
*/
|
|
635
660
|
declare function EditionsComponent({ onEditionCreated, onEditionUpdated, onEditionDeleted, onManageFeatures, }: EditionsComponentProps): react_jsx_runtime.JSX.Element;
|
|
636
661
|
|
|
637
|
-
export { type EditionOperationResult, EditionsComponent, type EditionsComponentProps, SAAS_ROUTES, Saas, SaasService, SaasStateService, type SortOrder$1 as SortOrder, type TenantOperationResult, TenantsComponent, type TenantsComponentProps, type UseEditionsReturn, type UseTenantsReturn, eSaasComponents, useEditions, useTenants };
|
|
662
|
+
export { type EditionOperationResult, EditionsComponent, type EditionsComponentProps, SAAS_ROUTES, Saas, type SaasComponentKey, type SaasRouteNameKey, SaasService, SaasStateService, type SortOrder$1 as SortOrder, type TenantOperationResult, TenantsComponent, type TenantsComponentProps, type UseEditionsReturn, type UseTenantsReturn, eSaasComponents, eSaasRouteNames, useEditions, useTenants };
|
package/dist/index.js
CHANGED
|
@@ -26,6 +26,7 @@ __export(index_exports, {
|
|
|
26
26
|
SaasStateService: () => SaasStateService,
|
|
27
27
|
TenantsComponent: () => TenantsComponent,
|
|
28
28
|
eSaasComponents: () => eSaasComponents,
|
|
29
|
+
eSaasRouteNames: () => eSaasRouteNames,
|
|
29
30
|
useEditions: () => useEditions,
|
|
30
31
|
useTenants: () => useTenants
|
|
31
32
|
});
|
|
@@ -58,11 +59,18 @@ var SAAS_ROUTES = {
|
|
|
58
59
|
};
|
|
59
60
|
|
|
60
61
|
// src/enums/components.ts
|
|
61
|
-
var eSaasComponents =
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
62
|
+
var eSaasComponents = {
|
|
63
|
+
Editions: "Saas.EditionsComponent",
|
|
64
|
+
Tenants: "Saas.TenantsComponent"
|
|
65
|
+
};
|
|
66
|
+
|
|
67
|
+
// src/enums/route-names.ts
|
|
68
|
+
var eSaasRouteNames = {
|
|
69
|
+
Administration: "AbpUiNavigation::Menu:Administration",
|
|
70
|
+
Saas: "Saas::Menu:Saas",
|
|
71
|
+
Tenants: "Saas::Tenants",
|
|
72
|
+
Editions: "Saas::Editions"
|
|
73
|
+
};
|
|
66
74
|
|
|
67
75
|
// src/services/saas.service.ts
|
|
68
76
|
var SaasService = class {
|
|
@@ -1462,6 +1470,7 @@ function EditionsComponent({
|
|
|
1462
1470
|
SaasStateService,
|
|
1463
1471
|
TenantsComponent,
|
|
1464
1472
|
eSaasComponents,
|
|
1473
|
+
eSaasRouteNames,
|
|
1465
1474
|
useEditions,
|
|
1466
1475
|
useTenants
|
|
1467
1476
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -25,11 +25,18 @@ var SAAS_ROUTES = {
|
|
|
25
25
|
};
|
|
26
26
|
|
|
27
27
|
// src/enums/components.ts
|
|
28
|
-
var eSaasComponents =
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
28
|
+
var eSaasComponents = {
|
|
29
|
+
Editions: "Saas.EditionsComponent",
|
|
30
|
+
Tenants: "Saas.TenantsComponent"
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
// src/enums/route-names.ts
|
|
34
|
+
var eSaasRouteNames = {
|
|
35
|
+
Administration: "AbpUiNavigation::Menu:Administration",
|
|
36
|
+
Saas: "Saas::Menu:Saas",
|
|
37
|
+
Tenants: "Saas::Tenants",
|
|
38
|
+
Editions: "Saas::Editions"
|
|
39
|
+
};
|
|
33
40
|
|
|
34
41
|
// src/services/saas.service.ts
|
|
35
42
|
var SaasService = class {
|
|
@@ -1445,6 +1452,7 @@ export {
|
|
|
1445
1452
|
SaasStateService,
|
|
1446
1453
|
TenantsComponent,
|
|
1447
1454
|
eSaasComponents,
|
|
1455
|
+
eSaasRouteNames,
|
|
1448
1456
|
useEditions,
|
|
1449
1457
|
useTenants
|
|
1450
1458
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abpjs/saas",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.7.0",
|
|
4
4
|
"description": "ABP Framework SaaS components for React - translated from @volo/abp.ng.saas",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -27,12 +27,12 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@chakra-ui/react": "^3.2.0",
|
|
29
29
|
"@emotion/react": "^11.11.0",
|
|
30
|
-
"@abpjs/core": "2.
|
|
31
|
-
"@abpjs/
|
|
32
|
-
"@abpjs/
|
|
30
|
+
"@abpjs/core": "2.7.0",
|
|
31
|
+
"@abpjs/feature-management": "2.7.0",
|
|
32
|
+
"@abpjs/theme-shared": "2.7.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@volo/abp.ng.saas": "2.
|
|
35
|
+
"@volo/abp.ng.saas": "2.7.0",
|
|
36
36
|
"@testing-library/jest-dom": "^6.9.1",
|
|
37
37
|
"@testing-library/react": "^14.0.0",
|
|
38
38
|
"@testing-library/user-event": "^14.6.1",
|