@acorex-platform/module-common-client 0.0.30 → 0.0.32

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 (23) hide show
  1. package/fesm2022/{acorex-platform-module-common-client-acorex-platform-module-common-client-CkeshVWo.mjs → acorex-platform-module-common-client-acorex-platform-module-common-client-DsCvUxSh.mjs} +90 -37
  2. package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-DsCvUxSh.mjs.map +1 -0
  3. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs → acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs} +5 -7
  4. package/fesm2022/acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs.map +1 -0
  5. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-BVrK8ZGy.mjs → acorex-platform-module-common-client-archive-entity.command.util-fd533YPY.mjs} +2 -2
  6. package/fesm2022/{acorex-platform-module-common-client-archive-entity.command.util-BVrK8ZGy.mjs.map → acorex-platform-module-common-client-archive-entity.command.util-fd533YPY.mjs.map} +1 -1
  7. package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs → acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs} +3 -3
  8. package/fesm2022/{acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs.map → acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs.map} +1 -1
  9. package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs → acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs} +3 -3
  10. package/fesm2022/{acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs.map → acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs.map} +1 -1
  11. package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs → acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs} +2 -2
  12. package/fesm2022/{acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs.map → acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs.map} +1 -1
  13. package/fesm2022/{acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs → acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs} +5 -6
  14. package/fesm2022/acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs.map +1 -0
  15. package/fesm2022/{acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs → acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs} +2 -2
  16. package/fesm2022/{acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs.map → acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs.map} +1 -1
  17. package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-BqTLeGtG.mjs → acorex-platform-module-common-client-timeline-version-history-popup.component-Dg-TrXGF.mjs} +2 -2
  18. package/fesm2022/{acorex-platform-module-common-client-timeline-version-history-popup.component-BqTLeGtG.mjs.map → acorex-platform-module-common-client-timeline-version-history-popup.component-Dg-TrXGF.mjs.map} +1 -1
  19. package/fesm2022/acorex-platform-module-common-client.mjs +1 -1
  20. package/package.json +1 -1
  21. package/fesm2022/acorex-platform-module-common-client-acorex-platform-module-common-client-CkeshVWo.mjs.map +0 -1
  22. package/fesm2022/acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs.map +0 -1
  23. package/fesm2022/acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs.map +0 -1
