@ng-doc/ui-kit 16.12.0 → 16.13.0-beta.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 (137) hide show
  1. package/README.md +1 -0
  2. package/assets/icons/16/arrow-left.svg +4 -2
  3. package/assets/icons/16/arrow-right.svg +4 -2
  4. package/assets/icons/16/at-sign.svg +4 -2
  5. package/assets/icons/16/check.svg +3 -2
  6. package/assets/icons/16/chevron-right.svg +4 -2
  7. package/assets/icons/16/chevrons-right.svg +4 -2
  8. package/assets/icons/16/code.svg +3 -2
  9. package/assets/icons/16/copy.svg +3 -2
  10. package/assets/icons/16/edit-2.svg +3 -2
  11. package/assets/icons/16/external-link.svg +4 -2
  12. package/assets/icons/16/home.svg +3 -2
  13. package/assets/icons/16/info.svg +3 -2
  14. package/assets/icons/16/link-2.svg +3 -2
  15. package/assets/icons/16/menu.svg +3 -2
  16. package/assets/icons/16/minus.svg +3 -2
  17. package/assets/icons/16/search.svg +3 -2
  18. package/assets/icons/16/x.svg +3 -2
  19. package/assets/icons/24/alert-triangle.svg +6 -3
  20. package/assets/icons/24/circle.svg +3 -2
  21. package/assets/icons/24/info.svg +3 -2
  22. package/assets/icons/24/menu.svg +3 -2
  23. package/assets/icons/24/moon.svg +3 -2
  24. package/assets/icons/24/search.svg +3 -2
  25. package/assets/icons/24/sun.svg +3 -2
  26. package/components/combobox/index.d.ts +0 -1
  27. package/components/dropdown/index.d.ts +0 -1
  28. package/esm2022/animations/expand-collapse.mjs +12 -4
  29. package/esm2022/cdk/combobox-host/combobox-host.component.mjs +3 -3
  30. package/esm2022/classes/base-input/base-input.mjs +1 -1
  31. package/esm2022/classes/list-item/list-item.mjs +1 -1
  32. package/esm2022/components/blockquote/blockquote.component.mjs +3 -3
  33. package/esm2022/components/checkbox/checkbox.component.mjs +3 -3
  34. package/esm2022/components/clear-control/clear-control.component.mjs +3 -3
  35. package/esm2022/components/combobox/combobox.component.mjs +3 -3
  36. package/esm2022/components/combobox/index.mjs +1 -2
  37. package/esm2022/components/data-list/data-list.component.mjs +3 -3
  38. package/esm2022/components/data-list-group/data-list-group.component.mjs +3 -3
  39. package/esm2022/components/dropdown/index.mjs +1 -2
  40. package/esm2022/components/expander/expander.component.mjs +3 -3
  41. package/esm2022/components/icon/icon.component.mjs +5 -3
  42. package/esm2022/components/input-wrapper/input-wrapper.component.mjs +3 -3
  43. package/esm2022/components/label/label.component.mjs +3 -3
  44. package/esm2022/components/overlay-container/overlay-container.component.mjs +3 -3
  45. package/esm2022/components/sidenav/sidenav.component.mjs +36 -12
  46. package/esm2022/components/tab-group/tab-group.component.mjs +3 -3
  47. package/esm2022/directives/media-query/media-query.directive.mjs +3 -3
  48. package/esm2022/directives/rotator/rotator.directive.mjs +2 -2
  49. package/esm2022/index.mjs +2 -2
  50. package/esm2022/interceptors/cache.interceptor.mjs +2 -2
  51. package/esm2022/observables/observable-state.mjs +1 -1
  52. package/esm2022/providers/index.mjs +2 -0
  53. package/esm2022/providers/ng-doc-ui-kit-config/index.mjs +2 -0
  54. package/esm2022/providers/ng-doc-ui-kit-config/ng-doc-ui-kit-providers-ng-doc-ui-kit-config.mjs +5 -0
  55. package/esm2022/providers/ng-doc-ui-kit-config/provide-ng-doc-ui-kit-config.mjs +26 -0
  56. package/esm2022/providers/ng-doc-ui-kit-providers.mjs +5 -0
  57. package/esm2022/services/overlay/index.mjs +1 -2
  58. package/esm2022/services/scroll/scroll.service.mjs +1 -1
  59. package/esm2022/types/content.mjs +2 -2
  60. package/esm2022/utils/focus-utils.mjs +3 -2
  61. package/esm2022/utils/overlay-utils.mjs +6 -4
  62. package/fesm2022/ng-doc-ui-kit-animations.mjs +10 -2
  63. package/fesm2022/ng-doc-ui-kit-animations.mjs.map +1 -1
  64. package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs +2 -2
  65. package/fesm2022/ng-doc-ui-kit-cdk-combobox-host.mjs.map +1 -1
  66. package/fesm2022/ng-doc-ui-kit-classes-base-input.mjs.map +1 -1
  67. package/fesm2022/ng-doc-ui-kit-classes-list-item.mjs.map +1 -1
  68. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs +2 -2
  69. package/fesm2022/ng-doc-ui-kit-components-blockquote.mjs.map +1 -1
  70. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs +2 -2
  71. package/fesm2022/ng-doc-ui-kit-components-checkbox.mjs.map +1 -1
  72. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs +2 -2
  73. package/fesm2022/ng-doc-ui-kit-components-clear-control.mjs.map +1 -1
  74. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs +6 -19
  75. package/fesm2022/ng-doc-ui-kit-components-combobox.mjs.map +1 -1
  76. package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs +2 -2
  77. package/fesm2022/ng-doc-ui-kit-components-data-list-group.mjs.map +1 -1
  78. package/fesm2022/ng-doc-ui-kit-components-data-list.mjs +2 -2
  79. package/fesm2022/ng-doc-ui-kit-components-data-list.mjs.map +1 -1
  80. package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs +3 -16
  81. package/fesm2022/ng-doc-ui-kit-components-dropdown.mjs.map +1 -1
  82. package/fesm2022/ng-doc-ui-kit-components-expander.mjs +2 -2
  83. package/fesm2022/ng-doc-ui-kit-components-expander.mjs.map +1 -1
  84. package/fesm2022/ng-doc-ui-kit-components-icon.mjs +4 -2
  85. package/fesm2022/ng-doc-ui-kit-components-icon.mjs.map +1 -1
  86. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs +2 -2
  87. package/fesm2022/ng-doc-ui-kit-components-input-wrapper.mjs.map +1 -1
  88. package/fesm2022/ng-doc-ui-kit-components-label.mjs +2 -2
  89. package/fesm2022/ng-doc-ui-kit-components-label.mjs.map +1 -1
  90. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs +2 -2
  91. package/fesm2022/ng-doc-ui-kit-components-overlay-container.mjs.map +1 -1
  92. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs +34 -10
  93. package/fesm2022/ng-doc-ui-kit-components-sidenav.mjs.map +1 -1
  94. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs +2 -2
  95. package/fesm2022/ng-doc-ui-kit-components-tab-group.mjs.map +1 -1
  96. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs +1 -1
  97. package/fesm2022/ng-doc-ui-kit-directives-media-query.mjs.map +1 -1
  98. package/fesm2022/ng-doc-ui-kit-directives-rotator.mjs.map +1 -1
  99. package/fesm2022/ng-doc-ui-kit-interceptors.mjs.map +1 -1
  100. package/fesm2022/ng-doc-ui-kit-observables.mjs.map +1 -1
  101. package/fesm2022/ng-doc-ui-kit-providers-ng-doc-ui-kit-config.mjs +33 -0
  102. package/fesm2022/ng-doc-ui-kit-providers-ng-doc-ui-kit-config.mjs.map +1 -0
  103. package/fesm2022/ng-doc-ui-kit-providers.mjs +6 -0
  104. package/fesm2022/ng-doc-ui-kit-providers.mjs.map +1 -0
  105. package/fesm2022/ng-doc-ui-kit-services-overlay.mjs +3 -17
  106. package/fesm2022/ng-doc-ui-kit-services-overlay.mjs.map +1 -1
  107. package/fesm2022/ng-doc-ui-kit-services-scroll.mjs.map +1 -1
  108. package/fesm2022/ng-doc-ui-kit-types.mjs.map +1 -1
  109. package/fesm2022/ng-doc-ui-kit-utils.mjs +7 -4
  110. package/fesm2022/ng-doc-ui-kit-utils.mjs.map +1 -1
  111. package/fesm2022/ng-doc-ui-kit.mjs +1 -1
  112. package/index.d.ts +1 -1
  113. package/package.json +14 -14
  114. package/providers/index.d.ts +1 -0
  115. package/providers/ng-doc-ui-kit-config/index.d.ts +1 -0
  116. package/providers/ng-doc-ui-kit-config/provide-ng-doc-ui-kit-config.d.ts +8 -0
  117. package/services/overlay/index.d.ts +0 -1
  118. package/services/scroll/scroll.service.d.ts +2 -2
  119. package/styles/main.css +17 -18
  120. package/components/combobox/combobox.module.d.ts +0 -10
  121. package/components/dropdown/dropdown.module.d.ts +0 -8
  122. package/esm2022/components/combobox/combobox.module.mjs +0 -20
  123. package/esm2022/components/dropdown/dropdown.module.mjs +0 -18
  124. package/esm2022/modules/index.mjs +0 -2
  125. package/esm2022/modules/ng-doc-ui-kit-modules.mjs +0 -5
  126. package/esm2022/modules/root/index.mjs +0 -2
  127. package/esm2022/modules/root/ng-doc-ui-kit-modules-root.mjs +0 -5
  128. package/esm2022/modules/root/root.module.mjs +0 -36
  129. package/esm2022/services/overlay/overlay.module.mjs +0 -18
  130. package/fesm2022/ng-doc-ui-kit-modules-root.mjs +0 -42
  131. package/fesm2022/ng-doc-ui-kit-modules-root.mjs.map +0 -1
  132. package/fesm2022/ng-doc-ui-kit-modules.mjs +0 -6
  133. package/fesm2022/ng-doc-ui-kit-modules.mjs.map +0 -1
  134. package/modules/index.d.ts +0 -1
  135. package/modules/root/index.d.ts +0 -1
  136. package/modules/root/root.module.d.ts +0 -9
  137. package/services/overlay/overlay.module.d.ts +0 -7
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-input-wrapper.mjs","sources":["../../../../libs/ui-kit/components/input-wrapper/input-wrapper.component.ts","../../../../libs/ui-kit/components/input-wrapper/input-wrapper.component.html","../../../../libs/ui-kit/components/input-wrapper/ng-doc-ui-kit-components-input-wrapper.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {\n\tAfterViewChecked,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tInput,\n\tOptional,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {NgDocInputHost} from '@ng-doc/ui-kit/classes/input-host';\nimport {NgDocFloatedBorderComponent} from '@ng-doc/ui-kit/components/floated-border';\nimport {NgDocFloatedContentComponent} from '@ng-doc/ui-kit/components/floated-content';\nimport {NgDocWrapperComponent} from '@ng-doc/ui-kit/components/wrapper';\nimport {ngDocMakePure} from '@ng-doc/ui-kit/decorators';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {NgDocContextWithImplicit} from '@ng-doc/ui-kit/interfaces';\nimport {NgDocContent, NgDocTextAlign} from '@ng-doc/ui-kit/types';\nimport {UntilDestroy} from '@ngneat/until-destroy';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {FL_CONTROL_HOST, FlControl, FlControlHost} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-input-wrapper',\n\ttemplateUrl: './input-wrapper.component.html',\n\tstyleUrls: ['./input-wrapper.component.scss'],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NgDocInputHost,\n\t\t\tuseExisting: NgDocInputWrapperComponent,\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocWrapperComponent,\n\t\tNgDocFocusCatcherDirective,\n\t\tNgDocFloatedBorderComponent,\n\t\tNgIf,\n\t\tPolymorpheusModule,\n\t\tNgDocFloatedContentComponent,\n\t],\n})\n@UntilDestroy()\nexport class NgDocInputWrapperComponent<T, B = unknown> implements AfterViewChecked, NgDocInputHost<T> {\n\t@Input()\n\tblurContent: NgDocContent<NgDocContextWithImplicit<B | null>> = '';\n\n\t@Input()\n\tblurContext: B | null = null;\n\n\t@Input()\n\tleftContent: NgDocContent = '';\n\n\t@Input()\n\trightContent: NgDocContent = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocTextAlign = 'left';\n\n\t@ContentChild(NgDocBaseInput)\n\tinput?: NgDocBaseInput<T>;\n\n\t@ContentChild(NgDocBaseInput)\n\tinputControl?: FlControl<T>;\n\n\t@ViewChild(NgDocFocusCatcherDirective, {static: true})\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\tconstructor(\n\t\tpublic elementRef: ElementRef<HTMLElement>,\n\t\tprotected changeDetectorRef: ChangeDetectorRef,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected controlHost?: FlControlHost<unknown>,\n\t) {}\n\n\tngAfterViewChecked(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\t@ngDocMakePure\n\tgetBlurContext($implicit: B | null): NgDocContextWithImplicit<B | null> {\n\t\treturn {$implicit};\n\t}\n\n\t@HostBinding('attr.data-ng-doc-input-disabled')\n\tget disabled(): boolean {\n\t\treturn !!this.inputControl?.disabled;\n\t}\n\n\tinputHasValue(): boolean {\n\t\treturn !!this.inputControl?.hasValue;\n\t}\n\n\tget blurContentIsVisible(): boolean {\n\t\treturn !!this.blurContent && (!this.input?.isFocused || this.input?.isReadonly);\n\t}\n\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\n\temptyEvent(): void {}\n}\n","<ng-doc-wrapper ngDocFocusCatcher>\n\t<ng-doc-floated-border>\n\t\t<div class=\"ng-doc-input-container\"\n\t\t\t (focusin)=\"emptyEvent()\"\n\t\t\t (focusout)=\"emptyEvent()\"\n\t\t\t [class.-input-hidden]=\"blurContentIsVisible\"\n\t\t\t #inputContainer>\n\t\t\t<ng-content></ng-content>\n\t\t\t<div class=\"ng-doc-blur-container ng-doc-input\" *ngIf=\"blurContentIsVisible\">\n\t\t\t\t<div class=\"ng-doc-blur-content\">\n\t\t\t\t\t<ng-container *polymorpheusOutlet=\"blurContent as text; context: getBlurContext(blurContext)\">\n\t\t\t\t\t\t{{text}}\n\t\t\t\t\t</ng-container>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tclass=\"ng-doc-floated-content\"\n\t\t\tng-doc-floated-content\n\t\t\t[bindTo]=\"inputContainer\"\n\t\t\tpropertyName=\"--ng-doc-input-padding-left\"\n\t\t\talignTo=\"left\"\n\t\t>\n\t\t\t<span class=\"ng-doc-content\" *ngIf=\"leftContent\">\n\t\t\t\t<ng-container *polymorpheusOutlet=\"leftContent as text\">{{text}}</ng-container>\n\t\t\t</span>\n\t\t</div>\n\t\t<div class=\"ng-doc-floated-content\"\n\t\t\t ng-doc-floated-content\n\t\t\t [bindTo]=\"inputContainer\"\n\t\t\t propertyName=\"--ng-doc-input-padding-right\"\n\t\t\t alignTo=\"right\">\n\t\t\t<span class=\"ng-doc-content\" *ngIf=\"rightContent\">\n\t\t\t\t<ng-container *polymorpheusOutlet=\"rightContent as text\">{{text}}</ng-container>\n\t\t\t</span>\n\t\t</div>\n\t</ng-doc-floated-border>\n</ng-doc-wrapper>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiDa,IAAA,0BAA0B,GAtBvC,4BAAA,GAAA,MAsBa,0BAA0B,CAAA;AA0BtC,IAAA,WAAA,CACQ,UAAmC,EAChC,iBAAoC,EAGpC,WAAoC,EAAA;QAJvC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAChC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QAGpC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QA7B/C,IAAW,CAAA,WAAA,GAAqD,EAAE,CAAC;QAGnE,IAAW,CAAA,WAAA,GAAa,IAAI,CAAC;QAG7B,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;QAG/B,IAAY,CAAA,YAAA,GAAiB,EAAE,CAAC;QAIhC,IAAK,CAAA,KAAA,GAAmB,MAAM,CAAC;KAiB3B;IAEJ,kBAAkB,GAAA;AACjB,QAAA,IAAI,CAAC,iBAAiB,CAAC,YAAY,EAAE,CAAC;KACtC;AAGD,IAAA,cAAc,CAAC,SAAmB,EAAA;QACjC,OAAO,EAAC,SAAS,EAAC,CAAC;KACnB;AAED,IAAA,IACI,QAAQ,GAAA;AACX,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC;KACrC;IAED,aAAa,GAAA;AACZ,QAAA,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ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AAO,EAAE,cAAc;AACvB,4BAAA,WAAW,EAA4B,0BAAA;AACvC,yBAAA;AACD,qBAAA,EAAA,eAAA,EACgB,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EACP,OAAA,EAAA;wBACR,qBAAqB;wBACrB,0BAA0B;wBAC1B,2BAA2B;wBAC3B,IAAI;wBACJ,kBAAkB;wBAClB,4BAA4B;AAC5B,qBAAA,EAAA,QAAA,EAAA,64CAAA,EAAA,MAAA,EAAA,CAAA,2rGAAA,CAAA,EAAA,CAAA;;0BAgCC,MAAM;2BAAC,eAAe,CAAA;;0BACtB,QAAQ;4CA5BV,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,YAAY,EAAA,CAAA;sBADX,KAAK;gBAKN,KAAK,EAAA,CAAA;sBAFJ,KAAK;;sBACL,WAAW;uBAAC,wBAAwB,CAAA;gBAIrC,KAAK,EAAA,CAAA;sBADJ,YAAY;uBAAC,cAAc,CAAA;gBAI5B,YAAY,EAAA,CAAA;sBADX,YAAY;uBAAC,cAAc,CAAA;gBAI5B,YAAY,EAAA,CAAA;sBADX,SAAS;AAAC,gBAAA,IAAA,EAAA,CAAA,0BAA0B,EAAE,EAAC,MAAM,EAAE,IAAI,EAAC,CAAA;AAgBrD,aAAA,CAAA,EAAA,cAAc,MAKV,QAAQ,EAAA,CAAA;sBADX,WAAW;uBAAC,iCAAiC,CAAA;;;AE5F/C;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-input-wrapper.mjs","sources":["../../../../libs/ui-kit/components/input-wrapper/input-wrapper.component.ts","../../../../libs/ui-kit/components/input-wrapper/input-wrapper.component.html","../../../../libs/ui-kit/components/input-wrapper/ng-doc-ui-kit-components-input-wrapper.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {\n\tAfterViewChecked,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChild,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tInput,\n\tOptional,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocBaseInput} from '@ng-doc/ui-kit/classes/base-input';\nimport {NgDocInputHost} from '@ng-doc/ui-kit/classes/input-host';\nimport {NgDocFloatedBorderComponent} from '@ng-doc/ui-kit/components/floated-border';\nimport {NgDocFloatedContentComponent} from '@ng-doc/ui-kit/components/floated-content';\nimport {NgDocWrapperComponent} from '@ng-doc/ui-kit/components/wrapper';\nimport {ngDocMakePure} from '@ng-doc/ui-kit/decorators';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {NgDocContextWithImplicit} from '@ng-doc/ui-kit/interfaces';\nimport {NgDocContent, NgDocTextAlign} from '@ng-doc/ui-kit/types';\nimport {UntilDestroy} from '@ngneat/until-destroy';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {FL_CONTROL_HOST, FlControl, FlControlHost} from 'flex-controls';\n\n@Component({\n\tselector: 'ng-doc-input-wrapper',\n\ttemplateUrl: './input-wrapper.component.html',\n\tstyleUrls: ['./input-wrapper.component.scss'],\n\tproviders: [\n\t\t{\n\t\t\tprovide: NgDocInputHost,\n\t\t\tuseExisting: NgDocInputWrapperComponent,\n\t\t},\n\t],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocWrapperComponent,\n\t\tNgDocFocusCatcherDirective,\n\t\tNgDocFloatedBorderComponent,\n\t\tNgIf,\n\t\tPolymorpheusModule,\n\t\tNgDocFloatedContentComponent,\n\t],\n})\n@UntilDestroy()\nexport class NgDocInputWrapperComponent<T, B = unknown> implements AfterViewChecked, NgDocInputHost<T> {\n\t@Input()\n\tblurContent: NgDocContent<NgDocContextWithImplicit<B | null>> = '';\n\n\t@Input()\n\tblurContext: B | null = null;\n\n\t@Input()\n\tleftContent: NgDocContent = '';\n\n\t@Input()\n\trightContent: NgDocContent = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocTextAlign = 'left';\n\n\t@ContentChild(NgDocBaseInput)\n\tinput?: NgDocBaseInput<T>;\n\n\t@ContentChild(NgDocBaseInput)\n\tinputControl?: FlControl<T>;\n\n\t@ViewChild(NgDocFocusCatcherDirective, {static: true})\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\tconstructor(\n\t\tpublic elementRef: ElementRef<HTMLElement>,\n\t\tprotected changeDetectorRef: ChangeDetectorRef,\n\t\t@Inject(FL_CONTROL_HOST)\n\t\t@Optional()\n\t\tprotected controlHost?: FlControlHost<unknown>,\n\t) {}\n\n\tngAfterViewChecked(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\t@ngDocMakePure\n\tgetBlurContext($implicit: B | null): NgDocContextWithImplicit<B | null> {\n\t\treturn {$implicit};\n\t}\n\n\t@HostBinding('attr.data-ng-doc-input-disabled')\n\tget disabled(): boolean {\n\t\treturn !!this.inputControl?.disabled;\n\t}\n\n\tinputHasValue(): boolean {\n\t\treturn !!this.inputControl?.hasValue;\n\t}\n\n\tget blurContentIsVisible(): boolean {\n\t\treturn !!this.blurContent && (!this.input?.isFocused || this.input?.isReadonly);\n\t}\n\n\t// eslint-disable-next-line @typescript-eslint/no-empty-function\n\temptyEvent(): void {}\n}\n","<ng-doc-wrapper ngDocFocusCatcher>\n\t<ng-doc-floated-border>\n\t\t<div\n\t\t\tclass=\"ng-doc-input-container\"\n\t\t\t(focusin)=\"emptyEvent()\"\n\t\t\t(focusout)=\"emptyEvent()\"\n\t\t\t[class.-input-hidden]=\"blurContentIsVisible\"\n\t\t\t#inputContainer>\n\t\t\t<ng-content></ng-content>\n\t\t\t<div class=\"ng-doc-blur-container ng-doc-input\" *ngIf=\"blurContentIsVisible\">\n\t\t\t\t<div class=\"ng-doc-blur-content\">\n\t\t\t\t\t<ng-container\n\t\t\t\t\t\t*polymorpheusOutlet=\"blurContent as text; context: getBlurContext(blurContext)\">\n\t\t\t\t\t\t{{ text }}\n\t\t\t\t\t</ng-container>\n\t\t\t\t</div>\n\t\t\t</div>\n\t\t</div>\n\t\t<div\n\t\t\tclass=\"ng-doc-floated-content\"\n\t\t\tng-doc-floated-content\n\t\t\t[bindTo]=\"inputContainer\"\n\t\t\tpropertyName=\"--ng-doc-input-padding-left\"\n\t\t\talignTo=\"left\">\n\t\t\t<span class=\"ng-doc-content\" *ngIf=\"leftContent\">\n\t\t\t\t<ng-container *polymorpheusOutlet=\"leftContent as text\">{{ text }}</ng-container>\n\t\t\t</span>\n\t\t</div>\n\t\t<div\n\t\t\tclass=\"ng-doc-floated-content\"\n\t\t\tng-doc-floated-content\n\t\t\t[bindTo]=\"inputContainer\"\n\t\t\tpropertyName=\"--ng-doc-input-padding-right\"\n\t\t\talignTo=\"right\">\n\t\t\t<span class=\"ng-doc-content\" *ngIf=\"rightContent\">\n\t\t\t\t<ng-container *polymorpheusOutlet=\"rightContent as text\">{{ text }}</ng-container>\n\t\t\t</span>\n\t\t</div>\n\t</ng-doc-floated-border>\n</ng-doc-wrapper>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;AAiDa,IAAA,0BAA0B,GAtBvC,4BAAA,GAAA,MAsBa,0BAA0B,CAAA;AA0BtC,IAAA,WAAA,CACQ,UAAmC,EAChC,iBAAoC,EAGpC,WAAoC,EAAA;QAJvC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAChC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QAGpC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAyB;QA7B/C,IAAW,CAAA,WAAA,GAAqD,EAAE,CAAC;QAGnE,IAAW,CAAA,WAAA,GAAa,IAAI,CAAC;QAG7B,IAAW,CAAA,WAAA,GAAiB,EAAE,CAAC;QAG/B,IAAY,CAAA,YAAA,GAAiB,EAAE,CAAC;QA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EAAC,CAAA;AAgBrD,aAAA,CAAA,EAAA,cAAc,MAKV,QAAQ,EAAA,CAAA;sBADX,WAAW;uBAAC,iCAAiC,CAAA;;;AE5F/C;;AAEG;;;;"}
@@ -10,11 +10,11 @@ class NgDocLabelComponent {
10
10
  this.align = 'left';
11
11
  }
12
12
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
13
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLabelComponent, isStandalone: true, selector: "label[ng-doc-label]", inputs: { label: ["ng-doc-label", "label"], align: "align" }, host: { properties: { "attr.data-ng-doc-align": "this.align" } }, ngImport: i0, template: "<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{text}}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}:host[data-ng-doc-align=right] .ng-doc-label{align-self:flex-end;text-align:end}.ng-doc-label{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;flex-direction:row;pointer-events:auto;margin-bottom:calc(var(--ng-doc-base-gutter) / 2)}.ng-doc-content{display:flex;flex-direction:column;align-items:flex-start;width:var(--ng-doc-label-content-width, 100%)}.ng-doc-content>*,.ng-doc-content ::ng-deep>*{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
13
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocLabelComponent, isStandalone: true, selector: "label[ng-doc-label]", inputs: { label: ["ng-doc-label", "label"], align: "align" }, host: { properties: { "attr.data-ng-doc-align": "this.align" } }, ngImport: i0, template: "<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{ text }}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}:host[data-ng-doc-align=right] .ng-doc-label{align-self:flex-end;text-align:end}.ng-doc-label{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;flex-direction:row;pointer-events:auto;margin-bottom:calc(var(--ng-doc-base-gutter) / 2)}.ng-doc-content{display:flex;flex-direction:column;align-items:flex-start;width:var(--ng-doc-label-content-width, 100%)}.ng-doc-content>*,.ng-doc-content ::ng-deep>*{pointer-events:auto}\n"], dependencies: [{ kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
14
14
  }
15
15
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocLabelComponent, decorators: [{
16
16
  type: Component,
17
- args: [{ selector: 'label[ng-doc-label]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, PolymorpheusModule], template: "<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{text}}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}:host[data-ng-doc-align=right] .ng-doc-label{align-self:flex-end;text-align:end}.ng-doc-label{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;flex-direction:row;pointer-events:auto;margin-bottom:calc(var(--ng-doc-base-gutter) / 2)}.ng-doc-content{display:flex;flex-direction:column;align-items:flex-start;width:var(--ng-doc-label-content-width, 100%)}.ng-doc-content>*,.ng-doc-content ::ng-deep>*{pointer-events:auto}\n"] }]
17
+ args: [{ selector: 'label[ng-doc-label]', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [NgIf, PolymorpheusModule], template: "<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{ text }}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n", styles: [":host{display:flex;flex-direction:column;align-items:flex-start;pointer-events:none}:host[data-ng-doc-align=right] .ng-doc-label{align-self:flex-end;text-align:end}.ng-doc-label{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);display:flex;flex-direction:row;pointer-events:auto;margin-bottom:calc(var(--ng-doc-base-gutter) / 2)}.ng-doc-content{display:flex;flex-direction:column;align-items:flex-start;width:var(--ng-doc-label-content-width, 100%)}.ng-doc-content>*,.ng-doc-content ::ng-deep>*{pointer-events:auto}\n"] }]
18
18
  }], propDecorators: { label: [{
19
19
  type: Input,
20
20
  args: ['ng-doc-label']
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-label.mjs","sources":["../../../../libs/ui-kit/components/label/label.component.ts","../../../../libs/ui-kit/components/label/label.component.html","../../../../libs/ui-kit/components/label/ng-doc-ui-kit-components-label.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocContent, NgDocHorizontalAlign} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'label[ng-doc-label]',\n\ttemplateUrl: './label.component.html',\n\tstyleUrls: ['./label.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgIf, PolymorpheusModule],\n})\nexport class NgDocLabelComponent {\n\t@Input('ng-doc-label')\n\tlabel: NgDocContent = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocHorizontalAlign = 'left';\n}\n","<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{text}}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA,MAQa,mBAAmB,CAAA;AARhC,IAAA,WAAA,GAAA;QAUC,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;QAIzB,IAAK,CAAA,KAAA,GAAyB,MAAM,CAAC;AACrC,KAAA;8GAPY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,ECbhC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,cAAA,EAAA,OAAA,CAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,wBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,gNAMA,EDKW,MAAA,EAAA,CAAA,8pBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,4FAAE,kBAAkB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAEtB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;+BACC,qBAAqB,EAAA,eAAA,EAGd,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,OAAA,EACP,CAAC,IAAI,EAAE,kBAAkB,CAAC,EAAA,QAAA,EAAA,gNAAA,EAAA,MAAA,EAAA,CAAA,8pBAAA,CAAA,EAAA,CAAA;8BAInC,KAAK,EAAA,CAAA;sBADJ,KAAK;uBAAC,cAAc,CAAA;gBAKrB,KAAK,EAAA,CAAA;sBAFJ,KAAK;;sBACL,WAAW;uBAAC,wBAAwB,CAAA;;;AElBtC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-label.mjs","sources":["../../../../libs/ui-kit/components/label/label.component.ts","../../../../libs/ui-kit/components/label/label.component.html","../../../../libs/ui-kit/components/label/ng-doc-ui-kit-components-label.ts"],"sourcesContent":["import {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, HostBinding, Input} from '@angular/core';\nimport {NgDocContent, NgDocHorizontalAlign} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tselector: 'label[ng-doc-label]',\n\ttemplateUrl: './label.component.html',\n\tstyleUrls: ['./label.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [NgIf, PolymorpheusModule],\n})\nexport class NgDocLabelComponent {\n\t@Input('ng-doc-label')\n\tlabel: NgDocContent = '';\n\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocHorizontalAlign = 'left';\n}\n","<span class=\"ng-doc-label\" *ngIf=\"label\">\n\t<ng-container *polymorpheusOutlet=\"label as text\">{{ text }}</ng-container>\n</span>\n<span class=\"ng-doc-content\">\n\t<ng-content></ng-content>\n</span>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;AAKA,MAQa,mBAAmB,CAAA;AARhC,IAAA,WAAA,GAAA;QAUC,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;QAIzB,IAAK,CAAA,KAAA,GAAyB,MAAM,CAAC;AACrC,KAAA;8GAPY,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAnB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,ECbhC,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,qBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,cAAA,EAAA,OAAA,CAAA,EAAA,KAAA,EAAA,OAAA,EAAA,EAAA,IAAA,EAAA,EAAA,UAAA,EAAA,EAAA,wBAAA,EAAA,YAAA,EAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,QAAA,EAAA,kNAMA,EDKW,MAAA,EAAA,CAAA,8pBAAA,CAAA,EAAA,YAAA,EAAA,CAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,IAAI,4FAAE,kBAAkB,EAAA,EAAA,EAAA,IAAA,EAAA,WAAA,EAAA,IAAA,EAAA,EAAA,CAAA,2BAAA,EAAA,QAAA,EAAA,sBAAA,EAAA,MAAA,EAAA,CAAA,oBAAA,EAAA,2BAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAEtB,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;+BACC,qBAAqB,EAAA,eAAA,EAGd,uBAAuB,CAAC,MAAM,EAAA,UAAA,EACnC,IAAI,EAAA,OAAA,EACP,CAAC,IAAI,EAAE,kBAAkB,CAAC,EAAA,QAAA,EAAA,kNAAA,EAAA,MAAA,EAAA,CAAA,8pBAAA,CAAA,EAAA,CAAA;8BAInC,KAAK,EAAA,CAAA;sBADJ,KAAK;uBAAC,cAAc,CAAA;gBAKrB,KAAK,EAAA,CAAA;sBAFJ,KAAK;;sBACL,WAAW;uBAAC,wBAAwB,CAAA;;;AElBtC;;AAEG;;;;"}
@@ -80,7 +80,7 @@ class NgDocOverlayContainerComponent {
80
80
  }
81
81
  }
82
82
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerComponent, deps: [{ token: i0.ElementRef }, { token: DOCUMENT }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i1.AnimationBuilder }], target: i0.ɵɵFactoryTarget.Component }); }
83
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayContainerComponent, isStandalone: true, selector: "ng-doc-overlay-container", host: { properties: { "attr.data-ng-doc-overlay-position": "this.relativePosition", "attr.data-ng-doc-overlay-with-contact-border": "this.contactBorder" } }, viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "focusCatcher", first: true, predicate: NgDocFocusCatcherDirective, descendants: true }, { propertyName: "outlet", first: true, predicate: PolymorpheusOutletDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"], dependencies: [{ kind: "component", type: NgDocOverlayPointerComponent, selector: "ng-doc-overlay-pointer", inputs: ["overlayPosition", "overlayAlign", "withPointer"] }, { kind: "directive", type: NgDocEventSwitcherDirective, selector: "[ngDocEventSwitcher]", inputs: ["ngDocEventSwitcher", "events"] }, { kind: "component", type: NgDocFocusControlComponent, selector: "ng-doc-focus-control", inputs: ["focusHost"] }, { kind: "directive", type: NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: ["focusEvent", "blurEvent"], exportAs: ["ngDocFocusCatcher"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
83
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocOverlayContainerComponent, isStandalone: true, selector: "ng-doc-overlay-container", host: { properties: { "attr.data-ng-doc-overlay-position": "this.relativePosition", "attr.data-ng-doc-overlay-with-contact-border": "this.contactBorder" } }, viewQueries: [{ propertyName: "contentContainer", first: true, predicate: ["contentContainer"], descendants: true, read: ElementRef, static: true }, { propertyName: "focusCatcher", first: true, predicate: NgDocFocusCatcherDirective, descendants: true }, { propertyName: "outlet", first: true, predicate: PolymorpheusOutletDirective, descendants: true, static: true }], ngImport: i0, template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\">\n\t<ng-doc-focus-control\n\t\t[focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t\tngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"], dependencies: [{ kind: "component", type: NgDocOverlayPointerComponent, selector: "ng-doc-overlay-pointer", inputs: ["overlayPosition", "overlayAlign", "withPointer"] }, { kind: "directive", type: NgDocEventSwitcherDirective, selector: "[ngDocEventSwitcher]", inputs: ["ngDocEventSwitcher", "events"] }, { kind: "component", type: NgDocFocusControlComponent, selector: "ng-doc-focus-control", inputs: ["focusHost"] }, { kind: "directive", type: NgDocFocusCatcherDirective, selector: "[ngDocFocusCatcher]", outputs: ["focusEvent", "blurEvent"], exportAs: ["ngDocFocusCatcher"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i2.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
84
84
  }
85
85
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocOverlayContainerComponent, decorators: [{
86
86
  type: Component,
@@ -90,7 +90,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
90
90
  NgDocFocusControlComponent,
91
91
  NgDocFocusCatcherDirective,
92
92
  PolymorpheusModule,
93
- ], template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"] }]
93
+ ], template: "<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\">\n\t<ng-doc-focus-control\n\t\t[focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t\tngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n", styles: [":host{display:block;height:auto;width:100%}.ng-doc-overlay-content{width:100%;height:100%;background-color:var(--ng-doc-overlay-background);border:1px solid var(--ng-doc-overlay-border);border-radius:var(--ng-doc-overlay-border-radius);box-shadow:var(--ng-doc-overlay-shadow);overflow:auto}:host[data-ng-doc-overlay-position=top]{transform-origin:bottom}:host[data-ng-doc-overlay-position=top][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-bottom:none}:host[data-ng-doc-overlay-position=bottom]{transform-origin:top}:host[data-ng-doc-overlay-position=bottom][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-top:none}:host[data-ng-doc-overlay-position=left]{transform-origin:right}:host[data-ng-doc-overlay-position=left][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-right:none}:host[data-ng-doc-overlay-position=right]{transform-origin:left}:host[data-ng-doc-overlay-position=right][data-ng-doc-overlay-with-contact-border=false] .ng-doc-overlay-content{border-left:none}\n"] }]
94
94
  }], ctorParameters: function () { return [{ type: i0.ElementRef }, { type: Document, decorators: [{
95
95
  type: Inject,
96
96
  args: [DOCUMENT]
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-overlay-container.mjs","sources":["../../../../libs/ui-kit/components/overlay-container/overlay-container.component.ts","../../../../libs/ui-kit/components/overlay-container/overlay-container.component.html","../../../../libs/ui-kit/components/overlay-container/ng-doc-ui-kit-components-overlay-container.ts"],"sourcesContent":["import {AnimationBuilder, AnimationMetadata, AnimationPlayer} from '@angular/animations';\nimport {ConnectedOverlayPositionChange, FlexibleConnectedPositionStrategy} from '@angular/cdk/overlay';\nimport {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tNgZone,\n\tOnDestroy,\n\tOnInit,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocFocusControlComponent} from '@ng-doc/ui-kit/components/focus-control';\nimport {NgDocOverlayPointerComponent} from '@ng-doc/ui-kit/components/overlay-pointer';\nimport {NgDocEventSwitcherDirective} from '@ng-doc/ui-kit/directives/event-switcher';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NgDocOverlayConfig, NgDocOverlayContainer} from '@ng-doc/ui-kit/interfaces';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {\n\tNgDocContent,\n\tNgDocHorizontalAlign,\n\tNgDocOverlayAnimationEvent,\n\tNgDocOverlayPosition,\n\tNgDocOverlayRelativePosition,\n\tNgDocVerticalAlign,\n} from '@ng-doc/ui-kit/types';\nimport {NgDocFocusUtils, NgDocOverlayUtils} from '@ng-doc/ui-kit/utils';\nimport {PolymorpheusModule, PolymorpheusOutletDirective} from '@tinkoff/ng-polymorpheus';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n\tselector: 'ng-doc-overlay-container',\n\ttemplateUrl: './overlay-container.component.html',\n\tstyleUrls: ['./overlay-container.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocOverlayPointerComponent,\n\t\tNgDocEventSwitcherDirective,\n\t\tNgDocFocusControlComponent,\n\t\tNgDocFocusCatcherDirective,\n\t\tPolymorpheusModule,\n\t],\n})\nexport class NgDocOverlayContainerComponent implements NgDocOverlayContainer, OnInit, OnDestroy {\n\t@ViewChild('contentContainer', {read: ElementRef, static: true})\n\tcontentContainer?: ElementRef<HTMLElement>;\n\n\t@ViewChild(NgDocFocusCatcherDirective)\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\t@ViewChild(PolymorpheusOutletDirective, {static: true})\n\toutlet?: PolymorpheusOutletDirective<object>;\n\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\trelativePosition: NgDocOverlayRelativePosition | null = null;\n\n\tconfig?: NgDocOverlayConfig;\n\tcontent: NgDocContent = '';\n\n\tprivate currentPosition?: NgDocOverlayPosition;\n\tprivate animationEvent$: Subject<NgDocOverlayAnimationEvent> = new Subject<NgDocOverlayAnimationEvent>();\n\tprivate isOpened: boolean = true;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\t@Inject(DOCUMENT) private documentRef: Document,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t\tprivate ngZone: NgZone,\n\t\tprivate animationBuilder: AnimationBuilder,\n\t) {}\n\n\tngOnInit(): void {\n\t\tthis.runAnimation(this.config?.openAnimation || []);\n\t\tif (this.config?.positionStrategy instanceof FlexibleConnectedPositionStrategy) {\n\t\t\tthis.config.positionStrategy.positionChanges\n\t\t\t\t.pipe(\n\t\t\t\t\tdistinctUntilChanged(\n\t\t\t\t\t\t(a: ConnectedOverlayPositionChange, b: ConnectedOverlayPositionChange) =>\n\t\t\t\t\t\t\ta.connectionPair === b.connectionPair,\n\t\t\t\t\t),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t)\n\t\t\t\t.subscribe((change: ConnectedOverlayPositionChange) => {\n\t\t\t\t\tthis.currentPosition = NgDocOverlayUtils.getOverlayPosition(change.connectionPair);\n\t\t\t\t\tthis.relativePosition = NgDocOverlayUtils.getRelativePosition(this.currentPosition);\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t});\n\t\t}\n\t}\n\n\t@HostBinding('attr.data-ng-doc-overlay-with-contact-border')\n\tget contactBorder(): boolean {\n\t\treturn !!this.config?.contactBorder;\n\t}\n\n\tget isFocused(): boolean {\n\t\treturn !!this.focusCatcher?.focused;\n\t}\n\n\tget animationEvent(): Observable<NgDocOverlayAnimationEvent> {\n\t\treturn this.animationEvent$.asObservable();\n\t}\n\n\tget overlayAlign(): NgDocHorizontalAlign | NgDocVerticalAlign | null {\n\t\treturn this.currentPosition\n\t\t\t? NgDocOverlayUtils.getPositionAlign(NgDocOverlayUtils.toConnectedPosition(this.currentPosition))\n\t\t\t: null;\n\t}\n\n\tclose(): void {\n\t\tif (this.isOpened) {\n\t\t\tthis.runAnimation(this.config?.closeAnimation || [], true);\n\t\t\tthis.isOpened = false;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tfocus(): void {\n\t\tif (this.contentContainer) {\n\t\t\tNgDocFocusUtils.focusClosestElement(toElement(this.contentContainer), toElement(this.contentContainer));\n\t\t}\n\t}\n\n\tmarkForCheck(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tprivate runAnimation(animation: AnimationMetadata[], close: boolean = false): void {\n\t\tconst player: AnimationPlayer = this.animationBuilder.build(animation).create(this.elementRef.nativeElement);\n\t\tplayer.onStart(() => this.animationEvent$.next(close ? 'beforeClose' : 'beforeOpen'));\n\t\tplayer.onDone(() => this.animationEvent$.next(close ? 'afterClose' : 'afterOpen'));\n\t\tplayer.play();\n\t}\n\n\tngOnDestroy(): void {\n\t\tif (this.isFocused && this.config && this.config.viewContainerRef) {\n\t\t\tNgDocFocusUtils.focusClosestElement(\n\t\t\t\tthis.config.viewContainerRef.element.nativeElement,\n\t\t\t\tthis.documentRef.body,\n\t\t\t\tfalse,\n\t\t\t);\n\t\t}\n\t}\n}\n","<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\"\n>\n\t<ng-doc-focus-control [focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\" ngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text;\"\n\t\t\t>{{text}}</ng-container\n\t\t\t>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAmCA,MAca,8BAA8B,CAAA;IAoB1C,WACS,CAAA,UAAmC,EACjB,WAAqB,EACvC,iBAAoC,EACpC,MAAc,EACd,gBAAkC,EAAA;QAJlC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAU;QACvC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QACpC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAd3C,IAAgB,CAAA,gBAAA,GAAwC,IAAI,CAAC;QAG7D,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,eAAe,GAAwC,IAAI,OAAO,EAA8B,CAAC;QACjG,IAAQ,CAAA,QAAA,GAAY,IAAI,CAAC;KAQ7B;IAEJ,QAAQ,GAAA;QACP,IAAI,CAAC,YAAY,CAAC,IAAI,CA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["../../../../libs/ui-kit/components/overlay-container/overlay-container.component.ts","../../../../libs/ui-kit/components/overlay-container/overlay-container.component.html","../../../../libs/ui-kit/components/overlay-container/ng-doc-ui-kit-components-overlay-container.ts"],"sourcesContent":["import {AnimationBuilder, AnimationMetadata, AnimationPlayer} from '@angular/animations';\nimport {ConnectedOverlayPositionChange, FlexibleConnectedPositionStrategy} from '@angular/cdk/overlay';\nimport {DOCUMENT} from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tElementRef,\n\tHostBinding,\n\tInject,\n\tNgZone,\n\tOnDestroy,\n\tOnInit,\n\tViewChild,\n} from '@angular/core';\nimport {NgDocFocusControlComponent} from '@ng-doc/ui-kit/components/focus-control';\nimport {NgDocOverlayPointerComponent} from '@ng-doc/ui-kit/components/overlay-pointer';\nimport {NgDocEventSwitcherDirective} from '@ng-doc/ui-kit/directives/event-switcher';\nimport {NgDocFocusCatcherDirective} from '@ng-doc/ui-kit/directives/focus-catcher';\nimport {toElement} from '@ng-doc/ui-kit/helpers';\nimport {NgDocOverlayConfig, NgDocOverlayContainer} from '@ng-doc/ui-kit/interfaces';\nimport {ngDocZoneOptimize} from '@ng-doc/ui-kit/observables';\nimport {\n\tNgDocContent,\n\tNgDocHorizontalAlign,\n\tNgDocOverlayAnimationEvent,\n\tNgDocOverlayPosition,\n\tNgDocOverlayRelativePosition,\n\tNgDocVerticalAlign,\n} from '@ng-doc/ui-kit/types';\nimport {NgDocFocusUtils, NgDocOverlayUtils} from '@ng-doc/ui-kit/utils';\nimport {PolymorpheusModule, PolymorpheusOutletDirective} from '@tinkoff/ng-polymorpheus';\nimport {Observable, Subject} from 'rxjs';\nimport {distinctUntilChanged} from 'rxjs/operators';\n\n@Component({\n\tselector: 'ng-doc-overlay-container',\n\ttemplateUrl: './overlay-container.component.html',\n\tstyleUrls: ['./overlay-container.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocOverlayPointerComponent,\n\t\tNgDocEventSwitcherDirective,\n\t\tNgDocFocusControlComponent,\n\t\tNgDocFocusCatcherDirective,\n\t\tPolymorpheusModule,\n\t],\n})\nexport class NgDocOverlayContainerComponent implements NgDocOverlayContainer, OnInit, OnDestroy {\n\t@ViewChild('contentContainer', {read: ElementRef, static: true})\n\tcontentContainer?: ElementRef<HTMLElement>;\n\n\t@ViewChild(NgDocFocusCatcherDirective)\n\tfocusCatcher?: NgDocFocusCatcherDirective;\n\n\t@ViewChild(PolymorpheusOutletDirective, {static: true})\n\toutlet?: PolymorpheusOutletDirective<object>;\n\n\t@HostBinding('attr.data-ng-doc-overlay-position')\n\trelativePosition: NgDocOverlayRelativePosition | null = null;\n\n\tconfig?: NgDocOverlayConfig;\n\tcontent: NgDocContent = '';\n\n\tprivate currentPosition?: NgDocOverlayPosition;\n\tprivate animationEvent$: Subject<NgDocOverlayAnimationEvent> = new Subject<NgDocOverlayAnimationEvent>();\n\tprivate isOpened: boolean = true;\n\n\tconstructor(\n\t\tprivate elementRef: ElementRef<HTMLElement>,\n\t\t@Inject(DOCUMENT) private documentRef: Document,\n\t\tprivate changeDetectorRef: ChangeDetectorRef,\n\t\tprivate ngZone: NgZone,\n\t\tprivate animationBuilder: AnimationBuilder,\n\t) {}\n\n\tngOnInit(): void {\n\t\tthis.runAnimation(this.config?.openAnimation || []);\n\t\tif (this.config?.positionStrategy instanceof FlexibleConnectedPositionStrategy) {\n\t\t\tthis.config.positionStrategy.positionChanges\n\t\t\t\t.pipe(\n\t\t\t\t\tdistinctUntilChanged(\n\t\t\t\t\t\t(a: ConnectedOverlayPositionChange, b: ConnectedOverlayPositionChange) =>\n\t\t\t\t\t\t\ta.connectionPair === b.connectionPair,\n\t\t\t\t\t),\n\t\t\t\t\tngDocZoneOptimize(this.ngZone),\n\t\t\t\t)\n\t\t\t\t.subscribe((change: ConnectedOverlayPositionChange) => {\n\t\t\t\t\tthis.currentPosition = NgDocOverlayUtils.getOverlayPosition(change.connectionPair);\n\t\t\t\t\tthis.relativePosition = NgDocOverlayUtils.getRelativePosition(this.currentPosition);\n\t\t\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t\t\t});\n\t\t}\n\t}\n\n\t@HostBinding('attr.data-ng-doc-overlay-with-contact-border')\n\tget contactBorder(): boolean {\n\t\treturn !!this.config?.contactBorder;\n\t}\n\n\tget isFocused(): boolean {\n\t\treturn !!this.focusCatcher?.focused;\n\t}\n\n\tget animationEvent(): Observable<NgDocOverlayAnimationEvent> {\n\t\treturn this.animationEvent$.asObservable();\n\t}\n\n\tget overlayAlign(): NgDocHorizontalAlign | NgDocVerticalAlign | null {\n\t\treturn this.currentPosition\n\t\t\t? NgDocOverlayUtils.getPositionAlign(NgDocOverlayUtils.toConnectedPosition(this.currentPosition))\n\t\t\t: null;\n\t}\n\n\tclose(): void {\n\t\tif (this.isOpened) {\n\t\t\tthis.runAnimation(this.config?.closeAnimation || [], true);\n\t\t\tthis.isOpened = false;\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t}\n\t}\n\n\tfocus(): void {\n\t\tif (this.contentContainer) {\n\t\t\tNgDocFocusUtils.focusClosestElement(toElement(this.contentContainer), toElement(this.contentContainer));\n\t\t}\n\t}\n\n\tmarkForCheck(): void {\n\t\tthis.changeDetectorRef.markForCheck();\n\t}\n\n\tprivate runAnimation(animation: AnimationMetadata[], close: boolean = false): void {\n\t\tconst player: AnimationPlayer = this.animationBuilder.build(animation).create(this.elementRef.nativeElement);\n\t\tplayer.onStart(() => this.animationEvent$.next(close ? 'beforeClose' : 'beforeOpen'));\n\t\tplayer.onDone(() => this.animationEvent$.next(close ? 'afterClose' : 'afterOpen'));\n\t\tplayer.play();\n\t}\n\n\tngOnDestroy(): void {\n\t\tif (this.isFocused && this.config && this.config.viewContainerRef) {\n\t\t\tNgDocFocusUtils.focusClosestElement(\n\t\t\t\tthis.config.viewContainerRef.element.nativeElement,\n\t\t\t\tthis.documentRef.body,\n\t\t\t\tfalse,\n\t\t\t);\n\t\t}\n\t}\n}\n","<ng-doc-overlay-pointer\n\t[overlayPosition]=\"relativePosition\"\n\t[overlayAlign]=\"overlayAlign\"\n\t[withPointer]=\"!!config?.withPointer\"\n\t[ngDocEventSwitcher]=\"config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t[events]=\"['focusin', 'focusout', 'keydown', 'scroll']\">\n\t<ng-doc-focus-control\n\t\t[focusHost]=\"this.config?.viewContainerRef?.element?.nativeElement ?? null\"\n\t\tngDocFocusCatcher>\n\t\t<div class=\"ng-doc-overlay-content\" [tabIndex]=\"-1\" #contentContainer>\n\t\t\t<ng-container *polymorpheusOutlet=\"content as text\">{{ text }}</ng-container>\n\t\t</div>\n\t</ng-doc-focus-control>\n</ng-doc-overlay-pointer>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAmCA,MAca,8BAA8B,CAAA;IAoB1C,WACS,CAAA,UAAmC,EACjB,WAAqB,EACvC,iBAAoC,EACpC,MAAc,EACd,gBAAkC,EAAA;QAJlC,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACjB,IAAW,CAAA,WAAA,GAAX,WAAW,CAAU;QACvC,IAAiB,CAAA,iBAAA,GAAjB,iBAAiB,CAAmB;QACpC,IAAM,CAAA,MAAA,GAAN,MAAM,CAAQ;QACd,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAd3C,IAAgB,CAAA,gBAAA,GAAwC,IAAI,CAAC;QAG7D,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;AAGnB,QAAA,IAAA,CAAA,eAAe,GAAwC,IAAI,OAAO,EAA8B,CAAC;QACjG,IAAQ,CAAA,QAAA,GAAY,IAAI,CAAC;KAQ7B;IAEJ,QAAQ,GAAA;QACP,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,MAAM,EAAE,aAAa,IAAI,EAAE,CAAC,CAAC;AACpD,QAAA,IAAI,IA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ngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocSidenavComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocSidenavComponent, isStandalone: true, selector: "ng-doc-sidenav", inputs: { sidebar: "sidebar", align: "align", over: "over", opened: "opened", hasBackdrop: "hasBackdrop" }, outputs: { openedChange: "openedChange", closeEvent: "closeEvent", beforeOpen: "beforeOpen", beforeClose: "beforeClose", afterOpen: "afterOpen", afterClose: "afterClose" }, host: { properties: { "attr.data-ng-doc-align": "this.align", "attr.data-ng-doc-over": "this.over", "attr.data-ng-doc-opened": "this.opened" } }, ngImport: i0, template: "<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\"\n\t>\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{width:100%}:host[data-ng-doc-align=right] .ng-doc-sidenav-wrapper{flex-direction:row-reverse}:host[data-ng-doc-over=true] .ng-doc-sidenav-content{min-width:100%}:host[data-ng-doc-over=true][data-ng-doc-align=left] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) -5px 5px 20px -5px}:host[data-ng-doc-over=true][data-ng-doc-align=right] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) 0px 5px 20px -5px}:host .ng-doc-sidenav-wrapper{position:relative;display:flex;width:100%}:host .ng-doc-sidenav{position:fixed;top:var(--ng-doc-sidenav-top, 0);width:var(--ng-doc-sidenav-width);flex-shrink:0;z-index:5;transition:box-shadow var(--ng-doc-transition)}:host .ng-doc-sidenav-content{width:100%;padding:var(--ng-doc-sidenav-content-padding)}:host .ng-doc-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1}:host .ng-doc-backdrop:not(nothing){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}:host .ng-doc-backdrop:not(nothing):before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0003;opacity:.4}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){:host .ng-doc-backdrop{background-color:#0003}}:host .ng-doc-backdropnothing{background-color:#0003}\n"], dependencies: [{ kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
49
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocSidenavComponent, isStandalone: true, selector: "ng-doc-sidenav", inputs: { sidebar: "sidebar", align: "align", over: "over", opened: "opened", hasBackdrop: "hasBackdrop" }, outputs: { openedChange: "openedChange", closeEvent: "closeEvent", beforeOpen: "beforeOpen", beforeClose: "beforeClose", afterOpen: "afterOpen", afterClose: "afterClose" }, host: { properties: { "attr.data-ng-doc-align": "this.align", "attr.data-ng-doc-over": "this.over", "attr.data-ng-doc-opened": "this.opened" } }, ngImport: i0, template: "<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\">\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{width:100%}:host[data-ng-doc-align=right] .ng-doc-sidenav-wrapper{flex-direction:row-reverse}:host[data-ng-doc-over=true] .ng-doc-sidenav-content{min-width:100%}:host[data-ng-doc-over=true][data-ng-doc-align=left] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) -5px 5px 20px -5px}:host[data-ng-doc-over=true][data-ng-doc-align=right] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) 0px 5px 20px -5px}:host .ng-doc-sidenav-wrapper{position:relative;display:flex;width:100%}:host .ng-doc-sidenav{position:fixed;top:var(--ng-doc-sidenav-top, 0);width:var(--ng-doc-sidenav-width);flex-shrink:0;z-index:5;transition:box-shadow var(--ng-doc-transition)}:host .ng-doc-sidenav-content{width:100%;padding:var(--ng-doc-sidenav-content-padding)}:host .ng-doc-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1}:host .ng-doc-backdrop:not(nothing){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}:host .ng-doc-backdrop:not(nothing):before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0003;opacity:.4}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){:host .ng-doc-backdrop{background-color:#0003}}:host .ng-doc-backdropnothing{background-color:#0003}\n"], dependencies: [{ kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "directive", type: NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }], animations: [
50
50
  trigger('sidenavAnimation', [
51
51
  state('false', style({ display: 'none' })),
52
52
  transition('left => false', [
53
53
  style({ transform: 'translateX(0)', opacity: 1 }),
54
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(-100%)', opacity: 0 })),
54
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
55
+ transform: 'translateX(-100%)',
56
+ opacity: 0,
57
+ })),
55
58
  ]),
56
59
  transition('false => left', [
57
60
  style({ transform: 'translateX(-100%)', opacity: 0, display: 'block' }),
58
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(0)', opacity: 1 })),
61
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
62
+ transform: 'translateX(0)',
63
+ opacity: 1,
64
+ })),
59
65
  ]),
