otimus-library 0.3.69 → 0.3.70
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.
- package/fesm2022/otimus-library.mjs +130 -65
- package/fesm2022/otimus-library.mjs.map +1 -1
- package/index.d.ts +13 -3
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnInit, OnChanges, OnDestroy, ElementRef, ViewContainerRef, EnvironmentInjector, Renderer2, SimpleChanges, NgZone, ChangeDetectorRef, EventEmitter, AfterViewInit, QueryList, AfterContentInit, TemplateRef } from '@angular/core';
|
|
3
|
+
import { Overlay } from '@angular/cdk/overlay';
|
|
3
4
|
import { MaterialSymbol } from 'material-symbols';
|
|
4
5
|
import * as rxjs from 'rxjs';
|
|
5
6
|
import { HttpClient } from '@angular/common/http';
|
|
6
|
-
import { Overlay } from '@angular/cdk/overlay';
|
|
7
7
|
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
8
8
|
import { DomSanitizer } from '@angular/platform-browser';
|
|
9
9
|
|
|
@@ -229,15 +229,23 @@ declare class OcAutocompleteComponent implements AfterContentInit, AfterViewInit
|
|
|
229
229
|
ocShowBackdrop: boolean;
|
|
230
230
|
ocHasDeleteButton?: boolean;
|
|
231
231
|
ocEnableKeyboard: boolean;
|
|
232
|
+
ocSelectionEllipsisAt: number | null;
|
|
233
|
+
ocMaxVisibleChips: number | null;
|
|
232
234
|
ocValueChange: EventEmitter<string>;
|
|
233
235
|
ocChange: EventEmitter<string | null>;
|
|
234
236
|
ocCounterSelectChange: EventEmitter<OcAutoCompleteType[]>;
|
|
235
237
|
ocMultipleSelectChange: EventEmitter<OcAutoCompleteType[]>;
|
|
236
238
|
ocOptionNotFound: EventEmitter<any>;
|
|
237
239
|
ocClick: EventEmitter<any>;
|
|
240
|
+
ocHiddenChipsCountChange: EventEmitter<number>;
|
|
238
241
|
hasSuffix: boolean;
|
|
239
242
|
hasPrefix: boolean;
|
|
240
243
|
selectedValues: OcAutoCompleteType[];
|
|
244
|
+
hiddenChipsCount: number;
|
|
245
|
+
get visibleChips(): OcAutoCompleteType[];
|
|
246
|
+
get hiddenChipsCountByInput(): number;
|
|
247
|
+
get visibleCounterChips(): OcAutoCompleteType[];
|
|
248
|
+
get hiddenCounterChipsCount(): number;
|
|
241
249
|
private isOptionsShown;
|
|
242
250
|
private _filteredData;
|
|
243
251
|
get filteredData(): OcAutoCompleteType[];
|
|
@@ -285,9 +293,10 @@ declare class OcAutocompleteComponent implements AfterContentInit, AfterViewInit
|
|
|
285
293
|
removeSelectedValue(item: OcAutoCompleteType): void;
|
|
286
294
|
getCounterItems(): OcAutoCompleteType[];
|
|
287
295
|
private updateInputPaddingForChips;
|
|
296
|
+
private calculateHiddenChips;
|
|
288
297
|
ngOnDestroy(): void;
|
|
289
298
|
static ɵfac: i0.ɵɵFactoryDeclaration<OcAutocompleteComponent, never>;
|
|
290
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OcAutocompleteComponent, "oc-autocomplete", never, { "ocData": { "alias": "ocData"; "required": false; }; "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocClearOnChange": { "alias": "ocClearOnChange"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocOptionsMaxHeight": { "alias": "ocOptionsMaxHeight"; "required": false; }; "ocOptionsWidth": { "alias": "ocOptionsWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocMaxResults": { "alias": "ocMaxResults"; "required": false; }; "ocAllowNotListedValue": { "alias": "ocAllowNotListedValue"; "required": false; }; "ocNoAvailableOptionsText": { "alias": "ocNoAvailableOptionsText"; "required": false; }; "ocTypeForMoreResultsText": { "alias": "ocTypeForMoreResultsText"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "ocSemanticLike": { "alias": "ocSemanticLike"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "ocSelectByTyping": { "alias": "ocSelectByTyping"; "required": false; }; "ocDisabled": { "alias": "ocDisabled"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocShowBackdrop": { "alias": "ocShowBackdrop"; "required": false; }; "ocHasDeleteButton": { "alias": "ocHasDeleteButton"; "required": false; }; "ocEnableKeyboard": { "alias": "ocEnableKeyboard"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; "ocCounterSelectChange": "ocCounterSelectChange"; "ocMultipleSelectChange": "ocMultipleSelectChange"; "ocOptionNotFound": "ocOptionNotFound"; "ocClick": "ocClick"; }, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
|
|
299
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OcAutocompleteComponent, "oc-autocomplete", never, { "ocData": { "alias": "ocData"; "required": false; }; "ocPlaceholder": { "alias": "ocPlaceholder"; "required": false; }; "ocError": { "alias": "ocError"; "required": false; }; "ocSize": { "alias": "ocSize"; "required": false; }; "ocValue": { "alias": "ocValue"; "required": false; }; "ocClearOnChange": { "alias": "ocClearOnChange"; "required": false; }; "ocWidth": { "alias": "ocWidth"; "required": false; }; "ocMinWidth": { "alias": "ocMinWidth"; "required": false; }; "ocMaxWidth": { "alias": "ocMaxWidth"; "required": false; }; "ocOptionsMaxHeight": { "alias": "ocOptionsMaxHeight"; "required": false; }; "ocOptionsWidth": { "alias": "ocOptionsWidth"; "required": false; }; "ocRequired": { "alias": "ocRequired"; "required": false; }; "ocMaxResults": { "alias": "ocMaxResults"; "required": false; }; "ocAllowNotListedValue": { "alias": "ocAllowNotListedValue"; "required": false; }; "ocNoAvailableOptionsText": { "alias": "ocNoAvailableOptionsText"; "required": false; }; "ocTypeForMoreResultsText": { "alias": "ocTypeForMoreResultsText"; "required": false; }; "ocLoading": { "alias": "ocLoading"; "required": false; }; "ocSemanticLike": { "alias": "ocSemanticLike"; "required": false; }; "ocStyle": { "alias": "ocStyle"; "required": false; }; "ocTabIndex": { "alias": "ocTabIndex"; "required": false; }; "iconSize": { "alias": "iconSize"; "required": false; }; "ocSelectByTyping": { "alias": "ocSelectByTyping"; "required": false; }; "ocDisabled": { "alias": "ocDisabled"; "required": false; }; "ocType": { "alias": "ocType"; "required": false; }; "ocShowBackdrop": { "alias": "ocShowBackdrop"; "required": false; }; "ocHasDeleteButton": { "alias": "ocHasDeleteButton"; "required": false; }; "ocEnableKeyboard": { "alias": "ocEnableKeyboard"; "required": false; }; "ocSelectionEllipsisAt": { "alias": "ocSelectionEllipsisAt"; "required": false; }; "ocMaxVisibleChips": { "alias": "ocMaxVisibleChips"; "required": false; }; }, { "ocValueChange": "ocValueChange"; "ocChange": "ocChange"; "ocCounterSelectChange": "ocCounterSelectChange"; "ocMultipleSelectChange": "ocMultipleSelectChange"; "ocOptionNotFound": "ocOptionNotFound"; "ocClick": "ocClick"; "ocHiddenChipsCountChange": "ocHiddenChipsCountChange"; }, ["ocPrefix", "ocSuffix"], ["*", "ocPrefix", "ocSuffix"], true, never>;
|
|
291
300
|
}
|
|
292
301
|
|
|
293
302
|
declare class OcBadgeComponent implements OnInit {
|
|
@@ -354,6 +363,7 @@ declare class OcCalendarComponent implements OnChanges {
|
|
|
354
363
|
constructor(styleThemeService: StyleThemeService);
|
|
355
364
|
ngOnInit(): void;
|
|
356
365
|
ngOnChanges(changes: SimpleChanges): void;
|
|
366
|
+
private resetSelection;
|
|
357
367
|
previousMonth(): void;
|
|
358
368
|
nextMonth(): void;
|
|
359
369
|
selectDay(day: OcCalendarDay): void;
|
|
@@ -373,7 +383,7 @@ declare class OcCalendarComponent implements OnChanges {
|
|
|
373
383
|
|
|
374
384
|
declare class OcCardComponent {
|
|
375
385
|
readonly ocSelected: i0.InputSignal<boolean>;
|
|
376
|
-
readonly ocColor: i0.InputSignal<"
|
|
386
|
+
readonly ocColor: i0.InputSignal<"default" | "green" | "red" | "yellow">;
|
|
377
387
|
readonly ocClickable: i0.InputSignal<boolean>;
|
|
378
388
|
ocClick: EventEmitter<void>;
|
|
379
389
|
protected onClick(): void;
|