@acorex/platform 19.3.6 → 19.4.1

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 (171) hide show
  1. package/auth/lib/permission/permission-definition.builder.d.ts +2 -2
  2. package/auth/lib/permission/permission.types.d.ts +1 -1
  3. package/common/index.d.ts +0 -1
  4. package/common/lib/layout/index.d.ts +0 -2
  5. package/common/lib/layout/menu/badge-helper.d.ts +2 -2
  6. package/core/index.d.ts +8 -1
  7. package/core/lib/context/context-store.service.d.ts +37 -0
  8. package/core/lib/directives/content-checker.directive.d.ts +10 -0
  9. package/core/lib/directives/index.d.ts +1 -0
  10. package/core/lib/expression-evaluator/expression-evaluator-scope-provider.service.d.ts +23 -0
  11. package/core/lib/expression-evaluator/expression-evaluator.service.d.ts +2 -0
  12. package/core/lib/expression-evaluator/index.d.ts +1 -0
  13. package/core/lib/types/interactive.types.d.ts +1 -0
  14. package/domain/README.md +3 -0
  15. package/domain/index.d.ts +2 -0
  16. package/domain/lib/domain.module.d.ts +8 -0
  17. package/domain/lib/provide-entity-crud-commands.d.ts +4 -0
  18. package/fesm2022/acorex-platform-auth.mjs.map +1 -1
  19. package/fesm2022/acorex-platform-common.mjs +2 -202
  20. package/fesm2022/acorex-platform-common.mjs.map +1 -1
  21. package/fesm2022/acorex-platform-core.mjs +312 -127
  22. package/fesm2022/acorex-platform-core.mjs.map +1 -1
  23. package/fesm2022/acorex-platform-domain.mjs +71 -0
  24. package/fesm2022/acorex-platform-domain.mjs.map +1 -0
  25. package/fesm2022/acorex-platform-layout-builder.mjs +5 -1
  26. package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
  27. package/fesm2022/acorex-platform-layout-components.mjs +667 -3
  28. package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
  29. package/fesm2022/acorex-platform-layout-entity.mjs +53 -4
  30. package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
  31. package/fesm2022/acorex-platform-layout-views.mjs +442 -3
  32. package/fesm2022/acorex-platform-layout-views.mjs.map +1 -1
  33. package/fesm2022/acorex-platform-runtime.mjs +448 -0
  34. package/fesm2022/acorex-platform-runtime.mjs.map +1 -0
  35. package/fesm2022/{acorex-platform-themes-default-details-view.component-w1GLOu_c.mjs → acorex-platform-themes-default-details-view.component-DXwO-Euo.mjs} +7 -8
  36. package/fesm2022/acorex-platform-themes-default-details-view.component-DXwO-Euo.mjs.map +1 -0
  37. package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-C8rL7vLD.mjs → acorex-platform-themes-default-entity-master-list-view.component-C0aVy6kW.mjs} +15 -13
  38. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C0aVy6kW.mjs.map +1 -0
  39. package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-qu3j-fxn.mjs → acorex-platform-themes-default-entity-master-single-view.component-WYpSnpSx.mjs} +34 -13
  40. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-WYpSnpSx.mjs.map +1 -0
  41. package/fesm2022/acorex-platform-themes-default.mjs +48 -285
  42. package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
  43. package/fesm2022/acorex-platform-themes-shared.mjs +8 -415
  44. package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
  45. package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-i8FcuktZ.mjs → acorex-platform-widgets-button-widget-designer.component-BWZ0L--k.mjs} +4 -4
  46. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-BWZ0L--k.mjs.map +1 -0
  47. package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BQcHI7vG.mjs → acorex-platform-widgets-checkbox-widget-column.component-Bq8dCQJb.mjs} +3 -3
  48. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-Bq8dCQJb.mjs.map +1 -0
  49. package/fesm2022/acorex-platform-widgets.mjs +529 -118
  50. package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
  51. package/fesm2022/acorex-platform-workflow.mjs +22 -3
  52. package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
  53. package/layout/builder/lib/builder/widget-base.component.d.ts +1 -0
  54. package/layout/builder/lib/builder/widget-map.d.ts +1 -0
  55. package/layout/components/index.d.ts +3 -0
  56. package/{common/lib/layout/task-badge → layout/components/lib/badge}/index.d.ts +1 -0
  57. package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/index.d.ts +1 -0
  58. package/layout/components/lib/blocks/layout-blocks.component.d.ts +8 -0
  59. package/layout/components/lib/blocks/layout-container.component.d.ts +13 -0
  60. package/{common/lib/layout → layout/components/lib}/component-slot/component-slot-loader.service.d.ts +5 -4
  61. package/{common/lib/layout → layout/components/lib}/component-slot/component-slot.directive.d.ts +5 -5
  62. package/layout/components/lib/component-slot/component-slot.types.d.ts +22 -0
  63. package/layout/entity/lib/entity-master-list.viewmodel.d.ts +4 -2
  64. package/layout/entity/lib/widgets/lookup-widget/lookup-widget-column.component.d.ts +1 -1
  65. package/layout/entity/lib/workflows/modify-entity.workflow.d.ts +6 -0
  66. package/layout/views/index.d.ts +2 -1
  67. package/layout/views/lib/layouts/index.d.ts +2 -0
  68. package/layout/views/lib/layouts/page/index.d.ts +3 -0
  69. package/{themes/default/lib/layouts/base/base-page.component.d.ts → layout/views/lib/layouts/page/page-layout-base.component.d.ts} +6 -4
  70. package/{themes/default/lib/layouts/base/base-page.types.d.ts → layout/views/lib/layouts/page/page-layout.base.d.ts} +1 -1
  71. package/{themes/default/lib/layouts/base/page-layout → layout/views/lib/layouts/page}/page-layout.component.d.ts +4 -2
  72. package/layout/views/lib/layouts/popup/index.d.ts +3 -0
  73. package/layout/views/lib/layouts/popup/popup-layout-base.component.d.ts +98 -0
  74. package/layout/views/lib/layouts/popup/popup-layout.base.d.ts +14 -0
  75. package/layout/views/lib/layouts/popup/popup-layout.component.d.ts +76 -0
  76. package/layout/views/lib/{details-view → views/details-view}/details-view.adapter.d.ts +1 -1
  77. package/layout/views/lib/views/index.d.ts +1 -0
  78. package/package.json +9 -1
  79. package/runtime/README.md +3 -0
  80. package/runtime/index.d.ts +17 -0
  81. package/runtime/lib/commands/command.extension.token.d.ts +7 -0
  82. package/runtime/lib/commands/command.interface.d.ts +3 -0
  83. package/runtime/lib/commands/command.middleware.d.ts +2 -0
  84. package/runtime/lib/commands/command.registry.d.ts +16 -0
  85. package/runtime/lib/commands/provide-command-middleware.d.ts +9 -0
  86. package/runtime/lib/commands/provide-command-setups.d.ts +9 -0
  87. package/runtime/lib/policy/policy-middleware-provider.d.ts +9 -0
  88. package/runtime/lib/policy/policy.directive.d.ts +9 -0
  89. package/runtime/lib/policy/policy.extension.token.d.ts +7 -0
  90. package/runtime/lib/policy/policy.interface.d.ts +17 -0
  91. package/runtime/lib/policy/policy.middleware.d.ts +3 -0
  92. package/runtime/lib/policy/policy.registry.d.ts +19 -0
  93. package/runtime/lib/policy/policy.service.d.ts +8 -0
  94. package/runtime/lib/policy/policy.types.d.ts +7 -0
  95. package/runtime/lib/queries/provide-query-middleware.d.ts +9 -0
  96. package/runtime/lib/queries/provide-query-setups.d.ts +9 -0
  97. package/runtime/lib/queries/query.extension.token.d.ts +7 -0
  98. package/runtime/lib/queries/query.interface.d.ts +3 -0
  99. package/runtime/lib/queries/query.middleware.d.ts +2 -0
  100. package/runtime/lib/queries/query.registry.d.ts +15 -0
  101. package/runtime/lib/runtime.module.d.ts +12 -0
  102. package/themes/default/index.d.ts +0 -1
  103. package/themes/default/lib/layouts/details-view/details-view.component.d.ts +2 -2
  104. package/themes/default/lib/layouts/entity-layouts/entity-master-list-view/entity-master-list-view.component.d.ts +2 -2
  105. package/themes/default/lib/layouts/entity-layouts/entity-master-single-view/entity-master-single-view.component.d.ts +29 -2
  106. package/themes/default/lib/layouts/root-layout/components/horizontal-menu/horizontal-menu.component.d.ts +2 -1
  107. package/themes/default/lib/layouts/root-layout/components/side-menu/side-menu.component.d.ts +2 -1
  108. package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +1 -0
  109. package/themes/shared/index.d.ts +1 -3
  110. package/themes/shared/lib/shared.module.d.ts +1 -1
  111. package/themes/shared/lib/{components/slots → slots}/theme-slot.component.d.ts +9 -9
  112. package/widgets/lib/widgets/advance/avatar/avatar-widget-column.component.d.ts +1 -1
  113. package/widgets/lib/widgets/advance/cron-job/cron-job-widget-column.component.d.ts +1 -1
  114. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget-column.component.d.ts +6 -0
  115. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget-edit.component.d.ts +33 -0
  116. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget-filter.component.d.ts +6 -0
  117. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget-print.component.d.ts +6 -0
  118. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget-view.component.d.ts +31 -0
  119. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget.config.d.ts +7 -0
  120. package/widgets/lib/widgets/advance/file-uploader/file-uploader-widget.service.d.ts +12 -0
  121. package/widgets/lib/widgets/advance/file-uploader/index.d.ts +7 -0
  122. package/widgets/lib/widgets/editors/checkbox/checkbox-widget-column.component.d.ts +1 -1
  123. package/widgets/lib/widgets/editors/color/color-box-widget-column.component.d.ts +1 -1
  124. package/widgets/lib/widgets/editors/contact/contact-widget-column.component.d.ts +1 -1
  125. package/widgets/lib/widgets/editors/date-time/date-time-box-widget-column.component.d.ts +1 -1
  126. package/widgets/lib/widgets/editors/email/email-box-widget-column.component.d.ts +1 -1
  127. package/widgets/lib/widgets/editors/large-text/large-text-widget-column.component.d.ts +1 -1
  128. package/widgets/lib/widgets/editors/link/link-widget-column.component.d.ts +1 -1
  129. package/widgets/lib/widgets/editors/meta-data/meta-data-widget-column.component.d.ts +1 -1
  130. package/widgets/lib/widgets/editors/number/number-box-widget-column.component.d.ts +1 -1
  131. package/widgets/lib/widgets/editors/number-unit/number-unit-box-widget-column.component.d.ts +1 -1
  132. package/widgets/lib/widgets/editors/password/password-box-widget-column.component.d.ts +1 -1
  133. package/widgets/lib/widgets/editors/phone/phone-box-widget-column.component.d.ts +1 -1
  134. package/widgets/lib/widgets/editors/rich-text/rich-text-widget-column.component.d.ts +1 -1
  135. package/widgets/lib/widgets/editors/select/select-box-widget-column.component.d.ts +1 -1
  136. package/widgets/lib/widgets/editors/selection-list/selection-list-widget-column.component.d.ts +1 -1
  137. package/widgets/lib/widgets/editors/tabular-data/tabular-data-column.component.d.ts +1 -1
  138. package/widgets/lib/widgets/editors/text/text-box-widget-column.component.d.ts +1 -1
  139. package/widgets/lib/widgets/editors/time-duration/time-duration-widget-column.component.d.ts +1 -1
  140. package/widgets/lib/widgets/editors/toggle/toggle-widget-column.component.d.ts +1 -1
  141. package/widgets/lib/widgets/index.d.ts +1 -0
  142. package/workflow/lib/slots/workflow-action-bar/workflow-action-bar.component.d.ts +36 -0
  143. package/workflow/lib/workflow-evaluator-scope.provider.d.ts +4 -0
  144. package/common/lib/layout/beardcrumb.type.d.ts +0 -6
  145. package/common/lib/layout/component-slot/component-slot.types.d.ts +0 -15
  146. package/core/lib/index.d.ts +0 -7
  147. package/fesm2022/acorex-platform-themes-default-details-view.component-w1GLOu_c.mjs.map +0 -1
  148. package/fesm2022/acorex-platform-themes-default-entity-master-list-view.component-C8rL7vLD.mjs.map +0 -1
  149. package/fesm2022/acorex-platform-themes-default-entity-master-single-view.component-qu3j-fxn.mjs.map +0 -1
  150. package/fesm2022/acorex-platform-widgets-button-widget-designer.component-i8FcuktZ.mjs.map +0 -1
  151. package/fesm2022/acorex-platform-widgets-checkbox-widget-column.component-BQcHI7vG.mjs.map +0 -1
  152. package/themes/default/lib/layouts/base/index.d.ts +0 -3
  153. package/themes/default/lib/layouts/base/page-layout/index.d.ts +0 -1
  154. package/themes/shared/lib/components/layout-elements/layout-blocks.component.d.ts +0 -8
  155. /package/{themes/shared/lib/components → layout/components/lib}/badge/badge.directive.d.ts +0 -0
  156. /package/{common/lib/layout/task-badge → layout/components/lib/badge}/task-badge.service.d.ts +0 -0
  157. /package/{common/lib/layout/task-badge → layout/components/lib/badge}/task-badge.type.d.ts +0 -0
  158. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-actions.component.d.ts +0 -0
  159. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-footer.component.d.ts +0 -0
  160. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-header.component.d.ts +0 -0
  161. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-list.component.d.ts +0 -0
  162. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-section.component.d.ts +0 -0
  163. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-side.component.d.ts +0 -0
  164. /package/{themes/shared/lib/components/layout-elements → layout/components/lib/blocks}/layout-tool-bar.component.d.ts +0 -0
  165. /package/{common/lib/layout → layout/components/lib}/component-slot/component-slot-registery.service.d.ts +0 -0
  166. /package/{common/lib/layout → layout/components/lib}/component-slot/component-slot.module.d.ts +0 -0
  167. /package/{common/lib/layout → layout/components/lib}/component-slot/index.d.ts +0 -0
  168. /package/layout/views/lib/{details-view → views/details-view}/details-view-route.resolver.d.ts +0 -0
  169. /package/layout/views/lib/{details-view → views/details-view}/details-view.viewmodel.d.ts +0 -0
  170. /package/layout/views/lib/{details-view → views/details-view}/index.d.ts +0 -0
  171. /package/layout/views/lib/{details-view → views/details-view}/sample.d.ts +0 -0
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { InjectionToken, inject, Injectable, Injector, makeEnvironmentProviders, NgModule, ErrorHandler, Input, Directive, EventEmitter, Output, runInInjectionContext, Optional, Inject, Component, computed, ViewEncapsulation, signal, model, linkedSignal, afterNextRender } from '@angular/core';
2
+ import { InjectionToken, inject, Injectable, Injector, makeEnvironmentProviders, NgModule, ErrorHandler, Input, Directive, EventEmitter, Output, Component, computed, ViewEncapsulation, Inject, signal, model, linkedSignal, afterNextRender } from '@angular/core';
3
3
  import { kebabCase, merge, sortBy, cloneDeep, get, omit } from 'lodash-es';
