angular-toolbox 1.6.1 → 1.7.0
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/LICENSE +1 -1
- package/README.md +1 -1
- package/fesm2022/angular-toolbox.mjs +193 -178
- package/fesm2022/angular-toolbox.mjs.map +1 -1
- package/package.json +7 -7
- package/{index.d.ts → types/angular-toolbox.d.ts} +36 -8
package/package.json
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "angular-toolbox",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/platform-browser": "^
|
|
9
|
-
"@angular/router": "^
|
|
6
|
+
"@angular/common": "^21.2.0",
|
|
7
|
+
"@angular/core": "^21.2.0",
|
|
8
|
+
"@angular/platform-browser": "^21.2.0",
|
|
9
|
+
"@angular/router": "^21.2.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|
|
13
13
|
},
|
|
14
14
|
"sideEffects": false,
|
|
15
15
|
"module": "fesm2022/angular-toolbox.mjs",
|
|
16
|
-
"typings": "
|
|
16
|
+
"typings": "types/angular-toolbox.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
"./package.json": {
|
|
19
19
|
"default": "./package.json"
|
|
20
20
|
},
|
|
21
21
|
".": {
|
|
22
|
-
"types": "./
|
|
22
|
+
"types": "./types/angular-toolbox.d.ts",
|
|
23
23
|
"default": "./fesm2022/angular-toolbox.mjs"
|
|
24
24
|
}
|
|
25
25
|
}
|
|
@@ -278,6 +278,29 @@ declare const CSS_PROP: string;
|
|
|
278
278
|
*/
|
|
279
279
|
declare const DARK_MODE_CONFIG: DarkModeConfig;
|
|
280
280
|
|
|
281
|
+
/**
|
|
282
|
+
* @license
|
|
283
|
+
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
284
|
+
*
|
|
285
|
+
* Use of this source code is governed by an MIT-style license that can be found in
|
|
286
|
+
* the LICENSE file at https://pascalechemann.com/angular-toolbox/resources/license
|
|
287
|
+
*/
|
|
288
|
+
/**
|
|
289
|
+
* Defines the API of objects passed as parameters to the `ButtonRoleDirective.enter`
|
|
290
|
+
* event emitter.
|
|
291
|
+
*/
|
|
292
|
+
interface ButtonRoleDataObject<T> {
|
|
293
|
+
/**
|
|
294
|
+
* Possible data associated the `enter` event of the `ButtonRoleDirective` functionality.
|
|
295
|
+
* Default value is (`null`).
|
|
296
|
+
*/
|
|
297
|
+
data: T | null;
|
|
298
|
+
/**
|
|
299
|
+
* The reference to the original user input event that triggered the directive `enter` event.
|
|
300
|
+
*/
|
|
301
|
+
event: MouseEvent | KeyboardEvent | PointerEvent;
|
|
302
|
+
}
|
|
303
|
+
|
|
281
304
|
/**
|
|
282
305
|
* @license
|
|
283
306
|
* Copyright Pascal ECHEMANN. All Rights Reserved.
|
|
@@ -1141,7 +1164,7 @@ declare class BorderLayout extends IdentifiableComponent implements AfterViewIni
|
|
|
1141
1164
|
/**
|
|
1142
1165
|
* @private
|
|
1143
1166
|
*/
|
|
1144
|
-
|
|
1167
|
+
protected onResize(): void;
|
|
1145
1168
|
/**
|
|
1146
1169
|
* @private
|
|
1147
1170
|
*/
|
|
@@ -5191,20 +5214,25 @@ declare class ButtonRoleDirective<T> extends NavigationDirectiveBase implements
|
|
|
5191
5214
|
/**
|
|
5192
5215
|
* Dispatches events when the user presses the "Enter" key.
|
|
5193
5216
|
*/
|
|
5194
|
-
readonly enter: EventEmitter<T
|
|
5217
|
+
readonly enter: EventEmitter<ButtonRoleDataObject<T>>;
|
|
5195
5218
|
/**
|
|
5196
5219
|
* Forces callback methods defined with the "enter" event listener to be invoked when user clicks on the
|
|
5197
5220
|
* decorated element.
|
|
5198
5221
|
*/
|
|
5199
5222
|
delegateClick: any;
|
|
5223
|
+
/**
|
|
5224
|
+
* Allows to associate any data to the directive. Data are passed as member of `ButtonRoleDataObject`
|
|
5225
|
+
* instances emmited by the `enter` event.
|
|
5226
|
+
*/
|
|
5227
|
+
atxData: T | null;
|
|
5200
5228
|
/**
|
|
5201
5229
|
* @private
|
|
5202
5230
|
*/
|
|
5203
|
-
|
|
5231
|
+
protected onKeyup(event: KeyboardEvent): void;
|
|
5204
5232
|
/**
|
|
5205
5233
|
* @private
|
|
5206
5234
|
*/
|
|
5207
|
-
|
|
5235
|
+
protected onClick(event: MouseEvent): void;
|
|
5208
5236
|
/**
|
|
5209
5237
|
* @private
|
|
5210
5238
|
*/
|
|
@@ -5222,7 +5250,7 @@ declare class ButtonRoleDirective<T> extends NavigationDirectiveBase implements
|
|
|
5222
5250
|
*/
|
|
5223
5251
|
private processEvent;
|
|
5224
5252
|
static ɵfac: i0.ɵɵFactoryDeclaration<ButtonRoleDirective<any>, never>;
|
|
5225
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonRoleDirective<any>, "[buttonRole]", never, { "delegateClick": { "alias": "delegateClick"; "required": false; }; }, { "enter": "enter"; }, never, never, true, never>;
|
|
5253
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ButtonRoleDirective<any>, "[buttonRole]", never, { "delegateClick": { "alias": "delegateClick"; "required": false; }; "atxData": { "alias": "atxData"; "required": false; }; }, { "enter": "enter"; }, never, never, true, never>;
|
|
5226
5254
|
}
|
|
5227
5255
|
|
|
5228
5256
|
/**
|
|
@@ -5237,7 +5265,7 @@ declare class NavigateToUrlDirective extends NavigationDirectiveBase {
|
|
|
5237
5265
|
/**
|
|
5238
5266
|
* @private
|
|
5239
5267
|
*/
|
|
5240
|
-
|
|
5268
|
+
protected onClick(): void;
|
|
5241
5269
|
/**
|
|
5242
5270
|
* @private
|
|
5243
5271
|
*/
|
|
@@ -5259,7 +5287,7 @@ declare class AnchorLinklDirective extends NavigationDirectiveBase implements Af
|
|
|
5259
5287
|
/**
|
|
5260
5288
|
* @private
|
|
5261
5289
|
*/
|
|
5262
|
-
|
|
5290
|
+
protected onClick(event: MouseEvent): void;
|
|
5263
5291
|
/**
|
|
5264
5292
|
* @private
|
|
5265
5293
|
*/
|
|
@@ -5341,4 +5369,4 @@ declare class SafeHtmlPipe implements PipeTransform {
|
|
|
5341
5369
|
}
|
|
5342
5370
|
|
|
5343
5371
|
export { APP_PRIDGE_REF, ATX_LOGGER_CONFIG, AbstractLogger, AbstractSubscriptionManager, AbstractVersionManager, AbstractWindowService, AnchorLinklDirective, AngularToolboxLogoComponent, AngularToolboxModule, AngularToolboxVersionService, AppBridgeError, AppBridgeService, ArrayList, ArrayListEvent, ArrayListEventType, AtxHttpMockConsoleService, AtxMockDocumentation, AtxMonitoringConsoleComponent, BIGINT, BOOLEAN, BUTTON_ROLE, BorderLayout, BorderLayoutContainer, ButtonRoleDirective, CSS_PROP, ConsoleLogConnector, ContentRendererDirective, DARK_MODE_CONFIG, DEFAULT_LOG_CONNECTOR, DarkModeService, DefaultLogConnector, DialogBackdropType, DialogOutlet, DialogOutletEvent, DialogService, DialogServiceError, DropdownComponent, DropdownEvent, DropdownEventType, EMPTY_STRING, FEATURES, FUNCTION, FetchClient, FetchClientBuilder, FetchClientResponseType, HTTP_MOCKING_FRAMEWORK_CONFIG, HTTP_MOCK_MAX_DELAY, HTTP_MOCK_SERVICE, HtmlLogConnector, HttpHeadersMockBuilder, HttpMock, HttpMockLoggingService, HttpMockProductionPolicy, HttpMockService, HttpMockServiceError, HttpResponseMockBuilder, HttpStatusText, HttpStatusTextFinder, IdentifiableComponent, IntegrityError, LINK_ROLE, LOG_CONFIG_STRING, LOG_ERROR_STRING, LOG_INFO_STRING, LOG_WARNING_STRING, LayoutDragEvent, LayoutDragEventType, LayoutRegion, LayoutRegionError, LogBuilder, LogImpl, LogLevel, LogUtil, LoggerService, NUMBER, NavbarComponent, NavigateToUrlDirective, OBJECT, STORAGE_KEY, STRING, SYMBOL, SafeHtmlPipe, ScrollService, SubscriptionError, SubscriptionService, UNDEFINED, Uuid, VERSION_CONFIG, VersionService, VersionUtil, WindowFeatureState, WindowService, WindowTarget, httpHeadersMock, httpMockFactory, httpResponseMock };
|
|
5344
|
-
export type { AppBridgeCommand, BatteryManager, ConnectionType, DarkModeConfig, Destroyable, DialogBackdrop, DialogConfig, DialogOutletEventType, DropdownHorizontalPosition, DropdownState, DropdownVerticalPosition, EffectiveConnectionType, HttpMethodMock, HttpMockConfig, HttpMockEndpoint, HttpMockEndpointDescriptor, HttpMockError, HttpMockInterceptor, HttpMockLoggingMetadata, HttpMockLoggingPrefetchMetadata, HttpMockMethodDescriptor, HttpMockParameters, HttpMockRequestMetadata, HttpMockingFrameworkConfig, HttpParameterDescriptor, HttpResponseMock, Identifiable, Instantiable, LayoutConstraints, LayoutRegionType, Log, LogConnector, Logger, LoggerConfig, NetworkInformation, PopoverState, ScrollBehavior, SubscriptionManager, TransactionalLogger, Version, VersionConfig, VersionManager, WindowInit, WindowRef, XhrProxy };
|
|
5372
|
+
export type { AppBridgeCommand, BatteryManager, ButtonRoleDataObject, ConnectionType, DarkModeConfig, Destroyable, DialogBackdrop, DialogConfig, DialogOutletEventType, DropdownHorizontalPosition, DropdownState, DropdownVerticalPosition, EffectiveConnectionType, HttpMethodMock, HttpMockConfig, HttpMockEndpoint, HttpMockEndpointDescriptor, HttpMockError, HttpMockInterceptor, HttpMockLoggingMetadata, HttpMockLoggingPrefetchMetadata, HttpMockMethodDescriptor, HttpMockParameters, HttpMockRequestMetadata, HttpMockingFrameworkConfig, HttpParameterDescriptor, HttpResponseMock, Identifiable, Instantiable, LayoutConstraints, LayoutRegionType, Log, LogConnector, Logger, LoggerConfig, NetworkInformation, PopoverState, ScrollBehavior, SubscriptionManager, TransactionalLogger, Version, VersionConfig, VersionManager, WindowInit, WindowRef, XhrProxy };
|