@skyux/core 14.3.9 → 14.3.11
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/fesm2022/skyux-core.mjs +57 -47
- package/fesm2022/skyux-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/skyux-core.d.ts +77 -79
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@skyux/core",
|
|
3
|
-
"version": "14.3.
|
|
3
|
+
"version": "14.3.11",
|
|
4
4
|
"author": "Blackbaud, Inc.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"blackbaud",
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"@angular/core": "^21.2.0",
|
|
22
22
|
"@angular/platform-browser": "^21.2.0",
|
|
23
23
|
"@angular/router": "^21.2.0",
|
|
24
|
-
"@skyux/i18n": "14.3.
|
|
24
|
+
"@skyux/i18n": "14.3.11"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"tslib": "^2.8.1"
|
package/types/skyux-core.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { RendererFactory2, ElementRef,
|
|
2
|
+
import { RendererFactory2, ElementRef, OnInit, OnChanges, OnDestroy, EventEmitter, SimpleChanges, Renderer2, NgZone, EnvironmentProviders, StaticProvider, Type, ViewContainerRef, EnvironmentInjector, ApplicationRef, ComponentRef, InjectionToken, Provider, Injector, PipeTransform, ChangeDetectorRef, TemplateRef, EmbeddedViewRef, AfterViewInit } from '@angular/core';
|
|
3
3
|
import { ViewportRuler } from '@angular/cdk/overlay';
|
|
4
4
|
import { Observable, ReplaySubject, Subscription } from 'rxjs';
|
|
5
5
|
import * as i1 from '@skyux/i18n';
|
|
@@ -230,53 +230,6 @@ interface SkyAffixPlacementChange {
|
|
|
230
230
|
placement: SkyAffixPlacement | null;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
-
declare class SkyAffixer {
|
|
234
|
-
#private;
|
|
235
|
-
/**
|
|
236
|
-
* Fires when the affixed element's offset changes.
|
|
237
|
-
*/
|
|
238
|
-
get offsetChange(): Observable<SkyAffixOffsetChange>;
|
|
239
|
-
/**
|
|
240
|
-
* Fires when the base element's nearest overflow parent is scrolling. This is useful if you need
|
|
241
|
-
* to perform an additional action during the scroll event but don't want to generate another
|
|
242
|
-
* event listener.
|
|
243
|
-
*/
|
|
244
|
-
get overflowScroll(): Observable<void>;
|
|
245
|
-
/**
|
|
246
|
-
* Fires when the placement value changes. A `null` value indicates that a suitable
|
|
247
|
-
* placement could not be found.
|
|
248
|
-
*/
|
|
249
|
-
get placementChange(): Observable<SkyAffixPlacementChange>;
|
|
250
|
-
constructor(affixedElement: HTMLElement, renderer: Renderer2, viewportRuler: ViewportRuler, zone: NgZone, layoutViewport: HTMLElement);
|
|
251
|
-
/**
|
|
252
|
-
* Affixes an element to a base element.
|
|
253
|
-
* @param baseElement The base element.
|
|
254
|
-
* @param config Configuration for the affix action.
|
|
255
|
-
*/
|
|
256
|
-
affixTo(baseElement: HTMLElement, config?: SkyAffixConfig): void;
|
|
257
|
-
getConfig(): SkyAffixConfig;
|
|
258
|
-
/**
|
|
259
|
-
* Re-runs the affix calculation.
|
|
260
|
-
*/
|
|
261
|
-
reaffix(): void;
|
|
262
|
-
/**
|
|
263
|
-
* Destroys the affixer.
|
|
264
|
-
*/
|
|
265
|
-
destroy(): void;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
declare class SkyAffixService implements OnDestroy {
|
|
269
|
-
#private;
|
|
270
|
-
ngOnDestroy(): void;
|
|
271
|
-
/**
|
|
272
|
-
* Creates an instance of [[SkyAffixer]].
|
|
273
|
-
* @param affixed The element to be affixed.
|
|
274
|
-
*/
|
|
275
|
-
createAffixer(affixed: ElementRef): SkyAffixer;
|
|
276
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAffixService, never>;
|
|
277
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyAffixService>;
|
|
278
|
-
}
|
|
279
|
-
|
|
280
233
|
/**
|
|
281
234
|
* Affixes the host element to a base element.
|
|
282
235
|
*/
|
|
@@ -330,7 +283,6 @@ declare class SkyAffixDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
330
283
|
* Fires when the placement value changes.
|
|
331
284
|
*/
|
|
332
285
|
affixPlacementChange: EventEmitter<SkyAffixPlacementChange>;
|
|
333
|
-
constructor(elementRef: ElementRef, affixService: SkyAffixService);
|
|
334
286
|
ngOnInit(): void;
|
|
335
287
|
ngOnChanges(changes: SimpleChanges): void;
|
|
336
288
|
ngOnDestroy(): void;
|
|
@@ -344,6 +296,53 @@ declare class SkyAffixModule {
|
|
|
344
296
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyAffixModule>;
|
|
345
297
|
}
|
|
346
298
|
|
|
299
|
+
declare class SkyAffixer {
|
|
300
|
+
#private;
|
|
301
|
+
/**
|
|
302
|
+
* Fires when the affixed element's offset changes.
|
|
303
|
+
*/
|
|
304
|
+
get offsetChange(): Observable<SkyAffixOffsetChange>;
|
|
305
|
+
/**
|
|
306
|
+
* Fires when the base element's nearest overflow parent is scrolling. This is useful if you need
|
|
307
|
+
* to perform an additional action during the scroll event but don't want to generate another
|
|
308
|
+
* event listener.
|
|
309
|
+
*/
|
|
310
|
+
get overflowScroll(): Observable<void>;
|
|
311
|
+
/**
|
|
312
|
+
* Fires when the placement value changes. A `null` value indicates that a suitable
|
|
313
|
+
* placement could not be found.
|
|
314
|
+
*/
|
|
315
|
+
get placementChange(): Observable<SkyAffixPlacementChange>;
|
|
316
|
+
constructor(affixedElement: HTMLElement, renderer: Renderer2, viewportRuler: ViewportRuler, zone: NgZone, layoutViewport: HTMLElement);
|
|
317
|
+
/**
|
|
318
|
+
* Affixes an element to a base element.
|
|
319
|
+
* @param baseElement The base element.
|
|
320
|
+
* @param config Configuration for the affix action.
|
|
321
|
+
*/
|
|
322
|
+
affixTo(baseElement: HTMLElement, config?: SkyAffixConfig): void;
|
|
323
|
+
getConfig(): SkyAffixConfig;
|
|
324
|
+
/**
|
|
325
|
+
* Re-runs the affix calculation.
|
|
326
|
+
*/
|
|
327
|
+
reaffix(): void;
|
|
328
|
+
/**
|
|
329
|
+
* Destroys the affixer.
|
|
330
|
+
*/
|
|
331
|
+
destroy(): void;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
declare class SkyAffixService implements OnDestroy {
|
|
335
|
+
#private;
|
|
336
|
+
ngOnDestroy(): void;
|
|
337
|
+
/**
|
|
338
|
+
* Creates an instance of [[SkyAffixer]].
|
|
339
|
+
* @param affixed The element to be affixed.
|
|
340
|
+
*/
|
|
341
|
+
createAffixer(affixed: ElementRef): SkyAffixer;
|
|
342
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyAffixService, never>;
|
|
343
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkyAffixService>;
|
|
344
|
+
}
|
|
345
|
+
|
|
347
346
|
/**
|
|
348
347
|
* @internal
|
|
349
348
|
*
|
|
@@ -817,15 +816,6 @@ declare abstract class SkyHelpService {
|
|
|
817
816
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyHelpService>;
|
|
818
817
|
}
|
|
819
818
|
|
|
820
|
-
/**
|
|
821
|
-
* Generates unique IDs to be used with HTML elements.
|
|
822
|
-
*/
|
|
823
|
-
declare class SkyIdService {
|
|
824
|
-
generateId(): string;
|
|
825
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdService, never>;
|
|
826
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<SkyIdService>;
|
|
827
|
-
}
|
|
828
|
-
|
|
829
819
|
/**
|
|
830
820
|
* Sets the element's `id` attribute to a unique ID. To reference this unique ID on other elements,
|
|
831
821
|
* such as in a `label` element's `for` attribute, assign this directive to a template reference
|
|
@@ -834,7 +824,7 @@ declare class SkyIdService {
|
|
|
834
824
|
declare class SkyIdDirective {
|
|
835
825
|
#private;
|
|
836
826
|
get id(): string;
|
|
837
|
-
constructor(
|
|
827
|
+
constructor();
|
|
838
828
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdDirective, never>;
|
|
839
829
|
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyIdDirective, "[skyId]", ["skyId"], {}, {}, never, never, true, never>;
|
|
840
830
|
}
|
|
@@ -845,6 +835,15 @@ declare class SkyIdModule {
|
|
|
845
835
|
static ɵinj: i0.ɵɵInjectorDeclaration<SkyIdModule>;
|
|
846
836
|
}
|
|
847
837
|
|
|
838
|
+
/**
|
|
839
|
+
* Generates unique IDs to be used with HTML elements.
|
|
840
|
+
*/
|
|
841
|
+
declare class SkyIdService {
|
|
842
|
+
generateId(): string;
|
|
843
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyIdService, never>;
|
|
844
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SkyIdService>;
|
|
845
|
+
}
|
|
846
|
+
|
|
848
847
|
interface SkyLayoutHostForChildArgs {
|
|
849
848
|
layout: string;
|
|
850
849
|
}
|
|
@@ -1622,7 +1621,7 @@ declare class SkyAppTitleService {
|
|
|
1622
1621
|
*/
|
|
1623
1622
|
declare class SkyTrimDirective implements OnInit, OnDestroy {
|
|
1624
1623
|
#private;
|
|
1625
|
-
constructor(
|
|
1624
|
+
constructor();
|
|
1626
1625
|
ngOnInit(): void;
|
|
1627
1626
|
ngOnDestroy(): void;
|
|
1628
1627
|
static ɵfac: i0.ɵɵFactoryDeclaration<SkyTrimDirective, never>;
|
|
@@ -1708,6 +1707,24 @@ declare class SkyViewkeeperHostOptions implements SkyViewkeeperOptions {
|
|
|
1708
1707
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyViewkeeperHostOptions>;
|
|
1709
1708
|
}
|
|
1710
1709
|
|
|
1710
|
+
declare class SkyViewkeeperDirective implements OnInit, OnDestroy, AfterViewInit {
|
|
1711
|
+
#private;
|
|
1712
|
+
set skyViewkeeper(value: string[] | undefined);
|
|
1713
|
+
get skyViewkeeper(): string[] | undefined;
|
|
1714
|
+
skyViewkeeperOmitShadow: string | undefined;
|
|
1715
|
+
ngOnInit(): void;
|
|
1716
|
+
ngOnDestroy(): void;
|
|
1717
|
+
ngAfterViewInit(): void;
|
|
1718
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperDirective, never>;
|
|
1719
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyViewkeeperDirective, "[skyViewkeeper]", never, { "skyViewkeeper": { "alias": "skyViewkeeper"; "required": false; }; "skyViewkeeperOmitShadow": { "alias": "skyViewkeeperOmitShadow"; "required": false; }; }, {}, never, never, true, never>;
|
|
1720
|
+
}
|
|
1721
|
+
|
|
1722
|
+
declare class SkyViewkeeperModule {
|
|
1723
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperModule, never>;
|
|
1724
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyViewkeeperModule, never, [typeof SkyViewkeeperDirective], [typeof SkyViewkeeperDirective]>;
|
|
1725
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SkyViewkeeperModule>;
|
|
1726
|
+
}
|
|
1727
|
+
|
|
1711
1728
|
/**
|
|
1712
1729
|
* Provides methods for creating and destroying viewkeeper instances.
|
|
1713
1730
|
*/
|
|
@@ -1728,25 +1745,6 @@ declare class SkyViewkeeperService {
|
|
|
1728
1745
|
static ɵprov: i0.ɵɵInjectableDeclaration<SkyViewkeeperService>;
|
|
1729
1746
|
}
|
|
1730
1747
|
|
|
1731
|
-
declare class SkyViewkeeperDirective implements OnInit, OnDestroy, AfterViewInit {
|
|
1732
|
-
#private;
|
|
1733
|
-
set skyViewkeeper(value: string[] | undefined);
|
|
1734
|
-
get skyViewkeeper(): string[] | undefined;
|
|
1735
|
-
skyViewkeeperOmitShadow: string | undefined;
|
|
1736
|
-
constructor(el: ElementRef, mutationObserverSvc: SkyMutationObserverService, viewkeeperSvc: SkyViewkeeperService, scrollableHostSvc?: SkyScrollableHostService);
|
|
1737
|
-
ngOnInit(): void;
|
|
1738
|
-
ngOnDestroy(): void;
|
|
1739
|
-
ngAfterViewInit(): void;
|
|
1740
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperDirective, [null, null, null, { optional: true; }]>;
|
|
1741
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SkyViewkeeperDirective, "[skyViewkeeper]", never, { "skyViewkeeper": { "alias": "skyViewkeeper"; "required": false; }; "skyViewkeeperOmitShadow": { "alias": "skyViewkeeperOmitShadow"; "required": false; }; }, {}, never, never, true, never>;
|
|
1742
|
-
}
|
|
1743
|
-
|
|
1744
|
-
declare class SkyViewkeeperModule {
|
|
1745
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SkyViewkeeperModule, never>;
|
|
1746
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SkyViewkeeperModule, never, [typeof SkyViewkeeperDirective], [typeof SkyViewkeeperDirective]>;
|
|
1747
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<SkyViewkeeperModule>;
|
|
1748
|
-
}
|
|
1749
|
-
|
|
1750
1748
|
/**
|
|
1751
1749
|
* Represents the version of a package.
|
|
1752
1750
|
* @internal
|