@cuby-ui/core 0.0.5 → 0.0.6

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/components/accordion/accordion-item/accordion-item.component.d.ts +7 -0
  2. package/components/accordion/accordion.component.d.ts +5 -0
  3. package/components/accordion/accordion.module.d.ts +11 -0
  4. package/components/accordion/index.d.ts +3 -0
  5. package/components/button/button.component.d.ts +28 -29
  6. package/components/button/button.module.d.ts +9 -9
  7. package/components/button/button.options.d.ts +8 -8
  8. package/components/button/index.d.ts +3 -3
  9. package/components/context-menu/context-menu.component.d.ts +27 -0
  10. package/components/context-menu/context-menu.module.d.ts +9 -0
  11. package/components/context-menu/index.d.ts +2 -0
  12. package/components/hint/hint.component.d.ts +7 -0
  13. package/components/hint/hint.module.d.ts +7 -0
  14. package/components/hint/index.d.ts +2 -0
  15. package/components/icon-button/icon-button.component.d.ts +14 -5
  16. package/components/icon-button/icon-button.module.d.ts +9 -8
  17. package/components/icon-button/index.d.ts +2 -2
  18. package/components/index.d.ts +11 -3
  19. package/components/input-number/index.d.ts +2 -0
  20. package/components/input-number/input-number.component.d.ts +50 -0
  21. package/components/input-number/input-number.module.d.ts +10 -0
  22. package/components/input-number/input-number.options.d.ts +9 -0
  23. package/components/input-password/index.d.ts +2 -0
  24. package/components/input-password/input-password.component.d.ts +27 -0
  25. package/components/input-password/input-password.module.d.ts +10 -0
  26. package/components/input-text/index.d.ts +2 -0
  27. package/components/input-text/input-text.component.d.ts +26 -0
  28. package/components/input-text/input-text.module.d.ts +10 -0
  29. package/components/label/index.d.ts +2 -0
  30. package/components/label/label.component.d.ts +6 -0
  31. package/components/label/label.module.d.ts +8 -0
  32. package/components/svg/index.d.ts +2 -2
  33. package/components/svg/svg.component.d.ts +19 -19
  34. package/components/svg/svg.module.d.ts +8 -8
  35. package/components/textarea/index.d.ts +2 -0
  36. package/components/textarea/textarea.component.d.ts +8 -0
  37. package/components/textarea/textarea.module.d.ts +7 -0
  38. package/esm2020/components/accordion/accordion-item/accordion-item.component.mjs +19 -0
  39. package/esm2020/components/accordion/accordion.component.mjs +11 -0
  40. package/esm2020/components/accordion/accordion.module.mjs +37 -0
  41. package/esm2020/components/accordion/index.mjs +4 -0
  42. package/esm2020/components/button/button.component.mjs +92 -97
  43. package/esm2020/components/button/button.module.mjs +24 -24
  44. package/esm2020/components/button/button.options.mjs +9 -9
  45. package/esm2020/components/button/index.mjs +4 -4
  46. package/esm2020/components/context-menu/context-menu.component.mjs +94 -0
  47. package/esm2020/components/context-menu/context-menu.module.mjs +24 -0
  48. package/esm2020/components/context-menu/index.mjs +3 -0
  49. package/esm2020/components/hint/hint.component.mjs +19 -0
  50. package/esm2020/components/hint/hint.module.mjs +16 -0
  51. package/esm2020/components/hint/index.mjs +3 -0
  52. package/esm2020/components/icon-button/icon-button.component.mjs +41 -11
  53. package/esm2020/components/icon-button/icon-button.module.mjs +24 -20
  54. package/esm2020/components/icon-button/index.mjs +3 -3
  55. package/esm2020/components/index.mjs +12 -4
  56. package/esm2020/components/input-number/index.mjs +3 -0
  57. package/esm2020/components/input-number/input-number.component.mjs +187 -0
  58. package/esm2020/components/input-number/input-number.module.mjs +20 -0
  59. package/esm2020/components/input-number/input-number.options.mjs +11 -0
  60. package/esm2020/components/input-password/index.mjs +3 -0
  61. package/esm2020/components/input-password/input-password.component.mjs +74 -0
  62. package/esm2020/components/input-password/input-password.module.mjs +28 -0
  63. package/esm2020/components/input-text/index.mjs +3 -0
  64. package/esm2020/components/input-text/input-text.component.mjs +72 -0
  65. package/esm2020/components/input-text/input-text.module.mjs +28 -0
  66. package/esm2020/components/label/index.mjs +3 -0
  67. package/esm2020/components/label/label.component.mjs +17 -0
  68. package/esm2020/components/label/label.module.mjs +18 -0
  69. package/esm2020/components/svg/index.mjs +3 -3
  70. package/esm2020/components/svg/svg.component.mjs +48 -45
  71. package/esm2020/components/svg/svg.module.mjs +18 -18
  72. package/esm2020/components/textarea/index.mjs +3 -0
  73. package/esm2020/components/textarea/textarea.component.mjs +28 -0
  74. package/esm2020/components/textarea/textarea.module.mjs +16 -0
  75. package/esm2020/cuby-ui-core.mjs +4 -4
  76. package/esm2020/index.mjs +5 -3
  77. package/esm2020/interfaces/context-menu-item.mjs +2 -0
  78. package/esm2020/interfaces/index.mjs +2 -0
  79. package/esm2020/types/appearance.mjs +2 -2
  80. package/esm2020/types/hint-type.mjs +2 -0
  81. package/esm2020/types/index.mjs +4 -3
  82. package/esm2020/types/size.mjs +2 -2
  83. package/esm2020/utils/format/index.mjs +3 -0
  84. package/esm2020/utils/format/remove-spaces.mjs +4 -0
  85. package/esm2020/utils/format/replace.mjs +5 -0
  86. package/esm2020/utils/index.mjs +2 -0
  87. package/fesm2015/cuby-ui-core.mjs +879 -196
  88. package/fesm2015/cuby-ui-core.mjs.map +1 -1
  89. package/fesm2020/cuby-ui-core.mjs +876 -194
  90. package/fesm2020/cuby-ui-core.mjs.map +1 -1
  91. package/fonts/Inter-Bold.eot +0 -0
  92. package/fonts/Inter-Bold.otf +0 -0
  93. package/fonts/Inter-Bold.svg +25443 -0
  94. package/fonts/Inter-Bold.ttf +0 -0
  95. package/fonts/Inter-Bold.woff +0 -0
  96. package/fonts/Inter-Bold.woff2 +0 -0
  97. package/fonts/Inter-Medium.eot +0 -0
  98. package/fonts/Inter-Medium.otf +0 -0
  99. package/fonts/Inter-Medium.svg +25400 -0
  100. package/fonts/Inter-Medium.woff +0 -0
  101. package/fonts/Inter-Medium.woff2 +0 -0
  102. package/fonts/Inter-Regular.eot +0 -0
  103. package/fonts/Inter-Regular.otf +0 -0
  104. package/fonts/Inter-Regular.svg +24341 -0
  105. package/fonts/Inter-Regular.ttf +0 -0
  106. package/fonts/Inter-Regular.woff +0 -0
  107. package/fonts/Inter-Regular.woff2 +0 -0
  108. package/fonts/Inter-SemiBold.eot +0 -0
  109. package/fonts/Inter-SemiBold.otf +0 -0
  110. package/fonts/Inter-SemiBold.svg +25459 -0
  111. package/fonts/Inter-SemiBold.ttf +0 -0
  112. package/fonts/Inter-SemiBold.woff +0 -0
  113. package/fonts/Inter-SemiBold.woff2 +0 -0
  114. package/index.d.ts +4 -2
  115. package/interfaces/context-menu-item.d.ts +6 -0
  116. package/interfaces/index.d.ts +1 -0
  117. package/package.json +4 -2
  118. package/styles/fonts.scss +51 -0
  119. package/styles/global.scss +8 -0
  120. package/styles/mixins/buttons.scss +10 -0
  121. package/styles/mixins/inputs.scss +77 -0
  122. package/styles/mixins/lists.scss +5 -0
  123. package/styles/mixins/paddings.scss +35 -0
  124. package/styles/mixins/shadows.scss +37 -0
  125. package/styles/mixins/texts.scss +219 -15
  126. package/styles/{cui-ui-theme.scss → theme.scss} +49 -37
  127. package/styles/variables/colors.scss +45 -33
  128. package/types/appearance.d.ts +7 -7
  129. package/types/hint-type.d.ts +1 -0
  130. package/types/index.d.ts +3 -2
  131. package/types/size.d.ts +4 -4
  132. package/utils/format/index.d.ts +2 -0
  133. package/utils/format/remove-spaces.d.ts +1 -0
  134. package/utils/format/replace.d.ts +1 -0
  135. package/utils/index.d.ts +1 -0
  136. package/styles/cuby-ui-global.scss +0 -5
  137. package/styles/cui-ui-fonts.scss +0 -6
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiAccordionItemComponent {
3
+ protected isOpen: boolean;
4
+ protected onRowToggle(): void;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiAccordionItemComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiAccordionItemComponent, "cui-accordion-item", never, {}, {}, never, ["*", "[cuiAccordionItemContent]"], false, never>;
7
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiAccordionComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiAccordionComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiAccordionComponent, "cui-accordion", never, {}, {}, never, ["cui-accordion-item"], false, never>;
5
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./accordion.component";
3
+ import * as i2 from "./accordion-item/accordion-item.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "../svg/svg.module";
6
+ import * as i5 from "../button/button.module";
7
+ export declare class CuiAccordionModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiAccordionModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiAccordionModule, [typeof i1.CuiAccordionComponent, typeof i2.CuiAccordionItemComponent], [typeof i3.CommonModule, typeof i4.CuiSvgModule, typeof i5.CuiButtonModule], [typeof i1.CuiAccordionComponent, typeof i2.CuiAccordionItemComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiAccordionModule>;
11
+ }
@@ -0,0 +1,3 @@
1
+ export * from './accordion.component';
2
+ export * from './accordion.module';
3
+ export * from './accordion-item/accordion-item.component';
@@ -1,29 +1,28 @@
1
- import { AfterViewInit, ChangeDetectorRef, ElementRef } from '@angular/core';
2
- import { CuiButtonOptions } from './button.options';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiButtonComponent implements AfterViewInit, CuiButtonOptions {
5
- private readonly changeDetectorRef;
6
- private readonly cuiButtonOptions;
7
- CUI_ICON_LOADING: string;
8
- _size: "xxs" | "xs" | "sm" | "md";
9
- svgOptions: {
10
- width: number;
11
- height: number;
12
- strokeWidth: number;
13
- };
14
- appearance: "link" | "primary" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
15
- disabled: boolean;
16
- isLoaderShown: boolean;
17
- icon?: string;
18
- iconRight?: string;
19
- get size(): CuiButtonOptions['size'];
20
- set size(size: CuiButtonOptions['size']);
21
- containsOnlyIcon: boolean;
22
- get isDisabled(): boolean;
23
- content: ElementRef<HTMLSpanElement>;
24
- constructor(changeDetectorRef: ChangeDetectorRef, cuiButtonOptions: CuiButtonOptions);
25
- ngAfterViewInit(): void;
26
- private initContainsOnlyIcon;
27
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonComponent, "button[cuiButton], a[cuiButton]", never, { "appearance": "appearance"; "disabled": "disabled"; "isLoaderShown": "isLoaderShown"; "icon": "icon"; "iconRight": "iconRight"; "size": "size"; }, {}, never, ["*"], false, never>;
29
- }
1
+ import { AfterViewInit, ElementRef } from '@angular/core';
2
+ import { CuiIcon } from '@cuby-ui/icons';
3
+ import { CuiButtonOptions } from './button.options';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiButtonComponent implements CuiButtonOptions, AfterViewInit {
6
+ private readonly changeDetectorRef;
7
+ private readonly cuiButtonOptions;
8
+ protected _size: "xxs" | "xs" | "sm" | "md";
9
+ protected svgOptions: {
10
+ width: number;
11
+ height: number;
12
+ strokeWidth: number;
13
+ };
14
+ appearance: "link" | "accent" | "secondary" | "outlined" | "outlined-gray" | "ghost" | "destructive";
15
+ disabled: boolean;
16
+ isLoaderShown: boolean;
17
+ icon?: CuiIcon | string;
18
+ iconRight?: string;
19
+ get size(): CuiButtonOptions['size'];
20
+ set size(size: CuiButtonOptions['size']);
21
+ protected containsOnlyIcon: boolean;
22
+ protected get isDisabled(): boolean;
23
+ protected content: ElementRef<HTMLSpanElement>;
24
+ ngAfterViewInit(): void;
25
+ private initContainsOnlyIcon;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiButtonComponent, "button[cuiButton], a[cuiButton]", never, { "appearance": "appearance"; "disabled": "disabled"; "isLoaderShown": "isLoaderShown"; "icon": "icon"; "iconRight": "iconRight"; "size": "size"; }, {}, never, ["*"], false, never>;
28
+ }
@@ -1,9 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./button.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "../svg/svg.module";
5
- export declare class CuiButtonModule {
6
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonModule, [typeof i1.CuiButtonComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiButtonComponent]>;
8
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonModule>;
9
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiButtonModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiButtonModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiButtonModule, [typeof i1.CuiButtonComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiButtonComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiButtonModule>;
9
+ }
@@ -1,8 +1,8 @@
1
- import { InjectionToken } from '@angular/core';
2
- import { CuiAppearanceDestructive, CuiAppearanceGhost, CuiAppearanceLink, CuiAppearanceOutlined, CuiAppearanceOutlinedGray, CuiAppearancePrimary, CuiAppearanceSecondary, CuiSizeMd, CuiSizeSm, CuiSizeXs, CuiSizeXxs } from '../../types';
3
- export interface CuiButtonOptions {
4
- readonly appearance: CuiAppearancePrimary | CuiAppearanceSecondary | CuiAppearanceOutlined | CuiAppearanceOutlinedGray | CuiAppearanceGhost | CuiAppearanceDestructive | CuiAppearanceLink;
5
- readonly size: CuiSizeXxs | CuiSizeXs | CuiSizeSm | CuiSizeMd;
6
- }
7
- export declare const CUI_BUTTON_DEFAULT_OPTIONS: CuiButtonOptions;
8
- export declare const CUI_BUTTON_OPTIONS: InjectionToken<CuiButtonOptions>;
1
+ import { InjectionToken } from '@angular/core';
2
+ import { CuiAppearanceAccent, CuiAppearanceDestructive, CuiAppearanceGhost, CuiAppearanceLink, CuiAppearanceOutlined, CuiAppearanceOutlinedGray, CuiAppearanceSecondary, CuiSizeMd, CuiSizeSm, CuiSizeXs, CuiSizeXxs } from '../../types';
3
+ export interface CuiButtonOptions {
4
+ readonly appearance: CuiAppearanceAccent | CuiAppearanceSecondary | CuiAppearanceOutlined | CuiAppearanceOutlinedGray | CuiAppearanceGhost | CuiAppearanceDestructive | CuiAppearanceLink;
5
+ readonly size: CuiSizeXxs | CuiSizeXs | CuiSizeSm | CuiSizeMd;
6
+ }
7
+ export declare const CUI_BUTTON_DEFAULT_OPTIONS: CuiButtonOptions;
8
+ export declare const CUI_BUTTON_OPTIONS: InjectionToken<CuiButtonOptions>;
@@ -1,3 +1,3 @@
1
- export * from './button.component';
2
- export * from './button.module';
3
- export * from './button.options';
1
+ export * from './button.component';
2
+ export * from './button.module';
3
+ export * from './button.options';
@@ -0,0 +1,27 @@
1
+ import { AfterViewInit, OnDestroy } from '@angular/core';
2
+ import { CuiContextMenuItem } from '../../interfaces';
3
+ import * as i0 from "@angular/core";
4
+ export declare class CuiContextMenuComponent implements AfterViewInit, OnDestroy {
5
+ private readonly changeDetectorRef;
6
+ private readonly element;
7
+ private readonly document;
8
+ private readonly documentElement;
9
+ private readonly window;
10
+ protected isVisible: boolean;
11
+ protected targetEventListener: (event: MouseEvent) => void;
12
+ items: CuiContextMenuItem[];
13
+ target: HTMLElement;
14
+ isHidden: boolean;
15
+ protected pageX?: number;
16
+ protected pageY?: number;
17
+ ngAfterViewInit(): void;
18
+ ngOnDestroy(): void;
19
+ protected onSelect(item: CuiContextMenuItem): void;
20
+ protected onClickOutside(target: HTMLElement): void;
21
+ protected trackByFn(_: number, item: CuiContextMenuItem): string;
22
+ private initTargetElementListener;
23
+ private destroyTargetElementListener;
24
+ private changePosition;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiContextMenuComponent, "cui-context-menu [items] [target]", never, { "items": "items"; "target": "target"; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./context-menu.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiContextMenuModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiContextMenuModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiContextMenuModule, [typeof i1.CuiContextMenuComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiContextMenuComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiContextMenuModule>;
9
+ }
@@ -0,0 +1,2 @@
1
+ export * from './context-menu.component';
2
+ export * from './context-menu.module';
@@ -0,0 +1,7 @@
1
+ import { CuiHintType } from '../../types';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiHintComponent {
4
+ hintType: CuiHintType;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiHintComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiHintComponent, "cui-hint", never, { "hintType": "hintType"; }, {}, never, ["*"], false, never>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./hint.component";
3
+ export declare class CuiHintModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiHintModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiHintModule, [typeof i1.CuiHintComponent], never, [typeof i1.CuiHintComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiHintModule>;
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from './hint.component';
2
+ export * from './hint.module';
@@ -1,5 +1,14 @@
1
- import * as i0 from "@angular/core";
2
- export declare class CuiIconButtonComponent {
3
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiIconButtonComponent, never>;
4
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiIconButtonComponent, "cui-icon-button", never, {}, {}, never, never, false, never>;
5
- }
1
+ import { CuiIcon } from '@cuby-ui/icons';
2
+ import * as i0 from "@angular/core";
3
+ export declare class CuiIconButtonComponent {
4
+ protected readonly ICON_WIDTH = 16;
5
+ protected readonly ICON_HEIGHT = 16;
6
+ protected readonly ICON_STROKE_WIDTH = 1.5;
7
+ icon: CuiIcon | string;
8
+ color?: string;
9
+ hoverColor?: string;
10
+ protected get isWithColor(): boolean;
11
+ protected get isWithHoverColor(): boolean;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiIconButtonComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiIconButtonComponent, "button[cuiIconButton][icon], a[cuiIconButton][icon]", never, { "icon": "icon"; "color": "color"; "hoverColor": "hoverColor"; }, {}, never, never, false, never>;
14
+ }
@@ -1,8 +1,9 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./icon-button.component";
3
- import * as i2 from "@angular/common";
4
- export declare class CuiIconButtonModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiIconButtonModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiIconButtonModule, [typeof i1.CuiIconButtonComponent], [typeof i2.CommonModule], [typeof i1.CuiIconButtonComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiIconButtonModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./icon-button.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ export declare class CuiIconButtonModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiIconButtonModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiIconButtonModule, [typeof i1.CuiIconButtonComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule], [typeof i1.CuiIconButtonComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiIconButtonModule>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './icon-button.component';
2
- export * from './icon-button.module';
1
+ export * from './icon-button.component';
2
+ export * from './icon-button.module';
@@ -1,3 +1,11 @@
1
- export * from './button';
2
- export * from './svg';
3
- export * from './icon-button';
1
+ export * from './button';
2
+ export * from './svg';
3
+ export * from './icon-button';
4
+ export * from './input-text';
5
+ export * from './label';
6
+ export * from './hint';
7
+ export * from './input-number';
8
+ export * from './input-password';
9
+ export * from './textarea';
10
+ export * from './accordion';
11
+ export * from './context-menu';
@@ -0,0 +1,2 @@
1
+ export * from './input-number.component';
2
+ export * from './input-number.module';
@@ -0,0 +1,50 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
4
+ import { CuiInputNumberOptions } from './input-number.options';
5
+ import * as i0 from "@angular/core";
6
+ export declare class CuiInputNumberComponent implements CuiInputNumberOptions, ControlValueAccessor {
7
+ private readonly changeDetectorRef;
8
+ private readonly cuiInputNumberOptions;
9
+ protected readonly MIN_JS_NUMBER: number;
10
+ protected readonly MAX_JS_NUMBER: number;
11
+ protected readonly INPUT_VALUE_REGEX: RegExp;
12
+ protected readonly INTERVAL_BETWEEN_SPACES = 3;
13
+ protected formattedValue: string;
14
+ protected _min: number;
15
+ protected _max: number;
16
+ protected value: CuiNullable<string>;
17
+ protected onChange: CuiOnChange<number>;
18
+ protected onTouched: CuiOnTouched;
19
+ step: number;
20
+ precision: number;
21
+ isError: boolean;
22
+ inputId?: string;
23
+ inputPlaceholder?: string;
24
+ set min(value: number);
25
+ set max(value: number);
26
+ protected isDisabled: boolean;
27
+ protected input: ElementRef<HTMLInputElement>;
28
+ writeValue(value: CuiNullable<number>): void;
29
+ registerOnChange(fn: CuiOnChange<number>): void;
30
+ registerOnTouched(fn: CuiOnTouched): void;
31
+ setDisabledState(isDisabled: boolean): void;
32
+ protected onInput(event: Event): void;
33
+ protected onArrowUp(): void;
34
+ protected onArrowDown(): void;
35
+ protected onFocus(): void;
36
+ private isInputValueCorrect;
37
+ private isInputValueValid;
38
+ private isNumberValid;
39
+ private isPrecisionCountCorrect;
40
+ private parseValue;
41
+ private formatValue;
42
+ private insertSpacesWithInterval;
43
+ private changeModel;
44
+ private increaseByStep;
45
+ private decreaseByStep;
46
+ private calculateValidMinValue;
47
+ private calculateValidMaxValue;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputNumberComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputNumberComponent, "cui-input-number", never, { "step": "step"; "precision": "precision"; "isError": "isError"; "inputId": "inputId"; "inputPlaceholder": "inputPlaceholder"; "min": "min"; "max": "max"; }, {}, never, never, false, never>;
50
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-number.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../svg/svg.module";
5
+ import * as i4 from "@angular/forms";
6
+ export declare class CuiInputNumberModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputNumberModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputNumberModule, [typeof i1.CuiInputNumberComponent], [typeof i2.CommonModule, typeof i3.CuiSvgModule, typeof i4.FormsModule], [typeof i1.CuiInputNumberComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputNumberModule>;
10
+ }
@@ -0,0 +1,9 @@
1
+ import { InjectionToken } from '@angular/core';
2
+ export interface CuiInputNumberOptions {
3
+ readonly min: number;
4
+ readonly max: number;
5
+ readonly step: number;
6
+ readonly precision: number;
7
+ }
8
+ export declare const CUI_INPUT_NUMBER_DEFAULT_OPTIONS: CuiInputNumberOptions;
9
+ export declare const CUI_INPUT_NUMBER_OPTIONS: InjectionToken<CuiInputNumberOptions>;
@@ -0,0 +1,2 @@
1
+ export * from './input-password.component';
2
+ export * from './input-password.module';
@@ -0,0 +1,27 @@
1
+ import { ControlValueAccessor } from '@angular/forms';
2
+ import { CuiInputType, CuiNullable, CuiOnChange, CuiOnTouched } from '@cuby-ui/cdk';
3
+ import { CuiIcon } from '@cuby-ui/icons';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiInputPasswordComponent implements ControlValueAccessor {
6
+ private readonly changeDetectorRef;
7
+ protected isPasswordHidden: boolean;
8
+ protected value: CuiNullable<string>;
9
+ protected onChange: CuiOnChange<string>;
10
+ protected onTouched: CuiOnTouched;
11
+ isError: boolean;
12
+ inputId?: string;
13
+ inputPlaceholder?: string;
14
+ protected isDisabled: boolean;
15
+ protected get isToggleButtonShown(): boolean;
16
+ protected get icon(): CuiIcon;
17
+ protected get type(): CuiInputType;
18
+ protected get buttonTitle(): string;
19
+ writeValue(value: CuiNullable<string>): void;
20
+ registerOnChange(fn: CuiOnChange<string>): void;
21
+ registerOnTouched(fn: CuiOnTouched): void;
22
+ setDisabledState(isDisabled: boolean): void;
23
+ protected onInput({ target }: Event): void;
24
+ protected onTogglePasswordVisibility(): void;
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordComponent, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputPasswordComponent, "cui-input-password", never, { "isError": "isError"; "inputId": "inputId"; "inputPlaceholder": "inputPlaceholder"; }, {}, never, never, false, never>;
27
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-password.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../svg/svg.module";
6
+ export declare class CuiInputPasswordModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputPasswordModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputPasswordModule, [typeof i1.CuiInputPasswordComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputPasswordComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputPasswordModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './input-text.component';
2
+ export * from './input-text.module';
@@ -0,0 +1,26 @@
1
+ import { ElementRef } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { CuiOnChange, CuiOnTouched, CuiNullable } from '@cuby-ui/cdk';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiInputTextComponent implements ControlValueAccessor {
6
+ private changeDetectorRef;
7
+ protected value: CuiNullable<string>;
8
+ protected onChange: CuiOnChange<string>;
9
+ protected onTouched: CuiOnTouched;
10
+ isError: boolean;
11
+ inputId?: string;
12
+ inputPlaceholder?: string;
13
+ protected isDisabled: boolean;
14
+ protected input: ElementRef<HTMLInputElement>;
15
+ protected get isClearButtonShown(): boolean;
16
+ writeValue(value: CuiNullable<string>): void;
17
+ registerOnChange(fn: CuiOnChange<string>): void;
18
+ registerOnTouched(fn: CuiOnTouched): void;
19
+ setDisabledState(isDisabled: boolean): void;
20
+ protected onInput({ target }: Event): void;
21
+ protected onClear(): void;
22
+ protected onFocus(): void;
23
+ private changeModel;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputTextComponent, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiInputTextComponent, "cui-input-text", never, { "isError": "isError"; "inputId": "inputId"; "inputPlaceholder": "inputPlaceholder"; }, {}, never, never, false, never>;
26
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-text.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "@angular/forms";
5
+ import * as i4 from "../svg/svg.module";
6
+ export declare class CuiInputModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiInputModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiInputModule, [typeof i1.CuiInputTextComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i4.CuiSvgModule], [typeof i1.CuiInputTextComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiInputModule>;
10
+ }
@@ -0,0 +1,2 @@
1
+ export * from './label.component';
2
+ export * from './label.module';
@@ -0,0 +1,6 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CuiLabelComponent {
3
+ isRequired: boolean;
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelComponent, never>;
5
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiLabelComponent, "label[cuiLabel]", never, { "isRequired": "isRequired"; }, {}, never, ["*"], false, never>;
6
+ }
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./label.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class CuiLabelModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiLabelModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiLabelModule, [typeof i1.CuiLabelComponent], [typeof i2.CommonModule], [typeof i1.CuiLabelComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiLabelModule>;
8
+ }
@@ -1,2 +1,2 @@
1
- export * from './svg.component';
2
- export * from './svg.module';
1
+ export * from './svg.component';
2
+ export * from './svg.module';
@@ -1,19 +1,19 @@
1
- import { AfterViewInit, ElementRef } from '@angular/core';
2
- import { DomSanitizer, SafeHtml } from '@angular/platform-browser';
3
- import * as i0 from "@angular/core";
4
- export declare class CuiSvgComponent implements AfterViewInit {
5
- private readonly domSanitizer;
6
- private readonly elementRef;
7
- STROKE_WIDTH_ATTRIBUTE: string;
8
- safeSvgContent: SafeHtml;
9
- _strokeWidth?: number;
10
- width?: number;
11
- height?: number;
12
- set icon(icon: string);
13
- set strokeWidth(strokeWidth: number | undefined);
14
- constructor(domSanitizer: DomSanitizer, elementRef: ElementRef<HTMLElement>);
15
- ngAfterViewInit(): void;
16
- private updateStrokeWidth;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": "width"; "height": "height"; "icon": "icon"; "strokeWidth": "strokeWidth"; }, {}, never, never, false, never>;
19
- }
1
+ import { AfterViewInit } from '@angular/core';
2
+ import { SafeHtml } from '@angular/platform-browser';
3
+ import { CuiIcon } from '@cuby-ui/icons';
4
+ import * as i0 from "@angular/core";
5
+ export declare class CuiSvgComponent implements AfterViewInit {
6
+ private readonly domSanitizer;
7
+ private readonly element;
8
+ protected readonly STROKE_WIDTH_ATTRIBUTE = "stroke-width";
9
+ protected safeSvgContent: SafeHtml;
10
+ protected _strokeWidth?: number;
11
+ width?: number;
12
+ height?: number;
13
+ set icon(icon: CuiIcon | string);
14
+ set strokeWidth(strokeWidth: number | undefined);
15
+ ngAfterViewInit(): void;
16
+ private updateStrokeWidth;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiSvgComponent, "cui-svg[icon]", never, { "width": "width"; "height": "height"; "icon": "icon"; "strokeWidth": "strokeWidth"; }, {}, never, never, false, never>;
19
+ }
@@ -1,8 +1,8 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./svg.component";
3
- import * as i2 from "@angular/common";
4
- export declare class CuiSvgModule {
5
- static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgModule, never>;
6
- static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSvgModule, [typeof i1.CuiSvgComponent], [typeof i2.CommonModule], [typeof i1.CuiSvgComponent]>;
7
- static ɵinj: i0.ɵɵInjectorDeclaration<CuiSvgModule>;
8
- }
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./svg.component";
3
+ import * as i2 from "@angular/common";
4
+ export declare class CuiSvgModule {
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiSvgModule, never>;
6
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiSvgModule, [typeof i1.CuiSvgComponent], [typeof i2.CommonModule], [typeof i1.CuiSvgComponent]>;
7
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiSvgModule>;
8
+ }
@@ -0,0 +1,2 @@
1
+ export * from './textarea.component';
2
+ export * from './textarea.module';
@@ -0,0 +1,8 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@cuby-ui/cdk";
3
+ export declare class CuiTextareaComponent {
4
+ isError: boolean;
5
+ rows: number;
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaComponent, never>;
7
+ static ɵcmp: i0.ɵɵComponentDeclaration<CuiTextareaComponent, "textarea [cuiTextarea]", never, { "isError": "isError"; "rows": "rows"; }, {}, never, never, false, [{ directive: typeof i1.CuiAutoResizingDirective; inputs: {}; outputs: {}; }]>;
8
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./textarea.component";
3
+ export declare class CuiTextareaModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CuiTextareaModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CuiTextareaModule, [typeof i1.CuiTextareaComponent], never, [typeof i1.CuiTextareaComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CuiTextareaModule>;
7
+ }
@@ -0,0 +1,19 @@
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "@angular/common";
4
+ import * as i2 from "../../button/button.component";
5
+ export class CuiAccordionItemComponent {
6
+ constructor() {
7
+ this.isOpen = false;
8
+ }
9
+ onRowToggle() {
10
+ this.isOpen = !this.isOpen;
11
+ }
12
+ }
13
+ CuiAccordionItemComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiAccordionItemComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
14
+ CuiAccordionItemComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiAccordionItemComponent, selector: "cui-accordion-item", ngImport: i0, template: "<header class=\"c-header\">\n <span>\n <ng-content></ng-content>\n </span>\n <button\n cuiButton\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconChevronDown\"\n (click)=\"onRowToggle()\"\n [class.c-button_opened]=\"isOpen\"\n ></button>\n</header>\n<div *ngIf=\"isOpen\">\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\n</div>\n", styles: [":host{padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-button_opened{transform:rotate(180deg)}\n"], dependencies: [{ kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "component", type: i2.CuiButtonComponent, selector: "button[cuiButton], a[cuiButton]", inputs: ["appearance", "disabled", "isLoaderShown", "icon", "iconRight", "size"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
15
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiAccordionItemComponent, decorators: [{
16
+ type: Component,
17
+ args: [{ selector: 'cui-accordion-item', changeDetection: ChangeDetectionStrategy.OnPush, template: "<header class=\"c-header\">\n <span>\n <ng-content></ng-content>\n </span>\n <button\n cuiButton\n appearance=\"ghost\"\n size=\"xxs\"\n icon=\"cuiIconChevronDown\"\n (click)=\"onRowToggle()\"\n [class.c-button_opened]=\"isOpen\"\n ></button>\n</header>\n<div *ngIf=\"isOpen\">\n <ng-content select=\"[cuiAccordionItemContent]\"></ng-content>\n</div>\n", styles: [":host{padding:12px;display:flex;flex-direction:column;gap:8px;background:var(--cui-base-10);border-radius:8px}.c-header{font-weight:400;font-size:12px;line-height:14px;display:flex;justify-content:space-between;align-items:center;gap:8px;color:var(--cui-base-900);font-family:var(--cui-main-font);text-transform:uppercase}.c-button_opened{transform:rotate(180deg)}\n"] }]
18
+ }] });
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLWl0ZW0uY29tcG9uZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvY29yZS9jb21wb25lbnRzL2FjY29yZGlvbi9hY2NvcmRpb24taXRlbS9hY2NvcmRpb24taXRlbS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9jb3JlL2NvbXBvbmVudHMvYWNjb3JkaW9uL2FjY29yZGlvbi1pdGVtL2FjY29yZGlvbi1pdGVtLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7OztBQVFuRSxNQUFNLE9BQU8seUJBQXlCO0lBTnRDO1FBT1ksV0FBTSxHQUFHLEtBQUssQ0FBQztLQUsxQjtJQUhXLFdBQVc7UUFDbkIsSUFBSSxDQUFDLE1BQU0sR0FBRyxDQUFDLElBQUksQ0FBQyxNQUFNLENBQUM7SUFDN0IsQ0FBQzs7dUhBTFUseUJBQXlCOzJHQUF6Qix5QkFBeUIsMERDUnRDLDRYQWdCQTs0RkRSYSx5QkFBeUI7a0JBTnJDLFNBQVM7K0JBQ0Usb0JBQW9CLG1CQUdiLHVCQUF1QixDQUFDLE1BQU0iLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneSwgQ29tcG9uZW50IH0gZnJvbSAnQGFuZ3VsYXIvY29yZSc7XG5cbkBDb21wb25lbnQoe1xuICBzZWxlY3RvcjogJ2N1aS1hY2NvcmRpb24taXRlbScsXG4gIHRlbXBsYXRlVXJsOiAnLi9hY2NvcmRpb24taXRlbS50ZW1wbGF0ZS5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vYWNjb3JkaW9uLWl0ZW0uc3R5bGUuc2NzcyddLFxuICBjaGFuZ2VEZXRlY3Rpb246IENoYW5nZURldGVjdGlvblN0cmF0ZWd5Lk9uUHVzaFxufSlcbmV4cG9ydCBjbGFzcyBDdWlBY2NvcmRpb25JdGVtQ29tcG9uZW50IHtcbiAgcHJvdGVjdGVkIGlzT3BlbiA9IGZhbHNlO1xuXG4gIHByb3RlY3RlZCBvblJvd1RvZ2dsZSgpOiB2b2lkIHtcbiAgICB0aGlzLmlzT3BlbiA9ICF0aGlzLmlzT3BlbjtcbiAgfVxufVxuIiwiPGhlYWRlciBjbGFzcz1cImMtaGVhZGVyXCI+XG4gIDxzcGFuPlxuICAgIDxuZy1jb250ZW50PjwvbmctY29udGVudD5cbiAgPC9zcGFuPlxuICA8YnV0dG9uXG4gICAgY3VpQnV0dG9uXG4gICAgYXBwZWFyYW5jZT1cImdob3N0XCJcbiAgICBzaXplPVwieHhzXCJcbiAgICBpY29uPVwiY3VpSWNvbkNoZXZyb25Eb3duXCJcbiAgICAoY2xpY2spPVwib25Sb3dUb2dnbGUoKVwiXG4gICAgW2NsYXNzLmMtYnV0dG9uX29wZW5lZF09XCJpc09wZW5cIlxuICA+PC9idXR0b24+XG48L2hlYWRlcj5cbjxkaXYgKm5nSWY9XCJpc09wZW5cIj5cbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW2N1aUFjY29yZGlvbkl0ZW1Db250ZW50XVwiPjwvbmctY29udGVudD5cbjwvZGl2PlxuIl19
@@ -0,0 +1,11 @@
1
+ import { ChangeDetectionStrategy, Component } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export class CuiAccordionComponent {
4
+ }
5
+ CuiAccordionComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiAccordionComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
6
+ CuiAccordionComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "15.2.10", type: CuiAccordionComponent, selector: "cui-accordion", ngImport: i0, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush });
7
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "15.2.10", ngImport: i0, type: CuiAccordionComponent, decorators: [{
8
+ type: Component,
9
+ args: [{ selector: 'cui-accordion', changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content select=\"cui-accordion-item\"></ng-content>\n", styles: [":host{display:flex;flex-direction:column;gap:16px}\n"] }]
10
+ }] });
11
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWNjb3JkaW9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uL3Byb2plY3RzL2NvcmUvY29tcG9uZW50cy9hY2NvcmRpb24vYWNjb3JkaW9uLnRlbXBsYXRlLmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLHVCQUF1QixFQUFFLFNBQVMsRUFBRSxNQUFNLGVBQWUsQ0FBQzs7QUFRbkUsTUFBTSxPQUFPLHFCQUFxQjs7bUhBQXJCLHFCQUFxQjt1R0FBckIscUJBQXFCLHFEQ1JsQywyREFDQTs0RkRPYSxxQkFBcUI7a0JBTmpDLFNBQVM7K0JBQ0UsZUFBZSxtQkFHUix1QkFBdUIsQ0FBQyxNQUFNIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgQ2hhbmdlRGV0ZWN0aW9uU3RyYXRlZ3ksIENvbXBvbmVudCB9IGZyb20gJ0Bhbmd1bGFyL2NvcmUnO1xuXG5AQ29tcG9uZW50KHtcbiAgc2VsZWN0b3I6ICdjdWktYWNjb3JkaW9uJyxcbiAgdGVtcGxhdGVVcmw6ICcuL2FjY29yZGlvbi50ZW1wbGF0ZS5odG1sJyxcbiAgc3R5bGVVcmxzOiBbJy4vYWNjb3JkaW9uLnN0eWxlLnNjc3MnXSxcbiAgY2hhbmdlRGV0ZWN0aW9uOiBDaGFuZ2VEZXRlY3Rpb25TdHJhdGVneS5PblB1c2hcbn0pXG5leHBvcnQgY2xhc3MgQ3VpQWNjb3JkaW9uQ29tcG9uZW50IHtcbn1cbiIsIjxuZy1jb250ZW50IHNlbGVjdD1cImN1aS1hY2NvcmRpb24taXRlbVwiPjwvbmctY29udGVudD5cbiJdfQ==