@acorex/platform 19.2.20 → 19.3.0-next.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.
Files changed (193) hide show
  1. package/common/index.d.ts +1 -0
  2. package/common/lib/app/application.types.d.ts +13 -3
  3. package/common/lib/file-storage/file-storage.types.d.ts +20 -12
  4. package/common/lib/filters/filters.types.d.ts +5 -0
  5. package/common/lib/layout/menu/badge-helper.d.ts +7 -0
  6. package/common/lib/layout/menu/index.d.ts +1 -0
  7. package/common/lib/layout/menu/menu.types.d.ts +1 -0
  8. package/common/lib/layout/task-badge/index.d.ts +2 -0
  9. package/common/lib/layout/task-badge/task-badge.service.d.ts +11 -0
  10. package/common/lib/layout/task-badge/task-badge.type.d.ts +6 -0
  11. package/common/lib/settings/setting-definition.provider.d.ts +7 -5
  12. package/common/lib/settings/setting.builder.d.ts +8 -5
  13. package/common/lib/settings/settings.service.d.ts +6 -5
  14. package/common/lib/settings/settings.types.d.ts +6 -10
  15. package/core/lib/data/index.d.ts +1 -0
  16. package/core/lib/data/value-transformer.d.ts +6 -0
  17. package/core/lib/types/core.types.d.ts +18 -0
  18. package/{layout/entity/lib → core/lib/types}/data.types.d.ts +3 -1
  19. package/core/lib/types/element.types.d.ts +6 -0
  20. package/core/lib/types/index.d.ts +6 -0
  21. package/core/lib/{types.d.ts → types/interactive.types.d.ts} +5 -25
  22. package/core/lib/types/scope.types.d.ts +10 -0
  23. package/core/lib/types/validation.types.d.ts +7 -0
  24. package/core/lib/utils/index.d.ts +1 -0
  25. package/core/lib/utils/object-util.d.ts +3 -0
  26. package/fesm2022/acorex-platform-common.mjs +79 -35
  27. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  28. package/fesm2022/acorex-platform-core.mjs +151 -6
  29. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  30. package/fesm2022/acorex-platform-layout-builder.mjs +44 -55
  31. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  32. package/fesm2022/acorex-platform-layout-designer.mjs +77 -35
  33. package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
  34. package/fesm2022/acorex-platform-layout-entity.mjs +240 -414
  35. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  36. package/fesm2022/acorex-platform-layout-search.mjs +7 -26
  37. package/fesm2022/acorex-platform-layout-search.mjs.map +1 -1
  38. package/fesm2022/acorex-platform-layout-setting.mjs +211 -278
  39. package/fesm2022/acorex-platform-layout-setting.mjs.map +1 -1
  40. package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-LKhN00ob.mjs → acorex-platform-themes-default-entity-master-create-view.component-3gmbdeJ_.mjs} +4 -3
  41. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-3gmbdeJ_.mjs.map +1 -0
  42. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DnEL7Ej-.mjs +741 -0
  43. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-DnEL7Ej-.mjs.map +1 -0
  44. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-8DdICjNs.mjs +91 -0
  45. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-8DdICjNs.mjs.map +1 -0
  46. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DadBeY1I.mjs +164 -0
  47. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-DadBeY1I.mjs.map +1 -0
  48. package/fesm2022/{acorex-platform-themes-default-search-popup.component-BY3oQqbr.mjs → acorex-platform-themes-default-search-popup.component-BADEuoeJ.mjs} +9 -9
  49. package/fesm2022/{acorex-platform-themes-default-search-popup.component-BY3oQqbr.mjs.map → acorex-platform-themes-default-search-popup.component-BADEuoeJ.mjs.map} +1 -1
  50. package/fesm2022/acorex-platform-themes-default-setting-page.component-Cj73brIK.mjs +219 -0
  51. package/fesm2022/acorex-platform-themes-default-setting-page.component-Cj73brIK.mjs.map +1 -0
  52. package/fesm2022/acorex-platform-themes-default-setting-view.component-rrAq6hg2.mjs +103 -0
  53. package/fesm2022/acorex-platform-themes-default-setting-view.component-rrAq6hg2.mjs.map +1 -0
  54. package/fesm2022/acorex-platform-themes-default.mjs +108 -64
  55. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  56. package/fesm2022/acorex-platform-themes-shared-setting.provider-CXiRmniv.mjs +168 -0
  57. package/fesm2022/acorex-platform-themes-shared-setting.provider-CXiRmniv.mjs.map +1 -0
  58. package/fesm2022/acorex-platform-themes-shared.mjs +495 -240
  59. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  60. package/fesm2022/acorex-platform-widgets.mjs +4100 -1480
  61. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  62. package/layout/builder/lib/builder/builder.service.d.ts +1 -1
  63. package/layout/builder/lib/builder/index.d.ts +2 -1
  64. package/layout/builder/lib/builder/widget-categories.d.ts +10 -0
  65. package/layout/builder/lib/builder/widget-group.types.d.ts +10 -0
  66. package/layout/builder/lib/builder/widget-map.d.ts +8 -1
  67. package/layout/builder/lib/builder/widget-status.types.d.ts +2 -0
  68. package/layout/builder/lib/builder/widget.types.d.ts +11 -27
  69. package/layout/designer/lib/designer/components/widget-picker/widget-picker.component.d.ts +7 -3
  70. package/layout/designer/lib/designer/components/widget-picker/widget-picker.service.d.ts +12 -0
  71. package/layout/designer/lib/designer/index.d.ts +1 -0
  72. package/layout/designer/lib/designer/shared/designer.service.d.ts +1 -0
  73. package/layout/designer/lib/property-viewer/widget-property-viewer.component.d.ts +2 -1
  74. package/layout/entity/lib/entity-data-seeder.d.ts +2 -2
  75. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +4 -7
  76. package/layout/entity/lib/entity-storage-service.d.ts +39 -55
  77. package/layout/entity/lib/entity.types.d.ts +21 -0
  78. package/layout/entity/lib/index.d.ts +1 -2
  79. package/layout/entity/lib/widgets/lookup-widget/index.d.ts +0 -2
  80. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +4 -0
  81. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-edit.component.d.ts +7 -9
  82. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.component.d.ts +5 -2
  83. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-selector.viewmodel.d.ts +11 -3
  84. package/layout/search/lib/search.viewmodel.d.ts +0 -2
  85. package/layout/setting/lib/setting.viewmodel.d.ts +45 -111
  86. package/package.json +5 -5
  87. package/themes/default/lib/layouts/base/base-page.component.d.ts +14 -5
  88. package/themes/default/lib/layouts/base/base-page.types.d.ts +6 -1
  89. package/themes/default/lib/layouts/base/page-layout/page-layout.component.d.ts +5 -4
  90. package/themes/default/lib/layouts/base/simple-page/simple-page.layout.d.ts +2 -2
  91. package/themes/default/lib/layouts/entity-layouts/entity-category/entity-category.component.d.ts +16 -0
  92. package/themes/default/lib/layouts/entity-layouts/entity-detail-list-view/entity-detail-list-view.component.d.ts +2 -2
  93. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +10 -8
  94. package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +12 -4
  95. package/themes/default/lib/layouts/entity-layouts/entity-master-toolbar-view/entity-master-toolbar-view.component.d.ts +7 -0
  96. package/themes/default/lib/layouts/entity-layouts/entity-master-toolbar-view/filters/entity-filter-toolbar.component.d.ts +48 -0
  97. package/themes/default/lib/layouts/entity-layouts/entity-master-toolbar-view/views/entity-view-toolbar.component.d.ts +12 -0
  98. package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +2 -2
  99. package/themes/default/lib/layouts/root-layout/components/horizontal-menu/horizontal-menu.component.d.ts +9 -3
  100. package/themes/default/lib/layouts/root-layout/components/side-menu/side-menu.component.d.ts +7 -1
  101. package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +2 -2
  102. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +2 -2
  103. package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +2 -2
  104. package/themes/default/lib/layouts/setting-layout/setting-page/setting-page.component.d.ts +61 -5
  105. package/themes/default/lib/layouts/setting-layout/setting-view/setting-view.component.d.ts +68 -6
  106. package/themes/shared/index.d.ts +1 -0
  107. package/themes/shared/lib/components/badge/badge.directive.d.ts +14 -0
  108. package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +4 -1
  109. package/themes/shared/lib/components/layout-elements/layout-side.component.d.ts +2 -2
  110. package/themes/shared/lib/components/slots/theme-slot.component.d.ts +2 -2
  111. package/themes/shared/lib/palette.provider.d.ts +1 -1
  112. package/themes/shared/lib/setting.keys.d.ts +2 -1
  113. package/themes/shared/lib/setting.provider.d.ts +4 -1
  114. package/themes/shared/lib/theme.service.d.ts +2 -2
  115. package/themes/shared/lib/theme.types.d.ts +11 -2
  116. package/themes/shared/lib/widgets/font-size-chooser/font-size-chooser-widget.component.d.ts +10 -0
  117. package/themes/shared/lib/widgets/font-size-chooser/font-size-chooser-widget.config.d.ts +7 -0
  118. package/themes/shared/lib/widgets/font-size-chooser/index.d.ts +2 -0
  119. package/themes/shared/lib/widgets/font-style-chooser/font-style-chooser-widget.component.d.ts +15 -0
  120. package/themes/shared/lib/widgets/font-style-chooser/font-style-chooser-widget.config.d.ts +7 -0
  121. package/themes/shared/lib/widgets/font-style-chooser/index.d.ts +2 -0
  122. package/themes/shared/lib/widgets/menu-orientation-chooser/index.d.ts +2 -0
  123. package/themes/shared/lib/widgets/menu-orientation-chooser/menu-orientation-chooser-widget.component.d.ts +15 -0
  124. package/themes/shared/lib/widgets/menu-orientation-chooser/menu-orientation-chooser-widget.config.d.ts +7 -0
  125. package/themes/shared/lib/widgets/theme-mode-chooser/index.d.ts +2 -0
  126. package/themes/shared/lib/widgets/theme-mode-chooser/theme-mode-chooser-widget.component.d.ts +16 -0
  127. package/themes/shared/lib/widgets/theme-mode-chooser/theme-mode-chooser-widget.config.d.ts +7 -0
  128. package/themes/shared/lib/widgets/theme-palette-chooser/index.d.ts +2 -0
  129. package/themes/shared/lib/widgets/theme-palette-chooser/theme-palette-chooser-widget.component.d.ts +13 -0
  130. package/themes/shared/lib/widgets/{theme-color-selection/theme-color-selection-widget.config.d.ts → theme-palette-chooser/theme-palette-chooser-widget.config.d.ts} +2 -2
  131. package/widgets/lib/properties/groups.d.ts +2 -0
  132. package/widgets/lib/widgets/advance/file/file-box-widget-edit.component.d.ts +5 -5
  133. package/widgets/lib/widgets/charts/bar-chart/bar-chart-widget.component.d.ts +52 -0
  134. package/widgets/lib/widgets/charts/bar-chart/bar-chart.type.d.ts +29 -11
  135. package/widgets/lib/widgets/charts/bar-chart/index.d.ts +1 -1
  136. package/widgets/lib/widgets/charts/chart.type.d.ts +3 -0
  137. package/widgets/lib/widgets/charts/clock-calendar/clock-calendar-widget.component.d.ts +40 -0
  138. package/widgets/lib/widgets/charts/clock-calendar/clock-calendar-widget.config.d.ts +7 -0
  139. package/widgets/lib/widgets/charts/clock-calendar/clock-calendar.types.d.ts +50 -0
  140. package/widgets/lib/widgets/charts/clock-calendar/index.d.ts +3 -0
  141. package/widgets/lib/widgets/charts/donut-chart/donut-chart-widget.component.d.ts +54 -0
  142. package/widgets/lib/widgets/charts/donut-chart/donut-chart.type.d.ts +31 -21
  143. package/widgets/lib/widgets/charts/donut-chart/index.d.ts +1 -1
  144. package/widgets/lib/widgets/charts/gauge-chart/{gauge-chart-widget-edit.component.d.ts → gauge-chart-widget.component.d.ts} +3 -3
  145. package/widgets/lib/widgets/charts/gauge-chart/gauge-chart.type.d.ts +26 -11
  146. package/widgets/lib/widgets/charts/gauge-chart/index.d.ts +2 -1
  147. package/widgets/lib/widgets/charts/shared/chart-base.component.d.ts +44 -0
  148. package/widgets/lib/widgets/charts/shared/chart-base.type.d.ts +37 -0
  149. package/widgets/lib/widgets/charts/sticky-note/index.d.ts +1 -1
  150. package/widgets/lib/widgets/charts/sticky-note/{sticky-note-widget-edit.component.d.ts → sticky-note-widget.component.d.ts} +3 -3
  151. package/widgets/lib/widgets/charts/weather/index.d.ts +4 -0
  152. package/widgets/lib/widgets/charts/weather/weather-services/index.d.ts +3 -0
  153. package/widgets/lib/widgets/charts/weather/weather-services/weather-api.abstract.d.ts +174 -0
  154. package/widgets/lib/widgets/charts/weather/weather-services/weather-api.key.d.ts +2 -0
  155. package/widgets/lib/widgets/charts/weather/weather-services/weather-api.mock.service.d.ts +47 -0
  156. package/widgets/lib/widgets/charts/weather/weather-services/weather-api.service.d.ts +48 -0
  157. package/widgets/lib/widgets/charts/weather/weather-widget.component.d.ts +109 -0
  158. package/widgets/lib/widgets/charts/weather/weather-widget.config.d.ts +14 -0
  159. package/widgets/lib/widgets/charts/weather/weather.module.d.ts +11 -0
  160. package/widgets/lib/widgets/editors/select/select-box-widget-column.component.d.ts +0 -1
  161. package/widgets/lib/widgets/editors/select/select-box-widget-edit.component.d.ts +4 -1
  162. package/widgets/lib/widgets/editors/template-box/index.d.ts +6 -0
  163. package/widgets/lib/widgets/editors/template-box/template-box-widget-column.component.d.ts +10 -0
  164. package/widgets/lib/widgets/editors/template-box/template-box-widget-edit.component.d.ts +29 -0
  165. package/widgets/lib/widgets/editors/template-box/template-box-widget-filter.component.d.ts +6 -0
  166. package/widgets/lib/widgets/editors/template-box/template-box-widget-print.component.d.ts +10 -0
  167. package/widgets/lib/widgets/editors/template-box/template-box-widget-view.component.d.ts +11 -0
  168. package/widgets/lib/widgets/editors/template-box/template-box-widget.config.d.ts +7 -0
  169. package/widgets/lib/widgets/filters/select-filter/select-filter-widget-edit.component.d.ts +2 -5
  170. package/widgets/lib/widgets/index.d.ts +3 -0
  171. package/fesm2022/acorex-platform-themes-default-entity-master-create-view.component-LKhN00ob.mjs.map +0 -1
  172. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BYUOmONk.mjs +0 -400
  173. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-BYUOmONk.mjs.map +0 -1
  174. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B9TUh-2S.mjs +0 -91
  175. package/fesm2022/acorex-platform-themes-default-entity-master-modify-view.component-B9TUh-2S.mjs.map +0 -1
  176. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-9U774Tr7.mjs +0 -135
  177. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-9U774Tr7.mjs.map +0 -1
  178. package/fesm2022/acorex-platform-themes-default-setting-page.component-_IStMWcu.mjs +0 -74
  179. package/fesm2022/acorex-platform-themes-default-setting-page.component-_IStMWcu.mjs.map +0 -1
  180. package/fesm2022/acorex-platform-themes-default-setting-view.component-CeHpcfsc.mjs +0 -73
  181. package/fesm2022/acorex-platform-themes-default-setting-view.component-CeHpcfsc.mjs.map +0 -1
  182. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-D_EkB2k8.mjs +0 -146
  183. package/fesm2022/acorex-platform-themes-default-theme-palette-preview.page-D_EkB2k8.mjs.map +0 -1
  184. package/layout/builder/lib/builder/widget-groups.d.ts +0 -9
  185. package/layout/entity/lib/dexie-storage.service.d.ts +0 -16
  186. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-filter.component.d.ts +0 -6
  187. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-print.component.d.ts +0 -6
  188. package/themes/default/lib/layouts/filters-layout/simple-filter-builder/filters-view.component.d.ts +0 -13
  189. package/themes/default/lib/pages/theme-palette-preview/theme-palette-preview.page.d.ts +0 -85
  190. package/themes/shared/lib/widgets/theme-color-selection/index.d.ts +0 -2
  191. package/themes/shared/lib/widgets/theme-color-selection/theme-color-selection-widget-edit.component.d.ts +0 -6
  192. package/widgets/lib/widgets/charts/bar-chart/bar-chart-widget-edit.component.d.ts +0 -40
  193. package/widgets/lib/widgets/charts/donut-chart/donut-chart-widget-edit.component.d.ts +0 -44
