@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,79 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type VersionHealth = "healthy" | "degraded" | "unhealthy" | "unknown";
|
|
3
|
-
export interface DeploymentVersion {
|
|
4
|
-
/** Unique identifier */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Version number/tag */
|
|
7
|
-
version: string;
|
|
8
|
-
/** Commit hash */
|
|
9
|
-
commit?: string;
|
|
10
|
-
/** Commit message */
|
|
11
|
-
commitMessage?: string;
|
|
12
|
-
/** Who deployed this version */
|
|
13
|
-
deployedBy?: string;
|
|
14
|
-
/** When it was deployed */
|
|
15
|
-
deployedAt: Date;
|
|
16
|
-
/** Health status of this version */
|
|
17
|
-
health: VersionHealth;
|
|
18
|
-
/** Whether this is the currently active version */
|
|
19
|
-
isActive?: boolean;
|
|
20
|
-
/** Additional metadata */
|
|
21
|
-
metadata?: Record<string, unknown>;
|
|
22
|
-
}
|
|
23
|
-
export interface WakaRollbackSliderProps {
|
|
24
|
-
/** Array of deployment versions to display */
|
|
25
|
-
versions: DeploymentVersion[];
|
|
26
|
-
/** Currently selected version index */
|
|
27
|
-
selectedIndex?: number;
|
|
28
|
-
/** Callback when a version is selected */
|
|
29
|
-
onVersionSelect?: (version: DeploymentVersion, index: number) => void;
|
|
30
|
-
/** Callback when rollback is confirmed */
|
|
31
|
-
onRollbackConfirm?: (version: DeploymentVersion) => void;
|
|
32
|
-
/** Callback when rollback is cancelled */
|
|
33
|
-
onRollbackCancel?: () => void;
|
|
34
|
-
/** Enable drag interaction */
|
|
35
|
-
draggable?: boolean;
|
|
36
|
-
/** Show version details panel */
|
|
37
|
-
showDetails?: boolean;
|
|
38
|
-
/** Additional CSS classes */
|
|
39
|
-
className?: string;
|
|
40
|
-
}
|
|
41
|
-
export interface UseRollbackSliderOptions {
|
|
42
|
-
/** Initial versions */
|
|
43
|
-
initialVersions?: DeploymentVersion[];
|
|
44
|
-
/** Initial selected index */
|
|
45
|
-
initialSelectedIndex?: number;
|
|
46
|
-
/** Callback when selection changes */
|
|
47
|
-
onSelectionChange?: (version: DeploymentVersion, index: number) => void;
|
|
48
|
-
}
|
|
49
|
-
export interface UseRollbackSliderReturn {
|
|
50
|
-
/** Current versions */
|
|
51
|
-
versions: DeploymentVersion[];
|
|
52
|
-
/** Set versions */
|
|
53
|
-
setVersions: React.Dispatch<React.SetStateAction<DeploymentVersion[]>>;
|
|
54
|
-
/** Currently selected index */
|
|
55
|
-
selectedIndex: number;
|
|
56
|
-
/** Selected version */
|
|
57
|
-
selectedVersion: DeploymentVersion | null;
|
|
58
|
-
/** Select a version by index */
|
|
59
|
-
selectVersion: (index: number) => void;
|
|
60
|
-
/** Select next version */
|
|
61
|
-
selectNext: () => void;
|
|
62
|
-
/** Select previous version */
|
|
63
|
-
selectPrevious: () => void;
|
|
64
|
-
/** Get the active version */
|
|
65
|
-
activeVersion: DeploymentVersion | null;
|
|
66
|
-
/** Check if selected version differs from active */
|
|
67
|
-
hasChanges: boolean;
|
|
68
|
-
/** Confirmation dialog state */
|
|
69
|
-
isConfirming: boolean;
|
|
70
|
-
/** Open confirmation dialog */
|
|
71
|
-
openConfirmation: () => void;
|
|
72
|
-
/** Close confirmation dialog */
|
|
73
|
-
closeConfirmation: () => void;
|
|
74
|
-
/** Reset selection to active version */
|
|
75
|
-
resetSelection: () => void;
|
|
76
|
-
}
|
|
77
|
-
export declare function useRollbackSlider(options?: UseRollbackSliderOptions): UseRollbackSliderReturn;
|
|
78
|
-
export declare function WakaRollbackSlider({ versions, selectedIndex: controlledSelectedIndex, onVersionSelect, onRollbackConfirm, onRollbackCancel, draggable, showDetails, className, }: WakaRollbackSliderProps): import("react/jsx-runtime").JSX.Element;
|
|
79
|
-
export default WakaRollbackSlider;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
export interface SankeyNode {
|
|
2
|
-
/** Unique identifier for the node */
|
|
3
|
-
id: string;
|
|
4
|
-
/** Display label for the node */
|
|
5
|
-
label: string;
|
|
6
|
-
/** Optional value (if not calculated from links) */
|
|
7
|
-
value?: number;
|
|
8
|
-
/** Category for color coding */
|
|
9
|
-
category?: string;
|
|
10
|
-
/** Custom color override */
|
|
11
|
-
color?: string;
|
|
12
|
-
/** Additional data for tooltips */
|
|
13
|
-
data?: Record<string, unknown>;
|
|
14
|
-
}
|
|
15
|
-
export interface SankeyLink {
|
|
16
|
-
/** Source node ID */
|
|
17
|
-
source: string;
|
|
18
|
-
/** Target node ID */
|
|
19
|
-
target: string;
|
|
20
|
-
/** Flow value (determines link width) */
|
|
21
|
-
value: number;
|
|
22
|
-
/** Optional custom color */
|
|
23
|
-
color?: string;
|
|
24
|
-
/** Additional data for tooltips */
|
|
25
|
-
data?: Record<string, unknown>;
|
|
26
|
-
}
|
|
27
|
-
export interface SankeyLayoutNode extends SankeyNode {
|
|
28
|
-
/** Calculated x position */
|
|
29
|
-
x: number;
|
|
30
|
-
/** Calculated y position */
|
|
31
|
-
y: number;
|
|
32
|
-
/** Calculated width */
|
|
33
|
-
width: number;
|
|
34
|
-
/** Calculated height */
|
|
35
|
-
height: number;
|
|
36
|
-
/** Total incoming value */
|
|
37
|
-
inValue: number;
|
|
38
|
-
/** Total outgoing value */
|
|
39
|
-
outValue: number;
|
|
40
|
-
/** Column index (layer) */
|
|
41
|
-
column: number;
|
|
42
|
-
/** Row index within column */
|
|
43
|
-
row: number;
|
|
44
|
-
}
|
|
45
|
-
export interface SankeyLayoutLink extends SankeyLink {
|
|
46
|
-
/** Source node reference */
|
|
47
|
-
sourceNode: SankeyLayoutNode;
|
|
48
|
-
/** Target node reference */
|
|
49
|
-
targetNode: SankeyLayoutNode;
|
|
50
|
-
/** SVG path data */
|
|
51
|
-
path: string;
|
|
52
|
-
/** Link width in pixels */
|
|
53
|
-
width: number;
|
|
54
|
-
/** Y offset at source */
|
|
55
|
-
sourceY: number;
|
|
56
|
-
/** Y offset at target */
|
|
57
|
-
targetY: number;
|
|
58
|
-
}
|
|
59
|
-
export interface SankeyLayout {
|
|
60
|
-
nodes: SankeyLayoutNode[];
|
|
61
|
-
links: SankeyLayoutLink[];
|
|
62
|
-
width: number;
|
|
63
|
-
height: number;
|
|
64
|
-
}
|
|
65
|
-
export interface WakaSankeyDiagramProps {
|
|
66
|
-
/** Array of nodes */
|
|
67
|
-
nodes: SankeyNode[];
|
|
68
|
-
/** Array of links between nodes */
|
|
69
|
-
links: SankeyLink[];
|
|
70
|
-
/** Orientation of the diagram */
|
|
71
|
-
orientation?: "horizontal" | "vertical";
|
|
72
|
-
/** Width of the diagram */
|
|
73
|
-
width?: number;
|
|
74
|
-
/** Height of the diagram */
|
|
75
|
-
height?: number;
|
|
76
|
-
/** Width of node rectangles */
|
|
77
|
-
nodeWidth?: number;
|
|
78
|
-
/** Padding between nodes in the same column */
|
|
79
|
-
nodePadding?: number;
|
|
80
|
-
/** Padding around the diagram */
|
|
81
|
-
padding?: number;
|
|
82
|
-
/** Enable node dragging to reorder */
|
|
83
|
-
draggable?: boolean;
|
|
84
|
-
/** Enable mount animation */
|
|
85
|
-
animated?: boolean;
|
|
86
|
-
/** Show value labels on nodes */
|
|
87
|
-
showValues?: boolean;
|
|
88
|
-
/** Show link tooltips on hover */
|
|
89
|
-
showTooltips?: boolean;
|
|
90
|
-
/** Category colors mapping */
|
|
91
|
-
categoryColors?: Record<string, string>;
|
|
92
|
-
/** Default link color */
|
|
93
|
-
linkColor?: string;
|
|
94
|
-
/** Link opacity */
|
|
95
|
-
linkOpacity?: number;
|
|
96
|
-
/** Highlighted link opacity */
|
|
97
|
-
highlightedLinkOpacity?: number;
|
|
98
|
-
/** Callback when a node is clicked */
|
|
99
|
-
onNodeClick?: (node: SankeyLayoutNode) => void;
|
|
100
|
-
/** Callback when a link is clicked */
|
|
101
|
-
onLinkClick?: (link: SankeyLayoutLink) => void;
|
|
102
|
-
/** Callback when node order changes (after drag) */
|
|
103
|
-
onNodeReorder?: (nodes: SankeyLayoutNode[]) => void;
|
|
104
|
-
/** Custom className */
|
|
105
|
-
className?: string;
|
|
106
|
-
}
|
|
107
|
-
export interface UseSankeyDiagramOptions {
|
|
108
|
-
nodes: SankeyNode[];
|
|
109
|
-
links: SankeyLink[];
|
|
110
|
-
width: number;
|
|
111
|
-
height: number;
|
|
112
|
-
nodeWidth: number;
|
|
113
|
-
nodePadding: number;
|
|
114
|
-
padding: number;
|
|
115
|
-
orientation: "horizontal" | "vertical";
|
|
116
|
-
categoryColors: Record<string, string>;
|
|
117
|
-
}
|
|
118
|
-
export declare function useSankeyDiagram({ nodes, links, width, height, nodeWidth, nodePadding, padding, orientation, categoryColors, }: UseSankeyDiagramOptions): SankeyLayout;
|
|
119
|
-
export declare function WakaSankeyDiagram({ nodes, links, orientation, width, height, nodeWidth, nodePadding, padding, draggable, animated, showValues, showTooltips, categoryColors, linkColor, linkOpacity, highlightedLinkOpacity, onNodeClick, onLinkClick, onNodeReorder, className, }: WakaSankeyDiagramProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
-
export default WakaSankeyDiagram;
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type SlotStatus = "available" | "selected" | "booked" | "unavailable";
|
|
3
|
-
export interface TimeSlot {
|
|
4
|
-
id: string;
|
|
5
|
-
date: Date;
|
|
6
|
-
startTime: string;
|
|
7
|
-
endTime: string;
|
|
8
|
-
status: SlotStatus;
|
|
9
|
-
metadata?: Record<string, unknown>;
|
|
10
|
-
}
|
|
11
|
-
export interface RecurrenceConfig {
|
|
12
|
-
enabled: boolean;
|
|
13
|
-
pattern: "daily" | "weekly" | "biweekly" | "monthly";
|
|
14
|
-
endDate?: Date;
|
|
15
|
-
daysOfWeek?: number[];
|
|
16
|
-
}
|
|
17
|
-
export interface BusinessHours {
|
|
18
|
-
start: string;
|
|
19
|
-
end: string;
|
|
20
|
-
daysOfWeek: number[];
|
|
21
|
-
}
|
|
22
|
-
export interface WakaSchedulePickerProps {
|
|
23
|
-
/** Available time slots */
|
|
24
|
-
slots?: TimeSlot[];
|
|
25
|
-
/** Selected slot IDs */
|
|
26
|
-
selectedSlots?: string[];
|
|
27
|
-
/** Callback when slots change */
|
|
28
|
-
onSlotsChange?: (slotIds: string[]) => void;
|
|
29
|
-
/** Enable multiple slot selection */
|
|
30
|
-
multiSelect?: boolean;
|
|
31
|
-
/** Available durations in minutes */
|
|
32
|
-
durations?: number[];
|
|
33
|
-
/** Selected duration */
|
|
34
|
-
selectedDuration?: number;
|
|
35
|
-
/** Callback when duration changes */
|
|
36
|
-
onDurationChange?: (duration: number) => void;
|
|
37
|
-
/** Available time zones */
|
|
38
|
-
timeZones?: string[];
|
|
39
|
-
/** Selected time zone */
|
|
40
|
-
selectedTimeZone?: string;
|
|
41
|
-
/** Callback when timezone changes */
|
|
42
|
-
onTimeZoneChange?: (timeZone: string) => void;
|
|
43
|
-
/** Business hours configuration */
|
|
44
|
-
businessHours?: BusinessHours;
|
|
45
|
-
/** Enable recurrence options */
|
|
46
|
-
showRecurrence?: boolean;
|
|
47
|
-
/** Recurrence configuration */
|
|
48
|
-
recurrence?: RecurrenceConfig;
|
|
49
|
-
/** Callback when recurrence changes */
|
|
50
|
-
onRecurrenceChange?: (recurrence: RecurrenceConfig) => void;
|
|
51
|
-
/** Start of week (0 = Sunday, 1 = Monday) */
|
|
52
|
-
weekStartsOn?: 0 | 1;
|
|
53
|
-
/** Min selectable date */
|
|
54
|
-
minDate?: Date;
|
|
55
|
-
/** Max selectable date */
|
|
56
|
-
maxDate?: Date;
|
|
57
|
-
/** Hour format */
|
|
58
|
-
hourFormat?: "12h" | "24h";
|
|
59
|
-
/** Locale for date formatting */
|
|
60
|
-
locale?: string;
|
|
61
|
-
/** Disabled state */
|
|
62
|
-
disabled?: boolean;
|
|
63
|
-
/** CSS class name */
|
|
64
|
-
className?: string;
|
|
65
|
-
/** Slot interval in minutes */
|
|
66
|
-
slotInterval?: number;
|
|
67
|
-
/** Show selected slots summary */
|
|
68
|
-
showSummary?: boolean;
|
|
69
|
-
/** Custom slot render */
|
|
70
|
-
renderSlot?: (slot: TimeSlot, isSelected: boolean) => React.ReactNode;
|
|
71
|
-
}
|
|
72
|
-
export interface UseSchedulePickerOptions {
|
|
73
|
-
initialSlots?: TimeSlot[];
|
|
74
|
-
initialSelectedSlots?: string[];
|
|
75
|
-
initialDuration?: number;
|
|
76
|
-
initialTimeZone?: string;
|
|
77
|
-
multiSelect?: boolean;
|
|
78
|
-
}
|
|
79
|
-
export interface UseSchedulePickerReturn {
|
|
80
|
-
slots: TimeSlot[];
|
|
81
|
-
setSlots: React.Dispatch<React.SetStateAction<TimeSlot[]>>;
|
|
82
|
-
selectedSlots: string[];
|
|
83
|
-
setSelectedSlots: React.Dispatch<React.SetStateAction<string[]>>;
|
|
84
|
-
duration: number;
|
|
85
|
-
setDuration: React.Dispatch<React.SetStateAction<number>>;
|
|
86
|
-
timeZone: string;
|
|
87
|
-
setTimeZone: React.Dispatch<React.SetStateAction<string>>;
|
|
88
|
-
recurrence: RecurrenceConfig;
|
|
89
|
-
setRecurrence: React.Dispatch<React.SetStateAction<RecurrenceConfig>>;
|
|
90
|
-
toggleSlot: (slotId: string) => void;
|
|
91
|
-
clearSelection: () => void;
|
|
92
|
-
getSelectedSlotDetails: () => TimeSlot[];
|
|
93
|
-
isSlotSelected: (slotId: string) => boolean;
|
|
94
|
-
}
|
|
95
|
-
export declare function useSchedulePicker(options?: UseSchedulePickerOptions): UseSchedulePickerReturn;
|
|
96
|
-
export declare function WakaSchedulePicker({ slots: propSlots, selectedSlots: propSelectedSlots, onSlotsChange, multiSelect, durations, selectedDuration: propSelectedDuration, onDurationChange, timeZones, selectedTimeZone: propSelectedTimeZone, onTimeZoneChange, businessHours, showRecurrence, recurrence: propRecurrence, onRecurrenceChange, weekStartsOn, minDate, maxDate, hourFormat, locale, disabled, className, slotInterval, showSummary, renderSlot, }: WakaSchedulePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
97
|
-
export declare namespace WakaSchedulePicker {
|
|
98
|
-
var displayName: string;
|
|
99
|
-
}
|
|
100
|
-
export default WakaSchedulePicker;
|
|
@@ -1,87 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type PrizeRarity = "common" | "rare" | "epic" | "legendary";
|
|
3
|
-
export interface Prize {
|
|
4
|
-
/** Unique identifier */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Prize name */
|
|
7
|
-
name: string;
|
|
8
|
-
/** Prize description */
|
|
9
|
-
description?: string;
|
|
10
|
-
/** Prize rarity */
|
|
11
|
-
rarity: PrizeRarity;
|
|
12
|
-
/** Custom icon */
|
|
13
|
-
icon?: React.ReactNode;
|
|
14
|
-
/** Image URL for the prize */
|
|
15
|
-
imageUrl?: string;
|
|
16
|
-
/** Prize value (points, currency, etc.) */
|
|
17
|
-
value?: string | number;
|
|
18
|
-
/** Any additional metadata */
|
|
19
|
-
metadata?: Record<string, unknown>;
|
|
20
|
-
}
|
|
21
|
-
export interface WakaScratchCardProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
22
|
-
/** The prize to reveal */
|
|
23
|
-
prize: Prize;
|
|
24
|
-
/** Width of the card */
|
|
25
|
-
width?: number;
|
|
26
|
-
/** Height of the card */
|
|
27
|
-
height?: number;
|
|
28
|
-
/** Scratch reveal threshold (0-1) */
|
|
29
|
-
revealThreshold?: number;
|
|
30
|
-
/** Brush size for scratching */
|
|
31
|
-
brushSize?: number;
|
|
32
|
-
/** Overlay image URL */
|
|
33
|
-
overlayImage?: string;
|
|
34
|
-
/** Overlay pattern type */
|
|
35
|
-
overlayPattern?: "solid" | "stripes" | "dots" | "gradient";
|
|
36
|
-
/** Overlay color */
|
|
37
|
-
overlayColor?: string;
|
|
38
|
-
/** Enable scratch sound */
|
|
39
|
-
enableSound?: boolean;
|
|
40
|
-
/** Scratch sound source URL */
|
|
41
|
-
scratchSoundSrc?: string;
|
|
42
|
-
/** Reveal sound source URL */
|
|
43
|
-
revealSoundSrc?: string;
|
|
44
|
-
/** Callback when scratching starts */
|
|
45
|
-
onScratchStart?: () => void;
|
|
46
|
-
/** Callback while scratching with percentage */
|
|
47
|
-
onScratch?: (percentage: number) => void;
|
|
48
|
-
/** Callback when fully revealed */
|
|
49
|
-
onReveal?: (prize: Prize) => void;
|
|
50
|
-
/** Callback on card reset */
|
|
51
|
-
onReset?: () => void;
|
|
52
|
-
/** Disabled state */
|
|
53
|
-
disabled?: boolean;
|
|
54
|
-
/** Show scratch progress indicator */
|
|
55
|
-
showProgress?: boolean;
|
|
56
|
-
/** Custom render for prize content */
|
|
57
|
-
renderPrize?: (prize: Prize, revealed: boolean) => React.ReactNode;
|
|
58
|
-
}
|
|
59
|
-
export interface UseScratchCardOptions {
|
|
60
|
-
/** Initial scratch percentage (0-100) */
|
|
61
|
-
initialPercentage?: number;
|
|
62
|
-
/** Reveal threshold (0-100) */
|
|
63
|
-
threshold?: number;
|
|
64
|
-
/** Callback when revealed */
|
|
65
|
-
onReveal?: () => void;
|
|
66
|
-
}
|
|
67
|
-
export interface UseScratchCardReturn {
|
|
68
|
-
/** Current scratch percentage (0-100) */
|
|
69
|
-
percentage: number;
|
|
70
|
-
/** Whether the prize is revealed */
|
|
71
|
-
isRevealed: boolean;
|
|
72
|
-
/** Whether currently scratching */
|
|
73
|
-
isScratching: boolean;
|
|
74
|
-
/** Set the percentage */
|
|
75
|
-
setPercentage: (value: number) => void;
|
|
76
|
-
/** Force reveal */
|
|
77
|
-
reveal: () => void;
|
|
78
|
-
/** Reset the card */
|
|
79
|
-
reset: () => void;
|
|
80
|
-
/** Start scratching */
|
|
81
|
-
startScratching: () => void;
|
|
82
|
-
/** Stop scratching */
|
|
83
|
-
stopScratching: () => void;
|
|
84
|
-
}
|
|
85
|
-
export declare function useScratchCard({ initialPercentage, threshold, onReveal, }?: UseScratchCardOptions): UseScratchCardReturn;
|
|
86
|
-
export declare const WakaScratchCard: React.ForwardRefExoticComponent<WakaScratchCardProps & React.RefAttributes<HTMLDivElement>>;
|
|
87
|
-
export default WakaScratchCard;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface SeasonPassReward {
|
|
3
|
-
/** Reward type identifier */
|
|
4
|
-
type: string;
|
|
5
|
-
/** Reward value (e.g., amount, item name, etc.) */
|
|
6
|
-
value: any;
|
|
7
|
-
/** Custom icon for the reward */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
/** Whether the reward has been claimed */
|
|
10
|
-
claimed?: boolean;
|
|
11
|
-
}
|
|
12
|
-
export interface SeasonPassLevel {
|
|
13
|
-
/** Level number */
|
|
14
|
-
level: number;
|
|
15
|
-
/** Free tier reward (available to all players) */
|
|
16
|
-
freeReward?: SeasonPassReward;
|
|
17
|
-
/** Premium tier reward (requires premium pass) */
|
|
18
|
-
premiumReward?: SeasonPassReward;
|
|
19
|
-
/** XP required to reach this level */
|
|
20
|
-
xpRequired: number;
|
|
21
|
-
}
|
|
22
|
-
export interface WakaSeasonPassProps {
|
|
23
|
-
/** Array of season pass levels with rewards */
|
|
24
|
-
levels: SeasonPassLevel[];
|
|
25
|
-
/** Current player level */
|
|
26
|
-
currentLevel: number;
|
|
27
|
-
/** Current XP amount */
|
|
28
|
-
currentXP: number;
|
|
29
|
-
/** Whether the player has the premium pass */
|
|
30
|
-
isPremium: boolean;
|
|
31
|
-
/** Date when the season ends */
|
|
32
|
-
seasonEndsAt?: Date;
|
|
33
|
-
/** Callback when a reward is claimed */
|
|
34
|
-
onClaimReward?: (level: number, tier: "free" | "premium") => void;
|
|
35
|
-
/** Callback when upgrade button is clicked */
|
|
36
|
-
onUpgrade?: () => void;
|
|
37
|
-
/** Additional CSS classes */
|
|
38
|
-
className?: string;
|
|
39
|
-
}
|
|
40
|
-
export declare function WakaSeasonPass({ levels, currentLevel, currentXP, isPremium, seasonEndsAt, onClaimReward, onUpgrade, className, }: WakaSeasonPassProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export interface UseSeasonPassOptions {
|
|
42
|
-
/** Initial levels configuration */
|
|
43
|
-
levels: SeasonPassLevel[];
|
|
44
|
-
/** Initial player level */
|
|
45
|
-
initialLevel?: number;
|
|
46
|
-
/** Initial XP */
|
|
47
|
-
initialXP?: number;
|
|
48
|
-
/** Initial premium status */
|
|
49
|
-
initialIsPremium?: boolean;
|
|
50
|
-
/** Callback when level up occurs */
|
|
51
|
-
onLevelUp?: (newLevel: number) => void;
|
|
52
|
-
/** Callback when reward is claimed */
|
|
53
|
-
onClaimReward?: (level: number, tier: "free" | "premium") => void;
|
|
54
|
-
}
|
|
55
|
-
export declare function useSeasonPass({ levels: initialLevels, initialLevel, initialXP, initialIsPremium, onLevelUp, onClaimReward, }: UseSeasonPassOptions): {
|
|
56
|
-
levels: SeasonPassLevel[];
|
|
57
|
-
currentLevel: number;
|
|
58
|
-
currentXP: number;
|
|
59
|
-
isPremium: boolean;
|
|
60
|
-
addXP: (amount: number) => void;
|
|
61
|
-
claimReward: (level: number, tier: "free" | "premium") => void;
|
|
62
|
-
upgradeToPremium: () => void;
|
|
63
|
-
claimableRewardsCount: number;
|
|
64
|
-
progressPercent: number;
|
|
65
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export interface SecretAccess {
|
|
2
|
-
user: string;
|
|
3
|
-
action: "read" | "write" | "rotate";
|
|
4
|
-
timestamp: Date;
|
|
5
|
-
}
|
|
6
|
-
export interface Secret {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
description?: string;
|
|
10
|
-
type: "api-key" | "password" | "certificate" | "token" | "other";
|
|
11
|
-
value?: string;
|
|
12
|
-
createdAt: Date;
|
|
13
|
-
updatedAt: Date;
|
|
14
|
-
expiresAt?: Date;
|
|
15
|
-
rotatedAt?: Date;
|
|
16
|
-
rotationPeriod?: number;
|
|
17
|
-
lastAccessedAt?: Date;
|
|
18
|
-
lastAccessedBy?: string;
|
|
19
|
-
accessHistory?: SecretAccess[];
|
|
20
|
-
tags?: string[];
|
|
21
|
-
}
|
|
22
|
-
export interface WakaSecretCardProps {
|
|
23
|
-
/** Secret data */
|
|
24
|
-
secret: Secret;
|
|
25
|
-
/** Callback when rotating secret */
|
|
26
|
-
onRotate?: () => void;
|
|
27
|
-
/** Callback when deleting secret */
|
|
28
|
-
onDelete?: () => void;
|
|
29
|
-
/** Callback when copying secret */
|
|
30
|
-
onCopy?: () => void;
|
|
31
|
-
/** Callback when viewing secret value */
|
|
32
|
-
onView?: () => void;
|
|
33
|
-
/** Whether the secret value is visible */
|
|
34
|
-
isValueVisible?: boolean;
|
|
35
|
-
/** Show access history */
|
|
36
|
-
showHistory?: boolean;
|
|
37
|
-
/** Compact mode */
|
|
38
|
-
compact?: boolean;
|
|
39
|
-
/** Custom class name */
|
|
40
|
-
className?: string;
|
|
41
|
-
}
|
|
42
|
-
export declare function WakaSecretCard({ secret, onRotate, onDelete, onCopy, onView, isValueVisible, showHistory, compact, className, }: WakaSecretCardProps): import("react/jsx-runtime").JSX.Element;
|
|
43
|
-
export declare const defaultSecret: Secret;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
export type VulnerabilitySeverity = "critical" | "high" | "medium" | "low" | "info";
|
|
2
|
-
export type ScanType = "sast" | "dast" | "sca" | "secret" | "container";
|
|
3
|
-
export interface Vulnerability {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description: string;
|
|
7
|
-
severity: VulnerabilitySeverity;
|
|
8
|
-
type: ScanType;
|
|
9
|
-
cveId?: string;
|
|
10
|
-
cweId?: string;
|
|
11
|
-
cvssScore?: number;
|
|
12
|
-
package?: string;
|
|
13
|
-
version?: string;
|
|
14
|
-
fixedVersion?: string;
|
|
15
|
-
file?: string;
|
|
16
|
-
line?: number;
|
|
17
|
-
url?: string;
|
|
18
|
-
remediation?: string;
|
|
19
|
-
}
|
|
20
|
-
export interface ScanSummary {
|
|
21
|
-
critical: number;
|
|
22
|
-
high: number;
|
|
23
|
-
medium: number;
|
|
24
|
-
low: number;
|
|
25
|
-
info: number;
|
|
26
|
-
total: number;
|
|
27
|
-
}
|
|
28
|
-
export interface WakaSecurityScanResultProps {
|
|
29
|
-
/** List of vulnerabilities */
|
|
30
|
-
vulnerabilities: Vulnerability[];
|
|
31
|
-
/** Scan type */
|
|
32
|
-
scanType?: ScanType | "all";
|
|
33
|
-
/** Scan timestamp */
|
|
34
|
-
scannedAt?: Date;
|
|
35
|
-
/** Callback when clicking on a vulnerability */
|
|
36
|
-
onVulnerabilityClick?: (vuln: Vulnerability) => void;
|
|
37
|
-
/** Callback when viewing CVE details */
|
|
38
|
-
onViewCVE?: (cveId: string) => void;
|
|
39
|
-
/** Title */
|
|
40
|
-
title?: string;
|
|
41
|
-
/** Custom class name */
|
|
42
|
-
className?: string;
|
|
43
|
-
}
|
|
44
|
-
export declare function WakaSecurityScanResult({ vulnerabilities, scanType, scannedAt, onVulnerabilityClick, onViewCVE, title, className, }: WakaSecurityScanResultProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare const defaultVulnerabilities: Vulnerability[];
|
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type SecurityLevel = "critical" | "low" | "medium" | "high" | "excellent";
|
|
3
|
-
export type RecommendationPriority = "critical" | "high" | "medium" | "low";
|
|
4
|
-
export type RecommendationStatus = "pending" | "in_progress" | "completed" | "dismissed";
|
|
5
|
-
export interface SecurityCategory {
|
|
6
|
-
/** Unique identifier for the category */
|
|
7
|
-
id: string;
|
|
8
|
-
/** Display name */
|
|
9
|
-
name: string;
|
|
10
|
-
/** Score for this category (0-100) */
|
|
11
|
-
score: number;
|
|
12
|
-
/** Weight for overall score calculation (default: 1) */
|
|
13
|
-
weight?: number;
|
|
14
|
-
/** Icon for the category */
|
|
15
|
-
icon?: React.ReactNode;
|
|
16
|
-
/** Description of what this category measures */
|
|
17
|
-
description?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface SecurityRecommendation {
|
|
20
|
-
/** Unique identifier */
|
|
21
|
-
id: string;
|
|
22
|
-
/** Title of the recommendation */
|
|
23
|
-
title: string;
|
|
24
|
-
/** Detailed description */
|
|
25
|
-
description: string;
|
|
26
|
-
/** Priority level */
|
|
27
|
-
priority: RecommendationPriority;
|
|
28
|
-
/** Current status */
|
|
29
|
-
status: RecommendationStatus;
|
|
30
|
-
/** Category this belongs to */
|
|
31
|
-
categoryId?: string;
|
|
32
|
-
/** Impact on score if fixed (points) */
|
|
33
|
-
impact?: number;
|
|
34
|
-
/** Estimated time to fix */
|
|
35
|
-
estimatedTime?: string;
|
|
36
|
-
/** Action button label */
|
|
37
|
-
actionLabel?: string;
|
|
38
|
-
/** Action callback */
|
|
39
|
-
onAction?: () => void;
|
|
40
|
-
}
|
|
41
|
-
export interface ScoreHistoryPoint {
|
|
42
|
-
/** Timestamp */
|
|
43
|
-
timestamp: Date | string;
|
|
44
|
-
/** Score at this point */
|
|
45
|
-
score: number;
|
|
46
|
-
/** Optional label */
|
|
47
|
-
label?: string;
|
|
48
|
-
}
|
|
49
|
-
export interface WakaSecurityScoreProps {
|
|
50
|
-
/** Overall security score (0-100) */
|
|
51
|
-
score: number;
|
|
52
|
-
/** Score breakdown by category */
|
|
53
|
-
categories?: SecurityCategory[];
|
|
54
|
-
/** Security recommendations */
|
|
55
|
-
recommendations?: SecurityRecommendation[];
|
|
56
|
-
/** Score history for graph */
|
|
57
|
-
history?: ScoreHistoryPoint[];
|
|
58
|
-
/** Size variant */
|
|
59
|
-
size?: "sm" | "md" | "lg";
|
|
60
|
-
/** Show category breakdown */
|
|
61
|
-
showCategories?: boolean;
|
|
62
|
-
/** Show recommendations list */
|
|
63
|
-
showRecommendations?: boolean;
|
|
64
|
-
/** Show score history graph */
|
|
65
|
-
showHistory?: boolean;
|
|
66
|
-
/** Animate score on mount */
|
|
67
|
-
animated?: boolean;
|
|
68
|
-
/** Animation duration in ms */
|
|
69
|
-
animationDuration?: number;
|
|
70
|
-
/** Maximum recommendations to show (default: 5) */
|
|
71
|
-
maxRecommendations?: number;
|
|
72
|
-
/** Custom className */
|
|
73
|
-
className?: string;
|
|
74
|
-
/** Callback when recommendation action is triggered */
|
|
75
|
-
onRecommendationAction?: (recommendation: SecurityRecommendation) => void;
|
|
76
|
-
/** Callback when score changes */
|
|
77
|
-
onScoreChange?: (score: number) => void;
|
|
78
|
-
}
|
|
79
|
-
export interface UseSecurityScoreOptions {
|
|
80
|
-
/** Initial score */
|
|
81
|
-
initialScore?: number;
|
|
82
|
-
/** Initial categories */
|
|
83
|
-
initialCategories?: SecurityCategory[];
|
|
84
|
-
/** Initial recommendations */
|
|
85
|
-
initialRecommendations?: SecurityRecommendation[];
|
|
86
|
-
/** Callback when score updates */
|
|
87
|
-
onScoreUpdate?: (score: number, previousScore: number) => void;
|
|
88
|
-
}
|
|
89
|
-
export declare function useSecurityScore({ initialScore, initialCategories, initialRecommendations, onScoreUpdate, }?: UseSecurityScoreOptions): {
|
|
90
|
-
score: number;
|
|
91
|
-
setScore: (newScore: number) => void;
|
|
92
|
-
categories: SecurityCategory[];
|
|
93
|
-
setCategories: React.Dispatch<React.SetStateAction<SecurityCategory[]>>;
|
|
94
|
-
recommendations: SecurityRecommendation[];
|
|
95
|
-
setRecommendations: React.Dispatch<React.SetStateAction<SecurityRecommendation[]>>;
|
|
96
|
-
history: ScoreHistoryPoint[];
|
|
97
|
-
setHistory: React.Dispatch<React.SetStateAction<ScoreHistoryPoint[]>>;
|
|
98
|
-
updateCategory: (categoryId: string, updates: Partial<SecurityCategory>) => void;
|
|
99
|
-
updateRecommendation: (recommendationId: string, updates: Partial<SecurityRecommendation>) => void;
|
|
100
|
-
completeRecommendation: (recommendationId: string) => void;
|
|
101
|
-
calculateScore: (cats: SecurityCategory[]) => number;
|
|
102
|
-
completedCount: number;
|
|
103
|
-
pendingCount: number;
|
|
104
|
-
level: SecurityLevel;
|
|
105
|
-
};
|
|
106
|
-
export declare function WakaSecurityScore({ score, categories, recommendations, history, size, showCategories, showRecommendations, showHistory, animated, animationDuration, maxRecommendations, className, onRecommendationAction, onScoreChange, }: WakaSecurityScoreProps): import("react/jsx-runtime").JSX.Element;
|
|
107
|
-
export declare namespace WakaSecurityScore {
|
|
108
|
-
var displayName: string;
|
|
109
|
-
}
|
|
110
|
-
export interface WakaSecurityScoreCompactProps {
|
|
111
|
-
/** Security score (0-100) */
|
|
112
|
-
score: number;
|
|
113
|
-
/** Show trend indicator */
|
|
114
|
-
showTrend?: boolean;
|
|
115
|
-
/** Previous score for trend calculation */
|
|
116
|
-
previousScore?: number;
|
|
117
|
-
/** Custom className */
|
|
118
|
-
className?: string;
|
|
119
|
-
}
|
|
120
|
-
export declare function WakaSecurityScoreCompact({ score, showTrend, previousScore, className, }: WakaSecurityScoreCompactProps): import("react/jsx-runtime").JSX.Element;
|
|
121
|
-
export declare namespace WakaSecurityScoreCompact {
|
|
122
|
-
var displayName: string;
|
|
123
|
-
}
|
|
124
|
-
export default WakaSecurityScore;
|