@agorapulse/ui-components 22.10.3-beta.1 → 22.10.4-beta.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/agorapulse-ui-components-22.10.4-beta.1.tgz +0 -0
- package/fesm2022/agorapulse-ui-components-filter-dropdown.mjs +3 -4
- package/fesm2022/agorapulse-ui-components-filter-dropdown.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-form-message.mjs +8 -12
- package/fesm2022/agorapulse-ui-components-form-message.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-infobox.mjs +48 -35
- package/fesm2022/agorapulse-ui-components-infobox.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs +41 -59
- package/fesm2022/agorapulse-ui-components-nav-selector.mjs.map +1 -1
- package/package.json +1 -1
- package/types/agorapulse-ui-components-filter-dropdown.d.ts +1 -1
- package/types/agorapulse-ui-components-form-message.d.ts +2 -8
- package/types/agorapulse-ui-components-infobox.d.ts +17 -26
- package/agorapulse-ui-components-22.10.3-beta.1.tgz +0 -0
package/package.json
CHANGED
|
@@ -287,9 +287,9 @@ declare class FilterDropdownComponent implements DropdownOverlay {
|
|
|
287
287
|
href: string | undefined;
|
|
288
288
|
label: string | undefined;
|
|
289
289
|
} | undefined;
|
|
290
|
+
title: string | undefined;
|
|
290
291
|
message: string | undefined;
|
|
291
292
|
type: _agorapulse_ui_components_infobox.InfoboxType;
|
|
292
|
-
titleRequest: _agorapulse_ui_components_i18n.TranslationRequest | undefined;
|
|
293
293
|
} | null>;
|
|
294
294
|
/**
|
|
295
295
|
* The filter groups to display: STRUCTURE only (keys, titles, options, locks, display type, and the
|
|
@@ -1,23 +1,17 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { TranslationRequest } from '@agorapulse/ui-components/i18n';
|
|
3
2
|
|
|
4
3
|
type MessageType = 'error' | 'success';
|
|
5
4
|
declare class FormMessageComponent {
|
|
6
5
|
set messageType(messageType: MessageType);
|
|
7
|
-
|
|
8
|
-
readonly message: _angular_core.InputSignal<TranslationRequest>;
|
|
9
|
-
protected readonly texts: _angular_core.Signal<{
|
|
10
|
-
readonly message: string | undefined;
|
|
11
|
-
}>;
|
|
6
|
+
message: string;
|
|
12
7
|
messageTypeSignal: _angular_core.WritableSignal<MessageType>;
|
|
13
8
|
symbolIdSignal: _angular_core.Signal<"error_fill" | "rounded-check_fill">;
|
|
14
9
|
/** The id this message is referenced by. A bound `[id]` would land after construction and leave the reference dangling. */
|
|
15
10
|
readonly messageId: string;
|
|
16
11
|
private symbolRegistry;
|
|
17
|
-
private readonly resolveTexts;
|
|
18
12
|
constructor();
|
|
19
13
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<FormMessageComponent, never>;
|
|
20
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormMessageComponent, "ap-form-message", never, { "messageType": { "alias": "messageType"; "required": true; }; "message": { "alias": "message"; "required": true;
|
|
14
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<FormMessageComponent, "ap-form-message", never, { "messageType": { "alias": "messageType"; "required": true; }; "message": { "alias": "message"; "required": true; }; }, {}, never, never, true, never>;
|
|
21
15
|
}
|
|
22
16
|
|
|
23
17
|
export { FormMessageComponent };
|
|
@@ -1,40 +1,31 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import {
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { EventEmitter } from '@angular/core';
|
|
3
3
|
import { agorapulseSymbol } from '@agorapulse/ui-symbol';
|
|
4
4
|
|
|
5
5
|
type InfoboxType = 'info' | 'warning' | 'error' | 'success' | 'feature-lock';
|
|
6
6
|
declare class InfoboxComponent {
|
|
7
7
|
private readonly symbolRegistry;
|
|
8
8
|
private readonly elementRef;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
/** `data-track` attribute of the action button. */
|
|
21
|
-
readonly actionDataTrack: _angular_core.InputSignal<string | null>;
|
|
22
|
-
/** Symbol shown on the left of the action button. */
|
|
23
|
-
readonly actionSymbolId: _angular_core.InputSignal<string | undefined>;
|
|
24
|
-
readonly closable: _angular_core.InputSignalWithTransform<boolean, unknown>;
|
|
25
|
-
readonly type: _angular_core.InputSignal<InfoboxType>;
|
|
26
|
-
/** Emits when the action button, labelled by `i18n.action`, is clicked. */
|
|
27
|
-
readonly actionClick: _angular_core.OutputEmitterRef<void>;
|
|
28
|
-
readonly closed: _angular_core.OutputEmitterRef<void>;
|
|
29
|
-
protected readonly defaultButtonId: string;
|
|
9
|
+
buttonId: string | null;
|
|
10
|
+
buttonLabel: string | undefined;
|
|
11
|
+
buttonDataTrack: string | null;
|
|
12
|
+
buttonSymbolId: i0.InputSignal<string | undefined>;
|
|
13
|
+
closable: boolean;
|
|
14
|
+
title?: string;
|
|
15
|
+
type: InfoboxType;
|
|
16
|
+
buttonClicked: EventEmitter<void>;
|
|
17
|
+
closed: EventEmitter<void>;
|
|
18
|
+
displayDirection: 'horizontal' | 'vertical';
|
|
19
|
+
defaultButtonId: string;
|
|
30
20
|
readonly symbolIds: {
|
|
31
21
|
[k: string]: agorapulseSymbol;
|
|
32
22
|
};
|
|
33
23
|
constructor();
|
|
34
|
-
|
|
24
|
+
onClickButton(): void;
|
|
35
25
|
onCloseInfobox(): void;
|
|
36
|
-
static ɵfac:
|
|
37
|
-
static ɵcmp:
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InfoboxComponent, never>;
|
|
27
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InfoboxComponent, "ap-infobox", never, { "buttonId": { "alias": "buttonId"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "buttonDataTrack": { "alias": "buttonDataTrack"; "required": false; }; "buttonSymbolId": { "alias": "buttonSymbolId"; "required": false; "isSignal": true; }; "closable": { "alias": "closable"; "required": false; }; "title": { "alias": "title"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, { "buttonClicked": "buttonClicked"; "closed": "closed"; }, never, ["*"], true, never>;
|
|
28
|
+
static ngAcceptInputType_closable: unknown;
|
|
38
29
|
}
|
|
39
30
|
|
|
40
31
|
export { InfoboxComponent };
|
|
Binary file
|