@cuby-ui/core 0.0.203 → 0.0.205

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.
@@ -10,7 +10,7 @@ export declare class CuiButtonComponent implements CuiButtonOptions, OnInit {
10
10
  protected readonly AppearanceIconColors: Record<CuiButtonOptions['appearance'], string>;
11
11
  protected readonly COLOR_BASE_500 = "var(--cui-base-500)";
12
12
  protected readonly BUTTON_ICONS_COLOR_BASE_500: CuiButtonOptions['appearance'][];
13
- protected _appearance: "flat" | "action" | "link" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
13
+ protected _appearance: "action" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "flat" | "destructive" | "link";
14
14
  protected iconColor: string;
15
15
  protected _size: "xxs" | "xs" | "sm" | "md";
16
16
  protected iconDimensions: {
@@ -1 +1,2 @@
1
1
  export { CuiReadonlyDescriptionComponent } from './readonly-description.component';
2
+ export { CuiReadonlyEditorConfig } from './readonly-description.options';
@@ -1,17 +1,21 @@
1
1
  import { TemplateRef } from '@angular/core';
2
- import { CuiEditorComponent, CuiTools } from '@cuby-ui/editor';
2
+ import { CuiEditorComponent } from '@cuby-ui/editor';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class CuiReadonlyDescriptionComponent {
5
5
  protected readonly isShowMore: import("@angular/core").WritableSignal<boolean>;
6
6
  protected readonly isMoreButtonShown: import("@angular/core").WritableSignal<boolean>;
7
- protected readonly config: import("@angular/core").Signal<{
7
+ protected readonly editorConfig: import("@angular/core").Signal<{
8
+ tools?: import("@cuby-ui/editor").CuiTools;
8
9
  readOnly: boolean;
9
- tools: CuiTools;
10
+ autofocus?: boolean;
11
+ element?: HTMLElement;
10
12
  withoutPreload: boolean;
13
+ placeholder?: string;
14
+ readonlyPlaceholder?: string;
11
15
  }>;
12
16
  protected readonly editor: import("@angular/core").Signal<CuiEditorComponent>;
13
17
  readonly editorId: import("@angular/core").InputSignal<string>;
14
- readonly tools: import("@angular/core").InputSignal<CuiTools>;
18
+ readonly config: import("@angular/core").InputSignal<import("@cuby-ui/editor").CuiEditorConfig>;
15
19
  readonly buttonTemplate: import("@angular/core").InputSignal<TemplateRef<unknown>>;
16
20
  readonly shortHeight: import("@angular/core").InputSignal<number>;
17
21
  constructor();
@@ -19,5 +23,5 @@ export declare class CuiReadonlyDescriptionComponent {
19
23
  private initReadEditorProperty;
20
24
  private initEditorIdEffect;
21
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CuiReadonlyDescriptionComponent, never>;
22
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiReadonlyDescriptionComponent, "cui-readonly-description", never, { "editorId": { "alias": "editorId"; "required": true; "isSignal": true; }; "tools": { "alias": "tools"; "required": true; "isSignal": true; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": true; "isSignal": true; }; "shortHeight": { "alias": "shortHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiReadonlyDescriptionComponent, "cui-readonly-description", never, { "editorId": { "alias": "editorId"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": true; "isSignal": true; }; "buttonTemplate": { "alias": "buttonTemplate"; "required": true; "isSignal": true; }; "shortHeight": { "alias": "shortHeight"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
23
27
  }
@@ -0,0 +1,5 @@
1
+ import { CuiEditorConfig } from "@cuby-ui/editor";
2
+ export type CuiReadonlyEditorConfig = Exclude<CuiEditorConfig, {
3
+ readOnly: boolean;
4
+ withoutPreload: boolean;
5
+ }>;
@@ -4,7 +4,7 @@ import { CuiPositionService } from '../../services';
4
4
  import { CuiTooltipDirective } from './tooltip.directive';
5
5
  import { CuiTooltipPointer } from './tooltip-pointer.directive';
6
6
  import * as i0 from "@angular/core";
7
- export declare const CUI_TOOLTIP_PROVIDERS: (import("@angular/core").FactoryProvider | typeof CuiHoveredService | typeof CuiPositionService)[];
7
+ export declare const CUI_TOOLTIP_PROVIDERS: (import("@angular/core").FactoryProvider | typeof CuiPositionService | typeof CuiHoveredService)[];
8
8
  export declare class CuiTooltipComponent<C = any> {
9
9
  private readonly el;
10
10
  private readonly hover;
@@ -1,2 +1,2 @@
1
1
  export { CuiReadonlyDescriptionComponent } from './readonly-description.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcmVhZG9ubHktZGVzY3JpcHRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlSZWFkb25seURlc2NyaXB0aW9uQ29tcG9uZW50IH0gZnJvbSAnLi9yZWFkb25seS1kZXNjcmlwdGlvbi5jb21wb25lbnQnO1xyXG4iXX0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvcmVhZG9ubHktZGVzY3JpcHRpb24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLCtCQUErQixFQUFFLE1BQU0sa0NBQWtDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDdWlSZWFkb25seURlc2NyaXB0aW9uQ29tcG9uZW50IH0gZnJvbSAnLi9yZWFkb25seS1kZXNjcmlwdGlvbi5jb21wb25lbnQnO1xyXG5leHBvcnQgeyBDdWlSZWFkb25seUVkaXRvckNvbmZpZyB9IGZyb20gJy4vcmVhZG9ubHktZGVzY3JpcHRpb24ub3B0aW9ucyc7XHJcbiJdfQ==
@@ -1,17 +1,15 @@
1
1
  import { NgTemplateOutlet } from '@angular/common';
2
2
  import { afterRender, ChangeDetectionStrategy, Component, computed, effect, input, signal, viewChild } from '@angular/core';
3
3
  import { CuiEditorComponent } from '@cuby-ui/editor';
4
- import { CuiButtonModule } from 'projects/core';
5
4
  import * as i0 from "@angular/core";
6
- import * as i1 from "../button/button.component";
7
5
  export class CuiReadonlyDescriptionComponent {
8
6
  constructor() {
9
7
  this.isShowMore = signal(false);
10
8
  this.isMoreButtonShown = signal(false);
11
- this.config = computed(() => ({ readOnly: true, tools: this.tools(), withoutPreload: true }));
9
+ this.editorConfig = computed(() => ({ readOnly: true, withoutPreload: true, ...this.config() }));
12
10
  this.editor = viewChild.required('editor');
13
11
  this.editorId = input.required();
14
- this.tools = input.required();
12
+ this.config = input.required();
15
13
  this.buttonTemplate = input.required();
16
14
  this.shortHeight = input(68);
17
15
  this.initEditorIdEffect();
@@ -33,10 +31,10 @@ export class CuiReadonlyDescriptionComponent {
33
31
  }, { allowSignalWrites: true });
34
32
  }
35
33
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CuiReadonlyDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
36
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: CuiReadonlyDescriptionComponent, isStandalone: true, selector: "cui-readonly-description", inputs: { editorId: { classPropertyName: "editorId", publicName: "editorId", isSignal: true, isRequired: true, transformFunction: null }, tools: { classPropertyName: "tools", publicName: "tools", isSignal: true, isRequired: true, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: true, isRequired: true, transformFunction: null }, shortHeight: { classPropertyName: "shortHeight", publicName: "shortHeight", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "editor", first: true, predicate: ["editor"], descendants: true, isSignal: true }], ngImport: i0, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"config()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button\r\n type=\"button\"\r\n cuiButton\r\n size=\"xxs\"\r\n appearance=\"flat\"\r\n class=\"button\"\r\n (click)=\"onShow(editor)\"\r\n >\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.button{width:max-content}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule }, { kind: "component", type: i1.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "size"] }, { kind: "component", type: CuiEditorComponent, selector: "cui-editor", inputs: ["editorID", "config", "requestSize"], outputs: ["editorEmpty"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
34
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: CuiReadonlyDescriptionComponent, isStandalone: true, selector: "cui-readonly-description", inputs: { editorId: { classPropertyName: "editorId", publicName: "editorId", isSignal: true, isRequired: true, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: true, isRequired: true, transformFunction: null }, shortHeight: { classPropertyName: "shortHeight", publicName: "shortHeight", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "editor", first: true, predicate: ["editor"], descendants: true, isSignal: true }], ngImport: i0, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"editorConfig()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button class=\"c-button\" (click)=\"onShow(editor)\">\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.c-button{padding:0}\n"], dependencies: [{ kind: "component", type: CuiEditorComponent, selector: "cui-editor", inputs: ["editorID", "config", "requestSize"], outputs: ["editorEmpty"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
37
35
  }
38
36
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CuiReadonlyDescriptionComponent, decorators: [{
39
37
  type: Component,
40
- args: [{ selector: 'cui-readonly-description', standalone: true, imports: [CuiButtonModule, CuiEditorComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"config()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button\r\n type=\"button\"\r\n cuiButton\r\n size=\"xxs\"\r\n appearance=\"flat\"\r\n class=\"button\"\r\n (click)=\"onShow(editor)\"\r\n >\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.button{width:max-content}\n"] }]
38
+ args: [{ selector: 'cui-readonly-description', standalone: true, imports: [CuiEditorComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"editorConfig()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button class=\"c-button\" (click)=\"onShow(editor)\">\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.c-button{padding:0}\n"] }]
41
39
  }], ctorParameters: () => [] });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZG9ubHktZGVzY3JpcHRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3JlYWRvbmx5LWRlc2NyaXB0aW9uL3JlYWRvbmx5LWRlc2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9yZWFkb25seS1kZXNjcmlwdGlvbi9yZWFkb25seS1kZXNjcmlwdGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQU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YWxXcml0ZXM6IHRydWUgfSk7XHJcbiAgfVxyXG59XHJcbiIsIjxjdWktZWRpdG9yXHJcbiAgICAjZWRpdG9yXHJcbiAgICBjbGFzcz1cImVkaXRvclwiXHJcbiAgICBbY2xhc3MuZWRpdG9yX29wZW5lZF09XCJpc1Nob3dNb3JlKClcIlxyXG4gICAgW2VkaXRvcklEXT1cImVkaXRvcklkKClcIlxyXG4gICAgW2NvbmZpZ109XCJlZGl0b3JDb25maWcoKVwiXHJcbi8+XHJcbkBpZiAoaXNNb3JlQnV0dG9uU2hvd24oKSkge1xyXG4gIDxidXR0b24gY2xhc3M9XCJjLWJ1dHRvblwiIChjbGljayk9XCJvblNob3coZWRpdG9yKVwiPlxyXG4gICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImJ1dHRvblRlbXBsYXRlKClcIiBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyAkaW1wbGljaXQ6IGlzU2hvd01vcmUgfVwiPjwvbmctY29udGFpbmVyPlxyXG4gIDwvYnV0dG9uPlxyXG59XHJcbiJdfQ==
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZG9ubHktZGVzY3JpcHRpb24ub3B0aW9ucy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9yZWFkb25seS1kZXNjcmlwdGlvbi9yZWFkb25seS1kZXNjcmlwdGlvbi5vcHRpb25zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDdWlFZGl0b3JDb25maWcgfSBmcm9tIFwiQGN1YnktdWkvZWRpdG9yXCI7XHJcblxyXG5leHBvcnQgdHlwZSBDdWlSZWFkb25seUVkaXRvckNvbmZpZyA9IEV4Y2x1ZGU8Q3VpRWRpdG9yQ29uZmlnLCB7IHJlYWRPbmx5OiBib29sZWFuLCB3aXRob3V0UHJlbG9hZDogYm9vbGVhbiB9PlxyXG4iXX0=
@@ -18,7 +18,6 @@ import { maskitoParseNumber, maskitoNumberOptionsGenerator, maskitoTimeOptionsGe
18
18
  import * as i3 from '@maskito/angular';
19
19
  import { MaskitoDirective } from '@maskito/angular';
20
20
  import { CuiEditorComponent } from '@cuby-ui/editor';
21
- import { CuiButtonModule as CuiButtonModule$1 } from 'projects/core';
22
21
  import { HttpErrorResponse } from '@angular/common/http';
23
22
 
24
23
  class CuiAccordionComponent {
@@ -3324,10 +3323,10 @@ class CuiReadonlyDescriptionComponent {
3324
3323
  constructor() {
3325
3324
  this.isShowMore = signal(false);
3326
3325
  this.isMoreButtonShown = signal(false);
3327
- this.config = computed(() => ({ readOnly: true, tools: this.tools(), withoutPreload: true }));
3326
+ this.editorConfig = computed(() => ({ readOnly: true, withoutPreload: true, ...this.config() }));
3328
3327
  this.editor = viewChild.required('editor');
3329
3328
  this.editorId = input.required();
3330
- this.tools = input.required();
3329
+ this.config = input.required();
3331
3330
  this.buttonTemplate = input.required();
3332
3331
  this.shortHeight = input(68);
3333
3332
  this.initEditorIdEffect();
@@ -3349,11 +3348,11 @@ class CuiReadonlyDescriptionComponent {
3349
3348
  }, { allowSignalWrites: true });
3350
3349
  }
3351
3350
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CuiReadonlyDescriptionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
3352
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: CuiReadonlyDescriptionComponent, isStandalone: true, selector: "cui-readonly-description", inputs: { editorId: { classPropertyName: "editorId", publicName: "editorId", isSignal: true, isRequired: true, transformFunction: null }, tools: { classPropertyName: "tools", publicName: "tools", isSignal: true, isRequired: true, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: true, isRequired: true, transformFunction: null }, shortHeight: { classPropertyName: "shortHeight", publicName: "shortHeight", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "editor", first: true, predicate: ["editor"], descendants: true, isSignal: true }], ngImport: i0, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"config()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button\r\n type=\"button\"\r\n cuiButton\r\n size=\"xxs\"\r\n appearance=\"flat\"\r\n class=\"button\"\r\n (click)=\"onShow(editor)\"\r\n >\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.button{width:max-content}\n"], dependencies: [{ kind: "ngmodule", type: CuiButtonModule$1 }, { kind: "component", type: CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["shape", "disabled", "isLoaderShown", "icon", "iconRight", "appearance", "size"] }, { kind: "component", type: CuiEditorComponent, selector: "cui-editor", inputs: ["editorID", "config", "requestSize"], outputs: ["editorEmpty"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3351
+ static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: CuiReadonlyDescriptionComponent, isStandalone: true, selector: "cui-readonly-description", inputs: { editorId: { classPropertyName: "editorId", publicName: "editorId", isSignal: true, isRequired: true, transformFunction: null }, config: { classPropertyName: "config", publicName: "config", isSignal: true, isRequired: true, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: true, isRequired: true, transformFunction: null }, shortHeight: { classPropertyName: "shortHeight", publicName: "shortHeight", isSignal: true, isRequired: false, transformFunction: null } }, viewQueries: [{ propertyName: "editor", first: true, predicate: ["editor"], descendants: true, isSignal: true }], ngImport: i0, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"editorConfig()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button class=\"c-button\" (click)=\"onShow(editor)\">\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.c-button{padding:0}\n"], dependencies: [{ kind: "component", type: CuiEditorComponent, selector: "cui-editor", inputs: ["editorID", "config", "requestSize"], outputs: ["editorEmpty"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
3353
3352
  }
3354
3353
  i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: CuiReadonlyDescriptionComponent, decorators: [{
3355
3354
  type: Component,
3356
- args: [{ selector: 'cui-readonly-description', standalone: true, imports: [CuiButtonModule$1, CuiEditorComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"config()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button\r\n type=\"button\"\r\n cuiButton\r\n size=\"xxs\"\r\n appearance=\"flat\"\r\n class=\"button\"\r\n (click)=\"onShow(editor)\"\r\n >\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.button{width:max-content}\n"] }]
3355
+ args: [{ selector: 'cui-readonly-description', standalone: true, imports: [CuiEditorComponent, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<cui-editor\r\n #editor\r\n class=\"editor\"\r\n [class.editor_opened]=\"isShowMore()\"\r\n [editorID]=\"editorId()\"\r\n [config]=\"editorConfig()\"\r\n/>\r\n@if (isMoreButtonShown()) {\r\n <button class=\"c-button\" (click)=\"onShow(editor)\">\r\n <ng-container [ngTemplateOutlet]=\"buttonTemplate()\" [ngTemplateOutletContext]=\"{ $implicit: isShowMore }\"></ng-container>\r\n </button>\r\n}\r\n", styles: [":host{--height: 68px;--fullHeight: 500px;display:flex;flex-direction:column;gap:8px}:host .editor{display:block;max-height:var(--height);overflow:hidden}:host .editor_opened{max-height:var(--fullHeight);overflow:hidden auto}.c-button{padding:0}\n"] }]
3357
3356
  }], ctorParameters: () => [] });
3358
3357
 
3359
3358
  class CuiSelectComponent {