@dso-toolkit/angular 53.0.0 → 54.0.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.
@@ -5,6 +5,6 @@ import * as i3 from "@angular/common";
5
5
  import * as i4 from "@angular/cdk/dialog";
6
6
  export declare class DsoToolkitModule {
7
7
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoToolkitModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<DsoToolkitModule, [typeof i1.DsoAccordion, typeof i1.DsoAccordionSection, typeof i1.DsoAlert, typeof i1.DsoAnnotationButton, typeof i1.DsoAnnotationOutput, typeof i1.DsoAttachmentsCounter, typeof i1.DsoAutosuggest, typeof i1.DsoBadge, typeof i1.DsoBanner, typeof i1.DsoCard, typeof i1.DsoCardContainer, typeof i1.DsoDatePicker, typeof i1.DsoDropdownMenu, typeof i1.DsoExpandable, typeof i1.DsoExpandableHeading, typeof i1.DsoHeader, typeof i1.DsoHelpcenterPanel, typeof i1.DsoHighlightBox, typeof i1.DsoIcon, typeof i1.DsoImageOverlay, typeof i1.DsoInfo, typeof i1.DsoInfoButton, typeof i1.DsoLabel, typeof i1.DsoListButton, typeof i1.DsoMapBaseLayers, typeof i1.DsoMapControls, typeof i1.DsoMapOverlays, typeof i1.DsoModal, typeof i1.DsoOzonContent, typeof i1.DsoPagination, typeof i1.DsoProgressBar, typeof i1.DsoProgressIndicator, typeof i1.DsoResponsiveElement, typeof i1.DsoSelectable, typeof i1.DsoSlideToggle, typeof i1.DsoTable, typeof i1.DsoToggletip, typeof i1.DsoTooltip, typeof i1.DsoTreeView, typeof i1.DsoViewerGrid, typeof i2.DsoModalContainer], [typeof i3.CommonModule, typeof i4.DialogModule], [typeof i1.DsoAccordion, typeof i1.DsoAccordionSection, typeof i1.DsoAlert, typeof i1.DsoAnnotationButton, typeof i1.DsoAnnotationOutput, typeof i1.DsoAttachmentsCounter, typeof i1.DsoAutosuggest, typeof i1.DsoBadge, typeof i1.DsoBanner, typeof i1.DsoCard, typeof i1.DsoCardContainer, typeof i1.DsoDatePicker, typeof i1.DsoDropdownMenu, typeof i1.DsoExpandable, typeof i1.DsoExpandableHeading, typeof i1.DsoHeader, typeof i1.DsoHelpcenterPanel, typeof i1.DsoHighlightBox, typeof i1.DsoIcon, typeof i1.DsoImageOverlay, typeof i1.DsoInfo, typeof i1.DsoInfoButton, typeof i1.DsoLabel, typeof i1.DsoListButton, typeof i1.DsoMapBaseLayers, typeof i1.DsoMapControls, typeof i1.DsoMapOverlays, typeof i1.DsoModal, typeof i1.DsoOzonContent, typeof i1.DsoPagination, typeof i1.DsoProgressBar, typeof i1.DsoProgressIndicator, typeof i1.DsoResponsiveElement, typeof i1.DsoSelectable, typeof i1.DsoSlideToggle, typeof i1.DsoTable, typeof i1.DsoToggletip, typeof i1.DsoTooltip, typeof i1.DsoTreeView, typeof i1.DsoViewerGrid]>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<DsoToolkitModule, [typeof i1.DsoAccordion, typeof i1.DsoAccordionSection, typeof i1.DsoActionList, typeof i1.DsoActionListItem, typeof i1.DsoAlert, typeof i1.DsoAnnotationButton, typeof i1.DsoAnnotationOutput, typeof i1.DsoAttachmentsCounter, typeof i1.DsoAutosuggest, typeof i1.DsoBadge, typeof i1.DsoBanner, typeof i1.DsoCard, typeof i1.DsoCardContainer, typeof i1.DsoDatePicker, typeof i1.DsoDropdownMenu, typeof i1.DsoExpandable, typeof i1.DsoExpandableHeading, typeof i1.DsoHeader, typeof i1.DsoHelpcenterPanel, typeof i1.DsoHighlightBox, typeof i1.DsoIcon, typeof i1.DsoImageOverlay, typeof i1.DsoInfo, typeof i1.DsoInfoButton, typeof i1.DsoLabel, typeof i1.DsoListButton, typeof i1.DsoMapBaseLayers, typeof i1.DsoMapControls, typeof i1.DsoMapOverlays, typeof i1.DsoModal, typeof i1.DsoOzonContent, typeof i1.DsoPagination, typeof i1.DsoProgressBar, typeof i1.DsoProgressIndicator, typeof i1.DsoResponsiveElement, typeof i1.DsoSelectable, typeof i1.DsoSlideToggle, typeof i1.DsoTable, typeof i1.DsoToggletip, typeof i1.DsoTooltip, typeof i1.DsoTreeView, typeof i1.DsoViewerGrid, typeof i2.DsoModalContainer], [typeof i3.CommonModule, typeof i4.DialogModule], [typeof i1.DsoAccordion, typeof i1.DsoAccordionSection, typeof i1.DsoActionList, typeof i1.DsoActionListItem, typeof i1.DsoAlert, typeof i1.DsoAnnotationButton, typeof i1.DsoAnnotationOutput, typeof i1.DsoAttachmentsCounter, typeof i1.DsoAutosuggest, typeof i1.DsoBadge, typeof i1.DsoBanner, typeof i1.DsoCard, typeof i1.DsoCardContainer, typeof i1.DsoDatePicker, typeof i1.DsoDropdownMenu, typeof i1.DsoExpandable, typeof i1.DsoExpandableHeading, typeof i1.DsoHeader, typeof i1.DsoHelpcenterPanel, typeof i1.DsoHighlightBox, typeof i1.DsoIcon, typeof i1.DsoImageOverlay, typeof i1.DsoInfo, typeof i1.DsoInfoButton, typeof i1.DsoLabel, typeof i1.DsoListButton, typeof i1.DsoMapBaseLayers, typeof i1.DsoMapControls, typeof i1.DsoMapOverlays, typeof i1.DsoModal, typeof i1.DsoOzonContent, typeof i1.DsoPagination, typeof i1.DsoProgressBar, typeof i1.DsoProgressIndicator, typeof i1.DsoResponsiveElement, typeof i1.DsoSelectable, typeof i1.DsoSlideToggle, typeof i1.DsoTable, typeof i1.DsoToggletip, typeof i1.DsoTooltip, typeof i1.DsoTreeView, typeof i1.DsoViewerGrid]>;
9
9
  static ɵinj: i0.ɵɵInjectorDeclaration<DsoToolkitModule>;
10
10
  }
