@wavemaker/app-ng-runtime 11.5.0-next.24738 → 11.5.0-next.24740
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.
- app-ng-runtime/components/base/bundles/index.umd.js +24 -20
- app-ng-runtime/components/base/esm2020/widgets/common/base/base.component.mjs +13 -20
- app-ng-runtime/components/base/esm2020/widgets/common/partial-param/partial-param.directive.mjs +13 -2
- app-ng-runtime/components/base/fesm2015/index.mjs +24 -20
- app-ng-runtime/components/base/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/base/fesm2020/index.mjs +24 -20
- app-ng-runtime/components/base/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/base/widgets/common/partial-param/partial-param.directive.d.ts +1 -0
- app-ng-runtime/components/input/epoch/bundles/index.umd.js +6 -11
- app-ng-runtime/components/input/epoch/date/date.component.d.ts +2 -3
- app-ng-runtime/components/input/epoch/esm2020/date/date.component.mjs +6 -11
- app-ng-runtime/components/input/epoch/esm2020/date-time/date-time.component.mjs +2 -2
- app-ng-runtime/components/input/epoch/esm2020/time/time.component.mjs +2 -2
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs +6 -11
- app-ng-runtime/components/input/epoch/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs +6 -11
- app-ng-runtime/components/input/epoch/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/bundles/index.umd.js +12 -9
- app-ng-runtime/components/navigation/menu/esm2020/menu-dropdown-item/menu-dropdown-item.component.mjs +6 -5
- app-ng-runtime/components/navigation/menu/esm2020/menu.component.mjs +6 -5
- app-ng-runtime/components/navigation/menu/esm2020/nav/nav.component.mjs +6 -5
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs +12 -9
- app-ng-runtime/components/navigation/menu/fesm2015/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs +12 -9
- app-ng-runtime/components/navigation/menu/fesm2020/index.mjs.map +1 -1
- app-ng-runtime/components/navigation/menu/menu-dropdown-item/menu-dropdown-item.component.d.ts +4 -3
- app-ng-runtime/components/navigation/menu/menu.component.d.ts +4 -3
- app-ng-runtime/components/navigation/menu/nav/nav.component.d.ts +4 -3
- app-ng-runtime/package.json +1 -1
|
@@ -1692,14 +1692,13 @@ class DateComponent extends BaseDateTimeComponent {
|
|
|
1692
1692
|
this.cdRef.detectChanges();
|
|
1693
1693
|
}
|
|
1694
1694
|
// TODO use BsLocaleService to set the current user's locale to see the localized labels
|
|
1695
|
-
constructor(inj, cdRef, appDefaults
|
|
1695
|
+
constructor(inj, cdRef, appDefaults) {
|
|
1696
1696
|
super(inj, WIDGET_CONFIG$2);
|
|
1697
1697
|
this.cdRef = cdRef;
|
|
1698
1698
|
this.appDefaults = appDefaults;
|
|
1699
1699
|
this.isOpen = false;
|
|
1700
1700
|
this.isEnterPressedOnDateInput = false;
|
|
1701
1701
|
styler(this.nativeElement, this);
|
|
1702
|
-
this.app = app;
|
|
1703
1702
|
this.dateContainerCls = `app-date-${this.widgetId}`;
|
|
1704
1703
|
this._dateOptions.containerClass = `app-date ${this.dateContainerCls}`;
|
|
1705
1704
|
this._dateOptions.showWeekNumbers = false;
|
|
@@ -1779,10 +1778,6 @@ class DateComponent extends BaseDateTimeComponent {
|
|
|
1779
1778
|
if (this.deregisterEventListener) {
|
|
1780
1779
|
this.deregisterEventListener();
|
|
1781
1780
|
}
|
|
1782
|
-
const parentEl = $(this.nativeElement).closest('.app-composite-widget.caption-floating');
|
|
1783
|
-
if (parentEl.length > 0) {
|
|
1784
|
-
this.app.notify('captionPositionAnimate', { displayVal: this.displayValue, nativeEl: parentEl });
|
|
1785
|
-
}
|
|
1786
1781
|
this.blurDateInput(this.isOpen);
|
|
1787
1782
|
}
|
|
1788
1783
|
// change and blur events are added from the template
|
|
@@ -1803,7 +1798,7 @@ class DateComponent extends BaseDateTimeComponent {
|
|
|
1803
1798
|
}
|
|
1804
1799
|
if ($event.type === 'click') {
|
|
1805
1800
|
this.invokeEventCallback('click', { $event: $event });
|
|
1806
|
-
this.focusOnInputEl();
|
|
1801
|
+
// this.focusOnInputEl();
|
|
1807
1802
|
}
|
|
1808
1803
|
if ($event.target && $($event.target).is('input') && !(this.isDropDownDisplayEnabledOnInput(this.showdropdownon))) {
|
|
1809
1804
|
$event.stopPropagation();
|
|
@@ -1878,7 +1873,7 @@ class DateComponent extends BaseDateTimeComponent {
|
|
|
1878
1873
|
}
|
|
1879
1874
|
}
|
|
1880
1875
|
DateComponent.initializeProps = registerProps$2();
|
|
1881
|
-
DateComponent.ɵfac = function DateComponent_Factory(t) { return new (t || DateComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.AppDefaults)
|
|
1876
|
+
DateComponent.ɵfac = function DateComponent_Factory(t) { return new (t || DateComponent)(i0.ɵɵdirectiveInject(i0.Injector), i0.ɵɵdirectiveInject(i0.ChangeDetectorRef), i0.ɵɵdirectiveInject(i1$1.AppDefaults)); };
|
|
1882
1877
|
DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent, selectors: [["", "wmDate", ""]], viewQuery: function DateComponent_Query(rf, ctx) { if (rf & 1) {
|
|
1883
1878
|
i0.ɵɵviewQuery(BsDatepickerDirective, 5);
|
|
1884
1879
|
} if (rf & 2) {
|
|
@@ -1919,7 +1914,7 @@ DateComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: DateComponent
|
|
|
1919
1914
|
provideAs(DateComponent, NG_VALIDATORS, true),
|
|
1920
1915
|
provideAsWidgetRef(DateComponent)
|
|
1921
1916
|
], template: " <input class=\"form-control app-textbox app-dateinput display-input\"\n focus-target\n type=\"text\"\n [name]=\"name\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [value]=\"displayValue\"\n (click)=\"toggleDpDropdown($event, true)\"\n (focus)=\"onDateTimeInputFocus(); invokeOnFocus($event);\"\n (blur)=\"onInputBlur($event)\"\n [disabled]=\"disabled || readonly\"\n [autofocus]=\"autofocus\"\n [required]=\"required\"\n [readOnly]=\"isReadOnly\"\n [attr.placeholder]=\"placeholder\"\n [attr.accesskey]=\"shortcutkey\"\n [attr.aria-label]=\"hint\"\n (change)=\"onDisplayDateChange($event)\"\n (keydown)=\"this._triggeredByUser = true; onDisplayKeydown($event);\">\n\n <span class=\"input-group-btn\">\n <button type=\"button\"\n class=\"btn btn-default btn-time\"\n [tabindex]=\"loadNativeDateInput ? '-1' : tabindex\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [disabled]=\"disabled || readonly\"\n [attr.aria-label]=\"displayValue ? 'Change Date ' + displayValue : 'Choose date by pressing enter'\"\n aria-haspopup=\"true\"\n aria-expanded=\"false\"\n (click)=\"toggleDpDropdown($event, false)\">\n <i aria-hidden=\"true\"\n class=\"app-icon wm-sl-l sl-calendar\"></i>\n </button>\n </span>\n <div style=\"width: 0;display: inline-block;\">\n <input class=\"model-holder\"\n aria-label=\"datepicker dropdownmenu\"\n aria-controls=\"date\"\n [tabindex]=\"-1\"\n [attr.aria-hidden]=\"!!loadNativeDateInput\"\n [container]=\"containerTarget || 'body'\"\n [bsConfig]=\"_dateOptions\"\n [isOpen]=\"isOpen\"\n #datepicker=\"bsDatepicker\"\n bsDatepicker\n [daysDisabled]=\"excludedDaysToDisable\"\n [datesDisabled]=\"excludedDatesToDisable\"\n placement=\"bottom right\"\n [isDisabled]=\"disabled || readonly\"\n [bsValue]=\"bsDataValue\"\n (onShown)=\"onDatePickerOpen()\"\n (onHidden)=\"hideDatepickerDropdown()\"\n (bsValueChange)=\"onDateChange($event)\">\n</div>\n\n<ng-template [ngIf]=\"loadNativeDateInput\">\n <wm-datetimepicker\n dateTimePicker\n mode=\"DATE\"\n [config]=\"_dateOptions\"\n [placement]=\"modal\"\n [excludedDaysToDisable]=\"excludedDaysToDisable\"\n [excludedDatesToDisable]=\"excludedDatesToDisable\"\n [displayFormat]=\"dateInputFormat\"\n [value]=\"bsDataValue\"\n (change)=\"onDateChange($event)\">\n </wm-datetimepicker>\n <div class=\"mobile-input mobile-datepicker-container\"\n [tabindex]=\"tabindex || 0\"\n (focus)=\"onDateTimeInputFocus(true); invokeOnFocus($event);\"\n (blur)=\"onDateTimeInputBlur(); invokeOnTouched($event)\"\n [attr.aria-label]=\"displayValue ? 'Change Date' + displayValue : 'Choose Date'\"\n (click)=\"!(disabled || readonly || isCurrentDate) && showDatePickerModal()\">\n </div>\n</ng-template>\n" }]
|
|
1922
|
-
}], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }
|
|
1917
|
+
}], function () { return [{ type: i0.Injector }, { type: i0.ChangeDetectorRef }, { type: i1$1.AppDefaults }]; }, { bsDatePickerDirective: [{
|
|
1923
1918
|
type: ViewChild,
|
|
1924
1919
|
args: [BsDatepickerDirective]
|
|
1925
1920
|
}] }); })();
|
|
@@ -2263,7 +2258,7 @@ class DatetimeComponent extends BaseDateTimeComponent {
|
|
|
2263
2258
|
}
|
|
2264
2259
|
if ($event.type === 'click') {
|
|
2265
2260
|
this.invokeEventCallback('click', { $event: $event });
|
|
2266
|
-
this.focusOnInputEl();
|
|
2261
|
+
//this.focusOnInputEl();
|
|
2267
2262
|
}
|
|
2268
2263
|
if ($event.target && $($event.target).is('input') && !(this.isDropDownDisplayEnabledOnInput(this.showdropdownon))) {
|
|
2269
2264
|
$event.stopPropagation();
|
|
@@ -2614,7 +2609,7 @@ class TimeComponent extends BaseDateTimeComponent {
|
|
|
2614
2609
|
}
|
|
2615
2610
|
if ($event.type === 'click') {
|
|
2616
2611
|
this.invokeEventCallback('click', { $event: $event });
|
|
2617
|
-
this.focusOnInputEl();
|
|
2612
|
+
//this.focusOnInputEl();
|
|
2618
2613
|
}
|
|
2619
2614
|
if ($event.target && $($event.target).is('input') && !(this.isDropDownDisplayEnabledOnInput(this.showdropdownon))) {
|
|
2620
2615
|
return;
|