@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,137 +0,0 @@
|
|
|
1
|
-
export type InvoiceStatus = "paid" | "pending" | "overdue" | "draft";
|
|
2
|
-
export type CurrencyCode = "USD" | "EUR" | "GBP" | "JPY" | "CAD" | "AUD" | "CHF" | "CNY" | "INR" | "BRL";
|
|
3
|
-
export interface Address {
|
|
4
|
-
/** Company or person name */
|
|
5
|
-
name: string;
|
|
6
|
-
/** Street address line 1 */
|
|
7
|
-
street1: string;
|
|
8
|
-
/** Street address line 2 (optional) */
|
|
9
|
-
street2?: string;
|
|
10
|
-
/** City */
|
|
11
|
-
city: string;
|
|
12
|
-
/** State/Province/Region */
|
|
13
|
-
state?: string;
|
|
14
|
-
/** Postal/ZIP code */
|
|
15
|
-
postalCode: string;
|
|
16
|
-
/** Country */
|
|
17
|
-
country: string;
|
|
18
|
-
}
|
|
19
|
-
export interface CompanyInfo {
|
|
20
|
-
/** Company name */
|
|
21
|
-
name: string;
|
|
22
|
-
/** Company logo URL (optional) */
|
|
23
|
-
logo?: string;
|
|
24
|
-
/** Company address */
|
|
25
|
-
address: Address;
|
|
26
|
-
/** Company email */
|
|
27
|
-
email?: string;
|
|
28
|
-
/** Company phone */
|
|
29
|
-
phone?: string;
|
|
30
|
-
/** Tax ID / VAT number */
|
|
31
|
-
taxId?: string;
|
|
32
|
-
/** Website */
|
|
33
|
-
website?: string;
|
|
34
|
-
}
|
|
35
|
-
export interface LineItem {
|
|
36
|
-
/** Unique identifier */
|
|
37
|
-
id: string;
|
|
38
|
-
/** Item description */
|
|
39
|
-
description: string;
|
|
40
|
-
/** Quantity */
|
|
41
|
-
quantity: number;
|
|
42
|
-
/** Unit (optional, e.g., "hrs", "pcs", "units") */
|
|
43
|
-
unit?: string;
|
|
44
|
-
/** Unit price */
|
|
45
|
-
unitPrice: number;
|
|
46
|
-
/** Tax rate for this item (as decimal, e.g., 0.20 for 20%) */
|
|
47
|
-
taxRate?: number;
|
|
48
|
-
/** Discount for this item (as decimal, e.g., 0.10 for 10%) */
|
|
49
|
-
discount?: number;
|
|
50
|
-
}
|
|
51
|
-
export interface BankDetails {
|
|
52
|
-
/** Bank name */
|
|
53
|
-
bankName: string;
|
|
54
|
-
/** Account holder name */
|
|
55
|
-
accountName: string;
|
|
56
|
-
/** Account number or IBAN */
|
|
57
|
-
accountNumber: string;
|
|
58
|
-
/** Routing number / Sort code / BIC/SWIFT */
|
|
59
|
-
routingNumber?: string;
|
|
60
|
-
/** Additional reference */
|
|
61
|
-
reference?: string;
|
|
62
|
-
}
|
|
63
|
-
export interface InvoiceData {
|
|
64
|
-
/** Invoice number */
|
|
65
|
-
invoiceNumber: string;
|
|
66
|
-
/** Invoice date */
|
|
67
|
-
invoiceDate: Date | string;
|
|
68
|
-
/** Due date */
|
|
69
|
-
dueDate: Date | string;
|
|
70
|
-
/** Invoice status */
|
|
71
|
-
status: InvoiceStatus;
|
|
72
|
-
/** Company/Sender information */
|
|
73
|
-
company: CompanyInfo;
|
|
74
|
-
/** Bill to address */
|
|
75
|
-
billTo: Address;
|
|
76
|
-
/** Ship to address (optional, if different from bill to) */
|
|
77
|
-
shipTo?: Address;
|
|
78
|
-
/** Line items */
|
|
79
|
-
items: LineItem[];
|
|
80
|
-
/** Currency code */
|
|
81
|
-
currency: CurrencyCode;
|
|
82
|
-
/** Global tax rate (if not per-item) */
|
|
83
|
-
taxRate?: number;
|
|
84
|
-
/** Global discount amount */
|
|
85
|
-
discountAmount?: number;
|
|
86
|
-
/** Global discount percentage (as decimal) */
|
|
87
|
-
discountPercentage?: number;
|
|
88
|
-
/** Shipping cost */
|
|
89
|
-
shippingCost?: number;
|
|
90
|
-
/** Payment terms */
|
|
91
|
-
paymentTerms?: string;
|
|
92
|
-
/** Notes to customer */
|
|
93
|
-
notes?: string;
|
|
94
|
-
/** Bank details for payment */
|
|
95
|
-
bankDetails?: BankDetails;
|
|
96
|
-
/** Purchase order number */
|
|
97
|
-
poNumber?: string;
|
|
98
|
-
}
|
|
99
|
-
export interface WakaInvoicePreviewProps {
|
|
100
|
-
/** Invoice data */
|
|
101
|
-
invoice: InvoiceData;
|
|
102
|
-
/** Show print button */
|
|
103
|
-
showPrintButton?: boolean;
|
|
104
|
-
/** Show download button */
|
|
105
|
-
showDownloadButton?: boolean;
|
|
106
|
-
/** Callback when print is clicked */
|
|
107
|
-
onPrint?: () => void;
|
|
108
|
-
/** Callback when download is clicked */
|
|
109
|
-
onDownload?: () => void;
|
|
110
|
-
/** Compact mode for smaller displays */
|
|
111
|
-
compact?: boolean;
|
|
112
|
-
/** Show bank details section */
|
|
113
|
-
showBankDetails?: boolean;
|
|
114
|
-
/** Additional CSS classes */
|
|
115
|
-
className?: string;
|
|
116
|
-
}
|
|
117
|
-
declare function formatCurrency(amount: number, currency: CurrencyCode): string;
|
|
118
|
-
declare function formatDate(date: Date | string, locale?: string): string;
|
|
119
|
-
export declare function WakaInvoicePreview({ invoice, showPrintButton, showDownloadButton, onPrint, onDownload, compact, showBankDetails, className, }: WakaInvoicePreviewProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
-
export interface UseInvoiceOptions {
|
|
121
|
-
items: LineItem[];
|
|
122
|
-
taxRate?: number;
|
|
123
|
-
discountAmount?: number;
|
|
124
|
-
discountPercentage?: number;
|
|
125
|
-
shippingCost?: number;
|
|
126
|
-
}
|
|
127
|
-
export declare function useInvoice({ items, taxRate, discountAmount, discountPercentage, shippingCost, }: UseInvoiceOptions): {
|
|
128
|
-
subtotal: number;
|
|
129
|
-
taxAmount: number;
|
|
130
|
-
discount: number;
|
|
131
|
-
shippingCost: number;
|
|
132
|
-
total: number;
|
|
133
|
-
itemCount: number;
|
|
134
|
-
totalQuantity: number;
|
|
135
|
-
};
|
|
136
|
-
export { formatCurrency, formatDate };
|
|
137
|
-
export default WakaInvoicePreview;
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface KanbanCard {
|
|
3
|
-
id: string;
|
|
4
|
-
title: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
labels?: Array<{
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
color: string;
|
|
10
|
-
}>;
|
|
11
|
-
assignee?: {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
avatar?: string;
|
|
15
|
-
};
|
|
16
|
-
priority?: "low" | "medium" | "high" | "urgent";
|
|
17
|
-
dueDate?: Date;
|
|
18
|
-
data?: Record<string, unknown>;
|
|
19
|
-
}
|
|
20
|
-
export interface KanbanColumn {
|
|
21
|
-
id: string;
|
|
22
|
-
title: string;
|
|
23
|
-
cards: KanbanCard[];
|
|
24
|
-
color?: string;
|
|
25
|
-
limit?: number;
|
|
26
|
-
}
|
|
27
|
-
export interface WakaKanbanProps {
|
|
28
|
-
/** Colonnes du kanban */
|
|
29
|
-
columns: KanbanColumn[];
|
|
30
|
-
/** Callback lors du déplacement d'une carte */
|
|
31
|
-
onCardMove?: (cardId: string, fromColumnId: string, toColumnId: string, newIndex: number) => void;
|
|
32
|
-
/** Callback lors du déplacement d'une colonne */
|
|
33
|
-
onColumnMove?: (columnId: string, newIndex: number) => void;
|
|
34
|
-
/** Callback lors de l'ajout d'une carte */
|
|
35
|
-
onCardAdd?: (columnId: string, card: Partial<KanbanCard>) => void;
|
|
36
|
-
/** Callback lors de la suppression d'une carte */
|
|
37
|
-
onCardDelete?: (cardId: string, columnId: string) => void;
|
|
38
|
-
/** Callback lors du clic sur une carte */
|
|
39
|
-
onCardClick?: (card: KanbanCard, columnId: string) => void;
|
|
40
|
-
/** Callback lors de l'ajout d'une colonne */
|
|
41
|
-
onColumnAdd?: (column: Partial<KanbanColumn>) => void;
|
|
42
|
-
/** Callback lors de la suppression d'une colonne */
|
|
43
|
-
onColumnDelete?: (columnId: string) => void;
|
|
44
|
-
/** Permettre l'ajout de cartes */
|
|
45
|
-
allowAddCard?: boolean;
|
|
46
|
-
/** Permettre l'ajout de colonnes */
|
|
47
|
-
allowAddColumn?: boolean;
|
|
48
|
-
/** Permettre le déplacement des colonnes */
|
|
49
|
-
allowColumnDrag?: boolean;
|
|
50
|
-
/** Fonction de rendu personnalisée pour les cartes */
|
|
51
|
-
renderCard?: (card: KanbanCard, columnId: string) => React.ReactNode;
|
|
52
|
-
/** Hauteur du kanban */
|
|
53
|
-
height?: number | string;
|
|
54
|
-
/** Classes CSS additionnelles */
|
|
55
|
-
className?: string;
|
|
56
|
-
}
|
|
57
|
-
export declare function WakaKanban({ columns, onCardMove, onColumnMove, onCardAdd, onCardDelete, onCardClick, onColumnAdd, onColumnDelete, allowAddCard, allowAddColumn, allowColumnDrag, renderCard, height, className, }: WakaKanbanProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
export declare function useKanban(initialColumns: KanbanColumn[]): {
|
|
59
|
-
columns: KanbanColumn[];
|
|
60
|
-
setColumns: React.Dispatch<React.SetStateAction<KanbanColumn[]>>;
|
|
61
|
-
moveCard: (cardId: string, fromColumnId: string, toColumnId: string, newIndex: number) => void;
|
|
62
|
-
moveColumn: (columnId: string, newIndex: number) => void;
|
|
63
|
-
addCard: (columnId: string, card: Partial<KanbanCard>) => void;
|
|
64
|
-
deleteCard: (cardId: string, columnId: string) => void;
|
|
65
|
-
addColumn: (column: Partial<KanbanColumn>) => void;
|
|
66
|
-
deleteColumn: (columnId: string) => void;
|
|
67
|
-
};
|
|
68
|
-
export default WakaKanban;
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type TrendDirection = "up" | "down" | "neutral";
|
|
3
|
-
export type KPICardSize = "1x1" | "2x1" | "1x2" | "2x2";
|
|
4
|
-
export interface SparklineData {
|
|
5
|
-
value: number;
|
|
6
|
-
timestamp?: number | Date;
|
|
7
|
-
}
|
|
8
|
-
export interface KPIData {
|
|
9
|
-
id: string;
|
|
10
|
-
title: string;
|
|
11
|
-
value: string | number;
|
|
12
|
-
previousValue?: string | number;
|
|
13
|
-
trend?: TrendDirection;
|
|
14
|
-
trendValue?: string;
|
|
15
|
-
unit?: string;
|
|
16
|
-
sparklineData?: SparklineData[];
|
|
17
|
-
target?: {
|
|
18
|
-
value: number;
|
|
19
|
-
label?: string;
|
|
20
|
-
};
|
|
21
|
-
color?: "default" | "primary" | "success" | "warning" | "destructive" | "blue" | "purple";
|
|
22
|
-
icon?: React.ReactNode;
|
|
23
|
-
size?: KPICardSize;
|
|
24
|
-
loading?: boolean;
|
|
25
|
-
lastUpdated?: Date;
|
|
26
|
-
data?: Record<string, unknown>;
|
|
27
|
-
}
|
|
28
|
-
export interface WakaKPIDashboardProps {
|
|
29
|
-
/** KPI data items */
|
|
30
|
-
kpis: KPIData[];
|
|
31
|
-
/** Number of columns in the grid */
|
|
32
|
-
columns?: 2 | 3 | 4 | 6;
|
|
33
|
-
/** Gap between cards */
|
|
34
|
-
gap?: "sm" | "md" | "lg";
|
|
35
|
-
/** Enable drag to reorder */
|
|
36
|
-
draggable?: boolean;
|
|
37
|
-
/** Callback when KPIs are reordered */
|
|
38
|
-
onReorder?: (kpis: KPIData[]) => void;
|
|
39
|
-
/** Callback to refresh a specific KPI */
|
|
40
|
-
onRefresh?: (kpiId: string) => void;
|
|
41
|
-
/** Callback when a KPI card is clicked */
|
|
42
|
-
onCardClick?: (kpi: KPIData) => void;
|
|
43
|
-
/** Show loading skeleton for all cards */
|
|
44
|
-
loading?: boolean;
|
|
45
|
-
/** Custom card renderer */
|
|
46
|
-
renderCard?: (kpi: KPIData) => React.ReactNode;
|
|
47
|
-
/** Additional CSS classes */
|
|
48
|
-
className?: string;
|
|
49
|
-
}
|
|
50
|
-
export interface KPICardProps {
|
|
51
|
-
kpi: KPIData;
|
|
52
|
-
onRefresh?: (kpiId: string) => void;
|
|
53
|
-
onClick?: (kpi: KPIData) => void;
|
|
54
|
-
draggable?: boolean;
|
|
55
|
-
onDragStart?: (e: React.DragEvent, kpiId: string) => void;
|
|
56
|
-
}
|
|
57
|
-
export declare function KPICard({ kpi, onRefresh, onClick, draggable, onDragStart, }: KPICardProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
export declare function WakaKPIDashboard({ kpis, columns, gap, draggable, onReorder, onRefresh, onCardClick, loading, renderCard, className, }: WakaKPIDashboardProps): import("react/jsx-runtime").JSX.Element;
|
|
59
|
-
export interface UseKPIDashboardOptions {
|
|
60
|
-
initialKPIs?: KPIData[];
|
|
61
|
-
refreshInterval?: number;
|
|
62
|
-
onRefresh?: (kpiId: string) => Promise<KPIData | null>;
|
|
63
|
-
}
|
|
64
|
-
export declare function useKPIDashboard(options?: UseKPIDashboardOptions): {
|
|
65
|
-
kpis: KPIData[];
|
|
66
|
-
setKPIs: React.Dispatch<React.SetStateAction<KPIData[]>>;
|
|
67
|
-
loading: boolean;
|
|
68
|
-
refreshKPI: (kpiId: string) => Promise<void>;
|
|
69
|
-
refreshAll: () => Promise<void>;
|
|
70
|
-
updateKPI: (kpiId: string, updates: Partial<KPIData>) => void;
|
|
71
|
-
addKPI: (kpi: KPIData) => void;
|
|
72
|
-
removeKPI: (kpiId: string) => void;
|
|
73
|
-
reorderKPIs: (newKPIs: KPIData[]) => void;
|
|
74
|
-
calculateTrend: (currentValue: number, previousValue: number) => {
|
|
75
|
-
direction: TrendDirection;
|
|
76
|
-
value: string;
|
|
77
|
-
};
|
|
78
|
-
isRefreshing: (kpiId: string) => boolean;
|
|
79
|
-
};
|
|
80
|
-
export default WakaKPIDashboard;
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
export type NodeStatus = "Ready" | "NotReady" | "Unknown";
|
|
2
|
-
export type PodPhase = "Running" | "Pending" | "Succeeded" | "Failed" | "Unknown";
|
|
3
|
-
export type DeploymentStatus = "Available" | "Progressing" | "Degraded";
|
|
4
|
-
export interface K8sNode {
|
|
5
|
-
name: string;
|
|
6
|
-
status: NodeStatus;
|
|
7
|
-
roles: string[];
|
|
8
|
-
version: string;
|
|
9
|
-
cpu: {
|
|
10
|
-
used: number;
|
|
11
|
-
total: number;
|
|
12
|
-
};
|
|
13
|
-
memory: {
|
|
14
|
-
used: number;
|
|
15
|
-
total: number;
|
|
16
|
-
};
|
|
17
|
-
pods: {
|
|
18
|
-
running: number;
|
|
19
|
-
total: number;
|
|
20
|
-
};
|
|
21
|
-
conditions?: Array<{
|
|
22
|
-
type: string;
|
|
23
|
-
status: boolean;
|
|
24
|
-
message?: string;
|
|
25
|
-
}>;
|
|
26
|
-
}
|
|
27
|
-
export interface K8sPod {
|
|
28
|
-
name: string;
|
|
29
|
-
namespace: string;
|
|
30
|
-
phase: PodPhase;
|
|
31
|
-
ready: string;
|
|
32
|
-
restarts: number;
|
|
33
|
-
age: string;
|
|
34
|
-
node?: string;
|
|
35
|
-
labels?: Record<string, string>;
|
|
36
|
-
}
|
|
37
|
-
export interface K8sDeployment {
|
|
38
|
-
name: string;
|
|
39
|
-
namespace: string;
|
|
40
|
-
replicas: {
|
|
41
|
-
ready: number;
|
|
42
|
-
desired: number;
|
|
43
|
-
};
|
|
44
|
-
status: DeploymentStatus;
|
|
45
|
-
age: string;
|
|
46
|
-
image?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface K8sService {
|
|
49
|
-
name: string;
|
|
50
|
-
namespace: string;
|
|
51
|
-
type: "ClusterIP" | "NodePort" | "LoadBalancer" | "ExternalName";
|
|
52
|
-
clusterIP: string;
|
|
53
|
-
externalIP?: string;
|
|
54
|
-
ports: Array<{
|
|
55
|
-
port: number;
|
|
56
|
-
targetPort: number;
|
|
57
|
-
protocol: string;
|
|
58
|
-
}>;
|
|
59
|
-
age: string;
|
|
60
|
-
}
|
|
61
|
-
export interface K8sNamespace {
|
|
62
|
-
name: string;
|
|
63
|
-
status: "Active" | "Terminating";
|
|
64
|
-
age: string;
|
|
65
|
-
labels?: Record<string, string>;
|
|
66
|
-
}
|
|
67
|
-
export interface WakaKubernetesOverviewProps {
|
|
68
|
-
/** Cluster name */
|
|
69
|
-
clusterName?: string;
|
|
70
|
-
/** List of nodes */
|
|
71
|
-
nodes: K8sNode[];
|
|
72
|
-
/** List of pods */
|
|
73
|
-
pods: K8sPod[];
|
|
74
|
-
/** List of deployments */
|
|
75
|
-
deployments: K8sDeployment[];
|
|
76
|
-
/** List of services */
|
|
77
|
-
services: K8sService[];
|
|
78
|
-
/** List of namespaces */
|
|
79
|
-
namespaces: K8sNamespace[];
|
|
80
|
-
/** Selected namespace filter */
|
|
81
|
-
selectedNamespace?: string;
|
|
82
|
-
/** Callback when changing namespace */
|
|
83
|
-
onNamespaceChange?: (namespace: string) => void;
|
|
84
|
-
/** Callback when clicking on a resource */
|
|
85
|
-
onResourceClick?: (type: string, name: string, namespace?: string) => void;
|
|
86
|
-
/** Callback when refreshing */
|
|
87
|
-
onRefresh?: () => void;
|
|
88
|
-
/** Whether data is loading */
|
|
89
|
-
isLoading?: boolean;
|
|
90
|
-
/** Custom class name */
|
|
91
|
-
className?: string;
|
|
92
|
-
}
|
|
93
|
-
export declare function WakaKubernetesOverview({ clusterName, nodes, pods, deployments, services, namespaces, selectedNamespace, onNamespaceChange, onResourceClick, onRefresh, isLoading, className, }: WakaKubernetesOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
-
export declare const defaultK8sNodes: K8sNode[];
|
|
95
|
-
export declare const defaultK8sPods: K8sPod[];
|
|
96
|
-
export declare const defaultK8sDeployments: K8sDeployment[];
|
|
97
|
-
export declare const defaultK8sServices: K8sService[];
|
|
98
|
-
export declare const defaultK8sNamespaces: K8sNamespace[];
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
export interface LeaderboardEntry {
|
|
2
|
-
/** Unique identifier */
|
|
3
|
-
id: string;
|
|
4
|
-
/** User display name */
|
|
5
|
-
name: string;
|
|
6
|
-
/** Avatar URL or initials */
|
|
7
|
-
avatar?: string;
|
|
8
|
-
/** Current score/points */
|
|
9
|
-
score: number;
|
|
10
|
-
/** Current rank position */
|
|
11
|
-
rank: number;
|
|
12
|
-
/** Previous rank (for animation) */
|
|
13
|
-
previousRank?: number;
|
|
14
|
-
/** Additional metadata */
|
|
15
|
-
metadata?: Record<string, string | number>;
|
|
16
|
-
/** Whether this is the current user */
|
|
17
|
-
isCurrentUser?: boolean;
|
|
18
|
-
}
|
|
19
|
-
export interface WakaLeaderboardProps {
|
|
20
|
-
/** Leaderboard entries */
|
|
21
|
-
entries: LeaderboardEntry[];
|
|
22
|
-
/** Title of the leaderboard */
|
|
23
|
-
title?: string;
|
|
24
|
-
/** Show podium for top 3 */
|
|
25
|
-
showPodium?: boolean;
|
|
26
|
-
/** Animate rank changes */
|
|
27
|
-
animateRankChanges?: boolean;
|
|
28
|
-
/** Maximum entries to show (excluding podium) */
|
|
29
|
-
maxEntries?: number;
|
|
30
|
-
/** Score label (e.g., "points", "XP", "wins") */
|
|
31
|
-
scoreLabel?: string;
|
|
32
|
-
/** Format score function */
|
|
33
|
-
formatScore?: (score: number) => string;
|
|
34
|
-
/** Current user ID (for highlighting) */
|
|
35
|
-
currentUserId?: string;
|
|
36
|
-
/** Callback when entry is clicked */
|
|
37
|
-
onEntryClick?: (entry: LeaderboardEntry) => void;
|
|
38
|
-
/** Show rank change indicators */
|
|
39
|
-
showRankChange?: boolean;
|
|
40
|
-
/** Size variant */
|
|
41
|
-
size?: "sm" | "default" | "lg";
|
|
42
|
-
/** Custom className */
|
|
43
|
-
className?: string;
|
|
44
|
-
}
|
|
45
|
-
export interface WakaPodiumProps {
|
|
46
|
-
/** Top 3 entries */
|
|
47
|
-
entries: LeaderboardEntry[];
|
|
48
|
-
/** Size variant */
|
|
49
|
-
size?: "sm" | "default" | "lg";
|
|
50
|
-
/** Score label */
|
|
51
|
-
scoreLabel?: string;
|
|
52
|
-
/** Format score function */
|
|
53
|
-
formatScore?: (score: number) => string;
|
|
54
|
-
/** Callback when entry is clicked */
|
|
55
|
-
onEntryClick?: (entry: LeaderboardEntry) => void;
|
|
56
|
-
/** Custom className */
|
|
57
|
-
className?: string;
|
|
58
|
-
}
|
|
59
|
-
export declare function WakaPodium({ entries, size, scoreLabel, formatScore, onEntryClick, className, }: WakaPodiumProps): import("react/jsx-runtime").JSX.Element | null;
|
|
60
|
-
export declare function WakaLeaderboard({ entries, title, showPodium, animateRankChanges, maxEntries, scoreLabel, formatScore, currentUserId, onEntryClick, showRankChange, size, className, }: WakaLeaderboardProps): import("react/jsx-runtime").JSX.Element;
|
|
61
|
-
export interface WakaMiniLeaderboardProps {
|
|
62
|
-
entries: LeaderboardEntry[];
|
|
63
|
-
maxEntries?: number;
|
|
64
|
-
currentUserId?: string;
|
|
65
|
-
className?: string;
|
|
66
|
-
}
|
|
67
|
-
export declare function WakaMiniLeaderboard({ entries, maxEntries, currentUserId, className, }: WakaMiniLeaderboardProps): import("react/jsx-runtime").JSX.Element;
|
|
68
|
-
export interface UseLeaderboardOptions {
|
|
69
|
-
/** Initial entries */
|
|
70
|
-
entries: LeaderboardEntry[];
|
|
71
|
-
/** Sort direction */
|
|
72
|
-
sortDirection?: "asc" | "desc";
|
|
73
|
-
/** Auto-update rankings when scores change */
|
|
74
|
-
autoRank?: boolean;
|
|
75
|
-
}
|
|
76
|
-
export declare function useLeaderboard({ entries: initialEntries, sortDirection, autoRank, }: UseLeaderboardOptions): {
|
|
77
|
-
entries: LeaderboardEntry[];
|
|
78
|
-
updateScore: (id: string, score: number) => void;
|
|
79
|
-
addEntry: (entry: Omit<LeaderboardEntry, "rank">) => void;
|
|
80
|
-
removeEntry: (id: string) => void;
|
|
81
|
-
refresh: (newEntries: LeaderboardEntry[]) => void;
|
|
82
|
-
topEntry: LeaderboardEntry;
|
|
83
|
-
getEntry: (id: string) => LeaderboardEntry | undefined;
|
|
84
|
-
getRank: (id: string) => number | undefined;
|
|
85
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface LevelMilestone {
|
|
3
|
-
/** Level number */
|
|
4
|
-
level: number;
|
|
5
|
-
/** XP required to reach this level */
|
|
6
|
-
xpRequired: number;
|
|
7
|
-
/** Optional label for the milestone */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Optional icon */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
/** Optional reward description */
|
|
12
|
-
reward?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface WakaLevelProgressProps {
|
|
15
|
-
/** Current XP amount */
|
|
16
|
-
currentXp: number;
|
|
17
|
-
/** Current level */
|
|
18
|
-
currentLevel: number;
|
|
19
|
-
/** XP required for next level */
|
|
20
|
-
xpForNextLevel: number;
|
|
21
|
-
/** XP at the start of current level */
|
|
22
|
-
xpAtCurrentLevel?: number;
|
|
23
|
-
/** Custom level label */
|
|
24
|
-
levelLabel?: string;
|
|
25
|
-
/** Size variant */
|
|
26
|
-
size?: "sm" | "default" | "lg";
|
|
27
|
-
/** Show XP numbers */
|
|
28
|
-
showXpNumbers?: boolean;
|
|
29
|
-
/** Show percentage */
|
|
30
|
-
showPercentage?: boolean;
|
|
31
|
-
/** Milestone markers */
|
|
32
|
-
milestones?: LevelMilestone[];
|
|
33
|
-
/** Animate progress changes */
|
|
34
|
-
animate?: boolean;
|
|
35
|
-
/** Show level up celebration */
|
|
36
|
-
showLevelUpCelebration?: boolean;
|
|
37
|
-
/** Callback when level up occurs */
|
|
38
|
-
onLevelUp?: (newLevel: number) => void;
|
|
39
|
-
/** Color theme */
|
|
40
|
-
theme?: "default" | "gold" | "purple" | "green" | "blue";
|
|
41
|
-
/** Custom className */
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
export interface WakaLevelBadgeProps {
|
|
45
|
-
/** Level number */
|
|
46
|
-
level: number;
|
|
47
|
-
/** Size variant */
|
|
48
|
-
size?: "sm" | "default" | "lg" | "xl";
|
|
49
|
-
/** Show animated effects */
|
|
50
|
-
animated?: boolean;
|
|
51
|
-
/** Color theme */
|
|
52
|
-
theme?: "default" | "gold" | "purple" | "green" | "blue";
|
|
53
|
-
/** Custom className */
|
|
54
|
-
className?: string;
|
|
55
|
-
}
|
|
56
|
-
export declare function WakaLevelBadge({ level, size, animated, theme, className, }: WakaLevelBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
export declare function WakaLevelProgress({ currentXp, currentLevel, xpForNextLevel, xpAtCurrentLevel, levelLabel, size, showXpNumbers, showPercentage, milestones, animate, showLevelUpCelebration, onLevelUp, theme, className, }: WakaLevelProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
58
|
-
export interface WakaCompactLevelProgressProps {
|
|
59
|
-
currentLevel: number;
|
|
60
|
-
progressPercent: number;
|
|
61
|
-
theme?: "default" | "gold" | "purple" | "green" | "blue";
|
|
62
|
-
className?: string;
|
|
63
|
-
}
|
|
64
|
-
export declare function WakaCompactLevelProgress({ currentLevel, progressPercent, theme, className, }: WakaCompactLevelProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
-
export interface UseLevelProgressOptions {
|
|
66
|
-
/** Initial XP */
|
|
67
|
-
initialXp?: number;
|
|
68
|
-
/** XP required per level (can be a function for dynamic scaling) */
|
|
69
|
-
xpPerLevel?: number | ((level: number) => number);
|
|
70
|
-
/** Maximum level */
|
|
71
|
-
maxLevel?: number;
|
|
72
|
-
/** Callback when level changes */
|
|
73
|
-
onLevelChange?: (level: number, previousLevel: number) => void;
|
|
74
|
-
}
|
|
75
|
-
export declare function useLevelProgress({ initialXp, xpPerLevel, maxLevel, onLevelChange, }?: UseLevelProgressOptions): {
|
|
76
|
-
totalXp: number;
|
|
77
|
-
currentLevel: number;
|
|
78
|
-
currentXp: number;
|
|
79
|
-
xpAtCurrentLevel: number;
|
|
80
|
-
xpForNextLevel: number;
|
|
81
|
-
xpInCurrentLevel: number;
|
|
82
|
-
xpNeededForLevel: number;
|
|
83
|
-
xpRemaining: number;
|
|
84
|
-
progressPercent: number;
|
|
85
|
-
addXp: (amount: number) => void;
|
|
86
|
-
setXp: (amount: number) => void;
|
|
87
|
-
reset: () => void;
|
|
88
|
-
isMaxLevel: boolean;
|
|
89
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export type LiquidButtonSize = "sm" | "default" | "lg" | "xl";
|
|
4
|
-
export type LiquidButtonVariant = "default" | "secondary" | "destructive" | "success" | "gradient" | "neon";
|
|
5
|
-
export interface WakaLiquidButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof liquidButtonVariants> {
|
|
6
|
-
/** Button content */
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
/** Enable liquid morphing effect */
|
|
9
|
-
liquidEffect?: boolean;
|
|
10
|
-
/** Intensity of the liquid effect (0-1) */
|
|
11
|
-
liquidIntensity?: number;
|
|
12
|
-
/** Speed of the liquid animation in ms */
|
|
13
|
-
liquidSpeed?: number;
|
|
14
|
-
/** Number of blob points for the liquid effect */
|
|
15
|
-
blobPoints?: number;
|
|
16
|
-
/** Loading state with liquid animation */
|
|
17
|
-
loading?: boolean;
|
|
18
|
-
/** Loading text */
|
|
19
|
-
loadingText?: string;
|
|
20
|
-
/** Icon to show before children */
|
|
21
|
-
leftIcon?: React.ReactNode;
|
|
22
|
-
/** Icon to show after children */
|
|
23
|
-
rightIcon?: React.ReactNode;
|
|
24
|
-
/** Unique ID for SVG filter (auto-generated if not provided) */
|
|
25
|
-
filterId?: string;
|
|
26
|
-
}
|
|
27
|
-
declare const liquidButtonVariants: (props?: ({
|
|
28
|
-
variant?: "default" | "destructive" | "secondary" | "success" | "gradient" | "neon" | null | undefined;
|
|
29
|
-
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
30
|
-
rounded?: "default" | "sm" | "lg" | "full" | null | undefined;
|
|
31
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated Since v3.6 — will be removed in v4.0.
|
|
34
|
-
* Use `WakaFancyButton variant="liquid"` instead (futur, dans `@wakastellar/ui-effects-decorative`).
|
|
35
|
-
* See `docs/audit/remove-relocate.md` §2.1.
|
|
36
|
-
*/
|
|
37
|
-
export declare const WakaLiquidButton: React.ForwardRefExoticComponent<WakaLiquidButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
38
|
-
export interface WakaLiquidButtonPresetProps extends Omit<WakaLiquidButtonProps, "variant"> {
|
|
39
|
-
}
|
|
40
|
-
export declare const WakaLiquidButtonPrimary: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
41
|
-
export declare const WakaLiquidButtonSecondary: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
42
|
-
export declare const WakaLiquidButtonDestructive: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
43
|
-
export declare const WakaLiquidButtonSuccess: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
44
|
-
export declare const WakaLiquidButtonGradient: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
45
|
-
export declare const WakaLiquidButtonNeon: React.ForwardRefExoticComponent<WakaLiquidButtonPresetProps & React.RefAttributes<HTMLButtonElement>>;
|
|
46
|
-
export {};
|