@cuby-ui/core 0.0.203 → 0.0.204
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.
- package/components/button/button.component.d.ts +1 -1
- package/directives/tooltip/tooltip.component.d.ts +1 -1
- package/esm2022/components/readonly-description/readonly-description.component.mjs +3 -5
- package/fesm2022/cuby-ui-core.mjs +2 -3
- package/fesm2022/cuby-ui-core.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -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: "
|
|
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: {
|
|
@@ -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
|
|
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,9 +1,7 @@
|
|
|
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);
|
|
@@ -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
|
|
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 }, 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 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: [
|
|
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]=\"config()\"\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,
|
|
40
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVhZG9ubHktZGVzY3JpcHRpb24uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL3JlYWRvbmx5LWRlc2NyaXB0aW9uL3JlYWRvbmx5LWRlc2NyaXB0aW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9yZWFkb25seS1kZXNjcmlwdGlvbi9yZWFkb25seS1kZXNjcmlwdGlvbi5jb21wb25lbnQuaHRtbCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNuRCxPQUFPLEVBQ0gsV0FBVyxFQUNYLHVCQUF1QixFQUN2QixTQUFTLEVBQ1QsUUFBUSxFQUNSLE1BQU0sRUFDTixLQUFLLEVBQ0wsTUFBTSxFQUVOLFNBQVMsRUFDWixNQUFNLGVBQWUsQ0FBQztBQUN2QixPQUFPLEVBQUUsa0JBQWt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0b3JJZCgpO1xyXG4gICAgICAgICAgdGhpcy5pc1Nob3dNb3JlLnNldChmYWxzZSk7XHJcbiAgICAgIH0sIHsgYWxsb3dTaWduYWxXcml0ZXM6IHRydWUgfSk7XHJcbiAgfVxyXG59XHJcbiIsIjxjdWktZWRpdG9yXHJcbiAgICAjZWRpdG9yXHJcbiAgICBjbGFzcz1cImVkaXRvclwiXHJcbiAgICBbY2xhc3MuZWRpdG9yX29wZW5lZF09XCJpc1Nob3dNb3JlKClcIlxyXG4gICAgW2VkaXRvcklEXT1cImVkaXRvcklkKClcIlxyXG4gICAgW2NvbmZpZ109XCJjb25maWcoKVwiXHJcbi8+XHJcbkBpZiAoaXNNb3JlQnV0dG9uU2hvd24oKSkge1xyXG4gIDxidXR0b24gY2xhc3M9XCJjLWJ1dHRvblwiIChjbGljayk9XCJvblNob3coZWRpdG9yKVwiPlxyXG4gICAgICA8bmctY29udGFpbmVyIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImJ1dHRvblRlbXBsYXRlKClcIiBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyAkaW1wbGljaXQ6IGlzU2hvd01vcmUgfVwiPjwvbmctY29udGFpbmVyPlxyXG4gIDwvYnV0dG9uPlxyXG59XHJcbiJdfQ==
|
|
@@ -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 {
|
|
@@ -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
|
|
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 }, 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 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: [
|
|
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]=\"config()\"\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 {
|