@praxisui/charts 8.0.0-beta.98 → 9.0.0-beta.0
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/README.md +12 -7
- package/fesm2022/praxisui-charts.mjs +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
## Documentation
|
|
6
6
|
|
|
7
|
-
- Official documentation: https://praxisui.dev
|
|
8
|
-
-
|
|
7
|
+
- Official documentation: https://praxisui.dev/components/charts
|
|
8
|
+
- Quickstart reference app: https://github.com/codexrodrigues/praxis-ui-quickstart
|
|
9
|
+
- Live Praxis UI demo: https://praxis-ui-4e602.web.app
|
|
9
10
|
- Recommended for: Angular hosts that need declarative analytics widgets aligned with the `@praxisui/*` runtime
|
|
10
11
|
|
|
11
12
|
## What this package provides
|
|
@@ -28,13 +29,17 @@
|
|
|
28
29
|
## Install
|
|
29
30
|
|
|
30
31
|
```bash
|
|
31
|
-
npm i @praxisui/charts
|
|
32
|
+
npm i @praxisui/charts@beta
|
|
32
33
|
```
|
|
33
34
|
|
|
34
|
-
Peer dependencies
|
|
35
|
-
- `@angular/core` `^
|
|
36
|
-
- `@angular/common` `^
|
|
37
|
-
- `@
|
|
35
|
+
Peer dependencies:
|
|
36
|
+
- `@angular/core` `^21.0.0`
|
|
37
|
+
- `@angular/common` `^21.0.0`
|
|
38
|
+
- `@angular/forms` `^21.0.0`
|
|
39
|
+
- `@angular/material` `^21.0.0`
|
|
40
|
+
- `@praxisui/core` `^9.0.0-beta.0`
|
|
41
|
+
- `@praxisui/table` `^9.0.0-beta.0`
|
|
42
|
+
- `rxjs` `~7.8.0`
|
|
38
43
|
|
|
39
44
|
Runtime dependency included by this package:
|
|
40
45
|
- `echarts` `^6.0.0`
|
|
@@ -2238,7 +2238,7 @@ class PraxisChartComponent {
|
|
|
2238
2238
|
: this.i18n.resolve(this.renderConfig().state?.error?.title)
|
|
2239
2239
|
|| this.i18n.resolve({
|
|
2240
2240
|
key: 'praxis.charts.runtime.remoteErrorTitle',
|
|
2241
|
-
text: '
|
|
2241
|
+
text: 'Não foi possível carregar os dados do gráfico',
|
|
2242
2242
|
}), ...(ngDevMode ? [{ debugName: "errorTitle" }] : /* istanbul ignore next */ []));
|
|
2243
2243
|
errorDescription = computed(() => this.chartDocumentMappingError()
|
|
2244
2244
|
? this.i18n.resolve({
|
|
@@ -2248,7 +2248,7 @@ class PraxisChartComponent {
|
|
|
2248
2248
|
: this.i18n.resolve(this.renderConfig().state?.error?.description)
|
|
2249
2249
|
|| this.i18n.resolve({
|
|
2250
2250
|
key: 'praxis.charts.runtime.remoteErrorDescription',
|
|
2251
|
-
text: '
|
|
2251
|
+
text: 'Revise a fonte de dados e os filtros antes de continuar.',
|
|
2252
2252
|
}), ...(ngDevMode ? [{ debugName: "errorDescription" }] : /* istanbul ignore next */ []));
|
|
2253
2253
|
editChartLabel = computed(() => this.i18n.resolve({ key: 'praxis.charts.runtime.editChart', text: 'Edit chart settings' }), ...(ngDevMode ? [{ debugName: "editChartLabel" }] : /* istanbul ignore next */ []));
|
|
2254
2254
|
loadState = computed(() => {
|
|
@@ -3228,7 +3228,7 @@ const PRAXIS_CHARTS_PT_BR = {
|
|
|
3228
3228
|
'praxis.charts.runtime.invalidDocumentTitle': 'Configuração canônica inválida',
|
|
3229
3229
|
'praxis.charts.runtime.invalidDocumentDescription': 'O documento canônico do gráfico não pode ser mapeado pelo Praxis Charts. Revise o contrato do gráfico antes de continuar.',
|
|
3230
3230
|
'praxis.charts.runtime.remoteErrorTitle': 'Não foi possível carregar os dados do gráfico',
|
|
3231
|
-
'praxis.charts.runtime.remoteErrorDescription': 'Revise a fonte de dados
|
|
3231
|
+
'praxis.charts.runtime.remoteErrorDescription': 'Revise a fonte de dados e os filtros antes de continuar.',
|
|
3232
3232
|
'praxis.charts.runtime.booleanFalseLabel': 'Não {{ label }}',
|
|
3233
3233
|
'praxis.charts.editor.section.general': 'Geral',
|
|
3234
3234
|
'praxis.charts.editor.section.data': 'Dados',
|
|
@@ -5019,7 +5019,7 @@ class PraxisChartShowcaseWidgetComponent {
|
|
|
5019
5019
|
(rowClick)="handleRowClick($event)"
|
|
5020
5020
|
></praxis-table>
|
|
5021
5021
|
}
|
|
5022
|
-
`, isInline: true, styles: [":host{display:block;height:100%;min-width:0}.showcase-state-card{min-height:240px;display:grid;place-content:center;gap:8px;padding:24px;border-radius:18px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #c5c7ce) 72%,transparent);background:linear-gradient(180deg,#fffffff5,#f4f7fbfa);text-align:center}.showcase-state-card h4{margin:0;font-size:1rem;font-weight:600;color:var(--md-sys-color-on-surface, #1a1b20)}.showcase-state-card p{margin:0;color:var(--md-sys-color-on-surface-variant, #5a5d67)}\n"], dependencies: [{ kind: "component", type: PraxisChartComponent, selector: "praxis-chart", inputs: ["config", "data", "chartDocument", "filterCriteria", "queryContext", "remoteDataResolver", "enableCustomization", "availableResources", "availableFields", "availableTargets"], outputs: ["pointClick", "selectionChange", "crossFilter", "queryRequest", "loadStateChange", "chartDocumentApplied", "chartDocumentSaved"] }, { kind: "component", type: PraxisTable, selector: "praxis-table", inputs: ["config", "resourcePath", "data", "tableId", "componentInstanceId", "title", "subtitle", "icon", "autoDelete", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "crudContext", "filterCriteria", "queryContext", "aiContext", "aiAssistantVoiceInputMode", "aiAssistantVoiceLanguage", "horizontalScroll", "enableCustomization", "dense"], outputs: ["rowClick", "widgetEvent", "rowDoubleClick", "rowExpansionChange", "rowAction", "toolbarAction", "bulkAction", "exportAction", "columnReorder", "columnReorderAttempt", "beforeDelete", "afterDelete", "deleteError", "beforeBulkDelete", "afterBulkDelete", "bulkDeleteError", "schemaStatusChange", "configChange", "metadataChange", "loadingStateChange", "collectionLinksChange", "selectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5022
|
+
`, isInline: true, styles: [":host{display:block;height:100%;min-width:0}.showcase-state-card{min-height:240px;display:grid;place-content:center;gap:8px;padding:24px;border-radius:18px;border:1px solid color-mix(in srgb,var(--md-sys-color-outline, #c5c7ce) 72%,transparent);background:linear-gradient(180deg,#fffffff5,#f4f7fbfa);text-align:center}.showcase-state-card h4{margin:0;font-size:1rem;font-weight:600;color:var(--md-sys-color-on-surface, #1a1b20)}.showcase-state-card p{margin:0;color:var(--md-sys-color-on-surface-variant, #5a5d67)}\n"], dependencies: [{ kind: "component", type: PraxisChartComponent, selector: "praxis-chart", inputs: ["config", "data", "chartDocument", "filterCriteria", "queryContext", "remoteDataResolver", "enableCustomization", "availableResources", "availableFields", "availableTargets"], outputs: ["pointClick", "selectionChange", "crossFilter", "queryRequest", "loadStateChange", "chartDocumentApplied", "chartDocumentSaved"] }, { kind: "component", type: PraxisTable, selector: "praxis-table", inputs: ["config", "resourcePath", "data", "tableId", "componentInstanceId", "configPersistenceStrategy", "title", "subtitle", "icon", "autoDelete", "notifyIfOutdated", "snoozeMs", "autoOpenSettingsOnOutdated", "crudContext", "filterCriteria", "queryContext", "aiContext", "aiAssistantVoiceInputMode", "aiAssistantVoiceLanguage", "horizontalScroll", "enableCustomization", "dense"], outputs: ["rowClick", "widgetEvent", "rowDoubleClick", "rowExpansionChange", "rowAction", "toolbarAction", "bulkAction", "exportAction", "columnReorder", "columnReorderAttempt", "beforeDelete", "afterDelete", "deleteError", "beforeBulkDelete", "afterBulkDelete", "bulkDeleteError", "schemaStatusChange", "configChange", "metadataChange", "loadingStateChange", "collectionLinksChange", "selectionChange"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
5023
5023
|
}
|
|
5024
5024
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.14", ngImport: i0, type: PraxisChartShowcaseWidgetComponent, decorators: [{
|
|
5025
5025
|
type: Component,
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@praxisui/charts",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0-beta.0",
|
|
4
4
|
"description": "Metadata-driven charts library for Praxis UI Angular with engine adapters and Apache ECharts as the initial renderer.",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": "^21.0.0",
|
|
7
7
|
"@angular/core": "^21.0.0",
|
|
8
|
-
"@praxisui/core": "^
|
|
8
|
+
"@praxisui/core": "^9.0.0-beta.0",
|
|
9
9
|
"@angular/forms": "^21.0.0",
|
|
10
10
|
"@angular/material": "^21.0.0",
|
|
11
|
-
"@praxisui/table": "^
|
|
11
|
+
"@praxisui/table": "^9.0.0-beta.0",
|
|
12
12
|
"rxjs": "~7.8.0"
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|