forlogic-core 2.1.4 → 2.2.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/.note/memory/features/import/attachment-idempotency-registry.md +8 -8
- package/.note/memory/features/import/attachment-strategy.md +30 -30
- package/.note/memory/patterns/admin-i18n-policy.md +20 -20
- package/.note/memory/patterns/alias-url-resolution.md +69 -69
- package/.note/memory/patterns/doc-sync-rule.md +35 -35
- package/.note/memory/patterns/documentation-standard.md +17 -17
- package/.note/memory/patterns/dynamic-supabase-config.md +4 -4
- package/.note/memory/patterns/environment-detection-logic.md +35 -35
- package/.note/memory/patterns/i18n-architecture.md +3 -3
- package/README.md +120 -68
- package/dist/action-plans/components/ActionPlanAttachmentsTab.d.ts +3 -0
- package/dist/action-plans/components/ActionPlanCommentsTab.d.ts +3 -0
- package/dist/action-plans/components/ActionPlanCostTab.d.ts +5 -0
- package/dist/action-plans/components/ActionPlanGeneralTab.d.ts +3 -0
- package/dist/action-plans/components/ActionPlanHistoryTab.d.ts +3 -0
- package/dist/action-plans/components/ActionPlanPredecessorsTab.d.ts +5 -0
- package/dist/action-plans/components/ActionPlanProgressDialog.d.ts +3 -0
- package/dist/action-plans/components/ActionPlanProgressTab.d.ts +5 -0
- package/dist/action-plans/components/ActionPlanStatusBadge.d.ts +9 -2
- package/dist/action-plans/constants.d.ts +24 -0
- package/dist/action-plans/hooks/useActionPlan.d.ts +5 -0
- package/dist/action-plans/hooks/useActionPlanProgress.d.ts +5 -0
- package/dist/action-plans/types.d.ts +60 -0
- package/dist/action-plans/utils/formatTime.d.ts +9 -0
- package/dist/audit-trail/components/AuditTrailDetails.d.ts +10 -0
- package/dist/audit-trail/components/AuditTrailFilter.d.ts +10 -0
- package/dist/audit-trail/components/AuditTrailPage.d.ts +10 -0
- package/dist/audit-trail/types.d.ts +58 -0
- package/dist/audit-trail/utils.d.ts +18 -2
- package/dist/auth/components/EditProfileDialog.d.ts +1 -0
- package/dist/auth/components/ProtectedRoute.d.ts +5 -0
- package/dist/auth/contexts/AuthContext.d.ts +5 -0
- package/dist/auth/pages/CallbackPage.d.ts +5 -0
- package/dist/auth/services/AuthService.d.ts +5 -0
- package/dist/auth/services/TokenManager.d.ts +5 -0
- package/dist/auth/services/TokenService.d.ts +10 -0
- package/dist/auth/utils/ErrorInterceptor.d.ts +5 -0
- package/dist/components/dashboards/dashboard-form.d.ts +15 -0
- package/dist/components/dashboards/dashboard-general-view.d.ts +15 -0
- package/dist/components/dashboards/dashboard-grid.d.ts +25 -0
- package/dist/components/dashboards/dashboard-list.d.ts +10 -0
- package/dist/components/dashboards/dashboard-panel-renderer.d.ts +10 -0
- package/dist/components/dashboards/dashboard-view.d.ts +10 -0
- package/dist/components/dashboards/helpers.d.ts +44 -5
- package/dist/components/dashboards/panels/burndown-panel.d.ts +15 -0
- package/dist/components/dashboards/panels/cartesian-panel.d.ts +20 -0
- package/dist/components/dashboards/panels/list-panel.d.ts +15 -0
- package/dist/components/dashboards/panels/matrix-risk-panel.d.ts +25 -0
- package/dist/components/dashboards/panels/numeric-panel.d.ts +10 -0
- package/dist/components/dashboards/panels/panel-error.d.ts +10 -0
- package/dist/components/dashboards/panels/panel-header.d.ts +10 -0
- package/dist/components/dashboards/panels/panel-loader.d.ts +10 -0
- package/dist/components/dashboards/panels/panel-no-data.d.ts +10 -0
- package/dist/components/dashboards/panels/panel-unavailable.d.ts +10 -0
- package/dist/components/dashboards/panels/pareto-panel.d.ts +10 -0
- package/dist/components/dashboards/panels/performance-panel.d.ts +15 -0
- package/dist/components/dashboards/panels/pie-panel.d.ts +10 -0
- package/dist/components/dashboards/panels/text-panel.d.ts +10 -0
- package/dist/components/dashboards/types.d.ts +230 -0
- package/dist/components/modules/AccessDeniedDialog.d.ts +3 -1
- package/dist/components/modules/ModuleAccessGuard.d.ts +3 -1
- package/dist/components/modules/ModulesContent.d.ts +3 -1
- package/dist/components/modules/ModulesDialog.d.ts +1 -1
- package/dist/components/modules/ModulesFooterCards.d.ts +3 -1
- package/dist/components/modules/types.d.ts +2 -0
- package/dist/components/ui/accordion.d.ts +35 -0
- package/dist/components/ui/action-button.d.ts +5 -0
- package/dist/components/ui/alert-dialog.d.ts +82 -0
- package/dist/components/ui/alert.d.ts +32 -0
- package/dist/components/ui/avatar.d.ts +30 -0
- package/dist/components/ui/badge.d.ts +32 -0
- package/dist/components/ui/breadcrumb.d.ts +54 -0
- package/dist/components/ui/button-group.d.ts +15 -0
- package/dist/components/ui/button.d.ts +55 -0
- package/dist/components/ui/calendar.d.ts +16 -0
- package/dist/components/ui/card.d.ts +49 -0
- package/dist/components/ui/chart.d.ts +35 -0
- package/dist/components/ui/checkbox.d.ts +11 -0
- package/dist/components/ui/collapsible.d.ts +15 -0
- package/dist/components/ui/color-picker.d.ts +5 -0
- package/dist/components/ui/combo-tree.d.ts +23 -0
- package/dist/components/ui/combobox.d.ts +28 -0
- package/dist/components/ui/command.d.ts +66 -0
- package/dist/components/ui/context-menu.d.ts +95 -0
- package/dist/components/ui/date-picker.d.ts +10 -0
- package/dist/components/ui/dialog-wizard.d.ts +22 -4
- package/dist/components/ui/dialog.d.ts +181 -0
- package/dist/components/ui/drawer.d.ts +72 -0
- package/dist/components/ui/dropdown-menu.d.ts +153 -0
- package/dist/components/ui/electronic-signature-dialog.d.ts +10 -0
- package/dist/components/ui/export-dialog.d.ts +20 -0
- package/dist/components/ui/form.d.ts +96 -0
- package/dist/components/ui/hover-card.d.ts +15 -0
- package/dist/components/ui/icon-picker.d.ts +5 -0
- package/dist/components/ui/iframe-dialog.d.ts +10 -0
- package/dist/components/ui/input-group.d.ts +16 -0
- package/dist/components/ui/input.d.ts +5 -0
- package/dist/components/ui/menubar.d.ts +80 -0
- package/dist/components/ui/multiselect-permissions.d.ts +25 -0
- package/dist/components/ui/navigation-menu.d.ts +45 -0
- package/dist/components/ui/onboarding-dialog.d.ts +15 -0
- package/dist/components/ui/online-editor-dialog.d.ts +10 -0
- package/dist/components/ui/pagination.d.ts +53 -0
- package/dist/components/ui/popover.d.ts +8 -0
- package/dist/components/ui/radio-group.d.ts +3 -0
- package/dist/components/ui/report-request-list.d.ts +20 -0
- package/dist/components/ui/resizable.d.ts +15 -0
- package/dist/components/ui/rich-text-editor.d.ts +13 -0
- package/dist/components/ui/scroll-area.d.ts +3 -0
- package/dist/components/ui/select.d.ts +71 -0
- package/dist/components/ui/separator.d.ts +13 -0
- package/dist/components/ui/sheet.d.ts +76 -0
- package/dist/components/ui/sidebar.d.ts +203 -0
- package/dist/components/ui/skeleton-variants.d.ts +25 -0
- package/dist/components/ui/skeleton.d.ts +12 -0
- package/dist/components/ui/slider.d.ts +5 -0
- package/dist/components/ui/sonner.d.ts +5 -0
- package/dist/components/ui/spinner.d.ts +5 -0
- package/dist/components/ui/split-button.d.ts +6 -0
- package/dist/components/ui/stack.d.ts +5 -0
- package/dist/components/ui/status-badge.d.ts +52 -0
- package/dist/components/ui/step-selector.d.ts +5 -0
- package/dist/components/ui/stimulsoft-viewer.d.ts +8 -0
- package/dist/components/ui/switch.d.ts +21 -0
- package/dist/components/ui/tab-page-layout.d.ts +33 -0
- package/dist/components/ui/table-resize-handle.d.ts +10 -3
- package/dist/components/ui/table.d.ts +102 -0
- package/dist/components/ui/tabs.d.ts +59 -0
- package/dist/components/ui/terms-of-use-dialog.d.ts +50 -4
- package/dist/components/ui/textarea.d.ts +27 -0
- package/dist/components/ui/timepicker.d.ts +23 -0
- package/dist/components/ui/toggle-group.d.ts +25 -0
- package/dist/components/ui/toggle.d.ts +21 -0
- package/dist/components/ui/tooltip.d.ts +48 -0
- package/dist/components/ui/truncated-cell.d.ts +13 -0
- package/dist/components/ui/typography.d.ts +119 -0
- package/dist/components/ui/updates-notification.d.ts +33 -0
- package/dist/components/ui/users-groups-selector.d.ts +43 -0
- package/dist/components/ui/viewer-dialog.d.ts +107 -0
- package/dist/crud/components/ActionMenuItems.d.ts +5 -0
- package/dist/crud/components/BaseForm.d.ts +46 -0
- package/dist/crud/components/ColumnSettingsPopover.d.ts +10 -0
- package/dist/crud/components/CrudActionBar.d.ts +20 -0
- package/dist/crud/components/CrudGrid.d.ts +10 -0
- package/dist/crud/components/CrudPagination.d.ts +5 -0
- package/dist/crud/components/CrudTable.d.ts +5 -0
- package/dist/crud/components/TableRowActions.d.ts +5 -0
- package/dist/crud/createCrudPage.d.ts +41 -8
- package/dist/crud/generateCrudConfig.d.ts +13 -8
- package/dist/crud/hooks/useBaseForm.d.ts +39 -0
- package/dist/crud/hooks/useColumnManager.d.ts +25 -0
- package/dist/crud/hooks/useCrud.d.ts +35 -0
- package/dist/crud/primitives/ActionMenu.d.ts +41 -0
- package/dist/crud/primitives/FilterBar.d.ts +45 -0
- package/dist/crud/primitives/Pagination.d.ts +5 -0
- package/dist/crud/primitives/Table.d.ts +6 -1
- package/dist/crud/primitives/TreeTable.d.ts +5 -0
- package/dist/crud/primitives/types.d.ts +63 -0
- package/dist/crud/utils/routingHelpers.d.ts +11 -0
- package/dist/custom-form-fields/components/CustomFormFields.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormDateField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormMultiSelectionField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormNumericField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormQuestionsField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormSingleSelectionField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormTextField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormTimeField.d.ts +3 -0
- package/dist/custom-form-fields/fields/FormUrlField.d.ts +3 -0
- package/dist/custom-form-fields/fields/ReadOnlyTextField.d.ts +3 -0
- package/dist/custom-form-fields/types.d.ts +84 -21
- package/dist/exports/crud.d.ts +5 -0
- package/dist/exports/integrations.d.ts +1 -0
- package/dist/exports/ui.d.ts +1 -0
- package/dist/file-upload/components/SingleFileUpload.d.ts +59 -0
- package/dist/file-upload/types.d.ts +15 -0
- package/dist/file-upload/utils/formatBytes.d.ts +5 -0
- package/dist/file-upload/utils/getFileExtension.d.ts +5 -0
- package/dist/hooks/useColumnResize.d.ts +24 -0
- package/dist/hooks/useRowResize.d.ts +18 -0
- package/dist/hooks/useSidebarResize.d.ts +18 -0
- package/dist/hooks/useUpdatesNotification.d.ts +16 -0
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/integrations/clarity/clarityTracking.d.ts +31 -0
- package/dist/integrations/clarity/index.d.ts +3 -0
- package/dist/integrations/clarity/types.d.ts +46 -0
- package/dist/integrations/clarity/useClarity.d.ts +34 -0
- package/dist/integrations/index.d.ts +5 -0
- package/dist/providers/CoreProviders.d.ts +16 -1
- package/dist/qualiex/components/QualiexUserField.d.ts +8 -0
- package/dist/qualiex/hooks/useQualiexUsers.d.ts +16 -26
- package/dist/qualiex/services/qualiexApi.d.ts +38 -2
- package/dist/qualiex/utils/QualiexErrorInterceptor.d.ts +5 -0
- package/dist/supabase/SupabaseSingleton.d.ts +34 -0
- package/dist/types.d.ts +51 -2
- package/dist/utils/color.d.ts +26 -0
- package/dist/utils/index.d.ts +1 -0
- package/dist/vite/index.esm.js +4 -1
- package/dist/vite/index.js +4 -1
- package/docs/PUBLISH.md +168 -0
- package/docs/STORAGE_BUCKETS.md +384 -0
- package/docs/WORKSPACE_KNOWLEDGE.md +120 -119
- package/docs/design-system/README.md +1 -1
- package/docs/design-system/buttons-actions.md +130 -130
- package/docs/design-system/charts-dashboards.md +340 -301
- package/docs/design-system/crud.md +174 -114
- package/docs/design-system/data-display.md +108 -103
- package/docs/design-system/dialogs.md +212 -212
- package/docs/design-system/domain.md +317 -317
- package/docs/design-system/examples.md +275 -275
- package/docs/design-system/foundation.md +1 -1
- package/docs/design-system/inputs.md +131 -131
- package/docs/design-system/layout.md +202 -154
- package/docs/design-system/navigation.md +271 -325
- package/docs/design-system/notifications-feedback.md +34 -34
- package/docs/design-system/patterns/README.md +53 -53
- package/docs/design-system/patterns/action-button.md +22 -22
- package/docs/design-system/patterns/alertdialog-deletion.md +46 -46
- package/docs/design-system/patterns/baseform-custom-fields.md +59 -59
- package/docs/design-system/patterns/baseform-usage.md +42 -42
- package/docs/design-system/patterns/body-content-scroll.md +56 -56
- package/docs/design-system/patterns/combo-tree.md +23 -23
- package/docs/design-system/patterns/components-registry.md +17 -17
- package/docs/design-system/patterns/core-providers.md +41 -39
- package/docs/design-system/patterns/crud-bulk-actions.md +12 -12
- package/docs/design-system/patterns/crud-config-props.md +16 -16
- package/docs/design-system/patterns/crud-defaults.md +17 -17
- package/docs/design-system/patterns/crud-toolbar.md +28 -28
- package/docs/design-system/patterns/delete-confirmation.md +40 -40
- package/docs/design-system/patterns/dialog-body-scroll.md +26 -26
- package/docs/design-system/patterns/dialog-structure.md +32 -32
- package/docs/design-system/patterns/dialog-variants.md +41 -41
- package/docs/design-system/patterns/feature-flags.md +24 -20
- package/docs/design-system/patterns/header-metadata.md +57 -57
- package/docs/design-system/patterns/i18n-setup.md +117 -117
- package/docs/design-system/patterns/pagination.md +27 -27
- package/docs/design-system/patterns/single-scroll.md +39 -39
- package/docs/design-system/patterns/vite-tailwind-setup.md +48 -48
- package/docs/design-system/platform.md +18 -18
- package/docs/design-system/selectors.md +240 -236
- package/docs/design-system/tables-grids.md +95 -38
- package/package.json +150 -144
- package/dist/README.md +0 -1079
- package/dist/bin/bootstrap.js +0 -40
- package/dist/bin/pull-docs.js +0 -186
- package/dist/docs/KNOWLEDGE.md +0 -109
|
@@ -1,9 +1,19 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, MatrixViewType, type PanelConfig } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `MatrixParameter` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: MatrixParameter = {} as MatrixParameter;
|
|
7
|
+
*/
|
|
3
8
|
export interface MatrixParameter {
|
|
4
9
|
name: string;
|
|
5
10
|
position: number;
|
|
6
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Tipo `MatrixRule` exportado pela lib.
|
|
14
|
+
* @example
|
|
15
|
+
* const value: MatrixRule = {} as MatrixRule;
|
|
16
|
+
*/
|
|
7
17
|
export interface MatrixRule {
|
|
8
18
|
name_x: string;
|
|
9
19
|
name_y: string;
|
|
@@ -15,6 +25,11 @@ export interface MatrixRule {
|
|
|
15
25
|
/** Matrix of colors indexed [y][x] */
|
|
16
26
|
colorMatrix?: string[][];
|
|
17
27
|
}
|
|
28
|
+
/**
|
|
29
|
+
* Tipo `MatrixRisk` exportado pela lib.
|
|
30
|
+
* @example
|
|
31
|
+
* const value: MatrixRisk = {} as MatrixRisk;
|
|
32
|
+
*/
|
|
18
33
|
export interface MatrixRisk {
|
|
19
34
|
code: string;
|
|
20
35
|
name: string;
|
|
@@ -29,6 +44,11 @@ export interface MatrixRisk {
|
|
|
29
44
|
resultName?: string;
|
|
30
45
|
link?: string;
|
|
31
46
|
}
|
|
47
|
+
/**
|
|
48
|
+
* Tipo `MatrixRiskPanelProps` exportado pela lib.
|
|
49
|
+
* @example
|
|
50
|
+
* const value: MatrixRiskPanelProps = {} as MatrixRiskPanelProps;
|
|
51
|
+
*/
|
|
32
52
|
export interface MatrixRiskPanelProps {
|
|
33
53
|
config: PanelConfig;
|
|
34
54
|
state: PanelState;
|
|
@@ -46,4 +66,9 @@ export interface MatrixRiskPanelProps {
|
|
|
46
66
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
47
67
|
className?: string;
|
|
48
68
|
}
|
|
69
|
+
/**
|
|
70
|
+
* Função utilitária `MatrixRiskPanel`.
|
|
71
|
+
* @example
|
|
72
|
+
* MatrixRiskPanel();
|
|
73
|
+
*/
|
|
49
74
|
export declare function MatrixRiskPanel({ config, state, rule, risks, matrixViewType, viewOnly, onCellClick, onRiskClick, onRefresh, queryUrl, queryUrlBuilder, className, }: MatrixRiskPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, type PanelConfig } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `NumericPanelProps` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: NumericPanelProps = {} as NumericPanelProps;
|
|
7
|
+
*/
|
|
3
8
|
export interface NumericPanelProps {
|
|
4
9
|
config: PanelConfig;
|
|
5
10
|
/** Current state of the panel */
|
|
@@ -19,4 +24,9 @@ export interface NumericPanelProps {
|
|
|
19
24
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
20
25
|
className?: string;
|
|
21
26
|
}
|
|
27
|
+
/**
|
|
28
|
+
* Função utilitária `NumericPanel`.
|
|
29
|
+
* @example
|
|
30
|
+
* NumericPanel();
|
|
31
|
+
*/
|
|
22
32
|
export declare function NumericPanel({ config, state, value, label, viewOnly, onClick, onRefresh, queryUrl, queryUrlBuilder, className, }: NumericPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,18 @@
|
|
|
1
1
|
import type { PanelConfig } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Tipo `PanelErrorProps` exportado pela lib.
|
|
4
|
+
* @example
|
|
5
|
+
* const value: PanelErrorProps = {} as PanelErrorProps;
|
|
6
|
+
*/
|
|
2
7
|
export interface PanelErrorProps {
|
|
3
8
|
config: PanelConfig;
|
|
4
9
|
/** URL to the query for troubleshooting */
|
|
5
10
|
queryUrl?: string;
|
|
6
11
|
className?: string;
|
|
7
12
|
}
|
|
13
|
+
/**
|
|
14
|
+
* Função utilitária `PanelError`.
|
|
15
|
+
* @example
|
|
16
|
+
* PanelError();
|
|
17
|
+
*/
|
|
8
18
|
export declare function PanelError({ config, queryUrl, className }: PanelErrorProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type PanelConfig } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `PanelHeaderProps` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: PanelHeaderProps = {} as PanelHeaderProps;
|
|
7
|
+
*/
|
|
3
8
|
export interface PanelHeaderProps {
|
|
4
9
|
config: PanelConfig;
|
|
5
10
|
/** Hide the options menu (e.g. in general-view mode) */
|
|
@@ -14,4 +19,9 @@ export interface PanelHeaderProps {
|
|
|
14
19
|
onToggleOnlyMine?: (value: boolean) => void;
|
|
15
20
|
className?: string;
|
|
16
21
|
}
|
|
22
|
+
/**
|
|
23
|
+
* Função utilitária `PanelHeader`.
|
|
24
|
+
* @example
|
|
25
|
+
* PanelHeader();
|
|
26
|
+
*/
|
|
17
27
|
export declare function PanelHeader({ config, viewOnly, complement, complementPosition, queryUrlBuilder, onRefresh, onExport, onToggleOnlyMine, className, }: PanelHeaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,17 @@
|
|
|
1
1
|
import { DashboardPanelType } from '../types';
|
|
2
|
+
/**
|
|
3
|
+
* Tipo `PanelLoaderProps` exportado pela lib.
|
|
4
|
+
* @example
|
|
5
|
+
* const value: PanelLoaderProps = {} as PanelLoaderProps;
|
|
6
|
+
*/
|
|
2
7
|
export interface PanelLoaderProps {
|
|
3
8
|
/** Show extra "please wait" message for long-running panel types */
|
|
4
9
|
panelType?: DashboardPanelType;
|
|
5
10
|
className?: string;
|
|
6
11
|
}
|
|
12
|
+
/**
|
|
13
|
+
* Função utilitária `PanelLoader`.
|
|
14
|
+
* @example
|
|
15
|
+
* PanelLoader();
|
|
16
|
+
*/
|
|
7
17
|
export declare function PanelLoader({ panelType, className }: PanelLoaderProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tipo `PanelNoDataProps` exportado pela lib.
|
|
3
|
+
* @example
|
|
4
|
+
* const value: PanelNoDataProps = {} as PanelNoDataProps;
|
|
5
|
+
*/
|
|
1
6
|
export interface PanelNoDataProps {
|
|
2
7
|
/** Whether the panel has a removed column (shows different message) */
|
|
3
8
|
hasRemovedColumn?: boolean;
|
|
4
9
|
className?: string;
|
|
5
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Função utilitária `PanelNoData`.
|
|
13
|
+
* @example
|
|
14
|
+
* PanelNoData();
|
|
15
|
+
*/
|
|
6
16
|
export declare function PanelNoData({ hasRemovedColumn, className }: PanelNoDataProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tipo `PanelUnavailableProps` exportado pela lib.
|
|
3
|
+
* @example
|
|
4
|
+
* const value: PanelUnavailableProps = {} as PanelUnavailableProps;
|
|
5
|
+
*/
|
|
1
6
|
export interface PanelUnavailableProps {
|
|
2
7
|
/** Callback to remove the panel */
|
|
3
8
|
onRemove?: () => void;
|
|
4
9
|
className?: string;
|
|
5
10
|
}
|
|
11
|
+
/**
|
|
12
|
+
* Função utilitária `PanelUnavailable`.
|
|
13
|
+
* @example
|
|
14
|
+
* PanelUnavailable();
|
|
15
|
+
*/
|
|
6
16
|
export declare function PanelUnavailable({ onRemove, className }: PanelUnavailableProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, type PanelConfig, type PanelResult } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `ParetoPanelProps` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: ParetoPanelProps = {} as ParetoPanelProps;
|
|
7
|
+
*/
|
|
3
8
|
export interface ParetoPanelProps {
|
|
4
9
|
config: PanelConfig;
|
|
5
10
|
state: PanelState;
|
|
@@ -17,4 +22,9 @@ export interface ParetoPanelProps {
|
|
|
17
22
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
18
23
|
className?: string;
|
|
19
24
|
}
|
|
25
|
+
/**
|
|
26
|
+
* Função utilitária `ParetoPanel`.
|
|
27
|
+
* @example
|
|
28
|
+
* ParetoPanel();
|
|
29
|
+
*/
|
|
20
30
|
export declare function ParetoPanel({ config, state, data, barColor, lineColor, viewOnly, onPointClick, onRefresh, onExport, queryUrl, queryUrlBuilder, className, }: ParetoPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,21 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, type PanelConfig } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `PerformanceDataPoint` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: PerformanceDataPoint = {} as PerformanceDataPoint;
|
|
7
|
+
*/
|
|
3
8
|
export interface PerformanceDataPoint {
|
|
4
9
|
name: string;
|
|
5
10
|
executedWork: number;
|
|
6
11
|
plannedWork: number;
|
|
7
12
|
[key: string]: unknown;
|
|
8
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Tipo `PerformancePanelProps` exportado pela lib.
|
|
16
|
+
* @example
|
|
17
|
+
* const value: PerformancePanelProps = {} as PerformancePanelProps;
|
|
18
|
+
*/
|
|
9
19
|
export interface PerformancePanelProps {
|
|
10
20
|
config: PanelConfig;
|
|
11
21
|
state: PanelState;
|
|
@@ -21,4 +31,9 @@ export interface PerformancePanelProps {
|
|
|
21
31
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
22
32
|
className?: string;
|
|
23
33
|
}
|
|
34
|
+
/**
|
|
35
|
+
* Função utilitária `PerformancePanel`.
|
|
36
|
+
* @example
|
|
37
|
+
* PerformancePanel();
|
|
38
|
+
*/
|
|
24
39
|
export declare function PerformancePanel({ config, state, data, executedLabel, plannedLabel, executedColor, plannedColor, viewOnly, onPointClick, onRefresh, queryUrl, queryUrlBuilder, className, }: PerformancePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, type PanelConfig, type PanelResult } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `PiePanelProps` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: PiePanelProps = {} as PiePanelProps;
|
|
7
|
+
*/
|
|
3
8
|
export interface PiePanelProps {
|
|
4
9
|
config: PanelConfig;
|
|
5
10
|
state: PanelState;
|
|
@@ -16,4 +21,9 @@ export interface PiePanelProps {
|
|
|
16
21
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
17
22
|
className?: string;
|
|
18
23
|
}
|
|
24
|
+
/**
|
|
25
|
+
* Função utilitária `PiePanel`.
|
|
26
|
+
* @example
|
|
27
|
+
* PiePanel();
|
|
28
|
+
*/
|
|
19
29
|
export declare function PiePanel({ config, state, data, colors: colorsProp, viewOnly, onSliceClick, onRefresh, onExport, queryUrl, queryUrlBuilder, className, }: PiePanelProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
import { type PanelHeaderProps } from './panel-header';
|
|
2
2
|
import { PanelState, type PanelConfig } from '../types';
|
|
3
|
+
/**
|
|
4
|
+
* Tipo `TextPanelProps` exportado pela lib.
|
|
5
|
+
* @example
|
|
6
|
+
* const value: TextPanelProps = {} as TextPanelProps;
|
|
7
|
+
*/
|
|
3
8
|
export interface TextPanelProps {
|
|
4
9
|
config: PanelConfig;
|
|
5
10
|
/** Current state of the panel */
|
|
@@ -15,4 +20,9 @@ export interface TextPanelProps {
|
|
|
15
20
|
queryUrlBuilder?: PanelHeaderProps['queryUrlBuilder'];
|
|
16
21
|
className?: string;
|
|
17
22
|
}
|
|
23
|
+
/**
|
|
24
|
+
* Função utilitária `TextPanel`.
|
|
25
|
+
* @example
|
|
26
|
+
* TextPanel();
|
|
27
|
+
*/
|
|
18
28
|
export declare function TextPanel({ config, state, htmlContent, viewOnly, onRefresh, queryUrl, queryUrlBuilder, className, }: TextPanelProps): import("react/jsx-runtime").JSX.Element;
|