@laserfiche/types-lf-ui-components 21.0.1 → 21.0.2--preview-26914184573

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 (2) hide show
  1. package/index.d.ts +50 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -28,6 +28,8 @@
28
28
 
29
29
 
30
30
 
31
+
32
+
31
33
 
32
34
 
33
35
 
@@ -450,6 +452,54 @@ export declare class LfRepositoryBrowserComponent {
450
452
  entryFocused: CustomEvent<LfTreeNode | undefined>;
451
453
  }
452
454
 
455
+ export declare interface LfTagDefinition {
456
+ /** The ID of the tag definition. */
457
+ id: number;
458
+ /** The name of the tag definition. */
459
+ name: string;
460
+ /** The localized name of the tag definition. */
461
+ displayName: string;
462
+ /** The description of the tag definition. */
463
+ description?: string;
464
+ /** A boolean indicating whether or not the tag definition is classified as a security tag (true). */
465
+ isSecure: boolean;
466
+ }
467
+
468
+ export declare class LfTagsComponent {
469
+ private localizationService;
470
+ initialTags: string[];
471
+ tagsService: LfTagsService | undefined;
472
+ selectedTagsChanged: CustomEvent<string[]>;
473
+ TAGS: string;
474
+ ADD_TAGS: string;
475
+ ADD_MORE_TAGS: string;
476
+ NO_TAGS_AVAILABLE: string;
477
+ private componentSub;
478
+ private openPanelTimeout;
479
+ tagDefinitions: LfTagDefinition[];
480
+ selectedTagNames: string[];
481
+ filteredTags: LfTagDefinition[];
482
+ tagCtrl: FormControl<any>;
483
+ autoCompleteTrigger: MatAutocompleteTrigger;
484
+ tagInput: ElementRef<HTMLInputElement>;
485
+ chips: QueryList<ElementRef>;
486
+ private ref;
487
+ ngAfterViewInit(): void;
488
+ ngOnDestroy(): void;
489
+ filterTags(value: string): LfTagDefinition[];
490
+ refreshFilteredTags(): void;
491
+ selected(event: MatAutocompleteSelectedEvent): void;
492
+ remove(tagName: string): void;
493
+ focusInput(): void;
494
+ onChipKeyDown(event: KeyboardEvent, index: number): void;
495
+ openPanel(): void;
496
+ private emitSelectedTagNames;
497
+ }
498
+
499
+ export declare interface LfTagsService {
500
+ getTagDefinitions(): Promise<LfTagDefinition[]>;
501
+ }
502
+
453
503
  export declare class LfToolbarComponent {
454
504
  displayed_options: ToolbarOption[];
455
505
  dropdown_options: ToolbarOption[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laserfiche/types-lf-ui-components",
3
- "version": "21.0.1",
3
+ "version": "21.0.2--preview-26914184573",
4
4
  "scripts": {},
5
5
  "dependencies": {},
6
6
  "devDependencies": {},