@acorex/platform 19.3.3-next.0 → 19.3.4
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/lib/settings/settings.service.d.ts +1 -1
- package/core/lib/data/datasource-definition-provider.service.d.ts +30 -0
- package/core/lib/data/index.d.ts +1 -0
- package/core/lib/utils/index.d.ts +0 -1
- package/fesm2022/acorex-platform-auth.mjs +19 -19
- package/fesm2022/acorex-platform-auth.mjs.map +1 -1
- package/fesm2022/acorex-platform-common.mjs +107 -107
- package/fesm2022/acorex-platform-common.mjs.map +1 -1
- package/fesm2022/acorex-platform-core.mjs +51 -51
- package/fesm2022/acorex-platform-core.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-builder.mjs +46 -42
- package/fesm2022/acorex-platform-layout-builder.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-components.mjs +6 -6
- package/fesm2022/acorex-platform-layout-components.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-designer.mjs +72 -72
- package/fesm2022/acorex-platform-layout-designer.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-entity.mjs +91 -91
- package/fesm2022/acorex-platform-layout-entity.mjs.map +1 -1
- package/fesm2022/acorex-platform-layout-filters.mjs +3 -3
- package/fesm2022/acorex-platform-layout-filters.mjs.map +1 -1
- package/fesm2022/acorex-platform-native.mjs +7 -7
- package/fesm2022/acorex-platform-native.mjs.map +1 -1
- package/fesm2022/{acorex-platform-themes-default-details-view.component-CAa99Vts.mjs → acorex-platform-themes-default-details-view.component-w1GLOu_c.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-details-view.component-CAa99Vts.mjs.map → acorex-platform-themes-default-details-view.component-w1GLOu_c.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs → acorex-platform-themes-default-entity-master-create-view.component-BWsMbHQS.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-create-view.component-ClHHAoed.mjs.map → acorex-platform-themes-default-entity-master-create-view.component-BWsMbHQS.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BgE6rxsd.mjs → acorex-platform-themes-default-entity-master-list-view.component-Cxi1w-iq.mjs} +22 -22
- package/fesm2022/{acorex-platform-themes-default-entity-master-list-view.component-BgE6rxsd.mjs.map → acorex-platform-themes-default-entity-master-list-view.component-Cxi1w-iq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DzHZdi2R.mjs → acorex-platform-themes-default-entity-master-modify-view.component-DWCclk-S.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-entity-master-modify-view.component-DzHZdi2R.mjs.map → acorex-platform-themes-default-entity-master-modify-view.component-DWCclk-S.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnrccLHY.mjs → acorex-platform-themes-default-entity-master-single-view.component-qu3j-fxn.mjs} +7 -7
- package/fesm2022/{acorex-platform-themes-default-entity-master-single-view.component-CnrccLHY.mjs.map → acorex-platform-themes-default-entity-master-single-view.component-qu3j-fxn.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-401.component-Ycz5LYvk.mjs → acorex-platform-themes-default-error-401.component-CAfQVBOI.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-401.component-Ycz5LYvk.mjs.map → acorex-platform-themes-default-error-401.component-CAfQVBOI.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DvVSMoRS.mjs → acorex-platform-themes-default-error-404.component-DQ4nWPip.mjs} +4 -4
- package/fesm2022/{acorex-platform-themes-default-error-404.component-DvVSMoRS.mjs.map → acorex-platform-themes-default-error-404.component-DQ4nWPip.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DHFRZS-7.mjs +19 -0
- package/fesm2022/{acorex-platform-themes-default-error-offline.component-DU6dstng.mjs.map → acorex-platform-themes-default-error-offline.component-DHFRZS-7.mjs.map} +1 -1
- package/fesm2022/acorex-platform-themes-default.mjs +50 -50
- package/fesm2022/acorex-platform-themes-default.mjs.map +1 -1
- package/fesm2022/acorex-platform-themes-shared.mjs +67 -67
- package/fesm2022/acorex-platform-themes-shared.mjs.map +1 -1
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-DSO0iNB_.mjs → acorex-platform-widgets-button-widget-designer.component-CLna7DRq.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-button-widget-designer.component-DSO0iNB_.mjs.map → acorex-platform-widgets-button-widget-designer.component-CLna7DRq.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs → acorex-platform-widgets-checkbox-widget-column.component-BQcHI7vG.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-column.component-BfVyjSLL.mjs.map → acorex-platform-widgets-checkbox-widget-column.component-BQcHI7vG.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-DDIkt5nB.mjs → acorex-platform-widgets-checkbox-widget-designer.component-Bld65JIi.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-designer.component-DDIkt5nB.mjs.map → acorex-platform-widgets-checkbox-widget-designer.component-Bld65JIi.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-CqHkVcv-.mjs → acorex-platform-widgets-checkbox-widget-view.component-CAGwyk9s.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-checkbox-widget-view.component-CqHkVcv-.mjs.map → acorex-platform-widgets-checkbox-widget-view.component-CAGwyk9s.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-l_Of5uKT.mjs → acorex-platform-widgets-color-box-widget-designer.component-B6N5rPk5.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-color-box-widget-designer.component-l_Of5uKT.mjs.map → acorex-platform-widgets-color-box-widget-designer.component-B6N5rPk5.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-KvKD5byB.mjs → acorex-platform-widgets-contact-widget-filter.component-Bg9CUMnD.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-contact-widget-filter.component-KvKD5byB.mjs.map → acorex-platform-widgets-contact-widget-filter.component-Bg9CUMnD.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-BIvAjvW3.mjs → acorex-platform-widgets-page-widget-designer.component-9XMpubtr.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-page-widget-designer.component-BIvAjvW3.mjs.map → acorex-platform-widgets-page-widget-designer.component-9XMpubtr.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-rich-text-popup.component-CXLjPrFq.mjs → acorex-platform-widgets-rich-text-popup.component-BZkftryb.mjs} +12 -12
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-BZkftryb.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-edit-popup.component-1IseEVXQ.mjs → acorex-platform-widgets-tabular-data-edit-popup.component-16K2wwtu.mjs} +6 -6
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-16K2wwtu.mjs.map +1 -0
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BiO5M_eY.mjs → acorex-platform-widgets-tabular-data-view-popup.component-DJtxN1VV.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-tabular-data-view-popup.component-BiO5M_eY.mjs.map → acorex-platform-widgets-tabular-data-view-popup.component-DJtxN1VV.mjs.map} +1 -1
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DPy2UR_J.mjs → acorex-platform-widgets-text-block-widget-designer.component-CXNsxV-t.mjs} +4 -4
- package/fesm2022/{acorex-platform-widgets-text-block-widget-designer.component-DPy2UR_J.mjs.map → acorex-platform-widgets-text-block-widget-designer.component-CXNsxV-t.mjs.map} +1 -1
- package/fesm2022/acorex-platform-widgets.mjs +631 -621
- package/fesm2022/acorex-platform-widgets.mjs.map +1 -1
- package/fesm2022/acorex-platform-workflow.mjs +25 -25
- package/fesm2022/acorex-platform-workflow.mjs.map +1 -1
- package/layout/builder/lib/builder/widget-registery.service.d.ts +5 -0
- package/layout/entity/lib/entity-master-create.viewmodel.d.ts +1 -1
- package/package.json +1 -1
- package/themes/default/lib/layouts/root-layout/components/header/header.component.d.ts +6 -6
- package/themes/default/lib/layouts/root-layout/horizontal/horizontal-layout.component.d.ts +6 -6
- package/themes/default/lib/layouts/root-layout/root-layout.component.d.ts +1 -1
- package/themes/default/lib/layouts/root-layout/vertical/vertical-layout.component.d.ts +6 -6
- package/widgets/lib/widgets/advance/map/map-box-widget-edit.component.d.ts +1 -0
- package/widgets/lib/widgets/editors/rich-text/rich-text-popup.component.d.ts +3 -3
- package/widgets/lib/widgets/editors/rich-text/rich-text-widget-column.component.d.ts +0 -5
- package/widgets/lib/widgets/editors/rich-text/rich-text-widget-view.component.d.ts +0 -5
- package/widgets/lib/widgets/editors/tabular-data/tabular-widget.types.d.ts +1 -3
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-column.component.d.ts +9 -0
- package/widgets/lib/widgets/editors/time-duration/time-duration-widget-view.component.d.ts +7 -1
- package/core/lib/utils/html-utils.d.ts +0 -9
- package/fesm2022/acorex-platform-themes-default-error-offline.component-DU6dstng.mjs +0 -19
- package/fesm2022/acorex-platform-widgets-rich-text-popup.component-CXLjPrFq.mjs.map +0 -1
- package/fesm2022/acorex-platform-widgets-tabular-data-edit-popup.component-1IseEVXQ.mjs.map +0 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { get, isPlainObject, set, isArray, merge, isNil, isObjectLike, transform, isEmpty, isUndefined, endsWith, startsWith, includes, lte, gte, lt, gt, isEqual, orderBy } from 'lodash-es';
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
|
-
import { input, effect, Directive, EventEmitter, HostListener, Output,
|
|
3
|
+
import { InjectionToken, inject, Injectable, input, effect, Directive, EventEmitter, HostListener, Output, signal, Pipe, provideAppInitializer } from '@angular/core';
|
|
4
4
|
import { Subject, interval } from 'rxjs';
|
|
5
5
|
import { AXCalendarService } from '@acorex/core/date-time';
|
|
6
6
|
import { startWith, map } from 'rxjs/operators';
|
|
7
|
-
import { DomSanitizer } from '@angular/platform-browser';
|
|
8
7
|
|
|
9
8
|
class AXPDataGenerator {
|
|
10
9
|
static uuid() {
|
|
@@ -308,6 +307,31 @@ function objectKeyValueTransforms(keyName) {
|
|
|
308
307
|
};
|
|
309
308
|
}
|
|
310
309
|
|
|
310
|
+
const AXP_DATASOURCE_DEFINITION_PROVIDER = new InjectionToken('AXP_DATASOURCE_TYPE_PROVIDER');
|
|
311
|
+
class AXPDataSourceDefinitionProviderService {
|
|
312
|
+
constructor() {
|
|
313
|
+
this.providers = inject(AXP_DATASOURCE_DEFINITION_PROVIDER, { optional: true });
|
|
314
|
+
}
|
|
315
|
+
async items() {
|
|
316
|
+
const items = [];
|
|
317
|
+
if (Array.isArray(this.providers)) {
|
|
318
|
+
for (const provider of this.providers) {
|
|
319
|
+
items.push(...(await provider.items()));
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
return items;
|
|
323
|
+
}
|
|
324
|
+
async get(name) {
|
|
325
|
+
return (await this.items()).find((c) => c.name == name);
|
|
326
|
+
}
|
|
327
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPDataSourceDefinitionProviderService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
328
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPDataSourceDefinitionProviderService, providedIn: 'root' }); }
|
|
329
|
+
}
|
|
330
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPDataSourceDefinitionProviderService, decorators: [{
|
|
331
|
+
type: Injectable,
|
|
332
|
+
args: [{ providedIn: 'root' }]
|
|
333
|
+
}] });
|
|
334
|
+
|
|
311
335
|
class AXPElementDataDirective {
|
|
312
336
|
constructor(elementRef) {
|
|
313
337
|
this.elementRef = elementRef;
|
|
@@ -336,10 +360,10 @@ class AXPElementDataDirective {
|
|
|
336
360
|
setData(data) {
|
|
337
361
|
set(this.elementRef.nativeElement, this.path(), data);
|
|
338
362
|
}
|
|
339
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
340
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.
|
|
363
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPElementDataDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
364
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.10", type: AXPElementDataDirective, isStandalone: true, selector: "[axp-data]", inputs: { data: { classPropertyName: "data", publicName: "axp-data", isSignal: true, isRequired: false, transformFunction: null }, path: { classPropertyName: "path", publicName: "axp-data-path", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 }); }
|
|
341
365
|
}
|
|
342
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
366
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPElementDataDirective, decorators: [{
|
|
343
367
|
type: Directive,
|
|
344
368
|
args: [{
|
|
345
369
|
selector: '[axp-data]',
|
|
@@ -368,10 +392,10 @@ class AXPDblClickDirective {
|
|
|
368
392
|
}
|
|
369
393
|
this.lastTap = currentTime;
|
|
370
394
|
}
|
|
371
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
372
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.
|
|
395
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPDblClickDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
396
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.10", type: AXPDblClickDirective, isStandalone: true, selector: "[onDblClick]", outputs: { onDblClick: "onDblClick" }, host: { listeners: { "dblclick": "handleOnDblClick($event)", "touchend": "onTouchEnd($event)" } }, ngImport: i0 }); }
|
|
373
397
|
}
|
|
374
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
398
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPDblClickDirective, decorators: [{
|
|
375
399
|
type: Directive,
|
|
376
400
|
args: [{
|
|
377
401
|
selector: '[onDblClick]'
|
|
@@ -434,10 +458,10 @@ class AXPGridLayoutDirective {
|
|
|
434
458
|
}
|
|
435
459
|
});
|
|
436
460
|
}
|
|
437
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
438
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.
|
|
461
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPGridLayoutDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
462
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "19.2.10", type: AXPGridLayoutDirective, isStandalone: true, selector: "[axp-grid-layout]", inputs: { options: { classPropertyName: "options", publicName: "axp-grid-layout", isSignal: true, isRequired: true, transformFunction: null } }, usesOnChanges: true, ngImport: i0 }); }
|
|
439
463
|
}
|
|
440
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
464
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPGridLayoutDirective, decorators: [{
|
|
441
465
|
type: Directive,
|
|
442
466
|
args: [{
|
|
443
467
|
selector: '[axp-grid-layout]',
|
|
@@ -549,10 +573,10 @@ class AXPBroadcastEventService {
|
|
|
549
573
|
// Cleanup multi-tab event history
|
|
550
574
|
this.multiTabEventHistory.clear();
|
|
551
575
|
}
|
|
552
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
553
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
576
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPBroadcastEventService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
577
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPBroadcastEventService, providedIn: 'root' }); }
|
|
554
578
|
}
|
|
555
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
579
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPBroadcastEventService, decorators: [{
|
|
556
580
|
type: Injectable,
|
|
557
581
|
args: [{
|
|
558
582
|
providedIn: 'root'
|
|
@@ -639,10 +663,10 @@ class AXPExpressionEvaluatorService {
|
|
|
639
663
|
result += templateExpression.slice(lastIndex);
|
|
640
664
|
return result;
|
|
641
665
|
}
|
|
642
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
643
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
666
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPExpressionEvaluatorService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
667
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPExpressionEvaluatorService, providedIn: 'root' }); }
|
|
644
668
|
}
|
|
645
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
669
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPExpressionEvaluatorService, decorators: [{
|
|
646
670
|
type: Injectable,
|
|
647
671
|
args: [{ providedIn: 'root' }]
|
|
648
672
|
}] });
|
|
@@ -679,10 +703,10 @@ class AXPCountdownPipe {
|
|
|
679
703
|
updateTargetDate(value) {
|
|
680
704
|
this.targetDate = new Date(value).getTime();
|
|
681
705
|
}
|
|
682
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
683
|
-
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.
|
|
706
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPCountdownPipe, deps: [], target: i0.ɵɵFactoryTarget.Pipe }); }
|
|
707
|
+
static { this.ɵpipe = i0.ɵɵngDeclarePipe({ minVersion: "14.0.0", version: "19.2.10", ngImport: i0, type: AXPCountdownPipe, isStandalone: true, name: "countdown", pure: false }); }
|
|
684
708
|
}
|
|
685
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
709
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPCountdownPipe, decorators: [{
|
|
686
710
|
type: Pipe,
|
|
687
711
|
args: [{
|
|
688
712
|
name: 'countdown',
|
|
@@ -869,30 +893,6 @@ async function applyQueryArray(dataArray, query) {
|
|
|
869
893
|
};
|
|
870
894
|
}
|
|
871
895
|
|
|
872
|
-
class AXPHtmlUtils {
|
|
873
|
-
constructor() {
|
|
874
|
-
this.sanitizer = inject(DomSanitizer);
|
|
875
|
-
}
|
|
876
|
-
getTextFromHTML(html) {
|
|
877
|
-
if (!html)
|
|
878
|
-
return '';
|
|
879
|
-
const tempElement = document.createElement('div');
|
|
880
|
-
tempElement.innerHTML = html;
|
|
881
|
-
return tempElement.innerText || tempElement.textContent || '';
|
|
882
|
-
}
|
|
883
|
-
getSafeHTMLfromHTML(html) {
|
|
884
|
-
if (!html)
|
|
885
|
-
return null;
|
|
886
|
-
return this.sanitizer.bypassSecurityTrustHtml(html);
|
|
887
|
-
}
|
|
888
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPHtmlUtils, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
889
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPHtmlUtils, providedIn: 'root' }); }
|
|
890
|
-
}
|
|
891
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: AXPHtmlUtils, decorators: [{
|
|
892
|
-
type: Injectable,
|
|
893
|
-
args: [{ providedIn: 'root' }]
|
|
894
|
-
}] });
|
|
895
|
-
|
|
896
896
|
/**
|
|
897
897
|
* Service for applying and resetting text highlighting within specified HTML elements.
|
|
898
898
|
*/
|
|
@@ -990,10 +990,10 @@ class AXHighlightService {
|
|
|
990
990
|
resultHTML += '</span>';
|
|
991
991
|
return resultHTML;
|
|
992
992
|
}
|
|
993
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
994
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
993
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXHighlightService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
994
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXHighlightService, providedIn: 'root' }); }
|
|
995
995
|
}
|
|
996
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
996
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXHighlightService, decorators: [{
|
|
997
997
|
type: Injectable,
|
|
998
998
|
args: [{
|
|
999
999
|
providedIn: 'root',
|
|
@@ -1347,10 +1347,10 @@ class AXPAppStartUpService {
|
|
|
1347
1347
|
loadingText.innerHTML = status;
|
|
1348
1348
|
}
|
|
1349
1349
|
}
|
|
1350
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.
|
|
1351
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.
|
|
1350
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPAppStartUpService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
1351
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPAppStartUpService, providedIn: 'root' }); }
|
|
1352
1352
|
}
|
|
1353
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.
|
|
1353
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.10", ngImport: i0, type: AXPAppStartUpService, decorators: [{
|
|
1354
1354
|
type: Injectable,
|
|
1355
1355
|
args: [{
|
|
1356
1356
|
providedIn: 'root',
|
|
@@ -1368,5 +1368,5 @@ const AXPAppStartUpProvider = provideAppInitializer(() => {
|
|
|
1368
1368
|
* Generated bundle index. Do not edit.
|
|
1369
1369
|
*/
|
|
1370
1370
|
|
|
1371
|
-
export { AXHighlightService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPCountdownPipe, AXPDataGenerator, AXPDblClickDirective, AXPElementDataDirective, AXPExpressionEvaluatorService, AXPGridLayoutDirective,
|
|
1371
|
+
export { AXHighlightService, AXPAppStartUpProvider, AXPAppStartUpService, AXPBroadcastEventService, AXPComponentLogoConfig, AXPCountdownPipe, AXPDataGenerator, AXPDataSourceDefinitionProviderService, AXPDblClickDirective, AXPElementDataDirective, AXPExpressionEvaluatorService, AXPGridLayoutDirective, AXPImageUrlLogoConfig, AXPPlatformScope, AXPSystemActions, AXP_DATASOURCE_DEFINITION_PROVIDER, applyFilterArray, applyPagination, applyQueryArray, applySortArray, cleanDeep, extractNestedFieldsWildcard, extractValue, getNestedKeys, getSmart, objectKeyValueTransforms, resolvePlatformScopeKey, resolvePlatformScopeName, setSmart };
|
|
1372
1372
|
//# sourceMappingURL=acorex-platform-core.mjs.map
|