@igo2/common 20.0.1-next.1 → 20.1.0-next.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 (89) hide show
  1. package/action/index.d.ts +22 -22
  2. package/clickout/index.d.ts +2 -2
  3. package/collapsible/index.d.ts +6 -10
  4. package/color/index.d.ts +3 -4
  5. package/context-menu/index.d.ts +9 -9
  6. package/datepicker/index.d.ts +65 -0
  7. package/drag-drop/index.d.ts +21 -23
  8. package/dynamic-component/index.d.ts +7 -7
  9. package/entity/index.d.ts +45 -48
  10. package/fesm2022/igo2-common-action.mjs +60 -97
  11. package/fesm2022/igo2-common-action.mjs.map +1 -1
  12. package/fesm2022/igo2-common-backdrop.mjs +7 -7
  13. package/fesm2022/igo2-common-backdrop.mjs.map +1 -1
  14. package/fesm2022/igo2-common-badge.mjs +7 -7
  15. package/fesm2022/igo2-common-badge.mjs.map +1 -1
  16. package/fesm2022/igo2-common-clickout.mjs +10 -12
  17. package/fesm2022/igo2-common-clickout.mjs.map +1 -1
  18. package/fesm2022/igo2-common-clone.mjs +7 -7
  19. package/fesm2022/igo2-common-collapsible.mjs +18 -39
  20. package/fesm2022/igo2-common-collapsible.mjs.map +1 -1
  21. package/fesm2022/igo2-common-color.mjs +14 -18
  22. package/fesm2022/igo2-common-color.mjs.map +1 -1
  23. package/fesm2022/igo2-common-confirm-dialog.mjs +10 -10
  24. package/fesm2022/igo2-common-context-menu.mjs +22 -31
  25. package/fesm2022/igo2-common-context-menu.mjs.map +1 -1
  26. package/fesm2022/igo2-common-custom-html.mjs +10 -10
  27. package/fesm2022/igo2-common-custom-html.mjs.map +1 -1
  28. package/fesm2022/igo2-common-datepicker.mjs +316 -0
  29. package/fesm2022/igo2-common-datepicker.mjs.map +1 -0
  30. package/fesm2022/igo2-common-dom.mjs +7 -7
  31. package/fesm2022/igo2-common-drag-drop.mjs +59 -75
  32. package/fesm2022/igo2-common-drag-drop.mjs.map +1 -1
  33. package/fesm2022/igo2-common-dynamic-component.mjs +34 -52
  34. package/fesm2022/igo2-common-dynamic-component.mjs.map +1 -1
  35. package/fesm2022/igo2-common-entity.mjs +154 -206
  36. package/fesm2022/igo2-common-entity.mjs.map +1 -1
  37. package/fesm2022/igo2-common-flexible.mjs +13 -16
  38. package/fesm2022/igo2-common-flexible.mjs.map +1 -1
  39. package/fesm2022/igo2-common-form.mjs +120 -174
  40. package/fesm2022/igo2-common-form.mjs.map +1 -1
  41. package/fesm2022/igo2-common-home-button.mjs +11 -12
  42. package/fesm2022/igo2-common-home-button.mjs.map +1 -1
  43. package/fesm2022/igo2-common-icon.mjs +18 -24
  44. package/fesm2022/igo2-common-icon.mjs.map +1 -1
  45. package/fesm2022/igo2-common-image.mjs +16 -20
  46. package/fesm2022/igo2-common-image.mjs.map +1 -1
  47. package/fesm2022/igo2-common-interactive-tour.mjs +28 -33
  48. package/fesm2022/igo2-common-interactive-tour.mjs.map +1 -1
  49. package/fesm2022/igo2-common-json-dialog.mjs +11 -11
  50. package/fesm2022/igo2-common-json-dialog.mjs.map +1 -1
  51. package/fesm2022/igo2-common-keyvalue.mjs +7 -7
  52. package/fesm2022/igo2-common-list.mjs +49 -66
  53. package/fesm2022/igo2-common-list.mjs.map +1 -1
  54. package/fesm2022/igo2-common-panel.mjs +15 -28
  55. package/fesm2022/igo2-common-panel.mjs.map +1 -1
  56. package/fesm2022/igo2-common-resizable-bar.mjs +25 -32
  57. package/fesm2022/igo2-common-resizable-bar.mjs.map +1 -1
  58. package/fesm2022/igo2-common-select-value-dialog.mjs +10 -10
  59. package/fesm2022/igo2-common-sidenav.mjs +7 -7
  60. package/fesm2022/igo2-common-sidenav.mjs.map +1 -1
  61. package/fesm2022/igo2-common-spinner.mjs +11 -11
  62. package/fesm2022/igo2-common-spinner.mjs.map +1 -1
  63. package/fesm2022/igo2-common-stop-propagation.mjs +10 -10
  64. package/fesm2022/igo2-common-stop-propagation.mjs.map +1 -1
  65. package/fesm2022/igo2-common-table.mjs +57 -87
  66. package/fesm2022/igo2-common-table.mjs.map +1 -1
  67. package/fesm2022/igo2-common-timepicker.mjs +105 -0
  68. package/fesm2022/igo2-common-timepicker.mjs.map +1 -0
  69. package/fesm2022/igo2-common-tool.mjs +29 -35
  70. package/fesm2022/igo2-common-tool.mjs.map +1 -1
  71. package/fesm2022/igo2-common-widget.mjs +27 -36
  72. package/fesm2022/igo2-common-widget.mjs.map +1 -1
  73. package/fesm2022/igo2-common-workspace.mjs +34 -44
  74. package/fesm2022/igo2-common-workspace.mjs.map +1 -1
  75. package/flexible/index.d.ts +2 -2
  76. package/form/index.d.ts +31 -33
  77. package/home-button/index.d.ts +1 -2
  78. package/icon/index.d.ts +4 -5
  79. package/image/index.d.ts +3 -3
  80. package/interactive-tour/index.d.ts +5 -5
  81. package/list/index.d.ts +23 -23
  82. package/package.json +11 -3
  83. package/panel/index.d.ts +4 -6
  84. package/resizable-bar/index.d.ts +11 -13
  85. package/table/index.d.ts +13 -19
  86. package/timepicker/index.d.ts +33 -0
  87. package/tool/index.d.ts +4 -4
  88. package/widget/index.d.ts +9 -9
  89. package/workspace/index.d.ts +7 -8
