@wakastellar/ui 4.0.0-dev.0 → 4.0.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/dist/components/waka-rich-text-editor/index.d.ts +6 -0
- package/dist/doc.cjs.js +1 -1
- package/dist/doc.es.js +1 -1
- package/dist/index.cjs.js +1 -1
- package/dist/index.es.js +1 -1
- package/dist/rich-text.cjs.js +1 -1
- package/dist/rich-text.es.js +1 -1
- package/dist/waka-rich-text-editor-DcZuIQ-q.js +1 -0
- package/dist/{waka-rich-text-editor-BbEpfD5b.mjs → waka-rich-text-editor-SOKYDdDP.mjs} +38 -36
- package/package.json +1 -1
- package/src/components/waka-rich-text-editor/index.tsx +10 -0
- package/dist/editor.d.ts +0 -1
- package/dist/src/blocks/activity-timeline/index.d.ts +0 -73
- package/dist/src/blocks/antivirus-dashboard/index.d.ts +0 -44
- package/dist/src/blocks/apm-overview/index.d.ts +0 -58
- package/dist/src/blocks/auth-2fa/index.d.ts +0 -38
- package/dist/src/blocks/calendar-view/index.d.ts +0 -56
- package/dist/src/blocks/chat/index.d.ts +0 -112
- package/dist/src/blocks/chat/widget.d.ts +0 -100
- package/dist/src/blocks/chat-interface/index.d.ts +0 -66
- package/dist/src/blocks/checkout-flow/index.d.ts +0 -76
- package/dist/src/blocks/cicd-builder/index.d.ts +0 -47
- package/dist/src/blocks/clamav-service-status/index.d.ts +0 -35
- package/dist/src/blocks/cloud-cost-dashboard/index.d.ts +0 -49
- package/dist/src/blocks/container-orchestrator/index.d.ts +0 -63
- package/dist/src/blocks/dashboard/index.d.ts +0 -95
- package/dist/src/blocks/dashboard-kpi/index.d.ts +0 -69
- package/dist/src/blocks/database-admin/index.d.ts +0 -84
- package/dist/src/blocks/deployment-dashboard/index.d.ts +0 -68
- package/dist/src/blocks/empty-states/index.d.ts +0 -47
- package/dist/src/blocks/error-pages/index.d.ts +0 -55
- package/dist/src/blocks/faq/index.d.ts +0 -54
- package/dist/src/blocks/file-manager/index.d.ts +0 -81
- package/dist/src/blocks/file-scan-uploader/index.d.ts +0 -29
- package/dist/src/blocks/footer/index.d.ts +0 -19
- package/dist/src/blocks/gitops-sync-status/index.d.ts +0 -45
- package/dist/src/blocks/header/index.d.ts +0 -86
- package/dist/src/blocks/headtab/index.d.ts +0 -27
- package/dist/src/blocks/i18n-editor/index.d.ts +0 -63
- package/dist/src/blocks/incident-manager/index.d.ts +0 -44
- package/dist/src/blocks/index.d.ts +0 -58
- package/dist/src/blocks/infrastructure-map/index.d.ts +0 -32
- package/dist/src/blocks/kanban-board/index.d.ts +0 -77
- package/dist/src/blocks/landing/index.d.ts +0 -104
- package/dist/src/blocks/language-selector/index.d.ts +0 -6
- package/dist/src/blocks/layout/index.d.ts +0 -28
- package/dist/src/blocks/login/index.d.ts +0 -42
- package/dist/src/blocks/login/types.d.ts +0 -126
- package/dist/src/blocks/on-call-schedule/index.d.ts +0 -43
- package/dist/src/blocks/player-profile/index.d.ts +0 -78
- package/dist/src/blocks/pricing/index.d.ts +0 -64
- package/dist/src/blocks/profile/index.d.ts +0 -98
- package/dist/src/blocks/quarantine-manager/index.d.ts +0 -27
- package/dist/src/blocks/release-notes/index.d.ts +0 -49
- package/dist/src/blocks/scan-history-log/index.d.ts +0 -28
- package/dist/src/blocks/scan-policy-editor/index.d.ts +0 -27
- package/dist/src/blocks/scan-report-generator/index.d.ts +0 -47
- package/dist/src/blocks/settings/index.d.ts +0 -62
- package/dist/src/blocks/sidebar/index.d.ts +0 -155
- package/dist/src/blocks/signature-database-manager/index.d.ts +0 -39
- package/dist/src/blocks/threat-alert-banner/index.d.ts +0 -26
- package/dist/src/blocks/user-management/index.d.ts +0 -95
- package/dist/src/blocks/waka-doc-shell/index.d.ts +0 -3
- package/dist/src/blocks/waka-doc-shell/types.d.ts +0 -32
- package/dist/src/blocks/wizard/index.d.ts +0 -88
- package/dist/src/charts.d.ts +0 -17
- package/dist/src/cli/commands/add.d.ts +0 -7
- package/dist/src/cli/commands/init.d.ts +0 -6
- package/dist/src/cli/commands/list.d.ts +0 -5
- package/dist/src/cli/commands/search.d.ts +0 -1
- package/dist/src/cli/index.d.ts +0 -1
- package/dist/src/cli/utils/config.d.ts +0 -29
- package/dist/src/cli/utils/logger.d.ts +0 -20
- package/dist/src/cli/utils/registry.d.ts +0 -23
- package/dist/src/cli/utils/remote.d.ts +0 -49
- package/dist/src/components/DataTable/DataTable.d.ts +0 -17
- package/dist/src/components/DataTable/DataTableAdvanced.d.ts +0 -27
- package/dist/src/components/DataTable/DataTableColumnResizer.d.ts +0 -8
- package/dist/src/components/DataTable/DataTableContextMenu.d.ts +0 -47
- package/dist/src/components/DataTable/DataTableEditCell.d.ts +0 -29
- package/dist/src/components/DataTable/DataTableFilters.d.ts +0 -14
- package/dist/src/components/DataTable/DataTableGrouping.d.ts +0 -25
- package/dist/src/components/DataTable/DataTablePagination.d.ts +0 -8
- package/dist/src/components/DataTable/DataTableSelection.d.ts +0 -46
- package/dist/src/components/DataTable/DataTableToolbar.d.ts +0 -14
- package/dist/src/components/DataTable/examples/EditExample.d.ts +0 -2
- package/dist/src/components/DataTable/hooks/useDataTable.d.ts +0 -24
- package/dist/src/components/DataTable/hooks/useDataTableAdvanced.d.ts +0 -38
- package/dist/src/components/DataTable/hooks/useDataTableEdit.d.ts +0 -22
- package/dist/src/components/DataTable/hooks/useDataTableExport.d.ts +0 -15
- package/dist/src/components/DataTable/hooks/useDataTableImport.d.ts +0 -12
- package/dist/src/components/DataTable/hooks/useDataTableTheme.d.ts +0 -16
- package/dist/src/components/DataTable/hooks/useDataTableVirtualization.d.ts +0 -19
- package/dist/src/components/DataTable/hooks/useTableLayout.d.ts +0 -26
- package/dist/src/components/DataTable/index.d.ts +0 -37
- package/dist/src/components/DataTable/types.d.ts +0 -461
- package/dist/src/components/DataTable/utils.d.ts +0 -37
- package/dist/src/components/accordion/index.d.ts +0 -7
- package/dist/src/components/alert/index.d.ts +0 -8
- package/dist/src/components/alert-dialog/index.d.ts +0 -20
- package/dist/src/components/aspect-ratio/index.d.ts +0 -3
- package/dist/src/components/avatar/index.d.ts +0 -6
- package/dist/src/components/badge/index.d.ts +0 -9
- package/dist/src/components/button/index.d.ts +0 -11
- package/dist/src/components/calendar/index.d.ts +0 -18
- package/dist/src/components/card/index.d.ts +0 -46
- package/dist/src/components/checkbox/index.d.ts +0 -4
- package/dist/src/components/code/index.d.ts +0 -29
- package/dist/src/components/collapsible/index.d.ts +0 -5
- package/dist/src/components/command/index.d.ts +0 -83
- package/dist/src/components/context-menu/index.d.ts +0 -27
- package/dist/src/components/dialog/index.d.ts +0 -19
- package/dist/src/components/dropdown-menu/index.d.ts +0 -27
- package/dist/src/components/editor/blocks/index.d.ts +0 -51
- package/dist/src/components/editor/blocks/waka-acceptance-criteria-block.d.ts +0 -60
- package/dist/src/components/editor/blocks/waka-ai-assist-block.d.ts +0 -58
- package/dist/src/components/editor/blocks/waka-api-endpoint-block.d.ts +0 -63
- package/dist/src/components/editor/blocks/waka-code-playground-block.d.ts +0 -61
- package/dist/src/components/editor/blocks/waka-comment-thread-block.d.ts +0 -85
- package/dist/src/components/editor/blocks/waka-diagram-block.d.ts +0 -52
- package/dist/src/components/editor/blocks/waka-embed-block.d.ts +0 -58
- package/dist/src/components/editor/blocks/waka-slash-menu-block.d.ts +0 -67
- package/dist/src/components/editor/blocks/waka-user-story-block.d.ts +0 -79
- package/dist/src/components/editor/blocks/waka-version-diff-block.d.ts +0 -73
- package/dist/src/components/editor/index.d.ts +0 -80
- package/dist/src/components/editor/waka-ai-writer.d.ts +0 -80
- package/dist/src/components/editor/waka-collaborative-editor.d.ts +0 -93
- package/dist/src/components/editor/waka-diff-viewer.d.ts +0 -71
- package/dist/src/components/editor/waka-dnd-editor.d.ts +0 -64
- package/dist/src/components/editor/waka-document-editor.d.ts +0 -92
- package/dist/src/components/editor/waka-editor-elements.d.ts +0 -79
- package/dist/src/components/editor/waka-editor-leaves.d.ts +0 -39
- package/dist/src/components/editor/waka-editor-plugins.d.ts +0 -41
- package/dist/src/components/editor/waka-editor-toolbar.d.ts +0 -20
- package/dist/src/components/editor/waka-editor.d.ts +0 -59
- package/dist/src/components/editor/waka-floating-toolbar.d.ts +0 -53
- package/dist/src/components/editor/waka-markdown-editor.d.ts +0 -60
- package/dist/src/components/editor/waka-mention-editor.d.ts +0 -125
- package/dist/src/components/editor/waka-slash-menu.d.ts +0 -70
- package/dist/src/components/editor/waka-spec-editor.d.ts +0 -88
- package/dist/src/components/error-boundary/ErrorBoundary.d.ts +0 -102
- package/dist/src/components/error-boundary/index.d.ts +0 -2
- package/dist/src/components/form/index.d.ts +0 -23
- package/dist/src/components/hover-card/index.d.ts +0 -6
- package/dist/src/components/index.d.ts +0 -257
- package/dist/src/components/input/index.d.ts +0 -19
- package/dist/src/components/input-otp/index.d.ts +0 -51
- package/dist/src/components/label/index.d.ts +0 -5
- package/dist/src/components/language-selector/index.d.ts +0 -40
- package/dist/src/components/menubar/index.d.ts +0 -28
- package/dist/src/components/navigation-menu/index.d.ts +0 -12
- package/dist/src/components/popover/index.d.ts +0 -6
- package/dist/src/components/progress/index.d.ts +0 -4
- package/dist/src/components/radio-group/index.d.ts +0 -5
- package/dist/src/components/scroll-area/index.d.ts +0 -5
- package/dist/src/components/select/index.d.ts +0 -13
- package/dist/src/components/separator/index.d.ts +0 -4
- package/dist/src/components/sheet/index.d.ts +0 -27
- package/dist/src/components/skeleton/index.d.ts +0 -13
- package/dist/src/components/slider/index.d.ts +0 -4
- package/dist/src/components/switch/index.d.ts +0 -4
- package/dist/src/components/table/index.d.ts +0 -21
- package/dist/src/components/tabs/index.d.ts +0 -7
- package/dist/src/components/textarea/index.d.ts +0 -14
- package/dist/src/components/theme-selector/index.d.ts +0 -8
- package/dist/src/components/toast/index.d.ts +0 -15
- package/dist/src/components/toaster/index.d.ts +0 -1
- package/dist/src/components/toggle/index.d.ts +0 -12
- package/dist/src/components/tooltip/index.d.ts +0 -7
- package/dist/src/components/typography/index.d.ts +0 -85
- package/dist/src/components/waka-3d-pie-chart/index.d.ts +0 -67
- package/dist/src/components/waka-achievement-unlock/index.d.ts +0 -83
- package/dist/src/components/waka-activity-feed/index.d.ts +0 -78
- package/dist/src/components/waka-ad-banner/index.d.ts +0 -36
- package/dist/src/components/waka-ad-fallback/index.d.ts +0 -33
- package/dist/src/components/waka-ad-inline/index.d.ts +0 -15
- package/dist/src/components/waka-ad-interstitial/index.d.ts +0 -26
- package/dist/src/components/waka-ad-placeholder/index.d.ts +0 -17
- package/dist/src/components/waka-ad-provider/index.d.ts +0 -103
- package/dist/src/components/waka-ad-sidebar/index.d.ts +0 -18
- package/dist/src/components/waka-ad-sticky-footer/index.d.ts +0 -17
- package/dist/src/components/waka-address-autocomplete/index.d.ts +0 -129
- package/dist/src/components/waka-admincrumb/index.d.ts +0 -55
- package/dist/src/components/waka-alert-panel/index.d.ts +0 -45
- package/dist/src/components/waka-alert-stack/index.d.ts +0 -58
- package/dist/src/components/waka-allocation-matrix/index.d.ts +0 -193
- package/dist/src/components/waka-approval-chain/index.d.ts +0 -43
- package/dist/src/components/waka-artifact-list/index.d.ts +0 -32
- package/dist/src/components/waka-audit-log/index.d.ts +0 -142
- package/dist/src/components/waka-autocomplete/index.d.ts +0 -59
- package/dist/src/components/waka-badge-showcase/index.d.ts +0 -51
- package/dist/src/components/waka-barcode/index.d.ts +0 -27
- package/dist/src/components/waka-biometric-prompt/index.d.ts +0 -84
- package/dist/src/components/waka-bottom-sheet/index.d.ts +0 -61
- package/dist/src/components/waka-breadcrumb/index.d.ts +0 -43
- package/dist/src/components/waka-breadcrumb-path/index.d.ts +0 -46
- package/dist/src/components/waka-budget-burn/index.d.ts +0 -154
- package/dist/src/components/waka-build-matrix/index.d.ts +0 -36
- package/dist/src/components/waka-capacity-planner/index.d.ts +0 -132
- package/dist/src/components/waka-carousel/index.d.ts +0 -105
- package/dist/src/components/waka-cart-summary/index.d.ts +0 -154
- package/dist/src/components/waka-challenge-timer/index.d.ts +0 -86
- package/dist/src/components/waka-charts/WakaAreaChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaBarChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaChart.d.ts +0 -17
- package/dist/src/components/waka-charts/WakaLineChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaMiniChart.d.ts +0 -13
- package/dist/src/components/waka-charts/WakaPieChart.d.ts +0 -12
- package/dist/src/components/waka-charts/WakaSparkline.d.ts +0 -13
- package/dist/src/components/waka-charts/dataTableHelpers.d.ts +0 -34
- package/dist/src/components/waka-charts/hooks/useChartTheme.d.ts +0 -23
- package/dist/src/components/waka-charts/hooks/useRechartsLoader.d.ts +0 -161
- package/dist/src/components/waka-charts/index.d.ts +0 -57
- package/dist/src/components/waka-charts/types.d.ts +0 -298
- package/dist/src/components/waka-chat-bubble/index.d.ts +0 -127
- package/dist/src/components/waka-checklist/index.d.ts +0 -123
- package/dist/src/components/waka-checkout-stepper/index.d.ts +0 -154
- package/dist/src/components/waka-cohort-table/index.d.ts +0 -130
- package/dist/src/components/waka-color-picker/index.d.ts +0 -40
- package/dist/src/components/waka-combo-counter/index.d.ts +0 -53
- package/dist/src/components/waka-combobox/index.d.ts +0 -81
- package/dist/src/components/waka-command-bar/index.d.ts +0 -45
- package/dist/src/components/waka-compare-period/index.d.ts +0 -122
- package/dist/src/components/waka-config-comparator/index.d.ts +0 -37
- package/dist/src/components/waka-connection-matrix/index.d.ts +0 -117
- package/dist/src/components/waka-container-list/index.d.ts +0 -51
- package/dist/src/components/waka-content-recommendation/index.d.ts +0 -23
- package/dist/src/components/waka-contribution-graph/index.d.ts +0 -34
- package/dist/src/components/waka-cost-breakdown/index.d.ts +0 -50
- package/dist/src/components/waka-coupon-input/index.d.ts +0 -105
- package/dist/src/components/waka-credit-activity-feed/index.d.ts +0 -21
- package/dist/src/components/waka-credit-alert/index.d.ts +0 -24
- package/dist/src/components/waka-credit-balance/index.d.ts +0 -30
- package/dist/src/components/waka-credit-balance/types.d.ts +0 -34
- package/dist/src/components/waka-credit-breakdown/index.d.ts +0 -32
- package/dist/src/components/waka-credit-burn-rate/index.d.ts +0 -25
- package/dist/src/components/waka-credit-card-input/index.d.ts +0 -95
- package/dist/src/components/waka-credit-history/index.d.ts +0 -31
- package/dist/src/components/waka-credit-meter/index.d.ts +0 -27
- package/dist/src/components/waka-credit-pricing-pack/index.d.ts +0 -17
- package/dist/src/components/waka-credit-projection/index.d.ts +0 -21
- package/dist/src/components/waka-credit-quota/index.d.ts +0 -25
- package/dist/src/components/waka-credit-receipt/index.d.ts +0 -23
- package/dist/src/components/waka-credit-top-up/index.d.ts +0 -26
- package/dist/src/components/waka-credit-transaction/index.d.ts +0 -22
- package/dist/src/components/waka-credit-transfer-form/index.d.ts +0 -27
- package/dist/src/components/waka-credit-usage-chart/index.d.ts +0 -34
- package/dist/src/components/waka-daily-reward/index.d.ts +0 -76
- package/dist/src/components/waka-database-card/index.d.ts +0 -46
- package/dist/src/components/waka-date-range-picker/index.d.ts +0 -68
- package/dist/src/components/waka-datetime-picker/index.d.ts +0 -135
- package/dist/src/components/waka-datetime-picker.form-integration/index.d.ts +0 -73
- package/dist/src/components/waka-dependency-tree/index.d.ts +0 -38
- package/dist/src/components/waka-deployment-lane/index.d.ts +0 -43
- package/dist/src/components/waka-device-trust/index.d.ts +0 -95
- package/dist/src/components/waka-doc-breadcrumb/index.d.ts +0 -11
- package/dist/src/components/waka-doc-callout/index.d.ts +0 -9
- package/dist/src/components/waka-doc-code-block/index.d.ts +0 -9
- package/dist/src/components/waka-doc-nav/index.d.ts +0 -16
- package/dist/src/components/waka-doc-renderer/index.d.ts +0 -7
- package/dist/src/components/waka-doc-search/index.d.ts +0 -23
- package/dist/src/components/waka-doc-table/index.d.ts +0 -8
- package/dist/src/components/waka-doc-toc/index.d.ts +0 -11
- package/dist/src/components/waka-doc-toolbar/index.d.ts +0 -15
- package/dist/src/components/waka-doc-version/index.d.ts +0 -13
- package/dist/src/components/waka-dock/index.d.ts +0 -49
- package/dist/src/components/waka-drawer/index.d.ts +0 -59
- package/dist/src/components/waka-empty-state/index.d.ts +0 -85
- package/dist/src/components/waka-env-var-editor/index.d.ts +0 -30
- package/dist/src/components/waka-error-shake/index.d.ts +0 -49
- package/dist/src/components/waka-feature-announcement/index.d.ts +0 -112
- package/dist/src/components/waka-feature-flag-row/index.d.ts +0 -45
- package/dist/src/components/waka-file-upload/index.d.ts +0 -49
- package/dist/src/components/waka-floating-nav/index.d.ts +0 -51
- package/dist/src/components/waka-flow-diagram/index.d.ts +0 -71
- package/dist/src/components/waka-funnel-chart/index.d.ts +0 -108
- package/dist/src/components/waka-glow-card/index.d.ts +0 -32
- package/dist/src/components/waka-goal-progress/index.d.ts +0 -139
- package/dist/src/components/waka-haptic-button/index.d.ts +0 -50
- package/dist/src/components/waka-health-pulse/index.d.ts +0 -28
- package/dist/src/components/waka-heatmap/index.d.ts +0 -135
- package/dist/src/components/waka-hotspot/index.d.ts +0 -111
- package/dist/src/components/waka-image/index.d.ts +0 -59
- package/dist/src/components/waka-incident-timeline/index.d.ts +0 -38
- package/dist/src/components/waka-invoice-preview/index.d.ts +0 -137
- package/dist/src/components/waka-kanban/index.d.ts +0 -68
- package/dist/src/components/waka-kpi-dashboard/index.d.ts +0 -80
- package/dist/src/components/waka-kubernetes-overview/index.d.ts +0 -98
- package/dist/src/components/waka-leaderboard/index.d.ts +0 -85
- package/dist/src/components/waka-level-progress/index.d.ts +0 -89
- package/dist/src/components/waka-liquid-button/index.d.ts +0 -46
- package/dist/src/components/waka-loading-orbit/index.d.ts +0 -90
- package/dist/src/components/waka-log-viewer/index.d.ts +0 -38
- package/dist/src/components/waka-loot-box/index.d.ts +0 -87
- package/dist/src/components/waka-magic-link/index.d.ts +0 -34
- package/dist/src/components/waka-magnetic-button/index.d.ts +0 -61
- package/dist/src/components/waka-mention-input/index.d.ts +0 -106
- package/dist/src/components/waka-metric-sparkline/index.d.ts +0 -46
- package/dist/src/components/waka-migration-list/index.d.ts +0 -36
- package/dist/src/components/waka-milestone-road/index.d.ts +0 -91
- package/dist/src/components/waka-modal/index.d.ts +0 -87
- package/dist/src/components/waka-morph-button/index.d.ts +0 -62
- package/dist/src/components/waka-network-topology/index.d.ts +0 -35
- package/dist/src/components/waka-notifications/index.d.ts +0 -40
- package/dist/src/components/waka-number-input/index.d.ts +0 -60
- package/dist/src/components/waka-orbital-menu/index.d.ts +0 -61
- package/dist/src/components/waka-order-tracker/index.d.ts +0 -121
- package/dist/src/components/waka-outstream-video/index.d.ts +0 -24
- package/dist/src/components/waka-pagination/index.d.ts +0 -67
- package/dist/src/components/waka-password-strength/index.d.ts +0 -98
- package/dist/src/components/waka-payment-method-picker/index.d.ts +0 -88
- package/dist/src/components/waka-permission-matrix/index.d.ts +0 -197
- package/dist/src/components/waka-phone-input/index.d.ts +0 -93
- package/dist/src/components/waka-pipeline-view/index.d.ts +0 -49
- package/dist/src/components/waka-player-card/index.d.ts +0 -36
- package/dist/src/components/waka-pod-card/index.d.ts +0 -73
- package/dist/src/components/waka-points-popup/index.d.ts +0 -75
- package/dist/src/components/waka-power-up/index.d.ts +0 -103
- package/dist/src/components/waka-presence-indicator/index.d.ts +0 -188
- package/dist/src/components/waka-pricing-table/index.d.ts +0 -77
- package/dist/src/components/waka-product-card/index.d.ts +0 -81
- package/dist/src/components/waka-progress-onboarding/index.d.ts +0 -97
- package/dist/src/components/waka-pull-to-refresh/index.d.ts +0 -45
- package/dist/src/components/waka-qrcode/index.d.ts +0 -32
- package/dist/src/components/waka-query-explain/index.d.ts +0 -48
- package/dist/src/components/waka-quest-card/index.d.ts +0 -110
- package/dist/src/components/waka-quota-bar/index.d.ts +0 -100
- package/dist/src/components/waka-radar-score/index.d.ts +0 -95
- package/dist/src/components/waka-rank-badge/index.d.ts +0 -58
- package/dist/src/components/waka-rating-input/index.d.ts +0 -110
- package/dist/src/components/waka-reaction-picker/index.d.ts +0 -77
- package/dist/src/components/waka-region-map/index.d.ts +0 -27
- package/dist/src/components/waka-resource-gauge/index.d.ts +0 -78
- package/dist/src/components/waka-resource-pool/index.d.ts +0 -81
- package/dist/src/components/waka-rich-text-editor/index.d.ts +0 -36
- package/dist/src/components/waka-rollback-slider/index.d.ts +0 -79
- package/dist/src/components/waka-sankey-diagram/index.d.ts +0 -120
- package/dist/src/components/waka-schedule-picker/index.d.ts +0 -100
- package/dist/src/components/waka-scratch-card/index.d.ts +0 -87
- package/dist/src/components/waka-season-pass/index.d.ts +0 -65
- package/dist/src/components/waka-secret-card/index.d.ts +0 -43
- package/dist/src/components/waka-security-scan-result/index.d.ts +0 -45
- package/dist/src/components/waka-security-score/index.d.ts +0 -124
- package/dist/src/components/waka-segmented-control/index.d.ts +0 -42
- package/dist/src/components/waka-server-rack/index.d.ts +0 -44
- package/dist/src/components/waka-service-graph/index.d.ts +0 -44
- package/dist/src/components/waka-session-manager/index.d.ts +0 -116
- package/dist/src/components/waka-signature-pad/index.d.ts +0 -87
- package/dist/src/components/waka-skeleton-wave/index.d.ts +0 -79
- package/dist/src/components/waka-skill-tree/index.d.ts +0 -78
- package/dist/src/components/waka-sla-tracker/index.d.ts +0 -65
- package/dist/src/components/waka-slider-range/index.d.ts +0 -88
- package/dist/src/components/waka-spin-wheel/index.d.ts +0 -51
- package/dist/src/components/waka-spinner/index.d.ts +0 -46
- package/dist/src/components/waka-sponsored-badge/index.d.ts +0 -20
- package/dist/src/components/waka-sponsored-card/index.d.ts +0 -25
- package/dist/src/components/waka-sponsored-feed/index.d.ts +0 -31
- package/dist/src/components/waka-spotlight/index.d.ts +0 -47
- package/dist/src/components/waka-stat/index.d.ts +0 -57
- package/dist/src/components/waka-stats-hexagon/index.d.ts +0 -149
- package/dist/src/components/waka-status-matrix/index.d.ts +0 -38
- package/dist/src/components/waka-stepper/index.d.ts +0 -76
- package/dist/src/components/waka-streak-counter/index.d.ts +0 -27
- package/dist/src/components/waka-success-explosion/index.d.ts +0 -51
- package/dist/src/components/waka-swipe-card/index.d.ts +0 -64
- package/dist/src/components/waka-tabs-morph/index.d.ts +0 -66
- package/dist/src/components/waka-tag-input/index.d.ts +0 -134
- package/dist/src/components/waka-team-banner/index.d.ts +0 -122
- package/dist/src/components/waka-terminal-output/index.d.ts +0 -48
- package/dist/src/components/waka-test-report/index.d.ts +0 -60
- package/dist/src/components/waka-theme-creator/index.d.ts +0 -59
- package/dist/src/components/waka-theme-manager/index.d.ts +0 -62
- package/dist/src/components/waka-thread-view/index.d.ts +0 -101
- package/dist/src/components/waka-tilt-card/index.d.ts +0 -36
- package/dist/src/components/waka-time-picker/index.d.ts +0 -51
- package/dist/src/components/waka-timeline/index.d.ts +0 -46
- package/dist/src/components/waka-tooltip-tour/index.d.ts +0 -123
- package/dist/src/components/waka-tour-guide/index.d.ts +0 -127
- package/dist/src/components/waka-tournament-bracket/index.d.ts +0 -101
- package/dist/src/components/waka-trace-viewer/index.d.ts +0 -36
- package/dist/src/components/waka-tree/index.d.ts +0 -67
- package/dist/src/components/waka-treemap-chart/index.d.ts +0 -104
- package/dist/src/components/waka-two-factor-setup/index.d.ts +0 -93
- package/dist/src/components/waka-typewriter/index.d.ts +0 -98
- package/dist/src/components/waka-typing-indicator/index.d.ts +0 -64
- package/dist/src/components/waka-versus-card/index.d.ts +0 -117
- package/dist/src/components/waka-video/index.d.ts +0 -66
- package/dist/src/components/waka-video-ad/index.d.ts +0 -32
- package/dist/src/components/waka-video-call/index.d.ts +0 -170
- package/dist/src/components/waka-video-overlay/index.d.ts +0 -26
- package/dist/src/components/waka-virtual-list/index.d.ts +0 -54
- package/dist/src/components/waka-voice-message/index.d.ts +0 -117
- package/dist/src/components/waka-welcome-modal/index.d.ts +0 -120
- package/dist/src/components/waka-xp-bar/index.d.ts +0 -54
- package/dist/src/context/admincrumb-context.d.ts +0 -34
- package/dist/src/context/index.d.ts +0 -8
- package/dist/src/context/language-context.d.ts +0 -57
- package/dist/src/context/theme-context.d.ts +0 -39
- package/dist/src/context/theme-provider.d.ts +0 -74
- package/dist/src/context/waka-provider.d.ts +0 -50
- package/dist/src/doc.d.ts +0 -33
- package/dist/src/editor.d.ts +0 -26
- package/dist/src/export.d.ts +0 -30
- package/dist/src/hooks/index.d.ts +0 -1
- package/dist/src/hooks/use-toast.d.ts +0 -44
- package/dist/src/hooks/use-translation.d.ts +0 -15
- package/dist/src/hooks/useToast.d.ts +0 -44
- package/dist/src/index.d.ts +0 -35
- package/dist/src/lib/i18n.d.ts +0 -4
- package/dist/src/rich-text.d.ts +0 -21
- package/dist/src/stories/Button.d.ts +0 -14
- package/dist/src/stories/Button.stories.d.ts +0 -8
- package/dist/src/stories/Header.d.ts +0 -11
- package/dist/src/stories/Header.stories.d.ts +0 -6
- package/dist/src/stories/Page.d.ts +0 -2
- package/dist/src/stories/Page.stories.d.ts +0 -6
- package/dist/src/stories/editor/EditorStoryWrapper.d.ts +0 -11
- package/dist/src/types/index.d.ts +0 -1
- package/dist/src/types/link.d.ts +0 -23
- package/dist/src/types/provider.d.ts +0 -108
- package/dist/src/utils/cn.d.ts +0 -1
- package/dist/src/utils/datetime-helpers.d.ts +0 -137
- package/dist/src/utils/error-handling.d.ts +0 -190
- package/dist/src/utils/index.d.ts +0 -6
- package/dist/src/utils/logger.d.ts +0 -9
- package/dist/src/utils/security.d.ts +0 -96
- package/dist/src/utils/theme-loader.d.ts +0 -101
- package/dist/src/utils/tweak.d.ts +0 -18
- package/dist/waka-rich-text-editor-C4b30Ik-.js +0 -1
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface WakaConfig {
|
|
2
|
-
$schema?: string;
|
|
3
|
-
style: "default" | "new-york";
|
|
4
|
-
tsx: boolean;
|
|
5
|
-
tailwind: {
|
|
6
|
-
config: string;
|
|
7
|
-
css: string;
|
|
8
|
-
cssVariables: boolean;
|
|
9
|
-
};
|
|
10
|
-
aliases: {
|
|
11
|
-
utils: string;
|
|
12
|
-
components: string;
|
|
13
|
-
ui: string;
|
|
14
|
-
waka: string;
|
|
15
|
-
blocks: string;
|
|
16
|
-
hooks: string;
|
|
17
|
-
lib: string;
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
export declare const DEFAULT_CONFIG: WakaConfig;
|
|
21
|
-
export declare const CONFIG_FILE_NAME = "components.json";
|
|
22
|
-
export declare function getConfigPath(cwd: string): string;
|
|
23
|
-
export declare function configExists(cwd: string): boolean;
|
|
24
|
-
export declare function readConfig(cwd: string): WakaConfig | null;
|
|
25
|
-
export declare function writeConfig(cwd: string, config: WakaConfig): void;
|
|
26
|
-
export declare function detectProjectType(cwd: string): "nextjs" | "vite" | "remix" | "unknown";
|
|
27
|
-
export declare function detectTailwindVersion(cwd: string): "v3" | "v4" | "unknown";
|
|
28
|
-
export declare function detectTypeScript(cwd: string): boolean;
|
|
29
|
-
export declare function resolveAlias(alias: string, config: WakaConfig): string;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
export declare const logger: {
|
|
2
|
-
info: (message: string) => void;
|
|
3
|
-
success: (message: string) => void;
|
|
4
|
-
warn: (message: string) => void;
|
|
5
|
-
error: (message: string) => void;
|
|
6
|
-
log: (message: string) => void;
|
|
7
|
-
break: () => void;
|
|
8
|
-
title: (message: string) => void;
|
|
9
|
-
dim: (message: string) => string;
|
|
10
|
-
highlight: (message: string) => string;
|
|
11
|
-
bold: (message: string) => string;
|
|
12
|
-
green: (message: string) => string;
|
|
13
|
-
yellow: (message: string) => string;
|
|
14
|
-
red: (message: string) => string;
|
|
15
|
-
};
|
|
16
|
-
export declare function spinner(message: string): {
|
|
17
|
-
start: () => void;
|
|
18
|
-
stop: (success?: boolean) => void;
|
|
19
|
-
update: (newMessage: string) => void;
|
|
20
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface RegistryItem {
|
|
2
|
-
name: string;
|
|
3
|
-
type: "ui" | "waka" | "block";
|
|
4
|
-
category: string;
|
|
5
|
-
description: string;
|
|
6
|
-
dependencies: string[];
|
|
7
|
-
registryDependencies: string[];
|
|
8
|
-
files: {
|
|
9
|
-
path: string;
|
|
10
|
-
target: string;
|
|
11
|
-
}[];
|
|
12
|
-
}
|
|
13
|
-
export interface Registry {
|
|
14
|
-
name: string;
|
|
15
|
-
version: string;
|
|
16
|
-
items: RegistryItem[];
|
|
17
|
-
}
|
|
18
|
-
export declare const registry: Registry;
|
|
19
|
-
export declare function getComponent(name: string): RegistryItem | undefined;
|
|
20
|
-
export declare function getComponentsByCategory(category: string): RegistryItem[];
|
|
21
|
-
export declare function getComponentsByType(type: "ui" | "waka" | "block"): RegistryItem[];
|
|
22
|
-
export declare function searchComponents(query: string): RegistryItem[];
|
|
23
|
-
export declare function getAllCategories(): string[];
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Remote registry client for the WakaStellar UI CLI.
|
|
3
|
-
*
|
|
4
|
-
* Components and blocks live as JSON payloads on the docs site. The base URL
|
|
5
|
-
* is configurable via `WAKASTELLAR_REGISTRY_URL` (defaults to the production
|
|
6
|
-
* deployment) so internal teams can point at staging or a local
|
|
7
|
-
* `next dev -p 3300` instance.
|
|
8
|
-
*
|
|
9
|
-
* GET <base>/index → registry index (list / search)
|
|
10
|
-
* GET <base>/components/<name> → single UI / waka surface
|
|
11
|
-
* GET <base>/blocks/<name> → single block
|
|
12
|
-
*
|
|
13
|
-
* The fetch is performed with the global `fetch` (Node 18+). On failure, the
|
|
14
|
-
* caller falls back to the local in-bundle registry so `add` keeps working
|
|
15
|
-
* offline against `node_modules/@wakastellar/ui/src/components`.
|
|
16
|
-
*/
|
|
17
|
-
export declare const DEFAULT_REGISTRY_URL = "https://ui.wakastart.app/api/registry";
|
|
18
|
-
export interface RemoteRegistryFile {
|
|
19
|
-
path: string;
|
|
20
|
-
target?: string;
|
|
21
|
-
type: string;
|
|
22
|
-
content: string;
|
|
23
|
-
}
|
|
24
|
-
export interface RemoteRegistryItem {
|
|
25
|
-
name: string;
|
|
26
|
-
type: string;
|
|
27
|
-
category: string;
|
|
28
|
-
description: string;
|
|
29
|
-
dependencies: string[];
|
|
30
|
-
registryDependencies: string[];
|
|
31
|
-
files: RemoteRegistryFile[];
|
|
32
|
-
}
|
|
33
|
-
export interface RemoteRegistryIndexEntry {
|
|
34
|
-
name: string;
|
|
35
|
-
type: string;
|
|
36
|
-
category: string;
|
|
37
|
-
description: string;
|
|
38
|
-
dependencies: string[];
|
|
39
|
-
registryDependencies: string[];
|
|
40
|
-
files: string[];
|
|
41
|
-
}
|
|
42
|
-
export interface RemoteRegistryIndex {
|
|
43
|
-
name: string;
|
|
44
|
-
version: string;
|
|
45
|
-
items: RemoteRegistryIndexEntry[];
|
|
46
|
-
}
|
|
47
|
-
export declare function getRegistryBaseUrl(): string;
|
|
48
|
-
export declare function fetchRegistryIndex(): Promise<RemoteRegistryIndex>;
|
|
49
|
-
export declare function fetchRegistryItem(bucket: "components" | "blocks", name: string): Promise<RemoteRegistryItem>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DataTableProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Composant DataTable ultra-complet basé sur TanStack Table v8
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```tsx
|
|
7
|
-
* <DataTable
|
|
8
|
-
* data={users}
|
|
9
|
-
* columns={userColumns}
|
|
10
|
-
* layout="standard"
|
|
11
|
-
* pagination={{ mode: "client", pageSize: 10 }}
|
|
12
|
-
* selection
|
|
13
|
-
* enableExport
|
|
14
|
-
* />
|
|
15
|
-
* ```
|
|
16
|
-
*/
|
|
17
|
-
export declare function DataTable<TData>({ data, columns: initialColumns, layout: layoutProp, variant, density: densityProp, filters, filterPosition, toolbar, pagination: paginationConfig, selection, actions, i18nNamespace, loading, error, emptyState, headerSticky, columnVisibilityToggle, columnResize, enableExport, enableImport, enableReorder, enableContextMenu, onRowClick, onRowDoubleClick, onSortingChange, onFiltersChange, onSelectionChange, className, tableId, virtualization, edit, }: DataTableProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { DataTableProps } from './types';
|
|
2
|
-
/**
|
|
3
|
-
* Composant DataTable ultra-complet avec toutes les fonctionnalités avancées
|
|
4
|
-
*
|
|
5
|
-
* @example
|
|
6
|
-
* ```tsx
|
|
7
|
-
* <DataTableAdvanced
|
|
8
|
-
* data={users}
|
|
9
|
-
* columns={userColumns}
|
|
10
|
-
* layout="standard"
|
|
11
|
-
* variant="bordered"
|
|
12
|
-
* density="comfortable"
|
|
13
|
-
* selection="multiple"
|
|
14
|
-
* grouping={{ columns: ["department"], showTotals: true }}
|
|
15
|
-
* rowExpansion={{ enabled: true, renderExpanded: (row) => <UserDetails user={row} /> }}
|
|
16
|
-
* virtualization={{ type: "dynamic", estimatedItemHeight: 60 }}
|
|
17
|
-
* columnResize={{ enabled: true, mode: "onChange" }}
|
|
18
|
-
* enableExport={{ formats: ["csv", "xlsx", "json"] }}
|
|
19
|
-
* enableImport={{ accept: ".csv,.xlsx,.json" }}
|
|
20
|
-
* theme={{
|
|
21
|
-
* colors: { primary: "#3b82f6", secondary: "#64748b" },
|
|
22
|
-
* spacing: { md: "1.5rem" }
|
|
23
|
-
* }}
|
|
24
|
-
* />
|
|
25
|
-
* ```
|
|
26
|
-
*/
|
|
27
|
-
export declare function DataTableAdvanced<TData>({ data, columns: initialColumns, layout: layoutProp, variant, density: densityProp, filters, filterPosition, toolbar, pagination: paginationConfig, selection, actions, i18nNamespace, loading, error, emptyState, headerSticky, columnVisibilityToggle, columnResize, columnOrder: columnOrderConfig, grouping, rowExpansion, virtualization, sortMode, enableExport, enableImport, enableReorder, enableContextMenu, onRowClick, onRowDoubleClick, onSortingChange, onFiltersChange, onSelectionChange, onColumnOrderChange, onExpandedChange, onGroupingChange, className, tableId, edit, theme, performance, }: DataTableProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Props pour le menu contextuel du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export interface DataTableContextMenuProps<TData> {
|
|
6
|
-
/** Données de la ligne */
|
|
7
|
-
row: TData;
|
|
8
|
-
/** Index de la ligne */
|
|
9
|
-
rowIndex: number;
|
|
10
|
-
/** Actions disponibles */
|
|
11
|
-
actions?: Array<{
|
|
12
|
-
id: string;
|
|
13
|
-
label: string;
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
onClick: (row: TData) => void;
|
|
16
|
-
disabled?: boolean;
|
|
17
|
-
destructive?: boolean;
|
|
18
|
-
}>;
|
|
19
|
-
/** Actions de colonnes */
|
|
20
|
-
columnActions?: Array<{
|
|
21
|
-
id: string;
|
|
22
|
-
label: string;
|
|
23
|
-
icon?: React.ReactNode;
|
|
24
|
-
onClick: (columnId: string) => void;
|
|
25
|
-
disabled?: boolean;
|
|
26
|
-
}>;
|
|
27
|
-
/** Callback de copie */
|
|
28
|
-
onCopy?: (row: TData) => void;
|
|
29
|
-
/** Callback d'export */
|
|
30
|
-
onExport?: (row: TData) => void;
|
|
31
|
-
/** Callback d'édition */
|
|
32
|
-
onEdit?: (row: TData) => void;
|
|
33
|
-
/** Callback de suppression */
|
|
34
|
-
onDelete?: (row: TData) => void;
|
|
35
|
-
/** Callback de visibilité des colonnes */
|
|
36
|
-
onToggleColumnVisibility?: (columnId: string) => void;
|
|
37
|
-
/** Colonnes visibles */
|
|
38
|
-
visibleColumns?: string[];
|
|
39
|
-
/** Classe CSS personnalisée */
|
|
40
|
-
className?: string;
|
|
41
|
-
/** Enfants à wrapper */
|
|
42
|
-
children: React.ReactNode;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Composant de menu contextuel pour le DataTable
|
|
46
|
-
*/
|
|
47
|
-
export declare function DataTableContextMenu<TData>({ row, rowIndex, actions, columnActions, onCopy, onExport, onEdit, onDelete, onToggleColumnVisibility, visibleColumns, className, children, }: DataTableContextMenuProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export interface EditCellConfig {
|
|
2
|
-
type: "text" | "number" | "email" | "url" | "textarea" | "select" | "checkbox" | "switch" | "date" | "datetime";
|
|
3
|
-
options?: Array<{
|
|
4
|
-
value: string;
|
|
5
|
-
label: string;
|
|
6
|
-
}>;
|
|
7
|
-
placeholder?: string;
|
|
8
|
-
min?: number;
|
|
9
|
-
max?: number;
|
|
10
|
-
step?: number;
|
|
11
|
-
rows?: number;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
required?: boolean;
|
|
14
|
-
pattern?: string;
|
|
15
|
-
title?: string;
|
|
16
|
-
}
|
|
17
|
-
export interface DataTableEditCellProps<TData> {
|
|
18
|
-
value: any;
|
|
19
|
-
field: keyof TData;
|
|
20
|
-
config: EditCellConfig;
|
|
21
|
-
isEditing: boolean;
|
|
22
|
-
error?: string;
|
|
23
|
-
onChange: (value: any) => void;
|
|
24
|
-
onStartEdit: () => void;
|
|
25
|
-
onSave: () => void;
|
|
26
|
-
onCancel: () => void;
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function DataTableEditCell<TData>({ value, field, config, isEditing, error, onChange, onStartEdit, onSave, onCancel, className, }: DataTableEditCellProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
import { FilterConfig, FilterPosition } from './types';
|
|
3
|
-
interface DataTableFiltersProps<TData> {
|
|
4
|
-
table: Table<TData>;
|
|
5
|
-
filters?: FilterConfig[];
|
|
6
|
-
position?: FilterPosition;
|
|
7
|
-
onFiltersChange?: (filters: any[]) => void;
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Composant de filtrage avancé pour DataTable
|
|
11
|
-
* Supporte autocomplete, multi-select, date ranges, etc.
|
|
12
|
-
*/
|
|
13
|
-
export declare function DataTableFilters<TData>({ table, filters, position, onFiltersChange, }: DataTableFiltersProps<TData>): import("react/jsx-runtime").JSX.Element | null;
|
|
14
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Composant pour l'affichage des groupes dans le DataTable
|
|
3
|
-
*/
|
|
4
|
-
export declare function DataTableGrouping<TData>({ row, table, className, }: {
|
|
5
|
-
row: any;
|
|
6
|
-
table: any;
|
|
7
|
-
className?: string;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
/**
|
|
10
|
-
* Composant pour les totaux de groupe
|
|
11
|
-
*/
|
|
12
|
-
export declare function DataTableGroupTotals<TData>({ row, table, className, }: {
|
|
13
|
-
row: any;
|
|
14
|
-
table: any;
|
|
15
|
-
className?: string;
|
|
16
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
|
17
|
-
/**
|
|
18
|
-
* Composant pour les contrôles de groupement
|
|
19
|
-
*/
|
|
20
|
-
export declare function DataTableGroupingControls<TData>({ table, groupingColumns, onGroupingChange, className, }: {
|
|
21
|
-
table: any;
|
|
22
|
-
groupingColumns: string[];
|
|
23
|
-
onGroupingChange: (columns: string[]) => void;
|
|
24
|
-
className?: string;
|
|
25
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
interface DataTablePaginationProps<TData> {
|
|
3
|
-
table: Table<TData>;
|
|
4
|
-
pageSizeOptions?: number[];
|
|
5
|
-
showInfo?: boolean;
|
|
6
|
-
}
|
|
7
|
-
export declare function DataTablePagination<TData>({ table, pageSizeOptions, showInfo, }: DataTablePaginationProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export {};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
/**
|
|
3
|
-
* Props pour la sélection avancée du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export interface DataTableSelectionProps<TData> {
|
|
6
|
-
/** Table instance */
|
|
7
|
-
table: any;
|
|
8
|
-
/** Mode de sélection */
|
|
9
|
-
selectionMode?: "single" | "multiple" | "range";
|
|
10
|
-
/** Données sélectionnées */
|
|
11
|
-
selectedRows: TData[];
|
|
12
|
-
/** Callback de changement de sélection */
|
|
13
|
-
onSelectionChange?: (selectedRows: TData[]) => void;
|
|
14
|
-
/** Actions sur la sélection */
|
|
15
|
-
selectionActions?: Array<{
|
|
16
|
-
id: string;
|
|
17
|
-
label: string;
|
|
18
|
-
icon?: React.ReactNode;
|
|
19
|
-
onClick: (selectedRows: TData[]) => void;
|
|
20
|
-
disabled?: boolean;
|
|
21
|
-
destructive?: boolean;
|
|
22
|
-
}>;
|
|
23
|
-
/** Classe CSS personnalisée */
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Composant pour la sélection avancée du DataTable
|
|
28
|
-
*/
|
|
29
|
-
export declare function DataTableSelection<TData>({ table, selectionMode, selectedRows, onSelectionChange, selectionActions, className, }: DataTableSelectionProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
/**
|
|
31
|
-
* Hook pour la sélection avancée
|
|
32
|
-
*/
|
|
33
|
-
export declare function useDataTableSelection<TData>({ table, selectionMode, onSelectionChange, }: {
|
|
34
|
-
table: any;
|
|
35
|
-
selectionMode?: "single" | "multiple" | "range";
|
|
36
|
-
onSelectionChange?: (selectedRows: TData[]) => void;
|
|
37
|
-
}): {
|
|
38
|
-
selectedRows: TData[];
|
|
39
|
-
selectRow: (rowIndex: number, selected?: boolean) => void;
|
|
40
|
-
selectAll: (selected?: boolean) => void;
|
|
41
|
-
selectRange: (start: number, end: number, selected?: boolean) => void;
|
|
42
|
-
selectByCriteria: (criteria: (row: TData) => boolean) => void;
|
|
43
|
-
clearSelection: () => void;
|
|
44
|
-
isAllSelected: any;
|
|
45
|
-
isSomeSelected: any;
|
|
46
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
import { ToolbarConfig, DataTableDensity } from './types';
|
|
3
|
-
interface DataTableToolbarProps<TData> {
|
|
4
|
-
table: Table<TData>;
|
|
5
|
-
config?: ToolbarConfig;
|
|
6
|
-
globalFilter: string;
|
|
7
|
-
onGlobalFilterChange: (value: string) => void;
|
|
8
|
-
density?: DataTableDensity;
|
|
9
|
-
onDensityChange?: (density: DataTableDensity) => void;
|
|
10
|
-
onExport?: (format: string) => void;
|
|
11
|
-
onImport?: (file: File) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare function DataTableToolbar<TData>({ table, config, globalFilter, onGlobalFilterChange, density, onDensityChange, onExport, onImport, }: DataTableToolbarProps<TData>): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { PaginationState, SortingState, ColumnFiltersState, VisibilityState } from '@tanstack/react-table';
|
|
2
|
-
import { DataTableProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Hook principal pour gérer l'état et la logique du DataTable
|
|
5
|
-
*/
|
|
6
|
-
export declare function useDataTable<TData>({ data, columns, pagination: paginationConfig, tableId, onSortingChange, onFiltersChange, onSelectionChange, }: Pick<DataTableProps<TData>, "data" | "columns" | "pagination" | "tableId" | "onSortingChange" | "onFiltersChange" | "onSelectionChange">): {
|
|
7
|
-
table: import('@tanstack/react-table').Table<TData>;
|
|
8
|
-
sorting: SortingState;
|
|
9
|
-
setSorting: import('react').Dispatch<import('react').SetStateAction<SortingState>>;
|
|
10
|
-
columnFilters: ColumnFiltersState;
|
|
11
|
-
setColumnFilters: import('react').Dispatch<import('react').SetStateAction<ColumnFiltersState>>;
|
|
12
|
-
columnVisibility: VisibilityState;
|
|
13
|
-
setColumnVisibility: import('react').Dispatch<import('react').SetStateAction<VisibilityState>>;
|
|
14
|
-
rowSelection: {};
|
|
15
|
-
setRowSelection: import('react').Dispatch<import('react').SetStateAction<{}>>;
|
|
16
|
-
globalFilter: any;
|
|
17
|
-
setGlobalFilter: import('react').Dispatch<any>;
|
|
18
|
-
pagination: PaginationState;
|
|
19
|
-
setPagination: import('react').Dispatch<import('react').SetStateAction<PaginationState>>;
|
|
20
|
-
selectedRows: TData[];
|
|
21
|
-
resetFilters: () => void;
|
|
22
|
-
resetSelection: () => void;
|
|
23
|
-
exportData: () => TData[];
|
|
24
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { PaginationState, SortingState, ColumnFiltersState, VisibilityState, ColumnOrderState, ExpandedState, GroupingState, RowSelectionState } from '@tanstack/react-table';
|
|
2
|
-
import { DataTableProps } from '../types';
|
|
3
|
-
/**
|
|
4
|
-
* Hook avancé pour gérer toutes les fonctionnalités du DataTable
|
|
5
|
-
*/
|
|
6
|
-
export declare function useDataTableAdvanced<TData>({ data, columns, pagination: paginationConfig, tableId, onSortingChange, onFiltersChange, onSelectionChange, onColumnOrderChange, onExpandedChange, onGroupingChange, grouping, virtualization, sortMode, performance, }: Pick<DataTableProps<TData>, "data" | "columns" | "pagination" | "tableId" | "onSortingChange" | "onFiltersChange" | "onSelectionChange" | "onColumnOrderChange" | "onExpandedChange" | "onGroupingChange" | "grouping" | "virtualization" | "sortMode" | "performance">): {
|
|
7
|
-
table: import('@tanstack/react-table').Table<TData>;
|
|
8
|
-
sorting: SortingState;
|
|
9
|
-
setSorting: import('react').Dispatch<import('react').SetStateAction<SortingState>>;
|
|
10
|
-
columnFilters: ColumnFiltersState;
|
|
11
|
-
setColumnFilters: import('react').Dispatch<import('react').SetStateAction<ColumnFiltersState>>;
|
|
12
|
-
columnVisibility: VisibilityState;
|
|
13
|
-
setColumnVisibility: import('react').Dispatch<import('react').SetStateAction<VisibilityState>>;
|
|
14
|
-
columnOrder: ColumnOrderState;
|
|
15
|
-
setColumnOrder: import('react').Dispatch<import('react').SetStateAction<ColumnOrderState>>;
|
|
16
|
-
expanded: ExpandedState;
|
|
17
|
-
setExpanded: import('react').Dispatch<import('react').SetStateAction<ExpandedState>>;
|
|
18
|
-
grouping: GroupingState;
|
|
19
|
-
setGrouping: import('react').Dispatch<import('react').SetStateAction<GroupingState>>;
|
|
20
|
-
rowSelection: RowSelectionState;
|
|
21
|
-
setRowSelection: import('react').Dispatch<import('react').SetStateAction<RowSelectionState>>;
|
|
22
|
-
globalFilter: string;
|
|
23
|
-
setGlobalFilter: import('react').Dispatch<import('react').SetStateAction<string>>;
|
|
24
|
-
pagination: PaginationState;
|
|
25
|
-
setPagination: import('react').Dispatch<import('react').SetStateAction<PaginationState>>;
|
|
26
|
-
selectedRows: TData[];
|
|
27
|
-
resetFilters: () => void;
|
|
28
|
-
resetSelection: () => void;
|
|
29
|
-
resetAll: () => void;
|
|
30
|
-
exportData: () => TData[];
|
|
31
|
-
getGroupedData: () => TData[];
|
|
32
|
-
getExpandedData: () => TData[];
|
|
33
|
-
toggleGrouping: (columnId: string) => void;
|
|
34
|
-
clearGrouping: () => void;
|
|
35
|
-
toggleRowExpansion: (rowId: string) => void;
|
|
36
|
-
expandAll: () => void;
|
|
37
|
-
collapseAll: () => void;
|
|
38
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { Table } from '@tanstack/react-table';
|
|
2
|
-
export interface EditState<TData> {
|
|
3
|
-
editingRowId: string | null;
|
|
4
|
-
editedData: Partial<TData>;
|
|
5
|
-
hasChanges: boolean;
|
|
6
|
-
isDirty: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface EditActions<TData> {
|
|
9
|
-
startEdit: (rowId: string, initialData: TData) => void;
|
|
10
|
-
cancelEdit: () => void;
|
|
11
|
-
saveEdit: () => Promise<void>;
|
|
12
|
-
updateField: (field: keyof TData, value: any) => void;
|
|
13
|
-
resetEdit: () => void;
|
|
14
|
-
}
|
|
15
|
-
export interface UseDataTableEditOptions<TData> {
|
|
16
|
-
onSave?: (rowId: string, data: Partial<TData>) => Promise<void>;
|
|
17
|
-
onCancel?: (rowId: string, originalData: TData) => void;
|
|
18
|
-
validateField?: (field: keyof TData, value: any) => string | null;
|
|
19
|
-
autoSave?: boolean;
|
|
20
|
-
autoSaveDelay?: number;
|
|
21
|
-
}
|
|
22
|
-
export declare function useDataTableEdit<TData>(table: Table<TData>, options?: UseDataTableEditOptions<TData>): [EditState<TData>, EditActions<TData>];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ExportConfig } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook pour gérer l'export des données du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export declare function useDataTableExport<TData>({ data, columns, exportConfig, }: {
|
|
6
|
-
data: TData[];
|
|
7
|
-
columns: any[];
|
|
8
|
-
exportConfig?: ExportConfig;
|
|
9
|
-
}): {
|
|
10
|
-
exportData: (format: string, customData?: TData[], customFilename?: string) => Promise<void>;
|
|
11
|
-
exportAll: (format: string) => Promise<void>;
|
|
12
|
-
exportSelected: (format: string, selectedData: TData[]) => Promise<void>;
|
|
13
|
-
supportedFormats: ("json" | "csv" | "xlsx" | "pdf" | "xml")[] | readonly ["csv", "xlsx", "json"];
|
|
14
|
-
isExportSupported: (format: string) => boolean;
|
|
15
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ImportConfig } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook pour gérer l'import des données dans le DataTable
|
|
4
|
-
*/
|
|
5
|
-
export declare function useDataTableImport<TData>({ importConfig, }: {
|
|
6
|
-
importConfig?: ImportConfig;
|
|
7
|
-
}): {
|
|
8
|
-
importData: (file: File) => Promise<TData[]>;
|
|
9
|
-
importWithUI: () => Promise<TData[]>;
|
|
10
|
-
supportedFormats: string[];
|
|
11
|
-
isFormatSupported: (filename: string) => boolean;
|
|
12
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { DataTableTheme } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook pour gérer les thèmes personnalisés du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export declare function useDataTableTheme({ theme, variant, density, }: {
|
|
6
|
-
theme?: DataTableTheme;
|
|
7
|
-
variant?: "bordered" | "minimal" | "striped" | "glass";
|
|
8
|
-
density?: "comfortable" | "compact" | "spacious";
|
|
9
|
-
}): {
|
|
10
|
-
theme: DataTableTheme;
|
|
11
|
-
variantClasses: string;
|
|
12
|
-
densityClasses: Record<string, string>;
|
|
13
|
-
customStyles: Record<string, string>;
|
|
14
|
-
getThemedClass: (baseClass: string, themeKey?: string) => string;
|
|
15
|
-
getThemedStyles: (baseStyles?: React.CSSProperties) => React.CSSProperties;
|
|
16
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { VirtualizationConfig } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook pour gérer la virtualisation du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export declare function useDataTableVirtualization<TData>({ data, virtualization, containerRef, }: {
|
|
6
|
-
data: TData[];
|
|
7
|
-
virtualization?: VirtualizationConfig;
|
|
8
|
-
containerRef: React.RefObject<HTMLElement>;
|
|
9
|
-
}): {
|
|
10
|
-
virtualizer: import('@tanstack/react-virtual').Virtualizer<HTMLElement, Element> | null;
|
|
11
|
-
isVirtualized: boolean;
|
|
12
|
-
containerHeight: number;
|
|
13
|
-
scrollToIndex: (index: number, align?: "start" | "center" | "end") => void;
|
|
14
|
-
scrollToOffset: (offset: number) => void;
|
|
15
|
-
getVirtualItems: () => import('@tanstack/react-virtual').VirtualItem[];
|
|
16
|
-
getTotalSize: () => number;
|
|
17
|
-
virtualItems: import('@tanstack/react-virtual').VirtualItem[];
|
|
18
|
-
totalSize: number;
|
|
19
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DataTableLayout, DataTableDensity } from '../types';
|
|
2
|
-
/**
|
|
3
|
-
* Hook pour gérer le layout et la densité du DataTable
|
|
4
|
-
*/
|
|
5
|
-
export declare function useTableLayout(initialLayout?: DataTableLayout, initialDensity?: DataTableDensity): {
|
|
6
|
-
layout: DataTableLayout;
|
|
7
|
-
setLayout: import('react').Dispatch<import('react').SetStateAction<DataTableLayout>>;
|
|
8
|
-
density: DataTableDensity;
|
|
9
|
-
setDensity: import('react').Dispatch<import('react').SetStateAction<DataTableDensity>>;
|
|
10
|
-
toggleLayout: () => void;
|
|
11
|
-
toggleDensity: () => void;
|
|
12
|
-
isMobile: boolean;
|
|
13
|
-
densityClasses: {
|
|
14
|
-
table: string;
|
|
15
|
-
cell: string;
|
|
16
|
-
header: string;
|
|
17
|
-
} | {
|
|
18
|
-
table: string;
|
|
19
|
-
cell: string;
|
|
20
|
-
header: string;
|
|
21
|
-
} | {
|
|
22
|
-
table: string;
|
|
23
|
-
cell: string;
|
|
24
|
-
header: string;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* DataTable - Composant ultra-complet basé sur TanStack Table v8
|
|
3
|
-
*
|
|
4
|
-
* @module DataTable
|
|
5
|
-
* @description
|
|
6
|
-
* Composant de table de données hautement configurable avec support de :
|
|
7
|
-
* - Tri, filtrage, pagination
|
|
8
|
-
* - Sélection multiple
|
|
9
|
-
* - Export/Import (CSV, JSON)
|
|
10
|
-
* - Layouts multiples (standard, card, compact, split, infinite)
|
|
11
|
-
* - Thème clair/sombre via TweakCN
|
|
12
|
-
* - i18n complet
|
|
13
|
-
* - Virtualisation pour grandes données
|
|
14
|
-
* - Toolbar customisable
|
|
15
|
-
* - Actions par ligne et groupées
|
|
16
|
-
*/
|
|
17
|
-
export { DataTable } from './DataTable';
|
|
18
|
-
export { DataTableAdvanced } from './DataTableAdvanced';
|
|
19
|
-
export { DataTableToolbar } from './DataTableToolbar';
|
|
20
|
-
export { DataTablePagination } from './DataTablePagination';
|
|
21
|
-
export { DataTableFilters } from './DataTableFilters';
|
|
22
|
-
export { DataTableEditCell } from './DataTableEditCell';
|
|
23
|
-
export { DataTableColumnResizer } from './DataTableColumnResizer';
|
|
24
|
-
export { DataTableGrouping, DataTableGroupTotals, DataTableGroupingControls } from './DataTableGrouping';
|
|
25
|
-
export { DataTableContextMenu } from './DataTableContextMenu';
|
|
26
|
-
export { DataTableSelection, useDataTableSelection } from './DataTableSelection';
|
|
27
|
-
export { useDataTable } from './hooks/useDataTable';
|
|
28
|
-
export { useDataTableAdvanced } from './hooks/useDataTableAdvanced';
|
|
29
|
-
export { useDataTableVirtualization } from './hooks/useDataTableVirtualization';
|
|
30
|
-
export { useDataTableExport } from './hooks/useDataTableExport';
|
|
31
|
-
export { useDataTableImport } from './hooks/useDataTableImport';
|
|
32
|
-
export { useDataTableTheme } from './hooks/useDataTableTheme';
|
|
33
|
-
export { useTableLayout } from './hooks/useTableLayout';
|
|
34
|
-
export { useDataTableEdit } from './hooks/useDataTableEdit';
|
|
35
|
-
export type { DataTableProps, DataTableLayout, DataTableVariant, DataTableDensity, DataTableState, FilterConfig, FilterPosition, PaginationConfig, ToolbarConfig, TableAction, ExportConfig, ImportConfig, SelectionState, EditConfig, ColumnEditConfig, SelectionMode, SortMode, VirtualizationType, GroupingConfig, VirtualizationConfig, ColumnResizeConfig, ColumnOrderConfig, RowExpansionConfig, DataTableTheme, } from './types';
|
|
36
|
-
export type { EditCellConfig } from './DataTableEditCell';
|
|
37
|
-
export { exportToCSV, exportToJSON, parseCSV, saveTableState, loadTableState, } from './utils';
|