@verisoft/ui-govcz 18.8.0 → 19.0.0-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 (130) hide show
  1. package/assets/i18n/cs.json +10 -0
  2. package/assets/i18n/en.json +8 -0
  3. package/assets/sass/main.scss +6 -242
  4. package/assets/sass/utils/_utils.scss +3 -0
  5. package/assets/sass/utils/_variables.scss +3 -0
  6. package/assets/sass/utils/index.scss +2 -0
  7. package/assets/sass/vendors/_bootstrap.scss +2 -2
  8. package/fesm2022/verisoft-ui-govcz.mjs +253 -393
  9. package/fesm2022/verisoft-ui-govcz.mjs.map +1 -1
  10. package/lib/components/checkbox/checkbox.component.d.ts +2 -2
  11. package/lib/components/dropdown-button/dropdown-button.component.d.ts +15 -0
  12. package/lib/components/dropdown-button/index.d.ts +1 -0
  13. package/lib/components/errors/error.component.d.ts +1 -1
  14. package/lib/components/index.d.ts +1 -1
  15. package/lib/components/shared-components/action-button-group/action-button-group.component.d.ts +1 -2
  16. package/lib/components/tab-view/index.d.ts +0 -1
  17. package/lib/components/tab-view/tab-view-item.component.d.ts +1 -1
  18. package/lib/components/tab-view/tab-view.component.d.ts +1 -1
  19. package/lib/components/textarea/textarea.component.d.ts +5 -4
  20. package/lib/components/tooltip/tooltip.component.d.ts +7 -15
  21. package/package.json +14 -16
  22. package/assets/sass/sidemenu.css +0 -205
  23. package/esm2022/index.mjs +0 -2
  24. package/esm2022/lib/components/breadcrumb/breadcrumb.component.mjs +0 -34
  25. package/esm2022/lib/components/breadcrumb/index.mjs +0 -2
  26. package/esm2022/lib/components/button/button.component.mjs +0 -87
  27. package/esm2022/lib/components/button/index.mjs +0 -2
  28. package/esm2022/lib/components/calendar/calendar.component.mjs +0 -87
  29. package/esm2022/lib/components/calendar/index.mjs +0 -2
  30. package/esm2022/lib/components/checkbox/checkbox.component.mjs +0 -62
  31. package/esm2022/lib/components/checkbox/index.mjs +0 -2
  32. package/esm2022/lib/components/confirm-dialog/confirm-dialog.component.mjs +0 -72
  33. package/esm2022/lib/components/confirm-dialog/index.mjs +0 -2
  34. package/esm2022/lib/components/dropdown/dropdown-item.component.mjs +0 -14
  35. package/esm2022/lib/components/dropdown/dropdown.component.mjs +0 -280
  36. package/esm2022/lib/components/dropdown/dropdown.model.mjs +0 -2
  37. package/esm2022/lib/components/dropdown/index.mjs +0 -2
  38. package/esm2022/lib/components/errors/error.component.mjs +0 -34
  39. package/esm2022/lib/components/errors/index.mjs +0 -2
  40. package/esm2022/lib/components/form-field/form-field.component.mjs +0 -92
  41. package/esm2022/lib/components/form-field/index.mjs +0 -2
  42. package/esm2022/lib/components/header/header.component.mjs +0 -85
  43. package/esm2022/lib/components/header/index.mjs +0 -2
  44. package/esm2022/lib/components/index.mjs +0 -34
  45. package/esm2022/lib/components/input-group/index.mjs +0 -2
  46. package/esm2022/lib/components/input-group/input-group.component.mjs +0 -89
  47. package/esm2022/lib/components/loader/index.mjs +0 -2
  48. package/esm2022/lib/components/loader/loader.component.mjs +0 -34
  49. package/esm2022/lib/components/multiselect/index.mjs +0 -2
  50. package/esm2022/lib/components/multiselect/multiselect.component.mjs +0 -121
  51. package/esm2022/lib/components/number-input/index.mjs +0 -2
  52. package/esm2022/lib/components/number-input/number-input.component.mjs +0 -104
  53. package/esm2022/lib/components/page-header/index.mjs +0 -2
  54. package/esm2022/lib/components/page-header/page-header.component.mjs +0 -28
  55. package/esm2022/lib/components/password/index.mjs +0 -2
  56. package/esm2022/lib/components/password/password.component.mjs +0 -94
  57. package/esm2022/lib/components/radiobutton/index.mjs +0 -2
  58. package/esm2022/lib/components/radiobutton/radiobutton.component.mjs +0 -50
  59. package/esm2022/lib/components/search/index.mjs +0 -2
  60. package/esm2022/lib/components/search/search.component.mjs +0 -40
  61. package/esm2022/lib/components/section/index.mjs +0 -2
  62. package/esm2022/lib/components/section/section.component.mjs +0 -70
  63. package/esm2022/lib/components/shared-components/action-button-group/action-button-group.component.mjs +0 -97
  64. package/esm2022/lib/components/shared-components/action-button-group/components/action-button/action-button.component.mjs +0 -64
  65. package/esm2022/lib/components/shared-components/action-button-group/index.mjs +0 -3
  66. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component-factory.service.mjs +0 -91
  67. package/esm2022/lib/components/shared-components/dynamic-component/dynamic-component.component.mjs +0 -42
  68. package/esm2022/lib/components/shared-components/dynamic-component/index.mjs +0 -3
  69. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-column.directive.mjs +0 -43
  70. package/esm2022/lib/components/shared-components/feature-list/directives/feature-list-filter-field.directive.mjs +0 -16
  71. package/esm2022/lib/components/shared-components/feature-list/feature-list-filter.pipe.mjs +0 -24
  72. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.component.mjs +0 -43
  73. package/esm2022/lib/components/shared-components/feature-list/feature-list-page.model.mjs +0 -16
  74. package/esm2022/lib/components/shared-components/feature-list/feature-list.component.mjs +0 -285
  75. package/esm2022/lib/components/shared-components/feature-list/index.mjs +0 -6
  76. package/esm2022/lib/components/shared-components/filter/directives/filter-field.directive.mjs +0 -53
  77. package/esm2022/lib/components/shared-components/filter/filter.component.mjs +0 -195
  78. package/esm2022/lib/components/shared-components/filter/filter.model.mjs +0 -16
  79. package/esm2022/lib/components/shared-components/filter/index.mjs +0 -3
  80. package/esm2022/lib/components/shared-components/generic-field/generic-field.component.mjs +0 -98
  81. package/esm2022/lib/components/shared-components/generic-field/index.mjs +0 -2
  82. package/esm2022/lib/components/shared-components/generic-form/generic-form.component.mjs +0 -46
  83. package/esm2022/lib/components/shared-components/generic-form/generic-form.model.mjs +0 -50
  84. package/esm2022/lib/components/shared-components/generic-form/index.mjs +0 -3
  85. package/esm2022/lib/components/shared-components/index.mjs +0 -7
  86. package/esm2022/lib/components/side-menu/index.mjs +0 -3
  87. package/esm2022/lib/components/side-menu/side-menu.component.mjs +0 -48
  88. package/esm2022/lib/components/side-menu/side-menu.module.mjs +0 -59
  89. package/esm2022/lib/components/snackbar/index.mjs +0 -3
  90. package/esm2022/lib/components/snackbar/services/snackbar.service.mjs +0 -75
  91. package/esm2022/lib/components/snackbar/snackbar.component.mjs +0 -61
  92. package/esm2022/lib/components/snackbar/snackbar.model.mjs +0 -2
  93. package/esm2022/lib/components/stepper/index.mjs +0 -2
  94. package/esm2022/lib/components/stepper/stepper.component.mjs +0 -66
  95. package/esm2022/lib/components/switch/index.mjs +0 -2
  96. package/esm2022/lib/components/switch/switch.component.mjs +0 -45
  97. package/esm2022/lib/components/tab-view/index.mjs +0 -4
  98. package/esm2022/lib/components/tab-view/tab-view-item.component.mjs +0 -41
  99. package/esm2022/lib/components/tab-view/tab-view.component.mjs +0 -56
  100. package/esm2022/lib/components/tab-view/tab-view.module.mjs +0 -41
  101. package/esm2022/lib/components/table/index.mjs +0 -2
  102. package/esm2022/lib/components/table/table-pagination-info.component.mjs +0 -32
  103. package/esm2022/lib/components/table/table.component.mjs +0 -359
  104. package/esm2022/lib/components/table/table.model.mjs +0 -14
  105. package/esm2022/lib/components/textarea/index.mjs +0 -2
  106. package/esm2022/lib/components/textarea/textarea.component.mjs +0 -95
  107. package/esm2022/lib/components/textfield/index.mjs +0 -2
  108. package/esm2022/lib/components/textfield/textfield.component.mjs +0 -124
  109. package/esm2022/lib/components/tooltip/index.mjs +0 -2
  110. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -66
  111. package/esm2022/lib/components/tristatecheckbox/index.mjs +0 -2
  112. package/esm2022/lib/components/tristatecheckbox/tristatecheckbox.component.mjs +0 -89
  113. package/esm2022/lib/icons.mjs +0 -35
  114. package/esm2022/lib/index.mjs +0 -6
  115. package/esm2022/lib/init.service.mjs +0 -17
  116. package/esm2022/lib/pages/index.mjs +0 -4
  117. package/esm2022/lib/pages/not-authenticated/index.mjs +0 -2
  118. package/esm2022/lib/pages/not-authenticated/not-authenticated.component.mjs +0 -17
  119. package/esm2022/lib/pages/not-authorized/index.mjs +0 -2
  120. package/esm2022/lib/pages/not-authorized/not-authorized.component.mjs +0 -20
  121. package/esm2022/lib/pages/not-found/index.mjs +0 -2
  122. package/esm2022/lib/pages/not-found/not-found.component.mjs +0 -20
  123. package/esm2022/lib/pipes/color/color.pipe.mjs +0 -27
  124. package/esm2022/lib/pipes/index.mjs +0 -4
  125. package/esm2022/lib/pipes/multiselect/multiselect-options.pipe.mjs +0 -52
  126. package/esm2022/lib/pipes/size/size.pipe.mjs +0 -23
  127. package/esm2022/verisoft-ui-govcz.mjs +0 -5
  128. package/lib/components/tab-view/tab-view.module.d.ts +0 -12
  129. package/lib/components/tristatecheckbox/index.d.ts +0 -1
  130. package/lib/components/tristatecheckbox/tristatecheckbox.component.d.ts +0 -27
