@siemens/ix-angular 2.6.1 → 3.0.0-alpha.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/{control-value-accessors → common/directives/control-value-accessors}/boolean-value-accessor.d.ts +3 -3
- package/common/directives/control-value-accessors/date-value-accessor.d.ts +9 -0
- package/{control-value-accessors → common/directives/control-value-accessors}/radio-value-accessor.d.ts +3 -3
- package/{control-value-accessors → common/directives/control-value-accessors}/select-value-accessor.d.ts +3 -3
- package/common/directives/control-value-accessors/text-value-accessor.d.ts +9 -0
- package/{control-value-accessors → common/directives/control-value-accessors}/value-accessor.d.ts +10 -4
- package/common/directives/dropdown-trigger.d.ts +10 -0
- package/{tree → common/directives}/tree.d.ts +5 -5
- package/common/index.d.ts +6 -0
- package/common/providers/modal/index.d.ts +3 -0
- package/{modal → common/providers/modal}/modal.config.d.ts +1 -1
- package/{modal → common/providers/modal}/modal.service.d.ts +5 -0
- package/{toast → common/providers/toast}/index.d.ts +1 -0
- package/{toast → common/providers/toast}/toast.config.d.ts +1 -1
- package/common/utils/create-value-accessor-provider.d.ts +2 -0
- package/components.d.ts +137 -135
- package/declare-components.d.ts +1 -1
- 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/{esm2020 → esm2022}/angular-component-lib/utils.mjs +1 -1
- 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/{esm2020 → esm2022}/declare-components.mjs +1 -2
- 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/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 +26 -0
- package/esm2022/standalone/providers/toast.mjs +31 -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 +3415 -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 +6 -6
- package/ix-icon.d.ts +1 -1
- package/module.d.ts +9 -9
- package/package.json +21 -15
- package/providers/modal/index.d.ts +2 -0
- package/providers/modal/modal.service.d.ts +15 -0
- package/{theme → providers/theme}/theme.service.d.ts +3 -2
- 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 +1331 -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/{dropdown/trigger.directive.d.ts → standalone/directives/dropdown-trigger.d.ts} +3 -3
- 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/app-initialize.d.ts +0 -1
- package/control-value-accessors/date-value-accessor.d.ts +0 -9
- package/control-value-accessors/text-value-accessor.d.ts +0 -9
- package/esm2020/app-initialize.mjs +0 -25
- package/esm2020/components.mjs +0 -2631
- package/esm2020/control-value-accessors/boolean-value-accessor.mjs +0 -49
- package/esm2020/control-value-accessors/date-value-accessor.mjs +0 -45
- package/esm2020/control-value-accessors/index.mjs +0 -14
- package/esm2020/control-value-accessors/radio-value-accessor.mjs +0 -51
- package/esm2020/control-value-accessors/select-value-accessor.mjs +0 -45
- package/esm2020/control-value-accessors/text-value-accessor.mjs +0 -48
- package/esm2020/control-value-accessors/value-accessor.mjs +0 -125
- package/esm2020/dropdown/trigger.directive.mjs +0 -29
- package/esm2020/index.mjs +0 -19
- package/esm2020/ix-icon.mjs +0 -38
- package/esm2020/modal/index.mjs +0 -11
- package/esm2020/modal/modal-ref.mjs +0 -39
- package/esm2020/modal/modal.config.mjs +0 -10
- package/esm2020/modal/modal.service.mjs +0 -87
- package/esm2020/module.mjs +0 -78
- package/esm2020/theme/index.mjs +0 -10
- package/esm2020/theme/theme.service.mjs +0 -38
- package/esm2020/toast/index.mjs +0 -10
- package/esm2020/toast/toast.config.mjs +0 -10
- package/esm2020/toast/toast.service.mjs +0 -52
- package/esm2020/tree/index.mjs +0 -10
- package/esm2020/tree/tree.mjs +0 -81
- package/fesm2015/siemens-ix-angular.mjs +0 -3486
- package/fesm2015/siemens-ix-angular.mjs.map +0 -1
- package/fesm2020/siemens-ix-angular.mjs +0 -3504
- package/fesm2020/siemens-ix-angular.mjs.map +0 -1
- package/modal/index.d.ts +0 -2
- package/tree/index.d.ts +0 -1
- /package/{control-value-accessors → common/directives/control-value-accessors}/index.d.ts +0 -0
- /package/{modal → common/providers/modal}/modal-ref.d.ts +0 -0
- /package/{toast → common/providers/toast}/toast.service.d.ts +0 -0
- /package/{esm2020 → esm2022}/siemens-ix-angular.mjs +0 -0
- /package/{theme → providers/theme}/index.d.ts +0 -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
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ElementRef } from '@angular/core';
|
|
2
|
+
import { DropdownTriggerBaseDirective } from '@siemens/ix-angular/common';
|
|
2
3
|
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class IxDropdownTriggerDirective {
|
|
4
|
-
private element;
|
|
4
|
+
export declare class IxDropdownTriggerDirective extends DropdownTriggerBaseDirective {
|
|
5
5
|
ixDropdownTrigger: any;
|
|
6
6
|
constructor(element: ElementRef);
|
|
7
7
|
protected ngOnChanges(): void;
|
|
8
8
|
static ɵfac: i0.ɵɵFactoryDeclaration<IxDropdownTriggerDirective, never>;
|
|
9
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<IxDropdownTriggerDirective, "[ixDropdownTrigger]", never, { "ixDropdownTrigger": "ixDropdownTrigger"; }, {}, never>;
|
|
9
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<IxDropdownTriggerDirective, "[ixDropdownTrigger]", never, { "ixDropdownTrigger": { "alias": "ixDropdownTrigger"; "required": false; }; }, {}, never, never, true, never>;
|
|
10
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;
|
package/app-initialize.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const appInitialize: (doc: Document) => () => Promise<void>;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from './value-accessor';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class DateValueAccessorDirective extends ValueAccessor {
|
|
5
|
-
constructor(injector: Injector, el: ElementRef);
|
|
6
|
-
handleInputEvent(el: any): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DateValueAccessorDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<DateValueAccessorDirective, "ix-date-input", never, {}, {}, never>;
|
|
9
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { ElementRef, Injector } from '@angular/core';
|
|
2
|
-
import { ValueAccessor } from './value-accessor';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class TextValueAccessorDirective extends ValueAccessor {
|
|
5
|
-
constructor(injector: Injector, el: ElementRef);
|
|
6
|
-
handleInputEvent(el: any): void;
|
|
7
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<TextValueAccessorDirective, never>;
|
|
8
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<TextValueAccessorDirective, "ix-input,ix-number-input,ix-textarea", never, {}, {}, never>;
|
|
9
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
* SPDX-FileCopyrightText: 2024 Siemens AG
|
|
3
|
-
*
|
|
4
|
-
* SPDX-License-Identifier: MIT
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/
|
|
9
|
-
import { defineCustomElements as iconsDefineCustomElements } from '@siemens/ix-icons/loader';
|
|
10
|
-
import { defineCustomElements } from '@siemens/ix/loader';
|
|
11
|
-
let didInitialize = false;
|
|
12
|
-
export const appInitialize = (doc) => {
|
|
13
|
-
return async () => {
|
|
14
|
-
const win = doc.defaultView;
|
|
15
|
-
if (win && typeof window !== 'undefined') {
|
|
16
|
-
if (didInitialize) {
|
|
17
|
-
return;
|
|
18
|
-
}
|
|
19
|
-
didInitialize = true;
|
|
20
|
-
await iconsDefineCustomElements();
|
|
21
|
-
defineCustomElements();
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLWluaXRpYWxpemUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvYXBwLWluaXRpYWxpemUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7Ozs7Ozs7R0FPRztBQUVILE9BQU8sRUFBRSxvQkFBb0IsSUFBSSx5QkFBeUIsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzdGLE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLG9CQUFvQixDQUFDO0FBRTFELElBQUksYUFBYSxHQUFHLEtBQUssQ0FBQztBQUUxQixNQUFNLENBQUMsTUFBTSxhQUFhLEdBQUcsQ0FBQyxHQUFhLEVBQUUsRUFBRTtJQUM3QyxPQUFPLEtBQUssSUFBSSxFQUFFO1FBQ2hCLE1BQU0sR0FBRyxHQUF1QixHQUFHLENBQUMsV0FBa0IsQ0FBQztRQUN2RCxJQUFJLEdBQUcsSUFBSSxPQUFRLE1BQWMsS0FBSyxXQUFXLEVBQUU7WUFDakQsSUFBSSxhQUFhLEVBQUU7Z0JBQ2pCLE9BQU87YUFDUjtZQUVELGFBQWEsR0FBRyxJQUFJLENBQUM7WUFFckIsTUFBTSx5QkFBeUIsRUFBRSxDQUFDO1lBQ2xDLG9CQUFvQixFQUFFLENBQUM7U0FDeEI7SUFDSCxDQUFDLENBQUM7QUFDSixDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyIvKlxuICogU1BEWC1GaWxlQ29weXJpZ2h0VGV4dDogMjAyNCBTaWVtZW5zIEFHXG4gKlxuICogU1BEWC1MaWNlbnNlLUlkZW50aWZpZXI6IE1JVFxuICpcbiAqIFRoaXMgc291cmNlIGNvZGUgaXMgbGljZW5zZWQgdW5kZXIgdGhlIE1JVCBsaWNlbnNlIGZvdW5kIGluIHRoZVxuICogTElDRU5TRSBmaWxlIGluIHRoZSByb290IGRpcmVjdG9yeSBvZiB0aGlzIHNvdXJjZSB0cmVlLlxuICovXG5cbmltcG9ydCB7IGRlZmluZUN1c3RvbUVsZW1lbnRzIGFzIGljb25zRGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC1pY29ucy9sb2FkZXInO1xuaW1wb3J0IHsgZGVmaW5lQ3VzdG9tRWxlbWVudHMgfSBmcm9tICdAc2llbWVucy9peC9sb2FkZXInO1xuXG5sZXQgZGlkSW5pdGlhbGl6ZSA9IGZhbHNlO1xuXG5leHBvcnQgY29uc3QgYXBwSW5pdGlhbGl6ZSA9IChkb2M6IERvY3VtZW50KSA9PiB7XG4gIHJldHVybiBhc3luYyAoKSA9PiB7XG4gICAgY29uc3Qgd2luOiBXaW5kb3cgfCB1bmRlZmluZWQgPSBkb2MuZGVmYXVsdFZpZXcgYXMgYW55O1xuICAgIGlmICh3aW4gJiYgdHlwZW9mICh3aW5kb3cgYXMgYW55KSAhPT0gJ3VuZGVmaW5lZCcpIHtcbiAgICAgIGlmIChkaWRJbml0aWFsaXplKSB7XG4gICAgICAgIHJldHVybjtcbiAgICAgIH1cblxuICAgICAgZGlkSW5pdGlhbGl6ZSA9IHRydWU7XG5cbiAgICAgIGF3YWl0IGljb25zRGVmaW5lQ3VzdG9tRWxlbWVudHMoKTtcbiAgICAgIGRlZmluZUN1c3RvbUVsZW1lbnRzKCk7XG4gICAgfVxuICB9O1xufTtcbiJdfQ==
|