60
66
  transition('right => false', [
61
67
  style({ transform: 'translateX(0)', opacity: 1 }),
62
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(100%)', opacity: 0 })),
68
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
69
+ transform: 'translateX(100%)',
70
+ opacity: 0,
71
+ })),
63
72
  ]),
64
73
  transition('false => right', [
65
74
  style({ transform: 'translateX(100%)', opacity: 0, display: 'block' }),
66
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(0)', opacity: 1 })),
75
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
76
+ transform: 'translateX(0)',
77
+ opacity: 1,
78
+ })),
67
79
  ]),
68
80
  ]),
69
81
  trigger('sidenavContentAnimation', [
@@ -90,19 +102,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
90
102
  state('false', style({ display: 'none' })),
91
103
  transition('left => false', [
92
104
  style({ transform: 'translateX(0)', opacity: 1 }),
93
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(-100%)', opacity: 0 })),
105
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
106
+ transform: 'translateX(-100%)',
107
+ opacity: 0,
108
+ })),
94
109
  ]),
95
110
  transition('false => left', [
96
111
  style({ transform: 'translateX(-100%)', opacity: 0, display: 'block' }),
97
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(0)', opacity: 1 })),
112
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
113
+ transform: 'translateX(0)',
114
+ opacity: 1,
115
+ })),
98
116
  ]),
