@siemens/ix-angular 3.1.0 → 3.1.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/READMEOSS.html +69 -17
- package/angular-component-lib/utils.d.ts +9 -0
- package/common/directives/control-value-accessors/boolean-value-accessor.d.ts +10 -0
- package/common/directives/control-value-accessors/date-value-accessor.d.ts +9 -0
- package/common/directives/control-value-accessors/index.d.ts +5 -0
- package/common/directives/control-value-accessors/radio-value-accessor.d.ts +10 -0
- package/common/directives/control-value-accessors/select-value-accessor.d.ts +9 -0
- package/common/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/common/directives/control-value-accessors/value-accessor.d.ts +30 -0
- package/common/directives/dropdown-trigger.d.ts +10 -0
- package/common/directives/tree.d.ts +26 -0
- package/common/index.d.ts +6 -0
- package/common/providers/modal/index.d.ts +3 -0
- package/common/providers/modal/modal-ref.d.ts +21 -0
- package/common/providers/modal/modal.config.d.ts +6 -0
- package/common/providers/modal/modal.service.d.ts +20 -0
- package/common/providers/toast/index.d.ts +2 -0
- package/common/providers/toast/toast.config.d.ts +5 -0
- package/common/providers/toast/toast.service.d.ts +9 -0
- package/common/utils/create-value-accessor-provider.d.ts +2 -0
- package/components.d.ts +1342 -0
- package/declare-components.d.ts +2 -0
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +8 -0
- package/directives/control-value-accessors/date-value-accessor.d.ts +8 -0
- package/directives/control-value-accessors/index.d.ts +5 -0
- package/directives/control-value-accessors/radio-value-accessor.d.ts +8 -0
- package/directives/control-value-accessors/select-value-accessor.d.ts +8 -0
- package/directives/control-value-accessors/text-value-accessor.d.ts +8 -0
- package/directives/dropdown-trigger.d.ts +10 -0
- package/esm2022/angular-component-lib/utils.mjs +59 -0
- package/esm2022/common/directives/control-value-accessors/boolean-value-accessor.mjs +32 -0
- package/esm2022/common/directives/control-value-accessors/date-value-accessor.mjs +28 -0
- package/esm2022/common/directives/control-value-accessors/index.mjs +14 -0
- package/esm2022/common/directives/control-value-accessors/radio-value-accessor.mjs +34 -0
- package/esm2022/common/directives/control-value-accessors/select-value-accessor.mjs +28 -0
- package/esm2022/common/directives/control-value-accessors/text-value-accessor.mjs +31 -0
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +157 -0
- package/esm2022/common/directives/dropdown-trigger.mjs +28 -0
- package/esm2022/common/directives/tree.mjs +70 -0
- package/esm2022/common/index.mjs +15 -0
- package/esm2022/common/providers/modal/index.mjs +11 -0
- package/esm2022/common/providers/modal/modal-ref.mjs +41 -0
- package/esm2022/common/providers/modal/modal.config.mjs +10 -0
- package/esm2022/common/providers/modal/modal.service.mjs +90 -0
- package/esm2022/common/providers/toast/index.mjs +11 -0
- package/esm2022/common/providers/toast/toast.config.mjs +10 -0
- package/esm2022/common/providers/toast/toast.service.mjs +52 -0
- package/esm2022/common/siemens-ix-angular-common.mjs +5 -0
- package/esm2022/common/utils/create-value-accessor-provider.mjs +17 -0
- package/esm2022/components.mjs +2809 -0
- package/esm2022/declare-components.mjs +106 -0
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +26 -0
- package/esm2022/directives/control-value-accessors/date-value-accessor.mjs +26 -0
- package/esm2022/directives/control-value-accessors/index.mjs +14 -0
- package/esm2022/directives/control-value-accessors/radio-value-accessor.mjs +26 -0
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +26 -0
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +26 -0
- package/esm2022/directives/dropdown-trigger.mjs +31 -0
- package/esm2022/index.mjs +19 -0
- package/esm2022/ix-icon.mjs +40 -0
- package/esm2022/module.mjs +78 -0
- package/esm2022/providers/modal/index.mjs +11 -0
- package/esm2022/providers/modal/modal.service.mjs +28 -0
- package/esm2022/providers/theme/index.mjs +10 -0
- package/esm2022/providers/theme/theme.service.mjs +40 -0
- package/esm2022/providers/toast/index.mjs +2 -0
- package/esm2022/providers/toast/toast.service.mjs +52 -0
- package/esm2022/siemens-ix-angular.mjs +5 -0
- package/esm2022/standalone/angular-component-lib/utils.mjs +59 -0
- package/esm2022/standalone/components.mjs +3126 -0
- package/esm2022/standalone/directives/control-value-accessors/boolean-value-accessor.mjs +30 -0
- package/esm2022/standalone/directives/control-value-accessors/date-value-accessor.mjs +30 -0
- package/esm2022/standalone/directives/control-value-accessors/index.mjs +14 -0
- package/esm2022/standalone/directives/control-value-accessors/radio-value-accessor.mjs +30 -0
- package/esm2022/standalone/directives/control-value-accessors/select-value-accessor.mjs +30 -0
- package/esm2022/standalone/directives/control-value-accessors/text-value-accessor.mjs +30 -0
- package/esm2022/standalone/directives/dropdown-trigger.mjs +32 -0
- package/esm2022/standalone/index.mjs +18 -0
- package/esm2022/standalone/internal-components.mjs +19 -0
- package/esm2022/standalone/ix-icon.mjs +44 -0
- package/esm2022/standalone/providers/modal.mjs +28 -0
- package/esm2022/standalone/providers/toast.mjs +35 -0
- package/esm2022/standalone/siemens-ix-angular-standalone.mjs +5 -0
- package/esm2022/standalone/tree.mjs +41 -0
- package/esm2022/standalone/utils/value-accessor-directives.mjs +23 -0
- package/esm2022/tree.mjs +39 -0
- package/esm2022/utils/app-initialize.mjs +25 -0
- package/fesm2022/siemens-ix-angular-common.mjs +633 -0
- package/fesm2022/siemens-ix-angular-common.mjs.map +1 -0
- package/fesm2022/siemens-ix-angular-standalone.mjs +3418 -0
- package/fesm2022/siemens-ix-angular-standalone.mjs.map +1 -0
- package/fesm2022/siemens-ix-angular.mjs +3307 -0
- package/fesm2022/siemens-ix-angular.mjs.map +1 -0
- package/index.d.ts +10 -0
- package/ix-icon.d.ts +12 -0
- package/module.d.ts +17 -0
- package/package.json +1 -6
- package/providers/modal/index.d.ts +2 -0
- package/providers/modal/modal.service.d.ts +15 -0
- package/providers/theme/index.d.ts +1 -0
- package/providers/theme/theme.service.d.ts +15 -0
- package/providers/toast/index.d.ts +2 -0
- package/providers/toast/toast.service.d.ts +9 -0
- package/standalone/angular-component-lib/utils.d.ts +9 -0
- package/standalone/components.d.ts +1342 -0
- package/standalone/directives/control-value-accessors/boolean-value-accessor.d.ts +11 -0
- package/standalone/directives/control-value-accessors/date-value-accessor.d.ts +11 -0
- package/standalone/directives/control-value-accessors/index.d.ts +5 -0
- package/standalone/directives/control-value-accessors/radio-value-accessor.d.ts +11 -0
- package/standalone/directives/control-value-accessors/select-value-accessor.d.ts +11 -0
- package/standalone/directives/control-value-accessors/text-value-accessor.d.ts +11 -0
- package/standalone/directives/dropdown-trigger.d.ts +10 -0
- package/standalone/index.d.ts +9 -0
- package/standalone/internal-components.d.ts +1 -0
- package/standalone/ix-icon.d.ts +9 -0
- package/standalone/providers/modal.d.ts +11 -0
- package/standalone/providers/toast.d.ts +11 -0
- package/standalone/tree.d.ts +9 -0
- package/standalone/utils/value-accessor-directives.d.ts +16 -0
- package/tree.d.ts +9 -0
- package/utils/app-initialize.d.ts +1 -0
package/index.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export * from '@siemens/ix';
|
|
2
|
+
export * from './components';
|
|
3
|
+
export { IxIcon } from './ix-icon';
|
|
4
|
+
export { IxTree } from './tree';
|
|
5
|
+
export { ModalService, IxActiveModal, ModalConfig, ModalContext, } from './providers/modal';
|
|
6
|
+
export { ToastConfig, ToastService } from './providers/toast';
|
|
7
|
+
export * from './providers/theme';
|
|
8
|
+
export * from './directives/control-value-accessors';
|
|
9
|
+
export { IxDropdownTriggerDirective } from './directives/dropdown-trigger';
|
|
10
|
+
export * from './module';
|
package/ix-icon.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import type { Components } from '@siemens/ix-icons';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare interface IxIcon extends Components.IxIcon {
|
|
5
|
+
}
|
|
6
|
+
export declare class IxIcon {
|
|
7
|
+
protected z: NgZone;
|
|
8
|
+
protected el: HTMLElement;
|
|
9
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxIcon, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxIcon, "ix-icon", never, { "color": { "alias": "color"; "required": false; }; "name": { "alias": "name"; "required": false; }; "size": { "alias": "size"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
12
|
+
}
|
package/module.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import * as i1 from "./components";
|
|
4
|
+
import * as i2 from "./tree";
|
|
5
|
+
import * as i3 from "./ix-icon";
|
|
6
|
+
import * as i4 from "./directives/dropdown-trigger";
|
|
7
|
+
import * as i5 from "./directives/control-value-accessors/text-value-accessor";
|
|
8
|
+
import * as i6 from "./directives/control-value-accessors/select-value-accessor";
|
|
9
|
+
import * as i7 from "./directives/control-value-accessors/radio-value-accessor";
|
|
10
|
+
import * as i8 from "./directives/control-value-accessors/boolean-value-accessor";
|
|
11
|
+
import * as i9 from "./directives/control-value-accessors/date-value-accessor";
|
|
12
|
+
export declare class IxModule {
|
|
13
|
+
static forRoot(): ModuleWithProviders<IxModule>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<IxModule, [typeof i1.IxActionCard, typeof i1.IxApplication, 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.IxCheckbox, typeof i1.IxCheckboxGroup, typeof i1.IxChip, typeof i1.IxCol, typeof i1.IxContent, typeof i1.IxContentHeader, typeof i1.IxCustomField, typeof i1.IxDateDropdown, typeof i1.IxDateInput, 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.IxFieldLabel, typeof i1.IxFilterChip, typeof i1.IxFlipTile, typeof i1.IxFlipTileContent, typeof i1.IxGroup, typeof i1.IxGroupContextMenu, typeof i1.IxGroupItem, typeof i1.IxHelperText, typeof i1.IxIconButton, typeof i1.IxIconToggleButton, typeof i1.IxInput, typeof i1.IxInputGroup, typeof i1.IxKeyValue, typeof i1.IxKeyValueList, typeof i1.IxKpi, typeof i1.IxLayoutAuto, typeof i1.IxLayoutGrid, 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.IxModalFooter, typeof i1.IxModalHeader, typeof i1.IxNumberInput, typeof i1.IxPagination, typeof i1.IxPane, typeof i1.IxPaneLayout, typeof i1.IxPill, typeof i1.IxPushCard, typeof i1.IxRadio, typeof i1.IxRadioGroup, typeof i1.IxRow, typeof i1.IxSelect, typeof i1.IxSelectItem, typeof i1.IxSlider, typeof i1.IxSpinner, typeof i1.IxSplitButton, typeof i1.IxTabItem, typeof i1.IxTabs, typeof i1.IxTextarea, 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.IxIcon, typeof i4.IxDropdownTriggerDirective, typeof i5.IxTextValueAccessorDirective, typeof i6.IxSelectValueAccessorDirective, typeof i7.IxRadioValueAccessorDirective, typeof i8.IxBooleanValueAccessorDirective, typeof i9.IxDateValueAccessorDirective], never, [typeof i1.IxActionCard, typeof i1.IxApplication, 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.IxCheckbox, typeof i1.IxCheckboxGroup, typeof i1.IxChip, typeof i1.IxCol, typeof i1.IxContent, typeof i1.IxContentHeader, typeof i1.IxCustomField, typeof i1.IxDateDropdown, typeof i1.IxDateInput, 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.IxFieldLabel, typeof i1.IxFilterChip, typeof i1.IxFlipTile, typeof i1.IxFlipTileContent, typeof i1.IxGroup, typeof i1.IxGroupContextMenu, typeof i1.IxGroupItem, typeof i1.IxHelperText, typeof i1.IxIconButton, typeof i1.IxIconToggleButton, typeof i1.IxInput, typeof i1.IxInputGroup, typeof i1.IxKeyValue, typeof i1.IxKeyValueList, typeof i1.IxKpi, typeof i1.IxLayoutAuto, typeof i1.IxLayoutGrid, 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.IxModalFooter, typeof i1.IxModalHeader, typeof i1.IxNumberInput, typeof i1.IxPagination, typeof i1.IxPane, typeof i1.IxPaneLayout, typeof i1.IxPill, typeof i1.IxPushCard, typeof i1.IxRadio, typeof i1.IxRadioGroup, typeof i1.IxRow, typeof i1.IxSelect, typeof i1.IxSelectItem, typeof i1.IxSlider, typeof i1.IxSpinner, typeof i1.IxSplitButton, typeof i1.IxTabItem, typeof i1.IxTabs, typeof i1.IxTextarea, 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.IxIcon, typeof i4.IxDropdownTriggerDirective, typeof i5.IxTextValueAccessorDirective, typeof i6.IxSelectValueAccessorDirective, typeof i7.IxRadioValueAccessorDirective, typeof i8.IxBooleanValueAccessorDirective, typeof i9.IxDateValueAccessorDirective]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<IxModule>;
|
|
17
|
+
}
|
package/package.json
CHANGED
|
@@ -7,14 +7,9 @@
|
|
|
7
7
|
"url": "https://github.com/siemens/ix",
|
|
8
8
|
"directory": "packages/angular"
|
|
9
9
|
},
|
|
10
|
-
"version": "3.1.
|
|
10
|
+
"version": "3.1.1",
|
|
11
11
|
"description": "Siemens iX for Angular",
|
|
12
12
|
"license": "MIT",
|
|
13
|
-
"files": [
|
|
14
|
-
"LICENSE",
|
|
15
|
-
"README.md",
|
|
16
|
-
"READMEOSS.html"
|
|
17
|
-
],
|
|
18
13
|
"dependencies": {
|
|
19
14
|
"@siemens/ix": "~3.1.0",
|
|
20
15
|
"tslib": "^2.3.0"
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
2
|
+
import { ModalInstance } from '@siemens/ix';
|
|
3
|
+
import { ModalConfig, ModalService as BaseModalService } from '@siemens/ix-angular/common';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export type ModalContext<T> = {
|
|
6
|
+
close: ((result: any) => void) | null;
|
|
7
|
+
dismiss: ((result?: any) => void) | null;
|
|
8
|
+
data?: T;
|
|
9
|
+
};
|
|
10
|
+
export declare class ModalService extends BaseModalService {
|
|
11
|
+
constructor(appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
12
|
+
open<TData = any, TReason = any>(config: ModalConfig<TData>): Promise<ModalInstance<TReason>>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './theme.service';
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated Will be removed in 4.0.0. Use themeSwitcher from core package `import { themeSwitcher } from '@siemens/ix';`
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export declare class ThemeService {
|
|
8
|
+
themeChanged: EventEmitter<string>;
|
|
9
|
+
private readonly themeSwitcher;
|
|
10
|
+
constructor();
|
|
11
|
+
toggleMode(): void;
|
|
12
|
+
setTheme(themeName: string): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ThemeService, never>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ThemeService>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ToastConfig } from '@siemens/ix-angular/common';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ToastService {
|
|
4
|
+
setPosition(position: 'bottom-right' | 'top-right'): void;
|
|
5
|
+
getPosition(): "bottom-right" | "top-right";
|
|
6
|
+
show(config: ToastConfig): Promise<import("@siemens/ix").ShowToastResult>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export declare const proxyInputs: (Cmp: any, inputs: string[]) => void;
|
|
2
|
+
export declare const proxyMethods: (Cmp: any, methods: string[]) => void;
|
|
3
|
+
export declare const proxyOutputs: (instance: any, el: any, events: string[]) => void;
|
|
4
|
+
export declare const defineCustomElement: (tagName: string, customElement: any) => void;
|
|
5
|
+
export declare function ProxyCmp(opts: {
|
|
6
|
+
defineCustomElementFn?: () => void;
|
|
7
|
+
inputs?: any;
|
|
8
|
+
methods?: any;
|
|
9
|
+
}): (cls: any) => any;
|