@acorex/modules 20.6.0-next.23 → 20.6.0-next.25
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/fesm2022/{acorex-modules-document-management-acorex-modules-document-management-Dg8SVY4R.mjs → acorex-modules-document-management-acorex-modules-document-management-ByRPA5To.mjs} +100 -20
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-ByRPA5To.mjs.map +1 -0
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-zFZApYr5.mjs → acorex-modules-document-management-attachment-widget.component-BDHk-Ukz.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-attachment-widget.component-zFZApYr5.mjs.map → acorex-modules-document-management-attachment-widget.component-BDHk-Ukz.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-details-view.component-CBmWHsVg.mjs → acorex-modules-document-management-details-view.component-BMg9EyVx.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-details-view.component-CBmWHsVg.mjs.map → acorex-modules-document-management-details-view.component-BMg9EyVx.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-0C1OmnNz.mjs → acorex-modules-document-management-document-signature-popup.component-DNy7uxsA.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-document-signature-popup.component-0C1OmnNz.mjs.map → acorex-modules-document-management-document-signature-popup.component-DNy7uxsA.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Cgi4gVUo.mjs → acorex-modules-document-management-drive-choose.component-DwPBtiFH.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive-choose.component-Cgi4gVUo.mjs.map → acorex-modules-document-management-drive-choose.component-DwPBtiFH.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-drive.component-qqJtfLVN.mjs → acorex-modules-document-management-drive.component-Dn6qh_iW.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-drive.component-qqJtfLVN.mjs.map → acorex-modules-document-management-drive.component-Dn6qh_iW.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CiTXhe9q.mjs → acorex-modules-document-management-large-icons-view.component-DeS61K-Y.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-icons-view.component-CiTXhe9q.mjs.map → acorex-modules-document-management-large-icons-view.component-DeS61K-Y.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-C-xJAD2U.mjs → acorex-modules-document-management-large-tiles-view.component-3rWSoRv7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-large-tiles-view.component-C-xJAD2U.mjs.map → acorex-modules-document-management-large-tiles-view.component-3rWSoRv7.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-list-view.component-CALsnuCI.mjs → acorex-modules-document-management-list-view.component-BVaTJLOt.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-list-view.component-CALsnuCI.mjs.map → acorex-modules-document-management-list-view.component-BVaTJLOt.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-7NpKb9FT.mjs → acorex-modules-document-management-permission-definition.provider-BHfKnNtN.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-permission-definition.provider-7NpKb9FT.mjs.map → acorex-modules-document-management-permission-definition.provider-BHfKnNtN.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cx7ON87O.mjs → acorex-modules-document-management-small-icons-view.component-DGzv9OY0.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-icons-view.component-Cx7ON87O.mjs.map → acorex-modules-document-management-small-icons-view.component-DGzv9OY0.mjs.map} +1 -1
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DXLfLnZh.mjs → acorex-modules-document-management-small-tiles-view.component-sQkuW5Z7.mjs} +2 -2
- package/fesm2022/{acorex-modules-document-management-small-tiles-view.component-DXLfLnZh.mjs.map → acorex-modules-document-management-small-tiles-view.component-sQkuW5Z7.mjs.map} +1 -1
- package/fesm2022/acorex-modules-document-management.mjs +1 -1
- package/fesm2022/acorex-modules-report-management.mjs +23 -2
- package/fesm2022/acorex-modules-report-management.mjs.map +1 -1
- package/package.json +10 -10
- package/fesm2022/acorex-modules-document-management-acorex-modules-document-management-Dg8SVY4R.mjs.map +0 -1
|
@@ -2189,6 +2189,27 @@ class AXPReportChartViewComponent {
|
|
|
2189
2189
|
}, ...(ngDevMode ? [{ debugName: "donutChartOptions" }] : []));
|
|
2190
2190
|
this.lineChartData = signal([], ...(ngDevMode ? [{ debugName: "lineChartData" }] : []));
|
|
2191
2191
|
this.lineChartOptions = signal({}, ...(ngDevMode ? [{ debugName: "lineChartOptions" }] : []));
|
|
2192
|
+
/**
|
|
2193
|
+
* Check if bar chart data has items
|
|
2194
|
+
*/
|
|
2195
|
+
this.hasBarChartData = computed(() => {
|
|
2196
|
+
const data = this.barChartData();
|
|
2197
|
+
return Array.isArray(data) && data.length > 0;
|
|
2198
|
+
}, ...(ngDevMode ? [{ debugName: "hasBarChartData" }] : []));
|
|
2199
|
+
/**
|
|
2200
|
+
* Check if donut chart data has items
|
|
2201
|
+
*/
|
|
2202
|
+
this.hasDonutChartData = computed(() => {
|
|
2203
|
+
const data = this.donutChartData();
|
|
2204
|
+
return Array.isArray(data) && data.length > 0;
|
|
2205
|
+
}, ...(ngDevMode ? [{ debugName: "hasDonutChartData" }] : []));
|
|
2206
|
+
/**
|
|
2207
|
+
* Check if line chart data has items
|
|
2208
|
+
*/
|
|
2209
|
+
this.hasLineChartData = computed(() => {
|
|
2210
|
+
const data = this.lineChartData();
|
|
2211
|
+
return Array.isArray(data) && data.length > 0;
|
|
2212
|
+
}, ...(ngDevMode ? [{ debugName: "hasLineChartData" }] : []));
|
|
2192
2213
|
}
|
|
2193
2214
|
//#endregion
|
|
2194
2215
|
//#region ---- Effects ----
|
|
@@ -2205,7 +2226,7 @@ class AXPReportChartViewComponent {
|
|
|
2205
2226
|
return !!(this.chartOptions() && this.dataMapping());
|
|
2206
2227
|
}
|
|
2207
2228
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPReportChartViewComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2208
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPReportChartViewComponent, isStandalone: true, selector: "axp-report-chart-view", host: { classAttribute: "axp-report-chart-view ax-w-full ax-h-full ax-flex ax-flex-col" }, ngImport: i0, template: "<ng-container *translate=\"let t\">\n @if (vm.status() === AXPPageStatus.Processing) {\n
|
|
2229
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "20.3.12", type: AXPReportChartViewComponent, isStandalone: true, selector: "axp-report-chart-view", host: { classAttribute: "axp-report-chart-view ax-w-full ax-h-full ax-flex ax-flex-col" }, ngImport: i0, template: "<ng-container *translate=\"let t\">\n @if (vm.status() === AXPPageStatus.Processing) {\n <!-- Loading State -->\n <div class=\"__loading ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-gap-6 ax-p-8\">\n <div class=\"ax-spinner ax-spin ax-w-10 ax-h-10\"></div>\n <div class=\"__loading-text ax-text-sm ax-opacity-70\">\n {{ t('@report-management:report-viewer.components.chart.messages.loading') | async }}\n </div>\n </div>\n } @else if (vm.status() === AXPPageStatus.Error) {\n <!-- Error State -->\n <axp-state-message\n mode=\"error\"\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.fetch-description'\"\n >\n </axp-state-message>\n } @else if (isChartReady()) {\n <!-- Chart Content -->\n <section\n class=\"__chart-container ax-overflow-auto md:ax-overflow-hidden ax-rounded-2xl ax-border ax-h-full ax-flex ax-flex-col\"\n >\n @if (chartLayout()?.header) {\n <header\n class=\"__chart-header ax-p-4 md:ax-p-6 ax-border-b ax-flex ax-flex-col sm:ax-flex-row ax-gap-2 sm:ax-items-center sm:ax-justify-between\"\n >\n <h3 class=\"__chart-title ax-text-base md:ax-text-lg ax-font-semibold ax-truncate\">\n {{ chartLayout()?.header?.title }}\n </h3>\n @if (chartLayout()?.header?.showDate) {\n <div class=\"__chart-date ax-text-xs md:ax-text-sm ax-opacity-70 ax-font-medium ax-flex-shrink-0\">\n {{ '@general:common.date.today' | translate | async }}\n </div>\n }\n </header>\n }\n\n <div class=\"__chart-body ax-flex-1 ax-p-3 md:ax-p-6\">\n <div\n class=\"__chart-wrapper ax-h-full ax-items-center ax-flex ax-flex-col ax-gap-4 lg:ax-gap-6\"\n [class]=\"\n legendOptions().mode === 'horizontal'\n ? 'ax-flex-col ax-gap-4'\n : 'ax-flex-col lg:ax-flex-row ax-gap-4 lg:ax-gap-6'\n \"\n >\n @switch (chartType()) {\n @case ('bar') {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-bar-chart #barChart [data]=\"barChartData()\" [options]=\"barChartOptions()\"></ax-bar-chart>\n </div>\n @if (hasBarChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"barChart\"></ax-chart-legend>\n </div>\n }\n }\n @case ('doughnut') {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-donut-chart #donutChart [data]=\"donutChartData()\" [options]=\"donutChartOptions()\"></ax-donut-chart>\n </div>\n @if (hasDonutChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"donutChart\"></ax-chart-legend>\n </div>\n }\n }\n @default {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-line-chart #lineChart [data]=\"lineChartData()\" [options]=\"lineChartOptions()\"></ax-line-chart>\n </div>\n @if (hasLineChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"lineChart\"></ax-chart-legend>\n </div>\n }\n }\n }\n </div>\n </div>\n\n @if (chartLayout()?.footer) {\n <footer class=\"__chart-footer ax-p-4 md:ax-p-6 ax-border-t\">\n @if (chartLayout()?.footer?.customHtml) {\n <div [innerHTML]=\"chartLayout()?.footer?.customHtml\"></div>\n }\n </footer>\n }\n </section>\n } @else {\n <!-- No Configuration State -->\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.chart.empty-states.no-config.title'\"\n [description]=\"'@report-management:report-viewer.components.chart.empty-states.no-config.description'\"\n >\n </axp-state-message>\n }\n</ng-container>\n", dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: AXTranslationModule }, { kind: "directive", type: i1$1.AXTranslatorDirective, selector: "[translate]" }, { kind: "ngmodule", type: AXPWidgetCoreModule }, { kind: "component", type: AXBarChartComponent, selector: "ax-bar-chart", inputs: ["data", "options"], outputs: ["barClick"] }, { kind: "component", type: AXDonutChartComponent, selector: "ax-donut-chart", inputs: ["data", "options"], outputs: ["segmentClick", "segmentHover"] }, { kind: "component", type: AXLineChartComponent, selector: "ax-line-chart", inputs: ["data", "options"], outputs: ["pointClick"] }, { kind: "component", type: AXChartLegendComponent, selector: "ax-chart-legend", inputs: ["chart", "options"], outputs: ["itemClick", "itemMouseEnter", "itemMouseLeave"] }, { kind: "component", type: AXPStateMessageComponent, selector: "axp-state-message", inputs: ["mode", "icon", "title", "description", "variant"] }, { kind: "pipe", type: i1$2.AsyncPipe, name: "async" }, { kind: "pipe", type: i1$1.AXTranslatorPipe, name: "translate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
2209
2230
|
}
|
|
2210
2231
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImport: i0, type: AXPReportChartViewComponent, decorators: [{
|
|
2211
2232
|
type: Component,
|
|
@@ -2220,7 +2241,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.12", ngImpo
|
|
|
2220
2241
|
AXPStateMessageComponent,
|
|
2221
2242
|
], host: {
|
|
2222
2243
|
class: 'axp-report-chart-view ax-w-full ax-h-full ax-flex ax-flex-col',
|
|
2223
|
-
}, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *translate=\"let t\">\n @if (vm.status() === AXPPageStatus.Processing) {\n
|
|
2244
|
+
}, changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-container *translate=\"let t\">\n @if (vm.status() === AXPPageStatus.Processing) {\n <!-- Loading State -->\n <div class=\"__loading ax-flex ax-flex-col ax-items-center ax-justify-center ax-h-full ax-gap-6 ax-p-8\">\n <div class=\"ax-spinner ax-spin ax-w-10 ax-h-10\"></div>\n <div class=\"__loading-text ax-text-sm ax-opacity-70\">\n {{ t('@report-management:report-viewer.components.chart.messages.loading') | async }}\n </div>\n </div>\n } @else if (vm.status() === AXPPageStatus.Error) {\n <!-- Error State -->\n <axp-state-message\n mode=\"error\"\n icon=\"fa-light fa-exclamation-triangle\"\n [title]=\"'@report-management:report-viewer.messages.error.fetch-title'\"\n [description]=\"vm.error() || '@report-management:report-viewer.messages.error.fetch-description'\"\n >\n </axp-state-message>\n } @else if (isChartReady()) {\n <!-- Chart Content -->\n <section\n class=\"__chart-container ax-overflow-auto md:ax-overflow-hidden ax-rounded-2xl ax-border ax-h-full ax-flex ax-flex-col\"\n >\n @if (chartLayout()?.header) {\n <header\n class=\"__chart-header ax-p-4 md:ax-p-6 ax-border-b ax-flex ax-flex-col sm:ax-flex-row ax-gap-2 sm:ax-items-center sm:ax-justify-between\"\n >\n <h3 class=\"__chart-title ax-text-base md:ax-text-lg ax-font-semibold ax-truncate\">\n {{ chartLayout()?.header?.title }}\n </h3>\n @if (chartLayout()?.header?.showDate) {\n <div class=\"__chart-date ax-text-xs md:ax-text-sm ax-opacity-70 ax-font-medium ax-flex-shrink-0\">\n {{ '@general:common.date.today' | translate | async }}\n </div>\n }\n </header>\n }\n\n <div class=\"__chart-body ax-flex-1 ax-p-3 md:ax-p-6\">\n <div\n class=\"__chart-wrapper ax-h-full ax-items-center ax-flex ax-flex-col ax-gap-4 lg:ax-gap-6\"\n [class]=\"\n legendOptions().mode === 'horizontal'\n ? 'ax-flex-col ax-gap-4'\n : 'ax-flex-col lg:ax-flex-row ax-gap-4 lg:ax-gap-6'\n \"\n >\n @switch (chartType()) {\n @case ('bar') {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-bar-chart #barChart [data]=\"barChartData()\" [options]=\"barChartOptions()\"></ax-bar-chart>\n </div>\n @if (hasBarChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"barChart\"></ax-chart-legend>\n </div>\n }\n }\n @case ('doughnut') {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-donut-chart #donutChart [data]=\"donutChartData()\" [options]=\"donutChartOptions()\"></ax-donut-chart>\n </div>\n @if (hasDonutChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"donutChart\"></ax-chart-legend>\n </div>\n }\n }\n @default {\n <div\n class=\"__chart-content ax-flex-1 ax-h-full ax-min-h-[250px] md:ax-min-h-[300px] ax-flex ax-items-center ax-justify-center ax-w-full ax-overflow-hidden\"\n >\n <ax-line-chart #lineChart [data]=\"lineChartData()\" [options]=\"lineChartOptions()\"></ax-line-chart>\n </div>\n @if (hasLineChartData()) {\n <div class=\"__chart-legend ax-w-fit ax-flex-shrink-0\">\n <ax-chart-legend [options]=\"legendOptions()\" [chart]=\"lineChart\"></ax-chart-legend>\n </div>\n }\n }\n }\n </div>\n </div>\n\n @if (chartLayout()?.footer) {\n <footer class=\"__chart-footer ax-p-4 md:ax-p-6 ax-border-t\">\n @if (chartLayout()?.footer?.customHtml) {\n <div [innerHTML]=\"chartLayout()?.footer?.customHtml\"></div>\n }\n </footer>\n }\n </section>\n } @else {\n <!-- No Configuration State -->\n <axp-state-message\n icon=\"fa-light fa-chart-line\"\n [title]=\"'@report-management:report-viewer.components.chart.empty-states.no-config.title'\"\n [description]=\"'@report-management:report-viewer.components.chart.empty-states.no-config.description'\"\n >\n </axp-state-message>\n }\n</ng-container>\n" }]
|
|
2224
2245
|
}] });
|
|
2225
2246
|
|
|
2226
2247
|
class AXPReportTableViewComponent {
|