@magic-xpa/angular 4.1100.0-dev4110.253 → 4.1100.0-dev4110.257
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/esm2022/src/controls.metadata.model.mjs +1 -1
- package/esm2022/src/services/OverlayWindowService.mjs +1 -1
- package/esm2022/src/services/StylesMapManager.mjs +1 -1
- package/esm2022/src/services/accessor.magic.service.mjs +1 -1
- package/esm2022/src/services/commands-collector.magic.service.mjs +1 -1
- package/esm2022/src/services/component-list.magic.service.mjs +1 -1
- package/esm2022/src/services/engine.magic.service.mjs +1 -1
- package/esm2022/src/services/magic-color.service.mjs +1 -1
- package/esm2022/src/services/mg-date-adapter.mjs +1 -1
- package/esm2022/src/services/router-commands.magic.service.mjs +1 -1
- package/esm2022/src/services/subform.magic.service.mjs +1 -1
- package/esm2022/src/services/table.magic.service.mjs +1 -1
- package/esm2022/src/services/task.magics.service.mjs +1 -1
- package/esm2022/src/ui/GuiInteractiveExecutor.mjs +1 -1
- package/esm2022/src/ui/directives/magic/form-controls/control-value-accessors/date.cva.directive.mjs +1 -1
- package/esm2022/src/ui/directives/magic/nocontrol.magic.directive.mjs +1 -1
- package/esm2022/src/ui/directives/magic/row.magic.directive.mjs +1 -1
- package/esm2022/src/ui/directives/magic.directive.mjs +6 -3
- package/esm2022/src/ui/directives/mgformat.magic.directive.mjs +1 -1
- package/esm2022/src/ui/directives/range-validator.magic.directive.mjs +1 -1
- package/esm2022/src/ui/magic-confirmationBox.mjs +1 -1
- package/esm2022/src/ui/magic-modal/magic-overlay-container-wrapper.mjs +1 -1
- package/esm2022/src/ui/magic-modal/magic-overlay-container.mjs +1 -1
- package/esm2022/src/ui/magic-root.component.mjs +1 -1
- package/esm2022/src/ui/mgerror.magic.component.mjs +1 -1
- package/esm2022/src/ui/pipes/date.magic.pipe.mjs +1 -1
- package/esm2022/src/ui/pipes/time.magic.pipe.mjs +1 -1
- package/esm2022/src/ui/pipes/time24.magic.pipe.mjs +1 -1
- package/esm2022/src/ui/router-container.magic.component.mjs +1 -1
- package/esm2022/src/ui/task-base.magic.component.mjs +1 -1
- package/esm2022/src/ui/utils.mjs +1 -1
- package/fesm2022/magic-xpa-angular.mjs +5 -2
- package/fesm2022/magic-xpa-angular.mjs.map +1 -1
- package/package.json +3 -3
- package/src/ui/directives/magic.directive.d.ts +2 -1
@@ -2879,6 +2879,7 @@ class MagicDirective {
|
|
2879
2879
|
this.eventsOnlyVal = true;
|
2880
2880
|
}
|
2881
2881
|
;
|
2882
|
+
pollTime = 200;
|
2882
2883
|
rowId;
|
2883
2884
|
htmlElement;
|
2884
2885
|
component;
|
@@ -2933,7 +2934,7 @@ class MagicDirective {
|
|
2933
2934
|
});
|
2934
2935
|
fromEvent(this.htmlElement, "input").pipe(map((event) => {
|
2935
2936
|
return event.target.value;
|
2936
|
-
}), debounceTime(
|
2937
|
+
}), debounceTime(this.pollTime)).subscribe((x) => {
|
2937
2938
|
if (this.task.getProperty(this.id, HtmlProperties.BindingLevel, this.rowId) === BindingLevel.Character) {
|
2938
2939
|
let attribute = this.task.Records.list[0].getControlMetadata(this.id).dataType;
|
2939
2940
|
if (attribute !== StorageAttributeType.Date && attribute != StorageAttributeType.Time)
|
@@ -3057,7 +3058,7 @@ class MagicDirective {
|
|
3057
3058
|
this.subscribeRefreshDom.unsubscribe();
|
3058
3059
|
}
|
3059
3060
|
static ɵfac = function MagicDirective_Factory(t) { return new (t || MagicDirective)(i0.ɵɵdirectiveInject(TaskMagicService), i0.ɵɵdirectiveInject(i0.ElementRef), i0.ɵɵdirectiveInject(i0.Renderer2), i0.ɵɵdirectiveInject(i0.ViewContainerRef), i0.ɵɵdirectiveInject(i2$1.Platform), i0.ɵɵdirectiveInject(RowMagicDirective, 8)); };
|
3060
|
-
static ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", rowId: "rowId" } });
|
3061
|
+
static ɵdir = i0.ɵɵdefineDirective({ type: MagicDirective, selectors: [["", "magic", ""]], inputs: { magic: "magic", eventsOnly: "eventsOnly", pollTime: "pollTime", rowId: "rowId" } });
|
3061
3062
|
}
|
3062
3063
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(MagicDirective, [{
|
3063
3064
|
type: Directive,
|
@@ -3072,6 +3073,8 @@ class MagicDirective {
|
|
3072
3073
|
}], eventsOnly: [{
|
3073
3074
|
type: Input,
|
3074
3075
|
args: ["eventsOnly"]
|
3076
|
+
}], pollTime: [{
|
3077
|
+
type: Input
|
3075
3078
|
}], rowId: [{
|
3076
3079
|
type: Input
|
3077
3080
|
}] }); })();
|