4
4
  import { Router, ROUTES, RouterModule } from '@angular/router';
5
5
  import { AXPSessionService, AXPSessionStatus } from '@acorex/platform/auth';
@@ -1239,173 +1239,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImpo
1239
1239
  type: Input
1240
1240
  }] } });
1241
1241
 
1242
- class AXPComponentSlotRegistryService {
1243
- constructor() {
1244
- this.registry = new Map();
1245
- }
1246
- register(slotName, config) {
1247
- let configs = this.registry.get(slotName) || [];
1248
- // Check if the component is already registered in this slot
1249
- const isDuplicate = configs.some(existingConfig => existingConfig.name === config.name);
1250
- if (!isDuplicate) {
1251
- configs = [...configs, config]; // Add the new configuration
1252
- this.registry.set(slotName, configs);
1253
- }
1254
- }
1255
- get(slotName) {
1256
- return this.registry.get(slotName) || [];
1257
- }
1258
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotRegistryService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
1259
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotRegistryService, providedIn: 'root' }); }
1260
- }
1261
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotRegistryService, decorators: [{
1262
- type: Injectable,
1263
- args: [{
1264
- providedIn: 'root'
1265
- }]
1266
- }] });
1267
-
1268
- class AXPComponentSlotLoaderService {
1269
- constructor(registryService, injector) {
1270
- this.registryService = registryService;
1271
- this.injector = injector;
1272
- }
1273
- loadComponent(slotName, viewContainerRef) {
1274
- const configs = sortBy(this.registryService.get(slotName), (c) => c.priority ?? 0);
1275
- if (configs) {
1276
- viewContainerRef.clear();
1277
- configs.forEach(async (config) => {
1278
- let component;
1279
- let options = {};
1280
- if (typeof config.loadComponent === 'function') {
1281
- // If component is a function
1282
- runInInjectionContext(this.injector, () => {
1283
- component = config.loadComponent?.();
1284
- });
1285
- }
1286
- else if (config.component) {
1287
- // If component is a Type
1288
- component = config.component;
1289
- }
1290
- //
1291
- if (typeof config.options === 'function') {
1292
- // If options is a function
1293
- runInInjectionContext(this.injector, () => {
1294
- const fun = config.options;
1295
- options = fun();
1296
- });
1297
- }
1298
- else if (config.options) {
1299
- // If options is a object
1300
- options = config.options;
1301
- }
1302
- //
1303
- if (component != null) {
1304
- const componentRef = viewContainerRef.createComponent(component);
1305
- Object.assign(componentRef.instance, options);
1306
- }
1307
- });
1308
- }
1309
- }
1310
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotLoaderService, deps: [{ token: AXPComponentSlotRegistryService }, { token: i0.Injector }], target: i0.ɵɵFactoryTarget.Injectable }); }
1311
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotLoaderService, providedIn: 'root' }); }
1312
- }
1313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotLoaderService, decorators: [{
1314
- type: Injectable,
1315
- args: [{
1316
- providedIn: 'root',
1317
- }]
1318
- }], ctorParameters: () => [{ type: AXPComponentSlotRegistryService }, { type: i0.Injector }] });
1319
-
1320
- class AXPComponentSlotDirective {
1321
- constructor(dynamicLoaderService, viewContainerRef) {
1322
- this.dynamicLoaderService = dynamicLoaderService;
1323
- this.viewContainerRef = viewContainerRef;
1324
- }
1325
- ngOnInit() {
1326
- this.dynamicLoaderService.loadComponent(this.name, this.viewContainerRef);
1327
- }
1328
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotDirective, deps: [{ token: AXPComponentSlotLoaderService }, { token: i0.ViewContainerRef }], target: i0.ɵɵFactoryTarget.Directive }); }
1329
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AXPComponentSlotDirective, isStandalone: false, selector: "axp-component-slot", inputs: { name: "name" }, ngImport: i0 }); }
1330
- }
1331
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotDirective, decorators: [{
1332
- type: Directive,
1333
- args: [{
1334
- selector: 'axp-component-slot',
1335
- standalone: false
1336
- }]
1337
- }], ctorParameters: () => [{ type: AXPComponentSlotLoaderService }, { type: i0.ViewContainerRef }], propDecorators: { name: [{
1338
- type: Input
1339
- }] } });
1340
-
1341
- class AXPComponentSlotModule {
1342
- static forRoot(configs) {
1343
- return {
1344
- ngModule: AXPComponentSlotModule,
1345
- providers: [
1346
- {
1347
- provide: 'AXPComponentSlotModuleFactory',
1348
- useFactory: (registry) => () => {
1349
- if (configs) {
1350
- for (const [key, value] of Object.entries(configs)) {
1351
- value.forEach(v => {
1352
- registry.register(key, v);
1353
- });
1354
- }
1355
- }
1356
- },
1357
- deps: [AXPComponentSlotRegistryService],
1358
- multi: true
1359
- }
1360
- ]
1361
- };
1362
- }
1363
- static forChild(configs) {
1364
- return {
1365
- ngModule: AXPComponentSlotModule,
1366
- providers: [
1367
- {
1368
- provide: 'AXPComponentSlotModuleFactory',
1369
- useFactory: (registry) => () => {
1370
- if (configs) {
1371
- for (const [key, value] of Object.entries(configs)) {
1372
- value.forEach(v => {
1373
- registry.register(key, v);
1374
- });
1375
- }
1376
- }
1377
- },
1378
- deps: [AXPComponentSlotRegistryService],
1379
- multi: true
1380
- }
1381
- ]
1382
- };
1383
- }
1384
- /**
1385
- * @ignore
1386
- */
1387
- constructor(instances) {
1388
- instances?.forEach(f => {
1389
- f();
1390
- });
1391
- }
1392
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotModule, deps: [{ token: 'AXPComponentSlotModuleFactory', optional: true }], target: i0.ɵɵFactoryTarget.NgModule }); }
1393
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotModule, declarations: [AXPComponentSlotDirective], exports: [AXPComponentSlotDirective] }); }
1394
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotModule }); }
1395
- }
1396
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPComponentSlotModule, decorators: [{
1397
- type: NgModule,
1398
- args: [{
1399
- declarations: [AXPComponentSlotDirective],
1400
- exports: [AXPComponentSlotDirective]
1401
- }]
1402
- }], ctorParameters: () => [{ type: undefined, decorators: [{
1403
- type: Optional
1404
- }, {
1405
- type: Inject,
1406
- args: ['AXPComponentSlotModuleFactory']
1407
- }] }] });
1408
-
1409
1242
  class AXPLogoComponent {
1410
1243
  constructor() {
1411
1244
  this.platform = inject(AXPlatform);
@@ -2683,42 +2516,9 @@ function AXPCleanNestedFilters(filters) {
2683
2516
  class AXPRegionalService {
2684
2517
  }
2685
2518
 
2686
- const AXP_TASK_BADGE_PROVIDERS = new InjectionToken('AXP_TASK_BADGE_PROVIDERS');
2687
- class AXPTaskBadgeProvider {
2688
- }
2689
-
2690
- class AXPTaskBadgeService {
2691
- constructor() {
2692
- this.badgeMap = new Map();
2693
- this.providers = inject(AXP_TASK_BADGE_PROVIDERS, { optional: true }) ?? [];
2694
- this.computedCache = new Map();
2695
- for (const provider of this.providers) {
2696
- if (!this.badgeMap.has(provider.key)) {
2697
- this.badgeMap.set(provider.key, []);
2698
- }
2699
- this.badgeMap.get(provider.key).push(provider.count);
2700
- }
2701
- }
2702
- getCount(key) {
2703
- if (this.computedCache.has(key)) {
2704
- return this.computedCache.get(key);
2705
- }
2706
- const signals = this.badgeMap.get(key) ?? [];
2707
- const total = signals.length > 0 ? computed(() => signals.reduce((sum, s) => sum + s(), 0)) : signal(0);
2708
- this.computedCache.set(key, total);
2709
- return total;
2710
- }
2711
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPTaskBadgeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
2712
- static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPTaskBadgeService, providedIn: 'root' }); }
2713
- }
2714
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPTaskBadgeService, decorators: [{
2715
- type: Injectable,
2716
- args: [{ providedIn: 'root' }]
2717
- }], ctorParameters: () => [] });
2718
-
2719
2519
  /**
2720
2520
  * Generated bundle index. Do not edit.
2721
2521
  */
