@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
package/package.json
CHANGED
|
@@ -117,6 +117,12 @@ export interface WakaRichTextEditorProps {
|
|
|
117
117
|
description?: string
|
|
118
118
|
/** Mode éditable */
|
|
119
119
|
editable?: boolean
|
|
120
|
+
/**
|
|
121
|
+
* Si false (défaut), Tiptap reporte le rendu de l'éditeur au prochain tick
|
|
122
|
+
* pour éviter les hydration mismatches Next.js / React 19.
|
|
123
|
+
* Mettre à true uniquement dans un environnement purement client (ex. SPA Vite).
|
|
124
|
+
*/
|
|
125
|
+
immediatelyRender?: boolean
|
|
120
126
|
}
|
|
121
127
|
|
|
122
128
|
// Configuration par défaut de la toolbar
|
|
@@ -148,6 +154,7 @@ export const WakaRichTextEditor = React.forwardRef<HTMLDivElement, WakaRichTextE
|
|
|
148
154
|
label,
|
|
149
155
|
description,
|
|
150
156
|
editable = true,
|
|
157
|
+
immediatelyRender = false,
|
|
151
158
|
},
|
|
152
159
|
ref
|
|
153
160
|
) => {
|
|
@@ -210,6 +217,7 @@ export const WakaRichTextEditor = React.forwardRef<HTMLDivElement, WakaRichTextE
|
|
|
210
217
|
label={label}
|
|
211
218
|
description={description}
|
|
212
219
|
editable={editable}
|
|
220
|
+
immediatelyRender={immediatelyRender}
|
|
213
221
|
linkUrl={linkUrl}
|
|
214
222
|
setLinkUrl={setLinkUrl}
|
|
215
223
|
editor={editor}
|
|
@@ -267,6 +275,7 @@ const TiptapEditorComponent = React.forwardRef<HTMLDivElement, WakaRichTextEdito
|
|
|
267
275
|
label,
|
|
268
276
|
description,
|
|
269
277
|
editable,
|
|
278
|
+
immediatelyRender = false,
|
|
270
279
|
linkUrl,
|
|
271
280
|
setLinkUrl,
|
|
272
281
|
setEditor,
|
|
@@ -293,6 +302,7 @@ const TiptapEditorComponent = React.forwardRef<HTMLDivElement, WakaRichTextEdito
|
|
|
293
302
|
],
|
|
294
303
|
content: value,
|
|
295
304
|
editable: editable && !disabled,
|
|
305
|
+
immediatelyRender,
|
|
296
306
|
onUpdate: ({ editor: ed }: { editor: TiptapEditor }) => {
|
|
297
307
|
const html = ed.getHTML()
|
|
298
308
|
if (!maxLength || html.length <= maxLength) {
|
package/dist/editor.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type ActivityType = "created" | "updated" | "deleted" | "commented" | "uploaded" | "downloaded" | "shared" | "approved" | "rejected" | "mentioned" | "assigned" | "completed" | "custom";
|
|
3
|
-
export interface ActivityUser {
|
|
4
|
-
id: string;
|
|
5
|
-
name: string;
|
|
6
|
-
avatar?: string;
|
|
7
|
-
email?: string;
|
|
8
|
-
}
|
|
9
|
-
export interface ActivityItem {
|
|
10
|
-
id: string;
|
|
11
|
-
type: ActivityType;
|
|
12
|
-
title: string;
|
|
13
|
-
description?: string;
|
|
14
|
-
user: ActivityUser;
|
|
15
|
-
timestamp: Date | string;
|
|
16
|
-
metadata?: {
|
|
17
|
-
targetName?: string;
|
|
18
|
-
targetType?: string;
|
|
19
|
-
oldValue?: string;
|
|
20
|
-
newValue?: string;
|
|
21
|
-
comment?: string;
|
|
22
|
-
[key: string]: unknown;
|
|
23
|
-
};
|
|
24
|
-
icon?: React.ReactNode;
|
|
25
|
-
color?: string;
|
|
26
|
-
}
|
|
27
|
-
export interface ActivityFilter {
|
|
28
|
-
id: string;
|
|
29
|
-
label: string;
|
|
30
|
-
types: ActivityType[];
|
|
31
|
-
}
|
|
32
|
-
export interface WakaActivityTimelineProps {
|
|
33
|
-
/** Activités */
|
|
34
|
-
activities: ActivityItem[];
|
|
35
|
-
/** Titre */
|
|
36
|
-
title?: string;
|
|
37
|
-
/** Afficher la recherche */
|
|
38
|
-
showSearch?: boolean;
|
|
39
|
-
/** Afficher les filtres */
|
|
40
|
-
showFilters?: boolean;
|
|
41
|
-
/** Filtres disponibles */
|
|
42
|
-
filters?: ActivityFilter[];
|
|
43
|
-
/** Filtre actif */
|
|
44
|
-
activeFilter?: string;
|
|
45
|
-
/** Callback changement de filtre */
|
|
46
|
-
onFilterChange?: (filterId: string | null) => void;
|
|
47
|
-
/** Afficher le bouton rafraîchir */
|
|
48
|
-
showRefresh?: boolean;
|
|
49
|
-
/** Callback rafraîchissement */
|
|
50
|
-
onRefresh?: () => void;
|
|
51
|
-
/** En cours de chargement */
|
|
52
|
-
loading?: boolean;
|
|
53
|
-
/** Regrouper par jour */
|
|
54
|
-
groupByDay?: boolean;
|
|
55
|
-
/** Afficher plus */
|
|
56
|
-
showLoadMore?: boolean;
|
|
57
|
-
/** Callback charger plus */
|
|
58
|
-
onLoadMore?: () => void;
|
|
59
|
-
/** En cours de chargement plus */
|
|
60
|
-
loadingMore?: boolean;
|
|
61
|
-
/** Afficher les avatars */
|
|
62
|
-
showAvatars?: boolean;
|
|
63
|
-
/** Afficher les timestamps relatifs */
|
|
64
|
-
relativeTime?: boolean;
|
|
65
|
-
/** Layout */
|
|
66
|
-
layout?: "timeline" | "feed" | "compact";
|
|
67
|
-
/** Classes CSS additionnelles */
|
|
68
|
-
className?: string;
|
|
69
|
-
}
|
|
70
|
-
export declare function WakaActivityTimeline({ activities, title, showSearch, showFilters, filters, activeFilter: externalActiveFilter, onFilterChange, showRefresh, onRefresh, loading, groupByDay, showLoadMore, onLoadMore, loadingMore, showAvatars, relativeTime, layout, className, }: WakaActivityTimelineProps): import("react/jsx-runtime").JSX.Element;
|
|
71
|
-
export declare const defaultActivityFilters: ActivityFilter[];
|
|
72
|
-
export declare const defaultActivities: ActivityItem[];
|
|
73
|
-
export default WakaActivityTimeline;
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export type ServiceHealth = "healthy" | "degraded" | "down";
|
|
2
|
-
export type ScanResult = "clean" | "infected" | "error";
|
|
3
|
-
export type ThreatSeverity = "critical" | "high" | "medium" | "low";
|
|
4
|
-
export interface ScanEntry {
|
|
5
|
-
id: string;
|
|
6
|
-
filename: string;
|
|
7
|
-
result: ScanResult;
|
|
8
|
-
threatName?: string;
|
|
9
|
-
scanDate: Date;
|
|
10
|
-
duration: number;
|
|
11
|
-
fileSize: number;
|
|
12
|
-
userId?: string;
|
|
13
|
-
}
|
|
14
|
-
export interface ThreatInfo {
|
|
15
|
-
name: string;
|
|
16
|
-
count: number;
|
|
17
|
-
severity: ThreatSeverity;
|
|
18
|
-
}
|
|
19
|
-
export interface WeeklyStat {
|
|
20
|
-
day: string;
|
|
21
|
-
scans: number;
|
|
22
|
-
threats: number;
|
|
23
|
-
}
|
|
24
|
-
export interface AntivirusDashboardProps {
|
|
25
|
-
serviceHealth?: ServiceHealth;
|
|
26
|
-
clamavVersion?: string;
|
|
27
|
-
signatureCount?: number;
|
|
28
|
-
lastSignatureUpdate?: Date;
|
|
29
|
-
scansToday?: number;
|
|
30
|
-
threatsDetected?: number;
|
|
31
|
-
quarantinedFiles?: number;
|
|
32
|
-
detectionRate?: number;
|
|
33
|
-
recentScans?: ScanEntry[];
|
|
34
|
-
weeklyStats?: WeeklyStat[];
|
|
35
|
-
topThreats?: ThreatInfo[];
|
|
36
|
-
onStartScan?: () => void;
|
|
37
|
-
onViewQuarantine?: () => void;
|
|
38
|
-
className?: string;
|
|
39
|
-
}
|
|
40
|
-
export declare function AntivirusDashboard({ serviceHealth, clamavVersion, signatureCount, lastSignatureUpdate, scansToday, threatsDetected, quarantinedFiles, detectionRate, recentScans, weeklyStats, topThreats, onStartScan, onViewQuarantine, className, }: AntivirusDashboardProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
export declare const defaultRecentScans: ScanEntry[];
|
|
42
|
-
export declare const defaultWeeklyStats: WeeklyStat[];
|
|
43
|
-
export declare const defaultTopThreats: ThreatInfo[];
|
|
44
|
-
export default AntivirusDashboard;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export type ServiceStatus = "healthy" | "warning" | "critical" | "unknown";
|
|
2
|
-
export type TimeRange = "1h" | "6h" | "24h" | "7d" | "30d";
|
|
3
|
-
export interface ServiceMetrics {
|
|
4
|
-
requestsPerSecond: number;
|
|
5
|
-
avgResponseTime: number;
|
|
6
|
-
p50ResponseTime: number;
|
|
7
|
-
p95ResponseTime: number;
|
|
8
|
-
p99ResponseTime: number;
|
|
9
|
-
errorRate: number;
|
|
10
|
-
successRate: number;
|
|
11
|
-
activeConnections: number;
|
|
12
|
-
cpuUsage?: number;
|
|
13
|
-
memoryUsage?: number;
|
|
14
|
-
throughput?: number;
|
|
15
|
-
}
|
|
16
|
-
export interface ServiceEndpoint {
|
|
17
|
-
path: string;
|
|
18
|
-
method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
19
|
-
requestsPerMinute: number;
|
|
20
|
-
avgResponseTime: number;
|
|
21
|
-
errorRate: number;
|
|
22
|
-
status: ServiceStatus;
|
|
23
|
-
}
|
|
24
|
-
export interface APMService {
|
|
25
|
-
id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
type: "api" | "web" | "worker" | "database" | "cache" | "queue";
|
|
28
|
-
status: ServiceStatus;
|
|
29
|
-
metrics: ServiceMetrics;
|
|
30
|
-
previousMetrics?: ServiceMetrics;
|
|
31
|
-
endpoints?: ServiceEndpoint[];
|
|
32
|
-
instances?: number;
|
|
33
|
-
version?: string;
|
|
34
|
-
dependencies?: string[];
|
|
35
|
-
tags?: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface APMTransaction {
|
|
38
|
-
id: string;
|
|
39
|
-
name: string;
|
|
40
|
-
service: string;
|
|
41
|
-
duration: number;
|
|
42
|
-
timestamp: Date;
|
|
43
|
-
status: "success" | "error";
|
|
44
|
-
traceId?: string;
|
|
45
|
-
}
|
|
46
|
-
export interface APMOverviewProps {
|
|
47
|
-
services: APMService[];
|
|
48
|
-
recentTransactions?: APMTransaction[];
|
|
49
|
-
timeRange?: TimeRange;
|
|
50
|
-
onTimeRangeChange?: (range: TimeRange) => void;
|
|
51
|
-
onServiceClick?: (service: APMService) => void;
|
|
52
|
-
onTransactionClick?: (transaction: APMTransaction) => void;
|
|
53
|
-
onRefresh?: () => void;
|
|
54
|
-
className?: string;
|
|
55
|
-
}
|
|
56
|
-
export declare function APMOverview({ services, recentTransactions, timeRange, onTimeRangeChange, onServiceClick, onTransactionClick, onRefresh, className, }: APMOverviewProps): import("react/jsx-runtime").JSX.Element;
|
|
57
|
-
export declare const defaultAPMServices: APMService[];
|
|
58
|
-
export declare const defaultAPMTransactions: APMTransaction[];
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
export type TwoFactorMethod = "authenticator" | "sms" | "email" | "hardware";
|
|
2
|
-
export interface BackupCode {
|
|
3
|
-
code: string;
|
|
4
|
-
used: boolean;
|
|
5
|
-
}
|
|
6
|
-
export interface TwoFactorStatus {
|
|
7
|
-
enabled: boolean;
|
|
8
|
-
method?: TwoFactorMethod;
|
|
9
|
-
phone?: string;
|
|
10
|
-
email?: string;
|
|
11
|
-
lastVerified?: Date | string;
|
|
12
|
-
}
|
|
13
|
-
export interface Auth2FAProps {
|
|
14
|
-
/** Current 2FA status */
|
|
15
|
-
status?: TwoFactorStatus;
|
|
16
|
-
/** Available methods */
|
|
17
|
-
availableMethods?: TwoFactorMethod[];
|
|
18
|
-
/** QR code data URL for authenticator setup */
|
|
19
|
-
qrCodeUrl?: string;
|
|
20
|
-
/** Secret key for manual entry */
|
|
21
|
-
secretKey?: string;
|
|
22
|
-
/** Backup codes */
|
|
23
|
-
backupCodes?: BackupCode[];
|
|
24
|
-
/** Handler for enabling 2FA */
|
|
25
|
-
onEnable?: (method: TwoFactorMethod, verificationCode: string) => Promise<boolean>;
|
|
26
|
-
/** Handler for disabling 2FA */
|
|
27
|
-
onDisable?: (verificationCode: string) => Promise<boolean>;
|
|
28
|
-
/** Handler for regenerating backup codes */
|
|
29
|
-
onRegenerateBackupCodes?: () => Promise<BackupCode[]>;
|
|
30
|
-
/** Handler for sending verification code */
|
|
31
|
-
onSendCode?: (method: TwoFactorMethod) => Promise<boolean>;
|
|
32
|
-
/** Custom className */
|
|
33
|
-
className?: string;
|
|
34
|
-
}
|
|
35
|
-
export declare function Auth2FA({ status, availableMethods, qrCodeUrl, secretKey, backupCodes, onEnable, onDisable, onRegenerateBackupCodes, onSendCode, className, }: Auth2FAProps): import("react/jsx-runtime").JSX.Element;
|
|
36
|
-
export declare const defaultBackupCodes: BackupCode[];
|
|
37
|
-
export declare const defaultStatus: TwoFactorStatus;
|
|
38
|
-
export default Auth2FA;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
export type CalendarViewMode = "month" | "week" | "day" | "agenda";
|
|
2
|
-
export type EventColor = "blue" | "green" | "red" | "yellow" | "purple" | "pink" | "orange" | "cyan";
|
|
3
|
-
export interface CalendarEvent {
|
|
4
|
-
id: string;
|
|
5
|
-
title: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
start: Date | string;
|
|
8
|
-
end: Date | string;
|
|
9
|
-
allDay?: boolean;
|
|
10
|
-
color?: EventColor;
|
|
11
|
-
location?: string;
|
|
12
|
-
attendees?: {
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
avatar?: string;
|
|
16
|
-
}[];
|
|
17
|
-
recurring?: "daily" | "weekly" | "monthly" | "yearly";
|
|
18
|
-
metadata?: Record<string, unknown>;
|
|
19
|
-
}
|
|
20
|
-
export interface WakaCalendarViewProps {
|
|
21
|
-
/** Événements */
|
|
22
|
-
events: CalendarEvent[];
|
|
23
|
-
/** Date courante */
|
|
24
|
-
currentDate?: Date;
|
|
25
|
-
/** Callback changement de date */
|
|
26
|
-
onDateChange?: (date: Date) => void;
|
|
27
|
-
/** Mode de vue */
|
|
28
|
-
viewMode?: CalendarViewMode;
|
|
29
|
-
/** Callback changement de mode */
|
|
30
|
-
onViewModeChange?: (mode: CalendarViewMode) => void;
|
|
31
|
-
/** Callback clic sur un événement */
|
|
32
|
-
onEventClick?: (event: CalendarEvent) => void;
|
|
33
|
-
/** Callback création d'événement */
|
|
34
|
-
onEventCreate?: (event: Partial<CalendarEvent>) => void;
|
|
35
|
-
/** Callback modification d'événement */
|
|
36
|
-
onEventEdit?: (eventId: string, data: Partial<CalendarEvent>) => void;
|
|
37
|
-
/** Callback suppression d'événement */
|
|
38
|
-
onEventDelete?: (eventId: string) => void;
|
|
39
|
-
/** Callback clic sur un jour */
|
|
40
|
-
onDayClick?: (date: Date) => void;
|
|
41
|
-
/** Afficher le header */
|
|
42
|
-
showHeader?: boolean;
|
|
43
|
-
/** Afficher le sélecteur de vue */
|
|
44
|
-
showViewSelector?: boolean;
|
|
45
|
-
/** Afficher le bouton ajouter */
|
|
46
|
-
showAddButton?: boolean;
|
|
47
|
-
/** Premier jour de la semaine (0 = dimanche, 1 = lundi) */
|
|
48
|
-
weekStartsOn?: 0 | 1;
|
|
49
|
-
/** Locale */
|
|
50
|
-
locale?: string;
|
|
51
|
-
/** Classes CSS additionnelles */
|
|
52
|
-
className?: string;
|
|
53
|
-
}
|
|
54
|
-
export declare function WakaCalendarView({ events, currentDate: externalCurrentDate, onDateChange, viewMode: externalViewMode, onViewModeChange, onEventClick, onEventCreate, onEventEdit, onEventDelete, onDayClick, showHeader, showViewSelector, showAddButton, weekStartsOn, locale, className, }: WakaCalendarViewProps): import("react/jsx-runtime").JSX.Element;
|
|
55
|
-
export declare const defaultCalendarEvents: CalendarEvent[];
|
|
56
|
-
export default WakaCalendarView;
|
|
@@ -1,112 +0,0 @@
|
|
|
1
|
-
export type MessageStatus = "sending" | "sent" | "delivered" | "read" | "error";
|
|
2
|
-
export interface ChatUser {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
avatar?: string;
|
|
6
|
-
initials?: string;
|
|
7
|
-
status?: "online" | "offline" | "away" | "busy";
|
|
8
|
-
lastSeen?: Date | string;
|
|
9
|
-
}
|
|
10
|
-
export interface ChatMessage {
|
|
11
|
-
id: string;
|
|
12
|
-
content: string;
|
|
13
|
-
sender: ChatUser;
|
|
14
|
-
timestamp: Date | string;
|
|
15
|
-
status?: MessageStatus;
|
|
16
|
-
replyTo?: ChatMessage;
|
|
17
|
-
attachments?: {
|
|
18
|
-
type: "image" | "file" | "audio";
|
|
19
|
-
url: string;
|
|
20
|
-
name: string;
|
|
21
|
-
size?: number;
|
|
22
|
-
}[];
|
|
23
|
-
reactions?: {
|
|
24
|
-
emoji: string;
|
|
25
|
-
users: string[];
|
|
26
|
-
}[];
|
|
27
|
-
isEdited?: boolean;
|
|
28
|
-
}
|
|
29
|
-
export interface ChatConversation {
|
|
30
|
-
id: string;
|
|
31
|
-
name?: string;
|
|
32
|
-
participants: ChatUser[];
|
|
33
|
-
lastMessage?: ChatMessage;
|
|
34
|
-
unreadCount?: number;
|
|
35
|
-
isGroup?: boolean;
|
|
36
|
-
avatar?: string;
|
|
37
|
-
}
|
|
38
|
-
export interface WakaChatProps {
|
|
39
|
-
/** Conversations */
|
|
40
|
-
conversations?: ChatConversation[];
|
|
41
|
-
/** Conversation active */
|
|
42
|
-
activeConversation?: ChatConversation | null;
|
|
43
|
-
/** Messages de la conversation active */
|
|
44
|
-
messages: ChatMessage[];
|
|
45
|
-
/** Utilisateur actuel */
|
|
46
|
-
currentUser: ChatUser;
|
|
47
|
-
/** Callback envoi de message */
|
|
48
|
-
onSendMessage?: (content: string, attachments?: File[]) => void;
|
|
49
|
-
/** Callback sélection conversation */
|
|
50
|
-
onConversationSelect?: (conversation: ChatConversation) => void;
|
|
51
|
-
/** Callback suppression message */
|
|
52
|
-
onMessageDelete?: (messageId: string) => void;
|
|
53
|
-
/** Callback réponse à un message */
|
|
54
|
-
onMessageReply?: (message: ChatMessage) => void;
|
|
55
|
-
/** Callback recherche */
|
|
56
|
-
onSearch?: (query: string) => void;
|
|
57
|
-
/** Callback appel audio */
|
|
58
|
-
onAudioCall?: () => void;
|
|
59
|
-
/** Callback appel vidéo */
|
|
60
|
-
onVideoCall?: () => void;
|
|
61
|
-
/** Callback fermeture (mode floating/widget) */
|
|
62
|
-
onClose?: () => void;
|
|
63
|
-
/** Callback clôturer conversation */
|
|
64
|
-
onCloseConversation?: () => void;
|
|
65
|
-
/** Callback minimiser (mode floating) */
|
|
66
|
-
onMinimize?: () => void;
|
|
67
|
-
/** Afficher la liste des conversations */
|
|
68
|
-
showConversationList?: boolean;
|
|
69
|
-
/** Afficher le header */
|
|
70
|
-
showHeader?: boolean;
|
|
71
|
-
/** Afficher les indicateurs de statut */
|
|
72
|
-
showMessageStatus?: boolean;
|
|
73
|
-
/** Afficher les horodatages */
|
|
74
|
-
showTimestamps?: boolean;
|
|
75
|
-
/** Afficher le bouton pièce jointe */
|
|
76
|
-
showAttachments?: boolean;
|
|
77
|
-
/** Afficher le bouton emoji */
|
|
78
|
-
showEmoji?: boolean;
|
|
79
|
-
/** Afficher les séparateurs de date */
|
|
80
|
-
showDateSeparators?: boolean;
|
|
81
|
-
/** Afficher l'indication clavier sous l'input */
|
|
82
|
-
showInputHint?: boolean;
|
|
83
|
-
/** Afficher le bouton clôturer */
|
|
84
|
-
showCloseButton?: boolean;
|
|
85
|
-
/** Placeholder de l'input (si non défini, utilise le nom du destinataire) */
|
|
86
|
-
inputPlaceholder?: string;
|
|
87
|
-
/** Texte du hint clavier */
|
|
88
|
-
inputHintText?: string;
|
|
89
|
-
/** En cours d'envoi */
|
|
90
|
-
sending?: boolean;
|
|
91
|
-
/** En cours de chargement */
|
|
92
|
-
loading?: boolean;
|
|
93
|
-
/** Layout */
|
|
94
|
-
layout?: "full" | "embedded" | "floating" | "widget";
|
|
95
|
-
/** Titre personnalisé du header */
|
|
96
|
-
headerTitle?: string;
|
|
97
|
-
/** Afficher le statut dans le header */
|
|
98
|
-
showHeaderStatus?: boolean;
|
|
99
|
-
/** Texte personnalisé pour le statut */
|
|
100
|
-
statusText?: string;
|
|
101
|
-
/** Mode minimisé (pour widget) */
|
|
102
|
-
minimized?: boolean;
|
|
103
|
-
/** Classes CSS additionnelles */
|
|
104
|
-
className?: string;
|
|
105
|
-
}
|
|
106
|
-
export declare function WakaChat({ conversations, activeConversation, messages, currentUser, onSendMessage, onConversationSelect, onMessageDelete, onMessageReply, onSearch, onAudioCall, onVideoCall, onClose, onCloseConversation, onMinimize, showConversationList, showHeader, showMessageStatus, showTimestamps, showAttachments, showEmoji, showDateSeparators, showInputHint, showCloseButton, inputPlaceholder, inputHintText, sending, loading, layout, headerTitle, showHeaderStatus, statusText, minimized, className, }: WakaChatProps): import("react/jsx-runtime").JSX.Element;
|
|
107
|
-
export declare const defaultChatUser: ChatUser;
|
|
108
|
-
export declare const defaultChatConversations: ChatConversation[];
|
|
109
|
-
export declare const defaultChatMessages: ChatMessage[];
|
|
110
|
-
export default WakaChat;
|
|
111
|
-
export { WakaChatWidget, useChatWidget } from './widget';
|
|
112
|
-
export type { WakaChatWidgetProps, UseChatWidgetOptions } from './widget';
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { WakaChatProps } from './index';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export interface WakaChatWidgetProps extends Omit<WakaChatProps, "layout" | "minimized" | "onMinimize" | "onClose"> {
|
|
4
|
-
/** Position initiale de la bulle */
|
|
5
|
-
defaultPosition?: {
|
|
6
|
-
x: number;
|
|
7
|
-
y: number;
|
|
8
|
-
};
|
|
9
|
-
/** Position de la bulle (contrôlée) */
|
|
10
|
-
position?: {
|
|
11
|
-
x: number;
|
|
12
|
-
y: number;
|
|
13
|
-
};
|
|
14
|
-
/** Callback changement de position */
|
|
15
|
-
onPositionChange?: (position: {
|
|
16
|
-
x: number;
|
|
17
|
-
y: number;
|
|
18
|
-
}) => void;
|
|
19
|
-
/** Persister la position dans localStorage */
|
|
20
|
-
persistPosition?: boolean;
|
|
21
|
-
/** Clé localStorage pour la position */
|
|
22
|
-
positionStorageKey?: string;
|
|
23
|
-
/** Ouvert par défaut */
|
|
24
|
-
defaultOpen?: boolean;
|
|
25
|
-
/** Ouvert (contrôlé) */
|
|
26
|
-
open?: boolean;
|
|
27
|
-
/** Callback ouverture/fermeture */
|
|
28
|
-
onOpenChange?: (open: boolean) => void;
|
|
29
|
-
/** Taille de la bulle */
|
|
30
|
-
bubbleSize?: "sm" | "md" | "lg";
|
|
31
|
-
/** Couleur de la bulle */
|
|
32
|
-
bubbleColor?: "primary" | "secondary" | "success" | "warning" | "destructive";
|
|
33
|
-
/** Icône personnalisée pour la bulle */
|
|
34
|
-
bubbleIcon?: React.ReactNode;
|
|
35
|
-
/** Texte de la bulle (affiché à côté de l'icône) */
|
|
36
|
-
bubbleText?: string;
|
|
37
|
-
/** Afficher le compteur de messages non lus sur la bulle */
|
|
38
|
-
showUnreadBadge?: boolean;
|
|
39
|
-
/** Animation de la bulle */
|
|
40
|
-
bubbleAnimation?: "none" | "pulse" | "bounce";
|
|
41
|
-
/** Position du widget par rapport à la bulle */
|
|
42
|
-
widgetPosition?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
43
|
-
/** Taille du widget */
|
|
44
|
-
widgetSize?: "sm" | "md" | "lg";
|
|
45
|
-
/** Classes CSS pour la bulle */
|
|
46
|
-
bubbleClassName?: string;
|
|
47
|
-
/** Classes CSS pour le widget */
|
|
48
|
-
widgetClassName?: string;
|
|
49
|
-
/** Permettre le drag de la bulle */
|
|
50
|
-
draggable?: boolean;
|
|
51
|
-
/** Contraindre la bulle dans le viewport */
|
|
52
|
-
constrainToViewport?: boolean;
|
|
53
|
-
/** Offset depuis les bords */
|
|
54
|
-
edgeOffset?: number;
|
|
55
|
-
/** Callback quand le widget est fermé */
|
|
56
|
-
onWidgetClose?: () => void;
|
|
57
|
-
/** Callback quand le widget est minimisé */
|
|
58
|
-
onWidgetMinimize?: () => void;
|
|
59
|
-
/** Z-index du widget */
|
|
60
|
-
zIndex?: number;
|
|
61
|
-
}
|
|
62
|
-
export declare function WakaChatWidget({ defaultPosition, position: controlledPosition, onPositionChange, persistPosition, positionStorageKey, defaultOpen, open: controlledOpen, onOpenChange, bubbleSize, bubbleColor, bubbleIcon, bubbleText, showUnreadBadge, bubbleAnimation, widgetPosition, widgetSize, bubbleClassName, widgetClassName, draggable, constrainToViewport, edgeOffset, onWidgetClose, onWidgetMinimize, zIndex, conversations, ...chatProps }: WakaChatWidgetProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export interface UseChatWidgetOptions {
|
|
64
|
-
defaultOpen?: boolean;
|
|
65
|
-
defaultPosition?: {
|
|
66
|
-
x: number;
|
|
67
|
-
y: number;
|
|
68
|
-
};
|
|
69
|
-
persistPosition?: boolean;
|
|
70
|
-
positionStorageKey?: string;
|
|
71
|
-
}
|
|
72
|
-
export declare function useChatWidget(options?: UseChatWidgetOptions): {
|
|
73
|
-
isOpen: boolean;
|
|
74
|
-
position: {
|
|
75
|
-
x: number;
|
|
76
|
-
y: number;
|
|
77
|
-
};
|
|
78
|
-
open: () => void;
|
|
79
|
-
close: () => void;
|
|
80
|
-
toggle: () => void;
|
|
81
|
-
setIsOpen: React.Dispatch<React.SetStateAction<boolean>>;
|
|
82
|
-
updatePosition: (newPosition: {
|
|
83
|
-
x: number;
|
|
84
|
-
y: number;
|
|
85
|
-
}) => void;
|
|
86
|
-
resetPosition: () => void;
|
|
87
|
-
widgetProps: {
|
|
88
|
-
open: boolean;
|
|
89
|
-
onOpenChange: React.Dispatch<React.SetStateAction<boolean>>;
|
|
90
|
-
position: {
|
|
91
|
-
x: number;
|
|
92
|
-
y: number;
|
|
93
|
-
};
|
|
94
|
-
onPositionChange: (newPosition: {
|
|
95
|
-
x: number;
|
|
96
|
-
y: number;
|
|
97
|
-
}) => void;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
export default WakaChatWidget;
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
export interface ChatUser {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
avatar?: string;
|
|
5
|
-
status?: "online" | "offline" | "away" | "busy";
|
|
6
|
-
lastSeen?: Date | string;
|
|
7
|
-
}
|
|
8
|
-
export interface ChatMessage {
|
|
9
|
-
id: string;
|
|
10
|
-
content: string;
|
|
11
|
-
senderId: string;
|
|
12
|
-
timestamp: Date | string;
|
|
13
|
-
status?: "sending" | "sent" | "delivered" | "read";
|
|
14
|
-
replyTo?: string;
|
|
15
|
-
attachments?: ChatAttachment[];
|
|
16
|
-
reactions?: ChatReaction[];
|
|
17
|
-
}
|
|
18
|
-
export interface ChatAttachment {
|
|
19
|
-
id: string;
|
|
20
|
-
type: "image" | "file" | "audio";
|
|
21
|
-
name: string;
|
|
22
|
-
url: string;
|
|
23
|
-
size?: string;
|
|
24
|
-
thumbnail?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface ChatReaction {
|
|
27
|
-
emoji: string;
|
|
28
|
-
userId: string;
|
|
29
|
-
}
|
|
30
|
-
export interface ChatConversation {
|
|
31
|
-
id: string;
|
|
32
|
-
participants: ChatUser[];
|
|
33
|
-
lastMessage?: ChatMessage;
|
|
34
|
-
unreadCount?: number;
|
|
35
|
-
isPinned?: boolean;
|
|
36
|
-
isGroup?: boolean;
|
|
37
|
-
groupName?: string;
|
|
38
|
-
groupAvatar?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface ChatInterfaceProps {
|
|
41
|
-
/** Current user */
|
|
42
|
-
currentUser: ChatUser;
|
|
43
|
-
/** List of conversations */
|
|
44
|
-
conversations?: ChatConversation[];
|
|
45
|
-
/** Currently selected conversation */
|
|
46
|
-
selectedConversation?: ChatConversation;
|
|
47
|
-
/** Messages in selected conversation */
|
|
48
|
-
messages?: ChatMessage[];
|
|
49
|
-
/** Handler for sending message */
|
|
50
|
-
onSendMessage?: (content: string, attachments?: File[]) => void;
|
|
51
|
-
/** Handler for selecting conversation */
|
|
52
|
-
onSelectConversation?: (conversation: ChatConversation) => void;
|
|
53
|
-
/** Handler for typing indicator */
|
|
54
|
-
onTyping?: () => void;
|
|
55
|
-
/** Users currently typing */
|
|
56
|
-
typingUsers?: ChatUser[];
|
|
57
|
-
/** Show sidebar */
|
|
58
|
-
showSidebar?: boolean;
|
|
59
|
-
/** Custom className */
|
|
60
|
-
className?: string;
|
|
61
|
-
}
|
|
62
|
-
export declare function ChatInterface({ currentUser, conversations, selectedConversation, messages, onSendMessage, onSelectConversation, onTyping, typingUsers, showSidebar, className, }: ChatInterfaceProps): import("react/jsx-runtime").JSX.Element;
|
|
63
|
-
export declare const defaultUsers: ChatUser[];
|
|
64
|
-
export declare const defaultConversations: ChatConversation[];
|
|
65
|
-
export declare const defaultMessages: ChatMessage[];
|
|
66
|
-
export default ChatInterface;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface CartItem {
|
|
3
|
-
id: string;
|
|
4
|
-
name: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
price: number;
|
|
7
|
-
quantity: number;
|
|
8
|
-
image?: string;
|
|
9
|
-
variant?: string;
|
|
10
|
-
}
|
|
11
|
-
export interface ShippingMethod {
|
|
12
|
-
id: string;
|
|
13
|
-
name: string;
|
|
14
|
-
description: string;
|
|
15
|
-
price: number;
|
|
16
|
-
estimatedDays: string;
|
|
17
|
-
icon?: React.ReactNode;
|
|
18
|
-
}
|
|
19
|
-
export interface PaymentMethod {
|
|
20
|
-
id: string;
|
|
21
|
-
type: "card" | "paypal" | "apple" | "google" | "bank";
|
|
22
|
-
label: string;
|
|
23
|
-
icon?: React.ReactNode;
|
|
24
|
-
last4?: string;
|
|
25
|
-
}
|
|
26
|
-
export interface CheckoutAddress {
|
|
27
|
-
firstName: string;
|
|
28
|
-
lastName: string;
|
|
29
|
-
email: string;
|
|
30
|
-
phone: string;
|
|
31
|
-
address: string;
|
|
32
|
-
apartment?: string;
|
|
33
|
-
city: string;
|
|
34
|
-
state: string;
|
|
35
|
-
postalCode: string;
|
|
36
|
-
country: string;
|
|
37
|
-
}
|
|
38
|
-
export interface CheckoutFlowProps {
|
|
39
|
-
/** Cart items */
|
|
40
|
-
items: CartItem[];
|
|
41
|
-
/** Available shipping methods */
|
|
42
|
-
shippingMethods?: ShippingMethod[];
|
|
43
|
-
/** Available payment methods */
|
|
44
|
-
paymentMethods?: PaymentMethod[];
|
|
45
|
-
/** Coupon code handler */
|
|
46
|
-
onApplyCoupon?: (code: string) => Promise<{
|
|
47
|
-
discount: number;
|
|
48
|
-
type: "percent" | "fixed";
|
|
49
|
-
} | null>;
|
|
50
|
-
/** Applied discount */
|
|
51
|
-
discount?: {
|
|
52
|
-
code: string;
|
|
53
|
-
amount: number;
|
|
54
|
-
type: "percent" | "fixed";
|
|
55
|
-
};
|
|
56
|
-
/** Remove discount */
|
|
57
|
-
onRemoveDiscount?: () => void;
|
|
58
|
-
/** Submit order handler */
|
|
59
|
-
onSubmitOrder?: (data: {
|
|
60
|
-
address: CheckoutAddress;
|
|
61
|
-
shippingMethod: string;
|
|
62
|
-
paymentMethod: string;
|
|
63
|
-
saveInfo: boolean;
|
|
64
|
-
}) => Promise<void>;
|
|
65
|
-
/** Currency symbol */
|
|
66
|
-
currency?: string;
|
|
67
|
-
/** Tax rate (percentage) */
|
|
68
|
-
taxRate?: number;
|
|
69
|
-
/** Custom className */
|
|
70
|
-
className?: string;
|
|
71
|
-
}
|
|
72
|
-
export declare function CheckoutFlow({ items, shippingMethods, paymentMethods, onApplyCoupon, discount, onRemoveDiscount, onSubmitOrder, currency, taxRate, className, }: CheckoutFlowProps): import("react/jsx-runtime").JSX.Element;
|
|
73
|
-
export declare const defaultShippingMethods: ShippingMethod[];
|
|
74
|
-
export declare const defaultPaymentMethods: PaymentMethod[];
|
|
75
|
-
export declare const defaultCartItems: CartItem[];
|
|
76
|
-
export default CheckoutFlow;
|