@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
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { BooleanValueAccessorBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Value Accessor for ix-checkbox and ix-toggle
|
|
6
|
+
*/
|
|
7
|
+
export declare class IxBooleanValueAccessorDirective extends BooleanValueAccessorBaseDirective {
|
|
8
|
+
constructor(injector: Injector, el: ElementRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxBooleanValueAccessorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxBooleanValueAccessorDirective, "ix-checkbox,ix-toggle", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { DateValueAccessorBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Value Accessor for ix-date-input
|
|
6
|
+
*/
|
|
7
|
+
export declare class IxDateValueAccessorDirective extends DateValueAccessorBaseDirective {
|
|
8
|
+
constructor(injector: Injector, el: ElementRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxDateValueAccessorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxDateValueAccessorDirective, "ix-date-input", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { RadioValueAccessorBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Value Accessor for ix-radio
|
|
6
|
+
*/
|
|
7
|
+
export declare class IxRadioValueAccessorDirective extends RadioValueAccessorBaseDirective {
|
|
8
|
+
constructor(injector: Injector, el: ElementRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxRadioValueAccessorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxRadioValueAccessorDirective, "ix-radio", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { SelectValueAccessorBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Value Accessor for ix-select
|
|
6
|
+
*/
|
|
7
|
+
export declare class IxSelectValueAccessorDirective extends SelectValueAccessorBaseDirective {
|
|
8
|
+
constructor(injector: Injector, el: ElementRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxSelectValueAccessorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxSelectValueAccessorDirective, "ix-select", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
+
import { TextValueAccessorBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Value Accessor for ix-input, ix-number-input and ix-textarea
|
|
6
|
+
*/
|
|
7
|
+
export declare class IxTextValueAccessorDirective extends TextValueAccessorBaseDirective {
|
|
8
|
+
constructor(injector: Injector, el: ElementRef);
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxTextValueAccessorDirective, never>;
|
|
10
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxTextValueAccessorDirective, "ix-input,ix-number-input,ix-textarea", never, {}, {}, never, never, true, never>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { DropdownTriggerBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IxDropdownTriggerDirective extends DropdownTriggerBaseDirective {
|
|
5
|
+
ixDropdownTrigger: any;
|
|
6
|
+
constructor(element: ElementRef);
|
|
7
|
+
protected ngOnChanges(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxDropdownTriggerDirective, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxDropdownTriggerDirective, "[ixDropdownTrigger]", never, { "ixDropdownTrigger": { "alias": "ixDropdownTrigger"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export * from './components';
|
|
2
|
+
export * from './internal-components';
|
|
3
|
+
export { IxIcon } from './ix-icon';
|
|
4
|
+
export { IxTree } from './tree';
|
|
5
|
+
export * from './providers/modal';
|
|
6
|
+
export * from './providers/toast';
|
|
7
|
+
export * from './directives/control-value-accessors';
|
|
8
|
+
export { IxDropdownTriggerDirective } from './directives/dropdown-trigger';
|
|
9
|
+
export { IxValueAccessorDirectives } from './utils/value-accessor-directives';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class IxIcon {
|
|
4
|
+
protected z: NgZone;
|
|
5
|
+
protected el: HTMLElement;
|
|
6
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxIcon, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxIcon, "ix-icon", never, { "color": { "alias": "color"; "required": false; }; "size": { "alias": "size"; "required": false; }; "name": { "alias": "name"; "required": false; }; "lazyLoading": { "alias": "lazyLoading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ModalService as BaseModalService, ModalConfig } from '@siemens/ix-angular/common';
|
|
2
|
+
import { ModalInstance } from '@siemens/ix';
|
|
3
|
+
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export { IxActiveModal } from '@siemens/ix-angular/common';
|
|
6
|
+
export declare class ModalService extends BaseModalService {
|
|
7
|
+
constructor(appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
8
|
+
open<TData = any, TReason = any>(config: ModalConfig<TData>): Promise<ModalInstance<TReason>>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { ToastService as BaseToastService, ToastConfig } from '@siemens/ix-angular/common';
|
|
2
|
+
import { ShowToastResult } from '@siemens/ix';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ToastService extends BaseToastService {
|
|
5
|
+
constructor();
|
|
6
|
+
getPosition(): 'bottom-right' | 'top-right';
|
|
7
|
+
setPosition(position: 'bottom-right' | 'top-right'): void;
|
|
8
|
+
show(config: ToastConfig): Promise<ShowToastResult>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ToastService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ToastService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { TreeBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IxTree extends TreeBaseDirective {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxTree, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxTree, "ix-tree", never, { "context": { "alias": "context"; "required": false; }; "model": { "alias": "model"; "required": false; }; "root": { "alias": "root"; "required": false; }; "renderItem": { "alias": "renderItem"; "required": false; }; "lazyLoading": { "alias": "lazyLoading"; "required": false; }; }, {}, never, ["*"], true, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { IxBooleanValueAccessorDirective } from '../directives/control-value-accessors/boolean-value-accessor';
|
|
2
|
+
import { IxRadioValueAccessorDirective } from '../directives/control-value-accessors/radio-value-accessor';
|
|
3
|
+
import { IxSelectValueAccessorDirective } from '../directives/control-value-accessors/select-value-accessor';
|
|
4
|
+
import { IxTextValueAccessorDirective } from '../directives/control-value-accessors/text-value-accessor';
|
|
5
|
+
import { IxDateValueAccessorDirective } from '../directives/control-value-accessors/date-value-accessor';
|
|
6
|
+
/**
|
|
7
|
+
* Value Accessor bundle to reduce import complexity
|
|
8
|
+
*
|
|
9
|
+
* Incudes:
|
|
10
|
+
* - IxBooleanValueAccessorDirective
|
|
11
|
+
* - IxRadioValueAccessorDirective
|
|
12
|
+
* - IxSelectValueAccessorDirective
|
|
13
|
+
* - IxTextValueAccessorDirective
|
|
14
|
+
* - IxDateValueAccessorDirective
|
|
15
|
+
*/
|
|
16
|
+
export declare const IxValueAccessorDirectives: readonly [typeof IxBooleanValueAccessorDirective, typeof IxRadioValueAccessorDirective, typeof IxSelectValueAccessorDirective, typeof IxTextValueAccessorDirective, typeof IxDateValueAccessorDirective];
|
package/tree.d.ts
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ChangeDetectorRef, ElementRef, NgZone } from '@angular/core';
|
|
2
|
+
import { TreeBaseDirective } from '@siemens/ix-angular/common';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class IxTree extends TreeBaseDirective {
|
|
5
|
+
protected z: NgZone;
|
|
6
|
+
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone);
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<IxTree, never>;
|
|
8
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<IxTree, "ix-tree", never, { "context": { "alias": "context"; "required": false; }; "model": { "alias": "model"; "required": false; }; "root": { "alias": "root"; "required": false; }; "renderItem": { "alias": "renderItem"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const appInitialize: () => (doc: Document) => () => void;
|