@cuby-ui/core 0.0.604 → 0.0.605

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 (68) hide show
  1. package/README.md +115 -0
  2. package/components/index.d.ts +1 -0
  3. package/components/segmented-window/components/index.d.ts +3 -0
  4. package/components/segmented-window/components/minimized-window-item/index.d.ts +1 -0
  5. package/components/segmented-window/components/minimized-window-item/minimized-window-item.component.d.ts +12 -0
  6. package/components/segmented-window/components/segmented-window/index.d.ts +1 -0
  7. package/components/segmented-window/components/segmented-window/segmented-window.component.d.ts +25 -0
  8. package/components/segmented-window/components/segmented-window-header/index.d.ts +1 -0
  9. package/components/segmented-window/components/segmented-window-header/segmented-window-header.component.d.ts +27 -0
  10. package/components/segmented-window/constants/index.d.ts +2 -0
  11. package/components/segmented-window/constants/segmented-window.animations.d.ts +2 -0
  12. package/components/segmented-window/constants/segmented-window.constants.d.ts +3 -0
  13. package/components/segmented-window/directives/index.d.ts +3 -0
  14. package/components/segmented-window/directives/segmented-window-anchor.directive.d.ts +18 -0
  15. package/components/segmented-window/directives/segmented-window-header.directive.d.ts +8 -0
  16. package/components/segmented-window/directives/segmented-window-icon.directive.d.ts +8 -0
  17. package/components/segmented-window/index.d.ts +6 -0
  18. package/components/segmented-window/models/index.d.ts +3 -0
  19. package/components/segmented-window/models/segmented-window-context.token.d.ts +9 -0
  20. package/components/segmented-window/models/segmented-window-templates.token.d.ts +9 -0
  21. package/components/segmented-window/models/segmented-window.options.d.ts +25 -0
  22. package/components/segmented-window/providers/index.d.ts +1 -0
  23. package/components/segmented-window/providers/segmented-windows.provider.d.ts +4 -0
  24. package/components/segmented-window/segmented-windows-container.component.d.ts +14 -0
  25. package/components/segmented-window/services/index.d.ts +1 -0
  26. package/components/segmented-window/services/segmented-windows.service.d.ts +43 -0
  27. package/components/segmented-window/utils/index.d.ts +1 -0
  28. package/components/segmented-window/utils/segmented-windows-layout.utils.d.ts +12 -0
  29. package/esm2022/components/index.mjs +2 -1
  30. package/esm2022/components/segmented-window/components/index.mjs +4 -0
  31. package/esm2022/components/segmented-window/components/minimized-window-item/index.mjs +2 -0
  32. package/esm2022/components/segmented-window/components/minimized-window-item/minimized-window-item.component.mjs +28 -0
  33. package/esm2022/components/segmented-window/components/segmented-window/index.mjs +2 -0
  34. package/esm2022/components/segmented-window/components/segmented-window/segmented-window.component.mjs +60 -0
  35. package/esm2022/components/segmented-window/components/segmented-window-header/index.mjs +2 -0
  36. package/esm2022/components/segmented-window/components/segmented-window-header/segmented-window-header.component.mjs +62 -0
  37. package/esm2022/components/segmented-window/constants/index.mjs +3 -0
  38. package/esm2022/components/segmented-window/constants/segmented-window.animations.mjs +17 -0
  39. package/esm2022/components/segmented-window/constants/segmented-window.constants.mjs +8 -0
  40. package/esm2022/components/segmented-window/directives/index.mjs +4 -0
  41. package/esm2022/components/segmented-window/directives/segmented-window-anchor.directive.mjs +55 -0
  42. package/esm2022/components/segmented-window/directives/segmented-window-header.directive.mjs +20 -0
  43. package/esm2022/components/segmented-window/directives/segmented-window-icon.directive.mjs +20 -0
  44. package/esm2022/components/segmented-window/index.mjs +6 -0
  45. package/esm2022/components/segmented-window/models/index.mjs +4 -0
  46. package/esm2022/components/segmented-window/models/segmented-window-context.token.mjs +3 -0
  47. package/esm2022/components/segmented-window/models/segmented-window-templates.token.mjs +3 -0
  48. package/esm2022/components/segmented-window/models/segmented-window.options.mjs +2 -0
  49. package/esm2022/components/segmented-window/providers/index.mjs +2 -0
  50. package/esm2022/components/segmented-window/providers/segmented-windows.provider.mjs +7 -0
  51. package/esm2022/components/segmented-window/segmented-windows-container.component.mjs +38 -0
  52. package/esm2022/components/segmented-window/services/index.mjs +2 -0
  53. package/esm2022/components/segmented-window/services/segmented-windows.service.mjs +104 -0
  54. package/esm2022/components/segmented-window/utils/index.mjs +2 -0
  55. package/esm2022/components/segmented-window/utils/segmented-windows-layout.utils.mjs +84 -0
  56. package/esm2022/i18n/en.json +9 -0
  57. package/esm2022/i18n/ru.json +9 -0
  58. package/fesm2022/cuby-ui-core-en-Csg2E9Uc.mjs +21 -0
  59. package/fesm2022/cuby-ui-core-en-Csg2E9Uc.mjs.map +1 -0
  60. package/fesm2022/cuby-ui-core-ru-xEXR-11C.mjs +21 -0
  61. package/fesm2022/cuby-ui-core-ru-xEXR-11C.mjs.map +1 -0
  62. package/fesm2022/cuby-ui-core.mjs +466 -5
  63. package/fesm2022/cuby-ui-core.mjs.map +1 -1
  64. package/package.json +5 -4
  65. package/fesm2022/cuby-ui-core-en-DoKU5zDf.mjs +0 -11
  66. package/fesm2022/cuby-ui-core-en-DoKU5zDf.mjs.map +0 -1
  67. package/fesm2022/cuby-ui-core-ru-quLEyA0a.mjs +0 -11
  68. package/fesm2022/cuby-ui-core-ru-quLEyA0a.mjs.map +0 -1
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { Component, ChangeDetectionStrategy, inject, Renderer2, input, model, effect, Directive, InjectionToken, Input, HostBinding, ChangeDetectorRef, ViewChild, EventEmitter, Output, NgModule, Injector, Injectable, SkipSelf, Optional, DestroyRef, NgZone, signal, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Self, INJECTOR, TemplateRef, forwardRef, ViewEncapsulation, computed, ContentChildren, output, ElementRef, HostListener, ViewContainerRef, booleanAttribute, viewChild, untracked, Pipe } from '@angular/core';
2
+ import { Component, ChangeDetectionStrategy, inject, Renderer2, input, model, effect, Directive, InjectionToken, Input, HostBinding, ChangeDetectorRef, ViewChild, EventEmitter, Output, NgModule, Injector, Injectable, SkipSelf, Optional, DestroyRef, NgZone, signal, makeEnvironmentProviders, APP_INITIALIZER, ErrorHandler, Self, INJECTOR, TemplateRef, forwardRef, ViewEncapsulation, computed, ContentChildren, output, ElementRef, HostListener, ViewContainerRef, booleanAttribute, viewChild, untracked, afterNextRender, reflectComponentType, contentChild, Pipe } from '@angular/core';
3
3
  import * as i1 from '@angular/common';
4
4
  import { CommonModule, DOCUMENT, Location, NgForOf, NgIf, NgComponentOutlet, NgTemplateOutlet, NgFor, NgClass, UpperCasePipe, AsyncPipe, KeyValuePipe, LowerCasePipe, TitleCasePipe } from '@angular/common';
5
5
  import { DomSanitizer } from '@angular/platform-browser';
@@ -9,7 +9,7 @@ import { cuiCreateToken, cuiCreateTokenFromFactory, CuiDestroyService, CuiFilter
9
9
  import { BehaviorSubject, takeUntil, Observable, merge, distinctUntilChanged, startWith, map, finalize, switchMap, tap, catchError, throwError, of, from, filter, timer, Subject, delay, repeat, takeWhile, fromEvent, debounce, skip, take, forkJoin, EMPTY, concatMap, toArray, debounceTime, pairwise } from 'rxjs';
10
10
  import { __decorate, __metadata } from 'tslib';
11
11
  import { takeUntilDestroyed, toSignal } from '@angular/core/rxjs-interop';
12
- import { trigger, transition, query, animateChild, style, animate, stagger } from '@angular/animations';
12
+ import { trigger, transition, query, animateChild, style, animate, stagger, AUTO_STYLE } from '@angular/animations';
13
13
  import { OAuthService, OAuthErrorEvent, OAuthSuccessEvent, OAuthInfoEvent, provideOAuthClient } from 'angular-oauth2-oidc';
14
14
  import { CuiExchangeContextApiService, CUI_JTEXT_API_SERVICE, CuiJTextApiService, CuiTreeStructNavigatorApiService, CuiNodeChecklistApiService, CuiTreeStructApiService, CuiFrameApiService, CuiResourceApiService, UserCompanyApiService, SHARED_CONSTRUCTION_HTTP_OPTIONS, SHARED_INSTRUCTION_HTTP_OPTIONS, CuiQuantumGroupResourcesStructureApiService, ResourceContentType, CuiFactoryApiService, SeasonType, SHARED_FACTORY_HTTP_OPTIONS, UtilityApiService, CuiCriterionApiService, CuiStorageObjectType, CuiJobApiService, JobType } from '@cuby-ui/api';
15
15
  import { HttpErrorResponse } from '@angular/common/http';
@@ -4757,6 +4757,467 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImpo
4757
4757
  }]
