@sinequa/atomic-angular 2.3.0 → 2.4.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.
- package/README.md +299 -139
- package/fesm2022/sinequa-atomic-angular-document-workspaces.mjs +10 -80
- package/fesm2022/sinequa-atomic-angular-document-workspaces.mjs.map +1 -1
- package/fesm2022/sinequa-atomic-angular.mjs +105 -72
- package/fesm2022/sinequa-atomic-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/types/sinequa-atomic-angular-document-workspaces.d.ts +15 -16
- package/types/sinequa-atomic-angular.d.ts +176 -17
|
@@ -6001,19 +6001,7 @@ var WorkspaceList = class WorkspaceList {
|
|
|
6001
6001
|
{
|
|
6002
6002
|
kind: "component",
|
|
6003
6003
|
type: SearchInputComponent,
|
|
6004
|
-
selector: "SearchInput, search-input, searchinput"
|
|
6005
|
-
inputs: [
|
|
6006
|
-
"value",
|
|
6007
|
-
"placeholder",
|
|
6008
|
-
"disabled",
|
|
6009
|
-
"aria-label",
|
|
6010
|
-
"hotkey",
|
|
6011
|
-
"clearLabel",
|
|
6012
|
-
"class",
|
|
6013
|
-
"size",
|
|
6014
|
-
"textSize"
|
|
6015
|
-
],
|
|
6016
|
-
outputs: ["valueChange"]
|
|
6004
|
+
selector: "SearchInput:not([suggestions]), search-input:not([suggestions]), searchinput:not([suggestions])"
|
|
6017
6005
|
},
|
|
6018
6006
|
{
|
|
6019
6007
|
kind: "directive",
|
|
@@ -8505,18 +8493,7 @@ var DocumentPreviewPanel = class DocumentPreviewPanel {
|
|
|
8505
8493
|
query: this.query
|
|
8506
8494
|
});
|
|
8507
8495
|
token = 0;
|
|
8508
|
-
searchHost = viewChild(SearchInputComponent, {
|
|
8509
|
-
...ngDevMode ? { debugName: "searchHost" } : /* istanbul ignore next */ {},
|
|
8510
|
-
read: ElementRef
|
|
8511
|
-
});
|
|
8512
8496
|
constructor() {
|
|
8513
|
-
effect((onCleanup) => {
|
|
8514
|
-
const host = this.searchHost()?.nativeElement;
|
|
8515
|
-
if (!host) return;
|
|
8516
|
-
const listener = (event) => this.onSearchKeydown(event);
|
|
8517
|
-
host.addEventListener("keydown", listener, { capture: true });
|
|
8518
|
-
onCleanup(() => host.removeEventListener("keydown", listener, { capture: true }));
|
|
8519
|
-
});
|
|
8520
8497
|
effect(() => {
|
|
8521
8498
|
const { id } = this.document();
|
|
8522
8499
|
const queryName = this.queryName();
|
|
@@ -8622,13 +8599,6 @@ var DocumentPreviewPanel = class DocumentPreviewPanel {
|
|
|
8622
8599
|
predicate: ["frame"],
|
|
8623
8600
|
descendants: true,
|
|
8624
8601
|
isSignal: true
|
|
8625
|
-
}, {
|
|
8626
|
-
propertyName: "searchHost",
|
|
8627
|
-
first: true,
|
|
8628
|
-
predicate: SearchInputComponent,
|
|
8629
|
-
descendants: true,
|
|
8630
|
-
read: ElementRef,
|
|
8631
|
-
isSignal: true
|
|
8632
8602
|
}],
|
|
8633
8603
|
ngImport: i0,
|
|
8634
8604
|
template: `
|
|
@@ -8680,7 +8650,8 @@ var DocumentPreviewPanel = class DocumentPreviewPanel {
|
|
|
8680
8650
|
[placeholder]="'documentWorkspaces.preview.findPlaceholder' | transloco"
|
|
8681
8651
|
[aria-label]="'documentWorkspaces.preview.findPlaceholder' | transloco"
|
|
8682
8652
|
[clearLabel]="'documentWorkspaces.common.clearSearch' | transloco"
|
|
8683
|
-
[attr.title]="searchable() ? null : ('documentWorkspaces.preview.searchUnavailable' | transloco)"
|
|
8653
|
+
[attr.title]="searchable() ? null : ('documentWorkspaces.preview.searchUnavailable' | transloco)"
|
|
8654
|
+
(keydown)="onSearchKeydown($event)">
|
|
8684
8655
|
@if (query()) {
|
|
8685
8656
|
<span class="shrink-0 text-xs text-(--font-primary-muted)" aria-live="polite" data-testid="count">
|
|
8686
8657
|
@if (search.matches()) {
|
|
@@ -8829,19 +8800,7 @@ var DocumentPreviewPanel = class DocumentPreviewPanel {
|
|
|
8829
8800
|
{
|
|
8830
8801
|
kind: "component",
|
|
8831
8802
|
type: SearchInputComponent,
|
|
8832
|
-
selector: "SearchInput, search-input, searchinput"
|
|
8833
|
-
inputs: [
|
|
8834
|
-
"value",
|
|
8835
|
-
"placeholder",
|
|
8836
|
-
"disabled",
|
|
8837
|
-
"aria-label",
|
|
8838
|
-
"hotkey",
|
|
8839
|
-
"clearLabel",
|
|
8840
|
-
"class",
|
|
8841
|
-
"size",
|
|
8842
|
-
"textSize"
|
|
8843
|
-
],
|
|
8844
|
-
outputs: ["valueChange"]
|
|
8803
|
+
selector: "SearchInput:not([suggestions]), search-input:not([suggestions]), searchinput:not([suggestions])"
|
|
8845
8804
|
},
|
|
8846
8805
|
{
|
|
8847
8806
|
kind: "directive",
|
|
@@ -8960,7 +8919,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
8960
8919
|
[placeholder]="'documentWorkspaces.preview.findPlaceholder' | transloco"
|
|
8961
8920
|
[aria-label]="'documentWorkspaces.preview.findPlaceholder' | transloco"
|
|
8962
8921
|
[clearLabel]="'documentWorkspaces.common.clearSearch' | transloco"
|
|
8963
|
-
[attr.title]="searchable() ? null : ('documentWorkspaces.preview.searchUnavailable' | transloco)"
|
|
8922
|
+
[attr.title]="searchable() ? null : ('documentWorkspaces.preview.searchUnavailable' | transloco)"
|
|
8923
|
+
(keydown)="onSearchKeydown($event)">
|
|
8964
8924
|
@if (query()) {
|
|
8965
8925
|
<span class="shrink-0 text-xs text-(--font-primary-muted)" aria-live="polite" data-testid="count">
|
|
8966
8926
|
@if (search.matches()) {
|
|
@@ -9074,13 +9034,6 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
9074
9034
|
frame: [{
|
|
9075
9035
|
type: i0.ViewChild,
|
|
9076
9036
|
args: ["frame", { isSignal: true }]
|
|
9077
|
-
}],
|
|
9078
|
-
searchHost: [{
|
|
9079
|
-
type: i0.ViewChild,
|
|
9080
|
-
args: [i0.forwardRef(() => SearchInputComponent), {
|
|
9081
|
-
read: ElementRef,
|
|
9082
|
-
isSignal: true
|
|
9083
|
-
}]
|
|
9084
9037
|
}]
|
|
9085
9038
|
}
|
|
9086
9039
|
});
|
|
@@ -9959,19 +9912,7 @@ var WorkspaceDetail = class WorkspaceDetail {
|
|
|
9959
9912
|
{
|
|
9960
9913
|
kind: "component",
|
|
9961
9914
|
type: SearchInputComponent,
|
|
9962
|
-
selector: "SearchInput, search-input, searchinput"
|
|
9963
|
-
inputs: [
|
|
9964
|
-
"value",
|
|
9965
|
-
"placeholder",
|
|
9966
|
-
"disabled",
|
|
9967
|
-
"aria-label",
|
|
9968
|
-
"hotkey",
|
|
9969
|
-
"clearLabel",
|
|
9970
|
-
"class",
|
|
9971
|
-
"size",
|
|
9972
|
-
"textSize"
|
|
9973
|
-
],
|
|
9974
|
-
outputs: ["valueChange"]
|
|
9915
|
+
selector: "SearchInput:not([suggestions]), search-input:not([suggestions]), searchinput:not([suggestions])"
|
|
9975
9916
|
},
|
|
9976
9917
|
{
|
|
9977
9918
|
kind: "component",
|
|
@@ -10916,19 +10857,7 @@ var WorkspaceMentionSearch = class WorkspaceMentionSearch {
|
|
|
10916
10857
|
{
|
|
10917
10858
|
kind: "component",
|
|
10918
10859
|
type: SearchInputComponent,
|
|
10919
|
-
selector: "SearchInput, search-input, searchinput"
|
|
10920
|
-
inputs: [
|
|
10921
|
-
"value",
|
|
10922
|
-
"placeholder",
|
|
10923
|
-
"disabled",
|
|
10924
|
-
"aria-label",
|
|
10925
|
-
"hotkey",
|
|
10926
|
-
"clearLabel",
|
|
10927
|
-
"class",
|
|
10928
|
-
"size",
|
|
10929
|
-
"textSize"
|
|
10930
|
-
],
|
|
10931
|
-
outputs: ["valueChange"]
|
|
10860
|
+
selector: "SearchInput:not([suggestions]), search-input:not([suggestions]), searchinput:not([suggestions])"
|
|
10932
10861
|
},
|
|
10933
10862
|
{
|
|
10934
10863
|
kind: "pipe",
|
|
@@ -12325,7 +12254,8 @@ var WorkspacePickerDialog = class WorkspacePickerDialog {
|
|
|
12325
12254
|
"offset",
|
|
12326
12255
|
"config",
|
|
12327
12256
|
"lockPosition",
|
|
12328
|
-
"matchTriggerWidth"
|
|
12257
|
+
"matchTriggerWidth",
|
|
12258
|
+
"hideWhenTriggerHidden"
|
|
12329
12259
|
],
|
|
12330
12260
|
exportAs: ["popover", "dropdown"]
|
|
12331
12261
|
},
|