@meshmakers/octo-ui 3.3.580 → 3.3.590
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/package.json
CHANGED
|
@@ -3,7 +3,7 @@ import { OnInit, OnChanges, EventEmitter, SimpleChanges, OnDestroy, EnvironmentP
|
|
|
3
3
|
import * as _progress_kendo_svg_icons from '@progress/kendo-svg-icons';
|
|
4
4
|
import { SVGIcon } from '@progress/kendo-svg-icons';
|
|
5
5
|
import { GridDataResult, CellClickEvent, RowArgs, PageChangeEvent, SelectionEvent } from '@progress/kendo-angular-grid';
|
|
6
|
-
import { FieldFilterDto, SearchFilterDto, SortDto, AttributeValueTypeDto as AttributeValueTypeDto$1,
|
|
6
|
+
import { FieldFilterDto, SearchFilterDto, SortDto, AttributeItem, AttributeValueTypeDto as AttributeValueTypeDto$1, CkTypeSelectorItem as CkTypeSelectorItem$1, FieldFilterOperatorsDto, RuntimeEntityItem, RuntimeEntitySelectDataSource, RuntimeEntityDialogDataSource } from '@meshmakers/octo-services';
|
|
7
7
|
import { ControlValueAccessor, Validator, FormControl, AbstractControl, ValidationErrors } from '@angular/forms';
|
|
8
8
|
import { AutoCompleteComponent, PopupSettings } from '@progress/kendo-angular-dropdowns';
|
|
9
9
|
import { DataSourceTyped, ListViewComponent, HierarchyDataSourceBase } from '@meshmakers/shared-ui';
|
|
@@ -398,6 +398,12 @@ interface AttributeSelectorDialogData {
|
|
|
398
398
|
singleSelect?: boolean;
|
|
399
399
|
includeNavigationProperties?: boolean;
|
|
400
400
|
maxDepth?: number;
|
|
401
|
+
/** Additional virtual attributes to include in the available list (e.g., Timestamp for stream data queries) */
|
|
402
|
+
additionalAttributes?: AttributeItem[];
|
|
403
|
+
/** When true, hides the navigation properties checkbox and max depth controls */
|
|
404
|
+
hideNavigationControls?: boolean;
|
|
405
|
+
/** When set, restricts the available attributes to only these attribute paths (filtered client-side after fetching) */
|
|
406
|
+
attributePaths?: string[];
|
|
401
407
|
}
|
|
402
408
|
interface AttributeSelectorDialogResult {
|
|
403
409
|
selectedAttributes: AttributeItem[];
|
|
@@ -421,11 +427,14 @@ declare class AttributeSelectorDialogComponent implements OnInit {
|
|
|
421
427
|
dialogTitle: string;
|
|
422
428
|
rtCkTypeId: string;
|
|
423
429
|
singleSelect: boolean;
|
|
430
|
+
private additionalAttributes;
|
|
424
431
|
searchText: string;
|
|
425
432
|
selectedSingleKey: string[];
|
|
426
433
|
selectedValueTypeFilter: AttributeValueTypeDto$1 | null;
|
|
427
434
|
includeNavigationProperties: boolean;
|
|
428
435
|
maxDepth: number | null;
|
|
436
|
+
hideNavigationControls: boolean;
|
|
437
|
+
private attributePathsSet;
|
|
429
438
|
availableAttributes: AttributeItem[];
|
|
430
439
|
selectedAttributes: AttributeItem[];
|
|
431
440
|
availableGridData: GridDataResult;
|
|
@@ -494,9 +503,13 @@ declare class AttributeSelectorDialogService {
|
|
|
494
503
|
* @param selectedAttributes Optional array of pre-selected attribute paths
|
|
495
504
|
* @param dialogTitle Optional custom dialog title
|
|
496
505
|
* @param singleSelect Optional flag for single-select mode
|
|
506
|
+
* @param additionalAttributes Optional virtual attributes to include (e.g., Timestamp for stream data)
|
|
507
|
+
* @param includeNavigationProperties Optional flag to control navigation property inclusion
|
|
508
|
+
* @param maxDepth Optional max depth for navigation properties
|
|
509
|
+
* @param hideNavigationControls Optional flag to hide the navigation property controls in the dialog
|
|
497
510
|
* @returns Promise that resolves with the result containing selected attributes and confirmation status
|
|
498
511
|
*/
|
|
499
|
-
openAttributeSelector(rtCkTypeId: string, selectedAttributes?: string[], dialogTitle?: string, singleSelect?: boolean): Promise<AttributeSelectorResult>;
|
|
512
|
+
openAttributeSelector(rtCkTypeId: string, selectedAttributes?: string[], dialogTitle?: string, singleSelect?: boolean, additionalAttributes?: AttributeItem[], includeNavigationProperties?: boolean, maxDepth?: number, hideNavigationControls?: boolean, attributePaths?: string[]): Promise<AttributeSelectorResult>;
|
|
500
513
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttributeSelectorDialogService, never>;
|
|
501
514
|
static ɵprov: i0.ɵɵInjectableDeclaration<AttributeSelectorDialogService>;
|
|
502
515
|
}
|
|
@@ -510,6 +523,12 @@ interface AttributeSortSelectorDialogData {
|
|
|
510
523
|
ckTypeId: string;
|
|
511
524
|
selectedAttributes?: AttributeSortItem[];
|
|
512
525
|
dialogTitle?: string;
|
|
526
|
+
/** When set, controls whether navigation properties are included in the attribute list */
|
|
527
|
+
includeNavigationProperties?: boolean;
|
|
528
|
+
/** When true, hides the navigation property controls (if they were to be added) */
|
|
529
|
+
hideNavigationControls?: boolean;
|
|
530
|
+
/** When set, restricts the available attributes to only these attribute paths (filtered client-side after fetching) */
|
|
531
|
+
attributePaths?: string[];
|
|
513
532
|
}
|
|
514
533
|
interface AttributeSortSelectorDialogResult {
|
|
515
534
|
selectedAttributes: AttributeSortItem[];
|
|
@@ -528,6 +547,8 @@ declare class AttributeSortSelectorDialogComponent implements OnInit {
|
|
|
528
547
|
private searchSubject;
|
|
529
548
|
data: AttributeSortSelectorDialogData;
|
|
530
549
|
ckTypeId: string;
|
|
550
|
+
includeNavigationProperties: boolean | undefined;
|
|
551
|
+
private attributePathsSet;
|
|
531
552
|
searchText: string;
|
|
532
553
|
currentSortOrder: 'standard' | 'ascending' | 'descending';
|
|
533
554
|
selectedValueTypeFilter: AttributeValueTypeDto$1 | null;
|
|
@@ -579,9 +600,11 @@ declare class AttributeSortSelectorDialogService {
|
|
|
579
600
|
* @param ckTypeId The CkType ID to fetch attributes for
|
|
580
601
|
* @param selectedAttributes Optional array of pre-selected attributes with sort orders
|
|
581
602
|
* @param dialogTitle Optional custom dialog title
|
|
603
|
+
* @param includeNavigationProperties Optional flag to control navigation property inclusion
|
|
604
|
+
* @param hideNavigationControls Optional flag to hide the navigation property controls
|
|
582
605
|
* @returns Promise that resolves with the result containing selected attributes with sort orders and confirmation status
|
|
583
606
|
*/
|
|
584
|
-
openAttributeSortSelector(ckTypeId: string, selectedAttributes?: AttributeSortItem[], dialogTitle?: string): Promise<AttributeSortSelectorResult>;
|
|
607
|
+
openAttributeSortSelector(ckTypeId: string, selectedAttributes?: AttributeSortItem[], dialogTitle?: string, includeNavigationProperties?: boolean, hideNavigationControls?: boolean, attributePaths?: string[]): Promise<AttributeSortSelectorResult>;
|
|
585
608
|
static ɵfac: i0.ɵɵFactoryDeclaration<AttributeSortSelectorDialogService, never>;
|
|
586
609
|
static ɵprov: i0.ɵɵInjectableDeclaration<AttributeSortSelectorDialogService>;
|
|
587
610
|
}
|
|
@@ -754,6 +777,17 @@ declare class FieldFilterEditorComponent implements OnChanges {
|
|
|
754
777
|
* When not set, the component uses the externally provided availableAttributes input.
|
|
755
778
|
*/
|
|
756
779
|
ckTypeId?: string;
|
|
780
|
+
/**
|
|
781
|
+
* When true, hides the "Include Navigation Properties" checkbox and Max Depth controls,
|
|
782
|
+
* and forces attribute loading without navigation properties.
|
|
783
|
+
* Used for stream data queries which don't support navigation properties.
|
|
784
|
+
*/
|
|
785
|
+
hideNavigationProperties: boolean;
|
|
786
|
+
/**
|
|
787
|
+
* When set, restricts the available attributes to only these attribute paths (filtered client-side after fetching).
|
|
788
|
+
* Used for stream data queries to show only stream-data-enabled attributes.
|
|
789
|
+
*/
|
|
790
|
+
attributePaths?: string[];
|
|
757
791
|
/** Enable variable mode - allows using variables instead of literal values */
|
|
758
792
|
enableVariables: boolean;
|
|
759
793
|
/** Available variables for selection when enableVariables is true */
|
|
@@ -837,7 +871,7 @@ declare class FieldFilterEditorComponent implements OnChanges {
|
|
|
837
871
|
private extractArrayContent;
|
|
838
872
|
private parseAndCleanArrayValues;
|
|
839
873
|
static ɵfac: i0.ɵɵFactoryDeclaration<FieldFilterEditorComponent, never>;
|
|
840
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FieldFilterEditorComponent, "mm-field-filter-editor", never, { "availableAttributes": { "alias": "availableAttributes"; "required": false; }; "ckTypeId": { "alias": "ckTypeId"; "required": false; }; "enableVariables": { "alias": "enableVariables"; "required": false; }; "availableVariables": { "alias": "availableVariables"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "filtersChange": "filtersChange"; }, never, never, true, never>;
|
|
874
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FieldFilterEditorComponent, "mm-field-filter-editor", never, { "availableAttributes": { "alias": "availableAttributes"; "required": false; }; "ckTypeId": { "alias": "ckTypeId"; "required": false; }; "hideNavigationProperties": { "alias": "hideNavigationProperties"; "required": false; }; "attributePaths": { "alias": "attributePaths"; "required": false; }; "enableVariables": { "alias": "enableVariables"; "required": false; }; "availableVariables": { "alias": "availableVariables"; "required": false; }; "filters": { "alias": "filters"; "required": false; }; }, { "filtersChange": "filtersChange"; }, never, never, true, never>;
|
|
841
875
|
}
|
|
842
876
|
|
|
843
877
|
interface CopyOption {
|