4758
4758
  }] });
4759
4759
 
4760
+ const EASE = 'cubic-bezier(0.2, 0.9, 0.2, 1)';
4761
+ const cuiSegmentedWindowPanel = trigger('cuiSegmentedWindowPanel', [
4762
+ transition(':enter', [
4763
+ style({ flexGrow: 0, opacity: 0 }),
4764
+ animate(`400ms ${EASE}`, style({ flexGrow: AUTO_STYLE, opacity: AUTO_STYLE }))
4765
+ ]),
4766
+ transition(':leave', [
4767
+ style({ flexGrow: AUTO_STYLE, opacity: AUTO_STYLE }),
4768
+ animate(`400ms ${EASE}`, style({ flexGrow: 0, opacity: 0 }))
4769
+ ])
4770
+ ]);
4771
+ const cuiSegmentedWindowMinimized = trigger('cuiSegmentedWindowMinimized', [
4772
+ transition(':enter', [style({ maxWidth: 0 }), animate(`400ms ${EASE}`, style({ maxWidth: AUTO_STYLE }))]),
4773
+ transition(':leave', [style({ maxWidth: AUTO_STYLE }), animate(`200ms ${EASE}`, style({ maxWidth: 0 }))])
4774
+ ]);
4775
+
4776
+ const CUI_SEGMENTED_WINDOW_DATA_INPUT = 'segmentedWindowData';
4777
+ const CUI_SEGMENTED_WINDOW_HIGHLIGHT_DURATION = 1000;
4778
+ const CUI_SEGMENTED_WINDOW_SCROLL_OPTIONS = {
4779
+ behavior: 'smooth',
4780
+ block: 'nearest',
4781
+ inline: 'center'
4782
+ };
4783
+
4784
+ const MAX_VISIBLE_WINDOWS = 2;
4785
+ function cuiFindDetailWindow(state, context) {
4786
+ return state.windows.find((window) => !context.checkIsPrimaryWindow(window));
4787
+ }
4788
+ function cuiOpenPrimaryWindow(state, primaryWindow, context) {
4789
+ const currentPrimaryWindow = state.windows.find((window) => context.checkIsPrimaryWindow(window));
4790
+ if (currentPrimaryWindow) {
4791
+ return {
4792
+ ...state,
4793
+ windows: replaceSlotWindow(state.windows, currentPrimaryWindow, primaryWindow),
4794
+ isPrimaryCollapsed: false
4795
+ };
4796
+ }
4797
+ return {
4798
+ ...state,
4799
+ windows: [attachSlot(primaryWindow, context), ...state.windows.slice(0, MAX_VISIBLE_WINDOWS - 1)],
4800
+ isPrimaryCollapsed: false
4801
+ };
4802
+ }
4803
+ function cuiOpenRegularWindow(state, window, context) {
4804
+ const layout = { ...state, history: [] };
4805
+ if (layout.windows.length < MAX_VISIBLE_WINDOWS) {
4806
+ return { ...layout, windows: [...layout.windows, attachSlot(window, context)] };
4807
+ }
4808
+ return placeDetailWindow(layout, window, context);
4809
+ }
4810
+ function cuiOpenDrilldownWindow(state, window, context) {
4811
+ const detailWindow = cuiFindDetailWindow(state, context);
4812
+ return placeDetailWindow({ ...state, history: detailWindow ? [...state.history, detailWindow] : state.history }, window, context);
4813
+ }
4814
+ function cuiGoBack(state, context) {
4815
+ const previousWindow = state.history.at(-1);
4816
+ if (!previousWindow) {
4817
+ return state;
4818
+ }
4819
+ return placeDetailWindow({ ...state, history: state.history.slice(0, -1) }, previousWindow, context);
4820
+ }
4821
+ function cuiCloseWindow(state, id, context) {
4822
+ const windows = state.windows.filter((window) => window.id !== id);
4823
+ return {
4824
+ windows,
4825
+ history: cuiFindDetailWindow(state, context)?.id === id ? [] : state.history.filter((window) => window.id !== id),
4826
+ isPrimaryCollapsed: state.isPrimaryCollapsed && windows.length === state.windows.length
4827
+ };
4828
+ }
4829
+ function cuiMakeOnlyWindow(state, id, context) {
4830
+ const targetWindow = state.windows.find((window) => window.id === id);
4831
+ const isPrimaryWindowOpened = state.windows.some((window) => context.checkIsPrimaryWindow(window));
4832
+ if (!targetWindow || !isPrimaryWindowOpened || context.checkIsPrimaryWindow(targetWindow)) {
4833
+ return state;
4834
+ }
4835
+ return { ...state, isPrimaryCollapsed: true };
4836
+ }
4837
+ function cuiReplaceWindow(state, id, window) {
4838
+ return {
4839
+ ...state,
4840
+ windows: state.windows.map((item) => (item.id === id ? { ...window, slotId: item.slotId } : item)),
4841
+ history: state.history.map((item) => (item.id === id ? window : item))
4842
+ };
4843
+ }
4844
+ function cuiPatchWindow(state, id, patch) {
4845
+ return {
4846
+ ...state,
4847
+ windows: state.windows.map((window) => (window.id === id ? cuiMergeWindow(window, patch) : window)),
4848
+ history: state.history.map((window) => (window.id === id ? cuiMergeWindow(window, patch) : window))
4849
+ };
4850
+ }
4851
+ function cuiMergeWindow(window, patch) {
4852
+ return { ...window, ...patch, inputs: { ...window.inputs, ...patch.inputs } };
4853
+ }
4854
+ function placeDetailWindow(state, window, context) {
4855
+ const detailWindow = cuiFindDetailWindow(state, context);
4856
+ if (!detailWindow) {
4857
+ return { ...state, windows: [...state.windows, attachSlot(window, context)] };
4858
+ }
4859
+ return { ...state, windows: replaceSlotWindow(state.windows, detailWindow, window) };
4860
+ }
4861
+ function attachSlot(window, context) {
4862
+ return { ...window, slotId: context.createSlotId() };
4863
+ }
4864
+ function replaceSlotWindow(windows, targetWindow, window) {
4865
+ return windows.map((item) => item.slotId === targetWindow.slotId ? { ...window, slotId: targetWindow.slotId } : item);
4866
+ }
4867
+
4868
+ class CuiSegmentedWindowsService {
4869
+ constructor() {
4870
+ this.destroyRef = inject(DestroyRef);
4871
+ this.layoutContext = {
4872
+ checkIsPrimaryWindow: (window) => this.checkIsPrimaryWindow(window),
4873
+ createSlotId: () => this.createSlotId()
4874
+ };
4875
+ this.stateSignal = signal({
4876
+ windows: [],
4877
+ history: [],
4878
+ isPrimaryCollapsed: false
4879
+ });
4880
+ this.highlightedWindowIdSignal = signal(null);
4881
+ this.hoveredWindowIdSignal = signal(null);
4882
+ this.primaryWindow = computed(() => this.stateSignal().windows.find((window) => this.checkIsPrimaryWindow(window)));
4883
+ this.detailWindow = computed(() => cuiFindDetailWindow(this.stateSignal(), this.layoutContext));
4884
+ this.slotCounter = 0;
4885
+ this.highlightTimer = null;
4886
+ this.highlightDuration = CUI_SEGMENTED_WINDOW_HIGHLIGHT_DURATION;
4887
+ this.segmentedWindows = computed(() => this.stateSignal().windows);
4888
+ this.minimizedWindows = computed(() => this.stateSignal().isPrimaryCollapsed ? this.primaryWindow() : null);
4889
+ this.isUnfolding = computed(() => !!this.minimizedWindows());
4890
+ this.canGoBack = computed(() => !!this.stateSignal().history.length);
4891
+ this.backAvailableWindowId = computed(() => (this.canGoBack() ? this.detailWindow()?.id : null));
4892
+ this.maximizeAvailableWindowId = computed(() => this.primaryWindow() && !this.isUnfolding() ? this.detailWindow()?.id : null);
4893
+ this.highlightedWindowId = this.highlightedWindowIdSignal.asReadonly();
4894
+ this.hoveredWindowId = this.hoveredWindowIdSignal.asReadonly();
4895
+ this.initHighlightCleanup();
4896
+ }
4897
+ open(windowData) {
4898
+ const openedWindow = this.findVisibleWindow(windowData.id);
4899
+ if (openedWindow) {
4900
+ this.replaceData(openedWindow.id, cuiMergeWindow(openedWindow, windowData));
4901
+ return;
4902
+ }
4903
+ this.stateSignal.update((state) => this.placeWindow(state, windowData));
4904
+ }
4905
+ close(id) {
4906
+ this.stateSignal.update((state) => cuiCloseWindow(state, id, this.layoutContext));
4907
+ }
4908
+ replaceData(id, newData) {
4909
+ this.stateSignal.update((state) => cuiReplaceWindow(state, id, newData));
4910
+ }
4911
+ patchData(id, patch) {
4912
+ this.stateSignal.update((state) => cuiPatchWindow(state, id, patch));
4913
+ }
4914
+ updateTitle(id, title) {
4915
+ this.patchData(id, { title });
4916
+ }
4917
+ goBack() {
4918
+ this.stateSignal.update((state) => cuiGoBack(state, this.layoutContext));
4919
+ }
4920
+ makeOnlyWindow(id) {
4921
+ this.stateSignal.update((state) => cuiMakeOnlyWindow(state, id, this.layoutContext));
4922
+ }
4923
+ unfold() {
4924
+ this.stateSignal.update((state) => ({ ...state, isPrimaryCollapsed: false }));
4925
+ }
4926
+ checkIsSelected(id) {
4927
+ return this.segmentedWindows().some((window) => window.id === id);
4928
+ }
4929
+ showIlluminationById(id) {
4930
+ this.clearHighlightTimer();
4931
+ this.highlightedWindowIdSignal.set(id);
4932
+ this.highlightTimer = setTimeout(() => this.highlightedWindowIdSignal.set(null), this.highlightDuration);
4933
+ }
4934
+ setHoveredWindowId(id) {
4935
+ this.hoveredWindowIdSignal.set(id);
4936
+ }
4937
+ checkIsPrimaryWindow(window) {
4938
+ return !!window.isPrimary;
4939
+ }
4940
+ initHighlightCleanup() {
4941
+ this.destroyRef.onDestroy(() => this.clearHighlightTimer());
4942
+ }
4943
+ placeWindow(state, windowData) {
4944
+ if (this.checkIsPrimaryWindow(windowData)) {
4945
+ return cuiOpenPrimaryWindow(state, windowData, this.layoutContext);
4946
+ }
4947
+ if (windowData.drilldown) {
4948
+ return cuiOpenDrilldownWindow(state, windowData, this.layoutContext);
4949
+ }
4950
+ return cuiOpenRegularWindow(state, windowData, this.layoutContext);
4951
+ }
4952
+ findVisibleWindow(id) {
4953
+ return untracked(this.segmentedWindows).find((window) => window.id === id);
4954
+ }
4955
+ createSlotId() {
4956
+ return `slot-${++this.slotCounter}`;
4957
+ }
4958
+ clearHighlightTimer() {
4959
+ clearTimeout(this.highlightTimer ?? undefined);
4960
+ }
4961
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowsService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
4962
+ static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowsService }); }
4963
+ }
4964
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowsService, decorators: [{
4965
+ type: Injectable
4966
+ }], ctorParameters: () => [] });
4967
+
4968
+ class CuiSegmentedWindowAnchorDirective {
4969
+ constructor() {
4970
+ this.segmentedWindowsService = inject(CuiSegmentedWindowsService);
4971
+ this.elementRef = inject(ElementRef);
4972
+ this.destroyRef = inject(DestroyRef);
4973
+ this.highlightedWindowId = this.segmentedWindowsService.highlightedWindowId;
4974
+ this.hoveredWindowId = this.segmentedWindowsService.hoveredWindowId;
4975
+ this.isHighlighted = computed(() => this.highlightedWindowId() === this.cuiSegmentedWindowAnchor());
4976
+ this.cuiSegmentedWindowAnchor = input.required();
4977
+ this.initHighlightScroll();
4978
+ this.initHoverCleanup();
4979
+ }
4980
+ onMouseEnter() {
4981
+ this.segmentedWindowsService.setHoveredWindowId(this.cuiSegmentedWindowAnchor());
4982
+ }
4983
+ onMouseLeave() {
4984
+ this.segmentedWindowsService.setHoveredWindowId(null);
4985
+ }
4986
+ initHighlightScroll() {
4987
+ effect(() => {
4988
+ if (!this.isHighlighted()) {
4989
+ return;
4990
+ }
4991
+ this.elementRef.nativeElement.scrollIntoView(CUI_SEGMENTED_WINDOW_SCROLL_OPTIONS);
4992
+ });
4993
+ }
4994
+ initHoverCleanup() {
4995
+ this.destroyRef.onDestroy(() => this.clearOwnHover());
4996
+ }
4997
+ clearOwnHover() {
4998
+ if (this.hoveredWindowId() !== this.cuiSegmentedWindowAnchor()) {
4999
+ return;
5000
+ }
5001
+ this.segmentedWindowsService.setHoveredWindowId(null);
5002
+ }
5003
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowAnchorDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5004
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.14", type: CuiSegmentedWindowAnchorDirective, isStandalone: true, selector: "[cuiSegmentedWindowAnchor]", inputs: { cuiSegmentedWindowAnchor: { classPropertyName: "cuiSegmentedWindowAnchor", publicName: "cuiSegmentedWindowAnchor", isSignal: true, isRequired: true, transformFunction: null } }, host: { listeners: { "mouseenter": "onMouseEnter()", "mouseleave": "onMouseLeave()" }, properties: { "class._highlighted": "isHighlighted()" } }, ngImport: i0 }); }
5005
+ }
5006
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowAnchorDirective, decorators: [{
5007
+ type: Directive,
5008
+ args: [{
5009
+ selector: '[cuiSegmentedWindowAnchor]',
5010
+ standalone: true,
5011
+ host: {
5012
+ '(mouseenter)': 'onMouseEnter()',
5013
+ '(mouseleave)': 'onMouseLeave()',
5014
+ '[class._highlighted]': 'isHighlighted()'
5015
+ }
5016
+ }]
5017
+ }], ctorParameters: () => [] });
5018
+
5019
+ class CuiSegmentedWindowHeaderDirective {
5020
+ constructor() {
5021
+ this.cuiSegmentedWindowHeader = input.required();
5022
+ }
5023
+ static ngTemplateContextGuard(directive, context) {
5024
+ return true;
5025
+ }
5026
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowHeaderDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5027
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.14", type: CuiSegmentedWindowHeaderDirective, isStandalone: true, selector: "ng-template[cuiSegmentedWindowHeader]", inputs: { cuiSegmentedWindowHeader: { classPropertyName: "cuiSegmentedWindowHeader", publicName: "cuiSegmentedWindowHeader", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
5028
+ }
5029
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowHeaderDirective, decorators: [{
5030
+ type: Directive,
5031
+ args: [{
5032
+ selector: 'ng-template[cuiSegmentedWindowHeader]',
5033
+ standalone: true
5034
+ }]
5035
+ }] });
5036
+
5037
+ class CuiSegmentedWindowIconDirective {
5038
+ constructor() {
5039
+ this.cuiSegmentedWindowIcon = input.required();
5040
+ }
5041
+ static ngTemplateContextGuard(directive, context) {
5042
+ return true;
5043
+ }
5044
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowIconDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
5045
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "18.2.14", type: CuiSegmentedWindowIconDirective, isStandalone: true, selector: "ng-template[cuiSegmentedWindowIcon]", inputs: { cuiSegmentedWindowIcon: { classPropertyName: "cuiSegmentedWindowIcon", publicName: "cuiSegmentedWindowIcon", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0 }); }
5046
+ }
5047
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowIconDirective, decorators: [{
5048
+ type: Directive,
5049
+ args: [{
5050
+ selector: 'ng-template[cuiSegmentedWindowIcon]',
5051
+ standalone: true
5052
+ }]
5053
+ }] });
5054
+
5055
+ const CUI_SEGMENTED_WINDOW_CONTEXT = new InjectionToken('CUI_SEGMENTED_WINDOW_CONTEXT');
5056
+
5057
+ const CUI_SEGMENTED_WINDOW_TEMPLATES = new InjectionToken('CUI_SEGMENTED_WINDOW_TEMPLATES');
5058
+
5059
+ function provideCuiSegmentedWindows(service = CuiSegmentedWindowsService) {
5060
+ return service === CuiSegmentedWindowsService
5061
+ ? [CuiSegmentedWindowsService]
5062
+ : [service, { provide: CuiSegmentedWindowsService, useExisting: service }];
5063
+ }
5064
+
5065
+ class CuiMinimizedWindowItemComponent {
5066
+ constructor() {
5067
+ this.segmentedWindowsService = inject(CuiSegmentedWindowsService);
5068
+ this.segmentedWindowTemplates = inject(CUI_SEGMENTED_WINDOW_TEMPLATES);
5069
+ this.iconTemplate = this.segmentedWindowTemplates.iconTemplate;
5070
+ this.templateContext = computed(() => ({
5071
+ $implicit: this.window()
5072
+ }));
5073
+ this.window = input.required();
5074
+ }
5075
+ onRestore() {
5076
+ this.segmentedWindowsService.unfold();
5077
+ }
5078
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiMinimizedWindowItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5079
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiMinimizedWindowItemComponent, isStandalone: true, selector: "cui-minimized-window-item", inputs: { window: { classPropertyName: "window", publicName: "window", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<button\n type=\"button\"\n [cuiSegmentedWindowAnchor]=\"window().id\"\n [cuiTooltip]=\"window().title\"\n class=\"item\"\n (click)=\"onRestore()\"\n>\n @if (iconTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext()\" />\n }\n\n <span class=\"item__title\">{{ window().title }}</span>\n</button>\n", styles: [".item{padding:24px 8px 24px 0;border:0;flex-shrink:0;outline:none;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:flex-start;padding:24px 8px;font-weight:500;font-size:14px;line-height:20px;border:1px solid var(--cui-base-200);border-radius:8px;width:var(--cui-segmented-window-minimized-width);height:100%;color:var(--cui-base-900);background-color:transparent;transition:border-color .5s ease,background-color .5s ease;cursor:pointer}.item._highlighted{border-color:var(--cui-info);background-color:var(--cui-badge-blue-bg)}.item__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:100%;writing-mode:vertical-rl}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: CuiTooltipDirective, selector: "[cuiTooltip]:not(ng-container):not(ng-template)", inputs: ["cuiTooltipContext", "cuiTooltipAppearance", "cuiTooltip"] }, { kind: "directive", type: CuiSegmentedWindowAnchorDirective, selector: "[cuiSegmentedWindowAnchor]", inputs: ["cuiSegmentedWindowAnchor"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5080
+ }
5081
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiMinimizedWindowItemComponent, decorators: [{
5082
+ type: Component,
5083
+ args: [{ selector: 'cui-minimized-window-item', standalone: true, imports: [NgTemplateOutlet, CuiTooltipDirective, CuiSegmentedWindowAnchorDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<button\n type=\"button\"\n [cuiSegmentedWindowAnchor]=\"window().id\"\n [cuiTooltip]=\"window().title\"\n class=\"item\"\n (click)=\"onRestore()\"\n>\n @if (iconTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext()\" />\n }\n\n <span class=\"item__title\">{{ window().title }}</span>\n</button>\n", styles: [".item{padding:24px 8px 24px 0;border:0;flex-shrink:0;outline:none;appearance:none;color:inherit;font:inherit;background:inherit;text-decoration:none;-webkit-tap-highlight-color:transparent;display:flex;flex-direction:column;gap:12px;align-items:center;justify-content:flex-start;padding:24px 8px;font-weight:500;font-size:14px;line-height:20px;border:1px solid var(--cui-base-200);border-radius:8px;width:var(--cui-segmented-window-minimized-width);height:100%;color:var(--cui-base-900);background-color:transparent;transition:border-color .5s ease,background-color .5s ease;cursor:pointer}.item._highlighted{border-color:var(--cui-info);background-color:var(--cui-badge-blue-bg)}.item__title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-height:100%;writing-mode:vertical-rl}\n"] }]
5084
+ }] });
5085
+
5086
+ class CuiSegmentedWindowHeaderComponent {
5087
+ constructor() {
5088
+ this.segmentedWindowsService = inject(CuiSegmentedWindowsService);
5089
+ this.segmentedWindowContext = inject(CUI_SEGMENTED_WINDOW_CONTEXT);
5090
+ this.segmentedWindowTemplates = inject(CUI_SEGMENTED_WINDOW_TEMPLATES);
5091
+ this.cuiAlertService = inject(CuiAlertService);
5092
+ this.translocoService = inject(TranslocoService);
5093
+ this.backAvailableWindowId = this.segmentedWindowsService.backAvailableWindowId;
5094
+ this.maximizeAvailableWindowId = this.segmentedWindowsService.maximizeAvailableWindowId;
5095
+ this.window = this.segmentedWindowContext.window;
5096
+ this.iconTemplate = this.segmentedWindowTemplates.iconTemplate;
5097
+ this.isUnfolding = this.segmentedWindowsService.isUnfolding;
5098
+ this.isBackVisible = computed(() => this.backAvailableWindowId() === this.window().id);
5099
+ this.isMaximizeVisible = computed(() => this.maximizeAvailableWindowId() === this.window().id);
5100
+ this.isCloseVisible = computed(() => this.window().canClose ?? true);
5101
+ this.link = computed(() => this.window().link?.trim());
5102
+ this.templateContext = computed(() => ({
5103
+ $implicit: this.window()
5104
+ }));
5105
+ }
5106
+ onBack() {
5107
+ this.segmentedWindowsService.goBack();
5108
+ }
5109
+ onMaximize() {
5110
+ this.segmentedWindowsService.makeOnlyWindow(this.window().id);
5111
+ }
5112
+ onRestore() {
5113
+ this.segmentedWindowsService.unfold();
5114
+ }
5115
+ onClose() {
5116
+ this.segmentedWindowContext.close();
5117
+ }
5118
+ async onCopyLink(link) {
5119
+ try {
5120
+ await navigator.clipboard.writeText(link);
5121
+ this.showCopyResult('CUI_SEGMENTED_WINDOW.LINK_COPIED', 'success');
5122
+ }
5123
+ catch {
5124
+ this.showCopyResult('CUI_SEGMENTED_WINDOW.LINK_COPY_FAILED', 'error');
5125
+ }
5126
+ }
5127
+ showCopyResult(key, status) {
5128
+ this.cuiAlertService.open(this.translocoService.translate(key), { status }).subscribe();
5129
+ }
5130
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowHeaderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5131
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiSegmentedWindowHeaderComponent, isStandalone: true, selector: "cui-segmented-window-header", ngImport: i0, template: "<header\n *transloco=\"let t\"\n class=\"header\"\n>\n <div class=\"header__start\">\n @if (isBackVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.BACK')\"\n size=\"xs\"\n icon=\"cuiIconChevronLeftSm\"\n appearance=\"ghost\"\n (click)=\"onBack()\"\n ></button>\n }\n\n @if (iconTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext()\" />\n }\n\n <span class=\"header__title\">{{ window().title }}</span>\n </div>\n\n <div class=\"header__actions\">\n @if (link(); as windowLink) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.COPY_LINK')\"\n size=\"xs\"\n icon=\"cuiIconLink\"\n appearance=\"ghost\"\n (click)=\"onCopyLink(windowLink)\"\n ></button>\n }\n\n @if (isUnfolding()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.RESTORE')\"\n size=\"xs\"\n icon=\"cuiIconMinimize2Sm\"\n appearance=\"ghost\"\n (click)=\"onRestore()\"\n ></button>\n }\n\n @if (isMaximizeVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.MAXIMIZE')\"\n size=\"xs\"\n icon=\"cuiIconMaximizeSm\"\n appearance=\"ghost\"\n (click)=\"onMaximize()\"\n ></button>\n }\n\n @if (isCloseVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.CLOSE')\"\n size=\"xs\"\n icon=\"cuiIconX\"\n appearance=\"ghost\"\n (click)=\"onClose()\"\n ></button>\n }\n </div>\n</header>\n", styles: [".header{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;padding:8px 16px 7.5px;border-bottom:.5px solid var(--cui-base-200);background:var(--cui-base-0)}.header__start{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;flex:1 1 auto;min-height:32px;overflow:hidden}.header__title{font-weight:500;font-size:18px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header__actions{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;flex-shrink:0}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "directive", type: TranslocoDirective, selector: "[transloco]", inputs: ["transloco", "translocoParams", "translocoScope", "translocoRead", "translocoPrefix", "translocoLang", "translocoLoadingTpl"] }, { kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "theme", "size"] }, { kind: "directive", type: CuiTooltipDirective, selector: "[cuiTooltip]:not(ng-container):not(ng-template)", inputs: ["cuiTooltipContext", "cuiTooltipAppearance", "cuiTooltip"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5132
+ }
5133
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowHeaderComponent, decorators: [{
5134
+ type: Component,
5135
+ args: [{ selector: 'cui-segmented-window-header', standalone: true, imports: [NgTemplateOutlet, TranslocoDirective, CuiButtonModule, CuiTooltipDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<header\n *transloco=\"let t\"\n class=\"header\"\n>\n <div class=\"header__start\">\n @if (isBackVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.BACK')\"\n size=\"xs\"\n icon=\"cuiIconChevronLeftSm\"\n appearance=\"ghost\"\n (click)=\"onBack()\"\n ></button>\n }\n\n @if (iconTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext()\" />\n }\n\n <span class=\"header__title\">{{ window().title }}</span>\n </div>\n\n <div class=\"header__actions\">\n @if (link(); as windowLink) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.COPY_LINK')\"\n size=\"xs\"\n icon=\"cuiIconLink\"\n appearance=\"ghost\"\n (click)=\"onCopyLink(windowLink)\"\n ></button>\n }\n\n @if (isUnfolding()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.RESTORE')\"\n size=\"xs\"\n icon=\"cuiIconMinimize2Sm\"\n appearance=\"ghost\"\n (click)=\"onRestore()\"\n ></button>\n }\n\n @if (isMaximizeVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.MAXIMIZE')\"\n size=\"xs\"\n icon=\"cuiIconMaximizeSm\"\n appearance=\"ghost\"\n (click)=\"onMaximize()\"\n ></button>\n }\n\n @if (isCloseVisible()) {\n <button\n type=\"button\"\n cuiButton\n [cuiTooltip]=\"t('CUI_SEGMENTED_WINDOW.CLOSE')\"\n size=\"xs\"\n icon=\"cuiIconX\"\n appearance=\"ghost\"\n (click)=\"onClose()\"\n ></button>\n }\n </div>\n</header>\n", styles: [".header{display:flex;flex-direction:row;gap:12px;align-items:center;justify-content:space-between;padding:8px 16px 7.5px;border-bottom:.5px solid var(--cui-base-200);background:var(--cui-base-0)}.header__start{display:flex;flex-direction:row;gap:8px;align-items:center;justify-content:flex-start;flex:1 1 auto;min-height:32px;overflow:hidden}.header__title{font-weight:500;font-size:18px;line-height:28px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.header__actions{display:flex;flex-direction:row;gap:6px;align-items:center;justify-content:flex-start;flex-shrink:0}\n"] }]
5136
+ }] });
5137
+
5138
+ class CuiSegmentedWindowComponent {
5139
+ constructor() {
5140
+ this.injector = inject(Injector);
5141
+ this.segmentedWindowsService = inject(CuiSegmentedWindowsService);
5142
+ this.segmentedWindowTemplates = inject(CUI_SEGMENTED_WINDOW_TEMPLATES);
5143
+ this.segmentedWindows = this.segmentedWindowsService.segmentedWindows;
5144
+ this.windowId = computed(() => this.window().id);
5145
+ this.headerTemplate = this.segmentedWindowTemplates.headerTemplate;
5146
+ this.isStaggered = signal(false);
5147
+ // a keyed @for recreates the header and the content when another window takes this slot
5148
+ this.renderedWindows = computed(() => [this.window()]);
5149
+ this.windowInjector = computed(() => this.createWindowInjector(this.windowId()));
5150
+ this.componentInputs = computed(() => this.createComponentInputs(this.window()));
5151
+ this.templateContext = computed(() => ({
5152
+ $implicit: this.window()
5153
+ }));
5154
+ this.window = input.required();
5155
+ this.initStagger();
5156
+ }
5157
+ initStagger() {
5158
+ afterNextRender(() => requestAnimationFrame(() => this.isStaggered.set(true)));
5159
+ }
5160
+ createWindowInjector(id) {
5161
+ return Injector.create({
5162
+ providers: [{ provide: CUI_SEGMENTED_WINDOW_CONTEXT, useValue: this.createWindowContext(id) }],
5163
+ parent: this.injector
5164
+ });
5165
+ }
5166
+ createWindowContext(id) {
5167
+ const openedWindow = untracked(this.window);
5168
+ return {
5169
+ window: computed(() => this.segmentedWindows().find((window) => window.id === id) ?? openedWindow),
5170
+ patchData: (patch) => this.segmentedWindowsService.patchData(id, patch),
5171
+ close: () => this.segmentedWindowsService.close(id)
5172
+ };
5173
+ }
5174
+ createComponentInputs(window) {
5175
+ if (!this.checkHasSegmentedWindowDataInput(window.component)) {
5176
+ return { ...window.inputs };
5177
+ }
5178
+ return { ...window.inputs, [CUI_SEGMENTED_WINDOW_DATA_INPUT]: window };
5179
+ }
5180
+ checkHasSegmentedWindowDataInput(component) {
5181
+ return !!reflectComponentType(component)?.inputs.some((componentInput) => componentInput.templateName === CUI_SEGMENTED_WINDOW_DATA_INPUT);
5182
+ }
5183
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5184
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiSegmentedWindowComponent, isStandalone: true, selector: "cui-segmented-window", inputs: { window: { classPropertyName: "window", publicName: "window", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<div\n class=\"header\"\n [class.header_staggered]=\"isStaggered()\"\n>\n @for (renderedWindow of renderedWindows(); track renderedWindow.id) {\n @if (headerTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext(); injector: windowInjector()\" />\n } @else {\n <ng-container *ngTemplateOutlet=\"defaultHeader; injector: windowInjector()\" />\n }\n }\n</div>\n\n<div\n class=\"content\"\n [class.content_staggered]=\"isStaggered()\"\n>\n @for (renderedWindow of renderedWindows(); track renderedWindow.id) {\n <ng-container\n *ngComponentOutlet=\"renderedWindow.component; inputs: componentInputs(); injector: windowInjector()\"\n />\n }\n</div>\n\n<ng-template #defaultHeader>\n <cui-segmented-window-header />\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;gap:0;border:1px solid var(--cui-base-200);border-radius:8px;height:100%;overflow:hidden;animation:window-enter .26s cubic-bezier(.2,.9,.2,1) backwards;transition:border-color .5s ease,background-color .5s ease}:host._highlighted{border-color:var(--cui-info);background-color:var(--cui-badge-blue-bg)}@keyframes window-enter{0%{opacity:0;transform:translate3d(14px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes content-cascade-in{0%{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:translateZ(0)}}.header{opacity:0;transform:translate3d(0,8px,0);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.85,.2,1)}.header_staggered{opacity:1;transform:none}.content{padding:12px;flex:1 1 auto;min-height:0;overflow:auto;opacity:0;transform:translate3d(0,6px,0);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.85,.2,1);transition-delay:78ms}.content_staggered{opacity:1;transform:none}.content ::ng-deep>:first-child>*{--cui-segmented-window-cascade-index: 12;animation:content-cascade-in .22s cubic-bezier(.2,.85,.2,1) backwards;animation-delay:calc(var(--cui-segmented-window-cascade-index) * 50ms + .1s)}.content ::ng-deep>:first-child>*:nth-child(1){--cui-segmented-window-cascade-index: 0}.content ::ng-deep>:first-child>*:nth-child(2){--cui-segmented-window-cascade-index: 1}.content ::ng-deep>:first-child>*:nth-child(3){--cui-segmented-window-cascade-index: 2}.content ::ng-deep>:first-child>*:nth-child(4){--cui-segmented-window-cascade-index: 3}.content ::ng-deep>:first-child>*:nth-child(5){--cui-segmented-window-cascade-index: 4}.content ::ng-deep>:first-child>*:nth-child(6){--cui-segmented-window-cascade-index: 5}.content ::ng-deep>:first-child>*:nth-child(7){--cui-segmented-window-cascade-index: 6}.content ::ng-deep>:first-child>*:nth-child(8){--cui-segmented-window-cascade-index: 7}.content ::ng-deep>:first-child>*:nth-child(9){--cui-segmented-window-cascade-index: 8}.content ::ng-deep>:first-child>*:nth-child(10){--cui-segmented-window-cascade-index: 9}.content ::ng-deep>:first-child>*:nth-child(11){--cui-segmented-window-cascade-index: 10}.content ::ng-deep>:first-child>*:nth-child(12){--cui-segmented-window-cascade-index: 11}\n"], dependencies: [{ kind: "directive", type: NgComponentOutlet, selector: "[ngComponentOutlet]", inputs: ["ngComponentOutlet", "ngComponentOutletInputs", "ngComponentOutletInjector", "ngComponentOutletContent", "ngComponentOutletNgModule", "ngComponentOutletNgModuleFactory"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "component", type: CuiSegmentedWindowHeaderComponent, selector: "cui-segmented-window-header" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5185
+ }
5186
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowComponent, decorators: [{
5187
+ type: Component,
5188
+ args: [{ selector: 'cui-segmented-window', standalone: true, imports: [NgComponentOutlet, NgTemplateOutlet, CuiSegmentedWindowHeaderComponent], changeDetection: ChangeDetectionStrategy.OnPush, template: "<div\n class=\"header\"\n [class.header_staggered]=\"isStaggered()\"\n>\n @for (renderedWindow of renderedWindows(); track renderedWindow.id) {\n @if (headerTemplate(); as template) {\n <ng-container *ngTemplateOutlet=\"template; context: templateContext(); injector: windowInjector()\" />\n } @else {\n <ng-container *ngTemplateOutlet=\"defaultHeader; injector: windowInjector()\" />\n }\n }\n</div>\n\n<div\n class=\"content\"\n [class.content_staggered]=\"isStaggered()\"\n>\n @for (renderedWindow of renderedWindows(); track renderedWindow.id) {\n <ng-container\n *ngComponentOutlet=\"renderedWindow.component; inputs: componentInputs(); injector: windowInjector()\"\n />\n }\n</div>\n\n<ng-template #defaultHeader>\n <cui-segmented-window-header />\n</ng-template>\n", styles: [":host{display:flex;flex-direction:column;gap:0;border:1px solid var(--cui-base-200);border-radius:8px;height:100%;overflow:hidden;animation:window-enter .26s cubic-bezier(.2,.9,.2,1) backwards;transition:border-color .5s ease,background-color .5s ease}:host._highlighted{border-color:var(--cui-info);background-color:var(--cui-badge-blue-bg)}@keyframes window-enter{0%{opacity:0;transform:translate3d(14px,0,0)}to{opacity:1;transform:translateZ(0)}}@keyframes content-cascade-in{0%{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:translateZ(0)}}.header{opacity:0;transform:translate3d(0,8px,0);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.85,.2,1)}.header_staggered{opacity:1;transform:none}.content{padding:12px;flex:1 1 auto;min-height:0;overflow:auto;opacity:0;transform:translate3d(0,6px,0);transition:opacity .22s ease,transform .22s cubic-bezier(.2,.85,.2,1);transition-delay:78ms}.content_staggered{opacity:1;transform:none}.content ::ng-deep>:first-child>*{--cui-segmented-window-cascade-index: 12;animation:content-cascade-in .22s cubic-bezier(.2,.85,.2,1) backwards;animation-delay:calc(var(--cui-segmented-window-cascade-index) * 50ms + .1s)}.content ::ng-deep>:first-child>*:nth-child(1){--cui-segmented-window-cascade-index: 0}.content ::ng-deep>:first-child>*:nth-child(2){--cui-segmented-window-cascade-index: 1}.content ::ng-deep>:first-child>*:nth-child(3){--cui-segmented-window-cascade-index: 2}.content ::ng-deep>:first-child>*:nth-child(4){--cui-segmented-window-cascade-index: 3}.content ::ng-deep>:first-child>*:nth-child(5){--cui-segmented-window-cascade-index: 4}.content ::ng-deep>:first-child>*:nth-child(6){--cui-segmented-window-cascade-index: 5}.content ::ng-deep>:first-child>*:nth-child(7){--cui-segmented-window-cascade-index: 6}.content ::ng-deep>:first-child>*:nth-child(8){--cui-segmented-window-cascade-index: 7}.content ::ng-deep>:first-child>*:nth-child(9){--cui-segmented-window-cascade-index: 8}.content ::ng-deep>:first-child>*:nth-child(10){--cui-segmented-window-cascade-index: 9}.content ::ng-deep>:first-child>*:nth-child(11){--cui-segmented-window-cascade-index: 10}.content ::ng-deep>:first-child>*:nth-child(12){--cui-segmented-window-cascade-index: 11}\n"] }]
5189
+ }], ctorParameters: () => [] });
5190
+
5191
+ class CuiSegmentedWindowsContainerComponent {
5192
+ constructor() {
5193
+ this.segmentedWindowsService = inject(CuiSegmentedWindowsService);
5194
+ this.animationsSpeed = inject(CUI_ANIMATIONS_SPEED);
5195
+ this.isAnimationDisabled = !this.animationsSpeed;
5196
+ this.segmentedWindows = this.segmentedWindowsService.segmentedWindows;
5197
+ this.minimizedWindow = this.segmentedWindowsService.minimizedWindows;
5198
+ this.headerTemplate = contentChild(CuiSegmentedWindowHeaderDirective, { read: TemplateRef });
5199
+ this.iconTemplate = contentChild(CuiSegmentedWindowIconDirective, { read: TemplateRef });
5200
+ }
5201
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowsContainerComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
5202
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: CuiSegmentedWindowsContainerComponent, isStandalone: true, selector: "cui-segmented-windows-container", host: { properties: { "@.disabled": "isAnimationDisabled" } }, providers: [
5203
+ {
5204
+ provide: CUI_SEGMENTED_WINDOW_TEMPLATES,
5205
+ useExisting: forwardRef(() => CuiSegmentedWindowsContainerComponent)
5206
+ }
5207
+ ], queries: [{ propertyName: "headerTemplate", first: true, predicate: CuiSegmentedWindowHeaderDirective, descendants: true, read: TemplateRef, isSignal: true }, { propertyName: "iconTemplate", first: true, predicate: CuiSegmentedWindowIconDirective, descendants: true, read: TemplateRef, isSignal: true }], ngImport: i0, template: "@if (minimizedWindow(); as window) {\n <cui-minimized-window-item\n @cuiSegmentedWindowMinimized\n [window]=\"window\"\n class=\"minimized\"\n />\n}\n\n<div class=\"windows\">\n @for (window of segmentedWindows(); track window.slotId) {\n <div\n @cuiSegmentedWindowPanel\n class=\"slot\"\n [class.slot_collapsed]=\"window.id === minimizedWindow()?.id\"\n >\n <cui-segmented-window\n [cuiSegmentedWindowAnchor]=\"window.id\"\n [window]=\"window\"\n />\n </div>\n }\n</div>\n", styles: [":host{--cui-segmented-window-minimized-width: 3.25rem;display:flex;flex-direction:row;gap:8px;padding:12px;width:100%;height:100%;overflow:hidden}.minimized{flex-shrink:0;max-width:var(--cui-segmented-window-minimized-width);overflow:hidden}.windows{display:flex;flex-direction:row;gap:8px;flex-grow:1;overflow:auto}.slot{display:flex;flex-direction:column;gap:0;flex:1 1 0;height:100%;overflow:hidden;transition:flex .4s cubic-bezier(.2,.9,.2,1) .2s,opacity .26s ease .2s,visibility 0s linear .2s}.slot_collapsed{flex:0 0 0;opacity:0;visibility:hidden;transition-delay:0s,0s,.4s;pointer-events:none}\n"], dependencies: [{ kind: "component", type: CuiSegmentedWindowComponent, selector: "cui-segmented-window", inputs: ["window"] }, { kind: "component", type: CuiMinimizedWindowItemComponent, selector: "cui-minimized-window-item", inputs: ["window"] }, { kind: "directive", type: CuiSegmentedWindowAnchorDirective, selector: "[cuiSegmentedWindowAnchor]", inputs: ["cuiSegmentedWindowAnchor"] }], animations: [cuiSegmentedWindowPanel, cuiSegmentedWindowMinimized], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
5208
+ }
5209
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: CuiSegmentedWindowsContainerComponent, decorators: [{
5210
+ type: Component,
5211
+ args: [{ selector: 'cui-segmented-windows-container', standalone: true, imports: [CuiSegmentedWindowComponent, CuiMinimizedWindowItemComponent, CuiSegmentedWindowAnchorDirective], changeDetection: ChangeDetectionStrategy.OnPush, animations: [cuiSegmentedWindowPanel, cuiSegmentedWindowMinimized], providers: [
5212
+ {
5213
+ provide: CUI_SEGMENTED_WINDOW_TEMPLATES,
5214
+ useExisting: forwardRef(() => CuiSegmentedWindowsContainerComponent)
5215
+ }
5216
+ ], host: {
5217
+ '[@.disabled]': 'isAnimationDisabled'
5218
+ }, template: "@if (minimizedWindow(); as window) {\n <cui-minimized-window-item\n @cuiSegmentedWindowMinimized\n [window]=\"window\"\n class=\"minimized\"\n />\n}\n\n<div class=\"windows\">\n @for (window of segmentedWindows(); track window.slotId) {\n <div\n @cuiSegmentedWindowPanel\n class=\"slot\"\n [class.slot_collapsed]=\"window.id === minimizedWindow()?.id\"\n >\n <cui-segmented-window\n [cuiSegmentedWindowAnchor]=\"window.id\"\n [window]=\"window\"\n />\n </div>\n }\n</div>\n", styles: [":host{--cui-segmented-window-minimized-width: 3.25rem;display:flex;flex-direction:row;gap:8px;padding:12px;width:100%;height:100%;overflow:hidden}.minimized{flex-shrink:0;max-width:var(--cui-segmented-window-minimized-width);overflow:hidden}.windows{display:flex;flex-direction:row;gap:8px;flex-grow:1;overflow:auto}.slot{display:flex;flex-direction:column;gap:0;flex:1 1 0;height:100%;overflow:hidden;transition:flex .4s cubic-bezier(.2,.9,.2,1) .2s,opacity .26s ease .2s,visibility 0s linear .2s}.slot_collapsed{flex:0 0 0;opacity:0;visibility:hidden;transition-delay:0s,0s,.4s;pointer-events:none}\n"] }]
5219
+ }] });
5220
+
4760
5221
  const EXTENSION_GROUP_COLOR = {
4761
5222
  model: 'var(--cui-light-green-500)',
4762
5223
  doc: 'var(--cui-light-blue-500)',
@@ -14153,13 +14614,13 @@ function handleError(handler, useDefaultError = true) {
14153
14614
  }
14154
14615
 
14155
14616
  const CuiTranslations = {
14156
- en: import('./cuby-ui-core-en-DoKU5zDf.mjs'),
14157
- ru: import('./cuby-ui-core-ru-quLEyA0a.mjs')
14617
+ en: import('./cuby-ui-core-en-Csg2E9Uc.mjs'),
14618
+ ru: import('./cuby-ui-core-ru-xEXR-11C.mjs')
14158
14619
  };
14159
14620
 
14160
14621
  /**
14161
14622
  * Generated bundle index. Do not edit.
14162
14623
  */
14163
14624
 
14164
- export { AlertHintComponent, AngularOutsideLoaderService, AssigneeRoleItemComponent, AssigneeRolesTabsComponent, ButtonChangeThemeComponent, CUI_ACTIVITY_SERVICE_TOKEN, CUI_ALERTS, CUI_ALERT_CONTEXT, CUI_ALERT_DEFAULT_OPTIONS, CUI_ALERT_OPTIONS, CUI_ANIMATIONS_DEFAULT_DURATION, CUI_BADGE_DEFAULT_OPTIONS, CUI_BADGE_OPTIONS, CUI_BANNER_DEFAULT_OPTIONS, CUI_BANNER_OPTIONS, CUI_BUTTON_DEFAULT_OPTIONS, CUI_BUTTON_OPTIONS, CUI_CATEGORIES_TREE_DATA_SOURCE_SERVICE_TOKEN, CUI_DEFAULT_THEME, CUI_DIALOGS, CUI_DIALOG_CONTEXT, CUI_DIALOG_DEFAULT_OPTIONS, CUI_DIALOG_OPTIONS, CUI_FILTER_BAR_DEFAULT_TRANSLATIONS, CUI_INPUT_TIME_DEFAULT_OPTIONS, CUI_INPUT_TIME_OPTIONS, CUI_NOTIFICATION_DEFAULT_OPTIONS, CUI_NOTIFICATION_ICONS, CUI_NOTIFICATION_ICON_OPTIONS, CUI_NOTIFICATION_ICON_OPTIONS_DEFAULT_MODE, CUI_NOTIFICATION_ICON_OPTIONS_LIGHT_MODE, CUI_NOTIFICATION_OPTIONS, CUI_RESOURCE_STATE_SERVICE_TOKEN, CUI_ROOT_SELECTOR, CUI_STORAGE_LIST_SERVICE_TOKEN, CUI_SUBJECT_MODAL_SERVICE_TOKEN, CUI_TABS_SERVICE_TOKEN, CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FIELD_ICON_LEFT, CUI_TEXT_FIELD_ID, CUI_TEXT_FIELD_IS_ERROR, CUI_TEXT_FIELD_PLACEHOLDER, CUI_TEXT_FIELD_SIZE, CUI_TEXT_FILED_CONTROLLER_PROVIDER, CUI_THEME, CUI_THEME_STORAGE_DEFAULT_KEY, CUI_THEME_STORAGE_KEY, CUI_TOOLTIP_COMPONENT, CUI_TOOLTIP_DEFAULT_OPTIONS, CUI_TOOLTIP_DIRECTIONS, CUI_TOOLTIP_OPTIONS, CUI_TOOLTIP_PROVIDERS, CUI_USED_ELEMENTS_SERVICE_TOKEN, CUI_UTILITY_SERVICE_TOKEN, ContentHeaderComponent, CuiAbstractTabsComponent, CuiAccessor, CuiAccordionComponent, CuiAccordionDirective, CuiAccordionItemComponent, CuiAccordionModule, CuiActivityBaseService, CuiActivityImplService, CuiAlertComponent, CuiAlertModule, CuiAlertService, CuiAlertsComponent, CuiAttachesTool, CuiAuthBase, CuiAuthService, CuiBadgeComponent, CuiBadgeModule, CuiBannerComponent, CuiBannerModule, CuiBreadcrumbComponent, CuiBreadcrumbsComponent, CuiBreadcrumbsModule, CuiBrowserLoginStrategyService, CuiButtonComponent, CuiButtonGroupComponent, CuiButtonGroupModule, CuiButtonModule, CuiCardWrapperComponent, CuiCategoriesComponent, CuiCategoriesTreeComponent, CuiCategoriesTreeListComponent, CuiCategoryTreeItemComponent, CuiCategoryTreeStateService, CuiCheckListBlockListItemActionCardComponent, CuiCheckListBlockListItemActionWithVerificationComponent, CuiCheckListBlockListItemActionWithoutVerificationComponent, CuiCheckListBlockListItemEvaluationComponent, CuiCheckListBlockListItemEvaluationCriteriaComponent, CuiCheckListBlockService, CuiCheckboxComponent, CuiCheckboxModule, CuiChecklistBlockComponent, CuiChecklistBlockListComponent, CuiChecklistBlockListItemContainerComponent, CuiChecklistBlockTitleControlComponent, CuiCircleLoaderComponent, CuiCollapsiblePanelComponent, CuiContentWrapperComponent, CuiContextMenuComponent, CuiContextMenuModule, CuiCriterionInfoComponent, CuiCriterionInfoFormComponent, CuiCriterionModalCreateComponent, CuiCriterionReadonlyInfoComponent, CuiDateRangeCalendarComponent, CuiDateRangeCalendarModule, CuiDeleteModalComponent, CuiDialogActionsComponent, CuiDialogComponent, CuiDialogHeaderComponent, CuiDialogModule, CuiDialogService, CuiDialogsComponent, CuiDriver, CuiDriverDirective, CuiDropdownDirective, CuiDropdownWrapperComponent, CuiEditorBlockComponent, CuiEditorComponent, CuiEditorModalComponent, CuiEditorReadonlyComponent, CuiEditorTranslations, CuiEmptyStateComponent, CuiErrorResolverFactory, CuiFileIconComponent, CuiFileUploader, CuiFileUploaderStatus, CuiFilterBarComponent, CuiFilterBarModule, CuiFormFieldComponent, CuiFormFieldModule, CuiFramerPreviewComponent, CuiGeneralControlErrorHintComponent, CuiGhostInputComponent, CuiGlobalErrorHandler, CuiHeaderTool, CuiHintComponent, CuiHintModule, CuiHybridStorageService, CuiIconButtonComponent, CuiIconButtonModule, CuiImageTool, CuiInputModule, CuiInputNumberComponent, CuiInputNumberModule, CuiInputPasswordComponent, CuiInputPasswordModule, CuiInputTextComponent, CuiInputTimeComponent, CuiInputTimeModule, CuiInstructionInfoComponent, CuiInstructionInfoFormComponent, CuiInstructionModalCreateComponent, CuiInstructionReadonlyInfoComponent, CuiLabelComponent, CuiLabelModule, CuiLayoutComponent, CuiLetterBoxComponent, CuiLibTranslations, CuiLinearLoaderComponent, CuiLinkMarker, CuiListTool, CuiLoaderComponent, CuiLoaderService, CuiLoadingState, CuiNotificationComponent, CuiNotificationModule, CuiPositionAccessor, CuiPositionService, CuiPulseLoaderComponent, CuiRadioComponent, CuiRadioModule, CuiReadonlyCriterionModalComponent, CuiReadonlyInstructionModalComponent, CuiReadonlyUtilityModalComponent, CuiRectAccessor, CuiRenderDynamicComponentsComponent, CuiRenderDynamicComponentsService, CuiRoleMarker, CuiRootComponent, CuiRootModule, CuiSelectComponent, CuiSelectModalComponent, CuiSelectModalFolderComponent, CuiSelectModalSearchComponent, CuiSelectModalService, CuiSelectModule, CuiSelectedCategoryService, CuiSidebarContainerComponent, CuiSidebarHeaderComponent, CuiSidebarNavigationComponent, CuiSidebarNavigationContainerComponent, CuiSidebarNavigationItemComponent, CuiSidebarService, CuiSkeleton, CuiStatedLoaderComponent, CuiStorageListComponent, CuiSvgComponent, CuiSvgModule, CuiTabDirective, CuiTabsComponent, CuiTabsServiceImpl, CuiTemplateSelectComponent, CuiTextFieldController, CuiTextFieldControllerModule, CuiTextFieldIconLeftDirective, CuiTextFieldIdDirective, CuiTextFieldIsErrorDirective, CuiTextFieldPlaceholderDirective, CuiTextFieldSizeDirective, CuiTextareaComponent, CuiTextareaModule, CuiThemeService, CuiTimePipe, CuiToggleComponent, CuiToggleModule, CuiToolMarker, CuiTooltip, CuiTooltipComponent, CuiTooltipDescribe, CuiTooltipDirective, CuiTooltipDriver, CuiTooltipHost, CuiTooltipHover, CuiTooltipManual, CuiTooltipOptionsDirective, CuiTooltipOverflow, CuiTooltipPointer, CuiTooltipPosition, CuiTooltipService, CuiTooltipUnstyled, CuiTooltipUnstyledComponent, CuiTooltips, CuiTranslations, CuiTreeComponent, CuiUserActionContextMenuComponent, CuiUtilityModalComponent, CuiUtilityModalCreateComponent, CuiUtilityReadonlyThumbnailComponent, CuiUtilityThumbnailComponent, CuiVehicle, CuiVideoTool, CuiVisualViewportService, FileSizePipe, InsertedComponent, ModalDividedSectionComponent, ModalHeaderComponent, ModalHeaderInsertedButtonsComponent, ModalInfoTabComponent, ModalOperationPartComponent, ModalResourcesTabComponent, OptionsButtonComponent, RenderDynamicModalComponent, ResourceStateBaseService, ResourcesBlockComponent, ResourcesBlockPartComponent, ResourcesBlockTabsComponent$1 as ResourcesBlockTabsComponent, ResourcesOptionsComponent, SubjectModalBaseService, UTILITY_MODAL_SERVICE_TOKEN, UsedElementsBaseService, UtilityBaseService, UtilityInfoReadonlyComponent, createEditorTools, cuiAsDriver, cuiAsPositionAccessor, cuiAsRectAccessor, cuiAsVehicle, cuiAuthErrorInterceptor, cuiAuthInterceptor, cuiCheckAuthFailureEvent, cuiCheckFixedPosition, cuiCreateDefaultValidators, cuiErrorHandlerInterceptor, cuiFallbackAccessor, cuiGetDuration, cuiIsObscured, cuiLoaderInterceptor, cuiOverrideOptions, cuiPositionAccessorFor, cuiProvideAccessor, cuiProvideEditor, cuiRectAccessorFor, cuiRemoveSpaces, cuiReplace, cuiToAnimationOptions, cuiTooltipOptionsProvider, cuiXNdjsonInterceptor, handleError, openFileInBrowser, presetConfigToken, provideCuiAuth, provideCuiErrorHandler, provideCuiTabs, setLoading, sseStreamReaderInterceptor };
14625
+ export { AlertHintComponent, AngularOutsideLoaderService, AssigneeRoleItemComponent, AssigneeRolesTabsComponent, ButtonChangeThemeComponent, CUI_ACTIVITY_SERVICE_TOKEN, CUI_ALERTS, CUI_ALERT_CONTEXT, CUI_ALERT_DEFAULT_OPTIONS, CUI_ALERT_OPTIONS, CUI_ANIMATIONS_DEFAULT_DURATION, CUI_BADGE_DEFAULT_OPTIONS, CUI_BADGE_OPTIONS, CUI_BANNER_DEFAULT_OPTIONS, CUI_BANNER_OPTIONS, CUI_BUTTON_DEFAULT_OPTIONS, CUI_BUTTON_OPTIONS, CUI_CATEGORIES_TREE_DATA_SOURCE_SERVICE_TOKEN, CUI_DEFAULT_THEME, CUI_DIALOGS, CUI_DIALOG_CONTEXT, CUI_DIALOG_DEFAULT_OPTIONS, CUI_DIALOG_OPTIONS, CUI_FILTER_BAR_DEFAULT_TRANSLATIONS, CUI_INPUT_TIME_DEFAULT_OPTIONS, CUI_INPUT_TIME_OPTIONS, CUI_NOTIFICATION_DEFAULT_OPTIONS, CUI_NOTIFICATION_ICONS, CUI_NOTIFICATION_ICON_OPTIONS, CUI_NOTIFICATION_ICON_OPTIONS_DEFAULT_MODE, CUI_NOTIFICATION_ICON_OPTIONS_LIGHT_MODE, CUI_NOTIFICATION_OPTIONS, CUI_RESOURCE_STATE_SERVICE_TOKEN, CUI_ROOT_SELECTOR, CUI_SEGMENTED_WINDOW_CONTEXT, CUI_STORAGE_LIST_SERVICE_TOKEN, CUI_SUBJECT_MODAL_SERVICE_TOKEN, CUI_TABS_SERVICE_TOKEN, CUI_TEXT_FIELD_CONTROLLER, CUI_TEXT_FIELD_ICON_LEFT, CUI_TEXT_FIELD_ID, CUI_TEXT_FIELD_IS_ERROR, CUI_TEXT_FIELD_PLACEHOLDER, CUI_TEXT_FIELD_SIZE, CUI_TEXT_FILED_CONTROLLER_PROVIDER, CUI_THEME, CUI_THEME_STORAGE_DEFAULT_KEY, CUI_THEME_STORAGE_KEY, CUI_TOOLTIP_COMPONENT, CUI_TOOLTIP_DEFAULT_OPTIONS, CUI_TOOLTIP_DIRECTIONS, CUI_TOOLTIP_OPTIONS, CUI_TOOLTIP_PROVIDERS, CUI_USED_ELEMENTS_SERVICE_TOKEN, CUI_UTILITY_SERVICE_TOKEN, ContentHeaderComponent, CuiAbstractTabsComponent, CuiAccessor, CuiAccordionComponent, CuiAccordionDirective, CuiAccordionItemComponent, CuiAccordionModule, CuiActivityBaseService, CuiActivityImplService, CuiAlertComponent, CuiAlertModule, CuiAlertService, CuiAlertsComponent, CuiAttachesTool, CuiAuthBase, CuiAuthService, CuiBadgeComponent, CuiBadgeModule, CuiBannerComponent, CuiBannerModule, CuiBreadcrumbComponent, CuiBreadcrumbsComponent, CuiBreadcrumbsModule, CuiBrowserLoginStrategyService, CuiButtonComponent, CuiButtonGroupComponent, CuiButtonGroupModule, CuiButtonModule, CuiCardWrapperComponent, CuiCategoriesComponent, CuiCategoriesTreeComponent, CuiCategoriesTreeListComponent, CuiCategoryTreeItemComponent, CuiCategoryTreeStateService, CuiCheckListBlockListItemActionCardComponent, CuiCheckListBlockListItemActionWithVerificationComponent, CuiCheckListBlockListItemActionWithoutVerificationComponent, CuiCheckListBlockListItemEvaluationComponent, CuiCheckListBlockListItemEvaluationCriteriaComponent, CuiCheckListBlockService, CuiCheckboxComponent, CuiCheckboxModule, CuiChecklistBlockComponent, CuiChecklistBlockListComponent, CuiChecklistBlockListItemContainerComponent, CuiChecklistBlockTitleControlComponent, CuiCircleLoaderComponent, CuiCollapsiblePanelComponent, CuiContentWrapperComponent, CuiContextMenuComponent, CuiContextMenuModule, CuiCriterionInfoComponent, CuiCriterionInfoFormComponent, CuiCriterionModalCreateComponent, CuiCriterionReadonlyInfoComponent, CuiDateRangeCalendarComponent, CuiDateRangeCalendarModule, CuiDeleteModalComponent, CuiDialogActionsComponent, CuiDialogComponent, CuiDialogHeaderComponent, CuiDialogModule, CuiDialogService, CuiDialogsComponent, CuiDriver, CuiDriverDirective, CuiDropdownDirective, CuiDropdownWrapperComponent, CuiEditorBlockComponent, CuiEditorComponent, CuiEditorModalComponent, CuiEditorReadonlyComponent, CuiEditorTranslations, CuiEmptyStateComponent, CuiErrorResolverFactory, CuiFileIconComponent, CuiFileUploader, CuiFileUploaderStatus, CuiFilterBarComponent, CuiFilterBarModule, CuiFormFieldComponent, CuiFormFieldModule, CuiFramerPreviewComponent, CuiGeneralControlErrorHintComponent, CuiGhostInputComponent, CuiGlobalErrorHandler, CuiHeaderTool, CuiHintComponent, CuiHintModule, CuiHybridStorageService, CuiIconButtonComponent, CuiIconButtonModule, CuiImageTool, CuiInputModule, CuiInputNumberComponent, CuiInputNumberModule, CuiInputPasswordComponent, CuiInputPasswordModule, CuiInputTextComponent, CuiInputTimeComponent, CuiInputTimeModule, CuiInstructionInfoComponent, CuiInstructionInfoFormComponent, CuiInstructionModalCreateComponent, CuiInstructionReadonlyInfoComponent, CuiLabelComponent, CuiLabelModule, CuiLayoutComponent, CuiLetterBoxComponent, CuiLibTranslations, CuiLinearLoaderComponent, CuiLinkMarker, CuiListTool, CuiLoaderComponent, CuiLoaderService, CuiLoadingState, CuiNotificationComponent, CuiNotificationModule, CuiPositionAccessor, CuiPositionService, CuiPulseLoaderComponent, CuiRadioComponent, CuiRadioModule, CuiReadonlyCriterionModalComponent, CuiReadonlyInstructionModalComponent, CuiReadonlyUtilityModalComponent, CuiRectAccessor, CuiRenderDynamicComponentsComponent, CuiRenderDynamicComponentsService, CuiRoleMarker, CuiRootComponent, CuiRootModule, CuiSegmentedWindowHeaderDirective, CuiSegmentedWindowIconDirective, CuiSegmentedWindowsContainerComponent, CuiSegmentedWindowsService, CuiSelectComponent, CuiSelectModalComponent, CuiSelectModalFolderComponent, CuiSelectModalSearchComponent, CuiSelectModalService, CuiSelectModule, CuiSelectedCategoryService, CuiSidebarContainerComponent, CuiSidebarHeaderComponent, CuiSidebarNavigationComponent, CuiSidebarNavigationContainerComponent, CuiSidebarNavigationItemComponent, CuiSidebarService, CuiSkeleton, CuiStatedLoaderComponent, CuiStorageListComponent, CuiSvgComponent, CuiSvgModule, CuiTabDirective, CuiTabsComponent, CuiTabsServiceImpl, CuiTemplateSelectComponent, CuiTextFieldController, CuiTextFieldControllerModule, CuiTextFieldIconLeftDirective, CuiTextFieldIdDirective, CuiTextFieldIsErrorDirective, CuiTextFieldPlaceholderDirective, CuiTextFieldSizeDirective, CuiTextareaComponent, CuiTextareaModule, CuiThemeService, CuiTimePipe, CuiToggleComponent, CuiToggleModule, CuiToolMarker, CuiTooltip, CuiTooltipComponent, CuiTooltipDescribe, CuiTooltipDirective, CuiTooltipDriver, CuiTooltipHost, CuiTooltipHover, CuiTooltipManual, CuiTooltipOptionsDirective, CuiTooltipOverflow, CuiTooltipPointer, CuiTooltipPosition, CuiTooltipService, CuiTooltipUnstyled, CuiTooltipUnstyledComponent, CuiTooltips, CuiTranslations, CuiTreeComponent, CuiUserActionContextMenuComponent, CuiUtilityModalComponent, CuiUtilityModalCreateComponent, CuiUtilityReadonlyThumbnailComponent, CuiUtilityThumbnailComponent, CuiVehicle, CuiVideoTool, CuiVisualViewportService, FileSizePipe, InsertedComponent, ModalDividedSectionComponent, ModalHeaderComponent, ModalHeaderInsertedButtonsComponent, ModalInfoTabComponent, ModalOperationPartComponent, ModalResourcesTabComponent, OptionsButtonComponent, RenderDynamicModalComponent, ResourceStateBaseService, ResourcesBlockComponent, ResourcesBlockPartComponent, ResourcesBlockTabsComponent$1 as ResourcesBlockTabsComponent, ResourcesOptionsComponent, SubjectModalBaseService, UTILITY_MODAL_SERVICE_TOKEN, UsedElementsBaseService, UtilityBaseService, UtilityInfoReadonlyComponent, createEditorTools, cuiAsDriver, cuiAsPositionAccessor, cuiAsRectAccessor, cuiAsVehicle, cuiAuthErrorInterceptor, cuiAuthInterceptor, cuiCheckAuthFailureEvent, cuiCheckFixedPosition, cuiCreateDefaultValidators, cuiErrorHandlerInterceptor, cuiFallbackAccessor, cuiGetDuration, cuiIsObscured, cuiLoaderInterceptor, cuiOverrideOptions, cuiPositionAccessorFor, cuiProvideAccessor, cuiProvideEditor, cuiRectAccessorFor, cuiRemoveSpaces, cuiReplace, cuiToAnimationOptions, cuiTooltipOptionsProvider, cuiXNdjsonInterceptor, handleError, openFileInBrowser, presetConfigToken, provideCuiAuth, provideCuiErrorHandler, provideCuiSegmentedWindows, provideCuiTabs, setLoading, sseStreamReaderInterceptor };
14165
14626
  //# sourceMappingURL=cuby-ui-core.mjs.map