@acorex/platform 19.3.0-next.2 → 19.3.0-next.4

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 (85) hide show
  1. package/auth/lib/application/application.types.d.ts +1 -1
  2. package/auth/lib/permission/index.d.ts +2 -1
  3. package/auth/lib/permission/permission-definition.builder.d.ts +24 -0
  4. package/auth/lib/permission/permission-definition.service.d.ts +20 -0
  5. package/auth/lib/permission/permission.types.d.ts +10 -3
  6. package/auth/lib/tenant/tenant.types.d.ts +1 -1
  7. package/common/index.d.ts +1 -0
  8. package/common/lib/app/application.types.d.ts +1 -1
  9. package/common/lib/app/index.d.ts +1 -0
  10. package/common/lib/configs/app.config.d.ts +1 -1
  11. package/common/lib/home-page/home-page-settings.key.d.ts +3 -0
  12. package/common/lib/home-page/home-page-settings.provider.d.ts +12 -0
  13. package/common/lib/home-page/home-page.module.d.ts +6 -0
  14. package/common/lib/home-page/home-page.routes.d.ts +2 -0
  15. package/common/lib/home-page/home-page.service.d.ts +24 -0
  16. package/common/lib/home-page/home-page.types.d.ts +9 -0
  17. package/common/lib/home-page/index.d.ts +4 -0
  18. package/common/lib/layout/logo/index.d.ts +0 -1
  19. package/common/lib/settings/index.d.ts +1 -1
  20. package/common/lib/settings/setting.builder.d.ts +1 -1
  21. package/core/lib/data/data-generator.d.ts +2 -1
  22. package/core/lib/types/actions.types.d.ts +282 -0
  23. package/core/lib/types/index.d.ts +5 -3
  24. package/core/lib/utils/object-util.d.ts +1 -0
  25. package/fesm2022/acorex-platform-auth.mjs +114 -21
  26. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  27. package/fesm2022/acorex-platform-common.mjs +1556 -1393
  28. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  29. package/fesm2022/acorex-platform-core.mjs +444 -113
  30. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  31. package/fesm2022/acorex-platform-layout-builder.mjs +2 -0
  32. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  33. package/fesm2022/acorex-platform-layout-entity.mjs +27 -38
  34. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  35. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-CnqS3y7P.mjs → acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs} +1 -2
  36. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BqMlSX6b.mjs → acorex-platform-themes-default-entity-master-list-view.component-CuyWAi6X.mjs} +31 -20
  38. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-CuyWAi6X.mjs.map +1 -0
  39. package/fesm2022/acorex-platform-themes-default.mjs +97 -49
  40. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  41. package/fesm2022/{acorex-platform-themes-shared-setting.provider-CXiRmniv.mjs → acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs} +1 -1
  42. package/fesm2022/acorex-platform-themes-shared-settings.provider-CXiRmniv.mjs.map +1 -0
  43. package/fesm2022/acorex-platform-themes-shared.mjs +2 -2
  44. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  45. package/fesm2022/acorex-platform-widgets.mjs +915 -123
  46. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  47. package/layout/builder/lib/builder/widget-map.d.ts +2 -0
  48. package/layout/builder/lib/builder/widget.types.d.ts +2 -2
  49. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +2 -1
  50. package/package.json +2 -1
  51. package/themes/default/lib/layouts/base/base-page.component.d.ts +9 -4
  52. package/themes/default/lib/layouts/base/base-page.types.d.ts +3 -2
  53. package/themes/default/lib/layouts/base/page-layout/page-layout.component.d.ts +9 -2
  54. package/themes/default/lib/layouts/entity-layouts/entity-category/entity-category.component.d.ts +2 -1
  55. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +1 -0
  56. package/themes/default/lib/layouts/entity-layouts/entity-master-toolbar-view/entity-master-toolbar-view.component.d.ts +62 -0
  57. package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +3 -3
  58. package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +3 -3
  59. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +4 -1
  60. package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +3 -3
  61. package/themes/default/lib/layouts/view-layouts/layout-detail-view/layout-detail-view.component.d.ts +1 -1
  62. package/themes/shared/index.d.ts +1 -1
  63. package/widgets/lib/shared/multi-language-component/popup/select-language.popup.d.ts +23 -0
  64. package/widgets/lib/widgets/charts/notification/index.d.ts +3 -0
  65. package/widgets/lib/widgets/charts/notification/notification-widget.component.d.ts +54 -0
  66. package/widgets/lib/widgets/charts/notification/notification-widget.config.d.ts +10 -0
  67. package/widgets/lib/widgets/charts/notification/notification.type.d.ts +47 -0
  68. package/widgets/lib/widgets/charts/sticky-note/sticky-note-widget.component.d.ts +3 -3
  69. package/widgets/lib/widgets/charts/tasklist/index.d.ts +3 -0
  70. package/widgets/lib/widgets/charts/tasklist/tasklist-widget.component.d.ts +34 -0
  71. package/widgets/lib/widgets/charts/tasklist/tasklist-widget.config.d.ts +7 -0
  72. package/widgets/lib/widgets/charts/tasklist/tasklist.type.d.ts +36 -0
  73. package/widgets/lib/widgets/editors/large-text/large-text-widget-edit.component.d.ts +12 -0
  74. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-edit.component.d.ts +11 -0
  75. package/widgets/lib/widgets/editors/text/text-box-widget-edit.component.d.ts +10 -0
  76. package/widgets/lib/widgets/filters/number-filter/number-filter-widget-edit.component.d.ts +1 -0
  77. package/widgets/lib/widgets/index.d.ts +3 -0
  78. package/auth/lib/permission/permission.service.d.ts +0 -18
  79. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-CnqS3y7P.mjs.map +0 -1
  80. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BqMlSX6b.mjs.map +0 -1
  81. package/fesm2022/acorex-platform-themes-shared-setting.provider-CXiRmniv.mjs.map +0 -1
  82. /package/common/lib/settings/{setting-definition.provider.d.ts → setting-definition.service.d.ts} +0 -0
  83. /package/{common/lib/layout/logo → core/lib/types}/logo.types.d.ts +0 -0
  84. /package/themes/shared/lib/{setting.keys.d.ts → settings.keys.d.ts} +0 -0
  85. /package/themes/shared/lib/{setting.provider.d.ts → settings.provider.d.ts} +0 -0