@@ -1,7 +1,7 @@
1
1
  import { ComponentPortal, TemplatePortal } from "@angular/cdk/portal";
2
2
  import { EventEmitter, ViewContainerRef } from "@angular/core";
3
3
  import { DsoModalCloseEvent } from "@dso-toolkit/core";
4
- import { ModalOptions } from "dso-toolkit";
4
+ import { ModalOptions } from "../../models/modal.models";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class DsoModalContainer {
7
7
  viewContainerRef: ViewContainerRef;
@@ -1,5 +1,4 @@
1
- import { TemplateRef, Type } from "@angular/core";
2
- import { ModalContent, ModalOptions } from "dso-toolkit";
1
+ import { ModalContent, ModalOptions } from "../../models/modal.models";
3
2
  import { DsoModalRef } from "./modal-ref";
4
3
  import * as i0 from "@angular/core";
5
4
  export interface ModalConfig {
@@ -8,7 +7,7 @@ export interface ModalConfig {
8
7
  }
9
8
  export declare class DsoModalController {
10
9
  private cdkDialog;
11
- open({ title, body, footer }: ModalContent<Type<unknown> | TemplateRef<unknown>>, config?: ModalConfig): DsoModalRef;
10
+ open({ title, body, footer }: ModalContent, config?: ModalConfig): DsoModalRef;
12
11
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoModalController, never>;
13
12
  static ɵprov: i0.ɵɵInjectableDeclaration<DsoModalController>;
14
13
  }
@@ -0,0 +1,14 @@
1
+ import { TemplateRef, Type } from "@angular/core";
2
+ export declare type ModalRole = "dialog" | "alert" | "alertdialog";
3
+ export declare type AllowedModalContentTypes = Type<unknown> | TemplateRef<unknown>;
4
+ export interface ModalContent {
5
+ title?: string;
6
+ body: AllowedModalContentTypes;
7
+ footer?: AllowedModalContentTypes;
8
+ }
9
+ export interface ModalOptions {
10
+ role?: ModalRole;
11
+ showCloseButton?: boolean;
12
+ initialFocus?: string;
13
+ returnFocus?: (e: HTMLElement | SVGElement) => HTMLElement | SVGElement | string | false;
14
+ }
@@ -8,6 +8,7 @@ import type { DsoCardClickedEvent as IDsoCardDsoCardClickedEvent } from '@dso-to
8
8
  import type { DsoDatePickerChangeEvent as IDsoDatePickerDsoDatePickerChangeEvent } from '@dso-toolkit/core/dist/components';
9
9
  import type { DsoDatePickerFocusEvent as IDsoDatePickerDsoDatePickerFocusEvent } from '@dso-toolkit/core/dist/components';
10
10
  import type { DsoDatePickerKeyboardEvent as IDsoDatePickerDsoDatePickerKeyboardEvent } from '@dso-toolkit/core/dist/components';
11
+ import type { ExpandableToggleEvent as IDsoExpandableExpandableToggleEvent } from '@dso-toolkit/core/dist/components';
11
12
  import type { ExpandableHeadingToggleEvent as IDsoExpandableHeadingExpandableHeadingToggleEvent } from '@dso-toolkit/core/dist/components';
12
13
  import type { HeaderEvent as IDsoHeaderHeaderEvent } from '@dso-toolkit/core/dist/components';
13
14
  import type { InfoButtonToggleEvent as IDsoInfoButtonInfoButtonToggleEvent } from '@dso-toolkit/core/dist/components';
@@ -60,6 +61,24 @@ export declare class DsoAccordionSection {
60
61
  }
61
62
  export declare interface DsoAccordionSection extends Components.DsoAccordionSection {
62
63
  }
64
+ export declare class DsoActionList {
65
+ protected z: NgZone;
66
+ protected el: HTMLElement;
67
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
68
+ static ɵfac: i0.ɵɵFactoryDeclaration<DsoActionList, never>;
69
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoActionList, "dso-action-list", never, { "listTitle": "listTitle"; }, {}, never, ["*"], false, never>;
70
+ }
71
+ export declare interface DsoActionList extends Components.DsoActionList {
72
+ }
73
+ export declare class DsoActionListItem {
74
+ protected z: NgZone;
75
+ protected el: HTMLElement;
76
+ constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
77
+ static ɵfac: i0.ɵɵFactoryDeclaration<DsoActionListItem, never>;
78
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoActionListItem, "dso-action-list-item", never, { "divider": "divider"; "flowLine": "flowLine"; "itemTitle": "itemTitle"; "step": "step"; "warning": "warning"; }, {}, never, ["*"], false, never>;
79
+ }
80
+ export declare interface DsoActionListItem extends Components.DsoActionListItem {
81
+ }
63
82
  export declare class DsoAlert {
64
83
  protected z: NgZone;
65
84
  protected el: HTMLElement;
@@ -201,18 +220,22 @@ export declare class DsoDropdownMenu {
201
220
  protected el: HTMLElement;
202
221
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
203
222
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoDropdownMenu, never>;
204
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoDropdownMenu, "dso-dropdown-menu", never, { "boundary": "boundary"; "checkable": "checkable"; "dropdownAlign": "dropdownAlign"; "open": "open"; "strategy": "strategy"; }, {}, never, ["*"], false, never>;
223
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoDropdownMenu, "dso-dropdown-menu", never, { "boundary": "boundary"; "checkable": "checkable"; "dropdownAlign": "dropdownAlign"; "dropdownOptionsOffset": "dropdownOptionsOffset"; "open": "open"; "strategy": "strategy"; }, {}, never, ["*"], false, never>;
205
224
  }
206
225
  export declare interface DsoDropdownMenu extends Components.DsoDropdownMenu {
207
226
  }
208
227
  export declare class DsoExpandable {
209
228
  protected z: NgZone;
229
+ dsoToggle: EventEmitter<CustomEvent<IDsoExpandableExpandableToggleEvent>>;
230
+ animationInstantiated: EventEmitter<CustomEvent<void>>;
210
231
  protected el: HTMLElement;
211
232
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
212
233
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoExpandable, never>;
213
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoExpandable, "dso-expandable", never, { "open": "open"; }, {}, never, ["*"], false, never>;
234
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoExpandable, "dso-expandable", never, { "enableAnimation": "enableAnimation"; "minimumHeight": "minimumHeight"; "open": "open"; }, { "dsoToggle": "dsoToggle"; "animationInstantiated": "animationInstantiated"; }, never, ["*"], false, never>;
214
235
  }
215
236
  export declare interface DsoExpandable extends Components.DsoExpandable {
237
+ dsoToggle: EventEmitter<CustomEvent<IDsoExpandableExpandableToggleEvent>>;
238
+ animationInstantiated: EventEmitter<CustomEvent<void>>;
216
239
  }
217
240
  export declare class DsoExpandableHeading {
218
241
  protected z: NgZone;
@@ -317,7 +340,7 @@ export declare class DsoListButton {
317
340
  protected el: HTMLElement;
318
341
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
319
342
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoListButton, never>;
320
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoListButton, "dso-list-button", never, { "checked": "checked"; "count": "count"; "disabled": "disabled"; "label": "label"; "max": "max"; "min": "min"; "subcontent": "subcontent"; "sublabel": "sublabel"; }, { "dsoCountChange": "dsoCountChange"; "dsoSelectedChange": "dsoSelectedChange"; }, never, ["*"], false, never>;
343
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoListButton, "dso-list-button", never, { "checked": "checked"; "count": "count"; "disabled": "disabled"; "label": "label"; "manual": "manual"; "max": "max"; "min": "min"; "sublabel": "sublabel"; }, { "dsoCountChange": "dsoCountChange"; "dsoSelectedChange": "dsoSelectedChange"; }, never, ["*"], false, never>;
321
344
  }
322
345
  export declare interface DsoListButton extends Components.DsoListButton {
323
346
  dsoCountChange: EventEmitter<CustomEvent<IDsoListButtonListButtonChangeEvent>>;
@@ -372,7 +395,7 @@ export declare class DsoModal {
372
395
  protected el: HTMLElement;
373
396
  constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
374
397
  static ɵfac: i0.ɵɵFactoryDeclaration<DsoModal, never>;
375
- static ɵcmp: i0.ɵɵComponentDeclaration<DsoModal, "dso-modal", never, { "initialFocus": "initialFocus"; "modalTitle": "modalTitle"; "role": "role"; "showCloseButton": "showCloseButton"; }, { "dsoClose": "dsoClose"; }, never, ["*"], false, never>;
398
+ static ɵcmp: i0.ɵɵComponentDeclaration<DsoModal, "dso-modal", never, { "initialFocus": "initialFocus"; "modalTitle": "modalTitle"; "returnFocus": "returnFocus"; "role": "role"; "showCloseButton": "showCloseButton"; }, { "dsoClose": "dsoClose"; }, never, ["*"], false, never>;
376
399
  }
377
400
  export declare interface DsoModal extends Components.DsoModal {
378
401
  dsoClose: EventEmitter<CustomEvent<IDsoModalDsoModalCloseEvent>>;
@@ -1,2 +1,2 @@
1
1
  import * as d from './components';
2
- export declare const DIRECTIVES: (typeof d.DsoAccordion | typeof d.DsoAccordionSection | typeof d.DsoAlert | typeof d.DsoAnnotationButton | typeof d.DsoAnnotationOutput | typeof d.DsoAttachmentsCounter | typeof d.DsoAutosuggest | typeof d.DsoBadge | typeof d.DsoBanner | typeof d.DsoCard | typeof d.DsoCardContainer | typeof d.DsoDatePicker | typeof d.DsoDropdownMenu | typeof d.DsoExpandable | typeof d.DsoExpandableHeading | typeof d.DsoHeader | typeof d.DsoHelpcenterPanel | typeof d.DsoHighlightBox | typeof d.DsoIcon | typeof d.DsoImageOverlay | typeof d.DsoInfo | typeof d.DsoInfoButton | typeof d.DsoLabel | typeof d.DsoListButton | typeof d.DsoMapBaseLayers | typeof d.DsoMapControls | typeof d.DsoMapOverlays | typeof d.DsoModal | typeof d.DsoOzonContent | typeof d.DsoPagination | typeof d.DsoProgressBar | typeof d.DsoProgressIndicator | typeof d.DsoResponsiveElement | typeof d.DsoSelectable | typeof d.DsoSlideToggle | typeof d.DsoTable | typeof d.DsoToggletip | typeof d.DsoTooltip | typeof d.DsoTreeView | typeof d.DsoViewerGrid)[];
2
+ export declare const DIRECTIVES: (typeof d.DsoAccordion | typeof d.DsoAccordionSection | typeof d.DsoActionList | typeof d.DsoActionListItem | typeof d.DsoAlert | typeof d.DsoAnnotationButton | typeof d.DsoAnnotationOutput | typeof d.DsoAttachmentsCounter | typeof d.DsoAutosuggest | typeof d.DsoBadge | typeof d.DsoBanner | typeof d.DsoCard | typeof d.DsoCardContainer | typeof d.DsoDatePicker | typeof d.DsoDropdownMenu | typeof d.DsoExpandable | typeof d.DsoExpandableHeading | typeof d.DsoHeader | typeof d.DsoHelpcenterPanel | typeof d.DsoHighlightBox | typeof d.DsoIcon | typeof d.DsoImageOverlay | typeof d.DsoInfo | typeof d.DsoInfoButton | typeof d.DsoLabel | typeof d.DsoListButton | typeof d.DsoMapBaseLayers | typeof d.DsoMapControls | typeof d.DsoMapOverlays | typeof d.DsoModal | typeof d.DsoOzonContent | typeof d.DsoPagination | typeof d.DsoProgressBar | typeof d.DsoProgressIndicator | typeof d.DsoResponsiveElement | typeof d.DsoSelectable | typeof d.DsoSlideToggle | typeof d.DsoTable | typeof d.DsoToggletip | typeof d.DsoTooltip | typeof d.DsoTreeView | typeof d.DsoViewerGrid)[];
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dso-toolkit/angular",
3
3
  "description": "DSO Toolkit Angular bindings for Web Components",
4
- "version": "53.0.0",
4
+ "version": "54.0.0",
5
5
  "homepage": "https://www.dso-toolkit.nl/",
6
6
  "publishConfig": {
7
7
  "access": "public"
package/public-api.d.ts CHANGED
@@ -3,3 +3,4 @@ export * from "./lib/component-library.module";
3
3
  export * from "./lib/stencil-generated/components";
4
4
  export * from "./lib/controllers/modal";
5
5
  export * from "./lib/components/modal-controller-demo/modal-controller-demo.component";
6
+ export * from "./lib/models/modal.models";