2722
2522
 
2723
- export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPComponentSlotDirective, AXPComponentSlotLoaderService, AXPComponentSlotModule, AXPComponentSlotRegistryService, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFiltersProviderService, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLogoComponent, AXPMenuBadgeHelper, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalService, AXPRelationshipCardinality, AXPRelationshipKind, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValueProvider, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPTaskBadgeProvider, AXPTaskBadgeService, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, AXP_TASK_BADGE_PROVIDERS, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage, resolveActionLook };
2523
+ export { ALL_DEFAULT_OPERATORS, AXMWorkflowErrorHandler, AXPCleanNestedFilters, AXPClipBoardService, AXPCommonModule, AXPCustomOperatorService, AXPCustomOperatorServiceImpl, AXPDataProvider, AXPDialogConfirmAction, AXPEntityCommandScope, AXPEntityQueryType, AXPErrorHandlerRegistryService, AXPExportService, AXPFileStorageService, AXPFileStorageStatus, AXPFileTypeProviderService, AXPFilterOperatorMiddlewareService, AXPFilterOperatorMiddlewareServiceImpl, AXPFiltersProviderService, AXPFooterTextSlotComponent, AXPGlobalErrorHandler, AXPGridLayoutDirective, AXPHomePageModule, AXPHomePageService, AXPLogoComponent, AXPMenuBadgeHelper, AXPMenuProviderService, AXPMenuSearchDefinitionProvider, AXPMenuSearchProvider, AXPMenuService, AXPNavBarSlotComponent, AXPNavigateWorkflow, AXPPlatformDefaultConfigs, AXPRedirectEvent, AXPRefreshEvent, AXPRegionalService, AXPRelationshipCardinality, AXPRelationshipKind, AXPSearchCommandProvider, AXPSearchDefinitionActionBuilder, AXPSearchDefinitionBuilder, AXPSearchDefinitionProviderContext, AXPSearchDefinitionProviderService, AXPSearchService, AXPSettingDefaultValueProvider, AXPSettingDefinitionGroupBuilder, AXPSettingDefinitionProviderContext, AXPSettingDefinitionProviderService, AXPSettingDefinitionSectionBuilder, AXPSettingService, AXPStickyDirective, AXPToastAction, AXPWorkflowNavigateAction, AXPWorkflowRouterNavigateAction, AXP_APP_VERSION_PROVIDER, AXP_FILE_TYPE_INFO_PROVIDER, AXP_HOME_PAGES, AXP_HOME_PAGE_DEFAULT_KEY, AXP_MENU_PROVIDER, AXP_PLATFORM_CONFIG_TOKEN, AXP_ROOT_CONFIG_TOKEN, AXP_SEARCH_DEFINITION_PROVIDER, AXP_SEARCH_PROVIDER, AXP_SETTING_DEFINITION_PROVIDER, AXP_SETTING_VALUE_PROVIDER, BETWEEN_OPER, BOOLEAN_OPERATORS, CONTAINS_OPER, DATE_OPERATORS, ENDS_WITH_OPER, ENVIRONMENT, EQ_OPER, GTE_OPER, GT_OPER, IS_EMPTY_OPER, IS_NOT_EMPTY_OPER, LTE_OPER, LT_OPER, NOT_CONTAINS_OPER, NOT_EQ_OPER, NUMBER_OPERATORS, STARTS_WITH_OPER, STRING_OPERATORS, configPlatform, createAllQueryView, createQueryView, getEntityInfo, provideDynamicHomePage, resolveActionLook };
2724
2524
  //# sourceMappingURL=acorex-platform-common.mjs.map