@@ -1,4 +1,4 @@
1
- import { AXPLogoConfig } from '@acorex/platform/common';
1
+ import { AXPLogoConfig } from '@acorex/platform/core';
2
2
  export interface AXPApplication {
3
3
  id: string;
4
4
  name: string;
@@ -1,5 +1,6 @@
1
1
  export * from './permission.directive';
2
2
  export * from './permission.guard';
3
3
  export * from './permission.loader';
4
- export * from './permission.service';
4
+ export * from './permission-definition.service';
5
5
  export * from './permission.types';
6
+ export * from './permission-definition.builder';
@@ -0,0 +1,24 @@
1
+ import { AXPPermissionDefinition, AXPPermissionGroupDefinition } from "./permission.types";
2
+ export declare class AXPPermissionDefinitionProviderContext {
3
+ private builders;
4
+ addGroup(name: string, title: string, description?: string): AXPPermissionDefinitionGroupBuilder;
5
+ getGroupDefinitions(): AXPPermissionGroupDefinition[];
6
+ findGroup(name: string): AXPPermissionDefinitionGroupBuilder | undefined;
7
+ }
8
+ export declare class AXPPermissionDefinitionGroupBuilder {
9
+ private context;
10
+ private _group;
11
+ get group(): AXPPermissionGroupDefinition;
12
+ constructor(context: AXPPermissionDefinitionProviderContext, group: AXPPermissionGroupDefinition);
13
+ addPermission(name: string, title: string, description: string): AXPPermissionDefinitionBuilder;
14
+ endGroup(): AXPPermissionDefinitionProviderContext;
15
+ findPermission(path: string): AXPPermissionDefinition | undefined;
16
+ findGroup(name: string): AXPPermissionDefinitionGroupBuilder | undefined;
17
+ }
18
+ export declare class AXPPermissionDefinitionBuilder {
19
+ private groupBuilder;
20
+ private permission;
21
+ constructor(groupBuilder: AXPPermissionDefinitionGroupBuilder, permission: AXPPermissionDefinition);
22
+ addChild(name: string, title: string, description: string): AXPPermissionDefinitionBuilder;
23
+ endPermission(): AXPPermissionDefinitionGroupBuilder;
24
+ }
@@ -0,0 +1,20 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { AXPPermissionDefinition, AXPPermissionGroupDefinition } from './permission.types';
3
+ import { AXPPermissionDefinitionProviderContext } from './permission-definition.builder';
4
+ import * as i0 from "@angular/core";
5
+ export interface AXPPermissionDefinitionProvider {
6
+ define(context: AXPPermissionDefinitionProviderContext): Promise<void>;
7
+ }
8
+ export declare const AXP_PERMISSION_DEFINITION_PROVIDER: InjectionToken<AXPPermissionDefinitionProvider[]>;
9
+ export declare class AXPPermissionDefinitionService {
10
+ private providers;
11
+ private cache;
12
+ private load;
13
+ reload(): Promise<void>;
14
+ getGroups(): Promise<AXPPermissionGroupDefinition[]>;
15
+ getPermissions(): Promise<AXPPermissionDefinition[]>;
16
+ getGroup(name: string): Promise<AXPPermissionGroupDefinition | null>;
17
+ getPermission(name: string): Promise<AXPPermissionDefinition | null>;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPPermissionDefinitionService, never>;
19
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPPermissionDefinitionService>;
20
+ }
@@ -1,6 +1,13 @@
1
- export type AXPPermissionDefinition = {
1
+ export type AXPPermission = string;
2
+ export interface AXPPermissionGroupDefinition {
2
3
  name: string;
3
4
  title: string;
4
- isArchived: boolean;
5
+ description?: string;
6
+ permissions: AXPPermissionDefinition[];
7
+ }
8
+ export type AXPPermissionDefinition = {
9
+ name: AXPPermission;
10
+ title: string;
11
+ description: string;
12
+ children: AXPPermissionDefinition[];
5
13
  };
6
- export type AXPPermission = string;
@@ -1,4 +1,4 @@
1
- import { AXPLogoConfig } from "@acorex/platform/common";
1
+ import { AXPLogoConfig } from '@acorex/platform/core';
2
2
  export interface AXPTenant {
3
3
  id: string;
4
4
  name: string;
package/common/index.d.ts CHANGED
@@ -14,3 +14,4 @@ export * from './lib/settings';
14
14
  export * from './lib/utils';
15
15
  export * from './lib/workflows';
16
16
  export * from './lib/layout/task-badge';
17
+ export * from './lib/home-page';
@@ -4,7 +4,7 @@ import { AXPMetaData, AXPValidationRules, AXPValueTransformerFunctions } from '@
4
4
  import { AXPWidgetTypesMap } from '@acorex/platform/layout/builder';
5
5
  import { AXPGridLayoutOptions } from '../layout';
6
6
  export interface AXEntityPropertyWidget {
7
- type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap];
7
+ type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
8
8
  path: string;
9
9
  id?: string;
10
10
  formula?: string;
@@ -2,3 +2,4 @@ export * from './app-startup.service';
2
2
  export * from './app-version.provider';
3
3
  export * from './application.types';
4
4
  export * from './operators';
5
+ export * from '../home-page';
@@ -1,5 +1,5 @@
1
+ import { AXPLogoConfig } from '@acorex/platform/core';
1
2
  import { InjectionToken } from '@angular/core';
2
- import { AXPLogoConfig } from '../layout/logo/logo.types';
3
3
  export declare const ENVIRONMENT: InjectionToken<any>;
4
4
  export declare const AXP_PLATFORM_CONFIG_TOKEN: InjectionToken<AXPPlatformConfigs>;
5
5
  export interface AXPPlatformConfigs {
@@ -0,0 +1,3 @@
1
+ export declare enum AXPHomePageSettings {
2
+ UserHomePath = "general:startup:home-page"
3
+ }
@@ -0,0 +1,12 @@
1
+ import { Injector } from '@angular/core';
2
+ import { AXPSettingDefinitionProvider, AXPSettingDefinitionProviderContext } from '../settings';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXPHomePageSettingProvider implements AXPSettingDefinitionProvider {
5
+ private injector;
6
+ private readonly translateService;
7
+ private readonly homePageService;
8
+ constructor(injector: Injector);
9
+ provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPHomePageSettingProvider, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPHomePageSettingProvider>;
12
+ }
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class AXPHomePageModule {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPHomePageModule, never>;
4
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AXPHomePageModule, never, never, never>;
5
+ static ɵinj: i0.ɵɵInjectorDeclaration<AXPHomePageModule>;
6
+ }
@@ -0,0 +1,2 @@
1
+ import { EnvironmentProviders } from "@angular/core";
2
+ export declare function provideDynamicHomePage(): EnvironmentProviders;
@@ -0,0 +1,24 @@
1
+ import { Routes } from '@angular/router';
2
+ import { AXPHomePageDefinition } from './home-page.types';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AXPHomePageService {
5
+ private defaultHomePageKey;
6
+ private userHomePageKey;
7
+ private candidates;
8
+ private settingsService;
9
+ private sessionService;
10
+ private get flatCandidates();
11
+ constructor();
12
+ private init;
13
+ load(): Promise<void>;
14
+ getRegisteredList(): AXPHomePageDefinition[];
15
+ getRegisteredRoutes(): Routes;
16
+ getCurrent(): {
17
+ path: string;
18
+ title: string;
19
+ };
20
+ private findPath;
21
+ private buildFullPaths;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPHomePageService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPHomePageService>;
24
+ }
@@ -0,0 +1,9 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ import { Route } from '@angular/router';
3
+ export interface AXPHomePageDefinition {
4
+ key: string;
5
+ title: string;
6
+ route: Route;
7
+ }
8
+ export declare const AXP_HOME_PAGES: InjectionToken<AXPHomePageDefinition[]>;
9
+ export declare const AXP_HOME_PAGE_DEFAULT_KEY: InjectionToken<string>;
@@ -0,0 +1,4 @@
1
+ export * from './home-page.types';
2
+ export * from './home-page.routes';
3
+ export * from './home-page.service';
4
+ export * from './home-page.module';
@@ -1,2 +1 @@
1
1
  export * from './logo.component';
2
- export * from './logo.types';
@@ -1,4 +1,4 @@
1
- export * from './setting-definition.provider';
1
+ export * from './setting-definition.service';
2
2
  export * from './settings.provider';
3
3
  export * from './settings.service';
4
4
  export * from './setting.builder';
@@ -30,7 +30,7 @@ export declare class AXPSettingDefinitionSectionBuilder {
30
30
  title: string;
31
31
  scope: AXPPlatformScopeKey;
32
32
  widget: {
33
- type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap];
33
+ type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap] | string;
34
34
  options?: AXPOptionsData;
35
35
  triggers?: AXPWidgetTriggers;
36
36
  layout?: AXPGridLayoutOptions;
@@ -11,7 +11,8 @@ export declare class AXPDataGenerator {
11
11
  static string(length?: number): string;
12
12
  static boolean(): boolean;
13
13
  static item<T>(array?: T[]): T | undefined;
14
- static color(): string;
14
+ static color(format?: 'hsl' | 'rgb' | 'hex'): string;
15
+ private static hslToRgb;
15
16
  static alphanumeric(length?: number): string;
16
17
  static alphabet(length?: number): string;
17
18
  static phone(): string;
@@ -0,0 +1,282 @@
1
+ export interface AXPSystemAction {
2
+ key: string;
3
+ title: string;
4
+ icon?: string;
5
+ color?: string;
6
+ critical?: boolean;
7
+ descriptions: {
8
+ button: string;
9
+ tooltip: string;
10
+ permission: string;
11
+ audit: string;
12
+ };
13
+ }
14
+ export declare const AXPSystemActions: Readonly<{
15
+ readonly View: {
16
+ readonly key: "view";
17
+ readonly title: string;
18
+ readonly icon: "fa-light fa-eye";
19
+ readonly color: "default";
20
+ readonly descriptions: {
21
+ readonly button: string;
22
+ readonly tooltip: string;
23
+ readonly permission: string;
24
+ readonly audit: string;
25
+ };
26
+ };
27
+ readonly Create: {
28
+ readonly key: "create";
29
+ readonly title: string;
30
+ readonly icon: "fa-light fa-plus";
31
+ readonly color: "success";
32
+ readonly descriptions: {
33
+ readonly button: string;
34
+ readonly tooltip: string;
35
+ readonly permission: string;
36
+ readonly audit: string;
37
+ };
38
+ };
39
+ readonly Edit: {
40
+ readonly key: "edit";
41
+ readonly title: string;
42
+ readonly icon: "fa-light fa-pencil";
43
+ readonly color: "primary";
44
+ readonly descriptions: {
45
+ readonly button: string;
46
+ readonly tooltip: string;
47
+ readonly permission: string;
48
+ readonly audit: string;
49
+ };
50
+ };
51
+ readonly Delete: {
52
+ readonly key: "delete";
53
+ readonly title: string;
54
+ readonly icon: "fa-light fa-trash";
55
+ readonly color: "danger";
56
+ readonly critical: true;
57
+ readonly descriptions: {
58
+ readonly button: string;
59
+ readonly tooltip: string;
60
+ readonly permission: string;
61
+ readonly audit: string;
62
+ };
63
+ };
64
+ readonly Approve: {
65
+ readonly key: "approve";
66
+ readonly title: string;
67
+ readonly icon: "fa-light fa-circle-check";
68
+ readonly color: "success";
69
+ readonly critical: true;
70
+ readonly descriptions: {
71
+ readonly button: string;
72
+ readonly tooltip: string;
73
+ readonly permission: string;
74
+ readonly audit: string;
75
+ };
76
+ };
77
+ readonly Submit: {
78
+ readonly key: "submit";
79
+ readonly title: string;
80
+ readonly icon: "fa-light fa-paper-plane";
81
+ readonly color: "primary";
82
+ readonly descriptions: {
83
+ readonly button: string;
84
+ readonly tooltip: string;
85
+ readonly permission: string;
86
+ readonly audit: string;
87
+ };
88
+ };
89
+ readonly Reject: {
90
+ readonly key: "reject";
91
+ readonly title: string;
92
+ readonly icon: "fa-light fa-ban";
93
+ readonly color: "danger";
94
+ readonly critical: true;
95
+ readonly descriptions: {
96
+ readonly button: string;
97
+ readonly tooltip: string;
98
+ readonly permission: string;
99
+ readonly audit: string;
100
+ };
101
+ };
102
+ readonly Export: {
103
+ readonly key: "export";
104
+ readonly title: string;
105
+ readonly icon: "fa-light fa-download";
106
+ readonly color: "default";
107
+ readonly descriptions: {
108
+ readonly button: string;
109
+ readonly tooltip: string;
110
+ readonly permission: string;
111
+ readonly audit: string;
112
+ };
113
+ };
114
+ readonly Import: {
115
+ readonly key: "import";
116
+ readonly title: string;
117
+ readonly icon: "fa-light fa-upload";
118
+ readonly color: "default";
119
+ readonly descriptions: {
120
+ readonly button: string;
121
+ readonly tooltip: string;
122
+ readonly permission: string;
123
+ readonly audit: string;
124
+ };
125
+ };
126
+ readonly Print: {
127
+ readonly key: "print";
128
+ readonly title: string;
129
+ readonly icon: "fa-light fa-print";
130
+ readonly color: "default";
131
+ readonly descriptions: {
132
+ readonly button: string;
133
+ readonly tooltip: string;
134
+ readonly permission: string;
135
+ readonly audit: string;
136
+ };
137
+ };
138
+ readonly Duplicate: {
139
+ readonly key: "duplicate";
140
+ readonly title: string;
141
+ readonly icon: "fa-light fa-clone";
142
+ readonly color: "warning";
143
+ readonly descriptions: {
144
+ readonly button: string;
145
+ readonly tooltip: string;
146
+ readonly permission: string;
147
+ readonly audit: string;
148
+ };
149
+ };
150
+ readonly Archive: {
151
+ readonly key: "archive";
152
+ readonly title: string;
153
+ readonly icon: "fa-light fa-box-archive";
154
+ readonly color: "neutral";
155
+ readonly descriptions: {
156
+ readonly button: string;
157
+ readonly tooltip: string;
158
+ readonly permission: string;
159
+ readonly audit: string;
160
+ };
161
+ };
162
+ readonly Restore: {
163
+ readonly key: "restore";
164
+ readonly title: string;
165
+ readonly icon: "fa-light fa-arrow-rotate-left";
166
+ readonly color: "info";
167
+ readonly descriptions: {
168
+ readonly button: string;
169
+ readonly tooltip: string;
170
+ readonly permission: string;
171
+ readonly audit: string;
172
+ };
173
+ };
174
+ readonly Assign: {
175
+ readonly key: "assign";
176
+ readonly title: string;
177
+ readonly icon: "fa-light fa-user-plus";
178
+ readonly color: "primary";
179
+ readonly descriptions: {
180
+ readonly button: string;
181
+ readonly tooltip: string;
182
+ readonly permission: string;
183
+ readonly audit: string;
184
+ };
185
+ };
186
+ readonly Lock: {
187
+ readonly key: "lock";
188
+ readonly title: string;
189
+ readonly icon: "fa-light fa-lock";
190
+ readonly color: "warning";
191
+ readonly descriptions: {
192
+ readonly button: string;
193
+ readonly tooltip: string;
194
+ readonly permission: string;
195
+ readonly audit: string;
196
+ };
197
+ };
198
+ readonly Unlock: {
199
+ readonly key: "unlock";
200
+ readonly title: string;
201
+ readonly icon: "fa-light fa-unlock";
202
+ readonly color: "success";
203
+ readonly descriptions: {
204
+ readonly button: string;
205
+ readonly tooltip: string;
206
+ readonly permission: string;
207
+ readonly audit: string;
208
+ };
209
+ };
210
+ readonly Share: {
211
+ readonly key: "share";
212
+ readonly title: string;
213
+ readonly icon: "fa-light fa-share-nodes";
214
+ readonly color: "info";
215
+ readonly descriptions: {
216
+ readonly button: string;
217
+ readonly tooltip: string;
218
+ readonly permission: string;
219
+ readonly audit: string;
220
+ };
221
+ };
222
+ readonly Configure: {
223
+ readonly key: "configure";
224
+ readonly title: string;
225
+ readonly icon: "fa-light fa-sliders";
226
+ readonly color: "primary";
227
+ readonly descriptions: {
228
+ readonly button: string;
229
+ readonly tooltip: string;
230
+ readonly permission: string;
231
+ readonly audit: string;
232
+ };
233
+ };
234
+ readonly Reorder: {
235
+ readonly key: "reorder";
236
+ readonly title: string;
237
+ readonly icon: "fa-light fa-arrow-down-up-across-line";
238
+ readonly color: "default";
239
+ readonly descriptions: {
240
+ readonly button: string;
241
+ readonly tooltip: string;
242
+ readonly permission: string;
243
+ readonly audit: string;
244
+ };
245
+ };
246
+ readonly Preview: {
247
+ readonly key: "preview";
248
+ readonly title: string;
249
+ readonly icon: "fa-light fa-magnifying-glass";
250
+ readonly color: "default";
251
+ readonly descriptions: {
252
+ readonly button: string;
253
+ readonly tooltip: string;
254
+ readonly permission: string;
255
+ readonly audit: string;
256
+ };
257
+ };
258
+ readonly Publish: {
259
+ readonly key: "publish";
260
+ readonly title: string;
261
+ readonly icon: "fa-light fa-globe";
262
+ readonly color: "success";
263
+ readonly descriptions: {
264
+ readonly button: string;
265
+ readonly tooltip: string;
266
+ readonly permission: string;
267
+ readonly audit: string;
268
+ };
269
+ };
270
+ readonly Unpublish: {
271
+ readonly key: "unpublish";
272
+ readonly title: string;
273
+ readonly icon: "fa-light fa-globe-slash";
274
+ readonly color: "neutral";
275
+ readonly descriptions: {
276
+ readonly button: string;
277
+ readonly tooltip: string;
278
+ readonly permission: string;
279
+ readonly audit: string;
280
+ };
281
+ };
282
+ }>;
@@ -1,7 +1,9 @@
1
- export * from './data.types';
2
- export * from './interactive.types';
3
1
  export * from './core.types';
4
- export * from './validation.types';
2
+ export * from './data.types';
5
3
  export * from './element.types';
4
+ export * from './interactive.types';
6
5
  export * from './layout.types';
6
+ export * from './logo.types';
7
7
  export * from './scope.types';
8
+ export * from './validation.types';
9
+ export * from './actions.types';
@@ -1,3 +1,4 @@
1
1
  export declare function extractNestedFieldsWildcard(obj: any, basePath: string, fields: string[]): any;
2
2
  export declare function setSmart(obj: any, smartPath: string, value: any): any;
3
3
  export declare function getSmart(obj: any, smartPath: string): any;
4
+ export declare function extractValue<T = any>(value: any, key?: string): T | null;