@siemens/ix-angular 0.0.0-pr-1974-20250627115746 → 0.0.0-pr-2015-20250716160704
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/common/directives/control-value-accessors/radio-value-accessor.d.ts +4 -0
- package/common/providers/toast/toast.config.d.ts +3 -2
- package/components.d.ts +10 -5
- package/esm2022/common/directives/control-value-accessors/radio-value-accessor.mjs +17 -1
- package/esm2022/common/providers/toast/toast.config.mjs +1 -1
- package/esm2022/common/providers/toast/toast.service.mjs +24 -9
- package/esm2022/components.mjs +4 -4
- package/esm2022/providers/toast/toast.service.mjs +12 -30
- package/esm2022/standalone/components.mjs +4 -4
- package/fesm2022/siemens-ix-angular-common.mjs +39 -8
- package/fesm2022/siemens-ix-angular-common.mjs.map +1 -1
- package/fesm2022/siemens-ix-angular-standalone.mjs +3 -3
- package/fesm2022/siemens-ix-angular-standalone.mjs.map +1 -1
- package/fesm2022/siemens-ix-angular.mjs +15 -33
- package/fesm2022/siemens-ix-angular.mjs.map +1 -1
- package/package.json +2 -2
- package/providers/toast/toast.service.d.ts +7 -5
- package/standalone/components.d.ts +10 -5
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { themeSwitcher } from '@siemens/ix';
|
|
2
2
|
export * from '@siemens/ix';
|
|
3
3
|
import { __decorate } from 'tslib';
|
|
4
4
|
import * as i0 from '@angular/core';
|
|
5
5
|
import { ChangeDetectionStrategy, Component, Injectable, EventEmitter, Output, Directive, Input, NgZone, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
6
6
|
import { fromEvent } from 'rxjs';
|
|
7
|
-
import { TreeBaseDirective, ModalService as ModalService$1, BooleanValueAccessorBaseDirective, createValueAccessorProvider, RadioValueAccessorBaseDirective, SelectValueAccessorBaseDirective, TextValueAccessorBaseDirective, DateValueAccessorBaseDirective, DropdownTriggerBaseDirective } from '@siemens/ix-angular/common';
|
|
7
|
+
import { TreeBaseDirective, ModalService as ModalService$1, ToastService as ToastService$1, BooleanValueAccessorBaseDirective, createValueAccessorProvider, RadioValueAccessorBaseDirective, SelectValueAccessorBaseDirective, TextValueAccessorBaseDirective, DateValueAccessorBaseDirective, DropdownTriggerBaseDirective } from '@siemens/ix-angular/common';
|
|
8
8
|
export { IxActiveModal } from '@siemens/ix-angular/common';
|
|
9
9
|
import { DOCUMENT } from '@angular/common';
|
|
10
10
|
import { defineCustomElements } from '@siemens/ix-icons/loader';
|
|
@@ -2482,11 +2482,11 @@ let IxTimeInput = class IxTimeInput {
|
|
|
2482
2482
|
proxyOutputs(this, this.el, ['valueChange', 'validityStateChange']);
|
|
2483
2483
|
}
|
|
2484
2484
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: IxTimeInput, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
2485
|
-
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: IxTimeInput, selector: "ix-time-input", inputs: { disabled: "disabled", format: "format", helperText: "helperText", hourInterval: "hourInterval", i18nErrorTimeUnparsable: "i18nErrorTimeUnparsable", i18nHourColumnHeader: "i18nHourColumnHeader", i18nMillisecondColumnHeader: "i18nMillisecondColumnHeader", i18nMinuteColumnHeader: "i18nMinuteColumnHeader", i18nSecondColumnHeader: "i18nSecondColumnHeader", i18nSelectTime: "i18nSelectTime", i18nTime: "i18nTime", infoText: "infoText", invalidText: "invalidText", label: "label",
|
|
2485
|
+
/** @nocollapse */ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: IxTimeInput, selector: "ix-time-input", inputs: { disabled: "disabled", format: "format", helperText: "helperText", hourInterval: "hourInterval", i18nErrorTimeUnparsable: "i18nErrorTimeUnparsable", i18nHourColumnHeader: "i18nHourColumnHeader", i18nMillisecondColumnHeader: "i18nMillisecondColumnHeader", i18nMinuteColumnHeader: "i18nMinuteColumnHeader", i18nSecondColumnHeader: "i18nSecondColumnHeader", i18nSelectTime: "i18nSelectTime", i18nTime: "i18nTime", infoText: "infoText", invalidText: "invalidText", label: "label", millisecondInterval: "millisecondInterval", minuteInterval: "minuteInterval", name: "name", placeholder: "placeholder", readonly: "readonly", required: "required", secondInterval: "secondInterval", showTextAsTooltip: "showTextAsTooltip", validText: "validText", value: "value", warningText: "warningText" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2486
2486
|
};
|
|
2487
2487
|
IxTimeInput = __decorate([
|
|
2488
2488
|
ProxyCmp({
|
|
2489
|
-
inputs: ['disabled', 'format', 'helperText', 'hourInterval', 'i18nErrorTimeUnparsable', 'i18nHourColumnHeader', 'i18nMillisecondColumnHeader', 'i18nMinuteColumnHeader', 'i18nSecondColumnHeader', 'i18nSelectTime', 'i18nTime', 'infoText', 'invalidText', 'label', '
|
|
2489
|
+
inputs: ['disabled', 'format', 'helperText', 'hourInterval', 'i18nErrorTimeUnparsable', 'i18nHourColumnHeader', 'i18nMillisecondColumnHeader', 'i18nMinuteColumnHeader', 'i18nSecondColumnHeader', 'i18nSelectTime', 'i18nTime', 'infoText', 'invalidText', 'label', 'millisecondInterval', 'minuteInterval', 'name', 'placeholder', 'readonly', 'required', 'secondInterval', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
|
|
2490
2490
|
methods: ['getNativeInputElement', 'focusInput']
|
|
2491
2491
|
})
|
|
2492
2492
|
], IxTimeInput);
|
|
@@ -2497,7 +2497,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2497
2497
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2498
2498
|
template: '<ng-content></ng-content>',
|
|
2499
2499
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
2500
|
-
inputs: ['disabled', 'format', 'helperText', 'hourInterval', 'i18nErrorTimeUnparsable', 'i18nHourColumnHeader', 'i18nMillisecondColumnHeader', 'i18nMinuteColumnHeader', 'i18nSecondColumnHeader', 'i18nSelectTime', 'i18nTime', 'infoText', 'invalidText', 'label', '
|
|
2500
|
+
inputs: ['disabled', 'format', 'helperText', 'hourInterval', 'i18nErrorTimeUnparsable', 'i18nHourColumnHeader', 'i18nMillisecondColumnHeader', 'i18nMinuteColumnHeader', 'i18nSecondColumnHeader', 'i18nSelectTime', 'i18nTime', 'infoText', 'invalidText', 'label', 'millisecondInterval', 'minuteInterval', 'name', 'placeholder', 'readonly', 'required', 'secondInterval', 'showTextAsTooltip', 'validText', 'value', 'warningText'],
|
|
2501
2501
|
}]
|
|
2502
2502
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
2503
2503
|
let IxTimePicker = class IxTimePicker {
|
|
@@ -2917,36 +2917,18 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2917
2917
|
* This source code is licensed under the MIT license found in the
|
|
2918
2918
|
* LICENSE file in the root directory of this source tree.
|
|
2919
2919
|
*/
|
|
2920
|
-
class ToastService {
|
|
2921
|
-
|
|
2922
|
-
|
|
2920
|
+
class ToastService extends ToastService$1 {
|
|
2921
|
+
constructor() {
|
|
2922
|
+
super();
|
|
2923
2923
|
}
|
|
2924
2924
|
getPosition() {
|
|
2925
|
-
return
|
|
2925
|
+
return super.getPosition();
|
|
2926
2926
|
}
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2930
|
-
|
|
2931
|
-
|
|
2932
|
-
close: null,
|
|
2933
|
-
};
|
|
2934
|
-
const embeddedView = config.message.createEmbeddedView({
|
|
2935
|
-
$implicit: context,
|
|
2936
|
-
});
|
|
2937
|
-
const node = embeddedView.rootNodes[0];
|
|
2938
|
-
const instance = await toast({
|
|
2939
|
-
...config,
|
|
2940
|
-
message: node,
|
|
2941
|
-
});
|
|
2942
|
-
context.close = () => {
|
|
2943
|
-
instance.close();
|
|
2944
|
-
};
|
|
2945
|
-
embeddedView.detectChanges();
|
|
2946
|
-
instance.onClose.once(() => {
|
|
2947
|
-
embeddedView.destroy();
|
|
2948
|
-
});
|
|
2949
|
-
return instance;
|
|
2927
|
+
setPosition(position) {
|
|
2928
|
+
super.setPosition(position);
|
|
2929
|
+
}
|
|
2930
|
+
show(config) {
|
|
2931
|
+
return super.show(config);
|
|
2950
2932
|
}
|
|
2951
2933
|
/** @nocollapse */ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToastService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
2952
2934
|
/** @nocollapse */ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: ToastService, providedIn: 'root' });
|
|
@@ -2956,7 +2938,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImpo
|
|
|
2956
2938
|
args: [{
|
|
2957
2939
|
providedIn: 'root',
|
|
2958
2940
|
}]
|
|
2959
|
-
}] });
|
|
2941
|
+
}], ctorParameters: () => [] });
|
|
2960
2942
|
|
|
2961
2943
|
/*
|
|
2962
2944
|
* SPDX-FileCopyrightText: 2024 Siemens AG
|