package/action/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { IconSvg } from '@igo2/common/icon';
2
2
  import { Observable, BehaviorSubject } from 'rxjs';
3
3
  import { EntityStore } from '@igo2/common/entity';
4
- import * as i0 from '@angular/core';
4
+ import * as _angular_core from '@angular/core';
5
5
  import { OnDestroy, OnChanges, SimpleChanges } from '@angular/core';
6
6
  import { Overlay } from '@angular/cdk/overlay';
7
7
  import { MenuPositionX, MenuPositionY } from '@angular/material/menu';
@@ -83,55 +83,55 @@ declare class ActionbarComponent implements OnDestroy, OnChanges {
83
83
  /**
84
84
  * Action store
85
85
  */
86
- store: ActionStore;
86
+ readonly store: _angular_core.InputSignal<ActionStore>;
87
87
  /**
88
88
  * Actionbar mode
89
89
  */
90
- mode: ActionbarMode;
90
+ readonly mode: _angular_core.InputSignal<ActionbarMode>;
91
91
  /**
92
92
  * Whether a toggle button should be displayed (Dock mode)
93
93
  */
94
- withToggleButton: boolean;
94
+ readonly withToggleButton: _angular_core.InputSignal<boolean>;
95
95
  /**
96
96
  * Whether a the actionbar should display buttons horizontally
97
97
  */
98
- horizontal: boolean;
98
+ readonly horizontal: _angular_core.InputSignal<boolean>;
99
99
  /**
100
100
  * Color
101
101
  */
102
- color: string;
102
+ readonly color: _angular_core.InputSignal<string>;
103
103
  /**
104
104
  * Color of the button if action mode === overlay
105
105
  */
106
- iconColor: string;
106
+ readonly iconColor: _angular_core.InputSignal<string>;
107
107
  /**
108
108
  * Whether action titles are displayed
109
109
  */
110
- withTitle: boolean;
110
+ readonly withTitle: _angular_core.InputSignal<boolean>;
111
111
  /**
112
112
  * Whether action tooltips are displayed
113
113
  */
114
- withTooltip: boolean;
114
+ readonly withTooltip: _angular_core.InputSignal<boolean>;
115
115
  /**
116
116
  * Whether action titles are displayed (condition for scroll button)
117
117
  */
118
- scrollActive: boolean;
118
+ readonly scrollActive: _angular_core.InputSignal<boolean>;
119
119
  /**
120
120
  * Whether action icons are displayed
121
121
  */
122
- withIcon: boolean;
122
+ readonly withIcon: _angular_core.InputSignal<boolean>;
123
123
  /**
124
124
  * Which icon want to be shown
125
125
  */
126
- icon: string;
126
+ readonly icon: _angular_core.InputSignal<string>;
127
127
  /**
128
128
  * Overlay X position
129
129
  */
130
- xPosition: MenuPositionX;
130
+ readonly xPosition: _angular_core.InputSignal<MenuPositionX>;
131
131
  /**
132
132
  * Overlay Y position
133
133
  */
134
- yPosition: MenuPositionY;
134
+ readonly yPosition: _angular_core.InputSignal<MenuPositionY>;
135
135
  /**
136
136
  * Class to add to the actionbar overlay
137
137
  */
@@ -170,26 +170,26 @@ declare class ActionbarComponent implements OnDestroy, OnChanges {
170
170
  onTriggerAction(action: Action): void;
171
171
  scrollDown(): void;
172
172
  scrollUp(): void;
173
- static ɵfac: i0.ɵɵFactoryDeclaration<ActionbarComponent, never>;
174
- static ɵcmp: i0.ɵɵComponentDeclaration<ActionbarComponent, "igo-actionbar", never, { "store": { "alias": "store"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "withToggleButton": { "alias": "withToggleButton"; "required": false; }; "horizontal": { "alias": "horizontal"; "required": false; }; "color": { "alias": "color"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "withTitle": { "alias": "withTitle"; "required": false; }; "withTooltip": { "alias": "withTooltip"; "required": false; }; "scrollActive": { "alias": "scrollActive"; "required": false; }; "withIcon": { "alias": "withIcon"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "xPosition": { "alias": "xPosition"; "required": false; }; "yPosition": { "alias": "yPosition"; "required": false; }; "overlayClass": { "alias": "overlayClass"; "required": false; }; }, {}, never, never, true, never>;
173
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<ActionbarComponent, never>;
174
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<ActionbarComponent, "igo-actionbar", never, { "store": { "alias": "store"; "required": false; "isSignal": true; }; "mode": { "alias": "mode"; "required": false; "isSignal": true; }; "withToggleButton": { "alias": "withToggleButton"; "required": false; "isSignal": true; }; "horizontal": { "alias": "horizontal"; "required": false; "isSignal": true; }; "color": { "alias": "color"; "required": false; "isSignal": true; }; "iconColor": { "alias": "iconColor"; "required": false; "isSignal": true; }; "withTitle": { "alias": "withTitle"; "required": false; "isSignal": true; }; "withTooltip": { "alias": "withTooltip"; "required": false; "isSignal": true; }; "scrollActive": { "alias": "scrollActive"; "required": false; "isSignal": true; }; "withIcon": { "alias": "withIcon"; "required": false; "isSignal": true; }; "icon": { "alias": "icon"; "required": false; "isSignal": true; }; "xPosition": { "alias": "xPosition"; "required": false; "isSignal": true; }; "yPosition": { "alias": "yPosition"; "required": false; "isSignal": true; }; "overlayClass": { "alias": "overlayClass"; "required": false; }; }, {}, never, never, true, never>;
175
175
  }
176
176
 
177
177
  /**
178
178
  * @deprecated import the ActionbarComponent directly
179
179
  */
180
180
  declare class IgoActionModule {
181
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionModule, never>;
182
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
183
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionModule>;
181
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoActionModule, never>;
182
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoActionModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
183
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoActionModule>;
184
184
  }
185
185
 
186
186
  /**
187
187
  * @deprecated import the ActionbarComponent directly
188
188
  */
189
189
  declare class IgoActionbarModule {
190
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
191
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoActionbarModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
192
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoActionbarModule>;
190
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoActionbarModule, never>;
191
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoActionbarModule, never, [typeof ActionbarComponent], [typeof ActionbarComponent]>;
192
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoActionbarModule>;
193
193
  }
194
194
 
195
195
  export { ActionStore, ActionbarComponent, ActionbarMode, IgoActionModule, IgoActionbarModule };
@@ -1,9 +1,9 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, ModuleWithProviders } from '@angular/core';
2
+ import { ModuleWithProviders } from '@angular/core';
3
3
 
4
4
  declare class ClickoutDirective {
5
5
  private el;
6
- clickout: EventEmitter<MouseEvent>;
6
+ readonly clickout: i0.OutputEmitterRef<MouseEvent>;
7
7
  handleMouseClick(event: MouseEvent, target: HTMLElement): void;
8
8
  static ɵfac: i0.ɵɵFactoryDeclaration<ClickoutDirective, never>;
9
9
  static ɵdir: i0.ɵɵDirectiveDeclaration<ClickoutDirective, "[igoClickout]", never, {}, { "clickout": "clickout"; }, never, never, true, never>;
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter, ModuleWithProviders } from '@angular/core';
2
+ import { ModuleWithProviders } from '@angular/core';
3
3
 
4
4
  declare class CollapseDirective {
5
5
  private renderer;
@@ -10,7 +10,7 @@ declare class CollapseDirective {
10
10
  get collapsed(): boolean;
11
11
  set collapsed(collapsed: boolean);
12
12
  private _collapsed;
13
- toggle: EventEmitter<boolean>;
13
+ readonly toggle: i0.OutputEmitterRef<boolean>;
14
14
  click(): void;
15
15
  private collapseTarget;
16
16
  private expandTarget;
@@ -19,15 +19,11 @@ declare class CollapseDirective {
19
19
  }
20
20
 
21
21
  declare class CollapsibleComponent {
22
- get title(): string;
23
- set title(value: string);
24
- private _title;
25
- get collapsed(): boolean;
26
- set collapsed(value: boolean);
27
- private _collapsed;
28
- toggle: EventEmitter<boolean>;
22
+ readonly title: i0.InputSignal<string>;
23
+ readonly collapsed: i0.ModelSignal<boolean>;
24
+ readonly toggle: i0.OutputEmitterRef<boolean>;
29
25
  static ɵfac: i0.ɵɵFactoryDeclaration<CollapsibleComponent, never>;
30
- static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleComponent, "igo-collapsible", never, { "title": { "alias": "title"; "required": false; }; "collapsed": { "alias": "collapsed"; "required": false; }; }, { "toggle": "toggle"; }, never, ["*"], true, never>;
26
+ static ɵcmp: i0.ɵɵComponentDeclaration<CollapsibleComponent, "igo-collapsible", never, { "title": { "alias": "title"; "required": false; "isSignal": true; }; "collapsed": { "alias": "collapsed"; "required": false; "isSignal": true; }; }, { "collapsed": "collapsedChange"; "toggle": "toggle"; }, never, ["*"], true, never>;
31
27
  }
32
28
 
33
29
  /**
package/color/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as i0 from '@angular/core';
2
- import { EventEmitter } from '@angular/core';
3
2
  import { ControlValueAccessor } from '@angular/forms';
4
3
  import { ColorEvent } from 'ngx-color';
5
4
 
@@ -9,12 +8,12 @@ declare class ColorPickerFormFieldComponent implements ControlValueAccessor {
9
8
  set value(value: string);
10
9
  get value(): string;
11
10
  private _value;
12
- outputFormat: ColorFormat;
11
+ readonly outputFormat: i0.InputSignal<ColorFormat>;
13
12
  /**
14
13
  * The emitted value represent the current chosen color in the picker
15
14
  * The value is emitted by default in RGBA, or based on the input 'outputFormat' value.
16
15
  */
17
- colorChange: EventEmitter<string>;
16
+ readonly colorChange: i0.OutputEmitterRef<string>;
18
17
  colorPicker: string;
19
18
  onChange: any;
20
19
  onTouch: any;
@@ -25,7 +24,7 @@ declare class ColorPickerFormFieldComponent implements ControlValueAccessor {
25
24
  handleChange($event: ColorEvent): void;
26
25
  private formatColor;
27
26
  static ɵfac: i0.ɵɵFactoryDeclaration<ColorPickerFormFieldComponent, never>;
28
- static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerFormFieldComponent, "igo-color-picker-form-field", never, { "outputFormat": { "alias": "outputFormat"; "required": false; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<ColorPickerFormFieldComponent, "igo-color-picker-form-field", never, { "outputFormat": { "alias": "outputFormat"; "required": false; "isSignal": true; }; }, { "colorChange": "colorChange"; }, never, never, true, never>;
29
28
  }
30
29
 
31
30
  /**
@@ -1,6 +1,6 @@
1
- import { Overlay } from '@angular/cdk/overlay';
2
1
  import * as i0 from '@angular/core';
3
- import { ViewContainerRef, TemplateRef, EventEmitter, ModuleWithProviders } from '@angular/core';
2
+ import { ViewContainerRef, TemplateRef, ModuleWithProviders } from '@angular/core';
3
+ import { Overlay } from '@angular/cdk/overlay';
4
4
 
5
5
  declare class ContextMenuDirective {
6
6
  overlay: Overlay;
@@ -8,15 +8,15 @@ declare class ContextMenuDirective {
8
8
  private elementRef;
9
9
  private overlayRef;
10
10
  private sub;
11
- menuContext: TemplateRef<any>;
12
- menuPosition: EventEmitter<{
11
+ readonly menuContext: i0.InputSignal<TemplateRef<any>>;
12
+ readonly menuPosition: i0.OutputEmitterRef<{
13
13
  x: number;
14
14
  y: number;
15
15
  }>;
16
16
  onContextMenu(e: MouseEvent | TouchEvent): void;
17
17
  close(): void;
18
18
  static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
19
- static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": { "alias": "igoContextMenu"; "required": false; }; }, { "menuPosition": "menuPosition"; }, never, never, true, never>;
19
+ static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[igoContextMenu]", never, { "menuContext": { "alias": "igoContextMenu"; "required": false; "isSignal": true; }; }, { "menuPosition": "menuPosition"; }, never, never, true, never>;
20
20
  }
21
21
 
22
22
  /**
@@ -27,14 +27,14 @@ declare class ContextMenuDirective {
27
27
  */
28
28
  declare class LongPressDirective {
29
29
  private touchTimeout;
30
- touchDuration: number;
31
- onlyIOS: boolean;
32
- longpress: EventEmitter<any>;
30
+ readonly touchDuration: i0.InputSignal<number>;
31
+ readonly onlyIOS: i0.InputSignal<boolean>;
32
+ readonly longpress: i0.OutputEmitterRef<TouchEvent>;
33
33
  touchstart(e: TouchEvent): void;
34
34
  touchend(): void;
35
35
  private touchEnd;
36
36
  static ɵfac: i0.ɵɵFactoryDeclaration<LongPressDirective, never>;
37
- static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[igoLongPress]", never, { "touchDuration": { "alias": "touchDuration"; "required": false; }; "onlyIOS": { "alias": "onlyIOS"; "required": false; }; }, { "longpress": "longpress"; }, never, never, true, never>;
37
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LongPressDirective, "[igoLongPress]", never, { "touchDuration": { "alias": "touchDuration"; "required": false; "isSignal": true; }; "onlyIOS": { "alias": "onlyIOS"; "required": false; "isSignal": true; }; }, { "longpress": "longpress"; }, never, never, true, never>;
38
38
  }
39
39
 
40
40
  /**
@@ -0,0 +1,65 @@
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnInit, AfterViewInit, OnDestroy } from '@angular/core';
3
+ import { FormControl } from '@angular/forms';
4
+ import { MatDatepicker } from '@angular/material/datepicker';
5
+ import { resolveDate, TimeFrame } from '@igo2/utils';
6
+
7
+ declare class DatepickerComponent implements OnInit, AfterViewInit, OnDestroy {
8
+ private datePipe;
9
+ private _locale;
10
+ readonly picker: _angular_core.Signal<MatDatepicker<Date>>;
11
+ set disabled(value: boolean);
12
+ get disabled(): boolean;
13
+ private _disabled;
14
+ readonly placeholder: _angular_core.InputSignal<string>;
15
+ readonly minDate: _angular_core.InputSignal<Date | "now" | "today">;
16
+ readonly maxDate: _angular_core.InputSignal<Date | "now" | "today">;
17
+ readonly calendarType: _angular_core.InputSignal<"date" | "year" | "month" | "datetime">;
18
+ readonly startView: _angular_core.ModelSignal<"year" | "month" | "multi-year">;
19
+ readonly startAt: _angular_core.InputSignal<Date | "now" | "today">;
20
+ readonly datepickerFilter: _angular_core.InputSignal<(date: Date | null) => boolean>;
21
+ readonly value: _angular_core.InputSignal<Date | "now" | "today">;
22
+ readonly todayButtonLabel: _angular_core.InputSignal<string>;
23
+ readonly clearButtonLabel: _angular_core.InputSignal<string>;
24
+ readonly valueChange: _angular_core.OutputEmitterRef<Date | "now" | "today">;
25
+ get panelClassName(): string;
26
+ resolveDate: typeof resolveDate;
27
+ dateFormControl: FormControl<Date>;
28
+ dateLabelFormControl: FormControl<string>;
29
+ showActions: boolean;
30
+ todaySelected: boolean;
31
+ previousTodaySelected: boolean;
32
+ previousValue: Date | TimeFrame;
33
+ private destroy$;
34
+ ngOnInit(): void;
35
+ ngAfterViewInit(): void;
36
+ ngOnDestroy(): void;
37
+ setToday(): void;
38
+ clearDate(): void;
39
+ private registerAutoCloseEvents;
40
+ /** Public API methods */
41
+ reset(date: Date | TimeFrame): void;
42
+ handleDateLabelBlur(): void;
43
+ private parseInput;
44
+ private parseYearInput;
45
+ private parseMonthInput;
46
+ private parseDateInput;
47
+ private initStartView;
48
+ private initFormControls;
49
+ private setDisabledState;
50
+ private attachCalendarTypeListeners;
51
+ private updateDateControl;
52
+ private getFormattedLabel;
53
+ private format;
54
+ private formatYearMonth;
55
+ private parseFromLocalizedInput;
56
+ /**
57
+ * Returns the expected order of date parts (year, month, day) as used by
58
+ * Intl.DateTimeFormat.formatToParts for the provided options and current locale.
59
+ */
60
+ private getExpectedDateOrder;
61
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatepickerComponent, never>;
62
+ static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerComponent, "igo-datepicker", never, { "disabled": { "alias": "disabled"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "calendarType": { "alias": "calendarType"; "required": false; "isSignal": true; }; "startView": { "alias": "startView"; "required": false; "isSignal": true; }; "startAt": { "alias": "startAt"; "required": false; "isSignal": true; }; "datepickerFilter": { "alias": "datepickerFilter"; "required": false; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "todayButtonLabel": { "alias": "todayButtonLabel"; "required": false; "isSignal": true; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; "isSignal": true; }; }, { "startView": "startViewChange"; "valueChange": "valueChange"; }, never, never, true, never>;
63
+ }
64
+
65
+ export { DatepickerComponent };
@@ -1,20 +1,20 @@
1
- import * as i0 from '@angular/core';
2
- import { EventEmitter, AfterContentInit, OnDestroy, QueryList, ModuleWithProviders } from '@angular/core';
1
+ import * as _angular_core from '@angular/core';
2
+ import { OnDestroy, ModuleWithProviders } from '@angular/core';
3
3
  import { SelectionModel } from '@angular/cdk/collections';
4
4
  import { FlatTreeControl } from '@angular/cdk/tree';
5
5
  import { MatTreeNode } from '@angular/material/tree';
6
6
 
7
7
  declare class DragAndDropDirective {
8
- allowedExtensions: string[];
9
- protected filesDropped: EventEmitter<File[]>;
10
- protected filesInvalid: EventEmitter<File[]>;
8
+ readonly allowedExtensions: _angular_core.InputSignal<string[]>;
9
+ protected readonly filesDropped: _angular_core.OutputEmitterRef<File[]>;
10
+ protected readonly filesInvalid: _angular_core.OutputEmitterRef<File[]>;
11
11
  private background;
12
12
  onDragOver(evt: any): void;
13
13
  onDragLeave(evt: any): void;
14
14
  onDrop(evt: any): void;
15
15
  private validExtensions;
16
- static ɵfac: i0.ɵɵFactoryDeclaration<DragAndDropDirective, never>;
17
- static ɵdir: i0.ɵɵDirectiveDeclaration<DragAndDropDirective, "[igoDragAndDrop]", never, { "allowedExtensions": { "alias": "allowedExtensions"; "required": false; }; }, { "filesDropped": "filesDropped"; "filesInvalid": "filesInvalid"; }, never, never, true, never>;
16
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<DragAndDropDirective, never>;
17
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<DragAndDropDirective, "[igoDragAndDrop]", never, { "allowedExtensions": { "alias": "allowedExtensions"; "required": false; "isSignal": true; }; }, { "filesDropped": "filesDropped"; "filesInvalid": "filesInvalid"; }, never, never, true, never>;
18
18
  }
19
19
 
20
20
  interface TreeFlatNode<T = any> {
@@ -54,29 +54,28 @@ interface DropPermission {
54
54
  * Tree: --dragging
55
55
  * Node: --drag-hover | --dragged
56
56
  */
57
- declare class TreeDragDropDirective implements AfterContentInit, OnDestroy {
57
+ declare class TreeDragDropDirective implements OnDestroy {
58
58
  private elementRef;
59
59
  private renderer;
60
60
  draggedNode: TreeFlatNode;
61
61
  dropNodeTarget: TreeFlatNode;
62
62
  expandTimeout: number;
63
63
  nodesListeners: DragNodeListeners[] | undefined;
64
+ private nodesEffect;
64
65
  dropLineTarget: HTMLElement;
65
66
  highlightedNode: SelectionModel<TreeFlatNode<any>>;
66
- treeControl: FlatTreeControl<TreeFlatNode>;
67
+ readonly treeControl: _angular_core.InputSignal<FlatTreeControl<TreeFlatNode<any>, TreeFlatNode<any>>>;
67
68
  /** The default is 5 */
68
- maxLevel: number;
69
- set treeDragDropIsDisabled(disabled: boolean);
70
- private isDisabled;
71
- dragStart: EventEmitter<TreeFlatNode<any>>;
72
- onDrop: EventEmitter<TreeDropEvent<any>>;
73
- onDropError: EventEmitter<DropPermission>;
69
+ readonly maxLevel: _angular_core.InputSignal<number>;
70
+ readonly treeDragDropIsDisabled: _angular_core.InputSignalWithTransform<boolean, unknown>;
71
+ readonly dragStart: _angular_core.OutputEmitterRef<TreeFlatNode<any>>;
72
+ readonly onDrop: _angular_core.OutputEmitterRef<TreeDropEvent<any>>;
73
+ readonly onDropError: _angular_core.OutputEmitterRef<DropPermission>;
74
74
  hostDragOver(event: Event): void;
75
75
  hostDrop(event: DragEvent): void;
76
76
  dragging: boolean;
77
- nodes: QueryList<MatTreeNode<TreeFlatNode>>;
77
+ readonly nodes: _angular_core.Signal<readonly MatTreeNode<any, any>[]>;
78
78
  constructor();
79
- ngAfterContentInit(): void;
80
79
  ngOnDestroy(): void;
81
80
  onDragStart(node: TreeFlatNode): void;
82
81
  dragEnd(): void;
@@ -107,9 +106,8 @@ declare class TreeDragDropDirective implements AfterContentInit, OnDestroy {
107
106
  */
108
107
  private getNodeAncestors;
109
108
  private getDirectDescendants;
110
- static ɵfac: i0.ɵɵFactoryDeclaration<TreeDragDropDirective, never>;
111
- static ɵdir: i0.ɵɵDirectiveDeclaration<TreeDragDropDirective, "[igoTreeDragDrop]", never, { "treeControl": { "alias": "treeControl"; "required": true; }; "maxLevel": { "alias": "maxLevel"; "required": false; }; "treeDragDropIsDisabled": { "alias": "treeDragDropIsDisabled"; "required": false; }; }, { "dragStart": "dragStart"; "onDrop": "onDrop"; "onDropError": "onDropError"; }, ["nodes"], never, true, never>;
112
- static ngAcceptInputType_treeDragDropIsDisabled: unknown;
109
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<TreeDragDropDirective, never>;
110
+ static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TreeDragDropDirective, "[igoTreeDragDrop]", never, { "treeControl": { "alias": "treeControl"; "required": true; "isSignal": true; }; "maxLevel": { "alias": "maxLevel"; "required": false; "isSignal": true; }; "treeDragDropIsDisabled": { "alias": "treeDragDropIsDisabled"; "required": false; "isSignal": true; }; }, { "dragStart": "dragStart"; "onDrop": "onDrop"; "onDropError": "onDropError"; }, ["nodes"], never, true, never>;
113
111
  }
114
112
 
115
113
  /**
@@ -117,9 +115,9 @@ declare class TreeDragDropDirective implements AfterContentInit, OnDestroy {
117
115
  */
118
116
  declare class IgoDrapDropModule {
119
117
  static forRoot(): ModuleWithProviders<IgoDrapDropModule>;
120
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoDrapDropModule, never>;
121
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoDrapDropModule, never, [typeof DragAndDropDirective, typeof TreeDragDropDirective], [typeof DragAndDropDirective, typeof TreeDragDropDirective]>;
122
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoDrapDropModule>;
118
+ static ɵfac: _angular_core.ɵɵFactoryDeclaration<IgoDrapDropModule, never>;
119
+ static ɵmod: _angular_core.ɵɵNgModuleDeclaration<IgoDrapDropModule, never, [typeof DragAndDropDirective, typeof TreeDragDropDirective], [typeof DragAndDropDirective, typeof TreeDragDropDirective]>;
120
+ static ɵinj: _angular_core.ɵɵInjectorDeclaration<IgoDrapDropModule>;
123
121
  }
124
122
 
125
123
  export { DragAndDropDirective, IgoDrapDropModule, TreeDragDropDirective };
@@ -54,7 +54,7 @@ declare class DynamicComponent<C> {
54
54
  * Update the component inputs. This is an update so any
55
55
  * key not defined won't be overwritten.
56
56
  */
57
- updateInputs(inputs: Record<string, any>): void;
57
+ updateInputs(inputs: Record<string, unknown>): void;
58
58
  /**
59
59
  * Set an instance's input value
60
60
  * @param instance Component instance
@@ -66,7 +66,7 @@ declare class DynamicComponent<C> {
66
66
  * Update the component subscribers. This is an update so any
67
67
  * key not defined won't be overwritten.
68
68
  */
69
- updateSubscribers(subscribers: Record<string, (event: any) => void>): void;
69
+ updateSubscribers(subscribers: Record<string, (event: unknown) => void>): void;
70
70
  /**
71
71
  * Subscribe to an observable input and update the component's input value
72
72
  * accordingly
@@ -110,15 +110,15 @@ declare class DynamicOutletComponent implements OnChanges, OnDestroy {
110
110
  /**
111
111
  * The dynamic component base class or the dynamic component itself
112
112
  */
113
- component: DynamicComponent<any> | any;
113
+ readonly component: i0.InputSignal<any>;
114
114
  /**
115
115
  * The dynamic component inputs
116
116
  */
117
- inputs: Record<string, any>;
117
+ readonly inputs: i0.InputSignal<Record<string, any>>;
118
118
  /**
119
119
  * The subscribers to the dynamic component outputs
120
120
  */
121
- subscribers: Record<string, (event: any) => void>;
121
+ readonly subscribers: i0.InputSignal<Record<string, (event: any) => void>>;
122
122
  /**
123
123
  * The dynamic component
124
124
  */
@@ -127,7 +127,7 @@ declare class DynamicOutletComponent implements OnChanges, OnDestroy {
127
127
  * The view element to render the component to
128
128
  * @ignore
129
129
  */
130
- private target;
130
+ private readonly target;
131
131
  /**
132
132
  * If the dynamic component changes, create it.
133
133
  * If the inputs or subscribers change, update the current component's
@@ -163,7 +163,7 @@ declare class DynamicOutletComponent implements OnChanges, OnDestroy {
163
163
  */
164
164
  private updateSubscribers;
165
165
  static ɵfac: i0.ɵɵFactoryDeclaration<DynamicOutletComponent, never>;
166
- static ɵcmp: i0.ɵɵComponentDeclaration<DynamicOutletComponent, "igo-dynamic-outlet", never, { "component": { "alias": "component"; "required": false; }; "inputs": { "alias": "inputs"; "required": false; }; "subscribers": { "alias": "subscribers"; "required": false; }; }, {}, never, never, true, never>;
166
+ static ɵcmp: i0.ɵɵComponentDeclaration<DynamicOutletComponent, "igo-dynamic-outlet", never, { "component": { "alias": "component"; "required": false; "isSignal": true; }; "inputs": { "alias": "inputs"; "required": false; "isSignal": true; }; "subscribers": { "alias": "subscribers"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
167
167
  }
168
168
 
169
169
  /**