@siemens/ix-angular 2.0.0-beta.0 → 2.0.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 +103 -37
- package/declare-components.d.ts +1 -1
- package/esm2020/components.mjs +219 -93
- package/esm2020/declare-components.mjs +8 -3
- package/esm2020/index.mjs +2 -1
- package/esm2020/modal/modal.config.mjs +1 -1
- package/esm2020/modal/modal.service.mjs +19 -19
- package/esm2020/module.mjs +11 -3
- package/esm2020/select-value-accessor.mjs +35 -0
- package/esm2020/theme/theme.service.mjs +4 -1
- package/esm2020/value-accessor.mjs +40 -0
- package/fesm2015/siemens-ix-angular.mjs +319 -113
- package/fesm2015/siemens-ix-angular.mjs.map +1 -1
- package/fesm2020/siemens-ix-angular.mjs +319 -113
- package/fesm2020/siemens-ix-angular.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/modal/modal.config.d.ts +2 -1
- package/module.d.ts +2 -1
- package/package.json +2 -2
- package/select-value-accessor.d.ts +8 -0
- package/theme/theme.service.d.ts +3 -0
- package/value-accessor.d.ts +18 -0
package/index.d.ts
CHANGED
package/modal/modal.config.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { TemplateRef, Type } from '@angular/core';
|
|
1
2
|
import { ModalConfig as IxModalConfig } from '@siemens/ix';
|
|
2
3
|
export declare type ModalConfig<TDATA = any> = Omit<IxModalConfig, 'content'> & {
|
|
3
|
-
content:
|
|
4
|
+
content: TemplateRef<unknown> | Type<unknown>;
|
|
4
5
|
data?: TDATA;
|
|
5
6
|
};
|
package/module.d.ts
CHANGED
|
@@ -3,9 +3,10 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import * as i1 from "./components";
|
|
4
4
|
import * as i2 from "./tree/tree";
|
|
5
5
|
import * as i3 from "./dropdown/trigger.directive";
|
|
6
|
+
import * as i4 from "./select-value-accessor";
|
|
6
7
|
export declare class IxModule {
|
|
7
8
|
static forRoot(): ModuleWithProviders<IxModule>;
|
|
8
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxModule, never>;
|
|
9
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<IxModule, [typeof i1.IxActionCard, typeof i1.
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IxModule, [typeof i1.IxActionCard, typeof i1.IxApplicationHeader, typeof i1.IxAvatar, typeof i1.IxBasicNavigation, typeof i1.IxBlind, typeof i1.IxBreadcrumb, typeof i1.IxBreadcrumbItem, typeof i1.IxButton, typeof i1.IxCard, typeof i1.IxCardAccordion, typeof i1.IxCardContent, typeof i1.IxCardList, typeof i1.IxCardTitle, typeof i1.IxCategoryFilter, typeof i1.IxChip, typeof i1.IxCol, typeof i1.IxContentHeader, typeof i1.IxDatePicker, typeof i1.IxDatetimePicker, typeof i1.IxDivider, typeof i1.IxDrawer, typeof i1.IxDropdown, typeof i1.IxDropdownButton, typeof i1.IxDropdownHeader, typeof i1.IxDropdownItem, typeof i1.IxDropdownQuickActions, typeof i1.IxEmptyState, typeof i1.IxEventList, typeof i1.IxEventListItem, typeof i1.IxExpandingSearch, typeof i1.IxFilterChip, typeof i1.IxFlipTile, typeof i1.IxFlipTileContent, typeof i1.IxFormField, typeof i1.IxGrid, typeof i1.IxGroup, typeof i1.IxGroupContextMenu, typeof i1.IxGroupItem, typeof i1.IxIcon, typeof i1.IxIconButton, typeof i1.IxIconToggleButton, typeof i1.IxInputGroup, typeof i1.IxKeyValue, typeof i1.IxKeyValueList, typeof i1.IxKpi, typeof i1.IxLinkButton, typeof i1.IxMapNavigation, typeof i1.IxMapNavigationOverlay, typeof i1.IxMenu, typeof i1.IxMenuAbout, typeof i1.IxMenuAboutItem, typeof i1.IxMenuAboutNews, typeof i1.IxMenuAvatar, typeof i1.IxMenuAvatarItem, typeof i1.IxMenuCategory, typeof i1.IxMenuItem, typeof i1.IxMenuSettings, typeof i1.IxMenuSettingsItem, typeof i1.IxMessageBar, typeof i1.IxModal, typeof i1.IxModalContent, typeof i1.IxModalExample, typeof i1.IxModalFooter, typeof i1.IxModalHeader, typeof i1.IxPagination, typeof i1.IxPill, typeof i1.IxPushCard, typeof i1.IxRow, typeof i1.IxSelect, typeof i1.IxSelectItem, typeof i1.IxSpinner, typeof i1.IxSplitButton, typeof i1.IxSplitButtonItem, typeof i1.IxTabItem, typeof i1.IxTabs, typeof i1.IxTile, typeof i1.IxTimePicker, typeof i1.IxToast, typeof i1.IxToastContainer, typeof i1.IxToggle, typeof i1.IxToggleButton, typeof i1.IxTooltip, typeof i1.IxTreeItem, typeof i1.IxTypography, typeof i1.IxUpload, typeof i1.IxValidationTooltip, typeof i1.IxWorkflowStep, typeof i1.IxWorkflowSteps, typeof i2.IxTree, typeof i3.IxDropdownTriggerDirective, typeof i4.SelectValueAccessor], never, [typeof i1.IxActionCard, typeof i1.IxApplicationHeader, typeof i1.IxAvatar, typeof i1.IxBasicNavigation, typeof i1.IxBlind, typeof i1.IxBreadcrumb, typeof i1.IxBreadcrumbItem, typeof i1.IxButton, typeof i1.IxCard, typeof i1.IxCardAccordion, typeof i1.IxCardContent, typeof i1.IxCardList, typeof i1.IxCardTitle, typeof i1.IxCategoryFilter, typeof i1.IxChip, typeof i1.IxCol, typeof i1.IxContentHeader, typeof i1.IxDatePicker, typeof i1.IxDatetimePicker, typeof i1.IxDivider, typeof i1.IxDrawer, typeof i1.IxDropdown, typeof i1.IxDropdownButton, typeof i1.IxDropdownHeader, typeof i1.IxDropdownItem, typeof i1.IxDropdownQuickActions, typeof i1.IxEmptyState, typeof i1.IxEventList, typeof i1.IxEventListItem, typeof i1.IxExpandingSearch, typeof i1.IxFilterChip, typeof i1.IxFlipTile, typeof i1.IxFlipTileContent, typeof i1.IxFormField, typeof i1.IxGrid, typeof i1.IxGroup, typeof i1.IxGroupContextMenu, typeof i1.IxGroupItem, typeof i1.IxIcon, typeof i1.IxIconButton, typeof i1.IxIconToggleButton, typeof i1.IxInputGroup, typeof i1.IxKeyValue, typeof i1.IxKeyValueList, typeof i1.IxKpi, typeof i1.IxLinkButton, typeof i1.IxMapNavigation, typeof i1.IxMapNavigationOverlay, typeof i1.IxMenu, typeof i1.IxMenuAbout, typeof i1.IxMenuAboutItem, typeof i1.IxMenuAboutNews, typeof i1.IxMenuAvatar, typeof i1.IxMenuAvatarItem, typeof i1.IxMenuCategory, typeof i1.IxMenuItem, typeof i1.IxMenuSettings, typeof i1.IxMenuSettingsItem, typeof i1.IxMessageBar, typeof i1.IxModal, typeof i1.IxModalContent, typeof i1.IxModalExample, typeof i1.IxModalFooter, typeof i1.IxModalHeader, typeof i1.IxPagination, typeof i1.IxPill, typeof i1.IxPushCard, typeof i1.IxRow, typeof i1.IxSelect, typeof i1.IxSelectItem, typeof i1.IxSpinner, typeof i1.IxSplitButton, typeof i1.IxSplitButtonItem, typeof i1.IxTabItem, typeof i1.IxTabs, typeof i1.IxTile, typeof i1.IxTimePicker, typeof i1.IxToast, typeof i1.IxToastContainer, typeof i1.IxToggle, typeof i1.IxToggleButton, typeof i1.IxTooltip, typeof i1.IxTreeItem, typeof i1.IxTypography, typeof i1.IxUpload, typeof i1.IxValidationTooltip, typeof i1.IxWorkflowStep, typeof i1.IxWorkflowSteps, typeof i2.IxTree, typeof i3.IxDropdownTriggerDirective, typeof i4.SelectValueAccessor]>;
|
|
10
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<IxModule>;
|
|
11
12
|
}
|
package/package.json
CHANGED
|
@@ -7,11 +7,11 @@
|
|
|
7
7
|
"url": "https://github.com/siemens/ix",
|
|
8
8
|
"directory": "packages/angular"
|
|
9
9
|
},
|
|
10
|
-
"version": "2.0.0-beta.
|
|
10
|
+
"version": "2.0.0-beta.1",
|
|
11
11
|
"description": "Siemens iX for Angular",
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@siemens/ix": "~2.0.0-beta.
|
|
14
|
+
"@siemens/ix": "~2.0.0-beta.1",
|
|
15
15
|
"@siemens/ix-icons": "^1.1.0",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ValueAccessor } from './value-accessor';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SelectValueAccessor extends ValueAccessor {
|
|
5
|
+
constructor(el: ElementRef);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectValueAccessor, never>;
|
|
7
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<SelectValueAccessor, "ix-select[ngModel],ix-select[formControlName],ix-select[formControl]", never, {}, {}, never>;
|
|
8
|
+
}
|
package/theme/theme.service.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Use themeSwitcher from core package `import { themeSwitcher } from '@siemens/ix';`
|
|
5
|
+
*/
|
|
3
6
|
export declare class ThemeService {
|
|
4
7
|
themeChanged: EventEmitter<string>;
|
|
5
8
|
private themeSwitcher;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ValueAccessor implements ControlValueAccessor {
|
|
5
|
+
protected el: ElementRef;
|
|
6
|
+
private onChange;
|
|
7
|
+
private onTouched;
|
|
8
|
+
protected lastValue: any;
|
|
9
|
+
constructor(el: ElementRef);
|
|
10
|
+
writeValue(value: any): void;
|
|
11
|
+
handleChangeEvent(value: any): void;
|
|
12
|
+
_handleBlurEvent(): void;
|
|
13
|
+
registerOnChange(fn: (value: any) => void): void;
|
|
14
|
+
registerOnTouched(fn: () => void): void;
|
|
15
|
+
setDisabledState(isDisabled: boolean): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
17
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, {}, {}, never>;
|
|
18
|
+
}
|