@@ -12,7 +12,7 @@ import { AXPEntityCommandScope, createQueryView, createAllQueryView, entityMaste
12
12
  import { AXPWidgetsList, runtimeQueryPayloadData, runtimeQueryCollectionData, resolveMultiLanguageString, AXPSystemActionType, AXPWidgetsCatalog, getSmart, AXPStatusProvider, AXPSystemStatuses, AXPSystemStatusType, formatAddressData, AXPKeyboardShortcutPriority, AXPPlatformScope } from '@acorex-platform/framework-shared/core';
13
13
  import { AXP_PAGE_COMPONENT_PROVIDER, AXPActivityLogComponent, AXPCompareViewComponent, AXPThemeLayoutBlockComponent, AXPResourceAppointmentComponent } from '@acorex-platform/framework-client/layout/components';
14
14
  import { AXP_WIDGET_DEFINITION_PROVIDER, AXPWidgetRegistryService } from '@acorex-platform/framework-client/layout/widget-core';
15
- import { pickInputOrOptionsField, ENTITY_GET_BY_ID_DEFAULT, ENTITY_QUERY_DEFAULT, resolveEntityActionCommandInput, entityActionDataRows, resolveEntityActionRef, ENTITY_INSERT_DEFAULT, ENTITY_UPDATE_DEFAULT, ENTITY_DELETE_DEFAULT, AUTH_SIGN_IN_DEFAULT, AUTH_REGISTER_DEFAULT, AUTH_UPDATE_SESSION_DEFAULT, AUTH_REFRESH_DEFAULT, AUTH_LOGOUT_DEFAULT } from '@acorex-platform/framework-shared/runtime';
15
+ import { pickInputOrOptionsField, ENTITY_GET_BY_ID_DEFAULT, ENTITY_QUERY_DEFAULT, resolveEntityActionCommandInput, entityActionDataRows, resolveEntityActionRef, ENTITY_INSERT_DEFAULT, ENTITY_UPDATE_DEFAULT, ENTITY_DELETE_DEFAULT, ENTITY_REMOVE_UI, AUTH_SIGN_IN_DEFAULT, AUTH_REGISTER_DEFAULT, AUTH_UPDATE_SESSION_DEFAULT, AUTH_REFRESH_DEFAULT, AUTH_LOGOUT_DEFAULT } from '@acorex-platform/framework-shared/runtime';
16
16
  import { AXPopupService } from '@acorex/components/popup';
17
17
  import * as i4 from '@acorex/core/translation';
18
18
  import { AXTranslationService, AXTranslationModule, createMultiLanguageString } from '@acorex/core/translation';
@@ -35,9 +35,10 @@ import { AXDialogService } from '@acorex/components/dialog';
35
35
  import * as i1$2 from '@acorex/core/validation';
36
36
  import { AXValidationModule } from '@acorex/core/validation';
37
37
  import { AXCalendarService } from '@acorex/core/date-time';
38
+ import { AXPCommonCommandKeys as AXPCommonCommandKeys$1, AXPVersionHistorySettings, AXP_VERSION_HISTORY_SETTING_DEFAULTS } from '@acorex-platform/module-common-client/contracts';
38
39
  import { firstValueFrom, Subject } from 'rxjs';
39
- import { AXPVersionHistorySettings, AXP_VERSION_HISTORY_SETTING_DEFAULTS } from '@acorex-platform/module-common-client/contracts';
40
40
  import { AXKBDComponent, AXKBDItemComponent } from '@acorex/components/kbd';
41
+ import { AXPLayoutThemeService } from '@acorex-platform/framework-client/themes/shared';
41
42
 
42
43
  //#region ---- Imports ----
43
44
  //#endregion
@@ -266,19 +267,19 @@ class AXPArchivePluginModule {
266
267
  provideCommandSetups([
267
268
  {
268
269
  key: AXPCommonCommandKeys.Archive.Archive,
269
- command: () => import('./acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs').then((m) => m.AXPArchiveEntityCommand),
270
+ command: () => import('./acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs').then((m) => m.AXPArchiveEntityCommand),
270
271
  },
271
272
  {
272
273
  key: AXPCommonCommandKeys.Archive.Restore,
273
- command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
274
+ command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
274
275
  },
275
276
  {
276
277
  key: AXPCommonCommandKeys.Archive.BulkArchive,
277
- command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
278
+ command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
278
279
  },
279
280
  {
280
281
  key: AXPCommonCommandKeys.Archive.BulkRestore,
281
- command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
282
+ command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
282
283
  },
283
284
  ]),
284
285
  ] }); }
@@ -291,19 +292,19 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
291
292
  provideCommandSetups([
292
293
  {
293
294
  key: AXPCommonCommandKeys.Archive.Archive,
294
- command: () => import('./acorex-platform-module-common-client-archive-entity.command-BZgNdxFS.mjs').then((m) => m.AXPArchiveEntityCommand),
295
+ command: () => import('./acorex-platform-module-common-client-archive-entity.command-QmrPzKy_.mjs').then((m) => m.AXPArchiveEntityCommand),
295
296
  },
296
297
  {
297
298
  key: AXPCommonCommandKeys.Archive.Restore,
298
- command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-Dr1GcC8a.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
299
+ command: () => import('./acorex-platform-module-common-client-restore-archive-entity.command-Dx8CIcWc.mjs').then((m) => m.AXPRestoreArchiveEntityCommand),
299
300
  },
300
301
  {
301
302
  key: AXPCommonCommandKeys.Archive.BulkArchive,
302
- command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-EIlMyuII.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
303
+ command: () => import('./acorex-platform-module-common-client-bulk-archive-entity.command-BfINUGph.mjs').then((m) => m.AXPBulkArchiveEntityCommand),
303
304
  },
304
305
  {
305
306
  key: AXPCommonCommandKeys.Archive.BulkRestore,
306
- command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-C8T0gUAH.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
307
+ command: () => import('./acorex-platform-module-common-client-bulk-restore-archive-entity.command-CGy1Kdon.mjs').then((m) => m.AXPBulkRestoreArchiveEntityCommand),
307
308
  },
308
309
  ]),
