@siemens/ix-angular 3.0.0 → 3.1.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.
- package/READMEOSS.html +421 -0
- package/package.json +7 -2
- package/angular-component-lib/utils.d.ts +0 -9
- package/common/directives/control-value-accessors/boolean-value-accessor.d.ts +0 -10
- package/common/directives/control-value-accessors/date-value-accessor.d.ts +0 -9
- package/common/directives/control-value-accessors/index.d.ts +0 -5
- package/common/directives/control-value-accessors/radio-value-accessor.d.ts +0 -10
- package/common/directives/control-value-accessors/select-value-accessor.d.ts +0 -9
- package/common/directives/control-value-accessors/text-value-accessor.d.ts +0 -9
- package/common/directives/control-value-accessors/value-accessor.d.ts +0 -30
- package/common/directives/dropdown-trigger.d.ts +0 -10
- package/common/directives/tree.d.ts +0 -26
- package/common/index.d.ts +0 -6
- package/common/providers/modal/index.d.ts +0 -3
- package/common/providers/modal/modal-ref.d.ts +0 -21
- package/common/providers/modal/modal.config.d.ts +0 -6
- package/common/providers/modal/modal.service.d.ts +0 -20
- package/common/providers/toast/index.d.ts +0 -2
- package/common/providers/toast/toast.config.d.ts +0 -5
- package/common/providers/toast/toast.service.d.ts +0 -9
- package/common/utils/create-value-accessor-provider.d.ts +0 -2
- package/components.d.ts +0 -1342
- package/declare-components.d.ts +0 -2
- package/directives/control-value-accessors/boolean-value-accessor.d.ts +0 -8
- package/directives/control-value-accessors/date-value-accessor.d.ts +0 -8
- package/directives/control-value-accessors/index.d.ts +0 -5
- package/directives/control-value-accessors/radio-value-accessor.d.ts +0 -8
- package/directives/control-value-accessors/select-value-accessor.d.ts +0 -8
- package/directives/control-value-accessors/text-value-accessor.d.ts +0 -8
- package/directives/dropdown-trigger.d.ts +0 -10
- package/esm2022/angular-component-lib/utils.mjs +0 -59
- package/esm2022/common/directives/control-value-accessors/boolean-value-accessor.mjs +0 -32
- package/esm2022/common/directives/control-value-accessors/date-value-accessor.mjs +0 -28
- package/esm2022/common/directives/control-value-accessors/index.mjs +0 -14
- package/esm2022/common/directives/control-value-accessors/radio-value-accessor.mjs +0 -34
- package/esm2022/common/directives/control-value-accessors/select-value-accessor.mjs +0 -28
- package/esm2022/common/directives/control-value-accessors/text-value-accessor.mjs +0 -31
- package/esm2022/common/directives/control-value-accessors/value-accessor.mjs +0 -157
- package/esm2022/common/directives/dropdown-trigger.mjs +0 -28
- package/esm2022/common/directives/tree.mjs +0 -70
- package/esm2022/common/index.mjs +0 -15
- package/esm2022/common/providers/modal/index.mjs +0 -11
- package/esm2022/common/providers/modal/modal-ref.mjs +0 -41
- package/esm2022/common/providers/modal/modal.config.mjs +0 -10
- package/esm2022/common/providers/modal/modal.service.mjs +0 -90
- package/esm2022/common/providers/toast/index.mjs +0 -11
- package/esm2022/common/providers/toast/toast.config.mjs +0 -10
- package/esm2022/common/providers/toast/toast.service.mjs +0 -52
- package/esm2022/common/siemens-ix-angular-common.mjs +0 -5
- package/esm2022/common/utils/create-value-accessor-provider.mjs +0 -17
- package/esm2022/components.mjs +0 -2809
- package/esm2022/declare-components.mjs +0 -106
- package/esm2022/directives/control-value-accessors/boolean-value-accessor.mjs +0 -26
- package/esm2022/directives/control-value-accessors/date-value-accessor.mjs +0 -26
- package/esm2022/directives/control-value-accessors/index.mjs +0 -14
- package/esm2022/directives/control-value-accessors/radio-value-accessor.mjs +0 -26
- package/esm2022/directives/control-value-accessors/select-value-accessor.mjs +0 -26
- package/esm2022/directives/control-value-accessors/text-value-accessor.mjs +0 -26
- package/esm2022/directives/dropdown-trigger.mjs +0 -31
- package/esm2022/index.mjs +0 -19
- package/esm2022/ix-icon.mjs +0 -40
- package/esm2022/module.mjs +0 -78
- package/esm2022/providers/modal/index.mjs +0 -11
- package/esm2022/providers/modal/modal.service.mjs +0 -28
- package/esm2022/providers/theme/index.mjs +0 -10
- package/esm2022/providers/theme/theme.service.mjs +0 -40
- package/esm2022/providers/toast/index.mjs +0 -2
- package/esm2022/providers/toast/toast.service.mjs +0 -52
- package/esm2022/siemens-ix-angular.mjs +0 -5
- package/esm2022/standalone/angular-component-lib/utils.mjs +0 -59
- package/esm2022/standalone/components.mjs +0 -3126
- package/esm2022/standalone/directives/control-value-accessors/boolean-value-accessor.mjs +0 -30
- package/esm2022/standalone/directives/control-value-accessors/date-value-accessor.mjs +0 -30
- package/esm2022/standalone/directives/control-value-accessors/index.mjs +0 -14
- package/esm2022/standalone/directives/control-value-accessors/radio-value-accessor.mjs +0 -30
- package/esm2022/standalone/directives/control-value-accessors/select-value-accessor.mjs +0 -30
- package/esm2022/standalone/directives/control-value-accessors/text-value-accessor.mjs +0 -30
- package/esm2022/standalone/directives/dropdown-trigger.mjs +0 -32
- package/esm2022/standalone/index.mjs +0 -18
- package/esm2022/standalone/internal-components.mjs +0 -19
- package/esm2022/standalone/ix-icon.mjs +0 -44
- package/esm2022/standalone/providers/modal.mjs +0 -26
- package/esm2022/standalone/providers/toast.mjs +0 -31
- package/esm2022/standalone/siemens-ix-angular-standalone.mjs +0 -5
- package/esm2022/standalone/tree.mjs +0 -41
- package/esm2022/standalone/utils/value-accessor-directives.mjs +0 -23
- package/esm2022/tree.mjs +0 -39
- package/esm2022/utils/app-initialize.mjs +0 -25
- package/fesm2022/siemens-ix-angular-common.mjs +0 -633
- package/fesm2022/siemens-ix-angular-common.mjs.map +0 -1
- package/fesm2022/siemens-ix-angular-standalone.mjs +0 -3415
- package/fesm2022/siemens-ix-angular-standalone.mjs.map +0 -1
- package/fesm2022/siemens-ix-angular.mjs +0 -3307
- package/fesm2022/siemens-ix-angular.mjs.map +0 -1
- package/index.d.ts +0 -10
- package/ix-icon.d.ts +0 -12
- package/module.d.ts +0 -17
- package/providers/modal/index.d.ts +0 -2
- package/providers/modal/modal.service.d.ts +0 -15
- package/providers/theme/index.d.ts +0 -1
- package/providers/theme/theme.service.d.ts +0 -15
- package/providers/toast/index.d.ts +0 -2
- package/providers/toast/toast.service.d.ts +0 -9
- package/standalone/angular-component-lib/utils.d.ts +0 -9
- package/standalone/components.d.ts +0 -1342
- package/standalone/directives/control-value-accessors/boolean-value-accessor.d.ts +0 -11
- package/standalone/directives/control-value-accessors/date-value-accessor.d.ts +0 -11
- package/standalone/directives/control-value-accessors/index.d.ts +0 -5
- package/standalone/directives/control-value-accessors/radio-value-accessor.d.ts +0 -11
- package/standalone/directives/control-value-accessors/select-value-accessor.d.ts +0 -11
- package/standalone/directives/control-value-accessors/text-value-accessor.d.ts +0 -11
- package/standalone/directives/dropdown-trigger.d.ts +0 -10
- package/standalone/index.d.ts +0 -9
- package/standalone/internal-components.d.ts +0 -1
- package/standalone/ix-icon.d.ts +0 -9
- package/standalone/providers/modal.d.ts +0 -11
- package/standalone/providers/toast.d.ts +0 -11
- package/standalone/tree.d.ts +0 -9
- package/standalone/utils/value-accessor-directives.d.ts +0 -16
- package/tree.d.ts +0 -9
- package/utils/app-initialize.d.ts +0 -1
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ElementRef, Injector, OnDestroy } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor, NgControl } from '@angular/forms';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class ValueAccessor implements ControlValueAccessor, AfterViewInit, OnDestroy {
|
|
5
|
-
protected injector: Injector;
|
|
6
|
-
protected elementRef: ElementRef;
|
|
7
|
-
private readonly checkRequiredValidator;
|
|
8
|
-
static readonly ANGULAR_CLASS_PREFIX = "ng-";
|
|
9
|
-
private onChange;
|
|
10
|
-
private onTouched;
|
|
11
|
-
protected lastValue: any;
|
|
12
|
-
private statusChanges?;
|
|
13
|
-
suppressClassMapping: boolean;
|
|
14
|
-
constructor(injector: Injector, elementRef: ElementRef, checkRequiredValidator?: boolean);
|
|
15
|
-
writeValue(value: any): void;
|
|
16
|
-
handleValueChange(el: HTMLElement, value: any): void;
|
|
17
|
-
_handleBlurEvent(el: any): void;
|
|
18
|
-
registerOnChange(fn: (value: any) => void): void;
|
|
19
|
-
registerOnTouched(fn: () => void): void;
|
|
20
|
-
setDisabledState(isDisabled: boolean): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
getAssignedNgControl(): NgControl | null;
|
|
24
|
-
setClasses(): void;
|
|
25
|
-
detourFormControlMethods(ngControl: NgControl, elementRef: ElementRef): void;
|
|
26
|
-
mapNgToIxClassNames(element: ElementRef): Promise<void>;
|
|
27
|
-
getClasses(element: HTMLElement): string[];
|
|
28
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ValueAccessor, never>;
|
|
29
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<ValueAccessor, never, never, { "suppressClassMapping": { "alias": "suppressClassMapping"; "required": false; }; }, {}, never, never, false, never>;
|
|
30
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DropdownTriggerBaseDirective {
|
|
4
|
-
private readonly element;
|
|
5
|
-
ixDropdownTrigger: any;
|
|
6
|
-
constructor(element: ElementRef);
|
|
7
|
-
protected ngOnChanges(): void;
|
|
8
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DropdownTriggerBaseDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DropdownTriggerBaseDirective, never, never, { "ixDropdownTrigger": { "alias": "ixDropdownTrigger"; "required": false; }; }, {}, never, never, false, never>;
|
|
10
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { ChangeDetectorRef, ElementRef, EmbeddedViewRef, EventEmitter, NgZone, OnDestroy, TemplateRef } from '@angular/core';
|
|
2
|
-
import type { TreeContext as ICwTreeTreeContext, TreeContext, UpdateCallback, Components } from '@siemens/ix';
|
|
3
|
-
import { Subscription } from 'rxjs';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare interface TreeBaseDirective extends Omit<Components.IxTree, 'renderItem'> {
|
|
6
|
-
/**
|
|
7
|
-
* Context changed
|
|
8
|
-
*/
|
|
9
|
-
contextChange: EventEmitter<CustomEvent<ICwTreeTreeContext>>;
|
|
10
|
-
/**
|
|
11
|
-
* Emits removed nodes
|
|
12
|
-
*/
|
|
13
|
-
nodeRemoved: EventEmitter<CustomEvent<any>>;
|
|
14
|
-
}
|
|
15
|
-
export declare class TreeBaseDirective implements OnDestroy {
|
|
16
|
-
protected z: NgZone;
|
|
17
|
-
renderCache: Map<HTMLElement, EmbeddedViewRef<any>>;
|
|
18
|
-
set renderItem(template: TemplateRef<any>);
|
|
19
|
-
protected el: HTMLElement;
|
|
20
|
-
onRemovedSubscription: Subscription;
|
|
21
|
-
constructor(c: ChangeDetectorRef, r: ElementRef, z: NgZone, proxyOutputs: (instance: any, el: any, events: string[]) => void);
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
generateItemRenderer(templateRef: TemplateRef<any>): (_: number, itemData: any, __: any[], context: TreeContext, update: (callback: UpdateCallback) => void) => HTMLIxTreeItemElement;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TreeBaseDirective, never>;
|
|
25
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TreeBaseDirective, never, never, { "renderItem": { "alias": "renderItem"; "required": false; }; }, {}, never, never, false, never>;
|
|
26
|
-
}
|
package/common/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export * from './providers/modal';
|
|
2
|
-
export * from './providers/toast';
|
|
3
|
-
export * from './directives/control-value-accessors';
|
|
4
|
-
export { DropdownTriggerBaseDirective } from './directives/dropdown-trigger';
|
|
5
|
-
export { TreeBaseDirective } from './directives/tree';
|
|
6
|
-
export { createValueAccessorProvider } from './utils/create-value-accessor-provider';
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export declare class IxActiveModal<TData = any, TReason = any> {
|
|
2
|
-
private readonly modalData?;
|
|
3
|
-
modalElement: HTMLElement;
|
|
4
|
-
constructor(modalData?: TData | undefined);
|
|
5
|
-
get data(): TData | undefined;
|
|
6
|
-
/**
|
|
7
|
-
* Close the active modal
|
|
8
|
-
*
|
|
9
|
-
* @param reason
|
|
10
|
-
*/
|
|
11
|
-
close(reason: TReason): void;
|
|
12
|
-
/**
|
|
13
|
-
* Dismiss the active modal
|
|
14
|
-
*
|
|
15
|
-
* @param reason
|
|
16
|
-
*/
|
|
17
|
-
dismiss(reason?: TReason): void;
|
|
18
|
-
}
|
|
19
|
-
export declare class InternalIxActiveModal<TData = any, TReason = any> extends IxActiveModal<TData, TReason> {
|
|
20
|
-
setModalElement(element: HTMLElement): void;
|
|
21
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef, ComponentFactoryResolver, Injector } from '@angular/core';
|
|
2
|
-
import { ModalConfig } from './modal.config';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export type ModalContext<T> = {
|
|
5
|
-
close: ((result: any) => void) | null;
|
|
6
|
-
dismiss: ((result?: any) => void) | null;
|
|
7
|
-
data?: T;
|
|
8
|
-
};
|
|
9
|
-
export declare class ModalService {
|
|
10
|
-
private appRef;
|
|
11
|
-
private componentFactoryResolver;
|
|
12
|
-
private injector;
|
|
13
|
-
constructor(appRef: ApplicationRef, componentFactoryResolver: ComponentFactoryResolver, injector: Injector);
|
|
14
|
-
open<TData = any, TReason = any>(config: ModalConfig<TData>): Promise<import("@siemens/ix").ModalInstance<TReason>>;
|
|
15
|
-
private createContentByComponentType;
|
|
16
|
-
private createContentByTemplateRef;
|
|
17
|
-
private createModalInstance;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ModalService, never>;
|
|
19
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ModalService>;
|
|
20
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ToastConfig } from './toast.config';
|
|
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
|
-
}
|