@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,32 +0,0 @@
|
|
|
1
|
-
export interface Artifact {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
type: "archive" | "binary" | "log" | "report" | "image" | "other";
|
|
5
|
-
size: number;
|
|
6
|
-
createdAt: Date;
|
|
7
|
-
expiresAt?: Date;
|
|
8
|
-
downloadUrl?: string;
|
|
9
|
-
sha256?: string;
|
|
10
|
-
buildId?: string;
|
|
11
|
-
metadata?: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
export interface WakaArtifactListProps {
|
|
14
|
-
/** List of artifacts */
|
|
15
|
-
artifacts: Artifact[];
|
|
16
|
-
/** Callback when downloading an artifact */
|
|
17
|
-
onDownload?: (artifact: Artifact) => void;
|
|
18
|
-
/** Callback when deleting an artifact */
|
|
19
|
-
onDelete?: (artifact: Artifact) => void;
|
|
20
|
-
/** Callback when viewing artifact details */
|
|
21
|
-
onView?: (artifact: Artifact) => void;
|
|
22
|
-
/** Title */
|
|
23
|
-
title?: string;
|
|
24
|
-
/** Show expiration */
|
|
25
|
-
showExpiration?: boolean;
|
|
26
|
-
/** Allow deletion */
|
|
27
|
-
allowDelete?: boolean;
|
|
28
|
-
/** Custom class name */
|
|
29
|
-
className?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function WakaArtifactList({ artifacts, onDownload, onDelete, onView, title, showExpiration, allowDelete, className, }: WakaArtifactListProps): import("react/jsx-runtime").JSX.Element;
|
|
32
|
-
export declare const defaultArtifacts: Artifact[];
|
|
@@ -1,142 +0,0 @@
|
|
|
1
|
-
export type AuditEventType = "login" | "logout" | "create" | "update" | "delete" | "view" | "export" | "import" | "settings_change" | "permission_change" | "password_change" | "user_invite" | "user_remove" | "api_key_create" | "api_key_revoke" | "mfa_enable" | "mfa_disable" | "session_revoke" | "file_upload" | "file_download" | "payment" | "subscription_change" | "data_export" | "backup" | "restore";
|
|
2
|
-
export type AuditSeverity = "info" | "warning" | "critical";
|
|
3
|
-
export interface AuditUser {
|
|
4
|
-
/** Unique user identifier */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Display name */
|
|
7
|
-
name: string;
|
|
8
|
-
/** Email address */
|
|
9
|
-
email?: string;
|
|
10
|
-
/** Avatar URL */
|
|
11
|
-
avatar?: string;
|
|
12
|
-
/** User role */
|
|
13
|
-
role?: string;
|
|
14
|
-
}
|
|
15
|
-
export interface AuditLocation {
|
|
16
|
-
/** City name */
|
|
17
|
-
city?: string;
|
|
18
|
-
/** Country name */
|
|
19
|
-
country?: string;
|
|
20
|
-
/** Country code */
|
|
21
|
-
countryCode?: string;
|
|
22
|
-
}
|
|
23
|
-
export interface AuditEvent {
|
|
24
|
-
/** Unique event identifier */
|
|
25
|
-
id: string;
|
|
26
|
-
/** Event type */
|
|
27
|
-
type: AuditEventType;
|
|
28
|
-
/** Severity level */
|
|
29
|
-
severity: AuditSeverity;
|
|
30
|
-
/** User who performed the action */
|
|
31
|
-
user: AuditUser;
|
|
32
|
-
/** Event description */
|
|
33
|
-
description: string;
|
|
34
|
-
/** Detailed action information */
|
|
35
|
-
details?: Record<string, any>;
|
|
36
|
-
/** IP address */
|
|
37
|
-
ipAddress?: string;
|
|
38
|
-
/** User agent string */
|
|
39
|
-
userAgent?: string;
|
|
40
|
-
/** Location information */
|
|
41
|
-
location?: AuditLocation;
|
|
42
|
-
/** Resource affected (e.g., "User: john@example.com") */
|
|
43
|
-
resource?: string;
|
|
44
|
-
/** When the event occurred */
|
|
45
|
-
timestamp: Date;
|
|
46
|
-
/** Session ID */
|
|
47
|
-
sessionId?: string;
|
|
48
|
-
/** Request ID for tracing */
|
|
49
|
-
requestId?: string;
|
|
50
|
-
}
|
|
51
|
-
export interface AuditFilters {
|
|
52
|
-
/** Filter by event types */
|
|
53
|
-
eventTypes?: AuditEventType[];
|
|
54
|
-
/** Filter by severity levels */
|
|
55
|
-
severities?: AuditSeverity[];
|
|
56
|
-
/** Filter by user IDs */
|
|
57
|
-
userIds?: string[];
|
|
58
|
-
/** Search query */
|
|
59
|
-
search?: string;
|
|
60
|
-
/** Start date */
|
|
61
|
-
startDate?: Date;
|
|
62
|
-
/** End date */
|
|
63
|
-
endDate?: Date;
|
|
64
|
-
}
|
|
65
|
-
export interface WakaAuditLogProps {
|
|
66
|
-
/** List of audit events */
|
|
67
|
-
events: AuditEvent[];
|
|
68
|
-
/** Callback when an event is clicked */
|
|
69
|
-
onEventClick?: (event: AuditEvent) => void;
|
|
70
|
-
/** Callback when filters change */
|
|
71
|
-
onFilterChange?: (filters: AuditFilters) => void;
|
|
72
|
-
/** Callback when load more is triggered (pagination/infinite scroll) */
|
|
73
|
-
onLoadMore?: () => void;
|
|
74
|
-
/** Callback when export is requested */
|
|
75
|
-
onExport?: (format: "csv" | "json") => void;
|
|
76
|
-
/** Whether more events can be loaded */
|
|
77
|
-
hasMore?: boolean;
|
|
78
|
-
/** Whether events are currently loading */
|
|
79
|
-
loading?: boolean;
|
|
80
|
-
/** Whether to show filter controls */
|
|
81
|
-
showFilters?: boolean;
|
|
82
|
-
/** Whether to show search */
|
|
83
|
-
showSearch?: boolean;
|
|
84
|
-
/** Whether to show export button */
|
|
85
|
-
showExport?: boolean;
|
|
86
|
-
/** Whether to use infinite scroll instead of pagination */
|
|
87
|
-
infiniteScroll?: boolean;
|
|
88
|
-
/** Maximum number of events to display */
|
|
89
|
-
maxItems?: number;
|
|
90
|
-
/** Available users for filtering */
|
|
91
|
-
users?: AuditUser[];
|
|
92
|
-
/** Custom className */
|
|
93
|
-
className?: string;
|
|
94
|
-
}
|
|
95
|
-
export declare function WakaAuditLog({ events, onEventClick, onFilterChange, onLoadMore, onExport, hasMore, loading, showFilters, showSearch, showExport, infiniteScroll, maxItems, users, className, }: WakaAuditLogProps): import("react/jsx-runtime").JSX.Element;
|
|
96
|
-
export interface UseAuditLogOptions {
|
|
97
|
-
/** Initial events */
|
|
98
|
-
initialEvents?: AuditEvent[];
|
|
99
|
-
/** Maximum events to keep in memory */
|
|
100
|
-
maxEvents?: number;
|
|
101
|
-
/** Initial filters */
|
|
102
|
-
initialFilters?: AuditFilters;
|
|
103
|
-
}
|
|
104
|
-
export interface UseAuditLogReturn {
|
|
105
|
-
/** Current audit events */
|
|
106
|
-
events: AuditEvent[];
|
|
107
|
-
/** Current filters */
|
|
108
|
-
filters: AuditFilters;
|
|
109
|
-
/** Loading state */
|
|
110
|
-
loading: boolean;
|
|
111
|
-
/** Whether more events can be loaded */
|
|
112
|
-
hasMore: boolean;
|
|
113
|
-
/** Add a new event */
|
|
114
|
-
addEvent: (event: AuditEvent) => void;
|
|
115
|
-
/** Add multiple events */
|
|
116
|
-
addEvents: (events: AuditEvent[]) => void;
|
|
117
|
-
/** Remove an event */
|
|
118
|
-
removeEvent: (eventId: string) => void;
|
|
119
|
-
/** Set filters */
|
|
120
|
-
setFilters: (filters: AuditFilters) => void;
|
|
121
|
-
/** Clear all filters */
|
|
122
|
-
clearFilters: () => void;
|
|
123
|
-
/** Load more events */
|
|
124
|
-
loadMore: (fetcher: () => Promise<{
|
|
125
|
-
events: AuditEvent[];
|
|
126
|
-
hasMore: boolean;
|
|
127
|
-
}>) => Promise<void>;
|
|
128
|
-
/** Refresh all events */
|
|
129
|
-
refresh: (events: AuditEvent[]) => void;
|
|
130
|
-
/** Clear all events */
|
|
131
|
-
clear: () => void;
|
|
132
|
-
/** Set loading state */
|
|
133
|
-
setLoading: (loading: boolean) => void;
|
|
134
|
-
/** Set has more state */
|
|
135
|
-
setHasMore: (hasMore: boolean) => void;
|
|
136
|
-
/** Export events to format */
|
|
137
|
-
exportEvents: (format: "csv" | "json") => string;
|
|
138
|
-
/** Get filtered events */
|
|
139
|
-
getFilteredEvents: () => AuditEvent[];
|
|
140
|
-
}
|
|
141
|
-
export declare function useAuditLog({ initialEvents, maxEvents, initialFilters, }?: UseAuditLogOptions): UseAuditLogReturn;
|
|
142
|
-
export default WakaAuditLog;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface AutocompleteOption {
|
|
3
|
-
value: string;
|
|
4
|
-
label: string;
|
|
5
|
-
disabled?: boolean;
|
|
6
|
-
group?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface WakaAutocompleteProps {
|
|
9
|
-
/** Options disponibles */
|
|
10
|
-
options: AutocompleteOption[];
|
|
11
|
-
/** Valeur sélectionnée (string ou array pour multiple) */
|
|
12
|
-
value?: string | string[];
|
|
13
|
-
/** Callback de changement */
|
|
14
|
-
onChange?: (value: string | string[] | null) => void;
|
|
15
|
-
/** Recherche asynchrone */
|
|
16
|
-
onSearch?: (query: string) => Promise<AutocompleteOption[]>;
|
|
17
|
-
/** Mode sélection multiple */
|
|
18
|
-
multiple?: boolean;
|
|
19
|
-
/** Permet de créer de nouvelles options */
|
|
20
|
-
creatable?: boolean;
|
|
21
|
-
/** Callback lors de la création d'une option */
|
|
22
|
-
onCreate?: (value: string) => void;
|
|
23
|
-
/** Placeholder */
|
|
24
|
-
placeholder?: string;
|
|
25
|
-
/** Message quand aucun résultat */
|
|
26
|
-
emptyMessage?: string;
|
|
27
|
-
/** Chargement en cours */
|
|
28
|
-
loading?: boolean;
|
|
29
|
-
/** Désactivé */
|
|
30
|
-
disabled?: boolean;
|
|
31
|
-
/** Erreur */
|
|
32
|
-
error?: string;
|
|
33
|
-
/** Classes CSS additionnelles */
|
|
34
|
-
className?: string;
|
|
35
|
-
/** Label */
|
|
36
|
-
label?: string;
|
|
37
|
-
/** Description */
|
|
38
|
-
description?: string;
|
|
39
|
-
/** Nombre max de sélections (mode multiple) */
|
|
40
|
-
maxSelections?: number;
|
|
41
|
-
/** Tri des options */
|
|
42
|
-
sortOptions?: boolean;
|
|
43
|
-
/** Debounce pour la recherche (ms) */
|
|
44
|
-
searchDebounce?: number;
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Composant WakaAutocomplete
|
|
48
|
-
*/
|
|
49
|
-
export declare const WakaAutocomplete: React.ForwardRefExoticComponent<WakaAutocompleteProps & React.RefAttributes<HTMLButtonElement>>;
|
|
50
|
-
/**
|
|
51
|
-
* Version intégrée avec react-hook-form via Controller
|
|
52
|
-
*/
|
|
53
|
-
export interface WakaAutocompleteFormProps extends Omit<WakaAutocompleteProps, "value" | "onChange"> {
|
|
54
|
-
name: string;
|
|
55
|
-
value?: string | string[];
|
|
56
|
-
onChange?: (value: string | string[] | null) => void;
|
|
57
|
-
}
|
|
58
|
-
export declare const WakaAutocompleteForm: React.ForwardRefExoticComponent<WakaAutocompleteFormProps & React.RefAttributes<HTMLButtonElement>>;
|
|
59
|
-
export default WakaAutocomplete;
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type BadgeRarity = "common" | "rare" | "epic" | "legendary";
|
|
3
|
-
export interface Badge {
|
|
4
|
-
/** Unique identifier */
|
|
5
|
-
id: string;
|
|
6
|
-
/** Badge name */
|
|
7
|
-
name: string;
|
|
8
|
-
/** Badge description */
|
|
9
|
-
description: string;
|
|
10
|
-
/** Badge icon (React node) */
|
|
11
|
-
icon: React.ReactNode;
|
|
12
|
-
/** Rarity tier */
|
|
13
|
-
rarity: BadgeRarity;
|
|
14
|
-
/** Whether the badge is unlocked */
|
|
15
|
-
unlocked: boolean;
|
|
16
|
-
/** When the badge was unlocked */
|
|
17
|
-
unlockedAt?: Date;
|
|
18
|
-
/** Progress towards unlocking (0-100) */
|
|
19
|
-
progress?: number;
|
|
20
|
-
/** Badge category */
|
|
21
|
-
category?: string;
|
|
22
|
-
/** Whether this is a newly unlocked badge */
|
|
23
|
-
isNew?: boolean;
|
|
24
|
-
}
|
|
25
|
-
export interface WakaBadgeShowcaseProps {
|
|
26
|
-
/** Array of badges to display */
|
|
27
|
-
badges: Badge[];
|
|
28
|
-
/** Callback when a badge is clicked */
|
|
29
|
-
onBadgeClick?: (id: string) => void;
|
|
30
|
-
/** Display variant */
|
|
31
|
-
variant?: "grid" | "list" | "showcase";
|
|
32
|
-
/** Whether to show locked badges */
|
|
33
|
-
showLocked?: boolean;
|
|
34
|
-
/** Whether to show progress indicators */
|
|
35
|
-
showProgress?: boolean;
|
|
36
|
-
/** Number of columns for grid layout */
|
|
37
|
-
columns?: number;
|
|
38
|
-
/** Size of badge icons */
|
|
39
|
-
size?: "sm" | "md" | "lg";
|
|
40
|
-
/** Additional CSS classes */
|
|
41
|
-
className?: string;
|
|
42
|
-
}
|
|
43
|
-
export declare function WakaBadgeShowcase({ badges, onBadgeClick, variant, showLocked, showProgress, columns, size, className, }: WakaBadgeShowcaseProps): import("react/jsx-runtime").JSX.Element;
|
|
44
|
-
export declare function WakaBadgeShowcaseCompact(props: Omit<WakaBadgeShowcaseProps, "variant" | "size" | "columns">): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare function WakaBadgeShowcaseList(props: Omit<WakaBadgeShowcaseProps, "variant">): import("react/jsx-runtime").JSX.Element;
|
|
46
|
-
export declare function WakaBadgeShowcaseHero(props: Omit<WakaBadgeShowcaseProps, "variant" | "size">): import("react/jsx-runtime").JSX.Element;
|
|
47
|
-
export interface WakaBadgeStatsProps {
|
|
48
|
-
badges: Badge[];
|
|
49
|
-
className?: string;
|
|
50
|
-
}
|
|
51
|
-
export declare function WakaBadgeStats({ badges, className }: WakaBadgeStatsProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
export type BarcodeFormat = "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14";
|
|
2
|
-
export interface WakaBarcodeProps {
|
|
3
|
-
/** Valeur à encoder */
|
|
4
|
-
value: string;
|
|
5
|
-
/** Format du code-barres */
|
|
6
|
-
format?: BarcodeFormat;
|
|
7
|
-
/** Largeur en pixels */
|
|
8
|
-
width?: number;
|
|
9
|
-
/** Hauteur en pixels */
|
|
10
|
-
height?: number;
|
|
11
|
-
/** Afficher le texte sous le code */
|
|
12
|
-
displayValue?: boolean;
|
|
13
|
-
/** Couleur des barres */
|
|
14
|
-
lineColor?: string;
|
|
15
|
-
/** Couleur de fond */
|
|
16
|
-
background?: string;
|
|
17
|
-
/** Taille de la police */
|
|
18
|
-
fontSize?: number;
|
|
19
|
-
/** Marge en pixels */
|
|
20
|
-
margin?: number;
|
|
21
|
-
/** Afficher les actions */
|
|
22
|
-
showActions?: boolean;
|
|
23
|
-
/** Classes CSS additionnelles */
|
|
24
|
-
className?: string;
|
|
25
|
-
}
|
|
26
|
-
export declare function WakaBarcode({ value, format, width, height, displayValue, lineColor, background, fontSize, margin, showActions, className, }: WakaBarcodeProps): import("react/jsx-runtime").JSX.Element;
|
|
27
|
-
export default WakaBarcode;
|
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export type BiometricType = "fingerprint" | "face" | "iris" | "voice";
|
|
3
|
-
export type BiometricState = "idle" | "scanning" | "success" | "error";
|
|
4
|
-
export interface BiometricPromptConfig {
|
|
5
|
-
/** Type of biometric authentication */
|
|
6
|
-
type: BiometricType;
|
|
7
|
-
/** Custom label for the biometric type */
|
|
8
|
-
label?: string;
|
|
9
|
-
/** Custom icon component */
|
|
10
|
-
icon?: React.ReactNode;
|
|
11
|
-
}
|
|
12
|
-
export interface WakaBiometricPromptProps {
|
|
13
|
-
/** Available biometric types */
|
|
14
|
-
biometricTypes?: BiometricPromptConfig[];
|
|
15
|
-
/** Currently selected biometric type */
|
|
16
|
-
selectedType?: BiometricType;
|
|
17
|
-
/** Callback when biometric type changes */
|
|
18
|
-
onTypeChange?: (type: BiometricType) => void;
|
|
19
|
-
/** Title text */
|
|
20
|
-
title?: string;
|
|
21
|
-
/** Description text */
|
|
22
|
-
description?: string;
|
|
23
|
-
/** Current authentication state */
|
|
24
|
-
state?: BiometricState;
|
|
25
|
-
/** Error message when state is "error" */
|
|
26
|
-
errorMessage?: string;
|
|
27
|
-
/** Callback when authentication is initiated */
|
|
28
|
-
onAuthenticate?: () => void | Promise<void>;
|
|
29
|
-
/** Callback when retry is clicked */
|
|
30
|
-
onRetry?: () => void;
|
|
31
|
-
/** Callback when cancel is clicked */
|
|
32
|
-
onCancel?: () => void;
|
|
33
|
-
/** Callback when fallback to password is clicked */
|
|
34
|
-
onFallbackToPassword?: () => void;
|
|
35
|
-
/** Show fallback to password option */
|
|
36
|
-
showPasswordFallback?: boolean;
|
|
37
|
-
/** Show cancel button */
|
|
38
|
-
showCancel?: boolean;
|
|
39
|
-
/** Custom scanning duration in ms (for demo purposes) */
|
|
40
|
-
scanningDuration?: number;
|
|
41
|
-
/** Success message */
|
|
42
|
-
successMessage?: string;
|
|
43
|
-
/** Additional CSS classes */
|
|
44
|
-
className?: string;
|
|
45
|
-
/** Size variant */
|
|
46
|
-
size?: "sm" | "md" | "lg";
|
|
47
|
-
/** Color scheme */
|
|
48
|
-
colorScheme?: "default" | "primary" | "dark";
|
|
49
|
-
}
|
|
50
|
-
export interface UseBiometricPromptOptions {
|
|
51
|
-
/** Initial biometric type */
|
|
52
|
-
initialType?: BiometricType;
|
|
53
|
-
/** Simulated scanning duration */
|
|
54
|
-
scanningDuration?: number;
|
|
55
|
-
/** Simulated success rate (0-1, for demo) */
|
|
56
|
-
successRate?: number;
|
|
57
|
-
/** Callback on successful authentication */
|
|
58
|
-
onSuccess?: () => void;
|
|
59
|
-
/** Callback on authentication error */
|
|
60
|
-
onError?: (error: string) => void;
|
|
61
|
-
/** Actual authentication function */
|
|
62
|
-
authenticate?: () => Promise<boolean>;
|
|
63
|
-
}
|
|
64
|
-
export interface UseBiometricPromptReturn {
|
|
65
|
-
/** Current state */
|
|
66
|
-
state: BiometricState;
|
|
67
|
-
/** Current biometric type */
|
|
68
|
-
selectedType: BiometricType;
|
|
69
|
-
/** Error message if any */
|
|
70
|
-
errorMessage: string | null;
|
|
71
|
-
/** Set biometric type */
|
|
72
|
-
setSelectedType: (type: BiometricType) => void;
|
|
73
|
-
/** Start authentication */
|
|
74
|
-
startAuthentication: () => Promise<void>;
|
|
75
|
-
/** Retry authentication */
|
|
76
|
-
retry: () => void;
|
|
77
|
-
/** Reset to idle state */
|
|
78
|
-
reset: () => void;
|
|
79
|
-
/** Cancel authentication */
|
|
80
|
-
cancel: () => void;
|
|
81
|
-
}
|
|
82
|
-
export declare function useBiometricPrompt(options?: UseBiometricPromptOptions): UseBiometricPromptReturn;
|
|
83
|
-
export declare const WakaBiometricPrompt: React.ForwardRefExoticComponent<WakaBiometricPromptProps & React.RefAttributes<HTMLDivElement>>;
|
|
84
|
-
export default WakaBiometricPrompt;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
export type SnapPoint = number | "content" | "full";
|
|
4
|
-
export interface WakaBottomSheetProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children" | "onDragStart" | "onDragEnd">, VariantProps<typeof bottomSheetVariants> {
|
|
5
|
-
/** Whether the sheet is open */
|
|
6
|
-
open: boolean;
|
|
7
|
-
/** Callback when open state changes */
|
|
8
|
-
onOpenChange: (open: boolean) => void;
|
|
9
|
-
/** Snap points as percentages (0-100) or special values */
|
|
10
|
-
snapPoints?: SnapPoint[];
|
|
11
|
-
/** Default snap point index */
|
|
12
|
-
defaultSnapPoint?: number;
|
|
13
|
-
/** Current snap point index (controlled) */
|
|
14
|
-
snapPoint?: number;
|
|
15
|
-
/** Callback when snap point changes */
|
|
16
|
-
onSnapPointChange?: (index: number) => void;
|
|
17
|
-
/** Whether to show backdrop */
|
|
18
|
-
showBackdrop?: boolean;
|
|
19
|
-
/** Whether clicking backdrop closes sheet */
|
|
20
|
-
closeOnBackdropClick?: boolean;
|
|
21
|
-
/** Whether to show drag handle */
|
|
22
|
-
showHandle?: boolean;
|
|
23
|
-
/** Whether to block scroll when open */
|
|
24
|
-
blockScroll?: boolean;
|
|
25
|
-
/** Enable haptic feedback */
|
|
26
|
-
hapticFeedback?: boolean;
|
|
27
|
-
/** Custom header content */
|
|
28
|
-
header?: React.ReactNode;
|
|
29
|
-
/** Custom footer content */
|
|
30
|
-
footer?: React.ReactNode;
|
|
31
|
-
/** Main content */
|
|
32
|
-
children: React.ReactNode;
|
|
33
|
-
/** Callback when drag starts */
|
|
34
|
-
onDragStart?: () => void;
|
|
35
|
-
/** Callback when drag ends */
|
|
36
|
-
onDragEnd?: (snapPointIndex: number) => void;
|
|
37
|
-
/** Animation duration in ms */
|
|
38
|
-
animationDuration?: number;
|
|
39
|
-
/** Enable keyboard escape to close */
|
|
40
|
-
closeOnEscape?: boolean;
|
|
41
|
-
}
|
|
42
|
-
declare const bottomSheetVariants: (props?: ({
|
|
43
|
-
variant?: "default" | "flat" | "glass" | null | undefined;
|
|
44
|
-
} & import('class-variance-authority/dist/types').ClassProp) | undefined) => string;
|
|
45
|
-
export declare const WakaBottomSheet: React.ForwardRefExoticComponent<WakaBottomSheetProps & React.RefAttributes<HTMLDivElement>>;
|
|
46
|
-
export interface UseBottomSheetOptions {
|
|
47
|
-
defaultOpen?: boolean;
|
|
48
|
-
defaultSnapPoint?: number;
|
|
49
|
-
onOpenChange?: (open: boolean) => void;
|
|
50
|
-
onSnapPointChange?: (index: number) => void;
|
|
51
|
-
}
|
|
52
|
-
export declare function useBottomSheet(options?: UseBottomSheetOptions): {
|
|
53
|
-
open: boolean;
|
|
54
|
-
snapPoint: number;
|
|
55
|
-
onOpenChange: (newOpen: boolean) => void;
|
|
56
|
-
onSnapPointChange: (index: number) => void;
|
|
57
|
-
openSheet: (snapPointIndex?: number) => void;
|
|
58
|
-
closeSheet: () => void;
|
|
59
|
-
toggleSheet: () => void;
|
|
60
|
-
};
|
|
61
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface BreadcrumbItem {
|
|
3
|
-
/** Libellé de l'élément */
|
|
4
|
-
label: string;
|
|
5
|
-
/** URL de destination (optionnel pour le dernier élément) */
|
|
6
|
-
href?: string;
|
|
7
|
-
/** Icône personnalisée */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
/** Désactiver le lien */
|
|
10
|
-
disabled?: boolean;
|
|
11
|
-
/** Données additionnelles */
|
|
12
|
-
data?: Record<string, unknown>;
|
|
13
|
-
}
|
|
14
|
-
export interface WakaBreadcrumbProps {
|
|
15
|
-
/** Liste des éléments du fil d'Ariane */
|
|
16
|
-
items: BreadcrumbItem[];
|
|
17
|
-
/** Séparateur entre les éléments */
|
|
18
|
-
separator?: React.ReactNode;
|
|
19
|
-
/** Afficher l'icône Home pour le premier élément */
|
|
20
|
-
showHomeIcon?: boolean;
|
|
21
|
-
/** Nombre maximum d'éléments visibles (collapse les autres) */
|
|
22
|
-
maxItems?: number;
|
|
23
|
-
/** Fonction de rendu personnalisée pour les liens */
|
|
24
|
-
renderLink?: (item: BreadcrumbItem, children: React.ReactNode) => React.ReactNode;
|
|
25
|
-
/** Callback lors du clic sur un élément */
|
|
26
|
-
onItemClick?: (item: BreadcrumbItem, index: number) => void;
|
|
27
|
-
/** Taille */
|
|
28
|
-
size?: "sm" | "md" | "lg";
|
|
29
|
-
/** Variante visuelle */
|
|
30
|
-
variant?: "default" | "ghost" | "outline";
|
|
31
|
-
/** Classes CSS additionnelles */
|
|
32
|
-
className?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare function WakaBreadcrumb({ items, separator, showHomeIcon, maxItems, renderLink, onItemClick, size, variant, className, }: WakaBreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
35
|
-
/**
|
|
36
|
-
* Hook pour générer un fil d'Ariane à partir d'un chemin URL
|
|
37
|
-
*/
|
|
38
|
-
export declare function useBreadcrumbFromPath(pathname: string, options?: {
|
|
39
|
-
homeLabel?: string;
|
|
40
|
-
labelMap?: Record<string, string>;
|
|
41
|
-
excludePaths?: string[];
|
|
42
|
-
}): BreadcrumbItem[];
|
|
43
|
-
export default WakaBreadcrumb;
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
export interface BreadcrumbPathItem {
|
|
3
|
-
/** Unique identifier */
|
|
4
|
-
id: string;
|
|
5
|
-
/** Label for the item */
|
|
6
|
-
label: string;
|
|
7
|
-
/** Icon element */
|
|
8
|
-
icon?: React.ReactNode;
|
|
9
|
-
/** URL or href */
|
|
10
|
-
href?: string;
|
|
11
|
-
/** Click handler */
|
|
12
|
-
onClick?: () => void;
|
|
13
|
-
/** Additional data */
|
|
14
|
-
data?: Record<string, unknown>;
|
|
15
|
-
}
|
|
16
|
-
export interface WakaBreadcrumbPathProps {
|
|
17
|
-
/** Breadcrumb items */
|
|
18
|
-
items: BreadcrumbPathItem[];
|
|
19
|
-
/** Maximum visible items (will collapse middle items) */
|
|
20
|
-
maxItems?: number;
|
|
21
|
-
/** Show SVG path connecting items */
|
|
22
|
-
showPath?: boolean;
|
|
23
|
-
/** Path color */
|
|
24
|
-
pathColor?: string;
|
|
25
|
-
/** Path stroke width */
|
|
26
|
-
pathStrokeWidth?: number;
|
|
27
|
-
/** Animation duration in ms */
|
|
28
|
-
animationDuration?: number;
|
|
29
|
-
/** Size variant */
|
|
30
|
-
size?: "sm" | "md" | "lg";
|
|
31
|
-
/** Custom render for items */
|
|
32
|
-
renderItem?: (item: BreadcrumbPathItem, isLast: boolean) => React.ReactNode;
|
|
33
|
-
/** Custom className */
|
|
34
|
-
className?: string;
|
|
35
|
-
}
|
|
36
|
-
export declare function WakaBreadcrumbPath({ items, maxItems, showPath, pathColor, pathStrokeWidth, animationDuration, size, renderItem, className, }: WakaBreadcrumbPathProps): import("react/jsx-runtime").JSX.Element;
|
|
37
|
-
export declare function useBreadcrumbPath(initialItems?: BreadcrumbPathItem[]): {
|
|
38
|
-
items: BreadcrumbPathItem[];
|
|
39
|
-
push: (item: BreadcrumbPathItem) => void;
|
|
40
|
-
pop: () => void;
|
|
41
|
-
goTo: (id: string) => void;
|
|
42
|
-
reset: (newItems?: BreadcrumbPathItem[]) => void;
|
|
43
|
-
replace: (id: string, newItem: BreadcrumbPathItem) => void;
|
|
44
|
-
setItems: React.Dispatch<React.SetStateAction<BreadcrumbPathItem[]>>;
|
|
45
|
-
};
|
|
46
|
-
export default WakaBreadcrumbPath;
|