@siemens/ix-angular 2.1.0-beta.0 → 2.1.0-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/components.d.ts +114 -38
- package/declare-components.d.ts +1 -1
- package/esm2020/angular-component-lib/utils.mjs +9 -1
- package/esm2020/components.mjs +178 -48
- package/esm2020/declare-components.mjs +6 -1
- package/esm2020/module.mjs +3 -3
- package/fesm2015/siemens-ix-angular.mjs +188 -50
- package/fesm2015/siemens-ix-angular.mjs.map +1 -1
- package/fesm2020/siemens-ix-angular.mjs +188 -50
- package/fesm2020/siemens-ix-angular.mjs.map +1 -1
- package/module.d.ts +1 -1
- package/package.json +2 -2
package/components.d.ts
CHANGED
|
@@ -2,10 +2,17 @@ import { ChangeDetectorRef, ElementRef, EventEmitter, NgZone } from '@angular/co
|
|
|
2
2
|
import { Components } from '@siemens/ix';
|
|
3
3
|
import type { InputState as IIxCategoryFilterInputState } from '@siemens/ix';
|
|
4
4
|
import type { FilterState as IIxCategoryFilterFilterState } from '@siemens/ix';
|
|
5
|
-
import type {
|
|
5
|
+
import type { DateRangeChangeEvent as IIxDateDropdownDateRangeChangeEvent } from '@siemens/ix';
|
|
6
6
|
import type { DateChangeEvent as IIxDatePickerDateChangeEvent } from '@siemens/ix';
|
|
7
7
|
import type { DateTimeDateChangeEvent as IIxDatetimePickerDateTimeDateChangeEvent } from '@siemens/ix';
|
|
8
8
|
import type { DateTimeSelectEvent as IIxDatetimePickerDateTimeSelectEvent } from '@siemens/ix';
|
|
9
|
+
import type { CustomCloseEvent as IIxMenuAboutCustomCloseEvent } from '@siemens/ix';
|
|
10
|
+
import type { CustomLabelChangeEvent as IIxMenuAboutItemCustomLabelChangeEvent } from '@siemens/ix';
|
|
11
|
+
import type { CustomCloseEvent as IIxMenuSettingsCustomCloseEvent } from '@siemens/ix';
|
|
12
|
+
import type { CustomLabelChangeEvent as IIxMenuSettingsItemCustomLabelChangeEvent } from '@siemens/ix';
|
|
13
|
+
import type { ExpandedChangedEvent as IIxPaneExpandedChangedEvent } from '@siemens/ix';
|
|
14
|
+
import type { VariantChangedEvent as IIxPaneVariantChangedEvent } from '@siemens/ix';
|
|
15
|
+
import type { BorderlessChangedEvent as IIxPaneBorderlessChangedEvent } from '@siemens/ix';
|
|
9
16
|
import type { TabClickDetail as IIxTabItemTabClickDetail } from '@siemens/ix';
|
|
10
17
|
import * as i0 from "@angular/core";
|
|
11
18
|
export declare class IxActionCard {
|
|
@@ -17,6 +24,15 @@ export declare class IxActionCard {
|
|
|
17
24
|
}
|
|
18
25
|
export declare interface IxActionCard extends Components.IxActionCard {
|
|
19
26
|
}
|
|
27
|
+
export declare class IxApplication {
|
|
28
|
+
protected z: NgZone;
|
|
29
|
+
protected el: HTMLElement;
|
|
30
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxApplication, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxApplication, "ix-application", never, { "appSwitchConfig": "appSwitchConfig"; "breakpoints": "breakpoints"; "forceBreakpoint": "forceBreakpoint"; "theme": "theme"; "themeSystemAppearance": "themeSystemAppearance"; }, {}, never, ["*"]>;
|
|
33
|
+
}
|
|
34
|
+
export declare interface IxApplication extends Components.IxApplication {
|
|
35
|
+
}
|
|
20
36
|
export declare class IxApplicationHeader {
|
|
21
37
|
protected z: NgZone;
|
|
22
38
|
protected el: HTMLElement;
|
|
@@ -31,7 +47,7 @@ export declare class IxAvatar {
|
|
|
31
47
|
protected el: HTMLElement;
|
|
32
48
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
33
49
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxAvatar, never>;
|
|
34
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxAvatar, "ix-avatar", never, { "image": "image"; "initials": "initials"; }, {}, never, ["*"]>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxAvatar, "ix-avatar", never, { "extra": "extra"; "image": "image"; "initials": "initials"; "username": "username"; }, {}, never, ["*"]>;
|
|
35
51
|
}
|
|
36
52
|
export declare interface IxAvatar extends Components.IxAvatar {
|
|
37
53
|
}
|
|
@@ -109,7 +125,7 @@ export declare class IxCardAccordion {
|
|
|
109
125
|
protected el: HTMLElement;
|
|
110
126
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
111
127
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxCardAccordion, never>;
|
|
112
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxCardAccordion, "ix-card-accordion", never, {}, {}, never, ["*"]>;
|
|
128
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxCardAccordion, "ix-card-accordion", never, { "collapse": "collapse"; }, {}, never, ["*"]>;
|
|
113
129
|
}
|
|
114
130
|
export declare interface IxCardAccordion extends Components.IxCardAccordion {
|
|
115
131
|
}
|
|
@@ -182,7 +198,7 @@ export declare class IxChip {
|
|
|
182
198
|
protected el: HTMLElement;
|
|
183
199
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
184
200
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxChip, never>;
|
|
185
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxChip, "ix-chip", never, { "active": "active"; "background": "background"; "closable": "closable"; "color": "color"; "icon": "icon"; "outline": "outline"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
201
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxChip, "ix-chip", never, { "active": "active"; "background": "background"; "chipColor": "chipColor"; "closable": "closable"; "color": "color"; "icon": "icon"; "outline": "outline"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
186
202
|
}
|
|
187
203
|
export declare interface IxChip extends Components.IxChip {
|
|
188
204
|
/**
|
|
@@ -199,6 +215,15 @@ export declare class IxCol {
|
|
|
199
215
|
}
|
|
200
216
|
export declare interface IxCol extends Components.IxCol {
|
|
201
217
|
}
|
|
218
|
+
export declare class IxContent {
|
|
219
|
+
protected z: NgZone;
|
|
220
|
+
protected el: HTMLElement;
|
|
221
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
222
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxContent, never>;
|
|
223
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxContent, "ix-content", never, {}, {}, never, ["*"]>;
|
|
224
|
+
}
|
|
225
|
+
export declare interface IxContent extends Components.IxContent {
|
|
226
|
+
}
|
|
202
227
|
export declare class IxContentHeader {
|
|
203
228
|
protected z: NgZone;
|
|
204
229
|
protected el: HTMLElement;
|
|
@@ -212,47 +237,61 @@ export declare interface IxContentHeader extends Components.IxContentHeader {
|
|
|
212
237
|
*/
|
|
213
238
|
backButtonClick: EventEmitter<CustomEvent<void>>;
|
|
214
239
|
}
|
|
240
|
+
export declare class IxDateDropdown {
|
|
241
|
+
protected z: NgZone;
|
|
242
|
+
protected el: HTMLElement;
|
|
243
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
244
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateDropdown, never>;
|
|
245
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDateDropdown, "ix-date-dropdown", never, { "customRangeAllowed": "customRangeAllowed"; "dateRangeId": "dateRangeId"; "dateRangeOptions": "dateRangeOptions"; "format": "format"; "from": "from"; "i18nCustomItem": "i18nCustomItem"; "i18nDone": "i18nDone"; "i18nNoRange": "i18nNoRange"; "maxDate": "maxDate"; "minDate": "minDate"; "range": "range"; "to": "to"; }, {}, never, ["*"]>;
|
|
246
|
+
}
|
|
247
|
+
export declare interface IxDateDropdown extends Components.IxDateDropdown {
|
|
248
|
+
/**
|
|
249
|
+
* EventEmitter for date range change events.
|
|
250
|
+
|
|
251
|
+
This event is emitted when the date range changes within the component.
|
|
252
|
+
The event payload contains information about the selected date range.
|
|
253
|
+
*/
|
|
254
|
+
dateRangeChange: EventEmitter<CustomEvent<IIxDateDropdownDateRangeChangeEvent>>;
|
|
255
|
+
}
|
|
215
256
|
export declare class IxDatePicker {
|
|
216
257
|
protected z: NgZone;
|
|
217
258
|
protected el: HTMLElement;
|
|
218
259
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
219
260
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDatePicker, never>;
|
|
220
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxDatePicker, "ix-date-picker", never, { "corners": "corners"; "eventDelimiter": "eventDelimiter"; "format": "format"; "from": "from"; "individual": "individual"; "maxDate": "maxDate"; "minDate": "minDate"; "range": "range"; "textSelectDate": "textSelectDate"; "to": "to"; }, {}, never, ["*"]>;
|
|
261
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDatePicker, "ix-date-picker", never, { "corners": "corners"; "eventDelimiter": "eventDelimiter"; "format": "format"; "from": "from"; "i18nDone": "i18nDone"; "individual": "individual"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "range": "range"; "textSelectDate": "textSelectDate"; "to": "to"; "weekStartIndex": "weekStartIndex"; }, {}, never, ["*"]>;
|
|
221
262
|
}
|
|
222
263
|
export declare interface IxDatePicker extends Components.IxDatePicker {
|
|
223
264
|
/**
|
|
224
|
-
*
|
|
225
|
-
|
|
226
|
-
If datepicker is in range mode the event detail will be sperated with a `-` e.g.
|
|
227
|
-
`2022/10/22 - 2022/10/24` (start and end). If range mode is chosen consider to use `dateRangeChange`. @deprecated String output will be removed. Set ´doneEventDelimiter´ to undefined or null to get date change object instead of a string
|
|
265
|
+
* Triggers if the date selection changes.
|
|
266
|
+
Note: Since 2.0.0 `dateChange` does not dispatch detail property as `string` @since 2.1.0
|
|
228
267
|
*/
|
|
229
|
-
dateChange: EventEmitter<CustomEvent<
|
|
268
|
+
dateChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
|
|
230
269
|
/**
|
|
231
|
-
*
|
|
232
|
-
Only triggered if
|
|
270
|
+
* Triggers if the date selection changes.
|
|
271
|
+
Only triggered if date-picker-rework is in range mode. @since 2.1.0
|
|
233
272
|
*/
|
|
234
273
|
dateRangeChange: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
|
|
235
|
-
/**
|
|
236
|
-
* Date selection confirmed via button action @deprecated Will be removed in 2.0.0. Use `dateSelect`
|
|
237
|
-
*/
|
|
238
|
-
done: EventEmitter<CustomEvent<string>>;
|
|
239
274
|
/**
|
|
240
275
|
* Date selection confirmed via button action @since 1.1.0
|
|
241
276
|
*/
|
|
242
277
|
dateSelect: EventEmitter<CustomEvent<IIxDatePickerDateChangeEvent>>;
|
|
278
|
+
/**
|
|
279
|
+
* Date selection confirmed via button action @deprecated NOT getting dispatched after 2.0.0. Use `dateSelect`.
|
|
280
|
+
*/
|
|
281
|
+
done: EventEmitter<CustomEvent<string>>;
|
|
243
282
|
}
|
|
244
283
|
export declare class IxDatetimePicker {
|
|
245
284
|
protected z: NgZone;
|
|
246
285
|
protected el: HTMLElement;
|
|
247
286
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
248
287
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDatetimePicker, never>;
|
|
249
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxDatetimePicker, "ix-datetime-picker", never, { "dateFormat": "dateFormat"; "eventDelimiter": "eventDelimiter"; "from": "from"; "maxDate": "maxDate"; "minDate": "minDate"; "range": "range"; "showHour": "showHour"; "showMinutes": "showMinutes"; "showSeconds": "showSeconds"; "showTimeReference": "showTimeReference"; "textSelectDate": "textSelectDate"; "time": "time"; "timeFormat": "timeFormat"; "timeReference": "timeReference"; "to": "to"; }, {}, never, ["*"]>;
|
|
288
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDatetimePicker, "ix-datetime-picker", never, { "dateFormat": "dateFormat"; "eventDelimiter": "eventDelimiter"; "from": "from"; "i18nDone": "i18nDone"; "locale": "locale"; "maxDate": "maxDate"; "minDate": "minDate"; "range": "range"; "showHour": "showHour"; "showMinutes": "showMinutes"; "showSeconds": "showSeconds"; "showTimeReference": "showTimeReference"; "textSelectDate": "textSelectDate"; "time": "time"; "timeFormat": "timeFormat"; "timeReference": "timeReference"; "to": "to"; "weekStartIndex": "weekStartIndex"; }, {}, never, ["*"]>;
|
|
250
289
|
}
|
|
251
290
|
export declare interface IxDatetimePicker extends Components.IxDatetimePicker {
|
|
252
291
|
/**
|
|
253
292
|
* Done event
|
|
254
293
|
|
|
255
|
-
Set `doneEventDelimiter` to null or undefine to get the typed event
|
|
294
|
+
Set `doneEventDelimiter` to null or undefine to get the typed event @deprecated Use `this.dateChange`
|
|
256
295
|
*/
|
|
257
296
|
done: EventEmitter<CustomEvent<string>>;
|
|
258
297
|
/**
|
|
@@ -264,7 +303,7 @@ export declare interface IxDatetimePicker extends Components.IxDatetimePicker {
|
|
|
264
303
|
*/
|
|
265
304
|
dateChange: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeDateChangeEvent>>;
|
|
266
305
|
/**
|
|
267
|
-
*
|
|
306
|
+
* Datetime selection event is fired after confirm button is pressed @since 1.1.0
|
|
268
307
|
*/
|
|
269
308
|
dateSelect: EventEmitter<CustomEvent<IIxDatetimePickerDateTimeSelectEvent>>;
|
|
270
309
|
}
|
|
@@ -312,7 +351,7 @@ export declare class IxDropdownButton {
|
|
|
312
351
|
protected el: HTMLElement;
|
|
313
352
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
314
353
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDropdownButton, never>;
|
|
315
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxDropdownButton, "ix-dropdown-button", never, { "disabled": "disabled"; "ghost": "ghost"; "icon": "icon"; "label": "label"; "outline": "outline"; "placement": "placement"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
354
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxDropdownButton, "ix-dropdown-button", never, { "closeBehavior": "closeBehavior"; "disabled": "disabled"; "ghost": "ghost"; "icon": "icon"; "label": "label"; "outline": "outline"; "placement": "placement"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
316
355
|
}
|
|
317
356
|
export declare interface IxDropdownButton extends Components.IxDropdownButton {
|
|
318
357
|
}
|
|
@@ -370,7 +409,7 @@ export declare class IxEventListItem {
|
|
|
370
409
|
protected el: HTMLElement;
|
|
371
410
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
372
411
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxEventListItem, never>;
|
|
373
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxEventListItem, "ix-event-list-item", never, { "chevron": "chevron"; "color": "color"; "disabled": "disabled"; "selected": "selected"; }, {}, never, ["*"]>;
|
|
412
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxEventListItem, "ix-event-list-item", never, { "chevron": "chevron"; "color": "color"; "disabled": "disabled"; "itemColor": "itemColor"; "selected": "selected"; }, {}, never, ["*"]>;
|
|
374
413
|
}
|
|
375
414
|
export declare interface IxEventListItem extends Components.IxEventListItem {
|
|
376
415
|
/**
|
|
@@ -479,7 +518,7 @@ export declare class IxIconButton {
|
|
|
479
518
|
protected el: HTMLElement;
|
|
480
519
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
481
520
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxIconButton, never>;
|
|
482
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxIconButton, "ix-icon-button", never, { "color": "color"; "disabled": "disabled"; "ghost": "ghost"; "icon": "icon"; "loading": "loading"; "outline": "outline"; "oval": "oval"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
521
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxIconButton, "ix-icon-button", never, { "a11yLabel": "a11yLabel"; "color": "color"; "disabled": "disabled"; "ghost": "ghost"; "icon": "icon"; "iconColor": "iconColor"; "loading": "loading"; "outline": "outline"; "oval": "oval"; "size": "size"; "type": "type"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
483
522
|
}
|
|
484
523
|
export declare interface IxIconButton extends Components.IxIconButton {
|
|
485
524
|
}
|
|
@@ -572,7 +611,7 @@ export declare class IxMapNavigationOverlay {
|
|
|
572
611
|
protected el: HTMLElement;
|
|
573
612
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
574
613
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxMapNavigationOverlay, never>;
|
|
575
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxMapNavigationOverlay, "ix-map-navigation-overlay", never, { "color": "color"; "icon": "icon"; "name": "name"; }, {}, never, ["*"]>;
|
|
614
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxMapNavigationOverlay, "ix-map-navigation-overlay", never, { "color": "color"; "icon": "icon"; "iconColor": "iconColor"; "name": "name"; }, {}, never, ["*"]>;
|
|
576
615
|
}
|
|
577
616
|
export declare interface IxMapNavigationOverlay extends Components.IxMapNavigationOverlay {
|
|
578
617
|
/**
|
|
@@ -608,10 +647,7 @@ export declare interface IxMenuAbout extends Components.IxMenuAbout {
|
|
|
608
647
|
/**
|
|
609
648
|
* About and Legal closed
|
|
610
649
|
*/
|
|
611
|
-
close: EventEmitter<CustomEvent<
|
|
612
|
-
nativeEvent: MouseEvent;
|
|
613
|
-
name: string;
|
|
614
|
-
}>>;
|
|
650
|
+
close: EventEmitter<CustomEvent<IIxMenuAboutCustomCloseEvent>>;
|
|
615
651
|
}
|
|
616
652
|
export declare class IxMenuAboutItem {
|
|
617
653
|
protected z: NgZone;
|
|
@@ -621,6 +657,10 @@ export declare class IxMenuAboutItem {
|
|
|
621
657
|
static ɵcmp: i0.ɵɵComponentDeclaration<IxMenuAboutItem, "ix-menu-about-item", never, { "label": "label"; }, {}, never, ["*"]>;
|
|
622
658
|
}
|
|
623
659
|
export declare interface IxMenuAboutItem extends Components.IxMenuAboutItem {
|
|
660
|
+
/**
|
|
661
|
+
* Label changed
|
|
662
|
+
*/
|
|
663
|
+
labelChange: EventEmitter<CustomEvent<IIxMenuAboutItemCustomLabelChangeEvent>>;
|
|
624
664
|
}
|
|
625
665
|
export declare class IxMenuAboutNews {
|
|
626
666
|
protected z: NgZone;
|
|
@@ -644,7 +684,7 @@ export declare class IxMenuAvatar {
|
|
|
644
684
|
protected el: HTMLElement;
|
|
645
685
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
646
686
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxMenuAvatar, never>;
|
|
647
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxMenuAvatar, "ix-menu-avatar", never, { "bottom": "bottom"; "i18nLogout": "i18nLogout"; "image": "image"; "initials": "initials"; "top": "top"; }, {}, never, ["*"]>;
|
|
687
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxMenuAvatar, "ix-menu-avatar", never, { "bottom": "bottom"; "i18nLogout": "i18nLogout"; "image": "image"; "initials": "initials"; "showLogoutButton": "showLogoutButton"; "top": "top"; }, {}, never, ["*"]>;
|
|
648
688
|
}
|
|
649
689
|
export declare interface IxMenuAvatar extends Components.IxMenuAvatar {
|
|
650
690
|
/**
|
|
@@ -694,10 +734,7 @@ export declare interface IxMenuSettings extends Components.IxMenuSettings {
|
|
|
694
734
|
/**
|
|
695
735
|
* Popover closed
|
|
696
736
|
*/
|
|
697
|
-
close: EventEmitter<CustomEvent<
|
|
698
|
-
nativeEvent: MouseEvent;
|
|
699
|
-
name: string;
|
|
700
|
-
}>>;
|
|
737
|
+
close: EventEmitter<CustomEvent<IIxMenuSettingsCustomCloseEvent>>;
|
|
701
738
|
}
|
|
702
739
|
export declare class IxMenuSettingsItem {
|
|
703
740
|
protected z: NgZone;
|
|
@@ -707,6 +744,10 @@ export declare class IxMenuSettingsItem {
|
|
|
707
744
|
static ɵcmp: i0.ɵɵComponentDeclaration<IxMenuSettingsItem, "ix-menu-settings-item", never, { "label": "label"; }, {}, never, ["*"]>;
|
|
708
745
|
}
|
|
709
746
|
export declare interface IxMenuSettingsItem extends Components.IxMenuSettingsItem {
|
|
747
|
+
/**
|
|
748
|
+
* Label changed
|
|
749
|
+
*/
|
|
750
|
+
labelChange: EventEmitter<CustomEvent<IIxMenuSettingsItemCustomLabelChangeEvent>>;
|
|
710
751
|
}
|
|
711
752
|
export declare class IxMessageBar {
|
|
712
753
|
protected z: NgZone;
|
|
@@ -726,7 +767,7 @@ export declare class IxModal {
|
|
|
726
767
|
protected el: HTMLElement;
|
|
727
768
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
728
769
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxModal, never>;
|
|
729
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxModal, "ix-modal", never, { "animation": "animation"; "backdrop": "backdrop"; "beforeDismiss": "beforeDismiss"; "centered": "centered"; "closeOnBackdropClick": "closeOnBackdropClick"; "keyboard": "keyboard"; "size": "size"; }, {}, never, ["*"]>;
|
|
770
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxModal, "ix-modal", never, { "animation": "animation"; "backdrop": "backdrop"; "beforeDismiss": "beforeDismiss"; "centered": "centered"; "closeOnBackdropClick": "closeOnBackdropClick"; "closeOnEscape": "closeOnEscape"; "keyboard": "keyboard"; "size": "size"; }, {}, never, ["*"]>;
|
|
730
771
|
}
|
|
731
772
|
export declare interface IxModal extends Components.IxModal {
|
|
732
773
|
/**
|
|
@@ -774,7 +815,8 @@ export declare class IxModalHeader {
|
|
|
774
815
|
}
|
|
775
816
|
export declare interface IxModalHeader extends Components.IxModalHeader {
|
|
776
817
|
/**
|
|
777
|
-
*
|
|
818
|
+
* Emits when close icon is clicked and closes the modal
|
|
819
|
+
Can be prevented, in which case only the event is triggered, and the modal remains open
|
|
778
820
|
*/
|
|
779
821
|
closeClick: EventEmitter<CustomEvent<MouseEvent>>;
|
|
780
822
|
}
|
|
@@ -795,12 +837,42 @@ export declare interface IxPagination extends Components.IxPagination {
|
|
|
795
837
|
*/
|
|
796
838
|
itemCountChanged: EventEmitter<CustomEvent<number>>;
|
|
797
839
|
}
|
|
840
|
+
export declare class IxPane {
|
|
841
|
+
protected z: NgZone;
|
|
842
|
+
protected el: HTMLElement;
|
|
843
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
844
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxPane, never>;
|
|
845
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxPane, "ix-pane", never, { "borderless": "borderless"; "composition": "composition"; "expanded": "expanded"; "heading": "heading"; "hideOnCollapse": "hideOnCollapse"; "icon": "icon"; "size": "size"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
846
|
+
}
|
|
847
|
+
export declare interface IxPane extends Components.IxPane {
|
|
848
|
+
/**
|
|
849
|
+
* This event is triggered when the pane either expands or contracts
|
|
850
|
+
*/
|
|
851
|
+
expandedChanged: EventEmitter<CustomEvent<IIxPaneExpandedChangedEvent>>;
|
|
852
|
+
/**
|
|
853
|
+
* This event is triggered when the variant of the pane is changed
|
|
854
|
+
*/
|
|
855
|
+
variantChanged: EventEmitter<CustomEvent<IIxPaneVariantChangedEvent>>;
|
|
856
|
+
/**
|
|
857
|
+
* This event is triggered when the variant of the pane is changed
|
|
858
|
+
*/
|
|
859
|
+
borderlessChanged: EventEmitter<CustomEvent<IIxPaneBorderlessChangedEvent>>;
|
|
860
|
+
}
|
|
861
|
+
export declare class IxPaneLayout {
|
|
862
|
+
protected z: NgZone;
|
|
863
|
+
protected el: HTMLElement;
|
|
864
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
865
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxPaneLayout, never>;
|
|
866
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxPaneLayout, "ix-pane-layout", never, { "borderless": "borderless"; "layout": "layout"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
867
|
+
}
|
|
868
|
+
export declare interface IxPaneLayout extends Components.IxPaneLayout {
|
|
869
|
+
}
|
|
798
870
|
export declare class IxPill {
|
|
799
871
|
protected z: NgZone;
|
|
800
872
|
protected el: HTMLElement;
|
|
801
873
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
802
874
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxPill, never>;
|
|
803
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxPill, "ix-pill", never, { "alignLeft": "alignLeft"; "background": "background"; "color": "color"; "icon": "icon"; "outline": "outline"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
875
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxPill, "ix-pill", never, { "alignLeft": "alignLeft"; "background": "background"; "color": "color"; "icon": "icon"; "outline": "outline"; "pillColor": "pillColor"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
804
876
|
}
|
|
805
877
|
export declare interface IxPill extends Components.IxPill {
|
|
806
878
|
}
|
|
@@ -809,7 +881,7 @@ export declare class IxPushCard {
|
|
|
809
881
|
protected el: HTMLElement;
|
|
810
882
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
811
883
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxPushCard, never>;
|
|
812
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxPushCard, "ix-push-card", never, { "heading": "heading"; "icon": "icon"; "notification": "notification"; "subheading": "subheading"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
884
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxPushCard, "ix-push-card", never, { "collapse": "collapse"; "heading": "heading"; "icon": "icon"; "notification": "notification"; "subheading": "subheading"; "variant": "variant"; }, {}, never, ["*"]>;
|
|
813
885
|
}
|
|
814
886
|
export declare interface IxPushCard extends Components.IxPushCard {
|
|
815
887
|
}
|
|
@@ -945,12 +1017,16 @@ export declare class IxTimePicker {
|
|
|
945
1017
|
protected el: HTMLElement;
|
|
946
1018
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
947
1019
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxTimePicker, never>;
|
|
948
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxTimePicker, "ix-time-picker", never, { "corners": "corners"; "format": "format"; "individual": "individual"; "showHour": "showHour"; "showMinutes": "showMinutes"; "showSeconds": "showSeconds"; "showTimeReference": "showTimeReference"; "textSelectTime": "textSelectTime"; "time": "time"; "timeReference": "timeReference"; }, {}, never, ["*"]>;
|
|
1020
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxTimePicker, "ix-time-picker", never, { "corners": "corners"; "format": "format"; "individual": "individual"; "showHour": "showHour"; "showMinutes": "showMinutes"; "showSeconds": "showSeconds"; "showTimeReference": "showTimeReference"; "standaloneAppearance": "standaloneAppearance"; "textSelectTime": "textSelectTime"; "textTime": "textTime"; "time": "time"; "timeReference": "timeReference"; }, {}, never, ["*"]>;
|
|
949
1021
|
}
|
|
950
1022
|
export declare interface IxTimePicker extends Components.IxTimePicker {
|
|
951
1023
|
/**
|
|
952
1024
|
* Time event
|
|
953
1025
|
*/
|
|
1026
|
+
timeSelect: EventEmitter<CustomEvent<string>>;
|
|
1027
|
+
/**
|
|
1028
|
+
* Time event @deprecated Will be removed in 3.0.0. Use `time-select` event.
|
|
1029
|
+
*/
|
|
954
1030
|
done: EventEmitter<CustomEvent<string>>;
|
|
955
1031
|
/**
|
|
956
1032
|
* Time change event
|
|
@@ -1036,7 +1112,7 @@ export declare class IxTypography {
|
|
|
1036
1112
|
protected el: HTMLElement;
|
|
1037
1113
|
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
1038
1114
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxTypography, never>;
|
|
1039
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<IxTypography, "ix-typography", never, { "bold": "bold"; "color": "color"; "format": "format"; "textDecoration": "textDecoration"; }, {}, never, ["*"]>;
|
|
1115
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxTypography, "ix-typography", never, { "bold": "bold"; "color": "color"; "format": "format"; "textColor": "textColor"; "textDecoration": "textDecoration"; }, {}, never, ["*"]>;
|
|
1040
1116
|
}
|
|
1041
1117
|
export declare interface IxTypography extends Components.IxTypography {
|
|
1042
1118
|
}
|
package/declare-components.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import * as d from './components';
|
|
2
|
-
export declare const DIRECTIVES: (typeof d.IxActionCard | typeof d.IxApplicationHeader | typeof d.IxAvatar | typeof d.IxBasicNavigation | typeof d.IxBlind | typeof d.IxBreadcrumb | typeof d.IxBreadcrumbItem | typeof d.IxButton | typeof d.IxCard | typeof d.IxCardAccordion | typeof d.IxCardContent | typeof d.IxCardList | typeof d.IxCardTitle | typeof d.IxCategoryFilter | typeof d.IxChip | typeof d.IxCol | typeof d.IxContentHeader | typeof d.IxDatePicker | typeof d.IxDatetimePicker | typeof d.IxDivider | typeof d.IxDrawer | typeof d.IxDropdown | typeof d.IxDropdownButton | typeof d.IxDropdownHeader | typeof d.IxDropdownItem | typeof d.IxDropdownQuickActions | typeof d.IxEmptyState | typeof d.IxEventList | typeof d.IxEventListItem | typeof d.IxExpandingSearch | typeof d.IxFilterChip | typeof d.IxFlipTile | typeof d.IxFlipTileContent | typeof d.IxFormField | typeof d.IxGroup | typeof d.IxGroupContextMenu | typeof d.IxGroupItem | typeof d.IxIconButton | typeof d.IxIconToggleButton | typeof d.IxInputGroup | typeof d.IxKeyValue | typeof d.IxKeyValueList | typeof d.IxKpi | typeof d.IxLayoutGrid | typeof d.IxLinkButton | typeof d.IxMapNavigation | typeof d.IxMapNavigationOverlay | typeof d.IxMenu | typeof d.IxMenuAbout | typeof d.IxMenuAboutItem | typeof d.IxMenuAboutNews | typeof d.IxMenuAvatar | typeof d.IxMenuAvatarItem | typeof d.IxMenuCategory | typeof d.IxMenuItem | typeof d.IxMenuSettings | typeof d.IxMenuSettingsItem | typeof d.IxMessageBar | typeof d.IxModal | typeof d.IxModalContent | typeof d.IxModalExample | typeof d.IxModalFooter | typeof d.IxModalHeader | typeof d.IxPagination | typeof d.IxPill | typeof d.IxPushCard | typeof d.IxRow | typeof d.IxSelect | typeof d.IxSelectItem | typeof d.IxSlider | typeof d.IxSpinner | typeof d.IxSplitButton | typeof d.IxSplitButtonItem | typeof d.IxTabItem | typeof d.IxTabs | typeof d.IxTile | typeof d.IxTimePicker | typeof d.IxToast | typeof d.IxToastContainer | typeof d.IxToggle | typeof d.IxToggleButton | typeof d.IxTooltip | typeof d.IxTreeItem | typeof d.IxTypography | typeof d.IxUpload | typeof d.IxValidationTooltip | typeof d.IxWorkflowStep | typeof d.IxWorkflowSteps)[];
|
|
2
|
+
export declare const DIRECTIVES: (typeof d.IxActionCard | typeof d.IxApplication | typeof d.IxApplicationHeader | typeof d.IxAvatar | typeof d.IxBasicNavigation | typeof d.IxBlind | typeof d.IxBreadcrumb | typeof d.IxBreadcrumbItem | typeof d.IxButton | typeof d.IxCard | typeof d.IxCardAccordion | typeof d.IxCardContent | typeof d.IxCardList | typeof d.IxCardTitle | typeof d.IxCategoryFilter | typeof d.IxChip | typeof d.IxCol | typeof d.IxContent | typeof d.IxContentHeader | typeof d.IxDateDropdown | typeof d.IxDatePicker | typeof d.IxDatetimePicker | typeof d.IxDivider | typeof d.IxDrawer | typeof d.IxDropdown | typeof d.IxDropdownButton | typeof d.IxDropdownHeader | typeof d.IxDropdownItem | typeof d.IxDropdownQuickActions | typeof d.IxEmptyState | typeof d.IxEventList | typeof d.IxEventListItem | typeof d.IxExpandingSearch | typeof d.IxFilterChip | typeof d.IxFlipTile | typeof d.IxFlipTileContent | typeof d.IxFormField | typeof d.IxGroup | typeof d.IxGroupContextMenu | typeof d.IxGroupItem | typeof d.IxIconButton | typeof d.IxIconToggleButton | typeof d.IxInputGroup | typeof d.IxKeyValue | typeof d.IxKeyValueList | typeof d.IxKpi | typeof d.IxLayoutGrid | typeof d.IxLinkButton | typeof d.IxMapNavigation | typeof d.IxMapNavigationOverlay | typeof d.IxMenu | typeof d.IxMenuAbout | typeof d.IxMenuAboutItem | typeof d.IxMenuAboutNews | typeof d.IxMenuAvatar | typeof d.IxMenuAvatarItem | typeof d.IxMenuCategory | typeof d.IxMenuItem | typeof d.IxMenuSettings | typeof d.IxMenuSettingsItem | typeof d.IxMessageBar | typeof d.IxModal | typeof d.IxModalContent | typeof d.IxModalExample | typeof d.IxModalFooter | typeof d.IxModalHeader | typeof d.IxPagination | typeof d.IxPane | typeof d.IxPaneLayout | typeof d.IxPill | typeof d.IxPushCard | typeof d.IxRow | typeof d.IxSelect | typeof d.IxSelectItem | typeof d.IxSlider | typeof d.IxSpinner | typeof d.IxSplitButton | typeof d.IxSplitButtonItem | typeof d.IxTabItem | typeof d.IxTabs | typeof d.IxTile | typeof d.IxTimePicker | typeof d.IxToast | typeof d.IxToastContainer | typeof d.IxToggle | typeof d.IxToggleButton | typeof d.IxTooltip | typeof d.IxTreeItem | typeof d.IxTypography | typeof d.IxUpload | typeof d.IxValidationTooltip | typeof d.IxWorkflowStep | typeof d.IxWorkflowSteps)[];
|
|
@@ -11,6 +11,14 @@ export const proxyInputs = (Cmp, inputs) => {
|
|
|
11
11
|
set(val) {
|
|
12
12
|
this.z.runOutsideAngular(() => (this.el[item] = val));
|
|
13
13
|
},
|
|
14
|
+
/**
|
|
15
|
+
* In the event that proxyInputs is called
|
|
16
|
+
* multiple times re-defining these inputs
|
|
17
|
+
* will cause an error to be thrown. As a result
|
|
18
|
+
* we set configurable: true to indicate these
|
|
19
|
+
* properties can be changed.
|
|
20
|
+
*/
|
|
21
|
+
configurable: true,
|
|
14
22
|
});
|
|
15
23
|
});
|
|
16
24
|
};
|
|
@@ -48,4 +56,4 @@ export function ProxyCmp(opts) {
|
|
|
48
56
|
};
|
|
49
57
|
return decorator;
|
|
50
58
|
}
|
|
51
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
59
|
+
//# sourceMappingURL=data:application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