309
310
  ],
@@ -520,7 +521,7 @@ class ShowVersionHistoryPopupCommand {
520
521
  },
521
522
  };
522
523
  }
523
- const comp = (await import('./acorex-platform-module-common-client-timeline-version-history-popup.component-BqTLeGtG.mjs')).AXMTimelineVersionHistoryPopupComponent;
524
+ const comp = (await import('./acorex-platform-module-common-client-timeline-version-history-popup.component-Dg-TrXGF.mjs')).AXMTimelineVersionHistoryPopupComponent;
524
525
  this.popupService.open(comp, {
525
526
  title: await this.translate.translateAsync('@activity-log:actions.view-history.title'),
526
527
  data: {
@@ -2481,7 +2482,7 @@ class AXPClonePluginModule {
2481
2482
  provideCommandSetups([
2482
2483
  {
2483
2484
  key: AXPCommonCommandKeys.Clone.Clone,
2484
- command: () => import('./acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs').then((m) => m.AXPCloneEntityCommand),
2485
+ command: () => import('./acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs').then((m) => m.AXPCloneEntityCommand),
2485
2486
  },
2486
2487
  ]),
2487
2488
  ] }); }
@@ -2494,13 +2495,25 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
2494
2495
  provideCommandSetups([
2495
2496
  {
2496
2497
  key: AXPCommonCommandKeys.Clone.Clone,
2497
- command: () => import('./acorex-platform-module-common-client-clone-entity.command-rTasIhWx.mjs').then((m) => m.AXPCloneEntityCommand),
2498
+ command: () => import('./acorex-platform-module-common-client-clone-entity.command-DgVI86z3.mjs').then((m) => m.AXPCloneEntityCommand),
2498
2499
  },
2499
2500
  ]),
2500
2501
  ],
2501
2502
  }]
2502
2503
  }] });
2503
2504
 