99
117
  transition('right => false', [
100
118
  style({ transform: 'translateX(0)', opacity: 1 }),
101
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(100%)', opacity: 0 })),
119
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
120
+ transform: 'translateX(100%)',
121
+ opacity: 0,
122
+ })),
102
123
  ]),
103
124
  transition('false => right', [
104
125
  style({ transform: 'translateX(100%)', opacity: 0, display: 'block' }),
105
- animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ transform: 'translateX(0)', opacity: 1 })),
126
+ animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({
127
+ transform: 'translateX(0)',
128
+ opacity: 1,
129
+ })),
106
130
  ]),
107
131
  ]),
108
132
  trigger('sidenavContentAnimation', [
@@ -120,7 +144,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
120
144
  animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ opacity: 1 })),
121
145
  ]),
122
146
  ]),
123
- ], selector: 'ng-doc-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [PolymorpheusModule, NgIf], template: "<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\"\n\t>\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{width:100%}:host[data-ng-doc-align=right] .ng-doc-sidenav-wrapper{flex-direction:row-reverse}:host[data-ng-doc-over=true] .ng-doc-sidenav-content{min-width:100%}:host[data-ng-doc-over=true][data-ng-doc-align=left] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) -5px 5px 20px -5px}:host[data-ng-doc-over=true][data-ng-doc-align=right] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) 0px 5px 20px -5px}:host .ng-doc-sidenav-wrapper{position:relative;display:flex;width:100%}:host .ng-doc-sidenav{position:fixed;top:var(--ng-doc-sidenav-top, 0);width:var(--ng-doc-sidenav-width);flex-shrink:0;z-index:5;transition:box-shadow var(--ng-doc-transition)}:host .ng-doc-sidenav-content{width:100%;padding:var(--ng-doc-sidenav-content-padding)}:host .ng-doc-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1}:host .ng-doc-backdrop:not(nothing){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}:host .ng-doc-backdrop:not(nothing):before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0003;opacity:.4}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){:host .ng-doc-backdrop{background-color:#0003}}:host .ng-doc-backdropnothing{background-color:#0003}\n"] }]
147
+ ], selector: 'ng-doc-sidenav', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, imports: [PolymorpheusModule, NgIf], template: "<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\">\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n", styles: [":host{width:100%}:host[data-ng-doc-align=right] .ng-doc-sidenav-wrapper{flex-direction:row-reverse}:host[data-ng-doc-over=true] .ng-doc-sidenav-content{min-width:100%}:host[data-ng-doc-over=true][data-ng-doc-align=left] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) -5px 5px 20px -5px}:host[data-ng-doc-over=true][data-ng-doc-align=right] .ng-doc-sidenav{--ng-doc-sidebar-shadow: var(--ng-doc-shadow-color) 0px 5px 20px -5px}:host .ng-doc-sidenav-wrapper{position:relative;display:flex;width:100%}:host .ng-doc-sidenav{position:fixed;top:var(--ng-doc-sidenav-top, 0);width:var(--ng-doc-sidenav-width);flex-shrink:0;z-index:5;transition:box-shadow var(--ng-doc-transition)}:host .ng-doc-sidenav-content{width:100%;padding:var(--ng-doc-sidenav-content-padding)}:host .ng-doc-backdrop{position:fixed;left:0;top:0;width:100%;height:100%;z-index:1}:host .ng-doc-backdrop:not(nothing){-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}:host .ng-doc-backdrop:not(nothing):before{content:\"\";position:absolute;top:0;left:0;width:100%;height:100%;background-color:#0003;opacity:.4}@supports not ((-webkit-backdrop-filter: none) or (backdrop-filter: none)){:host .ng-doc-backdrop{background-color:#0003}}:host .ng-doc-backdropnothing{background-color:#0003}\n"] }]
124
148
  }], propDecorators: { sidebar: [{
125
149
  type: Input
126
150
  }], align: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-sidenav.mjs","sources":["../../../../libs/ui-kit/components/sidenav/sidenav.component.ts","../../../../libs/ui-kit/components/sidenav/sidenav.component.html","../../../../libs/ui-kit/components/sidenav/ng-doc-ui-kit-components-sidenav.ts"],"sourcesContent":["import {animate, AnimationEvent, state, style, transition, trigger} from '@angular/animations';\nimport {NgIf} from '@angular/common';\nimport {ChangeDetectionStrategy, Component, EventEmitter, HostBinding, Input, Output} from '@angular/core';\nimport {NgDocContent, NgDocHorizontalAlign} from '@ng-doc/ui-kit/types';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tanimations: [\n\t\ttrigger('sidenavAnimation', [\n\t\t\tstate('false', style({display: 'none'})),\n\t\t\ttransition('left => false', [\n\t\t\t\tstyle({transform: 'translateX(0)', opacity: 1}),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({transform: 'translateX(-100%)', opacity: 0})),\n\t\t\t]),\n\t\t\ttransition('false => left', [\n\t\t\t\tstyle({transform: 'translateX(-100%)', opacity: 0, display: 'block'}),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({transform: 'translateX(0)', opacity: 1})),\n\t\t\t]),\n\t\t\ttransition('right => false', [\n\t\t\t\tstyle({transform: 'translateX(0)', opacity: 1}),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({transform: 'translateX(100%)', opacity: 0})),\n\t\t\t]),\n\t\t\ttransition('false => right', [\n\t\t\t\tstyle({transform: 'translateX(100%)', opacity: 0, display: 'block'}),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({transform: 'translateX(0)', opacity: 1})),\n\t\t\t]),\n\t\t]),\n\t\ttrigger('sidenavContentAnimation', [\n\t\t\tstate(\n\t\t\t\t'true',\n\t\t\t\tstyle({\n\t\t\t\t\t'margin-left': 'var(--ng-doc-sidenav-width)',\n\t\t\t\t\twidth: 'calc(100% - var(--ng-doc-sidenav-width))',\n\t\t\t\t}),\n\t\t\t),\n\t\t\tstate('false', style({'margin-left': '0', width: '100%'})),\n\t\t\ttransition('true => false', animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n\t\t\ttransition('false => true', animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n\t\t]),\n\t\ttrigger('backdropFade', [\n\t\t\ttransition(':enter', [\n\t\t\t\tstyle({opacity: 0}),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({opacity: 1})),\n\t\t\t]),\n\t\t]),\n\t],\n\tselector: 'ng-doc-sidenav',\n\ttemplateUrl: './sidenav.component.html',\n\tstyleUrls: ['./sidenav.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [PolymorpheusModule, NgIf],\n})\nexport class NgDocSidenavComponent {\n\t/**\n\t * Content of the sidenav.\n\t */\n\t@Input()\n\tsidebar: NgDocContent = '';\n\n\t/**\n\t * Align of the sidenav.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocHorizontalAlign = 'left';\n\n\t/**\n\t * Indicates whether the sidenav is over the page content or not.\n\t * Which means that the sidenav is not part of the page content.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-over')\n\tover: boolean = false;\n\n\t/**\n\t * Indicates whether the sidenav is opened or not.\n\t * This is used to trigger the animation.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-opened')\n\topened: boolean = true;\n\n\t/**\n\t * Indicates whether the sidenav has a backdrop or not.\n\t */\n\t@Input()\n\thasBackdrop: boolean = true;\n\n\t@Output()\n\topenedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n\t@Output()\n\tcloseEvent: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tbeforeOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tbeforeClose: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterClose: EventEmitter<void> = new EventEmitter<void>();\n\n\tprotected get backdrop(): boolean {\n\t\treturn this.over && this.opened && this.hasBackdrop;\n\t}\n\n\tprotected animationStart(event: AnimationEvent): void {\n\t\t(!!event.toState as unknown as boolean) ? this.beforeOpen.emit() : this.beforeClose.emit();\n\t}\n\n\tprotected animationDone(event: AnimationEvent): void {\n\t\t(!!event.toState as unknown as boolean) ? this.afterOpen.emit() : this.afterClose.emit();\n\t}\n}\n","<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\"\n\t>\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;AAMA,MA+Ca,qBAAqB,CAAA;AA/ClC,IAAA,WAAA,GAAA;AAgDC;;AAEG;QAEH,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;AAE3B;;AAEG;QAGH,IAAK,CAAA,KAAA,GAAyB,MAAM,CAAC;AAErC;;;AAGG;QAGH,IAAI,CAAA,IAAA,GAAY,KAAK,CAAC;AAEtB;;;AAGG;QAGH,IAAM,CAAA,MAAA,GAAY,IAAI,CAAC;AAEvB;;AAEG;QAEH,IAAW,CAAA,WAAA,GAAY,IAAI,CAAC;AAG5B,QAAA,IAAA,CAAA,YAAY,GAA0B,I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sBADT,MAAM;;;AExGR;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-sidenav.mjs","sources":["../../../../libs/ui-kit/components/sidenav/sidenav.component.ts","../../../../libs/ui-kit/components/sidenav/sidenav.component.html","../../../../libs/ui-kit/components/sidenav/ng-doc-ui-kit-components-sidenav.ts"],"sourcesContent":["import { animate, AnimationEvent, state, style, transition, trigger } from '@angular/animations';\nimport { NgIf } from '@angular/common';\nimport {\n\tChangeDetectionStrategy,\n\tComponent,\n\tEventEmitter,\n\tHostBinding,\n\tInput,\n\tOutput,\n} from '@angular/core';\nimport { NgDocContent, NgDocHorizontalAlign } from '@ng-doc/ui-kit/types';\nimport { PolymorpheusModule } from '@tinkoff/ng-polymorpheus';\n\n@Component({\n\tanimations: [\n\t\ttrigger('sidenavAnimation', [\n\t\t\tstate('false', style({ display: 'none' })),\n\t\t\ttransition('left => false', [\n\t\t\t\tstyle({ transform: 'translateX(0)', opacity: 1 }),\n\t\t\t\tanimate(\n\t\t\t\t\t'220ms cubic-bezier(0.25, 0.8, 0.25, 1)',\n\t\t\t\t\tstyle({\n\t\t\t\t\t\ttransform: 'translateX(-100%)',\n\t\t\t\t\t\topacity: 0,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t]),\n\t\t\ttransition('false => left', [\n\t\t\t\tstyle({ transform: 'translateX(-100%)', opacity: 0, display: 'block' }),\n\t\t\t\tanimate(\n\t\t\t\t\t'220ms cubic-bezier(0.25, 0.8, 0.25, 1)',\n\t\t\t\t\tstyle({\n\t\t\t\t\t\ttransform: 'translateX(0)',\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t]),\n\t\t\ttransition('right => false', [\n\t\t\t\tstyle({ transform: 'translateX(0)', opacity: 1 }),\n\t\t\t\tanimate(\n\t\t\t\t\t'220ms cubic-bezier(0.25, 0.8, 0.25, 1)',\n\t\t\t\t\tstyle({\n\t\t\t\t\t\ttransform: 'translateX(100%)',\n\t\t\t\t\t\topacity: 0,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t]),\n\t\t\ttransition('false => right', [\n\t\t\t\tstyle({ transform: 'translateX(100%)', opacity: 0, display: 'block' }),\n\t\t\t\tanimate(\n\t\t\t\t\t'220ms cubic-bezier(0.25, 0.8, 0.25, 1)',\n\t\t\t\t\tstyle({\n\t\t\t\t\t\ttransform: 'translateX(0)',\n\t\t\t\t\t\topacity: 1,\n\t\t\t\t\t}),\n\t\t\t\t),\n\t\t\t]),\n\t\t]),\n\t\ttrigger('sidenavContentAnimation', [\n\t\t\tstate(\n\t\t\t\t'true',\n\t\t\t\tstyle({\n\t\t\t\t\t'margin-left': 'var(--ng-doc-sidenav-width)',\n\t\t\t\t\twidth: 'calc(100% - var(--ng-doc-sidenav-width))',\n\t\t\t\t}),\n\t\t\t),\n\t\t\tstate('false', style({ 'margin-left': '0', width: '100%' })),\n\t\t\ttransition('true => false', animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n\t\t\ttransition('false => true', animate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)')),\n\t\t]),\n\t\ttrigger('backdropFade', [\n\t\t\ttransition(':enter', [\n\t\t\t\tstyle({ opacity: 0 }),\n\t\t\t\tanimate('220ms cubic-bezier(0.25, 0.8, 0.25, 1)', style({ opacity: 1 })),\n\t\t\t]),\n\t\t]),\n\t],\n\tselector: 'ng-doc-sidenav',\n\ttemplateUrl: './sidenav.component.html',\n\tstyleUrls: ['./sidenav.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [PolymorpheusModule, NgIf],\n})\nexport class NgDocSidenavComponent {\n\t/**\n\t * Content of the sidenav.\n\t */\n\t@Input()\n\tsidebar: NgDocContent = '';\n\n\t/**\n\t * Align of the sidenav.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-align')\n\talign: NgDocHorizontalAlign = 'left';\n\n\t/**\n\t * Indicates whether the sidenav is over the page content or not.\n\t * Which means that the sidenav is not part of the page content.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-over')\n\tover: boolean = false;\n\n\t/**\n\t * Indicates whether the sidenav is opened or not.\n\t * This is used to trigger the animation.\n\t */\n\t@Input()\n\t@HostBinding('attr.data-ng-doc-opened')\n\topened: boolean = true;\n\n\t/**\n\t * Indicates whether the sidenav has a backdrop or not.\n\t */\n\t@Input()\n\thasBackdrop: boolean = true;\n\n\t@Output()\n\topenedChange: EventEmitter<boolean> = new EventEmitter<boolean>();\n\n\t@Output()\n\tcloseEvent: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tbeforeOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tbeforeClose: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterOpen: EventEmitter<void> = new EventEmitter<void>();\n\n\t@Output()\n\tafterClose: EventEmitter<void> = new EventEmitter<void>();\n\n\tprotected get backdrop(): boolean {\n\t\treturn this.over && this.opened && this.hasBackdrop;\n\t}\n\n\tprotected animationStart(event: AnimationEvent): void {\n\t\t(!!event.toState as unknown as boolean) ? this.beforeOpen.emit() : this.beforeClose.emit();\n\t}\n\n\tprotected animationDone(event: AnimationEvent): void {\n\t\t(!!event.toState as unknown as boolean) ? this.afterOpen.emit() : this.afterClose.emit();\n\t}\n}\n","<div class=\"ng-doc-sidenav-wrapper\">\n\t<div\n\t\tclass=\"ng-doc-sidenav\"\n\t\t[@sidenavAnimation]=\"opened ? align : false\"\n\t\t(@sidenavAnimation.start)=\"animationStart($event)\"\n\t\t(@sidenavAnimation.done)=\"animationDone($event)\">\n\t\t<ng-container *polymorpheusOutlet=\"sidebar\"></ng-container>\n\t</div>\n\t<div class=\"ng-doc-sidenav-content\" [@sidenavContentAnimation]=\"!over ? opened : false\">\n\t\t<div class=\"ng-doc-backdrop\" @backdropFade *ngIf=\"backdrop\" (click)=\"closeEvent.emit()\"></div>\n\t\t<ng-content></ng-content>\n\t</div>\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AA,QAAA,EAAA,+jBAAA,EAAA,MAAA,EAAA,CAAA,swCAAA,CAAA,EAAA,CAAA;8BAOnC,OAAO,EAAA,CAAA;sBADN,KAAK;gBAQN,KAAK,EAAA,CAAA;sBAFJ,KAAK;;sBACL,WAAW;uBAAC,wBAAwB,CAAA;gBASrC,IAAI,EAAA,CAAA;sBAFH,KAAK;;sBACL,WAAW;uBAAC,uBAAuB,CAAA;gBASpC,MAAM,EAAA,CAAA;sBAFL,KAAK;;sBACL,WAAW;uBAAC,yBAAyB,CAAA;gBAOtC,WAAW,EAAA,CAAA;sBADV,KAAK;gBAIN,YAAY,EAAA,CAAA;sBADX,MAAM;gBAIP,UAAU,EAAA,CAAA;sBADT,MAAM;gBAIP,UAAU,EAAA,CAAA;sBADT,MAAM;gBAIP,WAAW,EAAA,CAAA;sBADV,MAAM;gBAIP,SAAS,EAAA,CAAA;sBADR,MAAM;gBAIP,UAAU,EAAA,CAAA;sBADT,MAAM;;;AEvIR;;AAEG;;;;"}
