raise-common-lib 0.0.226 → 0.0.228
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/bundles/raise-common-lib.umd.js +31 -15
- package/bundles/raise-common-lib.umd.js.map +1 -1
- package/bundles/raise-common-lib.umd.min.js +1 -1
- package/bundles/raise-common-lib.umd.min.js.map +1 -1
- package/esm2015/lib/dashboard/dashboard-properties/data-mart-new/data-mart-new.component.js +2 -2
- package/esm2015/lib/dashboard/dashboardPorlets.service.js +2 -2
- package/esm2015/lib/dashboard/dialog-group/download/index.component.js +2 -2
- package/esm2015/lib/dashboard/pane-group-new.component.js +2 -2
- package/esm2015/lib/dashboard/sidebar-iconlist/field-format/field-format.component.js +2 -2
- package/esm2015/lib/float-box/index.component.js +19 -3
- package/esm5/lib/dashboard/dashboard-properties/data-mart-new/data-mart-new.component.js +2 -2
- package/esm5/lib/dashboard/dashboardPorlets.service.js +2 -2
- package/esm5/lib/dashboard/dialog-group/download/index.component.js +2 -2
- package/esm5/lib/dashboard/pane-group-new.component.js +2 -2
- package/esm5/lib/dashboard/sidebar-iconlist/field-format/field-format.component.js +2 -2
- package/esm5/lib/float-box/index.component.js +19 -3
- package/fesm2015/raise-common-lib.js +27 -12
- package/fesm2015/raise-common-lib.js.map +1 -1
- package/fesm5/raise-common-lib.js +27 -12
- package/fesm5/raise-common-lib.js.map +1 -1
- package/lib/dashboard/dashboard-properties/data-mart-new/data-mart-new.component.d.ts +1 -1
- package/lib/dashboard/dashboardPorlets.service.d.ts +1 -1
- package/lib/dashboard/dialog-group/download/index.component.d.ts +1 -1
- package/lib/dashboard/pane-group-new.component.d.ts +2 -1
- package/lib/dashboard/sidebar-iconlist/field-format/field-format.component.d.ts +1 -1
- package/lib/float-box/index.component.d.ts +1 -0
- package/package.json +1 -1
- package/raise-common-lib.metadata.json +1 -1
|
@@ -15,7 +15,6 @@ import { setCulture, L10n, addClass, enableRipple, Browser, createElement } from
|
|
|
15
15
|
import ResizeObserver from 'resize-observer-polyfill';
|
|
16
16
|
import { Query, DataUtil } from '@syncfusion/ej2-data';
|
|
17
17
|
import moment from 'moment';
|
|
18
|
-
import { MatDialog as MatDialog$1, MatDialogRef as MatDialogRef$1, MAT_DIALOG_DATA as MAT_DIALOG_DATA$1 } from '@angular/material';
|
|
19
18
|
import CircularJSON from 'circular-json';
|
|
20
19
|
import { MAT_DATE_FORMATS } from '@angular/material/core';
|
|
21
20
|
import { DashboardLayoutModule } from '@syncfusion/ej2-angular-layouts';
|
|
@@ -1142,6 +1141,7 @@ var FloatBoxComponent = /** @class */ (function () {
|
|
|
1142
1141
|
this._trigger = "hover";
|
|
1143
1142
|
this._animation = "no";
|
|
1144
1143
|
this._fixed = "no";
|
|
1144
|
+
this._floatClass = "";
|
|
1145
1145
|
this.openChange = new EventEmitter();
|
|
1146
1146
|
this.FIXED_CONTAINER_ID = "kt-float-box-fixed-container";
|
|
1147
1147
|
this.opened = "no";
|
|
@@ -1150,8 +1150,14 @@ var FloatBoxComponent = /** @class */ (function () {
|
|
|
1150
1150
|
* @return {?}
|
|
1151
1151
|
*/
|
|
1152
1152
|
function (event) {
|
|
1153
|
+
/** @type {?} */
|
|
1154
|
+
var floatElement;
|
|
1155
|
+
if (_this._floatClass) {
|
|
1156
|
+
floatElement = document.querySelector("" + _this._floatClass);
|
|
1157
|
+
}
|
|
1153
1158
|
if (!_this.rootElement.nativeElement.contains((/** @type {?} */ (event.target))) &&
|
|
1154
|
-
!_this.fixedContainerEl.contains((/** @type {?} */ (event.target)))
|
|
1159
|
+
!_this.fixedContainerEl.contains((/** @type {?} */ (event.target))) &&
|
|
1160
|
+
(!floatElement || !floatElement.contains((/** @type {?} */ (event.target))))) {
|
|
1155
1161
|
_this.opened = "no";
|
|
1156
1162
|
_this.openChange.emit(false);
|
|
1157
1163
|
window.removeEventListener("click", _this.onClickOutside);
|
|
@@ -1163,8 +1169,14 @@ var FloatBoxComponent = /** @class */ (function () {
|
|
|
1163
1169
|
* @return {?}
|
|
1164
1170
|
*/
|
|
1165
1171
|
function (event) {
|
|
1172
|
+
/** @type {?} */
|
|
1173
|
+
var floatElement;
|
|
1174
|
+
if (_this._floatClass) {
|
|
1175
|
+
floatElement = document.querySelector("" + _this._floatClass);
|
|
1176
|
+
}
|
|
1166
1177
|
if (!_this.rootElement.nativeElement.contains((/** @type {?} */ (event.target))) &&
|
|
1167
|
-
!_this.contentElement.nativeElement.contains((/** @type {?} */ (event.target)))
|
|
1178
|
+
!_this.contentElement.nativeElement.contains((/** @type {?} */ (event.target))) &&
|
|
1179
|
+
(!floatElement || !floatElement.contains((/** @type {?} */ (event.target))))) {
|
|
1168
1180
|
_this.opened = "no";
|
|
1169
1181
|
_this.openChange.emit(false);
|
|
1170
1182
|
window.removeEventListener("click", _this.onMoveOutside);
|
|
@@ -1426,6 +1438,7 @@ var FloatBoxComponent = /** @class */ (function () {
|
|
|
1426
1438
|
_trigger: [{ type: Input, args: ["trigger",] }],
|
|
1427
1439
|
_animation: [{ type: Input, args: ["animation",] }],
|
|
1428
1440
|
_fixed: [{ type: Input, args: ["fixed",] }],
|
|
1441
|
+
_floatClass: [{ type: Input, args: ["floatClass",] }],
|
|
1429
1442
|
openChange: [{ type: Output, args: ["openChange",] }],
|
|
1430
1443
|
rootElement: [{ type: ViewChild, args: ["element", { static: false },] }],
|
|
1431
1444
|
contentElement: [{ type: ViewChild, args: ["content", { static: false },] }]
|
|
@@ -1444,6 +1457,8 @@ if (false) {
|
|
|
1444
1457
|
/** @type {?} */
|
|
1445
1458
|
FloatBoxComponent.prototype._fixed;
|
|
1446
1459
|
/** @type {?} */
|
|
1460
|
+
FloatBoxComponent.prototype._floatClass;
|
|
1461
|
+
/** @type {?} */
|
|
1447
1462
|
FloatBoxComponent.prototype.openChange;
|
|
1448
1463
|
/** @type {?} */
|
|
1449
1464
|
FloatBoxComponent.prototype.rootElement;
|
|
@@ -29432,7 +29447,7 @@ var DashboardPorletsService = /** @class */ (function () {
|
|
|
29432
29447
|
/** @nocollapse */
|
|
29433
29448
|
DashboardPorletsService.ctorParameters = function () { return [
|
|
29434
29449
|
{ type: ApiList },
|
|
29435
|
-
{ type: MatDialog
|
|
29450
|
+
{ type: MatDialog },
|
|
29436
29451
|
{ type: DialogService },
|
|
29437
29452
|
{ type: DashboardService },
|
|
29438
29453
|
{ type: HttpClient },
|
|
@@ -30755,8 +30770,8 @@ var FieldFormatComponent = /** @class */ (function () {
|
|
|
30755
30770
|
{ type: DashboardService },
|
|
30756
30771
|
{ type: DashboardPorletsService },
|
|
30757
30772
|
{ type: DialogService },
|
|
30758
|
-
{ type: MatDialogRef
|
|
30759
|
-
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA
|
|
30773
|
+
{ type: MatDialogRef },
|
|
30774
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
30760
30775
|
{ type: undefined, decorators: [{ type: Optional }, { type: Inject, args: [PBF_TOKEN,] }] }
|
|
30761
30776
|
]; };
|
|
30762
30777
|
FieldFormatComponent.propDecorators = {
|
|
@@ -31521,10 +31536,10 @@ var DataMartNewComponent = /** @class */ (function () {
|
|
|
31521
31536
|
];
|
|
31522
31537
|
/** @nocollapse */
|
|
31523
31538
|
DataMartNewComponent.ctorParameters = function () { return [
|
|
31524
|
-
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA
|
|
31525
|
-
{ type: MatDialogRef
|
|
31539
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
31540
|
+
{ type: MatDialogRef },
|
|
31526
31541
|
{ type: DialogService },
|
|
31527
|
-
{ type: MatDialog
|
|
31542
|
+
{ type: MatDialog },
|
|
31528
31543
|
{ type: ApiList },
|
|
31529
31544
|
{ type: DashboardService },
|
|
31530
31545
|
{ type: DashboardPorletsService },
|
|
@@ -32028,8 +32043,8 @@ var PaneDownloadComponent = /** @class */ (function () {
|
|
|
32028
32043
|
];
|
|
32029
32044
|
/** @nocollapse */
|
|
32030
32045
|
PaneDownloadComponent.ctorParameters = function () { return [
|
|
32031
|
-
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA
|
|
32032
|
-
{ type: MatDialogRef
|
|
32046
|
+
{ type: undefined, decorators: [{ type: Inject, args: [MAT_DIALOG_DATA,] }] },
|
|
32047
|
+
{ type: MatDialogRef },
|
|
32033
32048
|
{ type: DashboardPorletsService },
|
|
32034
32049
|
{ type: HttpClient },
|
|
32035
32050
|
{ type: ApiList },
|
|
@@ -35122,7 +35137,7 @@ var PaneGroupNewComponent = /** @class */ (function () {
|
|
|
35122
35137
|
];
|
|
35123
35138
|
/** @nocollapse */
|
|
35124
35139
|
PaneGroupNewComponent.ctorParameters = function () { return [
|
|
35125
|
-
{ type: MatDialog
|
|
35140
|
+
{ type: MatDialog },
|
|
35126
35141
|
{ type: DialogService },
|
|
35127
35142
|
{ type: DashboardService },
|
|
35128
35143
|
{ type: ApiList },
|