@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,170 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type ConnectionQuality = "excellent" | "good" | "fair" | "poor" | "disconnected";
|
|
3
|
-
export type VideoCallLayout = "grid" | "speaker" | "sidebar";
|
|
4
|
-
export interface Participant {
|
|
5
|
-
/** Unique identifier */
|
|
6
|
-
id: string;
|
|
7
|
-
/** Display name */
|
|
8
|
-
name: string;
|
|
9
|
-
/** Avatar URL */
|
|
10
|
-
avatar?: string;
|
|
11
|
-
/** Video stream (optional for demo purposes) */
|
|
12
|
-
videoStream?: MediaStream;
|
|
13
|
-
/** Audio stream (optional for demo purposes) */
|
|
14
|
-
audioStream?: MediaStream;
|
|
15
|
-
/** Is audio muted */
|
|
16
|
-
isMuted: boolean;
|
|
17
|
-
/** Is video off */
|
|
18
|
-
isVideoOff: boolean;
|
|
19
|
-
/** Is screen sharing */
|
|
20
|
-
isScreenSharing: boolean;
|
|
21
|
-
/** Has raised hand */
|
|
22
|
-
hasRaisedHand: boolean;
|
|
23
|
-
/** Is speaking */
|
|
24
|
-
isSpeaking: boolean;
|
|
25
|
-
/** Is pinned */
|
|
26
|
-
isPinned: boolean;
|
|
27
|
-
/** Is the local user */
|
|
28
|
-
isLocal?: boolean;
|
|
29
|
-
/** Connection quality */
|
|
30
|
-
connectionQuality?: ConnectionQuality;
|
|
31
|
-
}
|
|
32
|
-
export interface WakaVideoCallProps {
|
|
33
|
-
/** List of participants */
|
|
34
|
-
participants: Participant[];
|
|
35
|
-
/** Current user's participant ID */
|
|
36
|
-
localParticipantId: string;
|
|
37
|
-
/** Is currently recording */
|
|
38
|
-
isRecording?: boolean;
|
|
39
|
-
/** Call start time (for timer) */
|
|
40
|
-
callStartTime?: Date;
|
|
41
|
-
/** Layout mode */
|
|
42
|
-
layout?: VideoCallLayout;
|
|
43
|
-
/** Show chat panel */
|
|
44
|
-
showChat?: boolean;
|
|
45
|
-
/** Is full screen */
|
|
46
|
-
isFullscreen?: boolean;
|
|
47
|
-
/** Callbacks */
|
|
48
|
-
onToggleMute?: () => void;
|
|
49
|
-
onToggleVideo?: () => void;
|
|
50
|
-
onToggleScreenShare?: () => void;
|
|
51
|
-
onToggleChat?: () => void;
|
|
52
|
-
onEndCall?: () => void;
|
|
53
|
-
onToggleFullscreen?: () => void;
|
|
54
|
-
onTogglePictureInPicture?: () => void;
|
|
55
|
-
onRaiseHand?: () => void;
|
|
56
|
-
onChangeLayout?: (layout: VideoCallLayout) => void;
|
|
57
|
-
onPinParticipant?: (participantId: string) => void;
|
|
58
|
-
onUnpinParticipant?: (participantId: string) => void;
|
|
59
|
-
onMuteParticipant?: (participantId: string) => void;
|
|
60
|
-
onRemoveParticipant?: (participantId: string) => void;
|
|
61
|
-
/** Custom className */
|
|
62
|
-
className?: string;
|
|
63
|
-
}
|
|
64
|
-
export interface VideoCallState {
|
|
65
|
-
isMuted: boolean;
|
|
66
|
-
isVideoOff: boolean;
|
|
67
|
-
isScreenSharing: boolean;
|
|
68
|
-
hasRaisedHand: boolean;
|
|
69
|
-
layout: VideoCallLayout;
|
|
70
|
-
showChat: boolean;
|
|
71
|
-
isFullscreen: boolean;
|
|
72
|
-
isPictureInPicture: boolean;
|
|
73
|
-
showParticipantList: boolean;
|
|
74
|
-
showSettings: boolean;
|
|
75
|
-
pinnedParticipantId: string | null;
|
|
76
|
-
elapsedTime: number;
|
|
77
|
-
}
|
|
78
|
-
export interface UseVideoCallOptions {
|
|
79
|
-
initialMuted?: boolean;
|
|
80
|
-
initialVideoOff?: boolean;
|
|
81
|
-
onStateChange?: (state: VideoCallState) => void;
|
|
82
|
-
}
|
|
83
|
-
interface ConnectionQualityIndicatorProps {
|
|
84
|
-
quality: ConnectionQuality;
|
|
85
|
-
showLabel?: boolean;
|
|
86
|
-
size?: "sm" | "default";
|
|
87
|
-
className?: string;
|
|
88
|
-
}
|
|
89
|
-
declare function ConnectionQualityIndicator({ quality, showLabel, size, className, }: ConnectionQualityIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
90
|
-
interface RecordingIndicatorProps {
|
|
91
|
-
className?: string;
|
|
92
|
-
}
|
|
93
|
-
declare function RecordingIndicator({ className }: RecordingIndicatorProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
-
interface CallTimerProps {
|
|
95
|
-
startTime?: Date;
|
|
96
|
-
className?: string;
|
|
97
|
-
}
|
|
98
|
-
declare function CallTimer({ startTime, className }: CallTimerProps): import("react/jsx-runtime").JSX.Element;
|
|
99
|
-
interface ParticipantAvatarProps {
|
|
100
|
-
participant: Participant;
|
|
101
|
-
size?: "sm" | "default" | "lg" | "xl";
|
|
102
|
-
showStatus?: boolean;
|
|
103
|
-
className?: string;
|
|
104
|
-
}
|
|
105
|
-
declare function ParticipantAvatar({ participant, size, showStatus, className, }: ParticipantAvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
106
|
-
interface VideoTileProps {
|
|
107
|
-
participant: Participant;
|
|
108
|
-
isMain?: boolean;
|
|
109
|
-
showControls?: boolean;
|
|
110
|
-
onPin?: () => void;
|
|
111
|
-
onUnpin?: () => void;
|
|
112
|
-
onMute?: () => void;
|
|
113
|
-
onRemove?: () => void;
|
|
114
|
-
className?: string;
|
|
115
|
-
}
|
|
116
|
-
declare function VideoTile({ participant, isMain, showControls, onPin, onUnpin, onMute, onRemove, className, }: VideoTileProps): import("react/jsx-runtime").JSX.Element;
|
|
117
|
-
interface ControlButtonProps {
|
|
118
|
-
icon: React.ElementType;
|
|
119
|
-
label: string;
|
|
120
|
-
isActive?: boolean;
|
|
121
|
-
isDestructive?: boolean;
|
|
122
|
-
onClick?: () => void;
|
|
123
|
-
disabled?: boolean;
|
|
124
|
-
className?: string;
|
|
125
|
-
}
|
|
126
|
-
declare function ControlButton({ icon: Icon, label, isActive, isDestructive, onClick, disabled, className, }: ControlButtonProps): import("react/jsx-runtime").JSX.Element;
|
|
127
|
-
interface ParticipantsPanelProps {
|
|
128
|
-
participants: Participant[];
|
|
129
|
-
isOpen: boolean;
|
|
130
|
-
onClose: () => void;
|
|
131
|
-
className?: string;
|
|
132
|
-
}
|
|
133
|
-
declare function ParticipantsPanel({ participants, isOpen, onClose, className, }: ParticipantsPanelProps): import("react/jsx-runtime").JSX.Element | null;
|
|
134
|
-
interface LayoutSelectorProps {
|
|
135
|
-
currentLayout: VideoCallLayout;
|
|
136
|
-
onLayoutChange: (layout: VideoCallLayout) => void;
|
|
137
|
-
className?: string;
|
|
138
|
-
}
|
|
139
|
-
declare function LayoutSelector({ currentLayout, onLayoutChange, className }: LayoutSelectorProps): import("react/jsx-runtime").JSX.Element;
|
|
140
|
-
export declare function WakaVideoCall({ participants, localParticipantId, isRecording, callStartTime, layout, showChat, isFullscreen, onToggleMute, onToggleVideo, onToggleScreenShare, onToggleChat, onEndCall, onToggleFullscreen, onTogglePictureInPicture, onRaiseHand, onChangeLayout, onPinParticipant, onUnpinParticipant, onMuteParticipant, onRemoveParticipant, className, }: WakaVideoCallProps): import("react/jsx-runtime").JSX.Element;
|
|
141
|
-
export declare function useVideoCall(options?: UseVideoCallOptions): {
|
|
142
|
-
callStartTime: Date | null;
|
|
143
|
-
isInCall: boolean;
|
|
144
|
-
startCall: () => void;
|
|
145
|
-
endCall: () => void;
|
|
146
|
-
toggleMute: () => void;
|
|
147
|
-
toggleVideo: () => void;
|
|
148
|
-
toggleScreenShare: () => void;
|
|
149
|
-
toggleRaiseHand: () => void;
|
|
150
|
-
setLayout: (layout: VideoCallLayout) => void;
|
|
151
|
-
toggleChat: () => void;
|
|
152
|
-
toggleFullscreen: () => void;
|
|
153
|
-
togglePictureInPicture: () => void;
|
|
154
|
-
toggleParticipantList: () => void;
|
|
155
|
-
pinParticipant: (participantId: string | null) => void;
|
|
156
|
-
isMuted: boolean;
|
|
157
|
-
isVideoOff: boolean;
|
|
158
|
-
isScreenSharing: boolean;
|
|
159
|
-
hasRaisedHand: boolean;
|
|
160
|
-
layout: VideoCallLayout;
|
|
161
|
-
showChat: boolean;
|
|
162
|
-
isFullscreen: boolean;
|
|
163
|
-
isPictureInPicture: boolean;
|
|
164
|
-
showParticipantList: boolean;
|
|
165
|
-
showSettings: boolean;
|
|
166
|
-
pinnedParticipantId: string | null;
|
|
167
|
-
elapsedTime: number;
|
|
168
|
-
};
|
|
169
|
-
export { ConnectionQualityIndicator, RecordingIndicator, CallTimer, ParticipantAvatar, VideoTile, ControlButton, ParticipantsPanel, LayoutSelector, };
|
|
170
|
-
export default WakaVideoCall;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export type OverlayPosition = "bottom" | "top" | "corner";
|
|
2
|
-
export type OverlayTrigger = "start" | "pause" | "time" | "manual";
|
|
3
|
-
export interface WakaVideoOverlayProps {
|
|
4
|
-
/** Unique slot ID */
|
|
5
|
-
slotId: string;
|
|
6
|
-
/** Whether overlay is visible */
|
|
7
|
-
visible?: boolean;
|
|
8
|
-
/** Trigger for showing overlay */
|
|
9
|
-
trigger?: OverlayTrigger;
|
|
10
|
-
/** Time trigger (seconds from start) */
|
|
11
|
-
triggerTime?: number;
|
|
12
|
-
/** Position of overlay */
|
|
13
|
-
position?: OverlayPosition;
|
|
14
|
-
/** Allow dismissing */
|
|
15
|
-
dismissable?: boolean;
|
|
16
|
-
/** Auto-hide after seconds (0 = manual) */
|
|
17
|
-
hideAfter?: number;
|
|
18
|
-
/** Custom class name */
|
|
19
|
-
className?: string;
|
|
20
|
-
/** Callback when dismissed */
|
|
21
|
-
onDismiss?: () => void;
|
|
22
|
-
/** Callback when clicked */
|
|
23
|
-
onClick?: () => void;
|
|
24
|
-
}
|
|
25
|
-
export declare function WakaVideoOverlay({ slotId, visible, trigger, triggerTime, position, dismissable, hideAfter, className, onDismiss, onClick, }: WakaVideoOverlayProps): import("react/jsx-runtime").JSX.Element | null;
|
|
26
|
-
export default WakaVideoOverlay;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface WakaVirtualListProps<T> {
|
|
3
|
-
/** Données à afficher */
|
|
4
|
-
items: T[];
|
|
5
|
-
/** Hauteur de chaque élément (ou fonction pour hauteur variable) */
|
|
6
|
-
itemHeight: number | ((item: T, index: number) => number);
|
|
7
|
-
/** Hauteur du conteneur */
|
|
8
|
-
height: number;
|
|
9
|
-
/** Largeur du conteneur */
|
|
10
|
-
width?: number | string;
|
|
11
|
-
/** Nombre d'éléments à pré-rendre au-dessus/en-dessous */
|
|
12
|
-
overscan?: number;
|
|
13
|
-
/** Fonction de rendu d'un élément */
|
|
14
|
-
renderItem: (item: T, index: number, style: React.CSSProperties) => React.ReactNode;
|
|
15
|
-
/** Callback lors du scroll */
|
|
16
|
-
onScroll?: (scrollTop: number) => void;
|
|
17
|
-
/** Callback quand on atteint la fin */
|
|
18
|
-
onEndReached?: () => void;
|
|
19
|
-
/** Seuil pour déclencher onEndReached (en pixels) */
|
|
20
|
-
endReachedThreshold?: number;
|
|
21
|
-
/** Afficher un indicateur de chargement à la fin */
|
|
22
|
-
isLoading?: boolean;
|
|
23
|
-
/** Élément à afficher pendant le chargement */
|
|
24
|
-
loadingElement?: React.ReactNode;
|
|
25
|
-
/** Élément à afficher si la liste est vide */
|
|
26
|
-
emptyElement?: React.ReactNode;
|
|
27
|
-
/** Classes CSS additionnelles */
|
|
28
|
-
className?: string;
|
|
29
|
-
/** Classes CSS pour le conteneur interne */
|
|
30
|
-
innerClassName?: string;
|
|
31
|
-
/** Référence au conteneur de scroll */
|
|
32
|
-
scrollRef?: React.RefObject<HTMLDivElement>;
|
|
33
|
-
}
|
|
34
|
-
export declare function WakaVirtualList<T>({ items, itemHeight, height, width, overscan, renderItem, onScroll, onEndReached, endReachedThreshold, isLoading, loadingElement, emptyElement, className, innerClassName, scrollRef: externalScrollRef, }: WakaVirtualListProps<T>): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
export interface UseVirtualListOptions {
|
|
36
|
-
itemCount: number;
|
|
37
|
-
itemHeight: number;
|
|
38
|
-
containerHeight: number;
|
|
39
|
-
overscan?: number;
|
|
40
|
-
}
|
|
41
|
-
export declare function useVirtualList(options: UseVirtualListOptions): {
|
|
42
|
-
totalHeight: number;
|
|
43
|
-
virtualItems: {
|
|
44
|
-
index: number;
|
|
45
|
-
start: number;
|
|
46
|
-
size: number;
|
|
47
|
-
}[];
|
|
48
|
-
startIndex: number;
|
|
49
|
-
endIndex: number;
|
|
50
|
-
handleScroll: (e: React.UIEvent<HTMLElement>) => void;
|
|
51
|
-
scrollToIndex: (index: number) => void;
|
|
52
|
-
scrollTop: number;
|
|
53
|
-
};
|
|
54
|
-
export default WakaVirtualList;
|
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
export type PlaybackSpeed = 0.5 | 1 | 1.5 | 2;
|
|
2
|
-
export interface VoiceMessageData {
|
|
3
|
-
/** Audio blob or URL */
|
|
4
|
-
src: Blob | string;
|
|
5
|
-
/** Duration in seconds */
|
|
6
|
-
duration: number;
|
|
7
|
-
/** Waveform data (normalized values 0-1) */
|
|
8
|
-
waveform?: number[];
|
|
9
|
-
/** Optional metadata */
|
|
10
|
-
metadata?: {
|
|
11
|
-
mimeType?: string;
|
|
12
|
-
sampleRate?: number;
|
|
13
|
-
bitRate?: number;
|
|
14
|
-
};
|
|
15
|
-
}
|
|
16
|
-
export interface WakaVoiceMessageProps {
|
|
17
|
-
/** Voice message mode */
|
|
18
|
-
mode?: "player" | "recorder";
|
|
19
|
-
/** Audio source (URL or Blob) - required for player mode */
|
|
20
|
-
src?: string | Blob;
|
|
21
|
-
/** Pre-computed waveform data (normalized values 0-1) */
|
|
22
|
-
waveform?: number[];
|
|
23
|
-
/** Number of waveform bars */
|
|
24
|
-
waveformBars?: number;
|
|
25
|
-
/** Initial playback speed */
|
|
26
|
-
defaultSpeed?: PlaybackSpeed;
|
|
27
|
-
/** Available playback speeds */
|
|
28
|
-
speeds?: PlaybackSpeed[];
|
|
29
|
-
/** Show download button */
|
|
30
|
-
showDownload?: boolean;
|
|
31
|
-
/** Show delete button */
|
|
32
|
-
showDelete?: boolean;
|
|
33
|
-
/** Show send button (recorder mode) */
|
|
34
|
-
showSend?: boolean;
|
|
35
|
-
/** Show cancel button (recorder mode) */
|
|
36
|
-
showCancel?: boolean;
|
|
37
|
-
/** Show playback speed control */
|
|
38
|
-
showSpeedControl?: boolean;
|
|
39
|
-
/** Maximum recording duration in seconds (0 = unlimited) */
|
|
40
|
-
maxRecordingDuration?: number;
|
|
41
|
-
/** Bubble variant styling */
|
|
42
|
-
variant?: "default" | "bubble" | "bubble-sent" | "bubble-received";
|
|
43
|
-
/** Size variant */
|
|
44
|
-
size?: "sm" | "md" | "lg";
|
|
45
|
-
/** Disabled state */
|
|
46
|
-
disabled?: boolean;
|
|
47
|
-
/** Custom class name */
|
|
48
|
-
className?: string;
|
|
49
|
-
/** Waveform class name */
|
|
50
|
-
waveformClassName?: string;
|
|
51
|
-
/** Controls class name */
|
|
52
|
-
controlsClassName?: string;
|
|
53
|
-
/** Callback when playback starts */
|
|
54
|
-
onPlay?: () => void;
|
|
55
|
-
/** Callback when playback pauses */
|
|
56
|
-
onPause?: () => void;
|
|
57
|
-
/** Callback when playback ends */
|
|
58
|
-
onEnded?: () => void;
|
|
59
|
-
/** Callback when time updates */
|
|
60
|
-
onTimeUpdate?: (currentTime: number) => void;
|
|
61
|
-
/** Callback when seeking */
|
|
62
|
-
onSeek?: (time: number) => void;
|
|
63
|
-
/** Callback when speed changes */
|
|
64
|
-
onSpeedChange?: (speed: PlaybackSpeed) => void;
|
|
65
|
-
/** Callback when download is clicked */
|
|
66
|
-
onDownload?: () => void;
|
|
67
|
-
/** Callback when delete is clicked */
|
|
68
|
-
onDelete?: () => void;
|
|
69
|
-
/** Callback when recording starts */
|
|
70
|
-
onRecordingStart?: () => void;
|
|
71
|
-
/** Callback when recording stops */
|
|
72
|
-
onRecordingStop?: (data: VoiceMessageData) => void;
|
|
73
|
-
/** Callback when recording is cancelled */
|
|
74
|
-
onRecordingCancel?: () => void;
|
|
75
|
-
/** Callback when send is clicked (recorder mode) */
|
|
76
|
-
onSend?: (data: VoiceMessageData) => void;
|
|
77
|
-
/** Callback on recording error */
|
|
78
|
-
onError?: (error: Error) => void;
|
|
79
|
-
}
|
|
80
|
-
export interface UseVoiceMessageOptions {
|
|
81
|
-
/** Audio source */
|
|
82
|
-
src?: string | Blob;
|
|
83
|
-
/** Default playback speed */
|
|
84
|
-
defaultSpeed?: PlaybackSpeed;
|
|
85
|
-
/** Number of waveform bars for recorder */
|
|
86
|
-
waveformBars?: number;
|
|
87
|
-
/** Maximum recording duration */
|
|
88
|
-
maxRecordingDuration?: number;
|
|
89
|
-
/** Callback on error */
|
|
90
|
-
onError?: (error: Error) => void;
|
|
91
|
-
}
|
|
92
|
-
export interface UseVoiceMessageReturn {
|
|
93
|
-
isPlaying: boolean;
|
|
94
|
-
currentTime: number;
|
|
95
|
-
duration: number;
|
|
96
|
-
playbackSpeed: PlaybackSpeed;
|
|
97
|
-
audioUrl: string | null;
|
|
98
|
-
isRecording: boolean;
|
|
99
|
-
recordingDuration: number;
|
|
100
|
-
recordedBlob: Blob | null;
|
|
101
|
-
liveWaveform: number[];
|
|
102
|
-
play: () => void;
|
|
103
|
-
pause: () => void;
|
|
104
|
-
togglePlay: () => void;
|
|
105
|
-
seek: (time: number) => void;
|
|
106
|
-
setSpeed: (speed: PlaybackSpeed) => void;
|
|
107
|
-
startRecording: () => Promise<void>;
|
|
108
|
-
stopRecording: () => void;
|
|
109
|
-
cancelRecording: () => void;
|
|
110
|
-
progress: number;
|
|
111
|
-
formattedCurrentTime: string;
|
|
112
|
-
formattedDuration: string;
|
|
113
|
-
formattedRecordingDuration: string;
|
|
114
|
-
}
|
|
115
|
-
export declare function useVoiceMessage(options?: UseVoiceMessageOptions): UseVoiceMessageReturn;
|
|
116
|
-
export declare function WakaVoiceMessage({ mode, src, waveform, waveformBars, defaultSpeed, speeds, showDownload, showDelete, showSend, showCancel, showSpeedControl, maxRecordingDuration, variant, size, disabled, className, waveformClassName, controlsClassName, onPlay, onPause, onEnded, onTimeUpdate, onSeek, onSpeedChange, onDownload, onDelete, onRecordingStart, onRecordingStop, onRecordingCancel, onSend, onError, }: WakaVoiceMessageProps): import("react/jsx-runtime").JSX.Element;
|
|
117
|
-
export default WakaVoiceMessage;
|
|
@@ -1,120 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface WelcomeStep {
|
|
3
|
-
/** Unique identifier for the step */
|
|
4
|
-
id: string;
|
|
5
|
-
/** Step title */
|
|
6
|
-
title: string;
|
|
7
|
-
/** Step description */
|
|
8
|
-
description: string;
|
|
9
|
-
/** Icon component for the step */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
/** Custom illustration/image URL */
|
|
12
|
-
illustration?: string;
|
|
13
|
-
/** Custom content to render */
|
|
14
|
-
content?: React.ReactNode;
|
|
15
|
-
/** Options for selection step */
|
|
16
|
-
options?: WelcomeOption[];
|
|
17
|
-
/** Allow multiple selections */
|
|
18
|
-
multiSelect?: boolean;
|
|
19
|
-
}
|
|
20
|
-
export interface WelcomeOption {
|
|
21
|
-
/** Unique identifier */
|
|
22
|
-
id: string;
|
|
23
|
-
/** Option label */
|
|
24
|
-
label: string;
|
|
25
|
-
/** Option description */
|
|
26
|
-
description?: string;
|
|
27
|
-
/** Option icon */
|
|
28
|
-
icon?: React.ReactNode;
|
|
29
|
-
}
|
|
30
|
-
export interface WakaWelcomeModalProps {
|
|
31
|
-
/** Open state */
|
|
32
|
-
open: boolean;
|
|
33
|
-
/** Callback when open state changes */
|
|
34
|
-
onOpenChange: (open: boolean) => void;
|
|
35
|
-
/** Welcome steps configuration */
|
|
36
|
-
steps: WelcomeStep[];
|
|
37
|
-
/** User's name for personalization */
|
|
38
|
-
userName?: string;
|
|
39
|
-
/** Callback when wizard is completed */
|
|
40
|
-
onComplete?: (selections: Record<string, string[]>) => void;
|
|
41
|
-
/** Callback when wizard is skipped */
|
|
42
|
-
onSkip?: () => void;
|
|
43
|
-
/** Allow skipping the wizard */
|
|
44
|
-
allowSkip?: boolean;
|
|
45
|
-
/** Show "Don't show again" checkbox */
|
|
46
|
-
showDontShowAgain?: boolean;
|
|
47
|
-
/** Callback when "Don't show again" is checked */
|
|
48
|
-
onDontShowAgainChange?: (checked: boolean) => void;
|
|
49
|
-
/** Initial "Don't show again" state */
|
|
50
|
-
dontShowAgain?: boolean;
|
|
51
|
-
/** Text for skip button */
|
|
52
|
-
skipText?: string;
|
|
53
|
-
/** Text for next button */
|
|
54
|
-
nextText?: string;
|
|
55
|
-
/** Text for previous button */
|
|
56
|
-
prevText?: string;
|
|
57
|
-
/** Text for final button */
|
|
58
|
-
completeText?: string;
|
|
59
|
-
/** Custom CSS classes */
|
|
60
|
-
className?: string;
|
|
61
|
-
/** Animation duration in ms */
|
|
62
|
-
animationDuration?: number;
|
|
63
|
-
}
|
|
64
|
-
export interface UseWelcomeModalOptions {
|
|
65
|
-
/** Initial open state */
|
|
66
|
-
defaultOpen?: boolean;
|
|
67
|
-
/** Storage key for "don't show again" preference */
|
|
68
|
-
storageKey?: string;
|
|
69
|
-
/** Callback when completed */
|
|
70
|
-
onComplete?: (selections: Record<string, string[]>) => void;
|
|
71
|
-
/** Callback when skipped */
|
|
72
|
-
onSkip?: () => void;
|
|
73
|
-
}
|
|
74
|
-
export interface UseWelcomeModalReturn {
|
|
75
|
-
/** Current open state */
|
|
76
|
-
open: boolean;
|
|
77
|
-
/** Set open state */
|
|
78
|
-
setOpen: (open: boolean) => void;
|
|
79
|
-
/** Open the modal */
|
|
80
|
-
openModal: () => void;
|
|
81
|
-
/** Close the modal */
|
|
82
|
-
closeModal: () => void;
|
|
83
|
-
/** Current step index */
|
|
84
|
-
currentStep: number;
|
|
85
|
-
/** Set current step */
|
|
86
|
-
setCurrentStep: (step: number) => void;
|
|
87
|
-
/** Go to next step */
|
|
88
|
-
nextStep: () => void;
|
|
89
|
-
/** Go to previous step */
|
|
90
|
-
prevStep: () => void;
|
|
91
|
-
/** Selected options per step */
|
|
92
|
-
selections: Record<string, string[]>;
|
|
93
|
-
/** Select/deselect an option */
|
|
94
|
-
toggleSelection: (stepId: string, optionId: string, multiSelect?: boolean) => void;
|
|
95
|
-
/** Clear all selections */
|
|
96
|
-
clearSelections: () => void;
|
|
97
|
-
/** Don't show again state */
|
|
98
|
-
dontShowAgain: boolean;
|
|
99
|
-
/** Set don't show again */
|
|
100
|
-
setDontShowAgain: (value: boolean) => void;
|
|
101
|
-
/** Complete the wizard */
|
|
102
|
-
complete: () => void;
|
|
103
|
-
/** Skip the wizard */
|
|
104
|
-
skip: () => void;
|
|
105
|
-
/** Reset the wizard */
|
|
106
|
-
reset: () => void;
|
|
107
|
-
/** Props to spread on WakaWelcomeModal */
|
|
108
|
-
modalProps: {
|
|
109
|
-
open: boolean;
|
|
110
|
-
onOpenChange: (open: boolean) => void;
|
|
111
|
-
dontShowAgain: boolean;
|
|
112
|
-
onDontShowAgainChange: (checked: boolean) => void;
|
|
113
|
-
onComplete: (selections: Record<string, string[]>) => void;
|
|
114
|
-
onSkip: () => void;
|
|
115
|
-
};
|
|
116
|
-
}
|
|
117
|
-
export declare const defaultWelcomeSteps: WelcomeStep[];
|
|
118
|
-
export declare function useWelcomeModal(options?: UseWelcomeModalOptions): UseWelcomeModalReturn;
|
|
119
|
-
export declare function WakaWelcomeModal({ open, onOpenChange, steps, userName, onComplete, onSkip, allowSkip, showDontShowAgain, onDontShowAgainChange, dontShowAgain, skipText, nextText, prevText, completeText, className, animationDuration, }: WakaWelcomeModalProps): import("react/jsx-runtime").JSX.Element;
|
|
120
|
-
export default WakaWelcomeModal;
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface WakaXPBarProps {
|
|
3
|
-
/** Current XP amount */
|
|
4
|
-
currentXP: number;
|
|
5
|
-
/** XP required for next level */
|
|
6
|
-
requiredXP: number;
|
|
7
|
-
/** Current level */
|
|
8
|
-
level: number;
|
|
9
|
-
/** Previous XP for animation calculation */
|
|
10
|
-
previousXP?: number;
|
|
11
|
-
/** Show particle effects when gaining XP */
|
|
12
|
-
showParticles?: boolean;
|
|
13
|
-
/** Show level badge */
|
|
14
|
-
showLevel?: boolean;
|
|
15
|
-
/** Show XP count display */
|
|
16
|
-
showXPCount?: boolean;
|
|
17
|
-
/** Callback when level up occurs */
|
|
18
|
-
onLevelUp?: (newLevel: number) => void;
|
|
19
|
-
/** Custom colors per level tier */
|
|
20
|
-
levelColors?: Record<number, string>;
|
|
21
|
-
/** Preview of next level rewards */
|
|
22
|
-
nextReward?: React.ReactNode;
|
|
23
|
-
/** Size variant */
|
|
24
|
-
size?: "sm" | "md" | "lg";
|
|
25
|
-
/** Enable animations */
|
|
26
|
-
animated?: boolean;
|
|
27
|
-
/** Additional CSS classes */
|
|
28
|
-
className?: string;
|
|
29
|
-
}
|
|
30
|
-
export declare function WakaXPBar({ currentXP, requiredXP, level, previousXP, showParticles, showLevel, showXPCount, onLevelUp, levelColors, nextReward, size, animated, className, }: WakaXPBarProps): import("react/jsx-runtime").JSX.Element;
|
|
31
|
-
export declare namespace WakaXPBar {
|
|
32
|
-
var displayName: string;
|
|
33
|
-
}
|
|
34
|
-
export interface UseXPBarOptions {
|
|
35
|
-
/** Initial XP */
|
|
36
|
-
initialXP?: number;
|
|
37
|
-
/** Initial level */
|
|
38
|
-
initialLevel?: number;
|
|
39
|
-
/** XP required per level (can be a function) */
|
|
40
|
-
xpPerLevel?: number | ((level: number) => number);
|
|
41
|
-
/** Callback when level changes */
|
|
42
|
-
onLevelChange?: (newLevel: number, oldLevel: number) => void;
|
|
43
|
-
}
|
|
44
|
-
export declare function useXPBar({ initialXP, initialLevel, xpPerLevel, onLevelChange, }?: UseXPBarOptions): {
|
|
45
|
-
currentXP: number;
|
|
46
|
-
requiredXP: number;
|
|
47
|
-
level: number;
|
|
48
|
-
previousXP: number;
|
|
49
|
-
addXP: (amount: number) => void;
|
|
50
|
-
setXP: (amount: number) => void;
|
|
51
|
-
setLevel: React.Dispatch<React.SetStateAction<number>>;
|
|
52
|
-
reset: () => void;
|
|
53
|
-
progressPercent: number;
|
|
54
|
-
};
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface AdmincrumbItem {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
type: "partner" | "network" | "customer";
|
|
6
|
-
metadata?: Record<string, any>;
|
|
7
|
-
}
|
|
8
|
-
export interface AdmincrumbSelection {
|
|
9
|
-
partner?: AdmincrumbItem;
|
|
10
|
-
network?: AdmincrumbItem;
|
|
11
|
-
customer?: AdmincrumbItem;
|
|
12
|
-
}
|
|
13
|
-
export interface AdmincrumbContextValue {
|
|
14
|
-
selection: AdmincrumbSelection;
|
|
15
|
-
setPartner: (item: AdmincrumbItem | undefined) => void;
|
|
16
|
-
setNetwork: (item: AdmincrumbItem | undefined) => void;
|
|
17
|
-
setCustomer: (item: AdmincrumbItem | undefined) => void;
|
|
18
|
-
reset: () => void;
|
|
19
|
-
isFiltered: boolean;
|
|
20
|
-
getFilterQuery: () => {
|
|
21
|
-
partnerId?: string;
|
|
22
|
-
networkId?: string;
|
|
23
|
-
customerId?: string;
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
export interface AdmincrumbProviderProps {
|
|
27
|
-
children: React.ReactNode;
|
|
28
|
-
initialSelection?: AdmincrumbSelection;
|
|
29
|
-
onSelectionChange?: (selection: AdmincrumbSelection) => void;
|
|
30
|
-
persistKey?: string;
|
|
31
|
-
}
|
|
32
|
-
export declare function AdmincrumbProvider({ children, initialSelection, onSelectionChange, persistKey }: AdmincrumbProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
-
export declare function useAdmincrumbContext(): AdmincrumbContextValue;
|
|
34
|
-
export declare function useAdmincrumbContextOptional(): AdmincrumbContextValue | undefined;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export { ThemeProvider, useTheme } from './theme-provider';
|
|
2
|
-
export type { ThemeContextValue, ThemeProviderProps, ThemeConfig, ThemeS3Config } from './theme-provider';
|
|
3
|
-
export { ThemeProvider as LegacyThemeProvider, useTheme as useLegacyTheme } from './theme-context';
|
|
4
|
-
export type { ThemeContextValue as LegacyThemeContextValue, ThemeProviderProps as LegacyThemeProviderProps } from './theme-context';
|
|
5
|
-
export { LanguageProvider, useLanguage } from './language-context';
|
|
6
|
-
export type { LanguageConfig, S3Config, LanguageProviderProps, LanguageContextValue } from './language-context';
|
|
7
|
-
export { WakaProvider, useWaka } from './waka-provider';
|
|
8
|
-
export type { WakaProviderConfig, WakaProviderProps } from './waka-provider';
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface S3Config {
|
|
3
|
-
/** URL de base du bucket S3 */
|
|
4
|
-
baseUrl: string;
|
|
5
|
-
/** Préfixe des fichiers (ex: "translations/") */
|
|
6
|
-
prefix?: string;
|
|
7
|
-
/** Extension des fichiers (défaut: "json") */
|
|
8
|
-
extension?: string;
|
|
9
|
-
/** Headers personnalisés pour les requêtes */
|
|
10
|
-
headers?: Record<string, string>;
|
|
11
|
-
}
|
|
12
|
-
export interface LanguageConfig {
|
|
13
|
-
code: string;
|
|
14
|
-
label: string;
|
|
15
|
-
flagEmoji?: string;
|
|
16
|
-
flag?: string;
|
|
17
|
-
}
|
|
18
|
-
export interface LanguageContextValue {
|
|
19
|
-
/** Langue courante */
|
|
20
|
-
currentLanguage: string;
|
|
21
|
-
/** Liste des langues disponibles */
|
|
22
|
-
languages: LanguageConfig[];
|
|
23
|
-
/** Changer de langue */
|
|
24
|
-
changeLanguage: (code: string) => Promise<void>;
|
|
25
|
-
/** État de chargement */
|
|
26
|
-
isLoading: boolean;
|
|
27
|
-
/** Traductions chargées */
|
|
28
|
-
loadedLanguages: Set<string>;
|
|
29
|
-
}
|
|
30
|
-
export interface LanguageProviderProps {
|
|
31
|
-
children: React.ReactNode;
|
|
32
|
-
/** Langues disponibles */
|
|
33
|
-
languages: LanguageConfig[];
|
|
34
|
-
/** Langue par défaut */
|
|
35
|
-
defaultLanguage?: string;
|
|
36
|
-
/** Configuration S3 (optionnel - si non fourni, utilise les traductions locales) */
|
|
37
|
-
s3Config?: S3Config;
|
|
38
|
-
/** Callback après changement de langue */
|
|
39
|
-
onLanguageChange?: (code: string) => void;
|
|
40
|
-
}
|
|
41
|
-
/**
|
|
42
|
-
* LanguageProvider
|
|
43
|
-
*
|
|
44
|
-
* Provider pour gérer les langues et charger les traductions depuis S3.
|
|
45
|
-
*
|
|
46
|
-
* Features:
|
|
47
|
-
* - Chargement dynamique des traductions depuis S3
|
|
48
|
-
* - Cache des traductions déjà chargées
|
|
49
|
-
* - Intégration avec i18next
|
|
50
|
-
* - Persistance dans localStorage
|
|
51
|
-
* - Support des traductions locales si pas de S3
|
|
52
|
-
*/
|
|
53
|
-
export declare function LanguageProvider({ children, languages, defaultLanguage, s3Config, onLanguageChange, }: LanguageProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
-
/**
|
|
55
|
-
* Hook pour utiliser le contexte de langue
|
|
56
|
-
*/
|
|
57
|
-
export declare function useLanguage(): LanguageContextValue;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { WakaThemeConfig, ThemeConfigItem } from '../types/provider';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export interface ThemeContextValue {
|
|
4
|
-
theme: string;
|
|
5
|
-
setTheme: (theme: string) => void;
|
|
6
|
-
themes: ThemeConfigItem[];
|
|
7
|
-
systemTheme?: string;
|
|
8
|
-
isLoadingThemes?: boolean;
|
|
9
|
-
themesSource?: "config" | "s3" | "fallback";
|
|
10
|
-
}
|
|
11
|
-
export interface ThemeProviderProps {
|
|
12
|
-
children: React.ReactNode;
|
|
13
|
-
config?: WakaThemeConfig;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Provider de thème pour WakaStart UI
|
|
17
|
-
*
|
|
18
|
-
* Gère le thème actif, le stockage dans localStorage et la détection du thème système
|
|
19
|
-
* Charge automatiquement les thèmes depuis S3 si non fournis dans la config
|
|
20
|
-
*
|
|
21
|
-
* @example
|
|
22
|
-
* ```tsx
|
|
23
|
-
* <ThemeProvider config={{ defaultTheme: "light", themes: ["light", "dark"] }}>
|
|
24
|
-
* <App />
|
|
25
|
-
* </ThemeProvider>
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function ThemeProvider({ children, config }: ThemeProviderProps): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
/**
|
|
30
|
-
* Hook pour accéder au contexte du thème
|
|
31
|
-
*
|
|
32
|
-
* @throws {Error} Si utilisé en dehors d'un ThemeProvider
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```tsx
|
|
36
|
-
* const { theme, setTheme, themes } = useTheme()
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function useTheme(): ThemeContextValue;
|