@allsorter/ui-components 0.0.361 → 0.0.365

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 (52) hide show
  1. package/fesm2022/allsorter-ui-components.mjs +4087 -120
  2. package/fesm2022/allsorter-ui-components.mjs.map +1 -1
  3. package/lib/action-bar-wrapper/action-bar-wrapper.component.d.ts +36 -0
  4. package/lib/ai-apply-bar/ai-apply-bar.component.d.ts +31 -0
  5. package/lib/app-toolbar/app-toolbar.component.d.ts +38 -0
  6. package/lib/app-toolbar/app-toolbar.module.d.ts +14 -0
  7. package/lib/app-toolbar-right/app-toolbar-right.component.d.ts +50 -0
  8. package/lib/app-toolbar-right/app-toolbar-right.module.d.ts +11 -0
  9. package/lib/button/button.component.d.ts +39 -18
  10. package/lib/candidate-section/candidate-section.component.d.ts +20 -0
  11. package/lib/candidate-section/candidate-section.module.d.ts +9 -0
  12. package/lib/checkbox/checkbox.component.d.ts +6 -2
  13. package/lib/checkbox/checkbox.module.d.ts +2 -1
  14. package/lib/custom-editor/bullet-utils.d.ts +31 -0
  15. package/lib/custom-editor/custom-editor-demo.component.d.ts +5 -0
  16. package/lib/custom-editor/custom-editor.component.d.ts +104 -0
  17. package/lib/custom-editor/custom-editor.module.d.ts +7 -0
  18. package/lib/custom-editor/table/table.component.d.ts +21 -0
  19. package/lib/date-range/date-range.component.d.ts +55 -0
  20. package/lib/date-range/date-range.module.d.ts +15 -0
  21. package/lib/experience-section/experience-section.component.d.ts +71 -0
  22. package/lib/experience-section/experience-section.module.d.ts +8 -0
  23. package/lib/field-placeholder/field-placeholder.component.d.ts +41 -0
  24. package/lib/field-placeholder/field-placeholder.module.d.ts +9 -0
  25. package/lib/general-container/colors.constants.d.ts +44 -0
  26. package/lib/general-container/general-container.component.d.ts +31 -0
  27. package/lib/general-container/general-container.module.d.ts +7 -0
  28. package/lib/icon-button/icon-button.component.d.ts +32 -0
  29. package/lib/input/input.component.d.ts +18 -3
  30. package/lib/input/input.module.d.ts +10 -2
  31. package/lib/loader/loader.component.d.ts +7 -3
  32. package/lib/new-typography/new-typography.component.d.ts +36 -0
  33. package/lib/radio/radio.component.d.ts +6 -2
  34. package/lib/radio/radio.module.d.ts +2 -1
  35. package/lib/responsive-columns/responsive-columns.component.d.ts +32 -0
  36. package/lib/responsive-columns/responsive-columns.module.d.ts +8 -0
  37. package/lib/responsive-layout/responsive-layout.component.d.ts +44 -0
  38. package/lib/responsive-layout/responsive-layout.module.d.ts +8 -0
  39. package/lib/resume-entries/resume-entries.component.d.ts +72 -0
  40. package/lib/resume-entries/resume-entries.module.d.ts +8 -0
  41. package/lib/resume-header/resume-header.component.d.ts +26 -3
  42. package/lib/shared-popup-modal/shared-popup-modal.component.d.ts +59 -0
  43. package/lib/shared-popup-modal/shared-popup-modal.module.d.ts +11 -0
  44. package/lib/slide-toggle/slide-toggle.component.d.ts +5 -2
  45. package/lib/slide-toggle/slide-toggle.module.d.ts +2 -1
  46. package/lib/tabs/tabs.component.d.ts +21 -0
  47. package/lib/tabs/tabs.module.d.ts +7 -0
  48. package/lib/toggle-buttons/toggle-buttons.component.d.ts +3 -1
  49. package/lib/tooltip/tooltip.component.d.ts +14 -0
  50. package/lib/tooltip/tooltip.module.d.ts +9 -0
  51. package/package.json +1 -1
  52. package/public-api.d.ts +33 -0
