@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,21 +0,0 @@
|
|
|
1
|
-
import { CreditTransaction } from '../waka-credit-balance/types';
|
|
2
|
-
export interface WakaCreditActivityFeedProps {
|
|
3
|
-
/** List of credit transactions to display */
|
|
4
|
-
activities: CreditTransaction[];
|
|
5
|
-
/** Maximum number of items to display */
|
|
6
|
-
maxItems?: number;
|
|
7
|
-
/** Show "Load more" button at bottom */
|
|
8
|
-
showLoadMore?: boolean;
|
|
9
|
-
/** Callback when "Load more" is clicked */
|
|
10
|
-
onLoadMore?: () => void;
|
|
11
|
-
/** Show loading skeleton state */
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
/** Message to display when activity list is empty */
|
|
14
|
-
emptyMessage?: string;
|
|
15
|
-
/** Enable staggered fade-in animation for items */
|
|
16
|
-
animated?: boolean;
|
|
17
|
-
/** Additional CSS classes */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
export declare function WakaCreditActivityFeed({ activities, maxItems, showLoadMore, onLoadMore, loading, emptyMessage, animated, className, }: WakaCreditActivityFeedProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default WakaCreditActivityFeed;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { CreditAlertLevel } from '../waka-credit-balance/types';
|
|
2
|
-
export type { CreditAlertLevel } from '../waka-credit-balance/types';
|
|
3
|
-
export interface WakaCreditAlertProps {
|
|
4
|
-
/** Alert severity level */
|
|
5
|
-
level: CreditAlertLevel;
|
|
6
|
-
/** Current credit balance */
|
|
7
|
-
balance: number;
|
|
8
|
-
/** Threshold value that triggered the alert */
|
|
9
|
-
threshold?: number;
|
|
10
|
-
/** Custom message (overrides default) */
|
|
11
|
-
message?: string;
|
|
12
|
-
/** Callback when dismissing the alert */
|
|
13
|
-
onDismiss?: () => void;
|
|
14
|
-
/** Callback when clicking the top-up action */
|
|
15
|
-
onTopUp?: () => void;
|
|
16
|
-
/** Label for the top-up button */
|
|
17
|
-
topUpLabel?: string;
|
|
18
|
-
/** Whether the alert can be dismissed */
|
|
19
|
-
dismissable?: boolean;
|
|
20
|
-
/** Additional CSS classes */
|
|
21
|
-
className?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function WakaCreditAlert({ level, balance, threshold, message, onDismiss, onTopUp, topUpLabel, dismissable, className, }: WakaCreditAlertProps): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
export default WakaCreditAlert;
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { CreditThresholds } from './types';
|
|
2
|
-
export type { CreditThresholds } from './types';
|
|
3
|
-
export interface WakaCreditBalanceProps {
|
|
4
|
-
/** Current credit balance */
|
|
5
|
-
balance: number;
|
|
6
|
-
/** Currency symbol or label (default: "credits") */
|
|
7
|
-
currency?: string;
|
|
8
|
-
/** Trend indicator */
|
|
9
|
-
trend?: {
|
|
10
|
-
direction: "up" | "down" | "neutral";
|
|
11
|
-
value: string;
|
|
12
|
-
text?: string;
|
|
13
|
-
};
|
|
14
|
-
/** Thresholds for color changes */
|
|
15
|
-
thresholds?: CreditThresholds;
|
|
16
|
-
/** Visual variant */
|
|
17
|
-
variant?: "card" | "compact" | "minimal";
|
|
18
|
-
/** Component size */
|
|
19
|
-
size?: "sm" | "md" | "lg";
|
|
20
|
-
/** Enable animated counter on value change */
|
|
21
|
-
animated?: boolean;
|
|
22
|
-
/** Show loading skeleton */
|
|
23
|
-
loading?: boolean;
|
|
24
|
-
/** Custom value formatter */
|
|
25
|
-
formatValue?: (value: number) => string;
|
|
26
|
-
/** Additional CSS classes */
|
|
27
|
-
className?: string;
|
|
28
|
-
}
|
|
29
|
-
export declare function WakaCreditBalance({ balance, currency, trend, thresholds, variant, size, animated, loading, formatValue, className, }: WakaCreditBalanceProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
-
export default WakaCreditBalance;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export type CreditTransactionType = "debit" | "credit" | "refund" | "bonus" | "expiry";
|
|
2
|
-
export type CreditTransactionStatus = "completed" | "pending" | "failed" | "cancelled";
|
|
3
|
-
export type CreditAlertLevel = "info" | "warning" | "critical" | "depleted";
|
|
4
|
-
export interface CreditTransaction {
|
|
5
|
-
id: string;
|
|
6
|
-
type: CreditTransactionType;
|
|
7
|
-
amount: number;
|
|
8
|
-
description: string;
|
|
9
|
-
service?: string;
|
|
10
|
-
timestamp: string | Date;
|
|
11
|
-
status: CreditTransactionStatus;
|
|
12
|
-
balanceAfter?: number;
|
|
13
|
-
}
|
|
14
|
-
export interface CreditPack {
|
|
15
|
-
id: string;
|
|
16
|
-
name: string;
|
|
17
|
-
credits: number;
|
|
18
|
-
price: number;
|
|
19
|
-
currency?: string;
|
|
20
|
-
unitPrice?: number;
|
|
21
|
-
bonusPercent?: number;
|
|
22
|
-
highlighted?: boolean;
|
|
23
|
-
highlightLabel?: string;
|
|
24
|
-
}
|
|
25
|
-
export interface CreditThresholds {
|
|
26
|
-
warning: number;
|
|
27
|
-
critical: number;
|
|
28
|
-
}
|
|
29
|
-
export interface CreditServiceUsage {
|
|
30
|
-
id: string;
|
|
31
|
-
name: string;
|
|
32
|
-
value: number;
|
|
33
|
-
color?: string;
|
|
34
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface BreakdownItem {
|
|
2
|
-
/** Unique identifier */
|
|
3
|
-
id: string;
|
|
4
|
-
/** Display name */
|
|
5
|
-
name: string;
|
|
6
|
-
/** Credit consumption value */
|
|
7
|
-
value: number;
|
|
8
|
-
/** Custom color for this segment */
|
|
9
|
-
color?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface WakaCreditBreakdownProps {
|
|
12
|
-
/** Breakdown data items */
|
|
13
|
-
data: BreakdownItem[];
|
|
14
|
-
/** Visualization variant */
|
|
15
|
-
variant?: "pie" | "donut" | "bar";
|
|
16
|
-
/** Show percentage labels */
|
|
17
|
-
showPercentages?: boolean;
|
|
18
|
-
/** Show legend */
|
|
19
|
-
showLegend?: boolean;
|
|
20
|
-
/** Chart height in pixels */
|
|
21
|
-
height?: number;
|
|
22
|
-
/** Enable animations */
|
|
23
|
-
animated?: boolean;
|
|
24
|
-
/** Callback when a segment is clicked */
|
|
25
|
-
onSegmentClick?: (item: BreakdownItem) => void;
|
|
26
|
-
/** Custom value formatter */
|
|
27
|
-
formatValue?: (value: number) => string;
|
|
28
|
-
/** Additional CSS classes */
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function WakaCreditBreakdown({ data, variant, showPercentages, showLegend, height, animated, onSegmentClick, formatValue, className, }: WakaCreditBreakdownProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export default WakaCreditBreakdown;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface WakaCreditBurnRateProps {
|
|
2
|
-
/** Array of daily usage data points */
|
|
3
|
-
dailyUsage: {
|
|
4
|
-
date: string;
|
|
5
|
-
value: number;
|
|
6
|
-
}[];
|
|
7
|
-
/** Current credit balance */
|
|
8
|
-
balance: number;
|
|
9
|
-
/** Show projection line on the sparkline */
|
|
10
|
-
showProjection?: boolean;
|
|
11
|
-
/** Number of days to project forward */
|
|
12
|
-
projectionDays?: number;
|
|
13
|
-
/** Width of the SVG sparkline */
|
|
14
|
-
width?: number;
|
|
15
|
-
/** Height of the SVG sparkline */
|
|
16
|
-
height?: number;
|
|
17
|
-
/** Animate the sparkline on mount */
|
|
18
|
-
animated?: boolean;
|
|
19
|
-
/** Display variant */
|
|
20
|
-
variant?: "sparkline" | "card";
|
|
21
|
-
/** Additional CSS classes */
|
|
22
|
-
className?: string;
|
|
23
|
-
}
|
|
24
|
-
export declare function WakaCreditBurnRate({ dailyUsage, balance, showProjection, projectionDays, width, height, animated, variant, className, }: WakaCreditBurnRateProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export default WakaCreditBurnRate;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type CardType = "visa" | "mastercard" | "amex" | "discover" | "diners" | "jcb" | "unionpay" | "maestro" | "unknown";
|
|
3
|
-
export interface CardData {
|
|
4
|
-
/** Card number (formatted with spaces) */
|
|
5
|
-
cardNumber: string;
|
|
6
|
-
/** Raw card number (no spaces) */
|
|
7
|
-
rawCardNumber: string;
|
|
8
|
-
/** Card holder name */
|
|
9
|
-
cardHolder: string;
|
|
10
|
-
/** Expiry date (MM/YY) */
|
|
11
|
-
expiry: string;
|
|
12
|
-
/** CVV code */
|
|
13
|
-
cvv: string;
|
|
14
|
-
/** Detected card type */
|
|
15
|
-
cardType: CardType;
|
|
16
|
-
}
|
|
17
|
-
export interface CardErrors {
|
|
18
|
-
cardNumber?: string;
|
|
19
|
-
cardHolder?: string;
|
|
20
|
-
expiry?: string;
|
|
21
|
-
cvv?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface WakaCreditCardInputProps {
|
|
24
|
-
/** Current card data */
|
|
25
|
-
value?: Partial<CardData>;
|
|
26
|
-
/** Callback when card data changes */
|
|
27
|
-
onChange?: (data: CardData) => void;
|
|
28
|
-
/** Callback when validation changes */
|
|
29
|
-
onValidationChange?: (isValid: boolean, errors: CardErrors) => void;
|
|
30
|
-
/** Disabled state */
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
/** Read-only state */
|
|
33
|
-
readOnly?: boolean;
|
|
34
|
-
/** Combined single-field mode */
|
|
35
|
-
singleFieldMode?: boolean;
|
|
36
|
-
/** Show card flip preview animation */
|
|
37
|
-
showCardPreview?: boolean;
|
|
38
|
-
/** Show card type icon */
|
|
39
|
-
showCardTypeIcon?: boolean;
|
|
40
|
-
/** Placeholder texts */
|
|
41
|
-
placeholders?: {
|
|
42
|
-
cardNumber?: string;
|
|
43
|
-
cardHolder?: string;
|
|
44
|
-
expiry?: string;
|
|
45
|
-
cvv?: string;
|
|
46
|
-
};
|
|
47
|
-
/** Labels for fields */
|
|
48
|
-
labels?: {
|
|
49
|
-
cardNumber?: string;
|
|
50
|
-
cardHolder?: string;
|
|
51
|
-
expiry?: string;
|
|
52
|
-
cvv?: string;
|
|
53
|
-
};
|
|
54
|
-
/** Custom error messages */
|
|
55
|
-
errorMessages?: {
|
|
56
|
-
cardNumber?: string;
|
|
57
|
-
cardHolder?: string;
|
|
58
|
-
expiry?: string;
|
|
59
|
-
cvv?: string;
|
|
60
|
-
luhn?: string;
|
|
61
|
-
};
|
|
62
|
-
/** Size variant */
|
|
63
|
-
size?: "sm" | "md" | "lg";
|
|
64
|
-
/** Additional class names */
|
|
65
|
-
className?: string;
|
|
66
|
-
/** ID for accessibility */
|
|
67
|
-
id?: string;
|
|
68
|
-
/** Name prefix for form fields */
|
|
69
|
-
name?: string;
|
|
70
|
-
/** Auto-focus first field */
|
|
71
|
-
autoFocus?: boolean;
|
|
72
|
-
}
|
|
73
|
-
export interface UseCreditCardInputOptions {
|
|
74
|
-
/** Initial card data */
|
|
75
|
-
initialValue?: Partial<CardData>;
|
|
76
|
-
/** Validation on change */
|
|
77
|
-
validateOnChange?: boolean;
|
|
78
|
-
/** Custom error messages */
|
|
79
|
-
errorMessages?: WakaCreditCardInputProps["errorMessages"];
|
|
80
|
-
}
|
|
81
|
-
export declare function useCreditCardInput(options?: UseCreditCardInputOptions): {
|
|
82
|
-
cardData: CardData;
|
|
83
|
-
errors: CardErrors;
|
|
84
|
-
touched: Record<keyof CardErrors, boolean>;
|
|
85
|
-
isValid: boolean;
|
|
86
|
-
updateCardNumber: (value: string) => void;
|
|
87
|
-
updateCardHolder: (value: string) => void;
|
|
88
|
-
updateExpiry: (value: string) => void;
|
|
89
|
-
updateCvv: (value: string) => void;
|
|
90
|
-
validate: () => CardErrors;
|
|
91
|
-
reset: () => void;
|
|
92
|
-
setTouched: React.Dispatch<React.SetStateAction<Record<keyof CardErrors, boolean>>>;
|
|
93
|
-
};
|
|
94
|
-
export declare function WakaCreditCardInput({ value, onChange, onValidationChange, disabled, readOnly, singleFieldMode, showCardPreview, showCardTypeIcon, placeholders, labels, errorMessages, size, className, id, name, autoFocus, }: WakaCreditCardInputProps): import("react/jsx-runtime").JSX.Element;
|
|
95
|
-
export default WakaCreditCardInput;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { CreditTransaction, CreditTransactionType } from '../waka-credit-balance/types';
|
|
2
|
-
export type { CreditTransaction, CreditTransactionType } from '../waka-credit-balance/types';
|
|
3
|
-
export interface WakaCreditHistoryProps {
|
|
4
|
-
/** Array of credit transactions to display */
|
|
5
|
-
transactions: CreditTransaction[];
|
|
6
|
-
/** Number of items per page (default: 10) */
|
|
7
|
-
pageSize?: number;
|
|
8
|
-
/** Active filters */
|
|
9
|
-
filters?: {
|
|
10
|
-
types?: CreditTransactionType[];
|
|
11
|
-
services?: string[];
|
|
12
|
-
dateRange?: {
|
|
13
|
-
from: Date;
|
|
14
|
-
to: Date;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
/** Callback when export is triggered */
|
|
18
|
-
onExport?: (format: "csv" | "pdf", data: CreditTransaction[]) => void;
|
|
19
|
-
/** Callback when a row is clicked */
|
|
20
|
-
onRowClick?: (transaction: CreditTransaction) => void;
|
|
21
|
-
/** Show the filter bar */
|
|
22
|
-
showFilters?: boolean;
|
|
23
|
-
/** Show the export button */
|
|
24
|
-
showExport?: boolean;
|
|
25
|
-
/** Custom empty state message */
|
|
26
|
-
emptyMessage?: string;
|
|
27
|
-
/** Additional CSS classes */
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare function WakaCreditHistory({ transactions, pageSize, filters: externalFilters, onExport, onRowClick, showFilters, showExport, emptyMessage, className, }: WakaCreditHistoryProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export default WakaCreditHistory;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { CreditThresholds } from '../waka-credit-balance/types';
|
|
2
|
-
export interface WakaCreditMeterProps {
|
|
3
|
-
/** Credits used */
|
|
4
|
-
used: number;
|
|
5
|
-
/** Total credits available */
|
|
6
|
-
total: number;
|
|
7
|
-
/** Visual variant: ring (full circle), gauge (half-circle), bar (horizontal) */
|
|
8
|
-
variant?: "gauge" | "bar" | "ring";
|
|
9
|
-
/** Thresholds for color changes based on usage percentage */
|
|
10
|
-
thresholds?: CreditThresholds;
|
|
11
|
-
/** Show label below the meter */
|
|
12
|
-
showLabel?: boolean;
|
|
13
|
-
/** Show value in center (ring/gauge) or alongside (bar) */
|
|
14
|
-
showValue?: boolean;
|
|
15
|
-
/** Component size */
|
|
16
|
-
size?: "sm" | "md" | "lg";
|
|
17
|
-
/** Enable animation on value changes */
|
|
18
|
-
animated?: boolean;
|
|
19
|
-
/** Label text */
|
|
20
|
-
label?: string;
|
|
21
|
-
/** Custom value formatter */
|
|
22
|
-
formatValue?: (value: number) => string;
|
|
23
|
-
/** Additional CSS classes */
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function WakaCreditMeter({ used, total, variant, thresholds, showLabel, showValue, size, animated, label, formatValue, className, }: WakaCreditMeterProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export default WakaCreditMeter;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { CreditPack } from '../waka-credit-balance/types';
|
|
2
|
-
export interface WakaCreditPricingPackProps {
|
|
3
|
-
/** Credit packs to display */
|
|
4
|
-
packs: CreditPack[];
|
|
5
|
-
/** Currently selected pack ID */
|
|
6
|
-
selectedId?: string;
|
|
7
|
-
/** Callback when a pack is selected */
|
|
8
|
-
onSelect: (pack: CreditPack) => void;
|
|
9
|
-
/** Currency symbol for display (overrides pack currency) */
|
|
10
|
-
currency?: string;
|
|
11
|
-
/** Number of grid columns */
|
|
12
|
-
columns?: 2 | 3 | 4;
|
|
13
|
-
/** Additional class names */
|
|
14
|
-
className?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare function WakaCreditPricingPack({ packs, selectedId, onSelect, currency, columns, className, }: WakaCreditPricingPackProps): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export default WakaCreditPricingPack;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export interface WakaCreditProjectionProps {
|
|
2
|
-
/** Historical balance data points (date string + value) */
|
|
3
|
-
historicalData: {
|
|
4
|
-
date: string;
|
|
5
|
-
value: number;
|
|
6
|
-
}[];
|
|
7
|
-
/** Current credit balance */
|
|
8
|
-
balance: number;
|
|
9
|
-
/** Number of days to project into the future */
|
|
10
|
-
projectionDays?: number;
|
|
11
|
-
/** Show confidence interval band around projection */
|
|
12
|
-
confidenceInterval?: boolean;
|
|
13
|
-
/** Chart height in pixels */
|
|
14
|
-
height?: number;
|
|
15
|
-
/** Enable chart animations */
|
|
16
|
-
animated?: boolean;
|
|
17
|
-
/** Additional CSS classes */
|
|
18
|
-
className?: string;
|
|
19
|
-
}
|
|
20
|
-
export declare function WakaCreditProjection({ historicalData, balance, projectionDays, confidenceInterval, height, animated, className, }: WakaCreditProjectionProps): import("react/jsx-runtime").JSX.Element;
|
|
21
|
-
export default WakaCreditProjection;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { CreditServiceUsage } from '../waka-credit-balance/types';
|
|
2
|
-
export interface WakaCreditQuotaProps {
|
|
3
|
-
/** Credits used in the current period */
|
|
4
|
-
used: number;
|
|
5
|
-
/** Total credit quota */
|
|
6
|
-
total: number;
|
|
7
|
-
/** Date when the quota resets */
|
|
8
|
-
resetDate?: string | Date;
|
|
9
|
-
/** Per-service breakdown for stacked segments */
|
|
10
|
-
services?: CreditServiceUsage[];
|
|
11
|
-
/** Visual variant */
|
|
12
|
-
variant?: "compact" | "detailed";
|
|
13
|
-
/** Component size */
|
|
14
|
-
size?: "sm" | "md" | "lg";
|
|
15
|
-
/** Enable animated bar fill */
|
|
16
|
-
animated?: boolean;
|
|
17
|
-
/** Show reset date countdown */
|
|
18
|
-
showResetCountdown?: boolean;
|
|
19
|
-
/** Custom value formatter */
|
|
20
|
-
formatValue?: (value: number) => string;
|
|
21
|
-
/** Additional CSS classes */
|
|
22
|
-
className?: string;
|
|
23
|
-
}
|
|
24
|
-
export declare function WakaCreditQuota({ used, total, resetDate, services, variant, size, animated, showResetCountdown, formatValue, className, }: WakaCreditQuotaProps): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
export default WakaCreditQuota;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CreditTransaction } from '../waka-credit-balance/types';
|
|
2
|
-
export interface CreditReceiptTransaction extends CreditTransaction {
|
|
3
|
-
paymentMethod?: string;
|
|
4
|
-
credits?: number;
|
|
5
|
-
price?: number;
|
|
6
|
-
}
|
|
7
|
-
export interface WakaCreditReceiptProps {
|
|
8
|
-
/** Transaction data to display on the receipt */
|
|
9
|
-
transaction: CreditReceiptTransaction;
|
|
10
|
-
/** Organization details */
|
|
11
|
-
organization?: {
|
|
12
|
-
name: string;
|
|
13
|
-
id: string;
|
|
14
|
-
};
|
|
15
|
-
/** Whether the receipt can be downloaded as PDF */
|
|
16
|
-
downloadable?: boolean;
|
|
17
|
-
/** Callback when download button is clicked */
|
|
18
|
-
onDownload?: () => void;
|
|
19
|
-
/** Additional CSS classes */
|
|
20
|
-
className?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare function WakaCreditReceipt({ transaction, organization, downloadable, onDownload, className, }: WakaCreditReceiptProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default WakaCreditReceipt;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { CreditPack } from '../waka-credit-balance/types';
|
|
2
|
-
export interface WakaCreditTopUpProps {
|
|
3
|
-
/** Available credit packs to choose from */
|
|
4
|
-
packs: CreditPack[];
|
|
5
|
-
/** Current balance (shown in summary if provided) */
|
|
6
|
-
currentBalance?: number;
|
|
7
|
-
/** Allow custom amount entry */
|
|
8
|
-
customAmount?: boolean;
|
|
9
|
-
/** Minimum custom credits */
|
|
10
|
-
minAmount?: number;
|
|
11
|
-
/** Maximum custom credits */
|
|
12
|
-
maxAmount?: number;
|
|
13
|
-
/** Currency label */
|
|
14
|
-
currency?: string;
|
|
15
|
-
/** Called when user confirms purchase */
|
|
16
|
-
onPurchase: (selection: CreditPack | {
|
|
17
|
-
credits: number;
|
|
18
|
-
price: number;
|
|
19
|
-
}) => void;
|
|
20
|
-
/** Called when user cancels */
|
|
21
|
-
onCancel?: () => void;
|
|
22
|
-
/** Additional CSS classes */
|
|
23
|
-
className?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare function WakaCreditTopUp({ packs, currentBalance, customAmount, minAmount, maxAmount, currency, onPurchase, onCancel, className, }: WakaCreditTopUpProps): import("react/jsx-runtime").JSX.Element;
|
|
26
|
-
export default WakaCreditTopUp;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { CreditTransaction } from '../waka-credit-balance/types';
|
|
2
|
-
export type { CreditTransaction, CreditTransactionType, CreditTransactionStatus } from '../waka-credit-balance/types';
|
|
3
|
-
export interface WakaCreditTransactionProps {
|
|
4
|
-
/** The transaction to display */
|
|
5
|
-
transaction: CreditTransaction;
|
|
6
|
-
/** Show the service name column */
|
|
7
|
-
showService?: boolean;
|
|
8
|
-
/** Show the status badge column */
|
|
9
|
-
showStatus?: boolean;
|
|
10
|
-
/** Use compact single-line layout */
|
|
11
|
-
compact?: boolean;
|
|
12
|
-
/** Custom amount formatter */
|
|
13
|
-
formatAmount?: (amount: number) => string;
|
|
14
|
-
/** Custom date formatter */
|
|
15
|
-
formatDate?: (date: string | Date) => string;
|
|
16
|
-
/** Click handler for the transaction row */
|
|
17
|
-
onClick?: (transaction: CreditTransaction) => void;
|
|
18
|
-
/** Additional CSS classes */
|
|
19
|
-
className?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare function WakaCreditTransaction({ transaction, showService, showStatus, compact, formatAmount, formatDate, onClick, className, }: WakaCreditTransactionProps): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
export default WakaCreditTransaction;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export interface TransferOrganization {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
balance?: number;
|
|
5
|
-
}
|
|
6
|
-
export interface WakaCreditTransferFormProps {
|
|
7
|
-
/** Maximum amount that can be transferred */
|
|
8
|
-
maxAmount: number;
|
|
9
|
-
/** List of organizations available as transfer destinations */
|
|
10
|
-
organizations: TransferOrganization[];
|
|
11
|
-
/** Source organization (displayed read-only if provided) */
|
|
12
|
-
sourceOrganization?: TransferOrganization;
|
|
13
|
-
/** Callback when the transfer form is submitted */
|
|
14
|
-
onTransfer: (data: {
|
|
15
|
-
toOrgId: string;
|
|
16
|
-
amount: number;
|
|
17
|
-
reason: string;
|
|
18
|
-
}) => void;
|
|
19
|
-
/** Callback when the cancel button is clicked */
|
|
20
|
-
onCancel?: () => void;
|
|
21
|
-
/** Loading state for the transfer button */
|
|
22
|
-
loading?: boolean;
|
|
23
|
-
/** Additional CSS classes */
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function WakaCreditTransferForm({ maxAmount, organizations, sourceOrganization, onTransfer, onCancel, loading, className, }: WakaCreditTransferFormProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export default WakaCreditTransferForm;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export interface UsageDataPoint {
|
|
2
|
-
date: string;
|
|
3
|
-
value: number;
|
|
4
|
-
}
|
|
5
|
-
export interface WakaCreditUsageChartProps {
|
|
6
|
-
/** Array of data points with date and value */
|
|
7
|
-
data: UsageDataPoint[];
|
|
8
|
-
/** Optional comparison dataset (previous period) rendered as dashed/lighter area */
|
|
9
|
-
compareWith?: UsageDataPoint[];
|
|
10
|
-
/** Time period granularity */
|
|
11
|
-
period?: "day" | "week" | "month" | "year";
|
|
12
|
-
/** Whether to stack the areas */
|
|
13
|
-
stacked?: boolean;
|
|
14
|
-
/** Chart height in pixels */
|
|
15
|
-
height?: number;
|
|
16
|
-
/** Show the legend below the chart */
|
|
17
|
-
showLegend?: boolean;
|
|
18
|
-
/** Show the cartesian grid */
|
|
19
|
-
showGrid?: boolean;
|
|
20
|
-
/** Enable chart animations */
|
|
21
|
-
animated?: boolean;
|
|
22
|
-
/** Primary area color */
|
|
23
|
-
color?: string;
|
|
24
|
-
/** Comparison area color */
|
|
25
|
-
compareColor?: string;
|
|
26
|
-
/** Custom value formatter for tooltip and Y axis */
|
|
27
|
-
formatValue?: (value: number) => string;
|
|
28
|
-
/** Callback when the period selector is changed; renders period tabs when provided */
|
|
29
|
-
onPeriodChange?: (period: string) => void;
|
|
30
|
-
/** Additional CSS classes */
|
|
31
|
-
className?: string;
|
|
32
|
-
}
|
|
33
|
-
export declare function WakaCreditUsageChart({ data, compareWith, period, stacked, height, showLegend, showGrid, animated, color, compareColor, formatValue, onPeriodChange, className, }: WakaCreditUsageChartProps): import("react/jsx-runtime").JSX.Element;
|
|
34
|
-
export default WakaCreditUsageChart;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type RewardType = "xp" | "coins" | "item" | "badge";
|
|
3
|
-
export interface Reward {
|
|
4
|
-
/** Type of reward */
|
|
5
|
-
type: RewardType;
|
|
6
|
-
/** Value of the reward (number for xp/coins, string for item/badge name) */
|
|
7
|
-
value: number | string;
|
|
8
|
-
/** Custom icon for the reward */
|
|
9
|
-
icon?: React.ReactNode;
|
|
10
|
-
}
|
|
11
|
-
export interface DailyReward {
|
|
12
|
-
/** Day number (1-7) */
|
|
13
|
-
day: number;
|
|
14
|
-
/** Reward data */
|
|
15
|
-
reward: Reward;
|
|
16
|
-
/** Whether this reward has been claimed */
|
|
17
|
-
claimed: boolean;
|
|
18
|
-
/** Whether this is a bonus day (7th day special) */
|
|
19
|
-
isBonus?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface WakaDailyRewardProps {
|
|
22
|
-
/** Current day in the reward cycle (1-7) */
|
|
23
|
-
currentDay: number;
|
|
24
|
-
/** Array of rewards for each day */
|
|
25
|
-
rewards: DailyReward[];
|
|
26
|
-
/** Current streak count */
|
|
27
|
-
streak: number;
|
|
28
|
-
/** Seconds until next reward is available (countdown to midnight) */
|
|
29
|
-
nextRewardIn?: number;
|
|
30
|
-
/** Callback when user claims a reward */
|
|
31
|
-
onClaim?: (day: number) => void;
|
|
32
|
-
/** Whether the user can claim today's reward */
|
|
33
|
-
canClaim?: boolean;
|
|
34
|
-
/** Layout variant */
|
|
35
|
-
variant?: "horizontal" | "calendar";
|
|
36
|
-
/** Size variant */
|
|
37
|
-
size?: "sm" | "md" | "lg";
|
|
38
|
-
/** Custom className */
|
|
39
|
-
className?: string;
|
|
40
|
-
}
|
|
41
|
-
export declare function WakaDailyReward({ currentDay, rewards, streak, nextRewardIn, onClaim, canClaim, variant, size, className, }: WakaDailyRewardProps): import("react/jsx-runtime").JSX.Element;
|
|
42
|
-
export interface WakaCompactDailyRewardProps {
|
|
43
|
-
currentDay: number;
|
|
44
|
-
streak: number;
|
|
45
|
-
claimed: boolean;
|
|
46
|
-
onClaim?: () => void;
|
|
47
|
-
canClaim?: boolean;
|
|
48
|
-
className?: string;
|
|
49
|
-
}
|
|
50
|
-
export declare function WakaCompactDailyReward({ currentDay, streak, claimed, onClaim, canClaim, className, }: WakaCompactDailyRewardProps): import("react/jsx-runtime").JSX.Element;
|
|
51
|
-
export interface UseDailyRewardsOptions {
|
|
52
|
-
/** Initial rewards configuration */
|
|
53
|
-
initialRewards?: DailyReward[];
|
|
54
|
-
/** Initial current day */
|
|
55
|
-
initialDay?: number;
|
|
56
|
-
/** Initial streak */
|
|
57
|
-
initialStreak?: number;
|
|
58
|
-
/** Callback when reward is claimed */
|
|
59
|
-
onRewardClaimed?: (day: number, reward: Reward) => void;
|
|
60
|
-
/** Callback when streak changes */
|
|
61
|
-
onStreakChange?: (newStreak: number) => void;
|
|
62
|
-
}
|
|
63
|
-
export declare function useDailyRewards({ initialRewards, initialDay, initialStreak, onRewardClaimed, onStreakChange, }?: UseDailyRewardsOptions): {
|
|
64
|
-
rewards: DailyReward[];
|
|
65
|
-
currentDay: number;
|
|
66
|
-
streak: number;
|
|
67
|
-
lastClaimDate: Date | null;
|
|
68
|
-
claimReward: (day: number) => boolean;
|
|
69
|
-
advanceDay: () => void;
|
|
70
|
-
resetStreak: () => void;
|
|
71
|
-
canClaimToday: boolean | undefined;
|
|
72
|
-
getSecondsUntilMidnight: () => number;
|
|
73
|
-
setRewards: React.Dispatch<React.SetStateAction<DailyReward[]>>;
|
|
74
|
-
setCurrentDay: React.Dispatch<React.SetStateAction<number>>;
|
|
75
|
-
setStreak: React.Dispatch<React.SetStateAction<number>>;
|
|
76
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export type DatabaseType = "postgresql" | "mysql" | "mongodb" | "redis" | "elasticsearch" | "other";
|
|
2
|
-
export type DatabaseStatus = "healthy" | "warning" | "critical" | "offline" | "syncing";
|
|
3
|
-
export type ReplicationRole = "primary" | "replica" | "standalone";
|
|
4
|
-
export interface DatabaseMetrics {
|
|
5
|
-
connectionsActive: number;
|
|
6
|
-
connectionsMax: number;
|
|
7
|
-
queriesPerSecond: number;
|
|
8
|
-
slowQueries: number;
|
|
9
|
-
avgQueryTime: number;
|
|
10
|
-
cacheHitRate?: number;
|
|
11
|
-
storageUsed: number;
|
|
12
|
-
storageTotal: number;
|
|
13
|
-
replicationLag?: number;
|
|
14
|
-
uptime?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface DatabaseInfo {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
type: DatabaseType;
|
|
20
|
-
version?: string;
|
|
21
|
-
host: string;
|
|
22
|
-
port: number;
|
|
23
|
-
status: DatabaseStatus;
|
|
24
|
-
role: ReplicationRole;
|
|
25
|
-
metrics: DatabaseMetrics;
|
|
26
|
-
replicas?: number;
|
|
27
|
-
lastBackup?: Date;
|
|
28
|
-
tags?: string[];
|
|
29
|
-
}
|
|
30
|
-
export interface WakaDatabaseCardProps {
|
|
31
|
-
/** Database info */
|
|
32
|
-
database: DatabaseInfo;
|
|
33
|
-
/** Callback when clicking refresh */
|
|
34
|
-
onRefresh?: () => void;
|
|
35
|
-
/** Callback when clicking on the database */
|
|
36
|
-
onClick?: () => void;
|
|
37
|
-
/** Show detailed metrics */
|
|
38
|
-
detailed?: boolean;
|
|
39
|
-
/** Compact mode */
|
|
40
|
-
compact?: boolean;
|
|
41
|
-
/** Custom class name */
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
export declare function WakaDatabaseCard({ database, onRefresh, onClick, detailed, compact, className, }: WakaDatabaseCardProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare const defaultDatabase: DatabaseInfo;
|
|
46
|
-
export declare const defaultDatabases: DatabaseInfo[];
|