@agorapulse/ui-components 22.2.8-beta.1 → 22.2.10
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.2.10.tgz +0 -0
- package/fesm2022/agorapulse-ui-components-datepicker.mjs +16 -6
- package/fesm2022/agorapulse-ui-components-datepicker.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-filter-dropdown.mjs +1 -1
- package/fesm2022/agorapulse-ui-components-filter-dropdown.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-input-group.mjs +2 -2
- package/fesm2022/agorapulse-ui-components-input-group.mjs.map +1 -1
- package/fesm2022/agorapulse-ui-components-tooltip.mjs +3 -3
- package/package.json +2 -2
- package/types/agorapulse-ui-components-datepicker.d.ts +4 -2
- package/types/agorapulse-ui-components-tooltip.d.ts +1 -27
- package/agorapulse-ui-components-22.2.8-beta.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agorapulse-ui-components-input-group.mjs","sources":["../../../libs/ui-components/input-group/src/input-group.component.ts","../../../libs/ui-components/input-group/src/input-group.component.html","../../../libs/ui-components/input-group/src/input-prefix/input-prefix.component.ts","../../../libs/ui-components/input-group/src/input-prefix/input-prefix.component.html","../../../libs/ui-components/input-group/src/agorapulse-ui-components-input-group.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, Input, ViewEncapsulation, input } from '@angular/core';\n\n@Component({\n selector: 'ap-input-group',\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class InputGroupComponent {\n @Input() symbolPosition: 'left' | 'right' = 'left';\n /** Paints the group in its disabled state. For when it holds no `<input disabled>`. */\n disabled = input(false, { transform: booleanAttribute });\n}\n","<div\n class=\"ap-input-group\"\n [class.disabled]=\"disabled()\"\n [class.inverse]=\"symbolPosition === 'right'\">\n <ng-content select=\"ap-input-prefix\" />\n <ng-content select=\"ap-symbol\" />\n <ng-content />\n</div>\n","import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ap-input-prefix',\n templateUrl: './input-prefix.component.html',\n styleUrls: ['./input-prefix.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class InputPrefixComponent {\n}\n","<ng-content/>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAUa,mBAAmB,CAAA;IACnB,cAAc,GAAqB,MAAM;;IAElD,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;uGAH/C,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,2WCVhC,oPAQA,EAAA,MAAA,EAAA,CAAA,
|
|
1
|
+
{"version":3,"file":"agorapulse-ui-components-input-group.mjs","sources":["../../../libs/ui-components/input-group/src/input-group.component.ts","../../../libs/ui-components/input-group/src/input-group.component.html","../../../libs/ui-components/input-group/src/input-prefix/input-prefix.component.ts","../../../libs/ui-components/input-group/src/input-prefix/input-prefix.component.html","../../../libs/ui-components/input-group/src/agorapulse-ui-components-input-group.ts"],"sourcesContent":["import { booleanAttribute, ChangeDetectionStrategy, Component, Input, ViewEncapsulation, input } from '@angular/core';\n\n@Component({\n selector: 'ap-input-group',\n templateUrl: './input-group.component.html',\n styleUrls: ['./input-group.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class InputGroupComponent {\n @Input() symbolPosition: 'left' | 'right' = 'left';\n /** Paints the group in its disabled state. For when it holds no `<input disabled>`. */\n disabled = input(false, { transform: booleanAttribute });\n}\n","<div\n class=\"ap-input-group\"\n [class.disabled]=\"disabled()\"\n [class.inverse]=\"symbolPosition === 'right'\">\n <ng-content select=\"ap-input-prefix\" />\n <ng-content select=\"ap-symbol\" />\n <ng-content />\n</div>\n","import {ChangeDetectionStrategy, Component, ViewEncapsulation} from '@angular/core';\n\n@Component({\n selector: 'ap-input-prefix',\n templateUrl: './input-prefix.component.html',\n styleUrls: ['./input-prefix.component.scss'],\n standalone: true,\n changeDetection: ChangeDetectionStrategy.OnPush,\n encapsulation: ViewEncapsulation.None,\n})\nexport class InputPrefixComponent {\n}\n","<ng-content/>\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public_api';\n"],"names":[],"mappings":";;;MAUa,mBAAmB,CAAA;IACnB,cAAc,GAAqB,MAAM;;IAElD,QAAQ,GAAG,KAAK,CAAC,KAAK,gFAAI,SAAS,EAAE,gBAAgB,EAAA,CAAG;uGAH/C,mBAAmB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAAnB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,mBAAmB,2WCVhC,oPAQA,EAAA,MAAA,EAAA,CAAA,8pDAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;2FDEa,mBAAmB,EAAA,UAAA,EAAA,CAAA;kBAR/B,SAAS;+BACI,gBAAgB,EAAA,UAAA,EAGd,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,oPAAA,EAAA,MAAA,EAAA,CAAA,8pDAAA,CAAA,EAAA;;sBAGpC;;;MEDQ,oBAAoB,CAAA;uGAApB,oBAAoB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA;AAApB,IAAA,OAAA,IAAA,GAAA,EAAA,CAAA,oBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,QAAA,EAAA,IAAA,EAAA,oBAAoB,2ECVjC,iBACA,EAAA,MAAA,EAAA,CAAA,kWAAA,CAAA,EAAA,eAAA,EAAA,EAAA,CAAA,uBAAA,CAAA,MAAA,EAAA,aAAA,EAAA,EAAA,CAAA,iBAAA,CAAA,IAAA,EAAA,CAAA;;2FDSa,oBAAoB,EAAA,UAAA,EAAA,CAAA;kBARhC,SAAS;+BACI,iBAAiB,EAAA,UAAA,EAGf,IAAI,EAAA,eAAA,EACC,uBAAuB,CAAC,MAAM,EAAA,aAAA,EAChC,iBAAiB,CAAC,IAAI,EAAA,QAAA,EAAA,iBAAA,EAAA,MAAA,EAAA,CAAA,kWAAA,CAAA,EAAA;;;AERzC;;AAEG;;;;"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { inject, ElementRef, NgZone, input, Directive, ViewEncapsulation, ChangeDetectionStrategy, Component, computed, DestroyRef, TemplateRef } from '@angular/core';
|
|
3
|
-
import { NgTemplateOutlet } from '@angular/common';
|
|
4
|
-
import DOMPurify from 'dompurify';
|
|
5
3
|
import { AvatarComponent } from '@agorapulse/ui-components/avatar';
|
|
6
4
|
import { createFloatingOverlay } from '@agorapulse/ui-components/floating';
|
|
7
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
7
|
+
import DOMPurify from 'dompurify';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* Directive that triggers a tooltip to show/hide
|
|
@@ -488,5 +488,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
|
|
|
488
488
|
* Generated bundle index. Do not edit.
|
|
489
489
|
*/
|
|
490
490
|
|
|
491
|
-
export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective
|
|
491
|
+
export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective };
|
|
492
492
|
//# sourceMappingURL=agorapulse-ui-components-tooltip.mjs.map
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agorapulse/ui-components",
|
|
3
3
|
"description": "Agorapulse UI Components Library",
|
|
4
|
-
"version": "22.2.
|
|
4
|
+
"version": "22.2.10",
|
|
5
5
|
"author": "Benoit Hediard",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"homepage": "https://github.com/agorapulse/design",
|
|
14
14
|
"peerDependencies": {
|
|
15
15
|
"@agorapulse/ui-symbol": "^22.0.0",
|
|
16
|
-
"@agorapulse/ui-theme": "^22.0.
|
|
16
|
+
"@agorapulse/ui-theme": "^22.0.16",
|
|
17
17
|
"@agorapulse/ui-animations": "^22.0.0",
|
|
18
18
|
"@angular/cdk": "^22.0.0",
|
|
19
19
|
"@angular/common": "^22.0.0",
|
|
@@ -311,6 +311,8 @@ declare class DatepickerSelectComponent implements FormValueControl<DatepickerVa
|
|
|
311
311
|
readonly value: _angular_core.ModelSignal<DatepickerValue | null | undefined>;
|
|
312
312
|
/** Disables the field. A form writes here too, rather than to a second flag of its own. */
|
|
313
313
|
readonly disabled: _angular_core.InputSignal<boolean>;
|
|
314
|
+
readonly invalid: _angular_core.InputSignal<boolean>;
|
|
315
|
+
readonly touched: _angular_core.InputSignal<boolean>;
|
|
314
316
|
readonly minDate: _angular_core.InputSignal<dayjs.Dayjs | undefined>;
|
|
315
317
|
readonly maxDate: _angular_core.InputSignal<dayjs.Dayjs | undefined>;
|
|
316
318
|
/**
|
|
@@ -392,7 +394,7 @@ declare class DatepickerSelectComponent implements FormValueControl<DatepickerVa
|
|
|
392
394
|
endDate?: dayjs.Dayjs;
|
|
393
395
|
}>;
|
|
394
396
|
protected readonly hasValue: _angular_core.Signal<boolean>;
|
|
395
|
-
/** The field's text. Empty in Multiple, where the field shows chips instead. */
|
|
397
|
+
/** The field's text: a one-day period reads as that day. Empty in Multiple, where the field shows chips instead. */
|
|
396
398
|
readonly displayed: _angular_core.Signal<string>;
|
|
397
399
|
/** The chips shown in Multiple mode, one per selected date. */
|
|
398
400
|
readonly chips: _angular_core.Signal<DateChip[]>;
|
|
@@ -412,7 +414,7 @@ declare class DatepickerSelectComponent implements FormValueControl<DatepickerVa
|
|
|
412
414
|
/** True when nothing is left to pick — the panel's own closing criterion. */
|
|
413
415
|
private isComplete;
|
|
414
416
|
static ɵfac: _angular_core.ɵɵFactoryDeclaration<DatepickerSelectComponent, never>;
|
|
415
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerSelectComponent, "ap-datepicker-select", never, { "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "maxRangeDays": { "alias": "maxRangeDays"; "required": false; "isSignal": true; }; "panelHint": { "alias": "panelHint"; "required": false; "isSignal": true; }; "panelFooter": { "alias": "panelFooter"; "required": false; "isSignal": true; }; "canSelect": { "alias": "canSelect"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "timeZoneTooltip": { "alias": "timeZoneTooltip"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touch": "touch"; "selectionChange": "selectionChange"; "selectionRejected": "selectionRejected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
417
|
+
static ɵcmp: _angular_core.ɵɵComponentDeclaration<DatepickerSelectComponent, "ap-datepicker-select", never, { "mode": { "alias": "mode"; "required": true; "isSignal": true; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "invalid": { "alias": "invalid"; "required": false; "isSignal": true; }; "touched": { "alias": "touched"; "required": false; "isSignal": true; }; "minDate": { "alias": "minDate"; "required": false; "isSignal": true; }; "maxDate": { "alias": "maxDate"; "required": false; "isSignal": true; }; "maxRangeDays": { "alias": "maxRangeDays"; "required": false; "isSignal": true; }; "panelHint": { "alias": "panelHint"; "required": false; "isSignal": true; }; "panelFooter": { "alias": "panelFooter"; "required": false; "isSignal": true; }; "canSelect": { "alias": "canSelect"; "required": false; "isSignal": true; }; "presets": { "alias": "presets"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "locale": { "alias": "locale"; "required": false; "isSignal": true; }; "firstDayOfWeek": { "alias": "firstDayOfWeek"; "required": false; "isSignal": true; }; "placement": { "alias": "placement"; "required": false; "isSignal": true; }; "clearable": { "alias": "clearable"; "required": false; "isSignal": true; }; "timeZone": { "alias": "timeZone"; "required": false; "isSignal": true; }; "timeZoneTooltip": { "alias": "timeZoneTooltip"; "required": false; "isSignal": true; }; }, { "value": "valueChange"; "touch": "touch"; "selectionChange": "selectionChange"; "selectionRejected": "selectionRejected"; "opened": "opened"; "closed": "closed"; }, never, never, true, never>;
|
|
416
418
|
}
|
|
417
419
|
|
|
418
420
|
export { DatepickerComponent, DatepickerDropdownComponent, DatepickerMode, DatepickerMonthPickerComponent, DatepickerSelectComponent, assertValueMatchesMode, defaultDatepickerPresets, isPeriod };
|
|
@@ -123,31 +123,5 @@ declare class TooltipExternalTriggerDirective implements AfterViewInit, OnDestro
|
|
|
123
123
|
static ɵdir: _angular_core.ɵɵDirectiveDeclaration<TooltipExternalTriggerDirective, "[apTooltipExternalTrigger]", ["apTooltipExternalTrigger"], { "apTooltipExternalTrigger": { "alias": "apTooltipExternalTrigger"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
124
124
|
}
|
|
125
125
|
|
|
126
|
-
|
|
127
|
-
* A tooltip's floating surface, internal to the directive: `role="tooltip"`, no focus handling — taking focus is `ap-popover`'s job.
|
|
128
|
-
* `ViewEncapsulation.None` and the `ap-tooltip*` class names stay: the styles are global, and the product overrides them by name.
|
|
129
|
-
* The host carries `ap-tooltip` because the engine reads the arrow's colour from the pane's first element child.
|
|
130
|
-
*/
|
|
131
|
-
declare class TooltipPanelComponent {
|
|
132
|
-
/** Plain-string content. Sanitised before it reaches the template. */
|
|
133
|
-
readonly text: _angular_core.InputSignal<string | undefined>;
|
|
134
|
-
/** Consumer template, which takes precedence over `text`. */
|
|
135
|
-
readonly template: _angular_core.InputSignal<TemplateRef<HTMLElement> | undefined>;
|
|
136
|
-
/** The consumer template's `ngTemplateOutletContext`, read through its `let-` bindings. */
|
|
137
|
-
readonly templateContext: _angular_core.InputSignal<object | undefined>;
|
|
138
|
-
readonly type: _angular_core.InputSignal<string>;
|
|
139
|
-
readonly presentationContext: _angular_core.InputSignal<CustomTooltipPresentationItem | undefined>;
|
|
140
|
-
readonly listItems: _angular_core.InputSignal<CustomTooltipAvatarItem[]>;
|
|
141
|
-
readonly showCaption: _angular_core.InputSignal<boolean>;
|
|
142
|
-
/** Only mirrored onto the host, for the class the product may hook onto. */
|
|
143
|
-
readonly clickTriggered: _angular_core.InputSignal<boolean>;
|
|
144
|
-
protected readonly isDefaultType: _angular_core.Signal<boolean>;
|
|
145
|
-
protected readonly hasTemplate: _angular_core.Signal<boolean>;
|
|
146
|
-
/** DOMPurify strips more than the `[innerHTML]` sanitiser that runs after it; neither pass adds anything. */
|
|
147
|
-
protected readonly sanitizedText: _angular_core.Signal<string>;
|
|
148
|
-
static ɵfac: _angular_core.ɵɵFactoryDeclaration<TooltipPanelComponent, never>;
|
|
149
|
-
static ɵcmp: _angular_core.ɵɵComponentDeclaration<TooltipPanelComponent, "ap-tooltip-panel", never, { "text": { "alias": "text"; "required": false; "isSignal": true; }; "template": { "alias": "template"; "required": false; "isSignal": true; }; "templateContext": { "alias": "templateContext"; "required": false; "isSignal": true; }; "type": { "alias": "type"; "required": false; "isSignal": true; }; "presentationContext": { "alias": "presentationContext"; "required": false; "isSignal": true; }; "listItems": { "alias": "listItems"; "required": false; "isSignal": true; }; "showCaption": { "alias": "showCaption"; "required": false; "isSignal": true; }; "clickTriggered": { "alias": "clickTriggered"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective, TooltipPanelComponent };
|
|
126
|
+
export { CustomTooltipType, TooltipDirective, TooltipExternalTriggerDirective };
|
|
153
127
|
export type { CustomTooltipAvatarItem, CustomTooltipPresentationItem };
|
|
Binary file
|