monkey-style-guide 21.2.34 → 22.0.0

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.
@@ -52,14 +52,14 @@ declare class MonkeyActionBarComponent {
52
52
  type MonkeyAlertType = 'default' | 'info' | 'success' | 'alert' | 'error';
53
53
 
54
54
  interface MonkeyAutocompleteData {
55
- value: string | number | Date | Object;
55
+ value: string | number | Date | object;
56
56
  description: string;
57
57
  }
58
58
  interface MonkeyAutocompleteResponse {
59
59
  data: MonkeyAutocompleteData[];
60
60
  }
61
61
 
62
- interface GoogleApiPlacesAddressComponents {
62
+ interface MonkeyGoogleApiPlacesAddressComponents {
63
63
  longText: string;
64
64
  shortText: string;
65
65
  types: [
@@ -68,17 +68,17 @@ interface GoogleApiPlacesAddressComponents {
68
68
  languageCode: string;
69
69
  [key: string]: any;
70
70
  }
71
- interface GoogleApiPlaces {
71
+ interface MonkeyGoogleApiPlaces {
72
72
  formattedAddress: string;
73
- addressComponents?: GoogleApiPlacesAddressComponents[];
73
+ addressComponents?: MonkeyGoogleApiPlacesAddressComponents[];
74
74
  adrFormatAddress?: string;
75
75
  displayName?: {
76
76
  text: string;
77
77
  languageCode: string;
78
78
  };
79
79
  }
80
- interface GoogleApiPlacesResponse {
81
- places: GoogleApiPlaces[];
80
+ interface MonkeyGoogleApiPlacesResponse {
81
+ places: MonkeyGoogleApiPlaces[];
82
82
  }
83
83
 
84
84
  /** ************************
@@ -176,7 +176,7 @@ declare class MonkeyToastRef {
176
176
  }
177
177
  type MonkeyToastPosition = 'top-center' | 'top-left' | 'top-right' | 'bottom-center' | 'bottom-left' | 'bottom-right';
178
178
  type MonkeyToastType = 'default' | 'success' | 'error' | 'warning' | 'question';
179
- type ToastConfig = {
179
+ type MonkeyToastConfig = {
180
180
  type?: MonkeyToastType;
181
181
  icon?: string;
182
182
  isClosable?: boolean;
@@ -189,7 +189,7 @@ type ToastConfig = {
189
189
  action?: () => void;
190
190
  closeOnAction?: boolean;
191
191
  };
192
- type DownloadToastConfig = Pick<ToastConfig, 'message' | 'position' | 'duration' | 'keepOpen'> & {
192
+ type MonkeyDownloadToastConfig = Pick<MonkeyToastConfig, 'message' | 'position' | 'duration' | 'keepOpen'> & {
193
193
  id?: string;
194
194
  progress?: number | Signal<number>;
195
195
  onCancel?: () => void;
@@ -418,7 +418,7 @@ declare class MonkeyAutocompleteAddressComponent implements MonkeyFormFieldContr
418
418
  private _resizeObserver?;
419
419
  initialDisplayWidth: number;
420
420
  showPopOver: boolean;
421
- options: GoogleApiPlaces[];
421
+ options: MonkeyGoogleApiPlaces[];
422
422
  readonly loadingDictionary: rxjs.Observable<any>;
423
423
  readonly noDataDictionary: rxjs.Observable<any>;
424
424
  loading: boolean;
@@ -440,8 +440,8 @@ declare class MonkeyAutocompleteAddressComponent implements MonkeyFormFieldContr
440
440
  writeValue(value: any): void;
441
441
  openPopOver(): void;
442
442
  onInputChange(event: Event): void;
443
- onSelect(option: GoogleApiPlaces): void;
444
- isSelected(option: GoogleApiPlaces): boolean;
443
+ onSelect(option: MonkeyGoogleApiPlaces): void;
444
+ isSelected(option: MonkeyGoogleApiPlaces): boolean;
445
445
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyAutocompleteAddressComponent, [{ optional: true; }, null]>;
446
446
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyAutocompleteAddressComponent, "monkey-autocomplete-address", never, { "placeholder": { "alias": "placeholder"; "required": true; }; "debounce": { "alias": "debounce"; "required": false; }; "tabIndex": { "alias": "tabIndex"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "required": { "alias": "required"; "required": false; }; "value": { "alias": "value"; "required": false; }; }, { "onChange": "onChange"; }, ["optionTemplate"], never, true, never>;
447
447
  static ngAcceptInputType_disabled: unknown;
@@ -691,7 +691,7 @@ declare class MonkeyDownloadButtonComponent {
691
691
  * MIT Licence
692
692
  ************************* */
693
693
  declare const DOWNLOAD_TOAST_EXIT_MS = 200;
694
- interface DownloadToastDictionary {
694
+ interface MonkeyDownloadToastDictionary {
695
695
  singular: string;
696
696
  plural: string;
697
697
  expand: string;
@@ -715,7 +715,7 @@ declare class MonkeyDownloadToastComponent {
715
715
  readonly onCancel: OutputEmitterRef<void>;
716
716
  readonly onClose: OutputEmitterRef<string>;
717
717
  readonly onDownload: OutputEmitterRef<void>;
718
- protected readonly dict: Signal<DownloadToastDictionary>;
718
+ protected readonly dict: Signal<MonkeyDownloadToastDictionary>;
719
719
  protected readonly displayMessage: Signal<string>;
720
720
  protected readonly safeProgress: Signal<number>;
721
721
  protected readonly isBusy: Signal<boolean>;
@@ -736,25 +736,25 @@ declare class MonkeyDownloadToastComponent {
736
736
  * MIT Licence
737
737
  ************************* */
738
738
 
739
- interface DownloadStackItem {
739
+ interface MonkeyDownloadStackItem {
740
740
  id: string;
741
741
  message: string;
742
742
  progress: number | Signal<number>;
743
743
  onCancel?: () => void;
744
744
  onDownload?: () => void;
745
745
  }
746
- type DownloadStackItemUpdate = Partial<Pick<DownloadStackItem, 'message' | 'progress'>>;
746
+ type MonkeyDownloadStackItemUpdate = Partial<Pick<MonkeyDownloadStackItem, 'message' | 'progress'>>;
747
747
  interface DownloadStackRow {
748
- item: DownloadStackItem;
748
+ item: MonkeyDownloadStackItem;
749
749
  depth: number;
750
750
  leaving: boolean;
751
751
  }
752
752
  declare class MonkeyDownloadToastStackComponent {
753
753
  protected readonly position: InputSignal<string>;
754
- readonly items: WritableSignal<DownloadStackItem[]>;
754
+ readonly items: WritableSignal<MonkeyDownloadStackItem[]>;
755
755
  readonly expanded: WritableSignal<boolean>;
756
756
  readonly isMobile: WritableSignal<boolean>;
757
- protected readonly dict: Signal<DownloadToastDictionary>;
757
+ protected readonly dict: Signal<MonkeyDownloadToastDictionary>;
758
758
  protected readonly maxVisible: number;
759
759
  private readonly cardEl;
760
760
  private readonly cardHeight;
@@ -783,14 +783,14 @@ declare class MonkeyDownloadToastStackComponent {
783
783
  protected onHoverMove(): void;
784
784
  protected onHoverLeave(): void;
785
785
  protected toggleExpanded(): void;
786
- add(item: DownloadStackItem): void;
787
- update(id: string, changes: DownloadStackItemUpdate): void;
786
+ add(item: MonkeyDownloadStackItem): void;
787
+ update(id: string, changes: MonkeyDownloadStackItemUpdate): void;
788
788
  remove(id: string): void;
789
789
  private unmount;
790
790
  private clearExit;
791
- protected getProgress(item: DownloadStackItem): number;
792
- protected handleCancel(item: DownloadStackItem): void;
793
- protected handleDownload(item: DownloadStackItem): void;
791
+ protected getProgress(item: MonkeyDownloadStackItem): number;
792
+ protected handleCancel(item: MonkeyDownloadStackItem): void;
793
+ protected handleDownload(item: MonkeyDownloadStackItem): void;
794
794
  protected handleClose(id: string): void;
795
795
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDownloadToastStackComponent, never>;
796
796
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyDownloadToastStackComponent, "monkey-download-toast-stack", never, { "position": { "alias": "position"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
@@ -801,28 +801,28 @@ declare class MonkeyDownloadToastStackComponent {
801
801
  * This style guide was developed by Monkey Exchange Team
802
802
  * MIT Licence
803
803
  ************************* */
804
- type FilterType = 'text' | 'date' | 'currency' | 'status';
805
- interface StatusOption {
804
+ type MonkeyFilterType = 'text' | 'date' | 'currency' | 'status';
805
+ interface MonkeyStatusOption {
806
806
  value: string;
807
807
  description: string;
808
808
  }
809
- interface FilterOption {
809
+ interface MonkeyFilterOption {
810
810
  key: string;
811
811
  label: string;
812
812
  icon?: string;
813
- type: FilterType;
813
+ type: MonkeyFilterType;
814
814
  placeholder?: string;
815
815
  minDate?: Date | string;
816
816
  maxDate?: Date | string;
817
817
  currency?: string;
818
- statusOptions?: StatusOption[];
818
+ statusOptions?: MonkeyStatusOption[];
819
819
  /** Human-readable explanation shown in the complex filter documentation panel */
820
820
  explanation?: string;
821
821
  }
822
- interface ActiveFilter {
822
+ interface MonkeyActiveFilter {
823
823
  key: string;
824
824
  label: string;
825
- type: FilterType;
825
+ type: MonkeyFilterType;
826
826
  value: string | {
827
827
  startDate: string;
828
828
  endDate: string;
@@ -833,29 +833,29 @@ interface ActiveFilter {
833
833
  displayText: string;
834
834
  icon?: string;
835
835
  }
836
- interface FilterBarConfig {
837
- filterOptions: FilterOption[];
836
+ interface MonkeyComplexFilterBarConfig {
837
+ filterOptions: MonkeyFilterOption[];
838
838
  searchPlaceholder?: string;
839
839
  }
840
- type ComplexFilterOperator = ':' | '>' | '<';
841
- interface ComplexFilterCondition {
840
+ type MonkeyComplexFilterOperator = ':' | '>' | '<';
841
+ interface MonkeyComplexFilterCondition {
842
842
  logicalOp?: 'AND' | 'OR';
843
843
  field: string;
844
- operator: ComplexFilterOperator;
844
+ operator: MonkeyComplexFilterOperator;
845
845
  value: string;
846
846
  }
847
- interface ComplexFilterGroup {
847
+ interface MonkeyComplexFilterGroup {
848
848
  /** Logical operator connecting this group to the previous one */
849
849
  logicalOp?: 'AND' | 'OR';
850
- conditions: ComplexFilterCondition[];
850
+ conditions: MonkeyComplexFilterCondition[];
851
851
  }
852
- interface ComplexFilterResult {
852
+ interface MonkeyComplexFilterResult {
853
853
  raw: string;
854
- groups: ComplexFilterGroup[];
854
+ groups: MonkeyComplexFilterGroup[];
855
855
  }
856
- type AutocompleteSuggestionType = 'field' | 'logical' | 'value';
857
- interface AutocompleteSuggestion {
858
- type: AutocompleteSuggestionType;
856
+ type MonkeyAutocompleteSuggestionType = 'field' | 'logical' | 'value';
857
+ interface MonkeyAutocompleteSuggestion {
858
+ type: MonkeyAutocompleteSuggestionType;
859
859
  label: string;
860
860
  /** Field key shown as secondary text for field suggestions */
861
861
  sublabel?: string;
@@ -864,35 +864,34 @@ interface AutocompleteSuggestion {
864
864
  explanation?: string;
865
865
  }
866
866
 
867
- declare class MonkeyComplexFilterBarComponent implements OnInit, OnChanges, AfterViewInit, OnDestroy {
867
+ declare class MonkeyComplexFilterBarComponent implements OnInit, OnChanges, AfterViewInit {
868
868
  private _service;
869
869
  key: i0.InputSignal<string>;
870
- config: i0.InputSignal<FilterBarConfig | undefined>;
870
+ config: i0.InputSignal<MonkeyComplexFilterBarConfig | undefined>;
871
871
  placeholder: i0.InputSignal<string | undefined>;
872
- complexFilterChange: EventEmitter<ComplexFilterResult>;
872
+ complexFilterChange: EventEmitter<MonkeyComplexFilterResult>;
873
873
  private _queryInputRef?;
874
874
  complexQuery: string;
875
875
  queryError: string;
876
- autocompleteItems: AutocompleteSuggestion[];
876
+ autocompleteItems: MonkeyAutocompleteSuggestion[];
877
877
  autocompleteActiveIndex: number;
878
878
  showDocsPanel: boolean;
879
879
  docsPanelTarget: HTMLElement | null;
880
- serviceConfig: i0.Signal<FilterBarConfig | undefined>;
881
- allFilterOptions: i0.Signal<monkey_style_guide.FilterOption[]>;
880
+ serviceConfig: i0.Signal<MonkeyComplexFilterBarConfig | undefined>;
881
+ allFilterOptions: i0.Signal<monkey_style_guide.MonkeyFilterOption[]>;
882
882
  queryPlaceholder: i0.Signal<string>;
883
883
  hasActiveQuery: i0.Signal<boolean>;
884
884
  constructor();
885
885
  ngOnInit(): void;
886
886
  ngAfterViewInit(): void;
887
887
  ngOnChanges(changes: SimpleChanges): void;
888
- ngOnDestroy(): void;
889
888
  private validateQuery;
890
889
  private _autoResize;
891
890
  onInputFocus(textarea: HTMLTextAreaElement): void;
892
891
  onTextareaInput(textarea: HTMLTextAreaElement): void;
893
892
  onQueryInput(textarea: HTMLTextAreaElement): void;
894
893
  onKeydown(event: KeyboardEvent, textarea: HTMLTextAreaElement): void;
895
- onSelectSuggestion(item: AutocompleteSuggestion, textarea: HTMLTextAreaElement): void;
894
+ onSelectSuggestion(item: MonkeyAutocompleteSuggestion, textarea: HTMLTextAreaElement): void;
896
895
  onInputBlur(): void;
897
896
  applyQuery(): void;
898
897
  clearQuery(): void;
@@ -902,9 +901,9 @@ declare class MonkeyComplexFilterBarComponent implements OnInit, OnChanges, Afte
902
901
  static ɵcmp: i0.ɵɵComponentDeclaration<MonkeyComplexFilterBarComponent, "monkey-complex-filter-bar", never, { "key": { "alias": "key"; "required": true; "isSignal": true; }; "config": { "alias": "config"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; }, { "complexFilterChange": "complexFilterChange"; }, never, ["*"], true, never>;
903
902
  }
904
903
 
905
- interface FilterBarState {
904
+ interface MonkeyFilterBarState {
906
905
  search: string;
907
- filters: ActiveFilter[];
906
+ filters: MonkeyActiveFilter[];
908
907
  complexQuery?: string;
909
908
  }
910
909
  declare class MonkeyFilterBarService {
@@ -912,22 +911,22 @@ declare class MonkeyFilterBarService {
912
911
  private _activeFilters;
913
912
  private _searchValues;
914
913
  private _complexQueries;
915
- setConfig(storageKey: string, config: FilterBarConfig): void;
916
- getConfig(storageKey: string): FilterBarConfig | undefined;
917
- config(storageKey: string): i0.Signal<FilterBarConfig | undefined>;
918
- availableFilterOptions(storageKey: string): FilterOption[];
919
- getActiveFilters(storageKey: string): ActiveFilter[];
920
- activeFilters(storageKey: string): i0.Signal<ActiveFilter[]>;
914
+ setConfig(storageKey: string, config: MonkeyComplexFilterBarConfig): void;
915
+ getConfig(storageKey: string): MonkeyComplexFilterBarConfig | undefined;
916
+ config(storageKey: string): i0.Signal<MonkeyComplexFilterBarConfig | undefined>;
917
+ availableFilterOptions(storageKey: string): MonkeyFilterOption[];
918
+ getActiveFilters(storageKey: string): MonkeyActiveFilter[];
919
+ activeFilters(storageKey: string): i0.Signal<MonkeyActiveFilter[]>;
921
920
  isFilterActive(storageKey: string, filterKey: string): boolean;
922
- setActiveFilters(storageKey: string, filters: ActiveFilter[]): void;
923
- addFilter(storageKey: string, option: FilterOption, value: string | {
921
+ setActiveFilters(storageKey: string, filters: MonkeyActiveFilter[]): void;
922
+ addFilter(storageKey: string, option: MonkeyFilterOption, value: string | {
924
923
  startDate: string;
925
924
  endDate: string;
926
925
  } | {
927
926
  min?: number;
928
927
  max?: number;
929
928
  } | string[]): void;
930
- updateFilter(storageKey: string, filterKey: string, option: FilterOption, value: string | {
929
+ updateFilter(storageKey: string, filterKey: string, option: MonkeyFilterOption, value: string | {
931
930
  startDate: string;
932
931
  endDate: string;
933
932
  } | {
@@ -942,10 +941,10 @@ declare class MonkeyFilterBarService {
942
941
  getComplexQuery(storageKey: string): string;
943
942
  setComplexQuery(storageKey: string, query: string): void;
944
943
  clearComplexQuery(storageKey: string): void;
945
- getState(storageKey: string): FilterBarState;
944
+ getState(storageKey: string): MonkeyFilterBarState;
946
945
  state(storageKey: string): i0.Signal<{
947
946
  search: string;
948
- filters: ActiveFilter[];
947
+ filters: MonkeyActiveFilter[];
949
948
  complexQuery: string | undefined;
950
949
  }>;
951
950
  /**
@@ -956,7 +955,7 @@ declare class MonkeyFilterBarService {
956
955
  * - Token with operator (fieldKey[:<>]valuePrefix) → suggest status values
957
956
  * - Token without operator → suggest fields, AND/OR (after a complete term), and ( (at top level)
958
957
  */
959
- getAutocompleteSuggestions(storageKey: string, query: string, cursorPos: number): AutocompleteSuggestion[];
958
+ getAutocompleteSuggestions(storageKey: string, query: string, cursorPos: number): MonkeyAutocompleteSuggestion[];
960
959
  /**
961
960
  * Parses a raw complex query string into structured groups.
962
961
  * Parenthesised expressions become a single group; bare conditions
@@ -965,11 +964,11 @@ declare class MonkeyFilterBarService {
965
964
  * Example: `(a:1 OR b:2) AND c:3` →
966
965
  * [{ conditions:[{a:1},{logicalOp:OR,b:2}] }, { logicalOp:AND, conditions:[{c:3}] }]
967
966
  */
968
- parseComplexQuery(raw: string): ComplexFilterGroup[];
967
+ parseComplexQuery(raw: string): MonkeyComplexFilterGroup[];
969
968
  private _parseConditionToken;
970
969
  private formatFilterValuePlain;
971
970
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyFilterBarService, never>;
972
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyFilterBarService>;
971
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
973
972
  }
974
973
 
975
974
  /** ************************
@@ -1114,7 +1113,7 @@ declare class MonkeyFilterBarComponent {
1114
1113
  protected readonly addOptions: i0.Signal<MonkeyFilterBarOption[]>;
1115
1114
  protected readonly canAddFilter: i0.Signal<boolean>;
1116
1115
  protected readonly changeOptions: i0.Signal<MonkeyFilterBarOption[]>;
1117
- protected readonly triggerVariant: i0.Signal<"icon" | "text">;
1116
+ protected readonly triggerVariant: i0.Signal<"text" | "icon">;
1118
1117
  protected readonly triggerIcon: i0.Signal<"filter" | "add-plus">;
1119
1118
  protected readonly triggerFlipId: i0.Signal<"trigger-text" | "trigger-icon">;
1120
1119
  constructor();
@@ -1247,7 +1246,7 @@ declare class MonkeyFilterSegmentComponent {
1247
1246
  * This style guide was developed by Monkey Exchange Team
1248
1247
  * MIT Licence
1249
1248
  ************************* */
1250
- type MenuAlignment = 'start' | 'end';
1249
+ type MonkeyMenuAlignment = 'start' | 'end';
1251
1250
 
1252
1251
  type MonkeyFilterTriggerVariant = 'text' | 'icon';
1253
1252
  declare class MonkeyFilterTriggerComponent {
@@ -1260,10 +1259,10 @@ declare class MonkeyFilterTriggerComponent {
1260
1259
  readonly disabled: i0.InputSignalWithTransform<boolean, unknown>;
1261
1260
  readonly immediateExit: i0.InputSignalWithTransform<boolean, unknown>;
1262
1261
  readonly open: i0.InputSignalWithTransform<boolean, unknown>;
1263
- readonly alignment: i0.InputSignal<MenuAlignment | null>;
1262
+ readonly alignment: i0.InputSignal<MonkeyMenuAlignment | null>;
1264
1263
  readonly onOpenChange: i0.OutputEmitterRef<boolean>;
1265
1264
  readonly ariaLabelAttr: i0.Signal<string | null>;
1266
- readonly menuAlignment: i0.Signal<MenuAlignment>;
1265
+ readonly menuAlignment: i0.Signal<MonkeyMenuAlignment>;
1267
1266
  constructor();
1268
1267
  toggle(): void;
1269
1268
  onDocumentPointerdown(event: PointerEvent): void;
@@ -1439,7 +1438,7 @@ declare class MonkeyInputCodeComponent implements ControlValueAccessor, MonkeyFo
1439
1438
  static ngAcceptInputType_disabled: unknown;
1440
1439
  }
1441
1440
 
1442
- declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
1441
+ declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, ControlValueAccessor {
1443
1442
  formField: MonkeyFormFieldComponent;
1444
1443
  placeholder: string;
1445
1444
  title: string;
@@ -1472,9 +1471,6 @@ declare class MonkeyInputDateRangeComponent implements MonkeyFormFieldControl, C
1472
1471
  handledMaxDate: string;
1473
1472
  get elementTarget(): any;
1474
1473
  closePopOver: () => void;
1475
- ngAfterContentInit(): void;
1476
- ngOnChanges(changes: SimpleChanges): void;
1477
- ngOnDestroy(): void;
1478
1474
  onContainerClick(event: MouseEvent): void;
1479
1475
  _onFocus(): void;
1480
1476
  _onBlur(): void;
@@ -1497,7 +1493,7 @@ interface Country {
1497
1493
  code: string;
1498
1494
  name: string;
1499
1495
  }
1500
- declare class MonkeyInputPhoneComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
1496
+ declare class MonkeyInputPhoneComponent implements MonkeyFormFieldControl, ControlValueAccessor {
1501
1497
  placeholder: string;
1502
1498
  tabIndex: number;
1503
1499
  get disabled(): boolean;
@@ -1533,9 +1529,6 @@ declare class MonkeyInputPhoneComponent implements MonkeyFormFieldControl, Contr
1533
1529
  disableToBeDirty?: boolean | undefined;
1534
1530
  _onChange: any;
1535
1531
  _onTouched: any;
1536
- ngAfterContentInit(): void;
1537
- ngOnChanges(changes: SimpleChanges): void;
1538
- ngOnDestroy(): void;
1539
1532
  onContainerClick(event: MouseEvent): void;
1540
1533
  _onFocus(): void;
1541
1534
  _onBlur(): void;
@@ -1562,7 +1555,7 @@ type MonkeyInputUploadChangeEvent = {
1562
1555
  component: MonkeyInputUploadComponent;
1563
1556
  file: File;
1564
1557
  };
1565
- declare class MonkeyInputUploadComponent implements MonkeyFormFieldControl, ControlValueAccessor, AfterContentInit, OnDestroy, OnChanges {
1558
+ declare class MonkeyInputUploadComponent implements MonkeyFormFieldControl, ControlValueAccessor {
1566
1559
  fileInput: ElementRef<HTMLInputElement>;
1567
1560
  progress: number;
1568
1561
  placeholder: string;
@@ -1597,9 +1590,6 @@ declare class MonkeyInputUploadComponent implements MonkeyFormFieldControl, Cont
1597
1590
  disableToBeDirty?: boolean | undefined;
1598
1591
  _onChange: any;
1599
1592
  _onTouched: any;
1600
- ngAfterContentInit(): void;
1601
- ngOnChanges(changes: SimpleChanges): void;
1602
- ngOnDestroy(): void;
1603
1593
  registerOnChange(fn: any): void;
1604
1594
  registerOnTouched(fn: any): void;
1605
1595
  setDisabledState(isDisabled: boolean): void;
@@ -1746,7 +1736,7 @@ declare class MonkeyModalModule {
1746
1736
  declare class IdGenerator {
1747
1737
  getId(prefix: string): string;
1748
1738
  static ɵfac: i0.ɵɵFactoryDeclaration<IdGenerator, never>;
1749
- static ɵprov: i0.ɵɵInjectableDeclaration<IdGenerator>;
1739
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1750
1740
  }
1751
1741
 
1752
1742
  /** ************************
@@ -1769,7 +1759,7 @@ declare class MonkeyModalService {
1769
1759
  openConfirmation(params: MonkeyModalConfirmationConfig, config: MonkeyModalConfig): MonkeyModalRef;
1770
1760
  closeAll(): void;
1771
1761
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyModalService, never>;
1772
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyModalService>;
1762
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
1773
1763
  }
1774
1764
 
1775
1765
  /** ************************
@@ -2194,37 +2184,37 @@ declare class MonkeyPaginationSizeComponent {
2194
2184
  * This style guide was developed by Monkey Exchange Team
2195
2185
  * MIT Licence
2196
2186
  ************************* */
2197
- type SortDirection = 'ascending' | 'descending';
2198
- interface SortState {
2187
+ type MonkeySortDirection = 'asc' | 'desc';
2188
+ interface MonkeySortState {
2199
2189
  column: string;
2200
- direction: SortDirection;
2190
+ direction: MonkeySortDirection;
2201
2191
  }
2202
- type SelectionState = 'none' | 'partial' | 'all';
2203
- type ColumnAlign = 'start' | 'end';
2204
- type ColumnPinned = 'none' | 'left' | 'right';
2192
+ type MonkeySelectionState = 'none' | 'partial' | 'all';
2193
+ type MonkeyColumnAlign = 'start' | 'end';
2194
+ type MonkeyColumnPinned = 'none' | 'left' | 'right';
2205
2195
  interface MonkeyTableColumnState {
2206
2196
  name: string;
2207
2197
  hidden: boolean;
2208
- pinned: ColumnPinned;
2198
+ pinned: MonkeyColumnPinned;
2209
2199
  }
2210
2200
  declare function sameColumnState(a: readonly MonkeyTableColumnState[], b: readonly MonkeyTableColumnState[]): boolean;
2211
- declare function ariaSortOf(sort: SortState | null, column: string): SortDirection | null;
2201
+ declare function ariaSortOf(sort: MonkeySortState | null, column: string): MonkeySortDirection | null;
2212
2202
  declare function interpolate(template: string, values: Record<string, string | number>): string;
2213
2203
  declare function toggleKey(current: ReadonlySet<string>, key: string): ReadonlySet<string>;
2214
- declare function selectionState(current: ReadonlySet<string>, keys: readonly string[]): SelectionState;
2204
+ declare function selectionState(current: ReadonlySet<string>, keys: readonly string[]): MonkeySelectionState;
2215
2205
  declare function addKeys(current: ReadonlySet<string>, keys: readonly string[], limit?: number): ReadonlySet<string>;
2216
2206
  declare function removeKeys(current: ReadonlySet<string>, keys: readonly string[]): ReadonlySet<string>;
2217
2207
  declare function sortByOrder<T>(items: readonly T[], nameOf: (item: T) => string, order: readonly string[]): T[];
2218
2208
  declare function mergeOrder(previous: readonly string[], next: readonly string[]): string[];
2219
- interface RowMetrics {
2209
+ interface MonkeyRowMetrics {
2220
2210
  count: number;
2221
2211
  rowHeight: number;
2222
2212
  detailHeight: number;
2223
2213
  openIndices: readonly number[];
2224
2214
  }
2225
- declare function totalHeight(metrics: RowMetrics): number;
2226
- declare function offsetOfIndex(index: number, metrics: RowMetrics): number;
2227
- declare function indexAtOffset(offset: number, metrics: RowMetrics): number;
2215
+ declare function totalHeight(metrics: MonkeyRowMetrics): number;
2216
+ declare function offsetOfIndex(index: number, metrics: MonkeyRowMetrics): number;
2217
+ declare function indexAtOffset(offset: number, metrics: MonkeyRowMetrics): number;
2228
2218
  declare function toPx(width: string | null | undefined): number;
2229
2219
 
2230
2220
  interface MonkeyTableCellContext<T> {
@@ -2252,13 +2242,13 @@ declare class MonkeyTableColumnDirective<T = any> {
2252
2242
  readonly labelHidden: i0.InputSignalWithTransform<boolean, unknown>;
2253
2243
  readonly unit: i0.InputSignal<string>;
2254
2244
  readonly width: i0.InputSignal<string>;
2255
- readonly align: i0.InputSignal<ColumnAlign>;
2245
+ readonly align: i0.InputSignal<MonkeyColumnAlign>;
2256
2246
  readonly sortable: i0.InputSignalWithTransform<boolean, unknown>;
2257
2247
  readonly sortKind: i0.InputSignal<MonkeyTableSortKind>;
2258
2248
  readonly hideable: i0.InputSignalWithTransform<boolean, unknown>;
2259
2249
  readonly movable: i0.InputSignalWithTransform<boolean, unknown>;
2260
2250
  readonly pinnable: i0.InputSignalWithTransform<boolean, unknown>;
2261
- readonly pinned: i0.ModelSignal<ColumnPinned>;
2251
+ readonly pinned: i0.ModelSignal<MonkeyColumnPinned>;
2262
2252
  readonly hidden: i0.ModelSignal<boolean>;
2263
2253
  readonly cell: i0.Signal<MonkeyTableCellDirective<any> | undefined>;
2264
2254
  readonly headerCell: i0.Signal<MonkeyTableHeaderCellDirective | undefined>;
@@ -2307,7 +2297,7 @@ declare class MonkeyTableVirtualScroll implements VirtualScrollStrategy {
2307
2297
  onContentRendered(): void;
2308
2298
  onRenderedOffsetChanged(): void;
2309
2299
  scrollToIndex(index: number, behavior: ScrollBehavior): void;
2310
- setMetrics(metrics: RowMetrics, buffer: number): void;
2300
+ setMetrics(metrics: MonkeyRowMetrics, buffer: number): void;
2311
2301
  private update;
2312
2302
  }
2313
2303
 
@@ -2316,9 +2306,9 @@ interface SlotBase {
2316
2306
  key: string;
2317
2307
  width: string | null;
2318
2308
  px: number;
2319
- pinned: ColumnPinned;
2309
+ pinned: MonkeyColumnPinned;
2320
2310
  offset: number;
2321
- align: ColumnAlign;
2311
+ align: MonkeyColumnAlign;
2322
2312
  }
2323
2313
  type Slot<T> = (SlotBase & {
2324
2314
  kind: 'data';
@@ -2369,7 +2359,7 @@ declare class MonkeyTableComponent<T> implements OnDestroy {
2369
2359
  readonly selectionMode: i0.InputSignal<"none" | "multiple">;
2370
2360
  readonly selected: i0.ModelSignal<ReadonlySet<string>>;
2371
2361
  readonly maxSelected: i0.InputSignal<number>;
2372
- readonly sort: i0.InputSignal<SortState | null>;
2362
+ readonly sort: i0.InputSignal<MonkeySortState | null>;
2373
2363
  readonly expandable: i0.InputSignalWithTransform<boolean, unknown>;
2374
2364
  readonly expanded: i0.ModelSignal<ReadonlySet<string>>;
2375
2365
  readonly reorderable: i0.InputSignalWithTransform<boolean, unknown>;
@@ -2384,7 +2374,7 @@ declare class MonkeyTableComponent<T> implements OnDestroy {
2384
2374
  readonly loading: i0.InputSignalWithTransform<boolean, unknown>;
2385
2375
  readonly emptyText: i0.InputSignal<string>;
2386
2376
  readonly skeletonRows: i0.InputSignal<number | "auto">;
2387
- readonly onSortChange: i0.OutputEmitterRef<SortState | null>;
2377
+ readonly onSortChange: i0.OutputEmitterRef<MonkeySortState | null>;
2388
2378
  readonly onColumnHidden: i0.OutputEmitterRef<{
2389
2379
  name: string;
2390
2380
  label: string;
@@ -2466,8 +2456,8 @@ declare class MonkeyTableComponent<T> implements OnDestroy {
2466
2456
  desc: string;
2467
2457
  };
2468
2458
  protected ariaSortFor(column: Column<T> | null): string | null;
2469
- protected isSortedBy(column: Column<T>, direction: SortDirection): boolean;
2470
- protected sortBy(column: Column<T>, direction: SortDirection): void;
2459
+ protected isSortedBy(column: Column<T>, direction: MonkeySortDirection): boolean;
2460
+ protected sortBy(column: Column<T>, direction: MonkeySortDirection): void;
2471
2461
  protected canMove(column: Column<T>, delta: -1 | 1): boolean;
2472
2462
  protected move(column: Column<T>, delta: -1 | 1): void;
2473
2463
  protected hide(column: Column<T>): void;
@@ -2856,12 +2846,12 @@ declare class MonkeyPrefixDirective {
2856
2846
  }
2857
2847
 
2858
2848
  declare class MonkeySuffixDirective {
2859
- set _hasAction(value: '');
2860
2849
  hasAction: boolean;
2861
2850
  action: Function | null;
2862
2851
  onClick(event: PointerEvent): void;
2863
2852
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeySuffixDirective, never>;
2864
- static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeySuffixDirective, "monkey-suffix", never, { "_hasAction": { "alias": "hasAction"; "required": false; }; }, {}, never, never, true, never>;
2853
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MonkeySuffixDirective, "monkey-suffix", never, { "hasAction": { "alias": "hasAction"; "required": false; }; }, {}, never, never, true, never>;
2854
+ static ngAcceptInputType_hasAction: unknown;
2865
2855
  }
2866
2856
 
2867
2857
  /** ************************
@@ -2896,7 +2886,7 @@ declare class MonkeyEcxAddressService {
2896
2886
  zipCode: any;
2897
2887
  }[]>;
2898
2888
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyEcxAddressService, never>;
2899
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyEcxAddressService>;
2889
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2900
2890
  }
2901
2891
 
2902
2892
  declare class MonkeyDictionaryService {
@@ -2908,7 +2898,7 @@ declare class MonkeyDictionaryService {
2908
2898
  private handleWrapperValues;
2909
2899
  get(key: string): rxjs.Observable<any>;
2910
2900
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDictionaryService, never>;
2911
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyDictionaryService>;
2901
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2912
2902
  }
2913
2903
 
2914
2904
  declare class MonkeyDownloadToastService {
@@ -2940,16 +2930,16 @@ declare class MonkeyDownloadToastService {
2940
2930
  private findStackWithId;
2941
2931
  private disposeStackIfEmpty;
2942
2932
  private removeById;
2943
- show(config: DownloadToastConfig): {
2933
+ show(config: MonkeyDownloadToastConfig): {
2944
2934
  id: string;
2945
2935
  close: () => void;
2946
- update: (partial: DownloadStackItemUpdate) => void;
2936
+ update: (partial: MonkeyDownloadStackItemUpdate) => void;
2947
2937
  };
2948
2938
  close(id: string): void;
2949
- update(id: string, partial: DownloadStackItemUpdate): void;
2939
+ update(id: string, partial: MonkeyDownloadStackItemUpdate): void;
2950
2940
  closeAll(): void;
2951
2941
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyDownloadToastService, never>;
2952
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyDownloadToastService>;
2942
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2953
2943
  }
2954
2944
 
2955
2945
  declare class MonkeyStepperService {
@@ -2957,7 +2947,7 @@ declare class MonkeyStepperService {
2957
2947
  currentStep(id: string): i0.Signal<string | undefined>;
2958
2948
  setCurrentStep(id: string, step: string): void;
2959
2949
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyStepperService, never>;
2960
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyStepperService>;
2950
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2961
2951
  }
2962
2952
 
2963
2953
  declare class MonkeyToastService {
@@ -2974,9 +2964,9 @@ declare class MonkeyToastService {
2974
2964
  private closeToastIfNeeded;
2975
2965
  private bindToastRelease;
2976
2966
  private scheduleToastAutoClose;
2977
- show(toastConfig: ToastConfig): MonkeyToastComponent;
2967
+ show(toastConfig: MonkeyToastConfig): MonkeyToastComponent;
2978
2968
  static ɵfac: i0.ɵɵFactoryDeclaration<MonkeyToastService, never>;
2979
- static ɵprov: i0.ɵɵInjectableDeclaration<MonkeyToastService>;
2969
+ static ɵprov: i0.ɵɵInjectableDeclaration<any>;
2980
2970
  }
2981
2971
 
2982
2972
  /** ************************
@@ -2993,4 +2983,4 @@ declare const MECX_I18N_LANG: InjectionToken<BehaviorSubject<string>>;
2993
2983
  declare function injectTokenWithWarning<T>(token: InjectionToken<T>, name?: string): T | null;
2994
2984
 
2995
2985
  export { DOWNLOAD_TOAST_EXIT_MS, MECX_COUNTRY_ISO_CODE, MECX_GOOGLE_API_KEY, MECX_I18N_LANG, MECX_I18N_WRAPPER, MECX_MODAL_DATA, MECX_MODAL_DEFAULT_CONFIG, MECX_POPOVER_OPTIONS, MonkeyAccordionComponent, MonkeyActionBarComponent, MonkeyAlertComponent, MonkeyAutocompleteAddressComponent, MonkeyAutocompleteComponent, MonkeyAvatarComponent, MonkeyBadgeComponent, MonkeyBadgeDirective, MonkeyBreadcrumbComponent, MonkeyButtonComponent, MonkeyCheckboxComponent, MonkeyComplexFilterBarComponent, MonkeyDateRangeComponent, MonkeyDictionaryService, MonkeyDisplayDirective, MonkeyDividerComponent, MonkeyDownloadButtonComponent, MonkeyDownloadToastComponent, MonkeyDownloadToastService, MonkeyDownloadToastStackComponent, MonkeyEcxAddressService, MonkeyErrorDirective, MonkeyFilterBarComponent, MonkeyFilterBarService, MonkeyFilterChipComponent, MonkeyFilterMenuComponent, MonkeyFilterMenuItemComponent, MonkeyFilterSegmentComponent, MonkeyFilterTriggerComponent, MonkeyFormDirective, MonkeyFormFieldComponent, MonkeyFormFieldControl, MonkeyFormFieldModule, MonkeyHelperDirective, MonkeyIconButtonComponent, MonkeyInfoDirective, MonkeyInputCodeComponent, MonkeyInputCurrencyDirective, MonkeyInputDateRangeComponent, MonkeyInputDirective, MonkeyInputModule, MonkeyInputPhoneComponent, MonkeyInputUploadComponent, MonkeyLabelDirective, MonkeyModalActionsDirective, MonkeyModalComponent, MonkeyModalConfig, MonkeyModalContentDirective, MonkeyModalModule, MonkeyModalRef, MonkeyModalService, MonkeyModalSubtitleDirective, MonkeyModalTitleDirective, MonkeyOptionComponent, MonkeyPaginationActionComponent, MonkeyPaginationLabelComponent, MonkeyPaginationSizeComponent, MonkeyPassNumberComponent, MonkeyPassSecretNumberComponent, MonkeyPopoverContentComponent, MonkeyPopoverDirective, MonkeyPrefixDirective, MonkeyRadioButtonComponent, MonkeyScrollbarComponent, MonkeySecurityLevelComponent, MonkeySelectComponent, MonkeyStatusComponent, MonkeyStepComponent, MonkeyStepperComponent, MonkeyStepperModule, MonkeyStepperService, MonkeySuffixDirective, MonkeyTabComponent, MonkeyTabLinkDirective, MonkeyTableCellDirective, MonkeyTableColumnDirective, MonkeyTableComponent, MonkeyTableEmptyDirective, MonkeyTableHeaderCellDirective, MonkeyTableLoadingDirective, MonkeyTableRowDetailDirective, MonkeyTabsComponent, MonkeyTabsModule, MonkeyToastComponent, MonkeyToastRef, MonkeyToastService, MonkeyToggleComponent, MonkeyToggleLineButtonComponent, MonkeyToggleLineComponent, MonkeyTooltipComponent, MonkeyTooltipDirective, MonkeyUserProfileButtonComponent, MonkeyUserProfileComponent, addKeys, appliedFrom, ariaSortOf, arityOf, closeOnClickAttribute, conditionsForOption, conditionsOf, getCurrencySymbol, indexAtOffset, injectTokenWithWarning, interpolate, isComplete, mergeOrder, offsetOfIndex, panelOf, removeKeys, sameColumnState, selectionState, sortByOrder, supportedConditionsOf, toPx, toggleKey, totalHeight, withCondition, withType };
2996
- export type { ActiveFilter, AutocompleteSuggestion, AutocompleteSuggestionType, ColumnAlign, ColumnPinned, ComplexFilterCondition, ComplexFilterGroup, ComplexFilterOperator, ComplexFilterResult, DownloadStackItem, DownloadStackItemUpdate, DownloadToastConfig, DownloadToastDictionary, FilterBarConfig, FilterBarState, FilterOption, FilterType, GoogleApiPlaces, GoogleApiPlacesAddressComponents, GoogleApiPlacesResponse, MonkeyAlertType, MonkeyAppliedFilter, MonkeyAutocompleteData, MonkeyAutocompleteResponse, MonkeyBreadcrumb, MonkeyButtonColor, MonkeyButtonType, MonkeyDownloadButtonChangeEvent, MonkeyFilterArity, MonkeyFilterBarConfig, MonkeyFilterBarOption, MonkeyFilterBarStatusOption, MonkeyFilterBarType, MonkeyFilterCondition, MonkeyFilterConditionsByType, MonkeyFilterMenuItemProperty, MonkeyFilterOperand, MonkeyFilterOperator, MonkeyFilterPanel, MonkeyFilterRow, MonkeyFilterTriggerVariant, MonkeyInputUploadChangeEvent, MonkeyModalConfirmationConfig, MonkeyModalDefaultConfig, MonkeyPopoverDir, MonkeyPopoverItemClick, MonkeyPopoverOptions, MonkeyScrollbarOrientation, MonkeyScrollbarSize, MonkeySize, MonkeyTableCellContext, MonkeyTableColumnState, MonkeyTableScrollConfig, MonkeyTableSortKind, MonkeyToastPosition, MonkeyToastType, RowMetrics, SelectionState, SortDirection, SortState, StatusOption, ToastConfig };
2986
+ export type { MonkeyActiveFilter, MonkeyAlertType, MonkeyAppliedFilter, MonkeyAutocompleteData, MonkeyAutocompleteResponse, MonkeyAutocompleteSuggestion, MonkeyAutocompleteSuggestionType, MonkeyBreadcrumb, MonkeyButtonColor, MonkeyButtonType, MonkeyColumnAlign, MonkeyColumnPinned, MonkeyComplexFilterBarConfig, MonkeyComplexFilterCondition, MonkeyComplexFilterGroup, MonkeyComplexFilterOperator, MonkeyComplexFilterResult, MonkeyDownloadButtonChangeEvent, MonkeyDownloadStackItem, MonkeyDownloadStackItemUpdate, MonkeyDownloadToastConfig, MonkeyDownloadToastDictionary, MonkeyFilterArity, MonkeyFilterBarConfig, MonkeyFilterBarOption, MonkeyFilterBarState, MonkeyFilterBarStatusOption, MonkeyFilterBarType, MonkeyFilterCondition, MonkeyFilterConditionsByType, MonkeyFilterMenuItemProperty, MonkeyFilterOperand, MonkeyFilterOperator, MonkeyFilterOption, MonkeyFilterPanel, MonkeyFilterRow, MonkeyFilterTriggerVariant, MonkeyFilterType, MonkeyGoogleApiPlaces, MonkeyGoogleApiPlacesAddressComponents, MonkeyGoogleApiPlacesResponse, MonkeyInputUploadChangeEvent, MonkeyModalConfirmationConfig, MonkeyModalDefaultConfig, MonkeyPopoverDir, MonkeyPopoverItemClick, MonkeyPopoverOptions, MonkeyRowMetrics, MonkeyScrollbarOrientation, MonkeyScrollbarSize, MonkeySelectionState, MonkeySize, MonkeySortDirection, MonkeySortState, MonkeyStatusOption, MonkeyTableCellContext, MonkeyTableColumnState, MonkeyTableScrollConfig, MonkeyTableSortKind, MonkeyToastConfig, MonkeyToastPosition, MonkeyToastType };
Binary file