package/common/index.d.ts CHANGED
@@ -13,3 +13,4 @@ export * from './lib/search';
13
13
  export * from './lib/settings';
14
14
  export * from './lib/utils';
15
15
  export * from './lib/workflows';
16
+ export * from './lib/layout/task-badge';
@@ -1,7 +1,7 @@
1
1
  import { AXDataSourceOperator, AXStyleColorType } from '@acorex/components/common';
2
2
  import { AXPopupSizeType } from '@acorex/components/popup';
3
- import { AXPMetaData, AXPValidationRules } from '@acorex/platform/core';
4
- import { AXPWidgetTypesMap, AXPWidgetValueTransformFunctions } from '@acorex/platform/layout/builder';
3
+ import { AXPMetaData, AXPValidationRules, AXPValueTransformerFunctions } from '@acorex/platform/core';
4
+ import { AXPWidgetTypesMap } from '@acorex/platform/layout/builder';
5
5
  import { AXPGridLayoutOptions } from '../layout';
6
6
  export interface AXEntityPropertyWidget {
7
7
  type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap];
@@ -16,7 +16,7 @@ export interface AXEntityPropertyWidget {
16
16
  action: string;
17
17
  disabled?: boolean;
18
18
  }[];
19
- valueTransforms?: AXPWidgetValueTransformFunctions;
19
+ valueTransforms?: AXPValueTransformerFunctions;
20
20
  }