@@ -5,11 +5,11 @@ export declare class CheckboxComponent extends BaseFormInputComponent implements
5
5
  size: FieldSizeType;
6
6
  value: string;
7
7
  name: string;
8
- indeterminate: boolean;
8
+ readonly indeterminate: import("@angular/core").InputSignal<boolean>;
9
9
  noLabel: boolean;
10
10
  protected readonly icons: import("@verisoft/ui-core").CommonIcons;
11
11
  constructor(ngControl: NgControl);
12
12
  id: string;
13
13
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, [{ optional: true; self: true; }]>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "v-checkbox", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; }; "noLabel": { "alias": "noLabel"; "required": false; }; }, {}, never, never, true, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "v-checkbox", never, { "size": { "alias": "size"; "required": false; }; "value": { "alias": "value"; "required": false; }; "name": { "alias": "name"; "required": false; }; "indeterminate": { "alias": "indeterminate"; "required": false; "isSignal": true; }; "noLabel": { "alias": "noLabel"; "required": false; }; }, {}, never, never, true, never>;
15
15
  }
@@ -0,0 +1,15 @@
1
+ import { DropdownButtonCore, MenuItem } from "@verisoft/ui-core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class DropdownButtonComponent implements DropdownButtonCore {
4
+ label: import("@angular/core").InputSignal<string | undefined>;
5
+ icon: import("@angular/core").InputSignal<string | undefined>;
6
+ rounded: import("@angular/core").InputSignal<boolean | undefined>;
7
+ raised: import("@angular/core").InputSignal<boolean | undefined>;
8
+ outlined: import("@angular/core").InputSignal<boolean | undefined>;
9
+ severity: import("@angular/core").InputSignal<"success" | "info" | "warning" | "danger" | "help" | "primary" | "secondary" | "contrast" | undefined>;
10
+ size: import("@angular/core").InputSignal<"small" | "medium" | "large" | undefined>;
11
+ items: import("@angular/core").InputSignal<MenuItem[] | undefined>;
12
+ fireClick(item: MenuItem): void;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<DropdownButtonComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<DropdownButtonComponent, "v-dropdown-button", never, { "label": { "alias": "label"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "rounded": { "alias": "rounded"; "required": false; "isSignal": true; }; "raised": { "alias": "raised"; "required": false; "isSignal": true; }; "outlined": { "alias": "outlined"; "required": false; "isSignal": true; }; "severity": { "alias": "severity"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "items": { "alias": "items"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
15
+ }
@@ -0,0 +1 @@
1
+ export * from './dropdown-button.component';
@@ -8,7 +8,7 @@ export declare class ErrorComponent {
8
8
  messageSlot: SlotPositionType;
9
9
  readonly errorService: import("@verisoft/core").ErrorProvider;
10
10
  icons: import("@verisoft/ui-core").CommonIcons;
11
- getErrorMessage(errors: ValidationErrors): Observable<string>;
11
+ getErrorMessage(errors: ValidationErrors): Observable<string | undefined>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<ErrorComponent, never>;
13
13
  static ɵcmp: i0.ɵɵComponentDeclaration<ErrorComponent, "v-validation-message", never, { "ngControl": { "alias": "ngControl"; "required": true; }; "errorSlot": { "alias": "errorSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; }, {}, never, never, true, never>;
14
14
  }
@@ -4,6 +4,7 @@ export * from './calendar';
4
4
  export * from './checkbox';
5
5
  export * from './confirm-dialog';
6
6
  export * from './dropdown';
7
+ export * from './dropdown-button';
7
8
  export * from './header';
8
9
  export * from './checkbox';
9
10
  export * from './password';
@@ -20,7 +21,6 @@ export * from './textarea';
20
21
  export * from './textfield';
21
22
  export * from './tooltip';
22
23
  export * from './loader';
23
- export * from './tristatecheckbox';
24
24
  export * from './form-field';
25
25
  export * from './input-group';
26
26
  export * from './number-input';
@@ -1,6 +1,5 @@
1
1
  import { AfterContentInit, ChangeDetectorRef, QueryList } from '@angular/core';
2
- import { ActionButton, ActionButtonGroupCore, IconPositionType, ScreenSizeService, UnsubscribeComponent } from '@verisoft/ui-core';
3
- import { MenuItem } from 'primeng/api';
2
+ import { ActionButton, ActionButtonGroupCore, IconPositionType, MenuItem, ScreenSizeService, UnsubscribeComponent } from '@verisoft/ui-core';
4
3
  import { ActionButtonComponent } from './components/action-button/action-button.component';
5
4
  import * as i0 from "@angular/core";
6
5
  export declare class ActionButtonGroupComponent extends UnsubscribeComponent implements AfterContentInit, ActionButtonGroupCore {
@@ -1,3 +1,2 @@
1
1
  export * from './tab-view.component';
2
2
  export * from './tab-view-item.component';
3
- export * from './tab-view.module';
@@ -10,5 +10,5 @@ export declare class TabViewItemComponent implements TabViewItemCore {
10
10
  url?: string;
11
11
  contentTemplate: TemplateRef<any>;
12
12
  static ɵfac: i0.ɵɵFactoryDeclaration<TabViewItemComponent, never>;
13
- static ɵcmp: i0.ɵɵComponentDeclaration<TabViewItemComponent, "v-tab-view-item", never, { "id": { "alias": "id"; "required": false; }; "index": { "alias": "index"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], false, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabViewItemComponent, "v-tab-view-item", never, { "id": { "alias": "id"; "required": false; }; "index": { "alias": "index"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "title": { "alias": "title"; "required": false; }; "content": { "alias": "content"; "required": false; }; "url": { "alias": "url"; "required": false; }; }, {}, never, ["*"], true, never>;
14
14
  }
@@ -15,5 +15,5 @@ export declare class TabViewComponent implements AfterContentInit {
15
15
  changeTabIndex(index: number): void;
16
16
  setTabActive(options: TabViewItemComponent[]): void;
17
17
  static ɵfac: i0.ɵɵFactoryDeclaration<TabViewComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<TabViewComponent, "v-tab-view", never, { "highlight": { "alias": "highlight"; "required": false; }; "useRouting": { "alias": "useRouting"; "required": false; }; "items": { "alias": "items"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, ["tabs"], never, false, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabViewComponent, "v-tab-view", never, { "highlight": { "alias": "highlight"; "required": false; }; "useRouting": { "alias": "useRouting"; "required": false; }; "items": { "alias": "items"; "required": false; }; "activeIndex": { "alias": "activeIndex"; "required": false; }; }, { "activeIndexChange": "activeIndexChange"; }, ["tabs"], never, true, never>;
19
19
  }
@@ -1,8 +1,8 @@
1
1
  import { ControlValueAccessor, NgControl } from '@angular/forms';
2
- import { TextfieldCore, FieldType, BaseFormInputComponent, FieldSizeType, IconPositionType, SlotPositionType } from '@verisoft/ui-core';
2
+ import { FieldType, BaseFormInputComponent, FieldSizeType, IconPositionType, SlotPositionType, TextareaCore } from '@verisoft/ui-core';
3
3
  import * as i0 from "@angular/core";
4
- export declare class TextareaComponent extends BaseFormInputComponent implements ControlValueAccessor, TextfieldCore {
5
- floatLabel: boolean;
4
+ export declare class TextareaComponent extends BaseFormInputComponent implements ControlValueAccessor, TextareaCore {
5
+ floatLabel: string | undefined;
6
6
  type: FieldType;
7
7
  minlength: number;
8
8
  maxlength: number;
@@ -18,8 +18,9 @@ export declare class TextareaComponent extends BaseFormInputComponent implements
18
18
  messageSlot: SlotPositionType;
19
19
  rows: number;
20
20
  cols: number;
21
+ autoResize: boolean;
21
22
  icons: import("@verisoft/ui-core").CommonIcons;
22
23
  constructor(ngControl: NgControl);
23
24
  static ɵfac: i0.ɵɵFactoryDeclaration<TextareaComponent, [{ optional: true; self: true; }]>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "v-textarea", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; }, {}, never, never, true, never>;
25
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextareaComponent, "v-textarea", never, { "floatLabel": { "alias": "floatLabel"; "required": false; }; "type": { "alias": "type"; "required": false; }; "minlength": { "alias": "minlength"; "required": false; }; "maxlength": { "alias": "maxlength"; "required": false; }; "prefix": { "alias": "prefix"; "required": false; }; "sufix": { "alias": "sufix"; "required": false; }; "message": { "alias": "message"; "required": false; }; "name": { "alias": "name"; "required": false; }; "role": { "alias": "role"; "required": false; }; "size": { "alias": "size"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconPos": { "alias": "iconPos"; "required": false; }; "labelSlot": { "alias": "labelSlot"; "required": false; }; "messageSlot": { "alias": "messageSlot"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "cols": { "alias": "cols"; "required": false; }; "autoResize": { "alias": "autoResize"; "required": false; }; }, {}, never, never, true, never>;
25
26
  }
@@ -1,18 +1,10 @@
1
- import { ElementRef, Renderer2, AfterViewInit } from "@angular/core";
1
+ import { TooltipCore } from "@verisoft/ui-core";
2
2
  import * as i0 from "@angular/core";
3
- export declare class TooltipComponent implements AfterViewInit {
4
- private el;
5
- private renderer;
6
- color: 'primary' | 'secondary';
7
- size: 'small' | 'medium' | 'large';
8
- position: 'top' | 'right' | 'bottom' | 'left';
9
- message: string;
10
- label: string;
11
- isVisible: boolean;
12
- tooltipId: string | null;
13
- constructor(el: ElementRef, renderer: Renderer2);
14
- ngAfterViewInit(): void;
15
- toggleTooltip(): void;
3
+ export declare class TooltipComponent implements TooltipCore {
4
+ color: import("@angular/core").InputSignal<"success" | "info" | "warning" | "danger" | "help" | "primary" | "secondary" | "contrast" | undefined>;
5
+ position: import("@angular/core").InputSignal<"left" | "right" | "top" | "bottom" | undefined>;
6
+ size: import("@angular/core").InputSignal<"small" | "medium" | "large" | undefined>;
7
+ tooltipText: import("@angular/core").InputSignal<string | undefined>;
16
8
  static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
17
- static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "v-tooltip", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "position": { "alias": "position"; "required": false; }; "message": { "alias": "message"; "required": true; }; "label": { "alias": "label"; "required": false; }; }, {}, never, never, true, never>;
9
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "v-tooltip", never, { "color": { "alias": "color"; "required": false; "isSignal": true; }; "position": { "alias": "position"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "tooltipText": { "alias": "tooltipText"; "required": false; "isSignal": true; }; }, {}, never, ["*"], true, never>;
18
10
  }
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@verisoft/ui-govcz",
3
- "version": "18.8.0",
3
+ "version": "19.0.0-1",
4
4
  "peerDependencies": {
5
- "@angular/common": "^18.2.8",
6
- "@angular/core": "^18.2.8",
7
- "@angular/router": "18.2.8",
8
- "@gov-design-system-ce/angular": "^1.1.1",
9
- "@verisoft/ui-core": "18.0.0",
10
- "@gov-design-system-ce/components": "^4.1.3-BETA-10",
11
- "@angular/forms": "18.2.8",
12
- "uuid": "^10.0.0",
13
- "@verisoft/core": "18.0.0",
14
- "zxcvbn": "^4.4.2",
5
+ "@verisoft/ui-core": "19.0.0-1",
6
+ "@verisoft/core": "19.0.0-1",
7
+ "@verisoft/security-core": "19.0.0-1",
8
+ "@angular/core": "19.2.9",
9
+ "@angular/common": "19.2.9",
10
+ "@angular/forms": "19.2.9",
11
+ "@angular/router": "19.2.9",
12
+ "@angular/cdk": "19.2.9",
13
+ "@gov-design-system-ce/angular": "^1.3.1",
14
+ "@gov-design-system-ce/components": "^4.2.6",
15
+ "@ngx-translate/core": "16.0.4",
15
16
  "rxjs": "~7.8.0",
16
- "@angular/cdk": "^18.2.14",
17
- "@ngx-translate/core": "^15.0.0",
18
- "@verisoft/security-core": "18.0.0"
17
+ "uuid": "^10.0.0",
18
+ "zxcvbn": "^4.4.2"
19
19
  },
20
20
  "sideEffects": false,
21
21
  "module": "fesm2022/verisoft-ui-govcz.mjs",
@@ -26,8 +26,6 @@
26
26
  },
27
27
  ".": {
28
28
  "types": "./index.d.ts",
29
- "esm2022": "./esm2022/verisoft-ui-govcz.mjs",
30
- "esm": "./esm2022/verisoft-ui-govcz.mjs",
31
29
  "default": "./fesm2022/verisoft-ui-govcz.mjs"
32
30
  }
33
31
  },
@@ -1,205 +0,0 @@
1
- .gov-category-list {
2
- display: block;
3
- padding: 1.25rem 0;
4
- width: 100%
5
- }
6
-
7
- .gov-category-list__inner {
8
- display: flex;
9
- width: 100%
10
- }
11
-
12
- .gov-category-list__col {
13
- flex: 1
14
- }
15
-
16
- .gov-category-list__col-inner {
17
- position: relative;
18
- min-height: 100%;
19
- }
20
-
21
- .gov-category-list__back-btn {
22
- display: inline-block;
23
- margin-left: -0.625rem;
24
- cursor: pointer;
25
- text-decoration: none;
26
- vertical-align: middle
27
- }
28
-
29
- .gov-category-list__back-btn:after {
30
- content: "c";
31
- display: block;
32
- position: relative;
33
- color: var(--color-primary-600);
34
- font-family: "gov-basic-icons";
35
- font-size: 24px
36
- }
37
-
38
- .gov-category-list__nav {
39
- position: relative;
40
- z-index: 2
41
- }
42
-
43
- .gov-category-list__nav .gov-category-list__nav-item {
44
- margin-bottom: 0
45
- }
46
-
47
- .gov-category-list__nav-item:before {
48
- display: none
49
- }
50
-
51
- .gov-category-list__nav-link {
52
- display: block;
53
- padding: .9375rem 1.25rem;
54
- padding-right: 1.875rem;
55
- width: 100%;
56
- color: var(--color-primary-600);
57
- cursor: pointer;
58
- text-decoration: none;
59
- transition: background-color 256ms ease-out;
60
- will-change: background-color;
61
- }
62
-
63
- .gov-category-list__nav-link .gov-note {
64
- max-width: 90%
65
- }
66
-
67
- .gov-category-list__nav-link.is-active {
68
- background-color: var(--color-primary-600);
69
- color: var(--color-neutral-0)
70
- }
71
-
72
- .gov-category-list__nav-link.is-active .gov-link,
73
- .gov-category-list__nav-link.is-active .gov-sortable-table__trigger,
74
- .gov-category-list__nav-link.is-active .gov-portal-nav__link,
75
- .gov-category-list__nav-link.is-active .gov-fileinput__attachments>li>span {
76
- color: var(--color-neutral-0);
77
- text-decoration: none
78
- }
79
-
80
- .gov-category-list__nav-link.is-active .gov-note {
81
- color: var(--color-neutral-0)
82
- }
83
-
84
- @media not all and (pointer: coarse) {
85
- .gov-category-list__nav-link:hover {
86
- background-color: var(--color-primary-600);
87
- color: var(--color-neutral-0) !important;
88
- text-decoration: none
89
- }
90
-
91
- .gov-category-list__nav-link:hover .gov-link,
92
- .gov-category-list__nav-link:hover .gov-sortable-table__trigger,
93
- .gov-category-list__nav-link:hover .gov-portal-nav__link,
94
- .gov-category-list__nav-link:hover .gov-fileinput__attachments>li>span {
95
- color: var(--color-neutral-0);
96
- text-decoration: none
97
- }
98
-
99
- .gov-category-list__nav-link:hover .gov-note {
100
- color: var(--color-neutral-0)
101
- }
102
- }
103
-
104
- .gov-category-list__subcategories .gov-category-list__col-inner,
105
- .gov-category-list__tasks .gov-category-list__col-inner {
106
- display: none
107
- }
108
-
109
- .gov-category-list__subcategories .gov-category-list__col-inner.is-active,
110
- .gov-category-list__tasks .gov-category-list__col-inner.is-active {
111
- display: block
112
- }
113
-
114
- .gov-category-list__subcategories .gov-category-list__content,
115
- .gov-category-list__tasks .gov-category-list__content {
116
- padding: 0 1.25rem
117
- }
118
-
119
- .gov-category-list__subcategories .gov-note,
120
- .gov-category-list__tasks .gov-note {
121
- margin-top: .625rem
122
- }
123
-
124
- @media(min-width: 52em) {
125
-
126
- .gov-category-list__subcategories .gov-category-list__content,
127
- .gov-category-list__subcategories .gov-category-list__nav-link,
128
- .gov-category-list__tasks .gov-category-list__content,
129
- .gov-category-list__tasks .gov-category-list__nav-link {
130
- padding-left: 2.5rem
131
- }
132
-
133
- .gov-category-list__tasks .gov-category-list__back-btn {
134
- display: none
135
- }
136
- }
137
-
138
- @media(max-width: 51.99em) {
139
- .gov-category-list {
140
- overflow: hidden
141
- }
142
-
143
- .gov-category-list__inner {
144
- width: 200%
145
- }
146
-
147
- .gov-category-list__subcategories .gov-category-list__col-inner:after {
148
- display: none
149
- }
150
-
151
- .gov-category-list.tasks-visible .gov-category-list__inner {
152
- transform: translateX(-50%)
153
- }
154
- }
155
-
156
- @media(min-width: 26em) {
157
- .gov-category-list__col {
158
- flex: 1
159
- }
160
-
161
- .gov-category-list__col--wide {
162
- flex: 2
163
- }
164
-
165
- .gov-category-list__col--wide .gov-category-list__col-inner:after {
166
- display: none
167
- }
168
-
169
- .gov-category-list__subcategories .gov-category-list__back-btn {
170
- display: none
171
- }
172
- }
173
-
174
- @media(max-width: 25.99em) {
175
- .gov-category-list {
176
- position: relative;
177
- left: -1.25rem;
178
- width: 100vw
179
- }
180
-
181
- .gov-category-list__inner {
182
- width: 300%
183
- }
184
-
185
- .gov-category-list__col-inner:after {
186
- display: none
187
- }
188
-
189
- .gov-category-list.subcategories-visible .gov-category-list__inner {
190
- transform: translateX(-33.3333334%)
191
- }
192
-
193
- .gov-category-list.tasks-visible .gov-category-list__inner {
194
- transform: translateX(-66.6666667%)
195
- }
196
-
197
- .gov-category-list.tasks-visible .gov-category-list__subcategories .gov-category-list__col-inner {
198
- display: none
199
- }
200
-
201
- .gov-category-list.subcategories-visible .gov-category-list__categories .gov-category-list__col-inner,
202
- .gov-category-list.tasks-visible .gov-category-list__categories .gov-category-list__col-inner {
203
- display: none
204
- }
205
- }
package/esm2022/index.mjs DELETED
@@ -1,2 +0,0 @@
1
- export * from './lib';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2xpYic7XG4iXX0=
@@ -1,34 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component } from '@angular/core';
3
- import { RouterModule } from '@angular/router';
4
- import { GovDesignSystemModule } from '@gov-design-system-ce/angular';
5
- import { BREADCRUMB_COMPONENT_TOKEN, BreadcrumbCoreComponent } from '@verisoft/ui-core';
6
- import { Icons } from '../../icons';
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@angular/common";
9
- import * as i2 from "@gov-design-system-ce/angular";
10
- import * as i3 from "@angular/router";
11
- export class BreadcrumbComponent extends BreadcrumbCoreComponent {
12
- icons = Icons;
13
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: BreadcrumbComponent, deps: null, target: i0.ɵɵFactoryTarget.Component });
14
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: BreadcrumbComponent, isStandalone: true, selector: "v-breadcrumb", providers: [
15
- {
16
- provide: BREADCRUMB_COMPONENT_TOKEN,
17
- useExisting: BreadcrumbComponent
18
- },
19
- ], usesInheritance: true, ngImport: i0, template: "<div class=\"gov-breadcrums mt-3 mb-3\">\n <gov-breadcrumbs accessible-label=\"gov-breadcrums\">\n <ul>\n <li *ngIf=\"useHomeRoute\">\n <gov-icon [name]=\"icons.house\" />\n <a [routerLink]=\"'/'\">Home</a>\n </li>\n @if (items) { @for (item of items; track item; let index = $index) {\n <li>\n @if (index > 0 || useHomeRoute) {\n <gov-icon [name]=\"icons.chevronRight\" />\n }\n @if (item.icon) {\n <gov-icon [name]=\"item.icon\" />\n }\n <a [routerLink]=\"item.routerLink\">\n {{ item.label }}\n </a>\n </li>\n } }\n </ul>\n </gov-breadcrumbs>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i1.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i2.GovBreadcrumbs, selector: "gov-breadcrumbs", inputs: ["accessibleLabel", "accessibleLabelledBy", "accessibleToggleLabel", "collapsible", "isExpanded"] }, { kind: "component", type: i2.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i3.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }] });
20
- }
21
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: BreadcrumbComponent, decorators: [{
22
- type: Component,
23
- args: [{ selector: 'v-breadcrumb', standalone: true, imports: [
24
- CommonModule,
25
- GovDesignSystemModule,
26
- RouterModule
27
- ], providers: [
28
- {
29
- provide: BREADCRUMB_COMPONENT_TOKEN,
30
- useExisting: BreadcrumbComponent
31
- },
32
- ], template: "<div class=\"gov-breadcrums mt-3 mb-3\">\n <gov-breadcrumbs accessible-label=\"gov-breadcrums\">\n <ul>\n <li *ngIf=\"useHomeRoute\">\n <gov-icon [name]=\"icons.house\" />\n <a [routerLink]=\"'/'\">Home</a>\n </li>\n @if (items) { @for (item of items; track item; let index = $index) {\n <li>\n @if (index > 0 || useHomeRoute) {\n <gov-icon [name]=\"icons.chevronRight\" />\n }\n @if (item.icon) {\n <gov-icon [name]=\"item.icon\" />\n }\n <a [routerLink]=\"item.routerLink\">\n {{ item.label }}\n </a>\n </li>\n } }\n </ul>\n </gov-breadcrumbs>\n</div>\n" }]
33
- }] });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnJlYWRjcnVtYi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvYnJlYWRjcnVtYi9icmVhZGNydW1iLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9icmVhZGNydW1iL2JyZWFkY3J1bWIuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDMUMsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBR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tczsgdHJhY2sgaXRlbTsgbGV0IGluZGV4ID0gJGluZGV4KSB7XG4gICAgICA8bGk+XG4gICAgICAgIEBpZiAoaW5kZXggPiAwIHx8IHVzZUhvbWVSb3V0ZSkge1xuICAgICAgICA8Z292LWljb24gW25hbWVdPVwiaWNvbnMuY2hldnJvblJpZ2h0XCIgLz5cbiAgICAgICAgfVxuICAgICAgICBAaWYgKGl0ZW0uaWNvbikge1xuICAgICAgICA8Z292LWljb24gW25hbWVdPVwiaXRlbS5pY29uXCIgLz5cbiAgICAgICAgfVxuICAgICAgICA8YSBbcm91dGVyTGlua109XCJpdGVtLnJvdXRlckxpbmtcIj5cbiAgICAgICAgICB7eyBpdGVtLmxhYmVsIH19XG4gICAgICAgIDwvYT5cbiAgICAgIDwvbGk+XG4gICAgICB9IH1cbiAgICA8L3VsPlxuICA8L2dvdi1icmVhZGNydW1icz5cbjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export * from './breadcrumb.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvYnJlYWRjcnVtYi9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLHdCQUF3QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0ICogZnJvbSAnLi9icmVhZGNydW1iLmNvbXBvbmVudCc7XG4iXX0=
@@ -1,87 +0,0 @@
1
- import { ChangeDetectionStrategy, Component, EventEmitter, Input, Output, } from "@angular/core";
2
- import { RouterModule } from "@angular/router";
3
- import { GovDesignSystemModule } from "@gov-design-system-ce/angular";
4
- import { TranslateModule } from "@ngx-translate/core";
5
- import { BUTTON_COMPONENT_TOKEN, IconPosition, FieldSize, ControlSeverity, GovButtonType, } from "@verisoft/ui-core";
6
- import { GovColorPipe, GovSizePipe } from "../../pipes";
7
- import * as i0 from "@angular/core";
8
- import * as i1 from "@gov-design-system-ce/angular";
9
- import * as i2 from "@angular/router";
10
- import * as i3 from "@ngx-translate/core";
11
- export class ButtonComponent {
12
- label;
13
- icon;
14
- badge;
15
- iconPos = IconPosition.left;
16
- disabled = false;
17
- rounded;
18
- outlined;
19
- raised;
20
- routerLink;
21
- size = FieldSize.medium;
22
- queryParams;
23
- severity = ControlSeverity.primary;
24
- type = GovButtonType.solid;
25
- expanded = false;
26
- name;
27
- // eslint-disable-next-line @angular-eslint/no-output-native
28
- click = new EventEmitter();
29
- handleClick(event) {
30
- if (this.disabled) {
31
- event.stopPropagation();
32
- return;
33
- }
34
- this.click.emit(event);
35
- }
36
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ButtonComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
37
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.8", type: ButtonComponent, isStandalone: true, selector: "v-button", inputs: { label: "label", icon: "icon", badge: "badge", iconPos: "iconPos", disabled: "disabled", rounded: "rounded", outlined: "outlined", raised: "raised", routerLink: "routerLink", size: "size", queryParams: "queryParams", severity: "severity", type: "type", expanded: "expanded", name: "name" }, outputs: { click: "click" }, providers: [
38
- {
39
- provide: BUTTON_COMPONENT_TOKEN,
40
- useExisting: ButtonComponent,
41
- }
42
- ], ngImport: i0, template: "<div class=\"g-button\">\n <a\n [routerLink]=\"routerLink ? routerLink : undefined\"\n [queryParams]=\"queryParams ? queryParams : undefined\"\n >\n <gov-button\n [type]=\"outlined === true ? 'outlined' : type\"\n [color]=\"severity | govColor\"\n [disabled]=\"disabled\"\n [size]=\"size | govSize\"\n [name]=\"name\"\n [expanded]=\"expanded\"\n (gov-click)=\"handleClick($event)\"\n (click)=\"handleClick($event)\"\n >\n @if (icon) {\n <gov-icon \n [name]=\"icon\"\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\n />\n } @if (label) {\n {{ label | translate }}\n }\n </gov-button>\n </a>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: GovDesignSystemModule }, { kind: "component", type: i1.GovButton, selector: "gov-button", inputs: ["color", "disabled", "download", "expanded", "focusable", "href", "hreflang", "identifier", "loading", "name", "nativeType", "referrerpolicy", "rel", "size", "target", "type"] }, { kind: "component", type: i1.GovIcon, selector: "gov-icon", inputs: ["color", "name", "size", "type"] }, { kind: "ngmodule", type: RouterModule }, { kind: "directive", type: i2.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "pipe", type: GovSizePipe, name: "govSize" }, { kind: "pipe", type: GovColorPipe, name: "govColor" }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i3.TranslatePipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
43
- }
44
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.8", ngImport: i0, type: ButtonComponent, decorators: [{
45
- type: Component,
46
- args: [{ selector: "v-button", standalone: true, imports: [
47
- GovDesignSystemModule, RouterModule, GovSizePipe, GovColorPipe, TranslateModule
48
- ], changeDetection: ChangeDetectionStrategy.OnPush, providers: [
49
- {
50
- provide: BUTTON_COMPONENT_TOKEN,
51
- useExisting: ButtonComponent,
52
- }
53
- ], template: "<div class=\"g-button\">\n <a\n [routerLink]=\"routerLink ? routerLink : undefined\"\n [queryParams]=\"queryParams ? queryParams : undefined\"\n >\n <gov-button\n [type]=\"outlined === true ? 'outlined' : type\"\n [color]=\"severity | govColor\"\n [disabled]=\"disabled\"\n [size]=\"size | govSize\"\n [name]=\"name\"\n [expanded]=\"expanded\"\n (gov-click)=\"handleClick($event)\"\n (click)=\"handleClick($event)\"\n >\n @if (icon) {\n <gov-icon \n [name]=\"icon\"\n [slot]=\"iconPos === 'left' ? 'icon-start' : 'icon-end'\"\n />\n } @if (label) {\n {{ label | translate }}\n }\n </gov-button>\n </a>\n</div>\n" }]
54
- }], propDecorators: { label: [{
55
- type: Input
56
- }], icon: [{
57
- type: Input
58
- }], badge: [{
59
- type: Input
60
- }], iconPos: [{
61
- type: Input
62
- }], disabled: [{
63
- type: Input
64
- }], rounded: [{
65
- type: Input
66
- }], outlined: [{
67
- type: Input
68
- }], raised: [{
69
- type: Input
70
- }], routerLink: [{
71
- type: Input
72
- }], size: [{
73
- type: Input
74
- }], queryParams: [{
75
- type: Input
76
- }], severity: [{
77
- type: Input
78
- }], type: [{
79
- type: Input
80
- }], expanded: [{
81
- type: Input
82
- }], name: [{
83
- type: Input
84
- }], click: [{
85
- type: Output
86
- }] } });
87
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnV0dG9uLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC50cyIsIi4uLy4uLy4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWJzL3VpLWdvdmN6L3NyYy9saWIvY29tcG9uZW50cy9idXR0b24vYnV0dG9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFDSCx1QkFBdUIsRUFDdkIsU0FBUyxFQUNULFlBQVksRUFDWixLQUFLLEVBQ0wsTUFBTSxHQUNULE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBVSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUN2RCxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSwrQkFBK0IsQ0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ml0eSB8IGdvdkNvbG9yXCJcbiAgICAgICAgICAgIFtkaXNhYmxlZF09XCJkaXNhYmxlZFwiXG4gICAgICAgICAgICBbc2l6ZV09XCJzaXplIHwgZ292U2l6ZVwiXG4gICAgICAgICAgICBbbmFtZV09XCJuYW1lXCJcbiAgICAgICAgICAgIFtleHBhbmRlZF09XCJleHBhbmRlZFwiXG4gICAgICAgICAgICAoZ292LWNsaWNrKT1cImhhbmRsZUNsaWNrKCRldmVudClcIlxuICAgICAgICAgICAgKGNsaWNrKT1cImhhbmRsZUNsaWNrKCRldmVudClcIlxuICAgICAgICA+XG4gICAgICAgICAgICBAaWYgKGljb24pIHtcbiAgICAgICAgICAgICAgICA8Z292LWljb24gXG4gICAgICAgICAgICAgICAgICAgIFtuYW1lXT1cImljb25cIlxuICAgICAgICAgICAgICAgICAgICBbc2xvdF09XCJpY29uUG9zID09PSAnbGVmdCcgPyAnaWNvbi1zdGFydCcgOiAnaWNvbi1lbmQnXCJcbiAgICAgICAgICAgICAgICAvPlxuICAgICAgICAgICAgfSBAaWYgKGxhYmVsKSB7XG4gICAgICAgICAgICAgICAge3sgbGFiZWwgfCB0cmFuc2xhdGUgfX1cbiAgICAgICAgICAgIH1cbiAgICAgICAgPC9nb3YtYnV0dG9uPlxuICAgIDwvYT5cbjwvZGl2PlxuIl19
@@ -1,2 +0,0 @@
1
- export * from './button.component';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGlicy91aS1nb3Zjei9zcmMvbGliL2NvbXBvbmVudHMvYnV0dG9uL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGNBQWMsb0JBQW9CLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2J1dHRvbi5jb21wb25lbnQnOyJdfQ==