2505
+ function resolveColorPluginPalette(options) {
2506
+ if (options?.palette != null) {
2507
+ return options.palette;
2508
+ }
2509
+ if (options?.mode === 'theme') {
2510
+ return 'theme';
2511
+ }
2512
+ if (options?.swatches != null) {
2513
+ return options.swatches;
2514
+ }
2515
+ return options?.mode ?? 'free';
2516
+ }
2504
2517
  const colorPlugin = {
2505
2518
  name: 'color',
2506
2519
  order: 70,
@@ -2511,13 +2524,7 @@ const colorPlugin = {
2511
2524
  if (!groups.some((g) => g.id === groupId)) {
2512
2525
  ctx.groups.add({ id: groupId, title: `@general:terms.interface.${options?.group ?? 'appearance'}` });
2513
2526
  }
2514
- const mode = options?.mode ?? 'free';
2515
- const colorEditorType = mode === 'theme' ? AXPWidgetsList.Theme.ThemeColorChooser : AXPWidgetsList.Editors.ColorPalette;
2516
- const colorEditorOptions = mode === 'theme'
2517
- ? {}
2518
- : {
2519
- swatches: options?.swatches,
2520
- };
2527
+ const palette = resolveColorPluginPalette(options);
2521
2528
  const props = ctx.properties.list();
2522
2529
  if (!props.some((p) => p.name === 'color')) {
2523
2530
  ctx.properties.add({
@@ -2527,8 +2534,10 @@ const colorPlugin = {
2527
2534
  schema: {
2528
2535
  dataType: 'string',
2529
2536
  interface: {
2530
- type: colorEditorType,
2531
- options: colorEditorOptions,
2537
+ type: AXPWidgetsList.Editors.ColorChooser,
2538
+ options: {
2539
+ palette,
2540
+ },
2532
2541
  },
2533
2542
  },
2534
2543
  validations: [],
@@ -2541,8 +2550,7 @@ const colorPlugin = {
2541
2550
  },
2542
2551
  });
2543
2552
  }
2544
- //#region ---- Add Column to List View ----
2545
- // Add color column to list view if enabled (default: true)
2553
+ //#region ----- Add Column to List View -----
2546
2554
  const columnEnabled = options?.column?.enabled ?? true;
2547
2555
  if (columnEnabled) {
2548
2556
  const columns = ctx.columns.list() ?? [];
@@ -5326,6 +5334,16 @@ const SILENT_TOAST_COMMAND_KEYS = new Set([
5326
5334
  ENTITY_INSERT_DEFAULT,
5327
5335
  ENTITY_UPDATE_DEFAULT,
5328
5336
  ENTITY_DELETE_DEFAULT,
5337
+ ENTITY_REMOVE_UI,
5338
+ 'Entity:Bulk',
5339
+ AXPCommonCommandKeys$1.Archive.Archive,
5340
+ AXPCommonCommandKeys$1.Archive.Restore,
5341
+ AXPCommonCommandKeys$1.Archive.BulkArchive,
5342
+ AXPCommonCommandKeys$1.Archive.BulkRestore,
5343
+ AXPCommonCommandKeys$1.Disable.Disable,
5344
+ AXPCommonCommandKeys$1.Disable.Enable,
5345
+ AXPCommonCommandKeys$1.Disable.BulkDisable,
5346
+ AXPCommonCommandKeys$1.Disable.BulkEnable,
5329
5347
  // Auth session binds run while sessionService.isLoading is true; never toast / load settings here.
5330
5348
  AUTH_SIGN_IN_DEFAULT,
5331
5349
  AUTH_REGISTER_DEFAULT,
@@ -6349,11 +6367,33 @@ const AXP_GLOBAL_SEARCH_CONFIG_TOKEN = new InjectionToken('AXP_GLOBAL_SEARCH_CON
6349
6367
  */
6350
6368
  class AXPGlobalSearchCommand {
6351
6369
  constructor() {
6370
+ //#region ----- Services & Dependencies -----
6352
6371
  this.popupService = inject(AXPopupService);
6353
6372
  this.commandExecutor = inject(AXPCommandExecutor);
6354
6373
  this.config = inject(AXP_GLOBAL_SEARCH_CONFIG_TOKEN);
6374
+ //#endregion
6375
+ //#region ----- State -----
6376
+ /** In-flight search popup session (open until the popup closes). */
6377
+ this.activeShow = null;
6378
+ }
6379
+ //#endregion
6380
+ //#region ----- Public Methods -----
6381
+ /** True while the global search popup is opening or already visible. */
6382
+ get isOpen() {
6383
+ return this.activeShow != null;
6355
6384
  }
6356
6385
  async execute(input) {
6386
+ if (this.activeShow) {
6387
+ return { success: true, kind: 'object', data: undefined };
6388
+ }
6389
+ this.activeShow = this.openSearch(input).finally(() => {
6390
+ this.activeShow = null;
6391
+ });
6392
+ return this.activeShow;
6393
+ }
6394
+ //#endregion
6395
+ //#region ----- Popup -----
6396
+ async openSearch(input) {
6357
6397
  const text = pickInputOrOptionsField(input, 'text');
6358
6398
  const component = await this.config.window();
6359
6399
  const popup = await this.popupService.open(component, {
@@ -6394,12 +6434,22 @@ class AXPGlobalSearchSlotComponent {
6394
6434
  constructor() {
6395
6435
  //#region ---- Services & Dependencies ----
6396
6436
  this.commandExecutor = inject(AXPCommandExecutor);
6437
+ this.searchCommand = inject(AXPGlobalSearchCommand);
6397
6438
  this.shortcutRegistry = inject(AXPKeyboardShortcutRegistry);
6398
6439
  this.destroyRef = inject(DestroyRef);
6399
6440
  this.tabNavigation = inject(AXPTabNavigationService);
6441
+ this.themeStore = inject(AXPLayoutThemeService);
6400
6442
  this.searchShortcutKeys = chordToKbdItemKeys('ctrl+k');
6401
6443
  this.compactSearch = computed(() => this.tabNavigation.effectiveMode() === 'tabular', /* @ts-ignore */
6402
6444
  ...(ngDevMode ? [{ debugName: "compactSearch" }] : /* istanbul ignore next */ []));
6445
+ this.searchBarClass = computed(() => {
6446
+ const base = 'h-10 w-72 rounded-default cursor-pointer justify-between hidden md:flex items-center px-3';
6447
+ if (!this.themeStore.headerBrandEnabled()) {
6448
+ return `${base} light-surface hover:dark-surface`;
6449
+ }
6450
+ return `${base} bg-primary-200/15 hover:bg-primary-200/30 text-primary-text`;
6451
+ }, /* @ts-ignore */
6452
+ ...(ngDevMode ? [{ debugName: "searchBarClass" }] : /* istanbul ignore next */ []));
6403
6453
  this.shortcutRegistry.register({
6404
6454
  owner: this.destroyRef,
6405
6455
  id: 'global-search',
@@ -6410,6 +6460,7 @@ class AXPGlobalSearchSlotComponent {
6410
6460
  keys: ['ctrl+k'],
6411
6461
  title: '@general:keyboard-shortcuts.actions.global-search',
6412
6462
  allowInEditableFields: true,
6463
+ when: () => !this.searchCommand.isOpen,
6413
6464
  handler: () => {
6414
6465
  void this.startSearch();
6415
6466
  },
@@ -6426,8 +6477,8 @@ class AXPGlobalSearchSlotComponent {
6426
6477
  static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.8", type: AXPGlobalSearchSlotComponent, isStandalone: true, selector: "ng-component", ngImport: i0, template: `
6427
6478
  @if (compactSearch()) {
6428
6479
  <ax-button
6429
- color="primary"
6430
- look="blank"
6480
+ [color]="themeStore.headerButtonColor()"
6481
+ [look]="themeStore.headerButtonLook()"
6431
6482
  [iconOnly]="true"
6432
6483
  [title]="'@global-search:terms.search-placeholder' | translate | async"
6433
6484
  (onClick)="startSearch()"
@@ -6436,14 +6487,15 @@ class AXPGlobalSearchSlotComponent {
6436
6487
  </ax-button>
6437
6488
  } @else {
6438
6489
  <ax-button
6439
- color="primary"
6490
+ [color]="themeStore.headerButtonColor()"
6491
+ [look]="themeStore.headerButtonLook()"
6440
6492
  class="flex md:hidden"
6441
6493
  (onClick)="startSearch()"
6442
6494
  >
6443
6495
  <ax-icon class="fa-regular fa-search"></ax-icon>
6444
6496
  </ax-button>
6445
6497
  <div
6446
- class="bg-primary-200/15 h-10 w-72 rounded-default cursor-pointer justify-between hidden md:flex items-center px-3 hover:bg-primary-200/30 text-primary-text"
6498
+ [class]="searchBarClass()"
6447
6499
  (click)="startSearch()"
6448
6500
  >
6449
6501
  <div class="flex items-center gap-2">
@@ -6452,7 +6504,7 @@ class AXPGlobalSearchSlotComponent {
6452
6504
  '@global-search:terms.search-placeholder' | translate | async
6453
6505
  }}</span>
6454
6506
  </div>
6455
- <ax-kbd class="ax-dark" look="blank">
6507
+ <ax-kbd [class.ax-dark]="themeStore.headerBrandEnabled()" look="blank">
6456
6508
  <ax-kbd-item [keys]="searchShortcutKeys"></ax-kbd-item>
6457
6509
  </ax-kbd>
6458
6510
  </div>
@@ -6465,8 +6517,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
6465
6517
  template: `
6466
6518
  @if (compactSearch()) {
6467
6519
  <ax-button
6468
- color="primary"
6469
- look="blank"
6520
+ [color]="themeStore.headerButtonColor()"
6521
+ [look]="themeStore.headerButtonLook()"
6470
6522
  [iconOnly]="true"
6471
6523
  [title]="'@global-search:terms.search-placeholder' | translate | async"
6472
6524
  (onClick)="startSearch()"
@@ -6475,14 +6527,15 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
6475
6527
  </ax-button>
6476
6528
  } @else {
6477
6529
  <ax-button
6478
- color="primary"
6530
+ [color]="themeStore.headerButtonColor()"
6531
+ [look]="themeStore.headerButtonLook()"
6479
6532
  class="flex md:hidden"
6480
6533
  (onClick)="startSearch()"
6481
6534
  >
6482
6535
  <ax-icon class="fa-regular fa-search"></ax-icon>
6483
6536
  </ax-button>
6484
6537
  <div
6485
- class="bg-primary-200/15 h-10 w-72 rounded-default cursor-pointer justify-between hidden md:flex items-center px-3 hover:bg-primary-200/30 text-primary-text"
6538
+ [class]="searchBarClass()"
6486
6539
  (click)="startSearch()"
6487
6540
  >
6488
6541
  <div class="flex items-center gap-2">
@@ -6491,7 +6544,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
6491
6544
  '@global-search:terms.search-placeholder' | translate | async
6492
6545
  }}</span>
6493
6546
  </div>
6494
- <ax-kbd class="ax-dark" look="blank">
6547
+ <ax-kbd [class.ax-dark]="themeStore.headerBrandEnabled()" look="blank">
6495
6548
  <ax-kbd-item [keys]="searchShortcutKeys"></ax-kbd-item>
6496
6549
  </ax-kbd>
6497
6550
  </div>
@@ -6516,7 +6569,7 @@ class AXPGlobalSearchModule {
6516
6569
  {
6517
6570
  provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
6518
6571
  useValue: {
6519
- window: () => import('./acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
6572
+ window: () => import('./acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
6520
6573
  },
6521
6574
  },
6522
6575
  AXPGlobalSearchCommand,
@@ -6558,7 +6611,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
6558
6611
  {
6559
6612
  provide: AXP_GLOBAL_SEARCH_CONFIG_TOKEN,
6560
6613
  useValue: {
6561
- window: () => import('./acorex-platform-module-common-client-search-popup.component-DH0OQYoQ.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
6614
+ window: () => import('./acorex-platform-module-common-client-search-popup.component-D9gce0xf.mjs').then((c) => c.AXPGlobalSearchPopupComponent),
6562
6615
  },
6563
6616
  },
6564
6617
  AXPGlobalSearchCommand,
@@ -6782,4 +6835,4 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.8", ngImpor
6782
6835
  */
6783
6836
 
6784
6837
  export { statusPlugin as $, AXP_ENTITY_ARCHIVE_OVERRIDES as A, StateStatusProvider as B, CommonManifest as C, VariableNameValidationRule as D, aggregateVersionHistoryBarChartItems as E, archivePlugin as F, buildEntityFieldHistoryLineChartSeries as G, HISTORY_PAGE_COMPONENT_KEY as H, buildProductBasePriceHistoryLineChartSeries as I, derivedNamePlugin as J, disablePlugin as K, getActiveStatuses as L, getFinalStatuses as M, getInitialStatuses as N, getStatusByName as O, getTransitionsFromStatus as P, getTransitionsToStatus as Q, historyPlugin as R, ShowVersionHistoryPopupCommand as S, TaskStatusProvider as T, UniqueValidationRule as U, VARIABLE_NAME_VALIDATION_PATTERN as V, humanizeChange as W, isValidTransition as X, mapChangeType as Y, mapOpToAction as Z, resolvePathKey as _, AXPGlobalSearchViewModel as a, uniqueFieldsPlugin as a0, AXMCommonModule as b, AXMMenuProvider as c, AXMSettingProvider as d, AXMVersionHistoryPageComponent as e, AXPArchivePluginModule as f, AXPCommonFeatureDefinitionProvider as g, AXPDerivedNamePluginModule as h, isValidVariableName as i, AXPDisablePluginModule as j, AXPGlobalSearchModule as k, AXPHistoryAuditInfoWidget as l, AXPHistoryModule as m, AXPLockEntityCommand as n, openActivityLogVersionCompare as o, AXPResourceAppointmentPageComponent as p, AXPStatusPluginModule as q, AXPUniqueFieldsPluginModule as r, AXPUnlockEntityCommand as s, toVariableName as t, AXPValidationRulesModule as u, versionEntriesToActivityLogs as v, AXP_GLOBAL_SEARCH_CONFIG_TOKEN as w, AXP_RESOURCE_APPOINTMENT_PAGE_CONFIG as x, ApprovalStatusProvider as y, AtLeastOneOfValidationRule as z };
6785
- //# sourceMappingURL=acorex-platform-module-common-client-acorex-platform-module-common-client-CkeshVWo.mjs.map
6838
+ //# sourceMappingURL=acorex-platform-module-common-client-acorex-platform-module-common-client-DsCvUxSh.mjs.map