21
21
  export declare enum AXPRelationshipKind {
22
22
  Association = 0,
@@ -59,6 +59,7 @@ export interface AXPEntityPropertyGroup {
59
59
  }
60
60
  export interface AXPEntityPropertyView {
61
61
  name: string;
62
+ dataPath?: string;
62
63
  permissions?: string[];
63
64
  layout?: AXPEntityPropertyLayoutConfig;
64
65
  }
@@ -174,6 +175,7 @@ export interface AXPEntity {
174
175
  name: string;
175
176
  source: string;
176
177
  parentKey?: string;
178
+ category?: AXPCategoryEntity;
177
179
  title: string;
178
180
  formats: {
179
181
  individual: string;
@@ -242,6 +244,14 @@ export interface AXPRelatedEntity {
242
244
  hidden?: boolean | string;
243
245
  actions?: AXPEntityAction[];
244
246
  }
247
+ export interface AXPCategoryEntity {
248
+ entity: string;
249
+ title?: string;
250
+ textField?: string;
251
+ valueField?: string;
252
+ conditions?: AXPQueryFilter[];
253
+ applyConditions?: AXPQueryFilter[];
254
+ }
245
255
  export interface AXPAggregate {
246
256
  id: string;
247
257
  name: string;
@@ -1,4 +1,4 @@
1
- import { AXPMetaData } from "@acorex/platform/core";
1
+ import { AXPMetaData } from '@acorex/platform/core';
2
2
  export declare enum AXPFileStorageStatus {
3
3
  Temporary = "temporary",// File is not yet associated with a parent entity
4
4
  Committed = "committed",// File is fully associated and in use
@@ -14,6 +14,10 @@ export interface AXPFileStorageCreateRequest {
14
14
  * The file to be stored.
15
15
  */
16
16
  file: File;
17
+ /**
18
+ * The name of the file.
19
+ */
20
+ name?: string;
17
21
  /**
18
22
  * The unique identifier of referenced entity.
19
23
  */
@@ -46,21 +50,21 @@ export interface AXPFileStorageCreateRequest {
46
50
  }
47
51
  export interface AXPFileStorageUpdateRequest {
48
52
  /**
49
- * The unique identifier for the stored file.
50
- */
53
+ * The unique identifier for the stored file.
54
+ */
51
55
  fileId: string;
52
56
  /**
53
57
  * The folder path where the file should be stored.
54
58
  * If null, the service will resolve the path based on metadata, user, tenant, or default rules.
55
- */
59
+ */
56
60
  path?: string;
57
61
  /**
58
62
  * Metadata associated with the file.
59
63
  */
60
64
  metadata: AXPMetaData;
61
65
  /**
62
- * Indicates whether the file is primary or not.
63
- */
66
+ * Indicates whether the file is primary or not.
67
+ */
64
68
  isPrimary?: boolean;
65
69
  }
66
70
  /**
@@ -72,8 +76,8 @@ export interface AXPFileStorageInfo {
72
76
  */
73
77
  fileId: string;
74
78
  /**
75
- * The unique identifier of referenced entity.
76
- */
79
+ * The unique identifier of referenced entity.
80
+ */
77
81
  refId: string;
78
82
  /**
79
83
  * The type of the referenced entity.
@@ -91,6 +95,10 @@ export interface AXPFileStorageInfo {
91
95
  * The size of the file in bytes.
92
96
  */
93
97
  size: number;
98
+ /**
99
+ * The name of the file.
100
+ */
101
+ name?: string;
94
102
  /**
95
103
  * The MIME type of the file.
96
104
  */
@@ -104,8 +112,8 @@ export interface AXPFileStorageInfo {
104
112
  */
105
113
  isPublic: boolean;
106
114
  /**
107
- * Indicates whether the file is primary or not.
108
- */
115
+ * Indicates whether the file is primary or not.
116
+ */
109
117
  isPrimary?: boolean;
110
118
  status: AXPFileStorageStatus;
111
119
  }
@@ -134,8 +142,8 @@ export interface AXPFileStorageFindRequest {
134
142
  */
135
143
  isPublic?: boolean;
136
144
  /**
137
- * Indicates whether the file is primary or not.
138
- */
145
+ * Indicates whether the file is primary or not.
146
+ */
139
147
  isPrimary?: boolean;
140
148
  /**
141
149
  * The date and time range when the file was uploaded.
@@ -12,7 +12,12 @@ export interface AXPFilterDefinition {
12
12
  operator: AXPFilterOperation;
13
13
  logic?: AXPFilterLogic;
14
14
  filters?: AXPFilterDefinition[];
15
+ icon?: string;
15
16
  widget: AXPWidgetNode;
17
+ filterType: {
18
+ advance: boolean;
19
+ inline: boolean;
20
+ };
16
21
  }
17
22
  export interface AXPFilterQuery extends Pick<AXPFilterDefinition, 'field' | 'value' | 'operator' | 'logic'> {
18
23
  filters?: AXPFilterQuery[];
@@ -0,0 +1,7 @@
1
+ import { AXPTaskBadgeService } from "../task-badge";
2
+ import { AXPMenuItem } from "./menu.types";
3
+ import { Signal } from "@angular/core";
4
+ export declare class AXPMenuBadgeHelper {
5
+ private static cache;
6
+ static getTotalCount(item: AXPMenuItem, badgeService: AXPTaskBadgeService): Signal<number>;
7
+ }
@@ -3,3 +3,4 @@ export * from './menu.service';
3
3
  export * from './menu.types';
4
4
  export * from './search-definition.provider';
5
5
  export * from './search.provider';
6
+ export * from './badge-helper';
@@ -13,6 +13,7 @@ export interface AXPMenuItem {
13
13
  children?: AXPMenuItem[];
14
14
  path?: string;
15
15
  command?: AXPMenuItemCommand | undefined;
16
+ badgeKey?: string;
16
17
  data?: any;
17
18
  meta?: AXPMetaData;
18
19
  }
@@ -0,0 +1,2 @@
1
+ export * from './task-badge.service';
2
+ export * from './task-badge.type';
@@ -0,0 +1,11 @@
1
+ import { Signal } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class AXPTaskBadgeService {
4
+ private badgeMap;
5
+ private providers;
6
+ private computedCache;
7
+ constructor();
8
+ getCount(key: string): Signal<number>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AXPTaskBadgeService, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<AXPTaskBadgeService>;
11
+ }
@@ -0,0 +1,6 @@
1
+ import { InjectionToken, Signal } from "@angular/core";
2
+ export declare const AXP_TASK_BADGE_PROVIDERS: InjectionToken<AXPTaskBadgeProvider[]>;
3
+ export declare abstract class AXPTaskBadgeProvider {
4
+ abstract key: string;
5
+ abstract count: Signal<number>;
6
+ }
@@ -1,6 +1,7 @@
1
1
  import { InjectionToken } from '@angular/core';
2
- import { AXPGroupSearchResult, AXPSettingDefinitionGroup, AXPSettingScope, AXPSettingScopeKey, AXPSettingValue, AXPSettingValueProvider } from './settings.types';
2
+ import { AXPGroupSearchResult, AXPSettingDefinitionGroup, AXPSettingValue, AXPSettingValueProvider } from './settings.types';
3
3
  import { AXPSettingDefinitionProviderContext } from './setting.builder';
4
+ import { AXPPlatformScope, AXPPlatformScopeKey } from '@acorex/platform/core';
4
5
  import * as i0 from "@angular/core";
5
6
  export interface AXPSettingDefinitionProvider {
6
7
  provide(context: AXPSettingDefinitionProviderContext): Promise<void>;
@@ -10,17 +11,18 @@ export declare class AXPSettingDefinitionProviderService {
10
11
  private providers;
11
12
  private cache;
12
13
  private load;
13
- getListAsync(scope: AXPSettingScopeKey): Promise<AXPSettingDefinitionGroup[]>;
14
- getList(scope: AXPSettingScopeKey): AXPSettingDefinitionGroup[];
14
+ reload(): Promise<void>;
15
+ getListAsync(scope: AXPPlatformScopeKey): Promise<AXPSettingDefinitionGroup[]>;
16
+ getList(scope: AXPPlatformScopeKey): AXPSettingDefinitionGroup[];
15
17
  defaultValues(): Promise<Record<string, unknown>>;
16
- findGroup(scope: AXPSettingScopeKey, groupName: string): AXPGroupSearchResult;
18
+ findGroup(scope: AXPPlatformScopeKey, groupName: string): AXPGroupSearchResult;
17
19
  private searchRecursive;
18
20
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingDefinitionProviderService, never>;
19
21
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingDefinitionProviderService>;
20
22
  }
21
23
  export declare class AXPSettingDefaultValueProvider implements AXPSettingValueProvider {
22
24
  private definitionProvider;
23
- get scope(): AXPSettingScope;
25
+ get scope(): AXPPlatformScope;
24
26
  load(): Promise<AXPSettingValue[]>;
25
27
  set(key: string, value: any): Promise<void>;
26
28
  set(values: Record<string, any>): Promise<void>;
@@ -1,6 +1,8 @@
1
- import { AXPOptionsData, AXPValidationRules } from '@acorex/platform/core';
2
- import { AXPWidgetTriggers, AXPWidgetTypesMap, AXPWidgetValueTransformFunctions } from '@acorex/platform/layout/builder';
3
- import { AXPSettingDefinitionGroup, AXPSettingDefinitionSection, AXPSettingScopeKey } from './index';
1
+ import { AXPOptionsData, AXPValidationRules, AXPValueTransformerFunctions, AXPWidgetTriggers } from '@acorex/platform/core';
2
+ import { AXPWidgetTypesMap } from '@acorex/platform/layout/builder';
3
+ import { AXPSettingDefinitionGroup, AXPSettingDefinitionSection } from './index';
4
+ import { AXPGridLayoutOptions } from '../layout';
5
+ import { AXPPlatformScopeKey } from '@acorex/platform/core';
4
6
  export declare class AXPSettingDefinitionProviderContext {
5
7
  private rootGroups;
6
8
  private groupMap;
@@ -26,18 +28,19 @@ export declare class AXPSettingDefinitionSectionBuilder {
26
28
  addSetting(setting: {
27
29
  key: string;
28
30
  title: string;
29
- scope: AXPSettingScopeKey;
31
+ scope: AXPPlatformScopeKey;
30
32
  widget: {
31
33
  type: AXPWidgetTypesMap[keyof AXPWidgetTypesMap];
32
34
  options?: AXPOptionsData;
33
35
  triggers?: AXPWidgetTriggers;
36
+ layout?: AXPGridLayoutOptions;
34
37
  };
35
38
  description?: string;
36
39
  isRequired?: boolean;
37
40
  isInherited?: boolean;
38
41
  isEncrypted?: boolean;
39
42
  defaultValue?: unknown;
40
- valueTransforms?: AXPWidgetValueTransformFunctions;
43
+ valueTransforms?: AXPValueTransformerFunctions;
41
44
  validationRules?: AXPValidationRules;
42
45
  }): this;
43
46
  endSection(): AXPSettingDefinitionGroupBuilder;
@@ -1,11 +1,12 @@
1
1
  import { Subject } from 'rxjs';
2
- import { AXPSettingChangedEvent, AXPSettingScope, AXPSettingValue, AXPSettingValueProvider } from './settings.types';
2
+ import { AXPSettingChangedEvent, AXPSettingValue, AXPSettingValueProvider } from './settings.types';
3
+ import { AXPPlatformScope } from '@acorex/platform/core';
3
4
  import * as i0 from "@angular/core";
4
5
  export interface AXPSettingServiceInterface {
5
6
  load(): Promise<AXPSettingValue[]>;
6
7
  get<T = any>(key: string): Promise<T>;
7
- defaultValues(scope: AXPSettingScope): Promise<Record<string, unknown>>;
8
- scope(scope: AXPSettingScope): ScopedSettingService;
8
+ defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
9
+ scope(scope: AXPPlatformScope): ScopedSettingService;
9
10
  }
10
11
  export declare class AXPSettingService implements AXPSettingServiceInterface {
11
12
  private readonly providers;
@@ -16,8 +17,8 @@ export declare class AXPSettingService implements AXPSettingServiceInterface {
16
17
  constructor();
17
18
  load(): Promise<AXPSettingValue[]>;
18
19
  get<T = any>(key: string): Promise<T>;
19
- defaultValues(scope: AXPSettingScope): Promise<Record<string, unknown>>;
20
- scope(scope: AXPSettingScope): ScopedSettingService;
20
+ defaultValues(scope: AXPPlatformScope): Promise<Record<string, unknown>>;
21
+ scope(scope: AXPPlatformScope): ScopedSettingService;
21
22
  invokeChangeEvent(event: AXPSettingChangedEvent): void;
22
23
  static ɵfac: i0.ɵɵFactoryDeclaration<AXPSettingService, never>;
23
24
  static ɵprov: i0.ɵɵInjectableDeclaration<AXPSettingService>;
@@ -1,6 +1,8 @@
1
1
  import { AXPWidgetNode } from '@acorex/platform/layout/builder';
2
+ import { AXPGridLayoutOptions } from '../layout';
3
+ import { AXPPlatformScope, AXPPlatformScopeKey } from '@acorex/platform/core';
2
4
  export interface AXPSettingValueProvider {
3
- get scope(): AXPSettingScope;
5
+ get scope(): AXPPlatformScope;
4
6
  load(): Promise<AXPSettingValue[]>;
5
7
  set(key: string, value: any): Promise<void>;
6
8
  set(values: Record<string, any>): Promise<void>;
@@ -10,24 +12,18 @@ export interface AXPSettingValue {
10
12
  value: any;
11
13
  }
12
14
  export interface AXPSettingChangedEvent {
13
- scope: AXPSettingScope;
15
+ scope: AXPPlatformScope;
14
16
  keys: string[];
15
17
  values: Record<string, any>;
16
18
  entries: AXPSettingValue[];
17
19
  }
18
- export type AXPSettingScopeKey = 'C' | 'G' | 'T' | 'U';
19
- export declare enum AXPSettingScope {
20
- Environment = "C",
21
- Global = "G",
22
- Tenant = "T",
23
- User = "U"
24
- }
25
20
  export interface AXPSettingDefinition {
26
21
  name: string;
27
22
  title: string;
28
23
  description?: string;
29
24
  widget: AXPWidgetNode;
30
- scope: AXPSettingScopeKey;
25
+ layout?: AXPGridLayoutOptions;
26
+ scope: AXPPlatformScopeKey;
31
27
  isRequired?: boolean;
32
28
  isInherited?: boolean;
33
29
  isEncrypted?: boolean;
@@ -1 +1,2 @@
1
1
  export * from './data-generator';
2
+ export * from './value-transformer';
@@ -0,0 +1,6 @@
1
+ export type AXPValueTransformerFunction = (value: any) => any;
2
+ export type AXPValueTransformerFunctions = {
3
+ getter?: AXPValueTransformerFunction;
4
+ setter?: AXPValueTransformerFunction;
5
+ };
6
+ export declare function objectKeyValueTransforms(keyName: string): AXPValueTransformerFunctions;
@@ -0,0 +1,18 @@
1
+ export type AXPPartialNested<T> = {
2
+ [K in keyof T]?: T[K] extends object ? AXPPartialNested<T[K]> : T[K];
3
+ };
4
+ export declare function getNestedKeys(obj: any, prefix?: string): string[];
5
+ export type AXPMetaData = Record<string, any>;
6
+ export type AXPOptionsData = Record<string, any>;
7
+ export interface AXPValueUnit {
8
+ name: string;
9
+ title: string;
10
+ ratio: number;
11
+ order: number;
12
+ }
13
+ export interface AXPValueUnits {
14
+ name: string;
15
+ title: string;
16
+ items: AXPValueUnit[];
17
+ default: string;
18
+ }
@@ -1,4 +1,5 @@
1
- import { AXDataSourceFilterOption, AXDataSourceSortOption } from '@acorex/components/common';
1
+ import { AXDataSource, AXDataSourceFilterOption, AXDataSourceSortOption } from "@acorex/components/common";
2
+ export type AXPDataSource = string | AXDataSource | any[];
2
3
  export interface AXPPagedListResult<T = any> {
3
4
  items: T[];
4
5
  total: number;
@@ -12,3 +13,4 @@ export interface AXPQueryRequest {
12
13
  [key: string]: string;
13
14
  };
14
15
  }
16
+ export type AXPDataType = 'string' | 'number' | 'object' | 'boolean' | 'array';
@@ -0,0 +1,6 @@
1
+ export type AXPWidgetTrigger = {
2
+ event: string;
3
+ action: string | string[];
4
+ disabled?: boolean;
5
+ };
6
+ export type AXPWidgetTriggers = AXPWidgetTrigger[];
@@ -0,0 +1,6 @@
1
+ export * from './data.types';
2
+ export * from './interactive.types';
3
+ export * from './core.types';
4
+ export * from './validation.types';
5
+ export * from './element.types';
6
+ export * from './scope.types';
@@ -1,18 +1,6 @@
1
1
  import { Type } from '@angular/core';
2
2
  import { NavigationExtras } from '@angular/router';
3
- export type AXPPartialNested<T> = {
4
- [K in keyof T]?: T[K] extends object ? AXPPartialNested<T[K]> : T[K];
5
- };
6
- export type AXPMetaData = Record<string, any>;
7
- export type AXPOptionsData = Record<string, any>;
8
- export type AXPValidationRule = {
9
- rule: string;
10
- message?: string;
11
- options?: any;
12
- disabled?: boolean;
13
- };
14
- export type AXPValidationRules = AXPValidationRule[];
15
- export declare function getNestedKeys(obj: any, prefix?: string): string[];
3
+ import { AXPMetaData } from './core.types';
16
4
  export type AXPActionMenuItem = {
17
5
  name?: string;
18
6
  title: string;
@@ -21,6 +9,10 @@ export type AXPActionMenuItem = {
21
9
  break?: boolean;
22
10
  items?: AXPActionMenuItem[];
23
11
  command?: AXPExecuteCommand;
12
+ disabled?: boolean | string;
13
+ };
14
+ export type AXPBackButton = {
15
+ title: string;
24
16
  };
25
17
  export type AXPBreadcrumbItem = {
26
18
  name?: string;
@@ -50,15 +42,3 @@ export interface AXPNavigateActionCommand<T extends keyof AXPNavigateActionOptio
50
42
  type: T;
51
43
  options: AXPNavigateActionOptions[T];
52
44
  }
53
- export interface AXPValueUnit {
54
- name: string;
55
- title: string;
56
- ratio: number;
57
- order: number;
58
- }
59
- export interface AXPValueUnits {
60
- name: string;
61
- title: string;
62
- items: AXPValueUnit[];
63
- default: string;
64
- }
@@ -0,0 +1,10 @@
1
+ export type AXPPlatformScopeKey = 'C' | 'G' | 'P' | 'T' | 'U';
2
+ export declare enum AXPPlatformScope {
3
+ Environment = "C",
4
+ Global = "G",
5
+ Platform = "P",
6
+ Tenant = "T",
7
+ User = "U"
8
+ }
9
+ export declare function resolvePlatformScopeKey(name: string): AXPPlatformScopeKey;
10
+ export declare function resolvePlatformScopeName(scope: AXPPlatformScopeKey): string;
@@ -0,0 +1,7 @@
1
+ export type AXPValidationRule = {
2
+ rule: string;
3
+ message?: string;
4
+ options?: any;
5
+ disabled?: boolean;
6
+ };
7
+ export type AXPValidationRules = AXPValidationRule[];
@@ -1,4 +1,5 @@
1
1
  export * from './countdown-timer';
2
+ export * from './object-util';
2
3
  export * from './data-conditioner';
3
4
  export * from './html-utils';
4
5
  export * from './highlighter';
@@ -0,0 +1,3 @@
1
+ export declare function extractNestedFieldsWildcard(obj: any, basePath: string, fields: string[]): any;
2
+ export declare function setSmart(obj: any, smartPath: string, value: any): any;
3
+ export declare function getSmart(obj: any, smartPath: string): any;