aril 2.0.1-dev.3 → 2.0.1-dev.5
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/boot/bridge/src/mfe-bridge.d.ts +33 -0
- package/boot/config/apps/src/interfaces.d.ts +7 -1
- package/boot/config/apps/src/route-close.service.d.ts +8 -3
- package/boot/config/apps/src/route-permissions.d.ts +2 -2
- package/esm2022/boot/bridge/src/mfe-bridge.mjs +18 -1
- package/esm2022/boot/config/api/src/interfaces.mjs +3 -2
- package/esm2022/boot/config/apps/src/apps.service.mjs +2 -2
- package/esm2022/boot/config/apps/src/custom-route-reuse-strategy.class.mjs +4 -4
- package/esm2022/boot/config/apps/src/interfaces.mjs +2 -1
- package/esm2022/boot/config/apps/src/route-close.service.mjs +11 -4
- package/esm2022/boot/config/apps/src/route-permissions.mjs +24 -6
- package/esm2022/boot/config/plugins/src/plugins.service.mjs +7 -5
- package/esm2022/boot/host/src/bootstrap.mjs +5 -3
- package/esm2022/boot/mfe/src/bootstrap.mjs +15 -3
- package/esm2022/http/index.mjs +1 -2
- package/esm2022/http/src/serviceBase.mjs +4 -4
- package/esm2022/http/src/serviceStateMethods.mjs +9 -1
- package/esm2022/keycloak/src/auth.interceptor.mjs +5 -2
- package/esm2022/selection/aril-selection.mjs +5 -0
- package/esm2022/selection/index.mjs +2 -0
- package/esm2022/selection/src/interfaces.mjs +2 -0
- package/esm2022/selection/src/selection-group.service.mjs +195 -0
- package/esm2022/theme/layout/app/profileSidebar/modals/edit-profile-modal/edit-profile-modal.component.mjs +2 -2
- package/esm2022/theme/layout/index.mjs +4 -2
- package/esm2022/theme/layout/service/breadcrumb-publisher.service.mjs +12 -4
- package/esm2022/theme/layout/service/interfaces/interfaces.mjs +1 -1
- package/esm2022/ui/button/index.mjs +1 -2
- package/esm2022/ui/button/src/button.component.mjs +5 -2
- package/esm2022/ui/charts/index.mjs +1 -11
- package/esm2022/ui/lib/index.mjs +1 -4
- package/esm2022/ui/lib/src/form/form-error-message.directive.mjs +9 -5
- package/esm2022/ui/multiSelect/src/multi-select.component.mjs +25 -25
- package/esm2022/ui/relativeDateSelector/src/relative-date-selector.component.mjs +2 -2
- package/esm2022/ui/selectBox/src/select-box.component.mjs +11 -34
- package/esm2022/ui/table/src/table.component.mjs +10 -5
- package/esm2022/ui/value/src/value.component.mjs +3 -2
- package/esm2022/ui-business/enumPicker/src/enum-picker.component.mjs +14 -6
- package/esm2022/util/activity/aril-util-activity.mjs +5 -0
- package/esm2022/util/activity/index.mjs +4 -0
- package/esm2022/util/activity/src/activity.constants.mjs +4 -0
- package/esm2022/util/activity/src/activity.service.mjs +218 -0
- package/esm2022/util/activity/src/activity.types.mjs +2 -0
- package/esm2022/util/block/src/block.mjs +9 -25
- package/esm2022/util/pub-sub/src/pub-sub.service.mjs +10 -5
- package/fesm2022/{aril-app.component-s14ruALV.mjs → aril-app.component-MjG_tPEe.mjs} +2 -1
- package/fesm2022/{aril-app.component-s14ruALV.mjs.map → aril-app.component-MjG_tPEe.mjs.map} +1 -1
- package/fesm2022/aril-boot-bridge.mjs +17 -0
- package/fesm2022/aril-boot-bridge.mjs.map +1 -1
- package/fesm2022/aril-boot-config-api.mjs +2 -1
- package/fesm2022/aril-boot-config-api.mjs.map +1 -1
- package/fesm2022/aril-boot-config-apps.mjs +36 -12
- package/fesm2022/aril-boot-config-apps.mjs.map +1 -1
- package/fesm2022/aril-boot-config-plugins.mjs +6 -4
- package/fesm2022/aril-boot-config-plugins.mjs.map +1 -1
- package/fesm2022/aril-boot-host.mjs +4 -2
- package/fesm2022/aril-boot-host.mjs.map +1 -1
- package/fesm2022/{aril-boot-mfe-app.component-AS4MzEo2.mjs → aril-boot-mfe-app.component-DtspQ3J8.mjs} +3 -2
- package/fesm2022/{aril-boot-mfe-app.component-AS4MzEo2.mjs.map → aril-boot-mfe-app.component-DtspQ3J8.mjs.map} +1 -1
- package/fesm2022/{aril-boot-mfe-aril-boot-mfe-Ui9Cv3UC.mjs → aril-boot-mfe-aril-boot-mfe-lovoFcgw.mjs} +16 -4
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-lovoFcgw.mjs.map +1 -0
- package/fesm2022/aril-boot-mfe.mjs +2 -1
- package/fesm2022/aril-boot-mfe.mjs.map +1 -1
- package/fesm2022/aril-http.mjs +11 -7
- package/fesm2022/aril-http.mjs.map +1 -1
- package/fesm2022/aril-keycloak.mjs +4 -1
- package/fesm2022/aril-keycloak.mjs.map +1 -1
- package/fesm2022/aril-selection.mjs +202 -0
- package/fesm2022/aril-selection.mjs.map +1 -0
- package/fesm2022/aril-theme-layout.mjs +14 -66
- package/fesm2022/aril-theme-layout.mjs.map +1 -1
- package/fesm2022/aril-ui-business-enumPicker.mjs +14 -6
- package/fesm2022/aril-ui-business-enumPicker.mjs.map +1 -1
- package/fesm2022/aril-ui-button.mjs +5 -17
- package/fesm2022/aril-ui-button.mjs.map +1 -1
- package/fesm2022/aril-ui-charts.mjs +4 -1302
- package/fesm2022/aril-ui-charts.mjs.map +1 -1
- package/fesm2022/aril-ui-lib.mjs +10 -98
- package/fesm2022/aril-ui-lib.mjs.map +1 -1
- package/fesm2022/aril-ui-multiSelect.mjs +24 -24
- package/fesm2022/aril-ui-multiSelect.mjs.map +1 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs +1 -1
- package/fesm2022/aril-ui-relativeDateSelector.mjs.map +1 -1
- package/fesm2022/aril-ui-selectBox.mjs +10 -33
- package/fesm2022/aril-ui-selectBox.mjs.map +1 -1
- package/fesm2022/aril-ui-table.mjs +9 -4
- package/fesm2022/aril-ui-table.mjs.map +1 -1
- package/fesm2022/aril-ui-value.mjs +2 -1
- package/fesm2022/aril-ui-value.mjs.map +1 -1
- package/fesm2022/aril-util-activity.mjs +228 -0
- package/fesm2022/aril-util-activity.mjs.map +1 -0
- package/fesm2022/aril-util-block.mjs +9 -25
- package/fesm2022/aril-util-block.mjs.map +1 -1
- package/fesm2022/aril-util-pub-sub.mjs +9 -4
- package/fesm2022/aril-util-pub-sub.mjs.map +1 -1
- package/fesm2022/aril.mjs +18 -5
- package/fesm2022/aril.mjs.map +1 -1
- package/http/index.d.ts +0 -1
- package/http/src/serviceStateMethods.d.ts +1 -0
- package/package.json +210 -234
- package/scripts/mf-shared.js +47 -0
- package/selection/index.d.ts +1 -0
- package/selection/src/interfaces.d.ts +8 -0
- package/{theme/layout/service → selection/src}/selection-group.service.d.ts +9 -5
- package/theme/layout/index.d.ts +1 -1
- package/theme/layout/index.ts +3 -1
- package/theme/layout/service/breadcrumb-publisher.service.ts +18 -8
- package/theme/layout/service/interfaces/interfaces.d.ts +3 -17
- package/theme/layout/service/interfaces/interfaces.ts +6 -18
- package/ui/button/index.d.ts +0 -1
- package/ui/button/src/button.component.d.ts +2 -0
- package/ui/charts/index.d.ts +0 -10
- package/ui/lib/index.d.ts +0 -3
- package/ui/lib/src/form/form-error-message.directive.d.ts +4 -3
- package/ui/multiSelect/src/multi-select.component.d.ts +4 -5
- package/ui/selectBox/src/select-box.component.d.ts +2 -7
- package/ui/table/src/table.component.d.ts +3 -2
- package/util/activity/index.d.ts +3 -0
- package/util/activity/src/activity.constants.d.ts +3 -0
- package/util/activity/src/activity.service.d.ts +35 -0
- package/util/activity/src/activity.types.d.ts +13 -0
- package/util/block/src/block.d.ts +4 -10
- package/util/pub-sub/src/pub-sub.service.d.ts +2 -2
- package/esm2022/http/src/serviceMockBase.mjs +0 -4
- package/esm2022/theme/layout/service/selection-group.service.mjs +0 -65
- package/esm2022/ui/button/src/split-button.component.mjs +0 -18
- package/esm2022/ui/charts/src/amCharts/column/column-chart.component.mjs +0 -124
- package/esm2022/ui/charts/src/amCharts/line/line-chart.component.mjs +0 -164
- package/esm2022/ui/charts/src/amCharts/pie/pie-chart.component.mjs +0 -116
- package/esm2022/ui/charts/src/highCharts/area/area-chart.component.mjs +0 -114
- package/esm2022/ui/charts/src/highCharts/bar/bar-chart.component.mjs +0 -100
- package/esm2022/ui/charts/src/highCharts/column/column-chart.component.mjs +0 -117
- package/esm2022/ui/charts/src/highCharts/heatmap/heatMap-chart.component.mjs +0 -252
- package/esm2022/ui/charts/src/highCharts/line/line-chart-series.component.mjs +0 -89
- package/esm2022/ui/charts/src/highCharts/line/line-chart.component.mjs +0 -82
- package/esm2022/ui/charts/src/highCharts/pie/pie-chart.component.mjs +0 -137
- package/esm2022/ui/charts/src/theme/theme.mjs +0 -54
- package/esm2022/ui/dxEditor/aril-ui-dxEditor.mjs +0 -5
- package/esm2022/ui/dxEditor/index.mjs +0 -2
- package/esm2022/ui/dxEditor/src/dx-editor.component.mjs +0 -26
- package/esm2022/ui/lib/src/form/form-field-builder.mjs +0 -23
- package/esm2022/ui/lib/src/input/common-input-validators.service.mjs +0 -49
- package/esm2022/ui/lib/src/input/input-disabled.directive.mjs +0 -25
- package/esm2022/ui/overlayPanel/aril-ui-overlayPanel.mjs +0 -5
- package/esm2022/ui/overlayPanel/index.mjs +0 -2
- package/esm2022/ui/overlayPanel/src/overlay-panel.component.mjs +0 -20
- package/esm2022/ui/tooltip/aril-ui-tooltip.mjs +0 -5
- package/esm2022/ui/tooltip/index.mjs +0 -2
- package/esm2022/ui/tooltip/src/tooltip-component.mjs +0 -23
- package/esm2022/ui/treeTable/aril-ui-treeTable.mjs +0 -5
- package/esm2022/ui/treeTable/index.mjs +0 -2
- package/esm2022/ui/treeTable/src/tree-table.component.mjs +0 -55
- package/esm2022/ui-business/operation-types-dialog/aril-ui-business-operation-types-dialog.mjs +0 -5
- package/esm2022/ui-business/operation-types-dialog/index.mjs +0 -2
- package/esm2022/ui-business/operation-types-dialog/src/operation-types-dialog.component.mjs +0 -76
- package/esm2022/util/unwrap/aril-util-unwrap.mjs +0 -5
- package/esm2022/util/unwrap/index.mjs +0 -2
- package/esm2022/util/unwrap/src/unwrap-tag.directive.mjs +0 -24
- package/fesm2022/aril-boot-mfe-aril-boot-mfe-Ui9Cv3UC.mjs.map +0 -1
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs +0 -83
- package/fesm2022/aril-ui-business-operation-types-dialog.mjs.map +0 -1
- package/fesm2022/aril-ui-dxEditor.mjs +0 -33
- package/fesm2022/aril-ui-dxEditor.mjs.map +0 -1
- package/fesm2022/aril-ui-overlayPanel.mjs +0 -27
- package/fesm2022/aril-ui-overlayPanel.mjs.map +0 -1
- package/fesm2022/aril-ui-tooltip.mjs +0 -30
- package/fesm2022/aril-ui-tooltip.mjs.map +0 -1
- package/fesm2022/aril-ui-treeTable.mjs +0 -62
- package/fesm2022/aril-ui-treeTable.mjs.map +0 -1
- package/fesm2022/aril-util-unwrap.mjs +0 -31
- package/fesm2022/aril-util-unwrap.mjs.map +0 -1
- package/http/src/serviceMockBase.d.ts +0 -6
- package/theme/layout/service/selection-group.service.ts +0 -73
- package/ui/button/src/split-button.component.d.ts +0 -8
- package/ui/charts/src/amCharts/column/column-chart.component.d.ts +0 -25
- package/ui/charts/src/amCharts/line/line-chart.component.d.ts +0 -26
- package/ui/charts/src/amCharts/pie/pie-chart.component.d.ts +0 -24
- package/ui/charts/src/highCharts/area/area-chart.component.d.ts +0 -20
- package/ui/charts/src/highCharts/bar/bar-chart.component.d.ts +0 -26
- package/ui/charts/src/highCharts/column/column-chart.component.d.ts +0 -28
- package/ui/charts/src/highCharts/heatmap/heatMap-chart.component.d.ts +0 -32
- package/ui/charts/src/highCharts/line/line-chart-series.component.d.ts +0 -21
- package/ui/charts/src/highCharts/line/line-chart.component.d.ts +0 -21
- package/ui/charts/src/highCharts/pie/pie-chart.component.d.ts +0 -27
- package/ui/charts/src/theme/theme.d.ts +0 -5
- package/ui/dxEditor/index.d.ts +0 -1
- package/ui/dxEditor/src/dx-editor.component.d.ts +0 -11
- package/ui/lib/src/form/form-field-builder.d.ts +0 -8
- package/ui/lib/src/input/common-input-validators.service.d.ts +0 -20
- package/ui/lib/src/input/input-disabled.directive.d.ts +0 -9
- package/ui/overlayPanel/index.d.ts +0 -1
- package/ui/overlayPanel/src/overlay-panel.component.d.ts +0 -8
- package/ui/tooltip/index.d.ts +0 -1
- package/ui/tooltip/src/tooltip-component.d.ts +0 -14
- package/ui/treeTable/index.d.ts +0 -1
- package/ui/treeTable/src/tree-table.component.d.ts +0 -21
- package/ui-business/operation-types-dialog/index.d.ts +0 -1
- package/ui-business/operation-types-dialog/src/operation-types-dialog.component.d.ts +0 -28
- package/util/unwrap/index.d.ts +0 -1
- package/util/unwrap/src/unwrap-tag.directive.d.ts +0 -9
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-overlayPanel.mjs","sources":["../../projects/aril/ui/overlayPanel/src/overlay-panel.component.ts","../../projects/aril/ui/overlayPanel/src/overlay-panel.component.html","../../projects/aril/ui/overlayPanel/aril-ui-overlayPanel.ts"],"sourcesContent":["import { ChangeDetectionStrategy, Component, ViewChild, input } from '@angular/core';\r\n\r\nimport { OverlayPanel, OverlayPanelModule } from 'primeng/overlaypanel';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-overlay-panel',\r\n\ttemplateUrl: './overlay-panel.component.html',\r\n\timports: [OverlayPanelModule],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class OverlayPanelComponent {\r\n\tdismissable = input<boolean>(true);\r\n\r\n\t@ViewChild('ref') ref!: OverlayPanel;\r\n}\r\n","<p-overlayPanel #ref [dismissable]=\"dismissable()\">\r\n\t<ng-template pTemplate=\"content\">\r\n\t\t<ng-content></ng-content>\r\n\t</ng-template>\r\n</p-overlayPanel>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;MAWa,qBAAqB,CAAA;AAPlC,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,WAAW,GAAG,KAAK,CAAU,IAAI,CAAC,CAAC;AAGnC,KAAA;8GAJY,qBAAqB,EAAA,IAAA,EAAA,EAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAr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EAAA,QAAA,EAAA,8KAAA,EAAA,CAAA;8BAK7B,GAAG,EAAA,CAAA;sBAApB,SAAS;uBAAC,KAAK,CAAA;;;AEdjB;;AAEG;;;;"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { input, Component } from '@angular/core';
|
|
3
|
-
import * as i1 from 'primeng/tooltip';
|
|
4
|
-
import { TooltipModule } from 'primeng/tooltip';
|
|
5
|
-
|
|
6
|
-
class TooltipComponent {
|
|
7
|
-
constructor() {
|
|
8
|
-
this.text = input('');
|
|
9
|
-
this.template = input();
|
|
10
|
-
this.position = input('right'); // (right, top, bottom, left)
|
|
11
|
-
this.showDelay = input(0); // (ms)
|
|
12
|
-
this.hideDelay = input(0); // (ms)
|
|
13
|
-
this.tooltipStyle = input({});
|
|
14
|
-
this.tooltipStyleClass = input('');
|
|
15
|
-
this.appendTo = input('body');
|
|
16
|
-
}
|
|
17
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TooltipComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
18
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "17.1.2", type: TooltipComponent, isStandalone: true, selector: "aril-tooltip", inputs: { text: { classPropertyName: "text", publicName: "text", isSignal: true, isRequired: false, transformFunction: null }, template: { classPropertyName: "template", publicName: "template", isSignal: true, isRequired: false, transformFunction: null }, position: { classPropertyName: "position", publicName: "position", isSignal: true, isRequired: false, transformFunction: null }, showDelay: { classPropertyName: "showDelay", publicName: "showDelay", isSignal: true, isRequired: false, transformFunction: null }, hideDelay: { classPropertyName: "hideDelay", publicName: "hideDelay", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyle: { classPropertyName: "tooltipStyle", publicName: "tooltipStyle", isSignal: true, isRequired: false, transformFunction: null }, tooltipStyleClass: { classPropertyName: "tooltipStyleClass", publicName: "tooltipStyleClass", isSignal: true, isRequired: false, transformFunction: null }, appendTo: { classPropertyName: "appendTo", publicName: "appendTo", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0, template: "<span\r\n\t[pTooltip]=\"template() ?? text()\"\r\n\t[tooltipPosition]=\"position()\"\r\n\t[showDelay]=\"showDelay()\"\r\n\t[hideDelay]=\"hideDelay()\"\r\n\t[style]=\"tooltipStyle()\"\r\n\t[tooltipStyleClass]=\"tooltipStyleClass()\"\r\n\t[appendTo]=\"appendTo()\">\r\n\t<ng-content></ng-content>\r\n</span>\r\n", dependencies: [{ kind: "ngmodule", type: TooltipModule }, { kind: "directive", type: i1.Tooltip, selector: "[pTooltip]", inputs: ["tooltipPosition", "tooltipEvent", "appendTo", "positionStyle", "tooltipStyleClass", "tooltipZIndex", "escape", "showDelay", "hideDelay", "life", "positionTop", "positionLeft", "autoHide", "fitContent", "hideOnEscape", "pTooltip", "tooltipDisabled", "tooltipOptions"] }] }); }
|
|
19
|
-
}
|
|
20
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TooltipComponent, decorators: [{
|
|
21
|
-
type: Component,
|
|
22
|
-
args: [{ standalone: true, selector: 'aril-tooltip', imports: [TooltipModule], template: "<span\r\n\t[pTooltip]=\"template() ?? text()\"\r\n\t[tooltipPosition]=\"position()\"\r\n\t[showDelay]=\"showDelay()\"\r\n\t[hideDelay]=\"hideDelay()\"\r\n\t[style]=\"tooltipStyle()\"\r\n\t[tooltipStyleClass]=\"tooltipStyleClass()\"\r\n\t[appendTo]=\"appendTo()\">\r\n\t<ng-content></ng-content>\r\n</span>\r\n" }]
|
|
23
|
-
}] });
|
|
24
|
-
|
|
25
|
-
/**
|
|
26
|
-
* Generated bundle index. Do not edit.
|
|
27
|
-
*/
|
|
28
|
-
|
|
29
|
-
export { TooltipComponent };
|
|
30
|
-
//# sourceMappingURL=aril-ui-tooltip.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-tooltip.mjs","sources":["../../projects/aril/ui/tooltip/src/tooltip-component.ts","../../projects/aril/ui/tooltip/src/tooltip-component.html","../../projects/aril/ui/tooltip/aril-ui-tooltip.ts"],"sourcesContent":["import { Component, TemplateRef, input } from '@angular/core';\r\n\r\nimport { TooltipModule } from 'primeng/tooltip';\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-tooltip',\r\n\ttemplateUrl: './tooltip-component.html',\r\n\timports: [TooltipModule]\r\n})\r\nexport class TooltipComponent {\r\n\ttext = input<string>('');\r\n\ttemplate = input<TemplateRef<any> | null>();\r\n\tposition = input<string>('right'); // (right, top, bottom, left)\r\n\tshowDelay = input<number>(0); // (ms)\r\n\thideDelay = input<number>(0); // (ms)\r\n\ttooltipStyle = input<any>({});\r\n\ttooltipStyleClass = input<string>('');\r\n\tappendTo = input<any>('body');\r\n}\r\n","<span\r\n\t[pTooltip]=\"template() ?? text()\"\r\n\t[tooltipPosition]=\"position()\"\r\n\t[showDelay]=\"showDelay()\"\r\n\t[hideDelay]=\"hideDelay()\"\r\n\t[style]=\"tooltipStyle()\"\r\n\t[tooltipStyleClass]=\"tooltipStyleClass()\"\r\n\t[appendTo]=\"appendTo()\">\r\n\t<ng-content></ng-content>\r\n</span>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;MAUa,gBAAgB,CAAA;AAN7B,IAAA,WAAA,GAAA;AAOC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAS,EAAE,CAAC,CAAC;QACzB,IAAQ,CAAA,QAAA,GAAG,KAAK,EAA2B,CAAC;AAC5C,QAAA,IAAA,CAAA,QAAQ,GAAG,KAAK,CAAS,OAAO,CAAC,CAAC;AAClC,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,CAAC,CAAC,CAAC;AAC7B,QAAA,IAAA,CAAA,SAAS,GAAG,KAAK,CAAS,CAAC,CAAC,CAAC;A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DetectionStrategy, Output, ContentChildren } from '@angular/core';
|
|
4
|
-
import { FormsModule } from '@angular/forms';
|
|
5
|
-
import * as i1 from 'primeng/treetable';
|
|
6
|
-
import { TreeTableModule } from 'primeng/treetable';
|
|
7
|
-
import * as FileSaver from 'file-saver';
|
|
8
|
-
import { ButtonComponent } from 'aril/ui/button';
|
|
9
|
-
import { TableColumnComponent } from 'aril/ui/table';
|
|
10
|
-
import { TextComponent } from 'aril/ui/text';
|
|
11
|
-
import * as i2 from 'primeng/api';
|
|
12
|
-
|
|
13
|
-
/* eslint-disable @typescript-eslint/no-explicit-any */
|
|
14
|
-
const pageOptions = [10, 20, 50, 100];
|
|
15
|
-
class TreeTableComponent {
|
|
16
|
-
constructor() {
|
|
17
|
-
this.data = input.required();
|
|
18
|
-
this.checkboxSelection = input();
|
|
19
|
-
this.pageSize = input(10);
|
|
20
|
-
this.scrollable = input(false);
|
|
21
|
-
this.scrollHeight = input();
|
|
22
|
-
this.expandEvent = new EventEmitter();
|
|
23
|
-
this.selectionEvent = new EventEmitter();
|
|
24
|
-
this.pageOptions = pageOptions;
|
|
25
|
-
}
|
|
26
|
-
excelExport() {
|
|
27
|
-
// import('xlsx').then((xlsx) => {
|
|
28
|
-
// const worksheet = xlsx.utils.json_to_sheet(this.data());
|
|
29
|
-
// const workbook = { Sheets: { data: worksheet }, SheetNames: ['data'] };
|
|
30
|
-
// const excelBuffer: any = xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });
|
|
31
|
-
// this.saveAsExcelFile(excelBuffer, 'excel_worksheet');
|
|
32
|
-
// });
|
|
33
|
-
}
|
|
34
|
-
saveAsExcelFile(buffer, fileName) {
|
|
35
|
-
const EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';
|
|
36
|
-
const EXCEL_EXTENSION = '.xlsx';
|
|
37
|
-
const data = new Blob([buffer], {
|
|
38
|
-
type: EXCEL_TYPE
|
|
39
|
-
});
|
|
40
|
-
FileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);
|
|
41
|
-
}
|
|
42
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TreeTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
43
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "17.1.2", type: TreeTableComponent, isStandalone: true, selector: "aril-tree-table", inputs: { data: { classPropertyName: "data", publicName: "data", isSignal: true, isRequired: true, transformFunction: null }, checkboxSelection: { classPropertyName: "checkboxSelection", publicName: "checkboxSelection", isSignal: true, isRequired: false, transformFunction: null }, pageSize: { classPropertyName: "pageSize", publicName: "pageSize", isSignal: true, isRequired: false, transformFunction: null }, scrollable: { classPropertyName: "scrollable", publicName: "scrollable", isSignal: true, isRequired: false, transformFunction: null }, scrollHeight: { classPropertyName: "scrollHeight", publicName: "scrollHeight", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { expandEvent: "expandEvent", selectionEvent: "selectionEvent" }, queries: [{ propertyName: "columns", predicate: TableColumnComponent }], ngImport: i0, template: "<p-treeTable\r\n\t#ref\r\n\t[value]=\"data()\"\r\n\t[columns]=\"columns._results\"\r\n\t[rows]=\"pageSize()\"\r\n\t[rowHover]=\"true\"\r\n\t[paginator]=\"true\"\r\n\t[rowsPerPageOptions]=\"pageOptions\"\r\n\t[filterDelay]=\"0\"\r\n\tsortMode=\"multiple\"\r\n\t[scrollable]=\"scrollable()\"\r\n\t[scrollHeight]=\"scrollHeight()\"\r\n\t[(selection)]=\"selectedNodes\"\r\n\t(onNodeExpand)=\"expandEvent.emit($event.node)\"\r\n\t(selectionChange)=\"selectionEvent.emit(selectedNodes)\"\r\n\t[showCurrentPageReport]=\"true\"\r\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\r\n\tstyleClass=\"p-treetable-gridlines p-treetable-striped p-treetable-sm\">\r\n\t<ng-template pTemplate=\"caption\">\r\n\t\t<div class=\"flex\">\r\n\t\t\t<aril-button\r\n\t\t\t\tsize=\"sm\"\r\n\t\t\t\ticon=\"FILE_EXCEL\"\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\tpTooltip=\"XLS\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t(clickEvent)=\"excelExport()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<!-- <span class=\"p-input-icon-left ml-auto\">\r\n\t\t\t\t<aril-text\r\n\t\t\t\t\ticon=\"SEARCH\"\r\n\t\t\t\t\ticonPos=\"left\"\r\n\t\t\t\t\tplaceholder=\"Arama\"\r\n\t\t\t\t\t[ngModel]=\"filterText\"\r\n\t\t\t\t\t(ngModelChange)=\"ref.filterGlobal($event, 'contains')\">\r\n\t\t\t\t</aril-text>\r\n\t\t\t</span> -->\r\n\t\t</div>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"header\" let-columns>\r\n\t\t<tr>\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<th>\r\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\r\n\t\t\t\t</th>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t@if (column.isOperation) {\r\n\t\t\t\t\t<th>\r\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">Operations</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<th [ttSortableColumn]=\"column.field\">\r\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center\">\r\n\t\t\t\t\t\t\t{{ column.header }}\r\n\t\t\t\t\t\t\t<!-- <p-treeTableSortIcon [field]=\"column.field\"></p-treeTableSortIcon> -->\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" let-columns=\"columns\">\r\n\t\t<tr [ttRow]=\"rowNode\">\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t@if ($first) {\r\n\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[rowNode.node]\" [ngForTemplate]=\"column.template\"> </ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"summary\">\r\n\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"emptymessage\">\r\n\t\t<tr>\r\n\t\t\t<td [attr.colspan]=\"columns._results.length\">No Data Found</td>\r\n\t\t</tr>\r\n\t</ng-template>\r\n</p-treeTable>\r\n", dependencies: [{ kind: "ngmodule", type: TreeTableModule }, { kind: "component", type: i1.TreeTable, selector: "p-treeTable", inputs: ["columns", "style", "styleClass", "tableStyle", "tableStyleClass", "autoLayout", "lazy", "lazyLoadOnInit", "paginator", "rows", "first", "pageLinks", "rowsPerPageOptions", "alwaysShowPaginator", "paginatorPosition", "paginatorStyleClass", "paginatorDropdownAppendTo", "currentPageReportTemplate", "showCurrentPageReport", "showJumpToPageDropdown", "showFirstLastIcon", "showPageLinks", "defaultSortOrder", "sortMode", "resetPageOnSort", "customSort", "selectionMode", "contextMenuSelection", "contextMenuSelectionMode", "dataKey", "metaKeySelection", "compareSelectionBy", "rowHover", "loading", "loadingIcon", "showLoader", "scrollable", "scrollHeight", "virtualScroll", "virtualScrollItemSize", "virtualScrollOptions", "virtualScrollDelay", "frozenWidth", "frozenColumns", "resizableColumns", "columnResizeMode", "reorderableColumns", "contextMenu", "rowTrackBy", "filters", "globalFilterFields", "filterDelay", "filterMode", "filterLocale", "paginatorLocale", "totalRecords", "sortField", "sortOrder", "multiSortMeta", "selection", "value", "virtualRowHeight", "selectionKeys"], outputs: ["selectionChange", "contextMenuSelectionChange", "onFilter", "onNodeExpand", "onNodeCollapse", "onPage", "onSort", "onLazyLoad", "sortFunction", "onColResize", "onColReorder", "onNodeSelect", "onNodeUnselect", "onContextMenuSelect", "onHeaderCheckboxToggle", "onEditInit", "onEditComplete", "onEditCancel", "selectionKeysChange"] }, { kind: "directive", type: i2.PrimeTemplate, selector: "[pTemplate]", inputs: ["type", "pTemplate"] }, { kind: "component", type: i1.TreeTableToggler, selector: "p-treeTableToggler", inputs: ["rowNode"] }, { kind: "directive", type: i1.TTSortableColumn, selector: "[ttSortableColumn]", inputs: ["ttSortableColumn", "ttSortableColumnDisabled"] }, { kind: "directive", type: i1.TTRow, selector: "[ttRow]", inputs: ["ttRow"] }, { kind: "component", type: i1.TTCheckbox, selector: "p-treeTableCheckbox", inputs: ["disabled", "value"] }, { kind: "component", type: i1.TTHeaderCheckbox, selector: "p-treeTableHeaderCheckbox" }, { kind: "component", type: ButtonComponent, selector: "aril-button:not([click])", inputs: ["label", "loading", "disabled", "raised", "rounded", "text", "outlined", "badge", "size", "icon", "iconPos", "color"], outputs: ["clickEvent"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: NgFor, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
44
|
-
}
|
|
45
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: TreeTableComponent, decorators: [{
|
|
46
|
-
type: Component,
|
|
47
|
-
args: [{ standalone: true, selector: 'aril-tree-table', imports: [TreeTableModule, ButtonComponent, TextComponent, FormsModule, NgFor, NgForOf, NgTemplateOutlet], changeDetection: ChangeDetectionStrategy.OnPush, template: "<p-treeTable\r\n\t#ref\r\n\t[value]=\"data()\"\r\n\t[columns]=\"columns._results\"\r\n\t[rows]=\"pageSize()\"\r\n\t[rowHover]=\"true\"\r\n\t[paginator]=\"true\"\r\n\t[rowsPerPageOptions]=\"pageOptions\"\r\n\t[filterDelay]=\"0\"\r\n\tsortMode=\"multiple\"\r\n\t[scrollable]=\"scrollable()\"\r\n\t[scrollHeight]=\"scrollHeight()\"\r\n\t[(selection)]=\"selectedNodes\"\r\n\t(onNodeExpand)=\"expandEvent.emit($event.node)\"\r\n\t(selectionChange)=\"selectionEvent.emit(selectedNodes)\"\r\n\t[showCurrentPageReport]=\"true\"\r\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kay\u0131t | Sayfa : {currentPage} / {totalPages}\"\r\n\tstyleClass=\"p-treetable-gridlines p-treetable-striped p-treetable-sm\">\r\n\t<ng-template pTemplate=\"caption\">\r\n\t\t<div class=\"flex\">\r\n\t\t\t<aril-button\r\n\t\t\t\tsize=\"sm\"\r\n\t\t\t\ticon=\"FILE_EXCEL\"\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\tpTooltip=\"XLS\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t(clickEvent)=\"excelExport()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<!-- <span class=\"p-input-icon-left ml-auto\">\r\n\t\t\t\t<aril-text\r\n\t\t\t\t\ticon=\"SEARCH\"\r\n\t\t\t\t\ticonPos=\"left\"\r\n\t\t\t\t\tplaceholder=\"Arama\"\r\n\t\t\t\t\t[ngModel]=\"filterText\"\r\n\t\t\t\t\t(ngModelChange)=\"ref.filterGlobal($event, 'contains')\">\r\n\t\t\t\t</aril-text>\r\n\t\t\t</span> -->\r\n\t\t</div>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"header\" let-columns>\r\n\t\t<tr>\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<th>\r\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\r\n\t\t\t\t</th>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t@if (column.isOperation) {\r\n\t\t\t\t\t<th>\r\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">Operations</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<th [ttSortableColumn]=\"column.field\">\r\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center\">\r\n\t\t\t\t\t\t\t{{ column.header }}\r\n\t\t\t\t\t\t\t<!-- <p-treeTableSortIcon [field]=\"column.field\"></p-treeTableSortIcon> -->\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" let-columns=\"columns\">\r\n\t\t<tr [ttRow]=\"rowNode\">\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t@if ($first) {\r\n\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[rowNode.node]\" [ngForTemplate]=\"column.template\"> </ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"summary\">\r\n\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"emptymessage\">\r\n\t\t<tr>\r\n\t\t\t<td [attr.colspan]=\"columns._results.length\">No Data Found</td>\r\n\t\t</tr>\r\n\t</ng-template>\r\n</p-treeTable>\r\n" }]
|
|
48
|
-
}], propDecorators: { expandEvent: [{
|
|
49
|
-
type: Output
|
|
50
|
-
}], selectionEvent: [{
|
|
51
|
-
type: Output
|
|
52
|
-
}], columns: [{
|
|
53
|
-
type: ContentChildren,
|
|
54
|
-
args: [TableColumnComponent]
|
|
55
|
-
}] } });
|
|
56
|
-
|
|
57
|
-
/**
|
|
58
|
-
* Generated bundle index. Do not edit.
|
|
59
|
-
*/
|
|
60
|
-
|
|
61
|
-
export { TreeTableComponent };
|
|
62
|
-
//# sourceMappingURL=aril-ui-treeTable.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-ui-treeTable.mjs","sources":["../../projects/aril/ui/treeTable/src/tree-table.component.ts","../../projects/aril/ui/treeTable/src/tree-table.component.html","../../projects/aril/ui/treeTable/aril-ui-treeTable.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/no-explicit-any */\r\nimport { NgFor, NgForOf, NgTemplateOutlet } from '@angular/common';\r\nimport { ChangeDetectionStrategy, Component, ContentChildren, EventEmitter, Output, input } from '@angular/core';\r\nimport { FormsModule } from '@angular/forms';\r\n\r\nimport { TreeNode, TreeTableNode } from 'primeng/api';\r\nimport { TreeTableModule } from 'primeng/treetable';\r\n\r\nimport * as FileSaver from 'file-saver';\r\n\r\nimport { ButtonComponent } from 'aril/ui/button';\r\nimport { TableColumnComponent, TableColumns } from 'aril/ui/table';\r\nimport { TextComponent } from 'aril/ui/text';\r\n\r\nconst pageOptions = [10, 20, 50, 100];\r\n\r\n@Component({\r\n\tstandalone: true,\r\n\tselector: 'aril-tree-table',\r\n\ttemplateUrl: './tree-table.component.html',\r\n\timports: [TreeTableModule, ButtonComponent, TextComponent, FormsModule, NgFor, NgForOf, NgTemplateOutlet],\r\n\tchangeDetection: ChangeDetectionStrategy.OnPush\r\n})\r\nexport class TreeTableComponent {\r\n\tdata = input.required<TreeNode[]>();\r\n\tcheckboxSelection = input<boolean>();\r\n\tpageSize = input<(typeof pageOptions)[number]>(10);\r\n\tscrollable = input<boolean>(false);\r\n\tscrollHeight = input<string>();\r\n\r\n\t@Output() expandEvent: EventEmitter<unknown> = new EventEmitter();\r\n\t@Output() selectionEvent: EventEmitter<any> = new EventEmitter<any>();\r\n\r\n\t@ContentChildren(TableColumnComponent) columns!: TableColumns;\r\n\r\n\tfilterText!: string;\r\n\tpageOptions = pageOptions;\r\n\tselectedNodes!: TreeTableNode<any> | TreeTableNode<any>[] | null;\r\n\r\n\texcelExport() {\r\n\t\t// import('xlsx').then((xlsx) => {\r\n\t\t// \tconst worksheet = xlsx.utils.json_to_sheet(this.data());\r\n\t\t// \tconst workbook = { Sheets: { data: worksheet }, SheetNames: ['data'] };\r\n\t\t// \tconst excelBuffer: any = xlsx.write(workbook, { bookType: 'xlsx', type: 'array' });\r\n\t\t// \tthis.saveAsExcelFile(excelBuffer, 'excel_worksheet');\r\n\t\t// });\r\n\t}\r\n\r\n\tsaveAsExcelFile(buffer: any, fileName: string): void {\r\n\t\tconst EXCEL_TYPE = 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8';\r\n\t\tconst EXCEL_EXTENSION = '.xlsx';\r\n\t\tconst data: Blob = new Blob([buffer], {\r\n\t\t\ttype: EXCEL_TYPE\r\n\t\t});\r\n\t\tFileSaver.saveAs(data, fileName + '_export_' + new Date().getTime() + EXCEL_EXTENSION);\r\n\t}\r\n}\r\n","<p-treeTable\r\n\t#ref\r\n\t[value]=\"data()\"\r\n\t[columns]=\"columns._results\"\r\n\t[rows]=\"pageSize()\"\r\n\t[rowHover]=\"true\"\r\n\t[paginator]=\"true\"\r\n\t[rowsPerPageOptions]=\"pageOptions\"\r\n\t[filterDelay]=\"0\"\r\n\tsortMode=\"multiple\"\r\n\t[scrollable]=\"scrollable()\"\r\n\t[scrollHeight]=\"scrollHeight()\"\r\n\t[(selection)]=\"selectedNodes\"\r\n\t(onNodeExpand)=\"expandEvent.emit($event.node)\"\r\n\t(selectionChange)=\"selectionEvent.emit(selectedNodes)\"\r\n\t[showCurrentPageReport]=\"true\"\r\n\tcurrentPageReportTemplate=\"Toplam : {totalRecords} kayıt | Sayfa : {currentPage} / {totalPages}\"\r\n\tstyleClass=\"p-treetable-gridlines p-treetable-striped p-treetable-sm\">\r\n\t<ng-template pTemplate=\"caption\">\r\n\t\t<div class=\"flex\">\r\n\t\t\t<aril-button\r\n\t\t\t\tsize=\"sm\"\r\n\t\t\t\ticon=\"FILE_EXCEL\"\r\n\t\t\t\tcolor=\"primary\"\r\n\t\t\t\tpTooltip=\"XLS\"\r\n\t\t\t\ttooltipPosition=\"top\"\r\n\t\t\t\t(clickEvent)=\"excelExport()\">\r\n\t\t\t</aril-button>\r\n\t\t\t<!-- <span class=\"p-input-icon-left ml-auto\">\r\n\t\t\t\t<aril-text\r\n\t\t\t\t\ticon=\"SEARCH\"\r\n\t\t\t\t\ticonPos=\"left\"\r\n\t\t\t\t\tplaceholder=\"Arama\"\r\n\t\t\t\t\t[ngModel]=\"filterText\"\r\n\t\t\t\t\t(ngModelChange)=\"ref.filterGlobal($event, 'contains')\">\r\n\t\t\t\t</aril-text>\r\n\t\t\t</span> -->\r\n\t\t</div>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"header\" let-columns>\r\n\t\t<tr>\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<th>\r\n\t\t\t\t\t<p-treeTableHeaderCheckbox></p-treeTableHeaderCheckbox>\r\n\t\t\t\t</th>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t@if (column.isOperation) {\r\n\t\t\t\t\t<th>\r\n\t\t\t\t\t\t<div class=\"flex justify-content-center\">Operations</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t} @else {\r\n\t\t\t\t\t<th [ttSortableColumn]=\"column.field\">\r\n\t\t\t\t\t\t<div class=\"flex justify-content-between align-items-center\">\r\n\t\t\t\t\t\t\t{{ column.header }}\r\n\t\t\t\t\t\t\t<!-- <p-treeTableSortIcon [field]=\"column.field\"></p-treeTableSortIcon> -->\r\n\t\t\t\t\t\t</div>\r\n\t\t\t\t\t</th>\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"body\" let-rowNode let-rowData=\"rowData\" let-columns=\"columns\">\r\n\t\t<tr [ttRow]=\"rowNode\">\r\n\t\t\t@if (checkboxSelection()) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t<p-treeTableCheckbox [value]=\"rowNode\"></p-treeTableCheckbox>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t\t@for (column of columns; track $index) {\r\n\t\t\t\t<td>\r\n\t\t\t\t\t@if ($first) {\r\n\t\t\t\t\t\t<p-treeTableToggler [rowNode]=\"rowNode\"></p-treeTableToggler>\r\n\t\t\t\t\t}\r\n\t\t\t\t\t<ng-template ngFor [ngForOf]=\"[rowNode.node]\" [ngForTemplate]=\"column.template\"> </ng-template>\r\n\t\t\t\t</td>\r\n\t\t\t}\r\n\t\t</tr>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"summary\">\r\n\t\t<ng-content select=\"[footer]\"></ng-content>\r\n\t</ng-template>\r\n\t<ng-template pTemplate=\"emptymessage\">\r\n\t\t<tr>\r\n\t\t\t<td [attr.colspan]=\"columns._results.length\">No Data Found</td>\r\n\t\t</tr>\r\n\t</ng-template>\r\n</p-treeTable>\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;;;;;;;;;;AAAA;AAcA,MAAM,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,GAAG,CAAC,CAAC;MASzB,kBAAkB,CAAA;AAP/B,IAAA,WAAA,GAAA;AAQC,QAAA,IAAA,CAAA,IAAI,GAAG,KAAK,CAAC,QAAQ,EAAc,CAAC;QACpC,I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,cAAc,EAAA,CAAA;sBAAvB,MAAM;gBAEgC,OAAO,EAAA,CAAA;sBAA7C,eAAe;uBAAC,oBAAoB,CAAA;;;AEjCtC;;AAEG;;;;"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
class UnwrapTagDirective {
|
|
5
|
-
constructor(el) {
|
|
6
|
-
this.el = el;
|
|
7
|
-
}
|
|
8
|
-
ngAfterViewInit() {
|
|
9
|
-
const parent = this.el.nativeElement.parentNode;
|
|
10
|
-
while (this.el.nativeElement.firstChild) {
|
|
11
|
-
parent.insertBefore(this.el.nativeElement.firstChild, this.el.nativeElement);
|
|
12
|
-
}
|
|
13
|
-
parent.removeChild(this.el.nativeElement);
|
|
14
|
-
}
|
|
15
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: UnwrapTagDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
16
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "17.1.2", type: UnwrapTagDirective, isStandalone: true, selector: "[unwraptag]", ngImport: i0 }); }
|
|
17
|
-
}
|
|
18
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.1.2", ngImport: i0, type: UnwrapTagDirective, decorators: [{
|
|
19
|
-
type: Directive,
|
|
20
|
-
args: [{
|
|
21
|
-
standalone: true,
|
|
22
|
-
selector: '[unwraptag]'
|
|
23
|
-
}]
|
|
24
|
-
}], ctorParameters: () => [{ type: i0.ElementRef }] });
|
|
25
|
-
|
|
26
|
-
/**
|
|
27
|
-
* Generated bundle index. Do not edit.
|
|
28
|
-
*/
|
|
29
|
-
|
|
30
|
-
export { UnwrapTagDirective };
|
|
31
|
-
//# sourceMappingURL=aril-util-unwrap.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"aril-util-unwrap.mjs","sources":["../../projects/aril/util/unwrap/src/unwrap-tag.directive.ts","../../projects/aril/util/unwrap/aril-util-unwrap.ts"],"sourcesContent":["import { AfterViewInit, Directive, ElementRef } from '@angular/core';\r\n\r\n@Directive({\r\n\tstandalone: true,\r\n\tselector: '[unwraptag]'\r\n})\r\nexport class UnwrapTagDirective implements AfterViewInit {\r\n\tconstructor(private el: ElementRef) {}\r\n\r\n\tngAfterViewInit() {\r\n\t\tconst parent = this.el.nativeElement.parentNode;\r\n\r\n\t\twhile (this.el.nativeElement.firstChild) {\r\n\t\t\tparent.insertBefore(this.el.nativeElement.firstChild, this.el.nativeElement);\r\n\t\t}\r\n\t\tparent.removeChild(this.el.nativeElement);\r\n\t}\r\n}\r\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './index';\n"],"names":[],"mappings":";;;MAMa,kBAAkB,CAAA;AAC9B,IAAA,WAAA,CAAoB,EAAc,EAAA;QAAd,IAAE,CAAA,EAAA,GAAF,EAAE,CAAY;KAAI;IAEtC,eAAe,GAAA;QACd,MAAM,MAAM,GAAG,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,UAAU,CAAC;QAEhD,OAAO,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE;AACxC,YAAA,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,UAAU,EAAE,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC;SAC7E;QACD,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,EAAE,CAAC,aAAa,CAAC,CAAC;KAC1C;8GAVW,kBAAkB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA,EAAA;kGAAlB,kBAAkB,EAAA,YAAA,EAAA,IAAA,EAAA,QAAA,EAAA,aAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA,EAAA;;2FAAlB,kBAAkB,EAAA,UAAA,EAAA,CAAA;kBAJ9B,SAAS;AAAC,YAAA,IAAA,EAAA,CAAA;AACV,oBAAA,UAAU,EAAE,IAAI;AAChB,oBAAA,QAAQ,EAAE,aAAa;AACvB,iBAAA,CAAA;;;ACLD;;AAEG;;;;"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Injectable, effect, signal } from '@angular/core';
|
|
3
|
-
|
|
4
|
-
import { take } from 'rxjs';
|
|
5
|
-
|
|
6
|
-
import { API_CONFIGS } from 'aril/boot/config/api';
|
|
7
|
-
|
|
8
|
-
import { SelectionGroupDTO, SelectionRequestDTO } from './interfaces/interfaces';
|
|
9
|
-
|
|
10
|
-
@Injectable({
|
|
11
|
-
providedIn: 'root'
|
|
12
|
-
})
|
|
13
|
-
export class SelectionGroupService {
|
|
14
|
-
selectionGroups = signal<{ [key: string]: SelectionGroupDTO | null }>({});
|
|
15
|
-
|
|
16
|
-
private loading = new Map<string, boolean>();
|
|
17
|
-
private loaded = new Map<string, boolean>();
|
|
18
|
-
|
|
19
|
-
constructor(private http: HttpClient) {
|
|
20
|
-
this.loadStatesFromLocalStorage();
|
|
21
|
-
|
|
22
|
-
effect(() => {
|
|
23
|
-
const encodedData = btoa(encodeURI(JSON.stringify(this.selectionGroups())));
|
|
24
|
-
localStorage.setItem('selection-groups', encodedData);
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
private async loadStatesFromLocalStorage() {
|
|
29
|
-
const selectionGroups = localStorage.getItem('selection-groups');
|
|
30
|
-
|
|
31
|
-
if (selectionGroups) {
|
|
32
|
-
try {
|
|
33
|
-
const decodedData = decodeURI(atob(selectionGroups));
|
|
34
|
-
this.selectionGroups.set(JSON.parse(decodedData));
|
|
35
|
-
} catch (e) {
|
|
36
|
-
console.error(e);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
fetchEnum(groupName: string, parentSelectionKey: string = 'ALL') {
|
|
42
|
-
const key = groupName + '~' + parentSelectionKey;
|
|
43
|
-
|
|
44
|
-
if (this.loaded.get(key) || this.loading.get(key)) return;
|
|
45
|
-
|
|
46
|
-
const payload: SelectionRequestDTO = {
|
|
47
|
-
groupName,
|
|
48
|
-
parentSelectionKey
|
|
49
|
-
};
|
|
50
|
-
|
|
51
|
-
this.loading.set(key, true);
|
|
52
|
-
this.loaded.set(key, false);
|
|
53
|
-
|
|
54
|
-
const hostApi = API_CONFIGS.api.replace(/\/[^\/]+\/v1$/, `/host/v1`);
|
|
55
|
-
|
|
56
|
-
this.http
|
|
57
|
-
.post<SelectionGroupDTO>(hostApi + '/selection-group/load', payload)
|
|
58
|
-
.pipe(take(1))
|
|
59
|
-
.subscribe((selectionGroup) => {
|
|
60
|
-
this.loading.set(key, false);
|
|
61
|
-
this.loaded.set(key, true);
|
|
62
|
-
|
|
63
|
-
this.selectionGroups.update((groups) => ({
|
|
64
|
-
...groups,
|
|
65
|
-
[key]: selectionGroup
|
|
66
|
-
}));
|
|
67
|
-
});
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
isLoading(groupName: string): boolean {
|
|
71
|
-
return this.loading.get(groupName) ?? false;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { MenuItem } from 'primeng/api';
|
|
2
|
-
import { ButtonComponent } from './button.component';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare class SplitButtonComponent extends ButtonComponent {
|
|
5
|
-
menu: import("@angular/core").InputSignal<MenuItem[], MenuItem[]>;
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SplitButtonComponent, never>;
|
|
7
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SplitButtonComponent, "aril-split-button", never, { "menu": { "alias": "menu"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
8
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface dataItems {
|
|
4
|
-
label: string;
|
|
5
|
-
value: number;
|
|
6
|
-
value2?: number;
|
|
7
|
-
}
|
|
8
|
-
type appNames = 'thor' | 'lena' | 'billing' | 'yeap';
|
|
9
|
-
export declare class ColumnChartComponent {
|
|
10
|
-
private platformId;
|
|
11
|
-
private zone;
|
|
12
|
-
private root;
|
|
13
|
-
constructor(platformId: Object, zone: NgZone);
|
|
14
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
15
|
-
chartId: import("@angular/core").InputSignal<string, string>;
|
|
16
|
-
appName: import("@angular/core").InputSignal<appNames, appNames>;
|
|
17
|
-
chartHeight: import("@angular/core").InputSignal<string, string>;
|
|
18
|
-
chartColorSet: string[];
|
|
19
|
-
browserOnly(f: () => void): void;
|
|
20
|
-
ngAfterViewInit(): void;
|
|
21
|
-
ngOnDestroy(): void;
|
|
22
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnChartComponent, never>;
|
|
23
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnChartComponent, "aril-column-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "chartId": { "alias": "chartId"; "required": true; "isSignal": true; }; "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "chartHeight": { "alias": "chartHeight"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
24
|
-
}
|
|
25
|
-
export {};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface dataItems {
|
|
4
|
-
date: number;
|
|
5
|
-
value: number;
|
|
6
|
-
}
|
|
7
|
-
type appNames = 'thor' | 'lena' | 'billing' | 'yeap';
|
|
8
|
-
type timeUnit = 'day' | 'month' | 'year' | 'week' | 'hour' | 'minute' | 'second';
|
|
9
|
-
export declare class LineChartComponent {
|
|
10
|
-
private platformId;
|
|
11
|
-
private zone;
|
|
12
|
-
private root;
|
|
13
|
-
constructor(platformId: Object, zone: NgZone);
|
|
14
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
15
|
-
chartId: import("@angular/core").InputSignal<string, string>;
|
|
16
|
-
appName: import("@angular/core").InputSignal<appNames, appNames>;
|
|
17
|
-
timeUnit: import("@angular/core").InputSignal<timeUnit, timeUnit>;
|
|
18
|
-
chartHeight: import("@angular/core").InputSignal<string, string>;
|
|
19
|
-
chartColorSet: string[];
|
|
20
|
-
browserOnly(f: () => void): void;
|
|
21
|
-
ngAfterViewInit(): void;
|
|
22
|
-
ngOnDestroy(): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "aril-line-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "chartId": { "alias": "chartId"; "required": true; "isSignal": true; }; "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "timeUnit": { "alias": "timeUnit"; "required": false; "isSignal": true; }; "chartHeight": { "alias": "chartHeight"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { NgZone } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface dataItems {
|
|
4
|
-
label: string;
|
|
5
|
-
value: number;
|
|
6
|
-
}
|
|
7
|
-
type appNames = 'thor' | 'lena' | 'billing' | 'yeap';
|
|
8
|
-
export declare class PieChartComponent {
|
|
9
|
-
private platformId;
|
|
10
|
-
private zone;
|
|
11
|
-
private root;
|
|
12
|
-
constructor(platformId: Object, zone: NgZone);
|
|
13
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
14
|
-
chartId: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
appName: import("@angular/core").InputSignal<appNames, appNames>;
|
|
16
|
-
chartColorSet: string[];
|
|
17
|
-
chartHeight: import("@angular/core").InputSignal<string, string>;
|
|
18
|
-
browserOnly(f: () => void): void;
|
|
19
|
-
ngAfterViewInit(): void;
|
|
20
|
-
ngOnDestroy(): void;
|
|
21
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PieChartComponent, never>;
|
|
22
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PieChartComponent, "aril-pie-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "chartId": { "alias": "chartId"; "required": true; "isSignal": true; }; "appName": { "alias": "appName"; "required": false; "isSignal": true; }; "chartHeight": { "alias": "chartHeight"; "required": true; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
23
|
-
}
|
|
24
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import * as Highcharts from 'highcharts';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export type AreaChartDataPoint = [number, number];
|
|
4
|
-
export interface AreaChartSeries {
|
|
5
|
-
name: string;
|
|
6
|
-
data: AreaChartDataPoint[];
|
|
7
|
-
color?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class AreaChartComponent {
|
|
10
|
-
Highcharts: typeof Highcharts;
|
|
11
|
-
data: import("@angular/core").InputSignal<AreaChartSeries[], AreaChartSeries[]>;
|
|
12
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
13
|
-
loading: import("@angular/core").InputSignal<boolean, boolean>;
|
|
14
|
-
private chart?;
|
|
15
|
-
constructor();
|
|
16
|
-
chartCallback: Highcharts.ChartCallbackFunction;
|
|
17
|
-
chartOptions: import("@angular/core").Signal<Highcharts.Options>;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<AreaChartComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<AreaChartComponent, "aril-area-chart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": true; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
-
import * as Highcharts from 'highcharts';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface dataItems {
|
|
5
|
-
name: string;
|
|
6
|
-
y: any;
|
|
7
|
-
color?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
selected?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class BarHighChartComponent implements OnChanges {
|
|
12
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
13
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
14
|
-
categoriesTitle: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
valuesTitle: import("@angular/core").InputSignal<string, string>;
|
|
16
|
-
seriesName: import("@angular/core").InputSignal<string | undefined, string | undefined>;
|
|
17
|
-
width: import("@angular/core").InputSignal<string, string>;
|
|
18
|
-
height: import("@angular/core").InputSignal<string, string>;
|
|
19
|
-
Highcharts: typeof Highcharts;
|
|
20
|
-
chartOptions: any;
|
|
21
|
-
setChartOptions(): void;
|
|
22
|
-
ngOnChanges(changes: SimpleChanges): void;
|
|
23
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<BarHighChartComponent, never>;
|
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BarHighChartComponent, "aril-bar-highchart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "categoriesTitle": { "alias": "categoriesTitle"; "required": false; "isSignal": true; }; "valuesTitle": { "alias": "valuesTitle"; "required": false; "isSignal": true; }; "seriesName": { "alias": "seriesName"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
25
|
-
}
|
|
26
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import * as Highcharts from 'highcharts';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
interface dataItems {
|
|
4
|
-
name: any;
|
|
5
|
-
y: any;
|
|
6
|
-
color?: string;
|
|
7
|
-
tooltip?: string;
|
|
8
|
-
selected?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export declare class ColumnHighChartComponent {
|
|
11
|
-
constructor();
|
|
12
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
13
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
14
|
-
categoriesTitle: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
valuesTitle: import("@angular/core").InputSignal<string, string>;
|
|
16
|
-
seriesName: import("@angular/core").InputSignal<string | undefined, string | undefined>;
|
|
17
|
-
dateFormat: import("@angular/core").InputSignal<string | undefined, string | undefined>;
|
|
18
|
-
width: import("@angular/core").InputSignal<string, string>;
|
|
19
|
-
height: import("@angular/core").InputSignal<string, string>;
|
|
20
|
-
series: import("@angular/core").InputSignal<any, any>;
|
|
21
|
-
Highcharts: typeof Highcharts;
|
|
22
|
-
chartOptions: any;
|
|
23
|
-
formatDate(name: any): any;
|
|
24
|
-
setChartOptions(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ColumnHighChartComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ColumnHighChartComponent, "aril-column-highchart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "categoriesTitle": { "alias": "categoriesTitle"; "required": false; "isSignal": true; }; "valuesTitle": { "alias": "valuesTitle"; "required": false; "isSignal": true; }; "seriesName": { "alias": "seriesName"; "required": false; "isSignal": true; }; "dateFormat": { "alias": "dateFormat"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "series": { "alias": "series"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
27
|
-
}
|
|
28
|
-
export {};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import * as Highcharts from 'highcharts';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export interface HeatmapPoint {
|
|
4
|
-
x: number;
|
|
5
|
-
y: number;
|
|
6
|
-
value: number;
|
|
7
|
-
}
|
|
8
|
-
export interface HeatmapData {
|
|
9
|
-
data: HeatmapPoint[];
|
|
10
|
-
xCategories?: string[];
|
|
11
|
-
yCategories?: string[];
|
|
12
|
-
title?: string;
|
|
13
|
-
colorAxis?: Highcharts.ColorAxisOptions;
|
|
14
|
-
}
|
|
15
|
-
export declare class HeatmapChartComponent {
|
|
16
|
-
Highcharts: typeof Highcharts;
|
|
17
|
-
series: import("@angular/core").InputSignal<any, any>;
|
|
18
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
19
|
-
yAxisTitle: import("@angular/core").InputSignal<string, string>;
|
|
20
|
-
loading: import("@angular/core").InputSignal<boolean, boolean>;
|
|
21
|
-
chartOptions: Highcharts.Options;
|
|
22
|
-
xAxisCategories: any[];
|
|
23
|
-
yAxisCategories: any[];
|
|
24
|
-
private chart?;
|
|
25
|
-
constructor();
|
|
26
|
-
setChartOptions(): void;
|
|
27
|
-
chartCallback: Highcharts.ChartCallbackFunction;
|
|
28
|
-
epochToTimeString(epoch: number): string;
|
|
29
|
-
prometheusToHighchartsSeries(): Highcharts.SeriesOptionsType[];
|
|
30
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<HeatmapChartComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<HeatmapChartComponent, "aril-heatmap-chart", never, { "series": { "alias": "series"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "yAxisTitle": { "alias": "yAxisTitle"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
32
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from "@angular/core";
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type TimeSeriesDataPoint = [number, number];
|
|
4
|
-
interface SeriesData {
|
|
5
|
-
name: string;
|
|
6
|
-
data: TimeSeriesDataPoint[];
|
|
7
|
-
color?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class LineSeriesChartComponent implements OnInit {
|
|
10
|
-
chartContainer: ElementRef;
|
|
11
|
-
seriesData: import("@angular/core").InputSignal<SeriesData[], SeriesData[]>;
|
|
12
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
13
|
-
yAxisTitle: import("@angular/core").InputSignal<string, string>;
|
|
14
|
-
xAxisTitle: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
private chart;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
private initChart;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineSeriesChartComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineSeriesChartComponent, "aril-lineseries-chart", never, { "seriesData": { "alias": "seriesData"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "yAxisTitle": { "alias": "yAxisTitle"; "required": false; "isSignal": true; }; "xAxisTitle": { "alias": "xAxisTitle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { ElementRef, OnInit } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type DataPoint = [number, number];
|
|
4
|
-
interface SeriesData {
|
|
5
|
-
name: string;
|
|
6
|
-
data: DataPoint[];
|
|
7
|
-
color?: string;
|
|
8
|
-
}
|
|
9
|
-
export declare class LineChartComponent implements OnInit {
|
|
10
|
-
chartContainer: ElementRef;
|
|
11
|
-
seriesData: import("@angular/core").InputSignal<SeriesData[], SeriesData[]>;
|
|
12
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
13
|
-
yAxisTitle: import("@angular/core").InputSignal<string, string>;
|
|
14
|
-
xAxisTitle: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
private chart;
|
|
16
|
-
ngOnInit(): void;
|
|
17
|
-
private initChart;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LineChartComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LineChartComponent, "aril-line-chart", never, { "seriesData": { "alias": "seriesData"; "required": false; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "yAxisTitle": { "alias": "yAxisTitle"; "required": false; "isSignal": true; }; "xAxisTitle": { "alias": "xAxisTitle"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import * as Highcharts from 'highcharts';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
interface dataItems {
|
|
5
|
-
name: string;
|
|
6
|
-
y: number;
|
|
7
|
-
color?: string;
|
|
8
|
-
tooltip?: string;
|
|
9
|
-
selected?: boolean;
|
|
10
|
-
}
|
|
11
|
-
export declare class PieHighChartComponent {
|
|
12
|
-
constructor();
|
|
13
|
-
data: import("@angular/core").InputSignal<dataItems[], dataItems[]>;
|
|
14
|
-
title: import("@angular/core").InputSignal<string, string>;
|
|
15
|
-
size: import("@angular/core").InputSignal<string, string>;
|
|
16
|
-
width: import("@angular/core").InputSignal<string, string>;
|
|
17
|
-
height: import("@angular/core").InputSignal<string, string>;
|
|
18
|
-
showLegend: import("@angular/core").InputSignal<boolean, boolean>;
|
|
19
|
-
dataLabelsFormat: import("@angular/core").InputSignal<string, string>;
|
|
20
|
-
selected: EventEmitter<unknown>;
|
|
21
|
-
Highcharts: typeof Highcharts;
|
|
22
|
-
chartOptions: Highcharts.Options;
|
|
23
|
-
setChartOptions(): void;
|
|
24
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PieHighChartComponent, never>;
|
|
25
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PieHighChartComponent, "aril-pie-highchart", never, { "data": { "alias": "data"; "required": true; "isSignal": true; }; "title": { "alias": "title"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "showLegend": { "alias": "showLegend"; "required": false; "isSignal": true; }; "dataLabelsFormat": { "alias": "dataLabelsFormat"; "required": false; "isSignal": true; }; }, { "selected": "selected"; }, never, never, true, never>;
|
|
26
|
-
}
|
|
27
|
-
export {};
|
package/ui/dxEditor/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './src/dx-editor.component';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { BaseInputComponent } from 'aril/ui/lib';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class DxEditorComponent extends BaseInputComponent {
|
|
4
|
-
height: import("@angular/core").InputSignal<string, string>;
|
|
5
|
-
isMultiline: import("@angular/core").InputSignal<boolean, boolean>;
|
|
6
|
-
valueContent: import("@angular/core").InputSignal<string, string>;
|
|
7
|
-
disabled: import("@angular/core").InputSignal<boolean, boolean>;
|
|
8
|
-
isShowToolBar: import("@angular/core").InputSignal<boolean, boolean>;
|
|
9
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DxEditorComponent, never>;
|
|
10
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DxEditorComponent, "aril-dx-editor[ngModel],aril-dx-editor[formControl], aril-dx-editor[formControlName]", never, { "height": { "alias": "height"; "required": false; "isSignal": true; }; "isMultiline": { "alias": "isMultiline"; "required": false; "isSignal": true; }; "valueContent": { "alias": "valueContent"; "required": true; "isSignal": true; }; "disabled": { "alias": "disabled"; "required": false; "isSignal": true; }; "isShowToolBar": { "alias": "isShowToolBar"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
11
|
-
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { FormGroup, ValidatorFn } from '@angular/forms';
|
|
2
|
-
export declare const addControlsWithValidation: (form: FormGroup, controls: {
|
|
3
|
-
name: string;
|
|
4
|
-
validator?: ValidatorFn;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
}[]) => void;
|
|
7
|
-
export declare const removeControls: (form: FormGroup, controlNames: string[]) => void;
|
|
8
|
-
export declare const updateValueAndValidities: (form: FormGroup, controlNames: string[]) => void;
|