@arsedizioni/ars-utils 18.2.3 → 18.2.5
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/esm2022/clipper.ui/ui/browser-dialog/browser-dialog.component.mjs +3 -3
- package/esm2022/ui.application/ui/definitions.mjs +1 -1
- package/esm2022/ui.application/ui/dialogs/select/select-dialog.component.mjs +7 -12
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs +2 -2
- package/fesm2022/arsedizioni-ars-utils-clipper.ui.mjs.map +1 -1
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs +6 -11
- package/fesm2022/arsedizioni-ars-utils-ui.application.mjs.map +1 -1
- package/package.json +1 -1
- package/ui.application/ui/components/file-input/file-input.component.d.ts +1 -1
- package/ui.application/ui/components/filter-bar/filter-bar.component.d.ts +1 -1
- package/ui.application/ui/definitions.d.ts +7 -0
- package/ui.application/ui/dialogs/select/select-dialog.component.d.ts +4 -4
- package/clipper.ui/assets/logo.png +0 -0
- package/clipper.ui/assets/logo.webp +0 -0
- package/clipper.ui/assets/logo_small.png +0 -0
- package/clipper.ui/assets/logo_small.webp +0 -0
- package/core/scrollable.d.ts +0 -19
- package/esm2022/core/scrollable.mjs +0 -58
|
@@ -727,7 +727,7 @@ class SelectDialogComponent {
|
|
|
727
727
|
/**
|
|
728
728
|
* Mark for check
|
|
729
729
|
*/
|
|
730
|
-
|
|
730
|
+
notifyChanges() {
|
|
731
731
|
this.changeDetector.markForCheck();
|
|
732
732
|
}
|
|
733
733
|
/**
|
|
@@ -857,13 +857,13 @@ class SelectDialogComponent {
|
|
|
857
857
|
}
|
|
858
858
|
if (this.dialogData.canLookup) {
|
|
859
859
|
if (!e || e.keyCode === 13) {
|
|
860
|
-
this.lookup.emit({ items: this.dialogData.items, filter: this.filterText });
|
|
860
|
+
this.lookup.emit({ items: this.dialogData.items, filter: this.filterText, owner: this });
|
|
861
861
|
}
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
864
|
/**
|
|
865
865
|
* Apply filter using filter options
|
|
866
|
-
* @param
|
|
866
|
+
* @param filterOption : the current filter option
|
|
867
867
|
*/
|
|
868
868
|
doFilterByOptions(filterOption) {
|
|
869
869
|
if (this.dialogData.canLookup && this.dialogData.canFilter) {
|
|
@@ -884,7 +884,6 @@ class SelectDialogComponent {
|
|
|
884
884
|
this.lookupParams = params;
|
|
885
885
|
this.lookupParams.first = 0;
|
|
886
886
|
this.lookup.emit({ items: this.dialogData.items, params: this.lookupParams, owner: this });
|
|
887
|
-
this.changeDetector.markForCheck();
|
|
888
887
|
}
|
|
889
888
|
}
|
|
890
889
|
/**
|
|
@@ -908,32 +907,28 @@ class SelectDialogComponent {
|
|
|
908
907
|
this.clearSelection();
|
|
909
908
|
this.lookupParams.first = e.pageIndex * (this.dialogData.pageSize ?? 0);
|
|
910
909
|
this.lookup.emit({ items: this.dialogData.items, params: this.lookupParams, owner: this });
|
|
911
|
-
this.changeDetector.markForCheck();
|
|
912
910
|
}
|
|
913
911
|
}
|
|
914
912
|
/**
|
|
915
913
|
* Append
|
|
916
914
|
*/
|
|
917
915
|
doAppend() {
|
|
918
|
-
this.append.emit({ items: this.dialogData.items });
|
|
919
|
-
this.changeDetector.markForCheck();
|
|
916
|
+
this.append.emit({ items: this.dialogData.items, owner: this });
|
|
920
917
|
}
|
|
921
918
|
/**
|
|
922
919
|
* Edit
|
|
923
920
|
*/
|
|
924
921
|
doEdit() {
|
|
925
|
-
if (this.selection.selectedOptions.selected) {
|
|
922
|
+
if (this.selection.selectedOptions.selected?.length > 0) {
|
|
926
923
|
this.edit.emit(this.selection.selectedOptions.selected[0].value);
|
|
927
|
-
this.changeDetector.markForCheck();
|
|
928
924
|
}
|
|
929
925
|
}
|
|
930
926
|
/**
|
|
931
927
|
* View
|
|
932
928
|
*/
|
|
933
929
|
doView() {
|
|
934
|
-
if (this.selection.selectedOptions.selected) {
|
|
930
|
+
if (this.selection.selectedOptions.selected?.length > 0) {
|
|
935
931
|
this.view.emit(this.selection.selectedOptions.selected[0].value);
|
|
936
|
-
this.changeDetector.markForCheck();
|
|
937
932
|
}
|
|
938
933
|
}
|
|
939
934
|
/**
|