@@ -61,7 +61,7 @@ let NgDocTabGroupComponent = class NgDocTabGroupComponent {
61
61
  this.selectedTab = tab;
62
62
  }
63
63
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "16.0.0", ngImport: i0, type: NgDocTabGroupComponent, deps: [{ token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
64
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTabGroupComponent, isStandalone: true, selector: "ng-doc-tab-group", inputs: { openedTab: "openedTab" }, queries: [{ propertyName: "tabs", predicate: NgDocTabComponent }], viewQueries: [{ propertyName: "tabElements", predicate: ["headerTab"], descendants: true }], ngImport: i0, template: "<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab\n\t>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>{{ text }}</div>\n\t</ng-doc-smooth-resize>\n</div>\n", styles: [":host{display:flex;flex-direction:column}:host .ng-doc-tabs-wrapper{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;width:100%;display:inline-flex;overflow-x:auto;line-height:18px;font-size:14px;flex-shrink:0;background-color:var(--ng-doc-tab-group-header-background, var(--ng-doc-tab-group-background))}:host .ng-doc-tabs-wrapper .ng-doc-tab{position:relative;padding:calc(var(--ng-doc-base-gutter) / 2 * 3) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap}:host .ng-doc-tabs-wrapper .ng-doc-tab .ng-doc-tab-text{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;--ng-doc-font-size: 14px;--ng-doc-font-weight: 700}:host .ng-doc-body-wrapper{position:relative;background-color:var(--ng-doc-tab-group-background);height:100%;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgDocSelectionHostDirective, selector: "[ngDocSelectionHost]" }, { kind: "component", type: NgDocSelectionComponent, selector: "ng-doc-selection", inputs: ["align"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgDocSelectionOriginDirective, selector: "[ngDocSelectionOrigin]", inputs: ["ngDocSelectionOrigin"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: NgDocSmoothResizeComponent, selector: "ng-doc-smooth-resize", inputs: ["trigger", "animateOpacity"] }], animations: [tabFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
64
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "16.0.0", type: NgDocTabGroupComponent, isStandalone: true, selector: "ng-doc-tab-group", inputs: { openedTab: "openedTab" }, queries: [{ propertyName: "tabs", predicate: NgDocTabComponent }], viewQueries: [{ propertyName: "tabElements", predicate: ["headerTab"], descendants: true }], ngImport: i0, template: "<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>\n\t\t\t{{ text }}\n\t\t</div>\n\t</ng-doc-smooth-resize>\n</div>\n", styles: [":host{display:flex;flex-direction:column}:host .ng-doc-tabs-wrapper{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;width:100%;display:inline-flex;overflow-x:auto;line-height:18px;font-size:14px;flex-shrink:0;background-color:var(--ng-doc-tab-group-header-background, var(--ng-doc-tab-group-background))}:host .ng-doc-tabs-wrapper .ng-doc-tab{position:relative;padding:calc(var(--ng-doc-base-gutter) / 2 * 3) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap}:host .ng-doc-tabs-wrapper .ng-doc-tab .ng-doc-tab-text{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;--ng-doc-font-size: 14px;--ng-doc-font-weight: 700}:host .ng-doc-body-wrapper{position:relative;background-color:var(--ng-doc-tab-group-background);height:100%;overflow:hidden}\n"], dependencies: [{ kind: "directive", type: NgDocSelectionHostDirective, selector: "[ngDocSelectionHost]" }, { kind: "component", type: NgDocSelectionComponent, selector: "ng-doc-selection", inputs: ["align"] }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "directive", type: NgDocSelectionOriginDirective, selector: "[ngDocSelectionOrigin]", inputs: ["ngDocSelectionOrigin"] }, { kind: "ngmodule", type: PolymorpheusModule }, { kind: "directive", type: i1.PolymorpheusOutletDirective, selector: "[polymorpheusOutlet]", inputs: ["polymorpheusOutlet", "polymorpheusOutletContext"] }, { kind: "component", type: NgDocSmoothResizeComponent, selector: "ng-doc-smooth-resize", inputs: ["trigger", "animateOpacity"] }], animations: [tabFadeAnimation], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
65
65
  };
66
66
  NgDocTabGroupComponent = __decorate([
67
67
  UntilDestroy(),
@@ -76,7 +76,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "16.0.0", ngImpor
76
76
  NgDocSelectionOriginDirective,
77
77
  PolymorpheusModule,
78
78
  NgDocSmoothResizeComponent,
79
- ], template: "<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab\n\t>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>{{ text }}</div>\n\t</ng-doc-smooth-resize>\n</div>\n", styles: [":host{display:flex;flex-direction:column}:host .ng-doc-tabs-wrapper{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;width:100%;display:inline-flex;overflow-x:auto;line-height:18px;font-size:14px;flex-shrink:0;background-color:var(--ng-doc-tab-group-header-background, var(--ng-doc-tab-group-background))}:host .ng-doc-tabs-wrapper .ng-doc-tab{position:relative;padding:calc(var(--ng-doc-base-gutter) / 2 * 3) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap}:host .ng-doc-tabs-wrapper .ng-doc-tab .ng-doc-tab-text{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;--ng-doc-font-size: 14px;--ng-doc-font-weight: 700}:host .ng-doc-body-wrapper{position:relative;background-color:var(--ng-doc-tab-group-background);height:100%;overflow:hidden}\n"] }]
79
+ ], template: "<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>\n\t\t\t{{ text }}\n\t\t</div>\n\t</ng-doc-smooth-resize>\n</div>\n", styles: [":host{display:flex;flex-direction:column}:host .ng-doc-tabs-wrapper{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;width:100%;display:inline-flex;overflow-x:auto;line-height:18px;font-size:14px;flex-shrink:0;background-color:var(--ng-doc-tab-group-header-background, var(--ng-doc-tab-group-background))}:host .ng-doc-tabs-wrapper .ng-doc-tab{position:relative;padding:calc(var(--ng-doc-base-gutter) / 2 * 3) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap}:host .ng-doc-tabs-wrapper .ng-doc-tab .ng-doc-tab-text{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;--ng-doc-font-size: 14px;--ng-doc-font-weight: 700}:host .ng-doc-body-wrapper{position:relative;background-color:var(--ng-doc-tab-group-background);height:100%;overflow:hidden}\n"] }]
80
80
  }], ctorParameters: function () { return [{ type: i0.ChangeDetectorRef }]; }, propDecorators: { openedTab: [{
81
81
  type: Input
82
82
  }], tabElements: [{
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-components-tab-group.mjs","sources":["../../../../libs/ui-kit/components/tab-group/tab/tab.component.ts","../../../../libs/ui-kit/components/tab-group/tab-group.component.ts","../../../../libs/ui-kit/components/tab-group/tab-group.component.html","../../../../libs/ui-kit/components/tab-group/ng-doc-ui-kit-components-tab-group.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\n\n@Component({\n\tselector: 'ng-doc-tab',\n\ttemplate: '',\n\tstyleUrls: ['./tab.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n})\nexport class NgDocTabComponent<T> {\n\t@Input()\n\tlabel: NgDocContent = '';\n\n\t@Input()\n\tid: T | number = 0;\n\n\t/** Expander content */\n\t@Input()\n\tcontent: NgDocContent = '';\n}\n","import {NgFor} from '@angular/common';\nimport {\n\tAfterContentInit,\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChildren,\n\tElementRef,\n\tInput,\n\tQueryList,\n\tViewChildren,\n} from '@angular/core';\nimport {tabFadeAnimation} from '@ng-doc/ui-kit/animations';\nimport {\n\tNgDocSelectionComponent,\n\tNgDocSelectionHostDirective,\n\tNgDocSelectionOriginDirective,\n} from '@ng-doc/ui-kit/components/selection';\nimport {NgDocSmoothResizeComponent} from '@ng-doc/ui-kit/components/smooth-resize';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {startWith} from 'rxjs/operators';\n\nimport {NgDocTabComponent} from './tab/tab.component';\n\n@Component({\n\tanimations: [tabFadeAnimation],\n\tselector: 'ng-doc-tab-group',\n\ttemplateUrl: './tab-group.component.html',\n\tstyleUrls: ['./tab-group.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocSelectionHostDirective,\n\t\tNgDocSelectionComponent,\n\t\tNgFor,\n\t\tNgDocSelectionOriginDirective,\n\t\tPolymorpheusModule,\n\t\tNgDocSmoothResizeComponent,\n\t],\n})\n@UntilDestroy()\nexport class NgDocTabGroupComponent<T = number> implements AfterContentInit, AfterViewInit {\n\t@Input()\n\topenedTab!: T;\n\n\t@ViewChildren('headerTab')\n\ttabElements: QueryList<ElementRef> = new QueryList<ElementRef>();\n\n\t@ContentChildren(NgDocTabComponent)\n\ttabs: QueryList<NgDocTabComponent<T>> = new QueryList<NgDocTabComponent<T>>();\n\n\tselectedTab?: NgDocTabComponent<T>;\n\n\tconstructor(private readonly changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterContentInit(): void {\n\t\tthis.tabs.changes.pipe(startWith(this.tabs), untilDestroyed(this)).subscribe(() => {\n\t\t\tconst tabToOpen: NgDocTabComponent<T> | undefined = this.openedTab\n\t\t\t\t? this.tabs.find((tab: NgDocTabComponent<T>) => tab.id === this.openedTab)\n\t\t\t\t: this.tabs.get(0);\n\n\t\t\ttabToOpen && this.selectTab(tabToOpen);\n\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t});\n\t}\n\n\tngAfterViewInit(): void {\n\t\tthis.tabElements.changes\n\t\t\t.pipe(startWith(this.tabElements), untilDestroyed(this))\n\t\t\t.subscribe(() => this.changeDetectorRef.detectChanges());\n\t}\n\n\tget selectedIndex(): number {\n\t\treturn this.selectedTab ? this.tabs.toArray().indexOf(this.selectedTab) : -1;\n\t}\n\n\tget selectedHeaderTab(): ElementRef | null {\n\t\treturn this.selectedTab ? this.tabElements.get(this.selectedIndex) ?? null : null;\n\t}\n\n\tselectTab(tab: NgDocTabComponent<T>) {\n\t\tthis.selectedTab = tab;\n\t}\n}\n","<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab\n\t>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>{{ text }}</div>\n\t</ng-doc-smooth-resize>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAOa,iBAAiB,CAAA;AAP9B,IAAA,WAAA,GAAA;QASC,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;QAGzB,IAAE,CAAA,EAAA,GAAe,CAAC,CAAC;;QAInB,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;AAC3B,KAAA;8GAVY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,gIALnB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKA,iBAAiB,EAAA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zB,IAAI,EAAA,CAAA;sBADH,eAAe;uBAAC,iBAAiB,CAAA;;;AElDnC;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-components-tab-group.mjs","sources":["../../../../libs/ui-kit/components/tab-group/tab/tab.component.ts","../../../../libs/ui-kit/components/tab-group/tab-group.component.ts","../../../../libs/ui-kit/components/tab-group/tab-group.component.html","../../../../libs/ui-kit/components/tab-group/ng-doc-ui-kit-components-tab-group.ts"],"sourcesContent":["import {ChangeDetectionStrategy, Component, Input} from '@angular/core';\nimport {NgDocContent} from '@ng-doc/ui-kit/types';\n\n@Component({\n\tselector: 'ng-doc-tab',\n\ttemplate: '',\n\tstyleUrls: ['./tab.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n})\nexport class NgDocTabComponent<T> {\n\t@Input()\n\tlabel: NgDocContent = '';\n\n\t@Input()\n\tid: T | number = 0;\n\n\t/** Expander content */\n\t@Input()\n\tcontent: NgDocContent = '';\n}\n","import {NgFor} from '@angular/common';\nimport {\n\tAfterContentInit,\n\tAfterViewInit,\n\tChangeDetectionStrategy,\n\tChangeDetectorRef,\n\tComponent,\n\tContentChildren,\n\tElementRef,\n\tInput,\n\tQueryList,\n\tViewChildren,\n} from '@angular/core';\nimport {tabFadeAnimation} from '@ng-doc/ui-kit/animations';\nimport {\n\tNgDocSelectionComponent,\n\tNgDocSelectionHostDirective,\n\tNgDocSelectionOriginDirective,\n} from '@ng-doc/ui-kit/components/selection';\nimport {NgDocSmoothResizeComponent} from '@ng-doc/ui-kit/components/smooth-resize';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {PolymorpheusModule} from '@tinkoff/ng-polymorpheus';\nimport {startWith} from 'rxjs/operators';\n\nimport {NgDocTabComponent} from './tab/tab.component';\n\n@Component({\n\tanimations: [tabFadeAnimation],\n\tselector: 'ng-doc-tab-group',\n\ttemplateUrl: './tab-group.component.html',\n\tstyleUrls: ['./tab-group.component.scss'],\n\tchangeDetection: ChangeDetectionStrategy.OnPush,\n\tstandalone: true,\n\timports: [\n\t\tNgDocSelectionHostDirective,\n\t\tNgDocSelectionComponent,\n\t\tNgFor,\n\t\tNgDocSelectionOriginDirective,\n\t\tPolymorpheusModule,\n\t\tNgDocSmoothResizeComponent,\n\t],\n})\n@UntilDestroy()\nexport class NgDocTabGroupComponent<T = number> implements AfterContentInit, AfterViewInit {\n\t@Input()\n\topenedTab!: T;\n\n\t@ViewChildren('headerTab')\n\ttabElements: QueryList<ElementRef> = new QueryList<ElementRef>();\n\n\t@ContentChildren(NgDocTabComponent)\n\ttabs: QueryList<NgDocTabComponent<T>> = new QueryList<NgDocTabComponent<T>>();\n\n\tselectedTab?: NgDocTabComponent<T>;\n\n\tconstructor(private readonly changeDetectorRef: ChangeDetectorRef) {}\n\n\tngAfterContentInit(): void {\n\t\tthis.tabs.changes.pipe(startWith(this.tabs), untilDestroyed(this)).subscribe(() => {\n\t\t\tconst tabToOpen: NgDocTabComponent<T> | undefined = this.openedTab\n\t\t\t\t? this.tabs.find((tab: NgDocTabComponent<T>) => tab.id === this.openedTab)\n\t\t\t\t: this.tabs.get(0);\n\n\t\t\ttabToOpen && this.selectTab(tabToOpen);\n\n\t\t\tthis.changeDetectorRef.markForCheck();\n\t\t});\n\t}\n\n\tngAfterViewInit(): void {\n\t\tthis.tabElements.changes\n\t\t\t.pipe(startWith(this.tabElements), untilDestroyed(this))\n\t\t\t.subscribe(() => this.changeDetectorRef.detectChanges());\n\t}\n\n\tget selectedIndex(): number {\n\t\treturn this.selectedTab ? this.tabs.toArray().indexOf(this.selectedTab) : -1;\n\t}\n\n\tget selectedHeaderTab(): ElementRef | null {\n\t\treturn this.selectedTab ? this.tabElements.get(this.selectedIndex) ?? null : null;\n\t}\n\n\tselectTab(tab: NgDocTabComponent<T>) {\n\t\tthis.selectedTab = tab;\n\t}\n}\n","<div class=\"ng-doc-tabs-wrapper\" ngDocSelectionHost>\n\t<ng-doc-selection></ng-doc-selection>\n\t<div\n\t\tclass=\"ng-doc-tab\"\n\t\t[class.selected]=\"tab === selectedTab\"\n\t\t*ngFor=\"let tab of tabs\"\n\t\t(click)=\"selectTab(tab)\"\n\t\t[ngDocSelectionOrigin]=\"tab === selectedTab\"\n\t\t#headerTab>\n\t\t<div class=\"ng-doc-tab-text\">\n\t\t\t<ng-container *polymorpheusOutlet=\"tab.label; context: {}\">{{ tab.label }}</ng-container>\n\t\t</div>\n\t</div>\n</div>\n\n<div class=\"ng-doc-body-wrapper\">\n\t<ng-doc-smooth-resize [trigger]=\"selectedTab?.content ?? ''\">\n\t\t<div *polymorpheusOutlet=\"selectedTab?.content ?? '' as text; context: {}\" @tabFadeAnimation>\n\t\t\t{{ text }}\n\t\t</div>\n\t</ng-doc-smooth-resize>\n</div>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAGA,MAOa,iBAAiB,CAAA;AAP9B,IAAA,WAAA,GAAA;QASC,IAAK,CAAA,KAAA,GAAiB,EAAE,CAAC;QAGzB,IAAE,CAAA,EAAA,GAAe,CAAC,CAAC;;QAInB,IAAO,CAAA,OAAA,GAAiB,EAAE,CAAC;AAC3B,KAAA;8GAVY,iBAAiB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;AAAjB,IAAA,SAAA,IAAA,CAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,iBAAiB,gIALnB,EAAE,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,CAAA,EAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,CAAA,CAAA,EAAA;;2FAKA,iBAAiB,EAAA,UAAA,EAAA,CAAA;kBAP7B,SAAS;AACC,YAAA,IAA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,CAAA;;;AElDnC;;AAEG;;;;"}
@@ -26,7 +26,7 @@ let NgDocMediaQueryDirective = class NgDocMediaQueryDirective {
26
26
  this.viewRef = undefined;
27
27
  if (matches) {
28
28
  this.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);
29
- this.viewRef.detectChanges();
29
+ this.viewRef.markForCheck();
30
30
  }
31
31
  });
32
32
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-directives-media-query.mjs","sources":["../../../../libs/ui-kit/directives/media-query/media-query.directive.ts","../../../../libs/ui-kit/directives/media-query/ng-doc-ui-kit-directives-media-query.ts"],"sourcesContent":["import {BreakpointObserver, Breakpoints} from '@angular/cdk/layout';\nimport {Directive, EmbeddedViewRef, Input, OnChanges, TemplateRef, ViewContainerRef} from '@angular/core';\nimport {UntilDestroy, untilDestroyed} from '@ngneat/until-destroy';\nimport {Subject} from 'rxjs';\nimport {distinctUntilChanged, pluck, takeUntil} from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocMediaQuery]',\n\texportAs: 'ngDocMediaQuery',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocMediaQueryDirective implements OnChanges {\n\t@Input('ngDocMediaQuery')\n\tmatch: string | string[] = [];\n\n\treadonly breakpoints: typeof Breakpoints = Breakpoints;\n\n\tprivate readonly unsubscribe$: Subject<void> = new Subject<void>();\n\tprivate viewRef?: EmbeddedViewRef<unknown>;\n\n\tconstructor(\n\t\tprivate readonly templateRef: TemplateRef<unknown>,\n\t\tprivate readonly viewContainerRef: ViewContainerRef,\n\t\tprivate readonly breakpointObserver: BreakpointObserver,\n\t) {}\n\n\tngOnChanges(): void {\n\t\tthis.unsubscribe$.next();\n\n\t\tthis.breakpointObserver\n\t\t\t.observe(this.match)\n\t\t\t.pipe(pluck('matches'), distinctUntilChanged(), takeUntil(this.unsubscribe$), untilDestroyed(this))\n\t\t\t.subscribe((matches: boolean) => {\n\t\t\t\tthis.viewRef?.destroy();\n\t\t\t\tthis.viewRef = undefined;\n\n\t\t\t\tif (matches) {\n\t\t\t\t\tthis.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);\n\t\t\t\t\tthis.viewRef.detectChanges();\n\t\t\t\t}\n\t\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAYa,IAAA,wBAAwB,GANrC,MAMa,wBAAwB,CAAA;AASpC,IAAA,WAAA,CACkB,WAAiC,EACjC,gBAAkC,EAClC,kBAAsC,EAAA;QAFtC,IAAW,CAAA,WAAA,GAAX,WAAW,CAAsB;QACjC,IAAgB,CAAA,gBAAA,GAAhB,gBAAgB,CAAkB;QAClC,IAAkB,CAAA,kBAAA,GAAlB,kBAAkB,CAAoB;QAVxD,IAAK,CAAA,KAAA,GAAsB,EAAE,CAAC;QAErB,IAAW,CAAA,WAAA,GAAuB,WAAW,CAAC;AAEtC,QAAA,IAAA,CAAA,YAAY,GAAkB,IAAI,OAAO,EAAQ,CAAC;KAO/D;IAEJ,WAAW,GAAA;AACV,QAAA,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,CAAC;AAEzB,QAAA,IAAI,CAAC,kBAAkB;AACrB,aAAA,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC;aACnB,IAAI,CAAC,KAAK,CAAC,SAAS,CAAC,EAAE,oBAAoB,EAAE,EAAE,SAAS,CAAC,IAAI,CAAC,YAAY,CAAC,EAAE,cAAc,CAAC,IAAI,CAAC,CAAC;AAClG,aAAA,SAAS,CAAC,CAAC,OAAgB,KAAI;AAC/B,YAAA,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,CAAC;AACxB,YAAA,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC;AAEzB,YAAA,IAAI,OAAO,EAAE;AACZ,gBAAA,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,gBAAgB,CAAC,kBAAkB,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;AAC1E,gBAAA,IAAI,CAAC,OAAO,CAAC,aAAa,EAAE,CAAC;AAC7B,aAAA;AACF,SAAC,CAAC,CAAC;KACJ;8GA9BW,wBAAwB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,gBAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,kBAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,iBAAA,EAAA,OAAA,CAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAAxB,wBAAwB,GAAA,UAAA,CAAA;AADpC,IAAA,YAAY,EAAE;qCAWiB,WAAW;QACN,gBAAgB;QACd,kBAAkB,CAAA,CAAA;AAZ5C,CAAA,EAAA,wBAAwB,CA+BpC,CAAA;2FA/BY,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;kKAIA,KAAK,EAAA,CAAA;sBADJ,KAAK;uBAAC,iBAAiB,CAAA;;;ACbzB;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-directives-media-query.mjs","sources":["../../../../libs/ui-kit/directives/media-query/media-query.directive.ts","../../../../libs/ui-kit/directives/media-query/ng-doc-ui-kit-directives-media-query.ts"],"sourcesContent":["import { BreakpointObserver, Breakpoints } from '@angular/cdk/layout';\nimport {\n\tDirective,\n\tEmbeddedViewRef,\n\tInput,\n\tOnChanges,\n\tTemplateRef,\n\tViewContainerRef,\n} from '@angular/core';\nimport { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy';\nimport { Subject } from 'rxjs';\nimport { distinctUntilChanged, pluck, takeUntil } from 'rxjs/operators';\n\n@Directive({\n\tselector: '[ngDocMediaQuery]',\n\texportAs: 'ngDocMediaQuery',\n\tstandalone: true,\n})\n@UntilDestroy()\nexport class NgDocMediaQueryDirective implements OnChanges {\n\t@Input('ngDocMediaQuery')\n\tmatch: string | string[] = [];\n\n\treadonly breakpoints: typeof Breakpoints = Breakpoints;\n\n\tprivate readonly unsubscribe$: Subject<void> = new Subject<void>();\n\tprivate viewRef?: EmbeddedViewRef<unknown>;\n\n\tconstructor(\n\t\tprivate readonly templateRef: TemplateRef<unknown>,\n\t\tprivate readonly viewContainerRef: ViewContainerRef,\n\t\tprivate readonly breakpointObserver: BreakpointObserver,\n\t) {}\n\n\tngOnChanges(): void {\n\t\tthis.unsubscribe$.next();\n\n\t\tthis.breakpointObserver\n\t\t\t.observe(this.match)\n\t\t\t.pipe(\n\t\t\t\tpluck('matches'),\n\t\t\t\tdistinctUntilChanged(),\n\t\t\t\ttakeUntil(this.unsubscribe$),\n\t\t\t\tuntilDestroyed(this),\n\t\t\t)\n\t\t\t.subscribe((matches: boolean) => {\n\t\t\t\tthis.viewRef?.destroy();\n\t\t\t\tthis.viewRef = undefined;\n\n\t\t\t\tif (matches) {\n\t\t\t\t\tthis.viewRef = this.viewContainerRef.createEmbeddedView(this.templateRef);\n\t\t\t\t\tthis.viewRef.markForCheck();\n\t\t\t\t}\n\t\t\t});\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;AAmBa,IAAA,wBAAwB,GANrC,MAMa,wBAAwB,CAAA;AASpC,IAAA,WAAA,CACkB,WAAiC,EACjC,gBAAkC,EAClC,kBAAsC,EAAA;QA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,EAAA;kGAAxB,wBAAwB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,mBAAA,EAAA,MAAA,EAAA,EAAA,KAAA,EAAA,CAAA,iBAAA,EAAA,OAAA,CAAA,EAAA,EAAA,QAAA,EAAA,CAAA,iBAAA,CAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;AAAxB,wBAAwB,GAAA,UAAA,CAAA;AADpC,IAAA,YAAY,EAAE;qCAWiB,WAAW;QACN,gBAAgB;QACd,kBAAkB,CAAA,CAAA;AAZ5C,CAAA,EAAA,wBAAwB,CAoCpC,CAAA;2FApCY,wBAAwB,EAAA,UAAA,EAAA,CAAA;kBANpC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,mBAAmB;AAC7B,oBAAA,QAAQ,EAAE,iBAAiB;AAC3B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;kKAIA,KAAK,EAAA,CAAA;sBADJ,KAAK;uBAAC,iBAAiB,CAAA;;;ACpBzB;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-directives-rotator.mjs","sources":["../../../../libs/ui-kit/directives/rotator/rotator.directive.ts","../../../../libs/ui-kit/directives/rotator/ng-doc-ui-kit-directives-rotator.ts"],"sourcesContent":["import {Directive, ElementRef, Input, OnChanges, OnInit, Renderer2, SimpleChanges} from '@angular/core';\n\n/** Directive rotates host with transition */\n@Directive({\n\tselector: '[ngDocRotator]',\n\tstandalone: true,\n})\nexport class NgDocRotatorDirective implements OnChanges, OnInit {\n\t/** Rotator state */\n\t@Input('ngDocRotator')\n\trotated: boolean = false;\n\n\t/** Start position angle */\n\t@Input()\n\tfrom: number = 0;\n\n\t/** End position anle */\n\t@Input()\n\tto: number = 90;\n\n\tconstructor(private readonly elementRef: ElementRef<HTMLElement>, private readonly renderer: Renderer2) {}\n\n\tngOnChanges({rotated}: SimpleChanges): void {\n\t\tif (rotated) {\n\t\t\tthis.rotate(this.rotated ? this.to : this.from, true);\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.rotate(this.rotated ? this.to : this.from);\n\t}\n\n\tprivate rotate(degree: number, animated?: boolean): void {\n\t\tif (animated) {\n\t\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transition`, `var(--ng-doc-transition)`);\n\t\t}\n\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAEA;AACA,MAIa,qBAAqB,CAAA;IAajC,WAA6B,CAAA,UAAmC,EAAmB,QAAmB,EAAA;QAAzE,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QAAmB,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;;QAVtG,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;;QAIzB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;;QAIjB,IAAE,CAAA,EAAA,GAAW,EAAE,CAAC;KAE0F;IAE1G,WAAW,CAAC,EAAC,OAAO,EAAgB,EAAA;AACnC,QAAA,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;AACtD,SAAA;KACD;IAED,QAAQ,GAAA;AACP,QAAA,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC;KAChD;IAEO,MAAM,CAAC,MAAc,EAAE,QAAkB,EAAA;AAChD,QAAA,IAAI,QAAQ,EAAE;AACb,YAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAA,UAAA,CAAY,EAAE,CAAA,wBAAA,CAA0B,CAAC,CAAC;AAChG,SAAA;AACD,QAAA,IAAI,CAAC,QAAQ,CAAC,QAAQ,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,CAAW,SAAA,CAAA,EAAE,WAAW,MAAM,CAAA,GAAA,CAAK,CAAC,CAAC;KAC3F;8GA9BW,qBAAqB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAArB,qBAAqB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,gBAAA,EAAA,MAAA,EAAA,EAAA,OAAA,EAAA,CAAA,cAAA,EAAA,SAAA,CAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,EAAA,IAAA,EAAA,EAAA,aAAA,EAAA,IAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBAJjC,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,QAAQ,EAAE,gBAAgB;AAC1B,oBAAA,UAAU,EAAE,IAAI;AAChB,iBAAA,CAAA;yHAIA,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,cAAc,CAAA;gBAKrB,IAAI,EAAA,CAAA;sBADH,KAAK;gBAKN,EAAE,EAAA,CAAA;sBADD,KAAK;;;ACjBP;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-directives-rotator.mjs","sources":["../../../../libs/ui-kit/directives/rotator/rotator.directive.ts","../../../../libs/ui-kit/directives/rotator/ng-doc-ui-kit-directives-rotator.ts"],"sourcesContent":["import {\n\tDirective,\n\tElementRef,\n\tInput,\n\tOnChanges,\n\tOnInit,\n\tRenderer2,\n\tSimpleChanges,\n} from '@angular/core';\n\n/** Directive rotates host with transition */\n@Directive({\n\tselector: '[ngDocRotator]',\n\tstandalone: true,\n})\nexport class NgDocRotatorDirective implements OnChanges, OnInit {\n\t/** Rotator state */\n\t@Input('ngDocRotator')\n\trotated: boolean = false;\n\n\t/** Start position angle */\n\t@Input()\n\tfrom: number = 0;\n\n\t/** End position anle */\n\t@Input()\n\tto: number = 90;\n\n\tconstructor(\n\t\tprivate readonly elementRef: ElementRef<HTMLElement>,\n\t\tprivate readonly renderer: Renderer2,\n\t) {}\n\n\tngOnChanges({ rotated }: SimpleChanges): void {\n\t\tif (rotated) {\n\t\t\tthis.rotate(this.rotated ? this.to : this.from, true);\n\t\t}\n\t}\n\n\tngOnInit(): void {\n\t\tthis.rotate(this.rotated ? this.to : this.from);\n\t}\n\n\tprivate rotate(degree: number, animated?: boolean): void {\n\t\tif (animated) {\n\t\t\tthis.renderer.setStyle(\n\t\t\t\tthis.elementRef.nativeElement,\n\t\t\t\t`transition`,\n\t\t\t\t`var(--ng-doc-transition)`,\n\t\t\t);\n\t\t}\n\t\tthis.renderer.setStyle(this.elementRef.nativeElement, `transform`, `rotateZ(${degree}deg`);\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAUA;AACA,MAIa,qBAAqB,CAAA;IAajC,WACkB,CAAA,UAAmC,EACnC,QAAmB,EAAA;QADnB,IAAU,CAAA,UAAA,GAAV,UAAU,CAAyB;QACnC,IAAQ,CAAA,QAAA,GAAR,QAAQ,CAAW;;QAZrC,IAAO,CAAA,OAAA,GAAY,KAAK,CAAC;;QAIzB,IAAI,CAAA,IAAA,GAAW,CAAC,CAAC;;QAIjB,IAAE,CAAA,EAAA,GAAW,EAAE,CAAC;KAKZ;IAEJ,WAAW,CAAC,EAAE,OAAO,EAAiB,EAAA;AACrC,QAAA,IAAI,OAAO,EAAE;YACZ,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,GAAG,IAA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AA,CAAA;yHAIA,OAAO,EAAA,CAAA;sBADN,KAAK;uBAAC,cAAc,CAAA;gBAKrB,IAAI,EAAA,CAAA;sBADH,KAAK;gBAKN,EAAE,EAAA,CAAA;sBADD,KAAK;;;ACzBP;;AAEG;;;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-interceptors.mjs","sources":["../../../../libs/ui-kit/interceptors/cache.interceptor.ts","../../../../libs/ui-kit/interceptors/ng-doc-ui-kit-interceptors.ts"],"sourcesContent":["import {HttpEvent, HttpHandler, HttpInterceptor, HttpRequest, HttpResponse} from '@angular/common/http';\nimport {Injectable} from '@angular/core';\nimport {Observable} from 'rxjs';\nimport {shareReplay, tap} from 'rxjs/operators';\n\n@Injectable()\nexport class NgDocCacheInterceptor implements HttpInterceptor {\n\tstatic readonly TOKEN: string = Math.random().toString(36).slice(-8);\n\tprivate cache: Map<string, Observable<HttpEvent<unknown>>> = new Map<string, Observable<HttpEvent<unknown>>>();\n\n\tintercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>> {\n\t\t// Only GET requests can be cached\n\t\tif (request.method !== 'GET') {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Do not cache request when the token is not provided\n\t\tif (!request.params.has(NgDocCacheInterceptor.TOKEN)) {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Return cached response\n\t\tconst cachedRequest: Observable<HttpEvent<T>> | undefined = this.cache.get(request.url) as Observable<\n\t\t\tHttpEvent<T>\n\t\t>;\n\n\t\tif (cachedRequest) {\n\t\t\treturn cachedRequest;\n\t\t}\n\n\t\t// Clone the request, delete the TOKEN from the params\n\t\tconst newRequest: HttpRequest<T> = request.clone({\n\t\t\tparams: request.params.delete(NgDocCacheInterceptor.TOKEN),\n\t\t});\n\n\t\t// Create a new request handler\n\t\tconst newHandler: Observable<HttpEvent<T>> = next.handle(newRequest).pipe(\n\t\t\ttap({\n\t\t\t\terror: (event: HttpEvent<Error>) => {\n\t\t\t\t\tif (event instanceof HttpResponse) {\n\t\t\t\t\t\tthis.cache.delete(event.url || '');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t}),\n\t\t\tshareReplay(1),\n\t\t);\n\n\t\t// Cache the request and return the new handler\n\t\tthis.cache.set(request.url, newHandler);\n\n\t\treturn newHandler;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAKA,MACa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAGS,QAAA,IAAA,CAAA,KAAK,GAAgD,IAAI,GAAG,EAA0C,CAAC;AA4C/G,KAAA;AA7CgB,IAAA,SAAA,IAAA,CAAA,KAAK,GAAW,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAA;IAGrE,SAAS,CAAI,OAAuB,EAAE,IAAiB,EAAA;;AAEtD,QAAA,IAAI,OAAO,CAAC,MAAM,KAAK,KAAK,EAAE;AAC7B,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAC5B,SAAA;;QAGD,IAAI,CAAC,OAAO,CAAC,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,KAAK,CAAC,EAAE;AACrD,YAAA,OAAO,IAAI,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAC5B,SAAA;;AAGD,QAAA,MAAM,aAAa,GAAyC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,CAErF,CAAC;AAEF,QAAA,IAAI,aAAa,EAAE;AAClB,YAAA,OAAO,aAAa,CAAC;AACrB,SAAA;;AAGD,QAAA,MAAM,UAAU,GAAmB,OAAO,CAAC,KAAK,CAAC;YAChD,MAAM,EAAE,OAAO,CAAC,MAAM,CAAC,MAAM,CAAC,qBAAqB,CAAC,KAAK,CAAC;AAC1D,SAAA,CAAC,CAAC;;AAGH,QAAA,MAAM,UAAU,GAA6B,IAAI,CAAC,MAAM,CAAC,UAAU,CAAC,CAAC,IAAI,CACxE,GAAG,CAAC;AACH,YAAA,KAAK,EAAE,CAAC,KAAuB,KAAI;gBAClC,IAAI,KAAK,YAAY,YAAY,EAAE;oBAClC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC;AACnC,iBAAA;aACD;AACD,SAAA,CAAC,EACF,WAAW,CAAC,CAAC,CAAC,CACd,CAAC;;QAGF,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,UAAU,CAAC,CAAC;AAExC,QAAA,OAAO,UAAU,CAAC;KAClB;8GA7CW,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA,EAAA;kHAArB,qBAAqB,EAAA,CAAA,CAAA,EAAA;;2FAArB,qBAAqB,EAAA,UAAA,EAAA,CAAA;kBADjC,UAAU;;;ACLX;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-interceptors.mjs","sources":["../../../../libs/ui-kit/interceptors/cache.interceptor.ts","../../../../libs/ui-kit/interceptors/ng-doc-ui-kit-interceptors.ts"],"sourcesContent":["import {\n\tHttpEvent,\n\tHttpHandler,\n\tHttpInterceptor,\n\tHttpRequest,\n\tHttpResponse,\n} from '@angular/common/http';\nimport { Injectable } from '@angular/core';\nimport { Observable } from 'rxjs';\nimport { shareReplay, tap } from 'rxjs/operators';\n\n@Injectable()\nexport class NgDocCacheInterceptor implements HttpInterceptor {\n\tstatic readonly TOKEN: string = Math.random().toString(36).slice(-8);\n\tprivate cache: Map<string, Observable<HttpEvent<unknown>>> = new Map<\n\t\tstring,\n\t\tObservable<HttpEvent<unknown>>\n\t>();\n\n\tintercept<T>(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>> {\n\t\t// Only GET requests can be cached\n\t\tif (request.method !== 'GET') {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Do not cache request when the token is not provided\n\t\tif (!request.params.has(NgDocCacheInterceptor.TOKEN)) {\n\t\t\treturn next.handle(request);\n\t\t}\n\n\t\t// Return cached response\n\t\tconst cachedRequest: Observable<HttpEvent<T>> | undefined = this.cache.get(\n\t\t\trequest.url,\n\t\t) as Observable<HttpEvent<T>>;\n\n\t\tif (cachedRequest) {\n\t\t\treturn cachedRequest;\n\t\t}\n\n\t\t// Clone the request, delete the TOKEN from the params\n\t\tconst newRequest: HttpRequest<T> = request.clone({\n\t\t\tparams: request.params.delete(NgDocCacheInterceptor.TOKEN),\n\t\t});\n\n\t\t// Create a new request handler\n\t\tconst newHandler: Observable<HttpEvent<T>> = next.handle(newRequest).pipe(\n\t\t\ttap({\n\t\t\t\terror: (event: HttpEvent<Error>) => {\n\t\t\t\t\tif (event instanceof HttpResponse) {\n\t\t\t\t\t\tthis.cache.delete(event.url || '');\n\t\t\t\t\t}\n\t\t\t\t},\n\t\t\t}),\n\t\t\tshareReplay(1),\n\t\t);\n\n\t\t// Cache the request and return the new handler\n\t\tthis.cache.set(request.url, newHandler);\n\n\t\treturn newHandler;\n\t}\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;AAWA,MACa,qBAAqB,CAAA;AADlC,IAAA,WAAA,GAAA;AAGS,QAAA,IAAA,CAAA,KAAK,GAAgD,IAAI,GAAG,EAGjE,CAAC;AA4CJ,KAAA;AAhDgB,IAAA,SAAA,IAAA,CAAA,KAAK,GAAW,IAAI,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,EAAA;IAMrE,SAAS,CAAI,OAAuB,EAAE,IAAiB,EAAA;;AAEtD,QAAA,IAAI,OAAO,CAAC,MAAM,KAAK,KAAK,EAAE;AAC7B,YAAA,OAAO,IAAI,CA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@@ -1 +1 @@
1
- {"version":3,"file":"ng-doc-ui-kit-observables.mjs","sources":["../../../../libs/ui-kit/observables/from-subscribe.ts","../../../../libs/ui-kit/observables/observable-state.ts","../../../../libs/ui-kit/observables/zone.ts","../../../../libs/ui-kit/observables/ng-doc-ui-kit-observables.ts"],"sourcesContent":["import {NgDocSubscribable} from '@ng-doc/ui-kit/types';\nimport {Observable, Subscriber, Unsubscribable} from 'rxjs';\n\n/**\n * @param subscribable\n */\nexport function fromSubscribe<T>(subscribable: NgDocSubscribable<T>): Observable<T> {\n\treturn new Observable<T>((observer: Subscriber<T>) => {\n\t\tconst subscription: Unsubscribable = subscribable.subscribe(\n\t\t\t(next: T) => observer.next(next),\n\t\t\t(error: unknown) => observer.error(error),\n\t\t\t() => observer.complete(),\n\t\t);\n\t\treturn () => subscription.unsubscribe();\n\t});\n}\n","import type {Observable, OperatorFunction} from 'rxjs';\nimport {of} from 'rxjs';\nimport {catchError, map, startWith, switchMap, tap} from 'rxjs/operators';\n\nexport type StatedObservable<T, E = Error> = Observable<ObservableState<T, E>>;\n\nexport interface ObservableState<T, E = Error> {\n\tresult: T | null;\n\terror: E | null;\n\tpending: boolean;\n}\n\n/**\n *\n * @param retry\n */\nexport function observableState<T, E = Error>(\n\tretry?: Observable<unknown>\n): OperatorFunction<T, ObservableState<T, E>> {\n\treturn (source: Observable<T>) => {\n\t\tlet state: ObservableState<T, E> = {\n\t\t\tresult: null,\n\t\t\terror: null,\n\t\t\tpending: false,\n\t\t};\n\n\t\treturn (retry ? retry.pipe(startWith(null)) : of(null)).pipe(\n\t\t\tswitchMap(() =>\n\t\t\t\tsource.pipe(\n\t\t\t\t\t// Map result of observable\n\t\t\t\t\tmap((result: T) => ({ result, pending: false })),\n\t\t\t\t\t// Map error of observable\n\t\t\t\t\tcatchError((error: E) => of({ result: null, error, pending: false })),\n\t\t\t\t\t// Start from pending state and clear error\n\t\t\t\t\tstartWith({ error: null, pending: true }),\n\t\t\t\t\t// Merge the current state with new state\n\t\t\t\t\ttap(\n\t\t\t\t\t\t(updatedState: Partial<ObservableState<T, E>>) =>\n\t\t\t\t\t\t\t(state = { ...state, ...updatedState })\n\t\t\t\t\t),\n\t\t\t\t\tmap(() => state)\n\t\t\t\t)\n\t\t\t)\n\t\t);\n\t};\n}\n","import {NgZone} from '@angular/core';\nimport {MonoTypeOperatorFunction, Observable, Observer, Operator, pipe, Subscriber, TeardownLogic} from 'rxjs';\n\nclass NgDocZoneDetachSourceOperator<T> implements Operator<T, T> {\n\tconstructor(private readonly ngZone: NgZone) {}\n\n\tcall(observer: Observer<T>, source: Observable<T>): TeardownLogic {\n\t\treturn this.ngZone.runOutsideAngular(() => source.subscribe(observer));\n\t}\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetachSource<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) => source.lift(new NgDocZoneDetachSourceOperator<T>(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.runOutsideAngular(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.runOutsideAngular(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.runOutsideAngular(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneAttach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.run(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.run(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn pipe(zoneDetach(ngZone), zoneDetachSource(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneOptimize<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn pipe(zoneDetach(ngZone), zoneDetachSource(ngZone), ngDocZoneAttach(ngZone));\n}\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;AAGA;;AAEG;AACG,SAAU,aAAa,CAAI,YAAkC,EAAA;AAClE,IAAA,OAAO,IAAI,UAAU,CAAI,CAAC,QAAuB,KAAI;AACpD,QAAA,MAAM,YAAY,GAAmB,YAAY,CAAC,SAAS,CAC1D,CAAC,IAAO,KAAK,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,EAChC,CAAC,KAAc,KAAK,QAAQ,CAAC,KAAK,CAAC,KAAK,CAAC,EACzC,MAAM,QAAQ,CAAC,QAAQ,EAAE,CACzB,CAAC;AACF,QAAA,OAAO,MAAM,YAAY,CAAC,WAAW,EAAE,CAAC;AACzC,KAAC,CAAC,CAAC;AACJ;;ACHA;;;AAGG;AACG,SAAU,eAAe,CAC9B,KAA2B,EAAA;IAE3B,OAAO,CAAC,MAAqB,KAAI;AAChC,QAAA,IAAI,KAAK,GAA0B;AAClC,YAAA,MAAM,EAAE,IAAI;AACZ,YAAA,KAAK,EAAE,IAAI;AACX,YAAA,OAAO,EAAE,KAAK;SACd,CAAC;AAEF,QAAA,OAAO,CAAC,KAAK,GAAG,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,IAAI,CAC3D,SAAS,CAAC,MACT,MAAM,CAAC,IAAI;;AAEV,QAAA,GAAG,CAAC,CAAC,MAAS,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,CAAC,CAA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K,CAAC,CAAC;AAClF,QAAA,QAAQ,EAAE,MAAM,MAAM,CAAC,iBAAiB,CAAC,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;AACrE,KAAA,CAAC,CACF,CAAC;AACJ,CAAC;AAED;;;AAGG;AACG,SAAU,eAAe,CAAI,MAAc,EAAA;AAChD,IAAA,OAAO,CAAC,MAAqB,KAC5B,IAAI,UAAU,CAAC,CAAC,UAAyB,KACxC,MAAM,CAAC,SAAS,CAAC;AAChB,QAAA,IAAI,EAAE,CAAC,KAAQ,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;AAC5D,QAAA,KAAK,EAAE,CAAC,KAAc,KAAK,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;AACpE,QAAA,QAAQ,EAAE,MAAM,MAAM,CAAC,GAAG,CAAC,MAAM,UAAU,CAAC,QAAQ,EAAE,CAAC;AACvD,KAAA,CAAC,CACF,CAAC;AACJ,CAAC;AAED;;;AAGG;AACG,SAAU,eAAe,CAAI,MAAc,EAAA;AAChD,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,CAAC;AAC3D,CAAC;AAED;;;AAGG;AACG,SAAU,iBAAiB,CAAI,MAAc,EAAA;AAClD,IAAA,OAAO,IAAI,CAAC,UAAU,CAAC,MAAM,CAAC,EAAE,gBAAgB,CAAC,MAAM,CAAC,EAAE,eAAe,CAAC,MAAM,CAAC,CAAC,CAAC;AACpF;;AC/DA;;AAEG;;;;"}
1
+ {"version":3,"file":"ng-doc-ui-kit-observables.mjs","sources":["../../../../libs/ui-kit/observables/from-subscribe.ts","../../../../libs/ui-kit/observables/observable-state.ts","../../../../libs/ui-kit/observables/zone.ts","../../../../libs/ui-kit/observables/ng-doc-ui-kit-observables.ts"],"sourcesContent":["import {NgDocSubscribable} from '@ng-doc/ui-kit/types';\nimport {Observable, Subscriber, Unsubscribable} from 'rxjs';\n\n/**\n * @param subscribable\n */\nexport function fromSubscribe<T>(subscribable: NgDocSubscribable<T>): Observable<T> {\n\treturn new Observable<T>((observer: Subscriber<T>) => {\n\t\tconst subscription: Unsubscribable = subscribable.subscribe(\n\t\t\t(next: T) => observer.next(next),\n\t\t\t(error: unknown) => observer.error(error),\n\t\t\t() => observer.complete(),\n\t\t);\n\t\treturn () => subscription.unsubscribe();\n\t});\n}\n","import type { Observable, OperatorFunction } from 'rxjs';\nimport { of } from 'rxjs';\nimport { catchError, map, startWith, switchMap, tap } from 'rxjs/operators';\n\nexport type StatedObservable<T, E = Error> = Observable<ObservableState<T, E>>;\n\nexport interface ObservableState<T, E = Error> {\n\tresult: T | null;\n\terror: E | null;\n\tpending: boolean;\n}\n\n/**\n *\n * @param retry\n */\nexport function observableState<T, E = Error>(\n\tretry?: Observable<unknown>,\n): OperatorFunction<T, ObservableState<T, E>> {\n\treturn (source: Observable<T>) => {\n\t\tlet state: ObservableState<T, E> = {\n\t\t\tresult: null,\n\t\t\terror: null,\n\t\t\tpending: false,\n\t\t};\n\n\t\treturn (retry ? retry.pipe(startWith(null)) : of(null)).pipe(\n\t\t\tswitchMap(() =>\n\t\t\t\tsource.pipe(\n\t\t\t\t\t// Map result of observable\n\t\t\t\t\tmap((result: T) => ({ result, pending: false })),\n\t\t\t\t\t// Map error of observable\n\t\t\t\t\tcatchError((error: E) => of({ result: null, error, pending: false })),\n\t\t\t\t\t// Start from pending state and clear error\n\t\t\t\t\tstartWith({ error: null, pending: true }),\n\t\t\t\t\t// Merge the current state with new state\n\t\t\t\t\ttap(\n\t\t\t\t\t\t(updatedState: Partial<ObservableState<T, E>>) =>\n\t\t\t\t\t\t\t(state = { ...state, ...updatedState }),\n\t\t\t\t\t),\n\t\t\t\t\tmap(() => state),\n\t\t\t\t),\n\t\t\t),\n\t\t);\n\t};\n}\n","import {NgZone} from '@angular/core';\nimport {MonoTypeOperatorFunction, Observable, Observer, Operator, pipe, Subscriber, TeardownLogic} from 'rxjs';\n\nclass NgDocZoneDetachSourceOperator<T> implements Operator<T, T> {\n\tconstructor(private readonly ngZone: NgZone) {}\n\n\tcall(observer: Observer<T>, source: Observable<T>): TeardownLogic {\n\t\treturn this.ngZone.runOutsideAngular(() => source.subscribe(observer));\n\t}\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetachSource<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) => source.lift(new NgDocZoneDetachSourceOperator<T>(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nfunction zoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.runOutsideAngular(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.runOutsideAngular(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.runOutsideAngular(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneAttach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn (source: Observable<T>) =>\n\t\tnew Observable((subscriber: Subscriber<T>) =>\n\t\t\tsource.subscribe({\n\t\t\t\tnext: (value: T) => ngZone.run(() => subscriber.next(value)),\n\t\t\t\terror: (error: unknown) => ngZone.run(() => subscriber.error(error)),\n\t\t\t\tcomplete: () => ngZone.run(() => subscriber.complete()),\n\t\t\t}),\n\t\t);\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneDetach<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn pipe(zoneDetach(ngZone), zoneDetachSource(ngZone));\n}\n\n/**\n *\n * @param ngZone\n */\nexport function ngDocZoneOptimize<T>(ngZone: NgZone): MonoTypeOperatorFunction<T> {\n\treturn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