@@ -0,0 +1,36 @@
1
+ import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
+ import { ButtonComponent } from '../button/button.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class ActionBarWrapperComponent implements AfterContentInit {
5
+ actionButtons: QueryList<ButtonComponent>;
6
+ showClose: boolean;
7
+ visible: boolean;
8
+ mode: 'buttons' | 'ai-apply';
9
+ showHelperText: boolean;
10
+ helperText: string;
11
+ showChevronOnApply: boolean;
12
+ showExtraButton: boolean;
13
+ extraButtonIcon: string;
14
+ extraButtonAriaLabel: string;
15
+ showStickyButton: boolean;
16
+ stickyButtonIcon: string;
17
+ stickyButtonAriaLabel: string;
18
+ closeClick: EventEmitter<void>;
19
+ applyClick: EventEmitter<void>;
20
+ extraButtonClick: EventEmitter<void>;
21
+ stickyButtonClick: EventEmitter<void>;
22
+ /** If true, clicking Apply hides the bar (sets visible = false) after emitting applyClick */
23
+ autoHideOnApply: boolean;
24
+ buttons: ButtonComponent[];
25
+ ngAfterContentInit(): void;
26
+ /**
27
+ * Enforce wrapper defaults on projected buttons:
28
+ * - size = 'base'
29
+ * - outline style for non-gradient categories
30
+ * - preserve any button explicitly set to gradient (e.g., AI)
31
+ */
32
+ private applyDefaultsToButtons;
33
+ onApply(): void;
34
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActionBarWrapperComponent, never>;
35
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActionBarWrapperComponent, "al-action-bar", never, { "showClose": { "alias": "showClose"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "showHelperText": { "alias": "showHelperText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; "showChevronOnApply": { "alias": "showChevronOnApply"; "required": false; }; "showExtraButton": { "alias": "showExtraButton"; "required": false; }; "extraButtonIcon": { "alias": "extraButtonIcon"; "required": false; }; "extraButtonAriaLabel": { "alias": "extraButtonAriaLabel"; "required": false; }; "showStickyButton": { "alias": "showStickyButton"; "required": false; }; "stickyButtonIcon": { "alias": "stickyButtonIcon"; "required": false; }; "stickyButtonAriaLabel": { "alias": "stickyButtonAriaLabel"; "required": false; }; "autoHideOnApply": { "alias": "autoHideOnApply"; "required": false; }; }, { "closeClick": "closeClick"; "applyClick": "applyClick"; "extraButtonClick": "extraButtonClick"; "stickyButtonClick": "stickyButtonClick"; }, ["actionButtons"], ["*"], true, never>;
36
+ }
@@ -0,0 +1,31 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class AiApplyBarComponent {
4
+ /** Optional data-test-id for QA/testing */
5
+ dataTestId?: string;
6
+ /**
7
+ * If true, show chevron icon on Apply AI button (second variation).
8
+ */
9
+ showChevron: boolean;
10
+ /**
11
+ * If true, show a separate chevron button after the Apply AI button.
12
+ */
13
+ showChevronButton: boolean;
14
+ placeholder: string;
15
+ options: string[];
16
+ value: string;
17
+ disabled: boolean;
18
+ applyLabel: string;
19
+ applyDisabled: boolean;
20
+ showClose: boolean;
21
+ showHelperText: boolean;
22
+ helperText: string;
23
+ valueChange: EventEmitter<string>;
24
+ applyClick: EventEmitter<void>;
25
+ closeClick: EventEmitter<void>;
26
+ /** Emitted when the chevron icon button is clicked */
27
+ chevronClick: EventEmitter<void>;
28
+ onValueChange(v: string): void;
29
+ static ɵfac: i0.ɵɵFactoryDeclaration<AiApplyBarComponent, never>;
30
+ static ɵcmp: i0.ɵɵComponentDeclaration<AiApplyBarComponent, "al-ai-apply-bar", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "showChevron": { "alias": "showChevron"; "required": false; }; "showChevronButton": { "alias": "showChevronButton"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "options": { "alias": "options"; "required": false; }; "value": { "alias": "value"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "applyLabel": { "alias": "applyLabel"; "required": false; }; "applyDisabled": { "alias": "applyDisabled"; "required": false; }; "showClose": { "alias": "showClose"; "required": false; }; "showHelperText": { "alias": "showHelperText"; "required": false; }; "helperText": { "alias": "helperText"; "required": false; }; }, { "valueChange": "valueChange"; "applyClick": "applyClick"; "closeClick": "closeClick"; "chevronClick": "chevronClick"; }, never, never, true, never>;
31
+ }
@@ -0,0 +1,38 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { MatIconRegistry } from '@angular/material/icon';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export interface IconConfig {
6
+ display: boolean;
7
+ title: string;
8
+ }
9
+ export interface RequiredIconConfig {
10
+ handle: IconConfig;
11
+ edit: IconConfig;
12
+ search: IconConfig;
13
+ }
14
+ export declare class AppToolbarComponent implements OnInit {
15
+ private iconRegistry;
16
+ private sanitizer;
17
+ variant: string;
18
+ constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
19
+ /**
20
+ * Dynamically determines the base path for assets
21
+ * Handles both root deployment and subdirectory deployment (e.g., /allsorter-lib/)
22
+ */
23
+ private getBasePath;
24
+ ngOnInit(): void;
25
+ private _overrideConfig;
26
+ set overrideConfig(val: Partial<RequiredIconConfig>);
27
+ get overrideConfig(): Partial<RequiredIconConfig>;
28
+ private _defaultRequiredIcon;
29
+ requiredIcon: RequiredIconConfig;
30
+ content: string;
31
+ editEvent: EventEmitter<string>;
32
+ isExtractionAnalysisActive: boolean;
33
+ showSearch: boolean;
34
+ editSelectedSection(): void;
35
+ sendMessage(): void;
36
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppToolbarComponent, never>;
37
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppToolbarComponent, "app-toolbar", never, { "variant": { "alias": "variant"; "required": false; }; "overrideConfig": { "alias": "overrideConfig"; "required": false; }; "content": { "alias": "content"; "required": false; }; "isExtractionAnalysisActive": { "alias": "isExtractionAnalysisActive"; "required": false; }; "showSearch": { "alias": "showSearch"; "required": false; }; }, { "editEvent": "editEvent"; }, never, never, true, never>;
38
+ }
@@ -0,0 +1,14 @@
1
+ import { MatIconRegistry } from '@angular/material/icon';
2
+ import { DomSanitizer } from '@angular/platform-browser';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ import * as i2 from "./app-toolbar.component";
6
+ export declare class AppToolbarModule {
7
+ private iconRegistry;
8
+ private sanitizer;
9
+ constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
10
+ private getBasePath;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppToolbarModule, never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppToolbarModule, never, [typeof i1.CommonModule, typeof i2.AppToolbarComponent], [typeof i2.AppToolbarComponent]>;
13
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppToolbarModule>;
14
+ }
@@ -0,0 +1,50 @@
1
+ import { EventEmitter, OnInit, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { MatIconRegistry } from '@angular/material/icon';
3
+ import { DomSanitizer } from '@angular/platform-browser';
4
+ import * as i0 from "@angular/core";
5
+ export interface AppToolbarRightIconConfig {
6
+ display: boolean;
7
+ title: string;
8
+ isHidden?: boolean;
9
+ }
10
+ export interface AppToolbarRightRequiredIconConfig {
11
+ eye: AppToolbarRightIconConfig;
12
+ sr: AppToolbarRightIconConfig;
13
+ checkbox: AppToolbarRightIconConfig;
14
+ }
15
+ export declare class AppToolbarRightComponent implements OnInit, OnChanges {
16
+ private iconRegistry;
17
+ private sanitizer;
18
+ constructor(iconRegistry: MatIconRegistry, sanitizer: DomSanitizer);
19
+ /**
20
+ * Dynamically determines the base path for assets
21
+ * Handles both root deployment and subdirectory deployment (e.g., /allsorter-lib/)
22
+ */
23
+ private getBasePath;
24
+ alwaysShowIcons: boolean;
25
+ checked: boolean;
26
+ overrideConfig: Partial<AppToolbarRightRequiredIconConfig>;
27
+ currentObj: Partial<any>;
28
+ private _showIcons;
29
+ isVisible: boolean;
30
+ requiredIcon: AppToolbarRightRequiredIconConfig;
31
+ checkboxChange: EventEmitter<boolean>;
32
+ visibilityToggle: EventEmitter<boolean>;
33
+ hideShowEvent: EventEmitter<any>;
34
+ checkboxEvent: EventEmitter<object>;
35
+ setSubroleEvent: EventEmitter<any>;
36
+ ngOnInit(): void;
37
+ ngOnChanges(changes: SimpleChanges): void;
38
+ get showIcons(): boolean;
39
+ get eyeIcon(): string;
40
+ get eyeLabel(): string;
41
+ get eyeTitle(): string;
42
+ onCheckboxHover(state: boolean): void;
43
+ onCheckboxChange(checked: boolean): void;
44
+ onToggleVisibility(): void;
45
+ showHideSection(): void;
46
+ checkboxactiveInactiveStatus(): void;
47
+ setSubrole(): void;
48
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppToolbarRightComponent, never>;
49
+ static ɵcmp: i0.ɵɵComponentDeclaration<AppToolbarRightComponent, "app-toolbar-right", never, { "alwaysShowIcons": { "alias": "alwaysShowIcons"; "required": false; }; "checked": { "alias": "checked"; "required": false; }; "overrideConfig": { "alias": "overrideConfig"; "required": false; }; "currentObj": { "alias": "currentObj"; "required": false; }; }, { "checkboxChange": "checkboxChange"; "visibilityToggle": "visibilityToggle"; "hideShowEvent": "hideShowEvent"; "checkboxEvent": "checkboxEvent"; "setSubroleEvent": "setSubroleEvent"; }, never, never, false, never>;
50
+ }
@@ -0,0 +1,11 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./app-toolbar-right.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../checkbox/checkbox.module";
5
+ import * as i4 from "../icon-button/icon-button.component";
6
+ import * as i5 from "@angular/material/icon";
7
+ export declare class AppToolbarRightModule {
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<AppToolbarRightModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AppToolbarRightModule, [typeof i1.AppToolbarRightComponent], [typeof i2.CommonModule, typeof i3.CheckboxModule, typeof i4.IconButtonComponent, typeof i5.MatIconModule], [typeof i1.AppToolbarRightComponent]>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<AppToolbarRightModule>;
11
+ }
@@ -1,43 +1,60 @@
1
- import { EventEmitter } from '@angular/core';
1
+ import { EventEmitter, OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
2
+ import { MatIconRegistry } from '@angular/material/icon';
2
3
  import * as i0 from "@angular/core";
3
- export declare class ButtonComponent {
4
- /**
5
- * Storybook-only: Controls icon placement in stories. Valid values: 'none', 'left', 'right', 'dropdown'.
6
- */
7
- iconPlacement: 'none' | 'left' | 'right' | 'dropdown';
4
+ export declare class ButtonComponent implements OnDestroy, OnChanges {
5
+ private iconRegistry;
8
6
  /**
9
7
  * Returns the typography class to apply. If the consumer passes `fontClass`,
10
8
  * that value wins. Otherwise we derive a sensible default based on `size`.
11
9
  */
12
10
  get effectiveFontClass(): string;
13
11
  state: 'default' | 'hover' | 'pressed' | 'disabled';
14
- category: string;
12
+ /** Button color (blue, green, grey, error, gradient, white, success) */
13
+ color: 'blue' | 'green' | 'grey' | 'error' | 'gradient' | 'white' | 'success';
14
+ /** DEPRECATED: category -> color */
15
+ set category(val: string);
16
+ /** Button outline style (true = outlined, false = filled) */
17
+ outline: boolean;
15
18
  label: string | undefined;
16
19
  arialabel: string | undefined;
17
20
  iconOnly: boolean;
18
21
  leftIcon: string | null | undefined;
19
22
  rightIcon: string | null | undefined;
20
- /** Show/hide left icon (Storybook control) */
21
- showLeftIcon: boolean;
22
- /** Show/hide right icon (Storybook control) */
23
- showRightIcon: boolean;
24
- /** If true, use outlined style for icons */
25
- outlined: boolean;
26
- color: 'primary' | 'accent' | 'warn';
23
+ /** Alias input: `icon` maps to `leftIcon` for convenience across types. */
24
+ private _icon;
25
+ set icon(value: string | null | undefined);
26
+ get icon(): string | null | undefined;
27
+ /** If true, use outlined style for icons (new name). */
28
+ iconOutlined: boolean;
29
+ /** DEPRECATED: outlined -> iconOutlined (remove next major) */
30
+ set outlined(val: boolean);
27
31
  /** Text size option for label and icons */
28
32
  size: 'header' | 'xs' | 'sm' | 'base' | 'l' | 'xl';
29
33
  /** Visual type of button: icon only circle, icon+label, two icons + label */
30
34
  buttonType: 'icon-circle' | 'icon-label' | 'two-icon-label' | 'dropdown';
31
35
  /** Optional typography class, e.g. 'font-display-large' */
32
36
  fontClass: string;
37
+ /** Optional data-test-id for e2e or integration tests */
38
+ dataTestId: string | undefined;
33
39
  onClick: EventEmitter<Event>;
34
40
  onHover: EventEmitter<Event>;
35
41
  onMouseLeave: EventEmitter<Event>;
36
- /** Dropdown menu options, used when buttonType is 'dropdown' */
37
- dropdownOptions: Array<{
42
+ /** Dropdown items (new). */
43
+ dropdownItems: Array<{
44
+ label: string;
45
+ value?: any;
46
+ } | string>;
47
+ /** DEPRECATED: dropdownOptions -> dropdownItems */
48
+ set dropdownOptions(opts: Array<{
38
49
  label: string;
39
50
  value?: any;
40
- }>;
51
+ } | string>);
52
+ /** Enable dropdown behavior. */
53
+ dropdown: boolean;
54
+ /** DEPRECATED: hasDropdown -> dropdown */
55
+ set hasDropdown(val: boolean);
56
+ /** DEPRECATED: isDropdown -> dropdown */
57
+ set isDropdown(val: boolean);
41
58
  /** Emits the selected dropdown option's value */
42
59
  optionSelect: EventEmitter<any>;
43
60
  selectOption(option: any): void;
@@ -45,6 +62,10 @@ export declare class ButtonComponent {
45
62
  stateClasses: {
46
63
  [key: string]: string;
47
64
  };
65
+ private menuTrigger?;
66
+ constructor(iconRegistry: MatIconRegistry);
67
+ ngOnChanges(changes: SimpleChanges): void;
68
+ ngOnDestroy(): void;
48
69
  static ɵfac: i0.ɵɵFactoryDeclaration<ButtonComponent, never>;
49
- static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "al-button", never, { "iconPlacement": { "alias": "iconPlacement"; "required": false; }; "state": { "alias": "state"; "required": false; }; "category": { "alias": "category"; "required": false; }; "label": { "alias": "label"; "required": false; }; "arialabel": { "alias": "arialabel"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "showLeftIcon": { "alias": "showLeftIcon"; "required": false; }; "showRightIcon": { "alias": "showRightIcon"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "fontClass": { "alias": "fontClass"; "required": false; }; "dropdownOptions": { "alias": "dropdownOptions"; "required": false; }; }, { "onClick": "onClick"; "onHover": "onHover"; "onMouseLeave": "onMouseLeave"; "optionSelect": "optionSelect"; }, never, never, true, never>;
70
+ static ɵcmp: i0.ɵɵComponentDeclaration<ButtonComponent, "al-button", never, { "state": { "alias": "state"; "required": false; }; "color": { "alias": "color"; "required": false; }; "category": { "alias": "category"; "required": false; }; "outline": { "alias": "outline"; "required": false; }; "label": { "alias": "label"; "required": false; }; "arialabel": { "alias": "arialabel"; "required": false; }; "iconOnly": { "alias": "iconOnly"; "required": false; }; "leftIcon": { "alias": "leftIcon"; "required": false; }; "rightIcon": { "alias": "rightIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "iconOutlined": { "alias": "iconOutlined"; "required": false; }; "outlined": { "alias": "outlined"; "required": false; }; "size": { "alias": "size"; "required": false; }; "buttonType": { "alias": "buttonType"; "required": false; }; "fontClass": { "alias": "fontClass"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "dropdownItems": { "alias": "dropdownItems"; "required": false; }; "dropdownOptions": { "alias": "dropdownOptions"; "required": false; }; "dropdown": { "alias": "dropdown"; "required": false; }; "hasDropdown": { "alias": "hasDropdown"; "required": false; }; "isDropdown": { "alias": "isDropdown"; "required": false; }; }, { "onClick": "onClick"; "onHover": "onHover"; "onMouseLeave": "onMouseLeave"; "optionSelect": "optionSelect"; }, never, never, true, never>;
50
71
  }
@@ -0,0 +1,20 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CandidateSectionComponent {
3
+ useCustomHeader: boolean;
4
+ candidateDetails: any;
5
+ getFieldNotHidden?: (field: string) => boolean;
6
+ getForceShowAllFields?: () => boolean;
7
+ resumeService?: any;
8
+ fieldVisibilityKeys?: Record<string, string | string[]>;
9
+ shouldShow(...keys: string[]): boolean;
10
+ private resolveKeys;
11
+ shouldShowFor(fieldId: string, fallbackKeys: string[]): boolean;
12
+ getCurrentJob(): string;
13
+ getCurrentEmployer(): string;
14
+ getTotalExpYears(): string;
15
+ hasValue(): boolean;
16
+ hasAddressValue(): boolean;
17
+ hasExperienceValue(): boolean;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<CandidateSectionComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<CandidateSectionComponent, "al-candidate-section", never, { "useCustomHeader": { "alias": "useCustomHeader"; "required": false; }; "candidateDetails": { "alias": "candidateDetails"; "required": false; }; "getFieldNotHidden": { "alias": "getFieldNotHidden"; "required": false; }; "getForceShowAllFields": { "alias": "getForceShowAllFields"; "required": false; }; "resumeService": { "alias": "resumeService"; "required": false; }; "fieldVisibilityKeys": { "alias": "fieldVisibilityKeys"; "required": false; }; }, {}, never, never, false, never>;
20
+ }
@@ -0,0 +1,9 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./candidate-section.component";
3
+ import * as i2 from "@angular/common";
4
+ import * as i3 from "../field-placeholder/field-placeholder.component";
5
+ export declare class CandidateSectionModule {
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<CandidateSectionModule, never>;
7
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CandidateSectionModule, [typeof i1.CandidateSectionComponent], [typeof i2.CommonModule, typeof i3.FieldPlaceholderComponent], [typeof i1.CandidateSectionComponent]>;
8
+ static ɵinj: i0.ɵɵInjectorDeclaration<CandidateSectionModule>;
9
+ }
@@ -8,10 +8,14 @@ export declare class CheckboxComponent implements ControlValueAccessor {
8
8
  name: string;
9
9
  required: boolean;
10
10
  value: any;
11
- color: 'primary' | 'accent' | 'warn';
11
+ color: 'primary' | 'green' | 'error';
12
12
  labelText: string;
13
13
  helperTextLabel: string;
14
14
  showLabels: boolean;
15
+ get hasLabelsClass(): boolean;
16
+ dataTestId: string;
17
+ tooltip: string;
18
+ tooltipPosition: 'right' | 'left' | 'above' | 'below' | 'before' | 'after';
15
19
  change: EventEmitter<boolean>;
16
20
  indeterminateChange: EventEmitter<boolean>;
17
21
  focus: EventEmitter<FocusEvent>;
@@ -27,5 +31,5 @@ export declare class CheckboxComponent implements ControlValueAccessor {
27
31
  handleBlur(event: FocusEvent): void;
28
32
  handleIndeterminateChange(value: boolean): void;
29
33
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "al-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "helperTextLabel": { "alias": "helperTextLabel"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; "focus": "focus"; "blur": "blur"; }, never, ["*"], false, never>;
34
+ static ɵcmp: i0.ɵɵComponentDeclaration<CheckboxComponent, "al-checkbox", never, { "checked": { "alias": "checked"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPosition": { "alias": "labelPosition"; "required": false; }; "name": { "alias": "name"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; "color": { "alias": "color"; "required": false; }; "labelText": { "alias": "labelText"; "required": false; }; "helperTextLabel": { "alias": "helperTextLabel"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "tooltip": { "alias": "tooltip"; "required": false; }; "tooltipPosition": { "alias": "tooltipPosition"; "required": false; }; }, { "change": "change"; "indeterminateChange": "indeterminateChange"; "focus": "focus"; "blur": "blur"; }, never, ["*"], false, never>;
31
35
  }
@@ -2,8 +2,9 @@ import * as i0 from "@angular/core";
2
2
  import * as i1 from "./checkbox.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/material/checkbox";
5
+ import * as i4 from "@angular/material/tooltip";
5
6
  export declare class CheckboxModule {
6
7
  static ɵfac: i0.ɵɵFactoryDeclaration<CheckboxModule, never>;
7
- static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxComponent], [typeof i2.CommonModule, typeof i3.MatCheckboxModule], [typeof i1.CheckboxComponent]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CheckboxModule, [typeof i1.CheckboxComponent], [typeof i2.CommonModule, typeof i3.MatCheckboxModule, typeof i4.MatTooltipModule], [typeof i1.CheckboxComponent]>;
8
9
  static ɵinj: i0.ɵɵInjectorDeclaration<CheckboxModule>;
9
10
  }
@@ -0,0 +1,31 @@
1
+ export default class BulletUtils {
2
+ static sampleBullets: string[];
3
+ static autoBullet(text: string): string;
4
+ static skillBullet(text: string): string;
5
+ static legacyOnPasteHandler(text: string): string;
6
+ static getFirstLineOnPaste(text: string, actualBullet: string[]): string;
7
+ static onPasteBulletHandler(text: string): string;
8
+ private static otherBullets;
9
+ private static getTagOfBullets;
10
+ private static transformSimpleText;
11
+ private static transform;
12
+ private static sanitizeHtml;
13
+ static onPasteBulletHandlerOriginalResume(text: string): string;
14
+ static removeTags(string: string, array: string[]): string;
15
+ /**
16
+ * this funcation take the whole text we have in editor and
17
+ * extract already exicted bullets in it.
18
+ * @param text
19
+ * @returns map -> with the following values
20
+ * 1: 'existedBullets' if we have any in the text.
21
+ * 2: 'text' newly pasted text in the editor
22
+ */
23
+ static extractExistedBullets(text: string): Map<any, any>;
24
+ static cleanSpans(htmlString: string): string;
25
+ static cleanDiv(htmlString: string): string;
26
+ static removeEmptyChildren(element: HTMLElement): void;
27
+ static cleanEmptyTags(htmlString: string): string;
28
+ static refineAllTags(htmlString: string): string;
29
+ static processParagraphs(htmlString: string): string;
30
+ static removeInlineStyles(htmlString: string): string;
31
+ }
@@ -0,0 +1,5 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class CustomEditorDemoComponent {
3
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditorDemoComponent, never>;
4
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditorDemoComponent, "app-custom-editor-demo", never, {}, {}, never, never, true, never>;
5
+ }
@@ -0,0 +1,104 @@
1
+ import { ElementRef, OnInit, OnDestroy, AfterViewInit, EventEmitter } from '@angular/core';
2
+ import { Router } from '@angular/router';
3
+ import * as i0 from "@angular/core";
4
+ interface ToolbarItem {
5
+ type: string;
6
+ icon: string;
7
+ title: string;
8
+ command: string;
9
+ }
10
+ export declare class CustomEditorComponent implements OnInit, OnDestroy, AfterViewInit {
11
+ private router;
12
+ constructor(router: Router);
13
+ editorReference: ElementRef<HTMLElement>;
14
+ bold: boolean;
15
+ italic: boolean;
16
+ underline: boolean;
17
+ list: boolean;
18
+ isVisible: boolean;
19
+ dataTestId: string;
20
+ showLabels: boolean;
21
+ leftLabelText: string;
22
+ rightLabelText: string;
23
+ initialValue: string;
24
+ contentFromParent: string;
25
+ editScreenSection: string;
26
+ actionType: string;
27
+ historyControls: boolean;
28
+ autobullet: boolean;
29
+ showTable: boolean;
30
+ contentChangeFromQuill: EventEmitter<string>;
31
+ ApplyAIinQuill: EventEmitter<any>;
32
+ toolbarConfig: ToolbarItem[];
33
+ textFormattingConfig: ToolbarItem[];
34
+ boldedText: boolean;
35
+ italicTexted: boolean;
36
+ underlineTexted: boolean;
37
+ listTexted: boolean;
38
+ hideAutoBulletOption: boolean;
39
+ skillsBullet: boolean;
40
+ autoBulletDisable: boolean;
41
+ isLoadingAI: boolean;
42
+ isDisabled: boolean;
43
+ AutoBulletButton: string;
44
+ skillsButton: string;
45
+ isSkillBullet: boolean;
46
+ previousContent: string;
47
+ private history;
48
+ private redoStack;
49
+ private content;
50
+ isSmallScreen: boolean;
51
+ showStylingDropdown: boolean;
52
+ showTextFormattingDropdown: boolean;
53
+ private stylingDropdownTimeout;
54
+ private textFormattingDropdownTimeout;
55
+ ngOnInit(): void;
56
+ ngAfterViewInit(): void;
57
+ getEditorElement(): HTMLElement | undefined;
58
+ getBoundGetEditorElement(): () => HTMLElement | undefined;
59
+ getBoundSaveHistory(): () => void;
60
+ getBoundTextChange(): () => void;
61
+ ngOnDestroy(): void;
62
+ private checkScreenSize;
63
+ handleTextFormattingClick(event: MouseEvent, item: ToolbarItem): void;
64
+ toggleStylingDropdown(): void;
65
+ toggleTextFormattingDropdown(): void;
66
+ showStylingDropdownOnHover(): void;
67
+ showTextFormattingDropdownOnHover(): void;
68
+ hideStylingDropdown(): void;
69
+ hideTextFormattingDropdown(): void;
70
+ clearStylingDropdownTimeout(): void;
71
+ clearTextFormattingDropdownTimeout(): void;
72
+ handleClickOutside(event: Event): void;
73
+ execCmd(event: MouseEvent, command: string): void;
74
+ updateTagHierarchy(): void;
75
+ onEditorInput(): void;
76
+ getActiveState(type: string): boolean;
77
+ undo(event: MouseEvent): void;
78
+ redo(event: MouseEvent): void;
79
+ textChange(): void;
80
+ saveHistory(): void;
81
+ toggleDiv(event: Event, visible: boolean): void;
82
+ handleKeydown(event: KeyboardEvent): void;
83
+ handleBackspace(range: Range, liElement: HTMLElement): void;
84
+ isTextHighlighted(): boolean;
85
+ handlePaste(event: ClipboardEvent): void;
86
+ transformData(data: string): string;
87
+ applyBulletUtilsTransformations(data: string): string;
88
+ getSelectedLiTags(): HTMLElement[];
89
+ getAncestorLi(node: Node): HTMLElement | null;
90
+ getPastedData(clipboardData: DataTransfer): string;
91
+ removeSpacesFromHtml(htmlString: string): string;
92
+ removeStylesFromHtml(htmlString: string): string;
93
+ applyRegexTransformations(data: string): string;
94
+ createTemporaryDiv(data: string): HTMLDivElement;
95
+ removeStylesFromElements(tempDiv: HTMLDivElement): void;
96
+ insertTransformedContent(tempDiv: HTMLDivElement): void;
97
+ transformTableData(tables: HTMLCollectionOf<HTMLTableElement>): void;
98
+ transformToBullets(event: MouseEvent): void;
99
+ transformToSkillsBullets(event: MouseEvent): void;
100
+ checkHtmlContent(content: string): boolean;
101
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditorComponent, never>;
102
+ static ɵcmp: i0.ɵɵComponentDeclaration<CustomEditorComponent, "app-custom-editor", never, { "bold": { "alias": "bold"; "required": false; }; "italic": { "alias": "italic"; "required": false; }; "underline": { "alias": "underline"; "required": false; }; "list": { "alias": "list"; "required": false; }; "isVisible": { "alias": "isVisible"; "required": false; }; "dataTestId": { "alias": "dataTestId"; "required": false; }; "showLabels": { "alias": "showLabels"; "required": false; }; "leftLabelText": { "alias": "leftLabelText"; "required": false; }; "rightLabelText": { "alias": "rightLabelText"; "required": false; }; "initialValue": { "alias": "initialValue"; "required": false; }; "contentFromParent": { "alias": "contentFromParent"; "required": false; }; "editScreenSection": { "alias": "editScreenSection"; "required": false; }; "actionType": { "alias": "actionType"; "required": false; }; "historyControls": { "alias": "historyControls"; "required": false; }; "autobullet": { "alias": "autobullet"; "required": false; }; "showTable": { "alias": "showTable"; "required": false; }; "toolbarConfig": { "alias": "toolbarConfig"; "required": false; }; "textFormattingConfig": { "alias": "textFormattingConfig"; "required": false; }; }, { "contentChangeFromQuill": "contentChangeFromQuill"; "ApplyAIinQuill": "ApplyAIinQuill"; }, never, never, true, never>;
103
+ }
104
+ export {};
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./custom-editor.component";
3
+ export declare class CustomEditorModule {
4
+ static ɵfac: i0.ɵɵFactoryDeclaration<CustomEditorModule, never>;
5
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CustomEditorModule, never, [typeof i1.CustomEditorComponent], [typeof i1.CustomEditorComponent]>;
6
+ static ɵinj: i0.ɵɵInjectorDeclaration<CustomEditorModule>;
7
+ }
@@ -0,0 +1,21 @@
1
+ import { OnInit, AfterViewInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TableComponent implements OnInit, AfterViewInit {
4
+ getEditorElement: () => HTMLElement | undefined;
5
+ saveHistoryMethod: () => void;
6
+ textChangeMethod: () => void;
7
+ showTableDropdown: boolean;
8
+ ngOnInit(): void;
9
+ ngAfterViewInit(): void;
10
+ toggleTableDropdown(): void;
11
+ addTable(event: MouseEvent): void;
12
+ deleteTable(event: MouseEvent): void;
13
+ addRowBelow(event: MouseEvent): void;
14
+ addRowAbove(event: MouseEvent): void;
15
+ addColumnLeft(event: MouseEvent): void;
16
+ addColumnRight(event: MouseEvent): void;
17
+ deleteCurrentColumn(event: MouseEvent): void;
18
+ deleteCurrentRow(event: MouseEvent): void;
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<TableComponent, never>;
20
+ static ɵcmp: i0.ɵɵComponentDeclaration<TableComponent, "app-table", never, { "getEditorElement": { "alias": "getEditorElement"; "required": false; }; "saveHistoryMethod": { "alias": "saveHistoryMethod"; "required": false; }; "textChangeMethod": { "alias": "textChangeMethod"; "required": false; }; }, {}, never, never, true, never>;
21
+ }
@@ -0,0 +1,55 @@
1
+ import { EventEmitter } from '@angular/core';
2
+ import { ControlValueAccessor } from '@angular/forms';
3
+ import { DateRange } from '@angular/material/datepicker';
4
+ import * as i0 from "@angular/core";
5
+ export interface DateRangeValue {
6
+ start: Date | null;
7
+ end: Date | null;
8
+ }
9
+ export declare class DateRangeComponent implements ControlValueAccessor {
10
+ dataTestId?: string;
11
+ formControlName?: string;
12
+ size: 'small' | 'medium' | 'large';
13
+ label: string;
14
+ startPlaceholder: string;
15
+ endPlaceholder: string;
16
+ hint: string;
17
+ disabled: boolean;
18
+ required: boolean;
19
+ minDate?: Date;
20
+ maxDate?: Date;
21
+ startAt?: Date;
22
+ opened: boolean;
23
+ touchUi: boolean;
24
+ dateRangeChange: EventEmitter<DateRangeValue>;
25
+ openedChange: EventEmitter<boolean>;
26
+ startDateChange: EventEmitter<Date | null>;
27
+ endDateChange: EventEmitter<Date | null>;
28
+ startDate: Date | null;
29
+ endDate: Date | null;
30
+ isDatePickerOpen: boolean;
31
+ private onChange;
32
+ private onTouched;
33
+ get sizeClass(): string;
34
+ getSizeClass(): string;
35
+ getCategoryClass(): string;
36
+ getAllClasses(): string[];
37
+ get dateRangeValue(): DateRangeValue;
38
+ get displayValue(): string;
39
+ get isRangeValid(): boolean;
40
+ get displayText(): string;
41
+ writeValue(value: DateRangeValue | null): void;
42
+ registerOnChange(fn: any): void;
43
+ registerOnTouched(fn: any): void;
44
+ setDisabledState(isDisabled: boolean): void;
45
+ onStartDateChange(event: any): void;
46
+ onEndDateChange(event: any): void;
47
+ onDateRangeChange(event: DateRange<Date> | null): void;
48
+ onOpenedChange(opened: boolean): void;
49
+ openDatePicker(): void;
50
+ clearDateRange(): void;
51
+ formatDate(date: Date | null): string;
52
+ private emitChanges;
53
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeComponent, never>;
54
+ static ɵcmp: i0.ɵɵComponentDeclaration<DateRangeComponent, "al-date-range", never, { "dataTestId": { "alias": "dataTestId"; "required": false; }; "formControlName": { "alias": "formControlName"; "required": false; }; "size": { "alias": "size"; "required": false; }; "label": { "alias": "label"; "required": false; }; "startPlaceholder": { "alias": "startPlaceholder"; "required": false; }; "endPlaceholder": { "alias": "endPlaceholder"; "required": false; }; "hint": { "alias": "hint"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "minDate": { "alias": "minDate"; "required": false; }; "maxDate": { "alias": "maxDate"; "required": false; }; "startAt": { "alias": "startAt"; "required": false; }; "opened": { "alias": "opened"; "required": false; }; "touchUi": { "alias": "touchUi"; "required": false; }; }, { "dateRangeChange": "dateRangeChange"; "openedChange": "openedChange"; "startDateChange": "startDateChange"; "endDateChange": "endDateChange"; }, never, never, true, never>;
55
+ }
@@ -0,0 +1,15 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "@angular/common";
3
+ import * as i2 from "@angular/forms";
4
+ import * as i3 from "@angular/material/form-field";
5
+ import * as i4 from "@angular/material/input";
6
+ import * as i5 from "@angular/material/datepicker";
7
+ import * as i6 from "@angular/material/core";
8
+ import * as i7 from "@angular/material/icon";
9
+ import * as i8 from "@angular/material/button";
10
+ import * as i9 from "./date-range.component";
11
+ export declare class DateRangeModule {
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<DateRangeModule, never>;
13
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DateRangeModule, never, [typeof i1.CommonModule, typeof i2.FormsModule, typeof i2.ReactiveFormsModule, typeof i3.MatFormFieldModule, typeof i4.MatInputModule, typeof i5.MatDatepickerModule, typeof i6.MatNativeDateModule, typeof i7.MatIconModule, typeof i8.MatButtonModule, typeof i9.DateRangeComponent], [typeof i9.DateRangeComponent]>;
14
+ static ɵinj: i0.ɵɵInjectorDeclaration<DateRangeModule>;
15
+ }